diff --git a/.github/workflows/publish-evm.yml b/.github/workflows/publish-evm.yml new file mode 100644 index 00000000..c25a25db --- /dev/null +++ b/.github/workflows/publish-evm.yml @@ -0,0 +1,28 @@ +name: Publish EVM + +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v2 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + + - run: mv package.evm.json package.json + + - run: yarn install + + - name: get-npm-version + id: package-version + uses: martinbeentjes/npm-get-version-action@master + + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }} diff --git a/.github/workflows/publish-solana.yml b/.github/workflows/publish-solana.yml new file mode 100644 index 00000000..c08a9b81 --- /dev/null +++ b/.github/workflows/publish-solana.yml @@ -0,0 +1,28 @@ +name: Publish Solana + +on: + release: + types: [created] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v2 + with: + node-version: '16.x' + registry-url: 'https://registry.npmjs.org' + + - run: mv package.solana.json package.json + + - run: yarn install + + - name: get-npm-version + id: package-version + uses: martinbeentjes/npm-get-version-action@master + + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }} diff --git a/README.md b/README.md index 957e23ec..8b97e6f9 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,30 @@ yarn add ethers react react-dom npm install ethers react react-dom --save ``` +## Platform specific packaging + +In case you want to use and package only specific platforms, use the platform-specific package: + +### EVM platform specific packaging + +``` +yarn add @depay/widgets-evm +``` + +```javascript +import DePayWidgets from '@depay/widgets-evm' +``` + +### Solana platform specific packaging + +``` +yarn add @depay/widgets-solana +``` + +```javascript +import DePayWidgets from '@depay/widgets-solana' +``` + ## Server-side rendering Make sure you load this library as a client-side script for client-side rendering (CSR), in case you are using a server-side rendering (SSR) framework like next.js. @@ -46,7 +70,7 @@ https://app.depay.com/integrations/new For a more low-key technical example/demo page have a look at: -https://depayfi.github.io/widgets/dev.bundle.html +https://depayfi.github.io/widgets/demo.bundle.html ## Support @@ -55,31 +79,13 @@ https://depayfi.github.io/widgets/dev.bundle.html - [Ethereum](https://ethereum.org) - [BNB Smart Chain](https://www.binance.org/smartChain) - [Polygon](https://polygon.technology) +- [Solana](https://solana.com) ### Wallets -DePay supports the most popular crypto wallets: - -- [MetaMask](https://metamask.io) -- [Coinbase Wallet](https://wallet.coinbase.com) - -100+ additional wallets via [WalletConnect](https://walletconnect.org), such as: -- [Trust Wallet](https://trustwallet.com) -- [DeFi Wallet by crypto.com](https://crypto.com/defi-wallet) -- [1inch Wallet](https://1inch.io/wallet/) -- [imToken Wallet](https://www.token.im) -- [TokenPocket](https://www.tokenpocket.pro/en) -- [Pillar](https://www.pillar.fi/) -- [Math Wallet](https://mathwallet.org/) -- [Ledger Live](https://www.ledger.com/ledger-live) -- [Argent Wallet](https://www.argent.xyz) -- [AlphaWallet](https://alphawallet.com/) -- [Unstoppable Wallet](https://unstoppable.money) -- [Atomic Wallet](https://atomicwallet.io) -- [Rainbow](https://rainbow.me/) -- and more... - -## DePay Payments +DePay supports [most crypto wallets](https://depay.com/wallets). + +## DePayWidgets: Payments DePay Payments allows you to accept and perform crypto payments. @@ -906,7 +912,7 @@ DePayWidgets.Payment({ }) ``` -## DePay Sales +## DePayWidgets: Sale DePay Sales allows you to sell tokens directly from your website or dApp with automatic any-to-any payment conversion (so people can use any token when buying your token directly off your website or dApp). diff --git a/dev.bundle.html b/demo.bundle.html similarity index 92% rename from dev.bundle.html rename to demo.bundle.html index 43483d19..85feb188 100644 --- a/dev.bundle.html +++ b/demo.bundle.html @@ -4,7 +4,7 @@ - Development + Demo (bundled) + + +
+ +
+ + + +
+ +
+ +
+
+
+
+
Payment
+
+
+ +
+
+ +
+
+ + + + Token + + + +
+ +
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: multichain
+
+
Accept payments on multiple blockchains.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: Solana
+
+
Accept payments on solana.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: Solana with Fee + Tracking
+
+
Accept payments on solana.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: before callback
+
+
Allows you to stop the payment.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: fromToken+fromAmount
+
+
Calculates route based on given fromToken/fromAmount.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: change title to donation
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: unclosable widget
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: render into container
+
+
Renders into a given container element.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Recover Confirmed Transaction
+
+
Recovers an already confirmed transaction.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Recover Failed Transaction
+
+
Recovers an already failed transaction.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Value loss protection.
+
+
Prevents people from using tokens that will loose to much % of value if exchanged.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with tracking/validation
+
+
Tracks and validates the payment.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: with async tracking/validation
+
+
Tracks and validates the payment.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee
+
+
Payment with fee.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee and tracking/validation
+
+
Tracks and validates the payment and the fee.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee and tracking/validation Token
+
+
Tracks and validates the payment and the fee for a token payment.
+
+
+
+ + +
+
+
+
+ + + +
+
+
+
+
Payment: pay into a Smart Contract
+
+
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: with fixed currency amount
+
+
+
+
+
+ + +
+
+
+
+ + + +
+
+
+
+
Payment: without set amount
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: preload
+
+
Preload payment right after wallet has been connected
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy ALPACA
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy with TOKEN as denominator
+
+
Skips local currency conversion and denominates the purchase in the given token.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy tokens off multiple blockchains
+
+
Multichain routing for token sales.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Connect
+
+
Connect a wallet
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Reuse wallet (from previous card: Connect a wallet)
+
+
+ + +
+
+
+
+ +
+
+
+
+
Login
+
+
Wallet login via signature
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Login with message callback
+
+
Wallet login via signature and message callback method
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Select: Token
+
+
Select a token.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Select: NFT
+
+
Select an NFT.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Loading Dialog
+
+
Opens a loading dialog.
+
+
+
+ + +
+
+
+
+
+
+ + + diff --git a/demo.html b/demo.html new file mode 100644 index 00000000..b684fb65 --- /dev/null +++ b/demo.html @@ -0,0 +1,1106 @@ + + + + + + + Demo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +
+ +
+
+
+
+
Payment
+
+
+ +
+
+ +
+
+ + + + Token + + + +
+ +
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: multichain
+
+
Accept payments on multiple blockchains.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: Solana
+
+
Accept payments on solana.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: Solana with Fee + Tracking
+
+
Accept payments on solana.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: before callback
+
+
Allows you to stop the payment.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: fromToken+fromAmount
+
+
Calculates route based on given fromToken/fromAmount.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: change title to donation
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: unclosable widget
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: render into container
+
+
Renders into a given container element.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Recover Confirmed Transaction
+
+
Recovers an already confirmed transaction.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Recover Failed Transaction
+
+
Recovers an already failed transaction.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Value loss protection.
+
+
Prevents people from using tokens that will loose to much % of value if exchanged.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with tracking/validation
+
+
Tracks and validates the payment.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: with async tracking/validation
+
+
Tracks and validates the payment.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee
+
+
Payment with fee.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee and tracking/validation
+
+
Tracks and validates the payment and the fee.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee and tracking/validation Token
+
+
Tracks and validates the payment and the fee for a token payment.
+
+
+
+ + +
+
+
+
+ + + +
+
+
+
+
Payment: pay into a Smart Contract
+
+
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: with fixed currency amount
+
+
+
+
+
+ + +
+
+
+
+ + + +
+
+
+
+
Payment: without set amount
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: preload
+
+
Preload payment right after wallet has been connected
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy ALPACA
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy with TOKEN as denominator
+
+
Skips local currency conversion and denominates the purchase in the given token.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy tokens off multiple blockchains
+
+
Multichain routing for token sales.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Connect
+
+
Connect a wallet
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Reuse wallet (from previous card: Connect a wallet)
+
+
+ + +
+
+
+
+ +
+
+
+
+
Login
+
+
Wallet login via signature
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Login with message callback
+
+
Wallet login via signature and message callback method
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Select: Token
+
+
Select a token.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Select: NFT
+
+
Select an NFT.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Loading Dialog
+
+
Opens a loading dialog.
+
+
+
+ + +
+
+
+
+
+
+ + + diff --git a/demo.solana.html b/demo.solana.html new file mode 100644 index 00000000..85f90c31 --- /dev/null +++ b/demo.solana.html @@ -0,0 +1,1106 @@ + + + + + + + Demo (solana) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +
+ +
+
+
+
+
Payment
+
+
+ +
+
+ +
+
+ + + + Token + + + +
+ +
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: multichain
+
+
Accept payments on multiple blockchains.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: Solana
+
+
Accept payments on solana.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: Solana with Fee + Tracking
+
+
Accept payments on solana.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: before callback
+
+
Allows you to stop the payment.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: fromToken+fromAmount
+
+
Calculates route based on given fromToken/fromAmount.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: change title to donation
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: unclosable widget
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: render into container
+
+
Renders into a given container element.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Recover Confirmed Transaction
+
+
Recovers an already confirmed transaction.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Recover Failed Transaction
+
+
Recovers an already failed transaction.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: Value loss protection.
+
+
Prevents people from using tokens that will loose to much % of value if exchanged.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with tracking/validation
+
+
Tracks and validates the payment.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: with async tracking/validation
+
+
Tracks and validates the payment.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee
+
+
Payment with fee.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee and tracking/validation
+
+
Tracks and validates the payment and the fee.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: with Fee and tracking/validation Token
+
+
Tracks and validates the payment and the fee for a token payment.
+
+
+
+ + +
+
+
+
+ + + +
+
+
+
+
Payment: pay into a Smart Contract
+
+
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Payment: with fixed currency amount
+
+
+
+
+
+ + +
+
+
+
+ + + +
+
+
+
+
Payment: without set amount
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Payment: preload
+
+
Preload payment right after wallet has been connected
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy ALPACA
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy with TOKEN as denominator
+
+
Skips local currency conversion and denominates the purchase in the given token.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Sale: Buy tokens off multiple blockchains
+
+
Multichain routing for token sales.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Connect
+
+
Connect a wallet
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Reuse wallet (from previous card: Connect a wallet)
+
+
+ + +
+
+
+
+ +
+
+
+
+
Login
+
+
Wallet login via signature
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Login with message callback
+
+
Wallet login via signature and message callback method
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Select: Token
+
+
Select a token.
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
Select: NFT
+
+
Select an NFT.
+
+
+
+ + +
+
+
+
+ +
+
+
+
+
Loading Dialog
+
+
Opens a loading dialog.
+
+
+
+ + +
+
+
+
+
+
+ + + diff --git a/dev.html b/dev.html index 1f22f843..46f27e22 100644 --- a/dev.html +++ b/dev.html @@ -21,11 +21,11 @@ - + - + @@ -191,6 +191,33 @@
Payment: Solana
+
+
+
+
+
Payment: Solana without amount
+
+
+ + +
+
+
+
+
diff --git a/dist/esm/index.bundle.js b/dist/esm/index.bundle.js index c621a2d6..53e5dcd9 100644 --- a/dist/esm/index.bundle.js +++ b/dist/esm/index.bundle.js @@ -1,29 +1,10 @@ -function t(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function e(e){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=e.apply(n,r);function s(e){t(a,i,o,s,u,"next",e)}function u(e){t(a,i,o,s,u,"throw",e)}s(void 0)}))}}function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function o(t){var e={exports:{}};return t(e,e.exports),e.exports}var a=o((function(t){var e=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),a=new S(r||[]);return o._invoke=function(t,e,n){var r=h;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return T()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(t,e,n);if("normal"===u.type){if(r=n.done?p:d,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",m={};function g(){}function y(){}function v(){}var b={};u(b,o,(function(){return this}));var w=Object.getPrototypeOf,M=w&&w(w(I([])));M&&M!==n&&r.call(M,o)&&(b=M);var k=v.prototype=g.prototype=Object.create(b);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(i,o,a,s){var u=l(t[i],t,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==typeof h&&r.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(h).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(u.arg)}var i;this._invoke=function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}}function x(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=l(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function I(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt?`https://bscscan.com/tx/${t.id||t}`:e?`https://bscscan.com/token/${e}`:n?`https://bscscan.com/address/${n}`:void 0,endpoints:["https://bsc-dataseed.binance.org","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed3.defibit.io"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"BNB",name:"Binance Coin",decimals:18,logo:V,type:"NATIVE"},{address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",symbol:"WBNB",name:"Wrapped BNB",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c/logo.png",type:"20"},{address:"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",symbol:"BUSD",name:"BUSD Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56/logo.png",type:"20"},{address:"0x55d398326f99059fF775485246999027B3197955",symbol:"USDT",name:"Tether USD",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x55d398326f99059fF775485246999027B3197955/logo.png",type:"20"},{address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",symbol:"USDC",name:"USD Coin",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d/logo.png",type:"20"},{address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8",symbol:"ETH",name:"Ethereum Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x2170Ed0880ac9A755fd29B2688956BD959F933F8/logo.png",type:"20"},{address:"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",symbol:"Cake",name:"PancakeSwap Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/logo.png",type:"20"},{address:"0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c",symbol:"BTCB",name:"BTCB Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c/logo.png",type:"20"},{address:"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb",symbol:"DEPAY",name:"DePay",decimals:18,logo:"https://integrate.depay.com/tokens/bsc/0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb/image",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const q="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiCgkgaW1hZ2UtcmVuZGVyaW5nPSJvcHRpbWl6ZVF1YWxpdHkiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIgoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjgzLjUgMjgzLjUiCgkgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjgzLjUgMjgzLjU7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjMzQzNDM0IiBkPSJNMTQxLjcsMjUuOWwtMS41LDUuMnYxNTMuM2wxLjUsMS41bDcxLjItNDIuMUwxNDEuNywyNS45eiIvPgoJCTxwYXRoIGZpbGw9IiM4QzhDOEMiIGQ9Ik0xNDEuNywyNS45TDcwLjYsMTQzLjhsNzEuMSw0Mi4xdi03NC40VjI1Ljl6Ii8+CgkJPHBhdGggZmlsbD0iIzNDM0MzQiIgZD0iTTE0MS43LDE5OS40bC0wLjgsMS4xdjU0LjZsMC44LDIuNWw3MS4yLTEwMC4zTDE0MS43LDE5OS40eiIvPgoJCTxwYXRoIGZpbGw9IiM4QzhDOEMiIGQ9Ik0xNDEuNywyNTcuNnYtNTguMmwtNzEuMS00Mi4xTDE0MS43LDI1Ny42eiIvPgoJCTxwYXRoIGZpbGw9IiMxNDE0MTQiIGQ9Ik0xNDEuNywxODUuOWw3MS4yLTQyLjFsLTcxLjItMzIuM1YxODUuOXoiLz4KCQk8cGF0aCBmaWxsPSIjMzkzOTM5IiBkPSJNNzAuNiwxNDMuOGw3MS4xLDQyLjF2LTc0LjRMNzAuNiwxNDMuOHoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K";var X={name:"ethereum",id:"0x1",networkId:"1",namespace:"eip155",label:"Ethereum",fullName:"Ethereum Mainnet",logo:q,currency:{name:"Ether",symbol:"ETH",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"},stables:{usd:["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7","0x6B175474E89094C44Da98b954EedeAC495271d0F"]},explorer:"https://etherscan.io",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://etherscan.io/tx/${t.id||t}`:e?`https://etherscan.io/token/${e}`:n?`https://etherscan.io/address/${n}`:void 0,endpoints:["https://rpc.ankr.com/eth","https://eth.llamarpc.com","https://ethereum.publicnode.com"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"ETH",name:"Ether",decimals:18,logo:q,type:"NATIVE"},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",symbol:"WETH",name:"Wrapped Ether",decimals:18,logo:"https://raw.githubusercontent.com/Uniswap/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",type:"20"},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",type:"20"},{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",symbol:"WBTC",name:"Wrapped BTC",decimals:8,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png",type:"20"},{address:"0xdAC17F958D2ee523a2206206994597C13D831ec7",symbol:"USDT",name:"Tether USD",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",type:"20"},{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",symbol:"DAI",name:"Dai Stablecoin",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png",type:"20"},{address:"0x853d955aCEf822Db058eb8505911ED77F175b99e",symbol:"FRAX",name:"Frax",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x853d955aCEf822Db058eb8505911ED77F175b99e/logo.png",type:"20"},{address:"0x8E870D67F660D95d5be530380D0eC0bd388289E1",symbol:"USDP",name:"Pax Dollar",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x8E870D67F660D95d5be530380D0eC0bd388289E1/logo.png",type:"20"},{address:"0x956F47F50A910163D8BF957Cf5846D573E7f87CA",symbol:"FEI",name:"Fei USD",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x956F47F50A910163D8BF957Cf5846D573E7f87CA/logo.png",type:"20"},{address:"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb",symbol:"DEPAY",name:"DePay",decimals:18,logo:"https://integrate.depay.com/tokens/ethereum/0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb/image",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const K="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTkyIDE5MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTkyIDE5MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZyBpZD0iY2lyY2xlIj4KCTxnIGlkPSJGYW50b20tY2lyY2xlIj4KCQk8Y2lyY2xlIGlkPSJPdmFsIiBmaWxsUnVsZT0iZXZlbm9kZCIgY2xpcFJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiMxOTY5RkYiIGNsYXNzPSJzdDAiIGN4PSI5NiIgY3k9Ijk2IiByPSI4MC40Ii8+CgkJPHBhdGggaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBkPSJNOTEuMSw0MS4yYzIuNy0xLjQsNi44LTEuNCw5LjUsMGwyNy42LDE0LjZjMS42LDAuOSwyLjUsMi4xLDIuNywzLjVoMHY3My4zCgkJCWMwLDEuNC0wLjksMi45LTIuNywzLjhsLTI3LjYsMTQuNmMtMi43LDEuNC02LjgsMS40LTkuNSwwbC0yNy42LTE0LjZjLTEuOC0wLjktMi42LTIuNC0yLjctMy44YzAtMC4xLDAtMC4zLDAtMC40bDAtNzIuNAoJCQljMC0wLjEsMC0wLjIsMC0wLjNsMC0wLjJo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C42YzAsMCwwLjEsMCwwLjEsMGwwLDBsMCwwCgkJCWwtMC4xLDBMOTguNyw0NS4xeiBNMTMwLjcsNDYuNWwxLjcsMS4xbDAuMywwLjJjMC41LDAuMywwLjksMC42LDEuMywwLjhjNC4yLDIuOCw1LjcsNS45LDUuNywxMi4zbDAsMC4yaC00LjNjMC0yLjgtMC4zLTQuNy0xLTYKCQkJYy0wLjUtMS4xLTEuMy0xLjktMi44LTIuOWwtMC4xLTAuMWMtMC4zLTAuMi0wLjctMC40LTEuMS0wLjdsLTAuNS0wLjNsLTEuNi0wLjlMMTMwLjcsNDYuNXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K";var $={name:"fantom",id:"0xFA",networkId:"250",namespace:"eip155",label:"Fantom",fullName:"Fantom Opera",logo:K,currency:{name:"Fantom",symbol:"FTM",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83"},stables:{usd:["0x04068DA6C83AFCFA0e13ba15A6696662335D5B75","0x049d68029688eAbF473097a2fC38ef61633A3C7A","0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E"]},explorer:"https://ftmscan.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://ftmscan.com/tx/${t.id||t}`:e?`https://ftmscan.com/token/${e}`:n?`https://ftmscan.com/address/${n}`:void 0,endpoints:["https://rpc.ftm.tools","https://fantom.publicnode.com","https://rpc2.fantom.network"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"FTM",name:"Fantom",decimals:18,logo:K,type:"NATIVE"},{address:"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83",symbol:"WFTM",name:"Wrapped Fantom",decimals:18,logo:K,type:"20"},{address:"0x04068DA6C83AFCFA0e13ba15A6696662335D5B75",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://assets.spooky.fi/tokens/USDC.png",type:"20"},{address:"0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E",symbol:"DAI",name:"Dai Stablecoin",decimals:18,logo:"https://assets.spooky.fi/tokens/DAI.png",type:"20"},{address:"0x049d68029688eAbF473097a2fC38ef61633A3C7A",symbol:"fUSDT",name:"Frapped USDT",decimals:6,logo:"https://assets.spooky.fi/tokens/fUSDT.png",type:"20"},{address:"0x74b23882a30290451A17c44f4F05243b6b58C76d",symbol:"ETH",name:"Ethereum",decimals:18,logo:"https://assets.spooky.fi/tokens/wETH.png",type:"20"},{address:"0x321162Cd933E2Be498Cd2267a90534A804051b11",symbol:"BTC",name:"Bitcoin",decimals:8,logo:"https://assets.spooky.fi/tokens/wBTC.png",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const tt="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0NS40IDQ1LjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1LjQgNDUuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODI0N0U1IiBkPSJNMzEuOSwxNi42Yy0wLjctMC40LTEuNi0wLjQtMi4yLDBsLTUuMywzLjFsLTMuNSwybC01LjEsMy4xYy0wLjcsMC40LTEuNiwwLjQtMi4yLDBsLTQtMi40CgljLTAuNi0wLjQtMS4xLTEuMS0xLjEtMnYtNC42YzAtMC45LDAuNS0xLjYsMS4xLTJsNC0yLjNjMC43LTAuNCwxLjUtMC40LDIuMiwwbDQsMi40YzAuNywwLjQsMS4xLDEuMSwxLjEsMnYzLjFsMy41LTIuMXYtMy4yCgljMC0wLjktMC40LTEuNi0xLjEtMmwtNy41LTQuNGMtMC43LTAuNC0xLjUtMC40LTIuMiwwTDYsMTEuN2MtMC43LDAuNC0xLjEsMS4xLTEuMSwxLjh2OC43YzAsMC45LDAuNCwxLjYsMS4xLDJsNy42LDQuNAoJYzAuNywwLjQsMS41LDAuNCwyLjIsMGw1LjEtMi45bDMuNS0yLjFsNS4xLTIuOWMwLjctMC40LDEuNi0wLjQsMi4yLDBsNCwyLjNjMC43LDAuNCwxLjEsMS4xLDEuMSwydjQuNmMwLDAuOS0wLjQsMS42LTEuMSwyCglsLTMuOSwyLjNjLTAuNywwLjQtMS41LDAuNC0yLjIsMGwtNC0yLjNjLTAuNy0wLjQtMS4xLTEuMS0xLjEtMnYtMi45TDIxLDI4Ljd2My4xYzAsMC45LDAuNCwxLjYsMS4xLDJsNy41LDQuNAoJYzAuNywwLjQsMS41LDAuNCwyLjIsMGw3LjUtNC40YzAuNy0wLjQsMS4xLTEuMSwxLjEtMlYyM2MwLTAuOS0wLjQtMS42LTEuMS0yQzM5LjIsMjEsMzEuOSwxNi42LDMxLjksMTYuNnoiLz4KPC9zdmc+Cg==";var et={name:"polygon",id:"0x89",networkId:"137",namespace:"eip155",label:"Polygon",fullName:"Polygon Mainnet",logo:tt,currency:{name:"Polygon",symbol:"MATIC",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"},stables:{usd:["0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174","0xc2132D05D31c914a87C6611C10748AEb04B58e8F","0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063"]},explorer:"https://polygonscan.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://polygonscan.com/tx/${t.id||t}`:e?`https://polygonscan.com/token/${e}`:n?`https://polygonscan.com/address/${n}`:void 0,endpoints:["https://polygon-rpc.com","https://poly-rpc.gateway.pokt.network","https://polygon.llamarpc.com"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"MATIC",name:"Polygon",decimals:18,logo:tt,type:"NATIVE"},{address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",symbol:"WMATIC",name:"Wrapped Matic",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0/logo.png",type:"20"},{address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",symbol:"WETH",name:"Wrapped Ether",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",type:"20"},{address:"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",type:"20"},{address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F",symbol:"USDT",name:"Tether USD",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",type:"20"},{address:"0xa3Fa99A148fA48D14Ed51d610c367C61876997F1",symbol:"miMATIC",name:"miMATIC",decimals:18,logo:"https://raw.githubusercontent.com/0xlaozi/qidao/main/images/mimatic-red.png",type:"20"},{address:"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063",symbol:"DAI",name:"Dai Stablecoin",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png",type:"20"},{address:"0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",symbol:"WBTC",name:"Wrapped BTC",decimals:8,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const nt="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0NS40IDQ1LjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1LjQgNDUuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9IlNPTEFOQV9TVkdJRF8xIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjM1LjU5NzQiIHkxPSI3NzIuOTI3NyIgeDI9IjE4LjE0MjIiIHkyPSI4MDYuMzYxNiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDAgLTc2NS43NjUpIj4KCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiMwMEZGQTMiLz4KCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiNEQzFGRkYiLz4KPC9saW5lYXJHcmFkaWVudD4KPHBhdGggZmlsbD0idXJsKCNTT0xBTkFfU1ZHSURfMSkiIGQ9Ik0xMiwyOS4xYzAuMi0wLjIsMC41LTAuMywwLjctMC4zSDM4YzAuNSwwLDAuNywwLjYsMC40LDAuOWwtNSw1Yy0wLj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HJpeCgxIDAgMCAxIDAgLTc2NS43NjUpIj4KCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiMwMEZGQTMiLz4KCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiNEQzFGRkYiLz4KPC9saW5lYXJHcmFkaWVudD4KPHBhdGggc3R5bGU9ImZpbGw6dXJsKCNTVkdJRF8wMDAwMDEzOTI4MzIxNzM3ODY1NjA5NDg2MDAwMDAwMzY5NDg5NTM3OTA3ODExNjc4Ml8pOyIgZD0iTTMzLjQsMTkuOGMtMC4yLTAuMi0wLjUtMC4zLTAuNy0wLjNINy40CgljLTAuNSwwLTAuNywwLjYtMC40LDAuOWw1LDVjMC4yLDAuMiwwLjUsMC4zLDAuNywwLjNIMzhjMC41LDAsMC43LTAuNiwwLjQtMC45TDMzLjQsMTkuOHoiLz4KPC9zdmc+Cg==";var rt={name:"solana",networkId:"mainnetBeta",namespace:"solana",label:"Solana",fullName:"Solana",logo:nt,currency:{name:"Solana",symbol:"SOL",decimals:9,address:"11111111111111111111111111111111"},wrapped:{address:"So11111111111111111111111111111111111111112"},stables:{usd:["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"]},explorer:"https://solscan.io",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://solscan.io/tx/${t.id||t}`:e?`https://solscan.io/token/${e}`:n?`https://solscan.io/address/${n}`:void 0,endpoints:["https://solana-mainnet.phantom.app/YBPpkkN4g91xDiAnTE9r0RcMkjg0sKUIWvAfoFVJ","https://mainnet-beta.solflare.network","https://solana-mainnet.rpc.extrnode.com"],rpc:"https://api.mainnet-beta.solana.com",tokens:[{address:"11111111111111111111111111111111",symbol:"SOL",name:"Solana",decimals:9,logo:nt,type:"NATIVE"},{address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://img.raydium.io/icon/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v.png",type:"SPL"},{address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",symbol:"USDT",name:"USDT",decimals:6,logo:"https://img.raydium.io/icon/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB.png",type:"SPL"},{address:"7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj",symbol:"stSOL",name:"Lido Staked SOL",decimals:9,logo:"https://img.raydium.io/icon/7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj.png",type:"SPL"},{address:"9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E",symbol:"wBTC",name:"Wrapped Bitcoin (Sollet)",decimals:6,logo:"https://img.raydium.io/icon/9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E.png",type:"SPL"},{address:"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",symbol:"BONK",name:"BONK",decimals:5,logo:"https://img.raydium.io/icon/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263.png",type:"SPL"}],zero:"0",maxInt:"340282366920938463463374607431768211455"};const it="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiCgkgdGV4dC1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIGltYWdlLXJlbmRlcmluZz0ib3B0aW1pemVRdWFsaXR5IgoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDUuNCA0NS40IgoJIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1LjQgNDUuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgo8L3N0eWxlPgo8cGF0aCBmaWxsPSIjMDAzN0MxIiBkPSJNMjguOCwyMi44bC02LjEsMTAuNmwtNi4xLTEwLjdMMjguOCwyMi44TDI4LjgsMjIuOHogTTM0LjksMTkuMkgxMC41bDEyLjIsMjEuNEwzNC45LDE5LjJ6IE02LjUsMTIuMWwyLDMuNgoJaDI4LjNsMi4xLTMuNkg2LjV6Ii8+Cjwvc3ZnPgo=";var ot={name:"velas",id:"0x6a",networkId:"106",namespace:"eip155",label:"VELAS",fullName:"Velas EVM Mainnet",logo:it,currency:{name:"Velas",symbol:"VLX",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0xc579D1f3CF86749E05CD06f7ADe17856c2CE3126"},stables:{usd:["0xc111c29A988AE0C0087D97b33C6E6766808A3BD3","0x01445C31581c354b7338AC35693AB2001B50b9aE"]},explorer:"https://evmexplorer.velas.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://evmexplorer.velas.com/tx/${t.id||t}`:e?`https://evmexplorer.velas.com/token/${e}`:n?`https://evmexplorer.velas.com/address/${n}`:void 0,endpoints:["https://mainnet.velas.com/rpc","https://evmexplorer.velas.com/rpc","https://explorer.velas.com/rpc"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"VLX",name:"Velas",decimals:18,logo:it,type:"NATIVE"},{address:"0xc579D1f3CF86749E05CD06f7ADe17856c2CE3126",symbol:"WVLX",name:"Wrapped Velas",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0xc579d1f3cf86749e05cd06f7ade17856c2ce3126/logo.png?raw=true",type:"20"},{address:"0xc111c29A988AE0C0087D97b33C6E6766808A3BD3",symbol:"BUSD",name:"Multichain BUSD",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0xc111c29a988ae0c0087d97b33c6e6766808a3bd3/logo.png?raw=true",type:"20"},{address:"0x01445C31581c354b7338AC35693AB2001B50b9aE",symbol:"USDT",name:"Multichain USDT",decimals:6,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0x01445c31581c354b7338ac35693ab2001b50b9ae/logo.png?raw=true",type:"20"},{address:"0x85219708c49aa701871Ad330A94EA0f41dFf24Ca",symbol:"ETH",name:"ETH",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0x85219708c49aa701871ad330a94ea0f41dff24ca/logo.png?raw=true",type:"20"},{address:"0xaBf26902Fd7B624e0db40D31171eA9ddDf078351",symbol:"WAG",name:"WagyuSwap",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0xabf26902fd7b624e0db40d31171ea9dddf078351/logo.png?raw=true",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const at=[X,J,et,rt,$,ot];for(var st={ethereum:X,bsc:J,polygon:et,solana:rt,fantom:$,velas:ot,all:at,findById:function(t){let e=t;return e.match("0x0")&&(e=e.replace(/0x0+/,"0x")),at.find((t=>t.id&&t.id.toLowerCase()==e.toLowerCase()))},findByNetworkId:function(t){return t=t.toString(),at.find((e=>e.networkId==t))},findByName:function(t){return at.find((e=>e.name==t))}},ut=function(t){var e=yt(t),n=e[0],r=e[1];return 3*(n+r)/4-r},ct=function(t){var e,n,r=yt(t),i=r[0],o=r[1],a=new ft(function(t,e,n){return 3*(e+n)/4-n}(0,i,o)),s=0,u=o>0?i-4:i;for(n=0;n>16&255,a[s++]=e>>8&255,a[s++]=255&e;2===o&&(e=dt[t.charCodeAt(n)]<<2|dt[t.charCodeAt(n+1)]>>4,a[s++]=255&e);1===o&&(e=dt[t.charCodeAt(n)]<<10|dt[t.charCodeAt(n+1)]<<4|dt[t.charCodeAt(n+2)]>>2,a[s++]=e>>8&255,a[s++]=255&e);return a},lt=function(t){for(var e,n=t.length,r=n%3,i=[],o=16383,a=0,s=n-r;as?s:a+o));1===r?(e=t[n-1],i.push(ht[e>>2]+ht[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(ht[e>>10]+ht[e>>4&63]+ht[e<<2&63]+"="));return i.join("")},ht=[],dt=[],ft="undefined"!=typeof Uint8Array?Uint8Array:Array,pt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mt=0,gt=pt.length;mt0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function vt(t,e,n){for(var r,i,o=[],a=e;a>18&63]+ht[i>>12&63]+ht[i>>6&63]+ht[63&i]);return o.join("")}dt["-".charCodeAt(0)]=62,dt["_".charCodeAt(0)]=63;var bt={byteLength:ut,toByteArray:ct,fromByteArray:lt},wt=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},Mt=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m},kt=o((function(t,e){var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=function(t){+t!=t&&(t=0);return o.alloc(+t)},e.INSPECT_MAX_BYTES=50;var r=2147483647;function i(t){if(t>r)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,o.prototype),e}function o(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return u(t)}return a(t,e,n)}function a(t,e,n){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!o.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|d(t,e),r=i(n),a=r.write(t,e);a!==n&&(r=r.slice(0,a));return r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(B(t,Uint8Array)){var e=new Uint8Array(t);return l(e.buffer,e.byteOffset,e.byteLength)}return c(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(B(t,ArrayBuffer)||t&&B(t.buffer,ArrayBuffer))return l(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(B(t,SharedArrayBuffer)||t&&B(t.buffer,SharedArrayBuffer)))return l(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return o.from(r,e,n);var a=function(t){if(o.isBuffer(t)){var e=0|h(t.length),n=i(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||R(t.length)?i(0):c(t);if("Buffer"===t.type&&Array.isArray(t.data))return c(t.data)}(t);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return o.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return s(t),i(t<0?0:0|h(t))}function c(t){for(var e=t.length<0?0:0|h(t.length),n=i(e),r=0;r=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|t}function d(t,e){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||B(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return _(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(t).length;default:if(i)return r?-1:_(t).length;e=(""+e).toLowerCase(),i=!0}}function f(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,n);case"utf8":case"utf-8":return L(this,e,n);case"ascii":return x(this,e,n);case"latin1":case"binary":return E(this,e,n);case"base64":return k(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function p(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),R(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function k(t,e,n){return 0===e&&n===t.length?bt.fromByteArray(t):bt.fromByteArray(t.slice(e,n))}function L(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var n="",r=0;for(;rr.length?o.from(a).copy(r,i):Uint8Array.prototype.set.call(r,a,i);else{if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i)}i+=a.length}return r},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;en&&(t+=" ... "),""},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(t,e,n,r,i){if(B(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),u=Math.min(a,s),c=this.slice(r,i),l=t.slice(e,n),h=0;h>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return v(this,t,e,n);case"ascii":case"latin1":case"binary":return b(this,t,e,n);case"base64":return w(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function x(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function T(t,e,n,r,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function j(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function C(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,4),Mt(t,e,n,r,23,4),n+4}function D(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,8),Mt(t,e,n,r,52,8),n+8}o.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e>>=0,e>>>=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o>>=0,e>>>=0,n||I(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t>>>=0,e||I(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t>>>=0,e||I(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t>>>=0,e||I(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t>>>=0,e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t>>>=0,e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||I(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return t>>>=0,e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){t>>>=0,e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){t>>>=0,e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return t>>>=0,e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t>>>=0,e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return t>>>=0,e||I(t,4,this.length),wt(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t>>>=0,e||I(t,4,this.length),wt(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t>>>=0,e||I(t,8,this.length),wt(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t>>>=0,e||I(t,8,this.length),wt(this,t,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e>>>=0,n>>>=0,r)||T(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o>>=0,n>>>=0,r)||T(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,1,255,0),this[e]=255&t,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);T(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);T(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeFloatLE=function(t,e,n){return C(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return C(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return D(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return D(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(t){return bt.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function P(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function B(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function R(t){return t!=t}var U=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()})),Lt=o((function(t){!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function i(t,e,n){if(i.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"==typeof t?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:kt.Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,n){var r=a(t,n);return n-1>=e&&(r|=a(t,n-1)<<4),r}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=s(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(t){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?h[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],l=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);r=(p=p.idivn(l)).isZero()?m+r:h[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?i.prototype._countBits=function(t){return 32-Math.clz32(t)}:i.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function g(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return g(t,e,n)}Math.imul||(m=p),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):y(this,t,e)},i.prototype.mul=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},i.prototype.mulf=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),y(this,t,e)},i.prototype.imul=function(t){return this.clone().mulTo(t,this)},i.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!==(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==e){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[o.length+h])+(0|r.words[o.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modrn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},i.prototype.modn=function(t){return this.modrn(t)},i.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(h)),o.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s),a.isub(u)):(r.isub(e),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new A(t)},i.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(w,b),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new M;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new L}return v[t]=e,e},A.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new i(1)).iushrn(2);return this.pow(t,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,o),d=this.pow(t,o.addn(1).iushrn(1)),f=this.pow(t,o),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new x(t)},r(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,r)})); -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */let At=!1,xt=!1;const Et={debug:1,default:2,info:2,warning:3,error:4,off:5};let Nt=Et.default,St=null;const It=function(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((e=>{try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(n){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();var Tt,jt;!function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(Tt||(Tt={})),function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"}(jt||(jt={}));const Ct="0123456789abcdef";class Dt{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,e){const n=t.toLowerCase();null==Et[n]&&this.throwArgumentError("invalid log level name","logLevel",t),Nt>Et[n]||console.log.apply(console,e)}debug(...t){this._log(Dt.levels.DEBUG,t)}info(...t){this._log(Dt.levels.INFO,t)}warn(...t){this._log(Dt.levels.WARNING,t)}makeError(t,e,n){if(xt)return this.makeError("censored error",e,{});e||(e=Dt.errors.UNKNOWN_ERROR),n||(n={});const r=[];Object.keys(n).forEach((t=>{const e=n[t];try{if(e instanceof Uint8Array){let n="";for(let t=0;t>4],n+=Ct[15&e[t]];r.push(t+"=Uint8Array(0x"+n+")")}else r.push(t+"="+JSON.stringify(e))}catch(e){r.push(t+"="+JSON.stringify(n[t].toString()))}})),r.push(`code=${e}`),r.push(`version=${this.version}`);const i=t;let o="";switch(e){case jt.NUMERIC_FAULT:{o="NUMERIC_FAULT";const e=t;switch(e){case"overflow":case"underflow":case"division-by-zero":o+="-"+e;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break}case jt.CALL_EXCEPTION:case jt.INSUFFICIENT_FUNDS:case jt.MISSING_NEW:case jt.NONCE_EXPIRED:case jt.REPLACEMENT_UNDERPRICED:case jt.TRANSACTION_REPLACED:case jt.UNPREDICTABLE_GAS_LIMIT:o=e}o&&(t+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),r.length&&(t+=" ("+r.join(", ")+")");const a=new Error(t);return a.reason=i,a.code=e,Object.keys(n).forEach((function(t){a[t]=n[t]})),a}throwError(t,e,n){throw this.makeError(t,e,n)}throwArgumentError(t,e,n){return this.throwError(t,Dt.errors.INVALID_ARGUMENT,{argument:e,value:n})}assert(t,e,n,r){t||this.throwError(e,n,r)}assertArgument(t,e,n,r){t||this.throwArgumentError(e,n,r)}checkNormalize(t){It&&this.throwError("platform missing String.prototype.normalize",Dt.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:It})}checkSafeUint53(t,e){"number"==typeof t&&(null==e&&(e="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(e,Dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(e,Dt.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,e,n){n=n?": "+n:"",te&&this.throwError("too many arguments"+n,Dt.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:e})}checkNew(t,e){t!==Object&&null!=t||this.throwError("missing new",Dt.errors.MISSING_NEW,{name:e.name})}checkAbstract(t,e){t===e?this.throwError("cannot instantiate abstract class "+JSON.stringify(e.name)+" directly; use a sub-class",Dt.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",Dt.errors.MISSING_NEW,{name:e.name})}static globalLogger(){return St||(St=new Dt("logger/5.7.0")),St}static setCensorship(t,e){if(!t&&e&&this.globalLogger().throwError("cannot permanently disable censorship",Dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),At){if(!t)return;this.globalLogger().throwError("error censorship permanent",Dt.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}xt=!!t,At=!!e}static setLogLevel(t){const e=Et[t.toLowerCase()];null!=e?Nt=e:Dt.globalLogger().warn("invalid log level - "+t)}static from(t){return new Dt(t)}}Dt.errors=jt,Dt.levels=Tt;const Ot=new Dt("bytes/5.7.0");function _t(t){return!!t.toHexString}function zt(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return zt(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function Pt(t){return Yt(t)&&!(t.length%2)||Rt(t)}function Bt(t){return"number"==typeof t&&t==t&&t%1==0}function Rt(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!Bt(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function Ut(t,e){if(e||(e={}),"number"==typeof t){Ot.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),zt(new Uint8Array(e))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),_t(t)&&(t=t.toHexString()),Yt(t)){let n=t.substring(2);n.length%2&&("left"===e.hexPad?n="0"+n:"right"===e.hexPad?n+="0":Ot.throwArgumentError("hex data is odd-length","value",t));const r=[];for(let t=0;tUt(t))),n=e.reduce(((t,e)=>t+e.length),0),r=new Uint8Array(n);return e.reduce(((t,e)=>(r.set(e,t),t+e.length)),0),zt(r)}function Wt(t){let e=Ut(t);if(0===e.length)return e;let n=0;for(;n>4]+"0123456789abcdef"[15&r]}return e}return Ot.throwArgumentError("invalid hexlify value","value",t)}function Ht(t){if("string"!=typeof t)t=Ft(t);else if(!Yt(t)||t.length%2)return null;return(t.length-2)/2}function Gt(t,e,n){return"string"!=typeof t?t=Ft(t):(!Yt(t)||t.length%2)&&Ot.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=n?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function Zt(t){let e="0x";return t.forEach((t=>{e+=Ft(t).substring(2)})),e}function Vt(t){const e=function(t){"string"!=typeof t&&(t=Ft(t));Yt(t)||Ot.throwArgumentError("invalid hex string","value",t);t=t.substring(2);let e=0;for(;e2*e+2&&Ot.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function qt(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(Pt(t)){let n=Ut(t);64===n.length?(e.v=27+(n[32]>>7),n[32]&=127,e.r=Ft(n.slice(0,32)),e.s=Ft(n.slice(32,64))):65===n.length?(e.r=Ft(n.slice(0,32)),e.s=Ft(n.slice(32,64)),e.v=n[64]):Ot.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:Ot.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=Ft(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){const n=function(t,e){(t=Ut(t)).length>e&&Ot.throwArgumentError("value out of range","value",arguments[0]);const n=new Uint8Array(e);return n.set(t,e-t.length),zt(n)}(Ut(e._vs),32);e._vs=Ft(n);const r=n[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=r:e.recoveryParam!==r&&Ot.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),n[0]&=127;const i=Ft(n);null==e.s?e.s=i:e.s!==i&&Ot.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?Ot.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{const n=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==n&&Ot.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&Yt(e.r)?e.r=Jt(e.r,32):Ot.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&Yt(e.s)?e.s=Jt(e.s,32):Ot.throwArgumentError("signature missing or invalid s","signature",t);const n=Ut(e.s);n[0]>=128&&Ot.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);const r=Ft(n);e._vs&&(Yt(e._vs)||Ot.throwArgumentError("signature invalid _vs","signature",t),e._vs=Jt(e._vs,32)),null==e._vs?e._vs=r:e._vs!==r&&Ot.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}var Xt=Lt.BN;const Kt=new Dt("bignumber/5.7.0"),$t={};let te=!1;class ee{constructor(t,e){t!==$t&&Kt.throwError("cannot call constructor directly; use BigNumber.from",Dt.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=e,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return re(ie(this).fromTwos(t))}toTwos(t){return re(ie(this).toTwos(t))}abs(){return"-"===this._hex[0]?ee.from(this._hex.substring(1)):this}add(t){return re(ie(this).add(ie(t)))}sub(t){return re(ie(this).sub(ie(t)))}div(t){return ee.from(t).isZero()&&oe("division-by-zero","div"),re(ie(this).div(ie(t)))}mul(t){return re(ie(this).mul(ie(t)))}mod(t){const e=ie(t);return e.isNeg()&&oe("division-by-zero","mod"),re(ie(this).umod(e))}pow(t){const e=ie(t);return e.isNeg()&&oe("negative-power","pow"),re(ie(this).pow(e))}and(t){const e=ie(t);return(this.isNegative()||e.isNeg())&&oe("unbound-bitwise-result","and"),re(ie(this).and(e))}or(t){const e=ie(t);return(this.isNegative()||e.isNeg())&&oe("unbound-bitwise-result","or"),re(ie(this).or(e))}xor(t){const e=ie(t);return(this.isNegative()||e.isNeg())&&oe("unbound-bitwise-result","xor"),re(ie(this).xor(e))}mask(t){return(this.isNegative()||t<0)&&oe("negative-width","mask"),re(ie(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&oe("negative-width","shl"),re(ie(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&oe("negative-width","shr"),re(ie(this).shrn(t))}eq(t){return ie(this).eq(ie(t))}lt(t){return ie(this).lt(ie(t))}lte(t){return ie(this).lte(ie(t))}gt(t){return ie(this).gt(ie(t))}gte(t){return ie(this).gte(ie(t))}isNegative(){return"-"===this._hex[0]}isZero(){return ie(this).isZero()}toNumber(){try{return ie(this).toNumber()}catch(t){oe("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return Kt.throwError("this platform does not support BigInt",Dt.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?te||(te=!0,Kt.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?Kt.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",Dt.errors.UNEXPECTED_ARGUMENT,{}):Kt.throwError("BigNumber.toString does not accept parameters",Dt.errors.UNEXPECTED_ARGUMENT,{})),ie(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof ee)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new ee($t,ne(t)):t.match(/^-?[0-9]+$/)?new ee($t,ne(new Xt(t))):Kt.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&oe("underflow","BigNumber.from",t),(t>=9007199254740991||t<=-9007199254740991)&&oe("overflow","BigNumber.from",t),ee.from(String(t));const e=t;if("bigint"==typeof e)return ee.from(e.toString());if(Rt(e))return ee.from(Ft(e));if(e)if(e.toHexString){const t=e.toHexString();if("string"==typeof t)return ee.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(Yt(t)||"-"===t[0]&&Yt(t.substring(1))))return ee.from(t)}return Kt.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!(!t||!t._isBigNumber)}}function ne(t){if("string"!=typeof t)return ne(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&Kt.throwArgumentError("invalid hex","value",t),"0x00"===(t=ne(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function re(t){return ee.from(ne(t))}function ie(t){const e=ee.from(t).toHexString();return"-"===e[0]?new Xt("-"+e.substring(3),16):new Xt(e.substring(2),16)}function oe(t,e,n){const r={fault:t,operation:e};return null!=n&&(r.value=n),Kt.throwError(t,Dt.errors.NUMERIC_FAULT,r)}const ae=new Dt("bignumber/5.7.0"),se={},ue=ee.from(0),ce=ee.from(-1);function le(t,e,n,r){const i={fault:e,operation:n};return void 0!==r&&(i.value=r),ae.throwError(t,Dt.errors.NUMERIC_FAULT,i)}let he="0";for(;he.length<256;)he+=he;function de(t){if("number"!=typeof t)try{t=ee.from(t).toNumber()}catch(t){}return"number"==typeof t&&t>=0&&t<=256&&!(t%1)?"1"+he.substring(0,t):ae.throwArgumentError("invalid decimal size","decimals",t)}function fe(t,e){null==e&&(e=0);const n=de(e),r=(t=ee.from(t)).lt(ue);r&&(t=t.mul(ce));let i=t.mod(n).toString();for(;i.length2&&ae.throwArgumentError("too many decimal points","value",t);let o=i[0],a=i[1];for(o||(o="0"),a||(a="0");"0"===a[a.length-1];)a=a.substring(0,a.length-1);for(a.length>n.length-1&&le("fractional component exceeds decimals","underflow","parseFixed"),""===a&&(a="0");a.lengthnull==t[e]?r:(typeof t[e]!==n&&ae.throwArgumentError("invalid fixed format ("+e+" not "+n+")","format."+e,t[e]),t[e]);e=i("signed","boolean",e),n=i("width","number",n),r=i("decimals","number",r)}return n%8&&ae.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",n),r>80&&ae.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new me(se,e,n,r)}}class ge{constructor(t,e,n,r){t!==se&&ae.throwError("cannot use FixedNumber constructor; use FixedNumber.from",Dt.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=e,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&ae.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const e=pe(this._value,this.format.decimals),n=pe(t._value,t.format.decimals);return ge.fromValue(e.add(n),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const e=pe(this._value,this.format.decimals),n=pe(t._value,t.format.decimals);return ge.fromValue(e.sub(n),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const e=pe(this._value,this.format.decimals),n=pe(t._value,t.format.decimals);return ge.fromValue(e.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const e=pe(this._value,this.format.decimals),n=pe(t._value,t.format.decimals);return ge.fromValue(e.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=ge.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(e=e.subUnsafe(ye.toFormat(e.format))),e}ceiling(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=ge.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(e=e.addUnsafe(ye.toFormat(e.format))),e}round(t){null==t&&(t=0);const e=this.toString().split(".");if(1===e.length&&e.push("0"),(t<0||t>80||t%1)&&ae.throwArgumentError("invalid decimal count","decimals",t),e[1].length<=t)return this;const n=ge.from("1"+he.substring(0,t),this.format),r=ve.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(r).floor().divUnsafe(n)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(t){if(null==t)return this._hex;t%8&&ae.throwArgumentError("invalid byte width","width",t);return Jt(ee.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString(),t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return ge.fromString(this._value,t)}static fromValue(t,e,n){return null!=n||null==e||function(t){return null!=t&&(ee.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||Yt(t)||"bigint"==typeof t||Rt(t))}(e)||(n=e,e=null),null==e&&(e=0),null==n&&(n="fixed"),ge.fromString(fe(t,e),me.from(n))}static fromString(t,e){null==e&&(e="fixed");const n=me.from(e),r=pe(t,n.decimals);!n.signed&&r.lt(ue)&&le("unsigned value cannot be negative","overflow","value",t);let i=null;n.signed?i=r.toTwos(n.width).toHexString():(i=r.toHexString(),i=Jt(i,n.width/8));const o=fe(r,n.decimals);return new ge(se,i,o,n)}static fromBytes(t,e){null==e&&(e="fixed");const n=me.from(e);if(Ut(t).length>n.width/8)throw new Error("overflow");let r=ee.from(t);n.signed&&(r=r.fromTwos(n.width));const i=r.toTwos((n.signed?0:1)+n.width).toHexString(),o=fe(r,n.decimals);return new ge(se,i,o,n)}static from(t,e){if("string"==typeof t)return ge.fromString(t,e);if(Rt(t))return ge.fromBytes(t,e);try{return ge.fromValue(t,0,e)}catch(t){if(t.code!==Dt.errors.INVALID_ARGUMENT)throw t}return ae.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!(!t||!t._isFixedNumber)}}const ye=ge.from(1),ve=ge.from("0.5");var be=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const we=new Dt("properties/5.7.0");function Me(t,e,n){Object.defineProperty(t,e,{enumerable:!0,value:n,writable:!1})}function ke(t,e){for(let n=0;n<32;n++){if(t[e])return t[e];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function Le(t){return be(this,void 0,void 0,(function*(){const e=Object.keys(t).map((e=>{const n=t[e];return Promise.resolve(n).then((t=>({key:e,value:t})))}));return(yield Promise.all(e)).reduce(((t,e)=>(t[e.key]=e.value,t)),{})}))}function Ae(t){const e={};for(const n in t)e[n]=t[n];return e}const xe={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function Ee(t){if(null==t||xe[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const e=Object.keys(t);for(let n=0;nSe(t))));if("object"==typeof t){const e={};for(const n in t){const r=t[n];void 0!==r&&Me(e,n,Se(r))}return e}return we.throwArgumentError("Cannot deepCopy "+typeof t,"object",t)}function Se(t){return Ne(t)}class Ie{constructor(t){for(const e in t)this[e]=Se(t[e])}}const Te=new Dt("abi/5.7.0"),je={};let Ce={calldata:!0,memory:!0,storage:!0},De={calldata:!0,memory:!0};function Oe(t,e){if("bytes"===t||"string"===t){if(Ce[e])return!0}else if("address"===t){if("payable"===e)return!0}else if((t.indexOf("[")>=0||"tuple"===t)&&De[e])return!0;return(Ce[e]||"payable"===e)&&Te.throwArgumentError("invalid modifier","name",e),!1}function _e(t,e){for(let n in e)Me(t,n,e[n])}const ze=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),Pe=new RegExp(/^(.*)\[([0-9]*)\]$/);class Be{constructor(t,e){t!==je&&Te.throwError("use fromString",Dt.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),_e(this,e);let n=this.type.match(Pe);_e(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:Be.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(t){if(t||(t=ze.sighash),ze[t]||Te.throwArgumentError("invalid format type","format",t),t===ze.json){let e={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(e.indexed=this.indexed),this.components&&(e.components=this.components.map((e=>JSON.parse(e.format(t))))),JSON.stringify(e)}let e="";return"array"===this.baseType?(e+=this.arrayChildren.format(t),e+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(t!==ze.sighash&&(e+=this.type),e+="("+this.components.map((e=>e.format(t))).join(t===ze.full?", ":",")+")"):e+=this.type,t!==ze.sighash&&(!0===this.indexed&&(e+=" indexed"),t===ze.full&&this.name&&(e+=" "+this.name)),e}static from(t,e){return"string"==typeof t?Be.fromString(t,e):Be.fromObject(t)}static fromObject(t){return Be.isParamType(t)?t:new Be(je,{name:t.name||null,type:Je(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(Be.fromObject):null})}static fromString(t,e){return n=function(t,e){let n=t;function r(e){Te.throwArgumentError(`unexpected character at position ${e}`,"param",t)}function i(t){let n={type:"",name:"",parent:t,state:{allowType:!0}};return e&&(n.indexed=!1),n}t=t.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},a=o;for(let n=0;nBe.fromString(t,e)))}class Ue{constructor(t,e){t!==je&&Te.throwError("use a static from method",Dt.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),_e(this,e),this._isFragment=!0,Object.freeze(this)}static from(t){return Ue.isFragment(t)?t:"string"==typeof t?Ue.fromString(t):Ue.fromObject(t)}static fromObject(t){if(Ue.isFragment(t))return t;switch(t.type){case"function":return Ge.fromObject(t);case"event":return Qe.fromObject(t);case"constructor":return He.fromObject(t);case"error":return Ve.fromObject(t);case"fallback":case"receive":return null}return Te.throwArgumentError("invalid fragment object","value",t)}static fromString(t){return"event"===(t=(t=(t=t.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?Qe.fromString(t.substring(5).trim()):"function"===t.split(" ")[0]?Ge.fromString(t.substring(8).trim()):"constructor"===t.split("(")[0].trim()?He.fromString(t.trim()):"error"===t.split(" ")[0]?Ve.fromString(t.substring(5).trim()):Te.throwArgumentError("unsupported fragment","value",t)}static isFragment(t){return!(!t||!t._isFragment)}}class Qe extends Ue{format(t){if(t||(t=ze.sighash),ze[t]||Te.throwArgumentError("invalid format type","format",t),t===ze.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==ze.sighash&&(e+="event "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===ze.full?", ":",")+") ",t!==ze.sighash&&this.anonymous&&(e+="anonymous "),e.trim()}static from(t){return"string"==typeof t?Qe.fromString(t):Qe.fromObject(t)}static fromObject(t){if(Qe.isEventFragment(t))return t;"event"!==t.type&&Te.throwArgumentError("invalid event object","value",t);const e={name:Xe(t.name),anonymous:t.anonymous,inputs:t.inputs?t.inputs.map(Be.fromObject):[],type:"event"};return new Qe(je,e)}static fromString(t){let e=t.match(Ke);e||Te.throwArgumentError("invalid event string","value",t);let n=!1;return e[3].split(" ").forEach((t=>{switch(t.trim()){case"anonymous":n=!0;break;case"":break;default:Te.warn("unknown modifier: "+t)}})),Qe.fromObject({name:e[1].trim(),anonymous:n,inputs:Re(e[2],!0),type:"event"})}static isEventFragment(t){return t&&t._isFragment&&"event"===t.type}}function We(t,e){e.gas=null;let n=t.split("@");return 1!==n.length?(n.length>2&&Te.throwArgumentError("invalid human-readable ABI signature","value",t),n[1].match(/^[0-9]+$/)||Te.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=ee.from(n[1]),n[0]):t}function Ye(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach((t=>{switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}}))}function Fe(t){let e={constant:!1,payable:!0,stateMutability:"payable"};return null!=t.stateMutability?(e.stateMutability=t.stateMutability,e.constant="view"===e.stateMutability||"pure"===e.stateMutability,null!=t.constant&&!!t.constant!==e.constant&&Te.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable="payable"===e.stateMutability,null!=t.payable&&!!t.payable!==e.payable&&Te.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):null!=t.payable?(e.payable=!!t.payable,null!=t.constant||e.payable||"constructor"===t.type||Te.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&Te.throwArgumentError("cannot have constant payable function","value",t)):null!=t.constant?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):"constructor"!==t.type&&Te.throwArgumentError("unable to determine stateMutability","value",t),e}class He extends Ue{format(t){if(t||(t=ze.sighash),ze[t]||Te.throwArgumentError("invalid format type","format",t),t===ze.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});t===ze.sighash&&Te.throwError("cannot format a constructor for sighash",Dt.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let e="constructor("+this.inputs.map((e=>e.format(t))).join(t===ze.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "),e.trim()}static from(t){return"string"==typeof t?He.fromString(t):He.fromObject(t)}static fromObject(t){if(He.isConstructorFragment(t))return t;"constructor"!==t.type&&Te.throwArgumentError("invalid constructor object","value",t);let e=Fe(t);e.constant&&Te.throwArgumentError("constructor cannot be constant","value",t);const n={name:null,type:t.type,inputs:t.inputs?t.inputs.map(Be.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?ee.from(t.gas):null};return new He(je,n)}static fromString(t){let e={type:"constructor"},n=(t=We(t,e)).match(Ke);return n&&"constructor"===n[1].trim()||Te.throwArgumentError("invalid constructor string","value",t),e.inputs=Re(n[2].trim(),!1),Ye(n[3].trim(),e),He.fromObject(e)}static isConstructorFragment(t){return t&&t._isFragment&&"constructor"===t.type}}class Ge extends He{format(t){if(t||(t=ze.sighash),ze[t]||Te.throwArgumentError("invalid format type","format",t),t===ze.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t)))),outputs:this.outputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==ze.sighash&&(e+="function "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===ze.full?", ":",")+") ",t!==ze.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "):this.constant&&(e+="view "),this.outputs&&this.outputs.length&&(e+="returns ("+this.outputs.map((e=>e.format(t))).join(", ")+") "),null!=this.gas&&(e+="@"+this.gas.toString()+" ")),e.trim()}static from(t){return"string"==typeof t?Ge.fromString(t):Ge.fromObject(t)}static fromObject(t){if(Ge.isFunctionFragment(t))return t;"function"!==t.type&&Te.throwArgumentError("invalid function object","value",t);let e=Fe(t);const n={type:t.type,name:Xe(t.name),constant:e.constant,inputs:t.inputs?t.inputs.map(Be.fromObject):[],outputs:t.outputs?t.outputs.map(Be.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?ee.from(t.gas):null};return new Ge(je,n)}static fromString(t){let e={type:"function"},n=(t=We(t,e)).split(" returns ");n.length>2&&Te.throwArgumentError("invalid function string","value",t);let r=n[0].match(Ke);if(r||Te.throwArgumentError("invalid function signature","value",t),e.name=r[1].trim(),e.name&&Xe(e.name),e.inputs=Re(r[2],!1),Ye(r[3].trim(),e),n.length>1){let r=n[1].match(Ke);""==r[1].trim()&&""==r[3].trim()||Te.throwArgumentError("unexpected tokens","value",t),e.outputs=Re(r[2],!1)}else e.outputs=[];return Ge.fromObject(e)}static isFunctionFragment(t){return t&&t._isFragment&&"function"===t.type}}function Ze(t){const e=t.format();return"Error(string)"!==e&&"Panic(uint256)"!==e||Te.throwArgumentError(`cannot specify user defined ${e} error`,"fragment",t),t}class Ve extends Ue{format(t){if(t||(t=ze.sighash),ze[t]||Te.throwArgumentError("invalid format type","format",t),t===ze.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==ze.sighash&&(e+="error "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===ze.full?", ":",")+") ",e.trim()}static from(t){return"string"==typeof t?Ve.fromString(t):Ve.fromObject(t)}static fromObject(t){if(Ve.isErrorFragment(t))return t;"error"!==t.type&&Te.throwArgumentError("invalid error object","value",t);const e={type:t.type,name:Xe(t.name),inputs:t.inputs?t.inputs.map(Be.fromObject):[]};return Ze(new Ve(je,e))}static fromString(t){let e={type:"error"},n=t.match(Ke);return n||Te.throwArgumentError("invalid error signature","value",t),e.name=n[1].trim(),e.name&&Xe(e.name),e.inputs=Re(n[2],!1),Ze(Ve.fromObject(e))}static isErrorFragment(t){return t&&t._isFragment&&"error"===t.type}}function Je(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}const qe=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function Xe(t){return t&&t.match(qe)||Te.throwArgumentError(`invalid identifier "${t}"`,"value",t),t}const Ke=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");const $e=new Dt("abi/5.7.0");class tn{constructor(t,e,n,r){this.name=t,this.type=e,this.localName=n,this.dynamic=r}_throwError(t,e){$e.throwArgumentError(t,this.localName,e)}}class en{constructor(t){Me(this,"wordSize",t||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(t)}get data(){return Zt(this._data)}get length(){return this._dataLength}_writeData(t){return this._data.push(t),this._dataLength+=t.length,t.length}appendWriter(t){return this._writeData(Qt(t._data))}writeBytes(t){let e=Ut(t);const n=e.length%this.wordSize;return n&&(e=Qt([e,this._padding.slice(n)])),this._writeData(e)}_getValue(t){let e=Ut(ee.from(t));return e.length>this.wordSize&&$e.throwError("value out-of-bounds",Dt.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:e.length}),e.length%this.wordSize&&(e=Qt([this._padding.slice(e.length%this.wordSize),e])),e}writeValue(t){return this._writeData(this._getValue(t))}writeUpdatableValue(){const t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,e=>{this._data[t]=this._getValue(e)}}}class nn{constructor(t,e,n,r){Me(this,"_data",Ut(t)),Me(this,"wordSize",e||32),Me(this,"_coerceFunc",n),Me(this,"allowLoose",r),this._offset=0}get data(){return Ft(this._data)}get consumed(){return this._offset}static coerce(t,e){let n=t.match("^u?int([0-9]+)$");return n&&parseInt(n[1])<=48&&(e=e.toNumber()),e}coerce(t,e){return this._coerceFunc?this._coerceFunc(t,e):nn.coerce(t,e)}_peekBytes(t,e,n){let r=Math.ceil(e/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&n&&this._offset+e<=this._data.length?r=e:$e.throwError("data out-of-bounds",Dt.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)}subReader(t){return new nn(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(t,e){let n=this._peekBytes(0,t,!!e);return this._offset+=n.length,n.slice(0,t)}readValue(){return ee.from(this.readBytes(this.wordSize))}}var rn=void 0!==rn?rn:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function on(){throw new Error("setTimeout has not been defined")}function an(){throw new Error("clearTimeout has not been defined")}var sn=on,un=an;function cn(t){if(sn===setTimeout)return setTimeout(t,0);if((sn===on||!sn)&&setTimeout)return sn=setTimeout,setTimeout(t,0);try{return sn(t,0)}catch(e){try{return sn.call(null,t,0)}catch(e){return sn.call(this,t,0)}}}"function"==typeof rn.setTimeout&&(sn=setTimeout),"function"==typeof rn.clearTimeout&&(un=clearTimeout);var ln,hn=[],dn=!1,fn=-1;function pn(){dn&&ln&&(dn=!1,ln.length?hn=ln.concat(hn):fn=-1,hn.length&&mn())}function mn(){if(!dn){var t=cn(pn);dn=!0;for(var e=hn.length;e;){for(ln=hn,hn=[];++fn1)for(var n=1;n>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}function C(t,e,n){j.call(this,t,e,n)}j.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var n,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(e);if(null===t)throw new Error(e);if(s&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||s&&ArrayBuffer.isView(t)))throw new Error(e);n=!0}for(var i,o,a=this.blocks,u=this.byteCount,c=t.length,h=this.blockCount,d=0,f=this.s;d>2]|=t[d]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(a[i>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=u){for(this.start=i-u,this.block=a[h],i=0;i>=8);n>0;)i.unshift(n),n=255&(t>>=8),++r;return e?i.push(r):i.unshift(r),this.update(i),i.length},j.prototype.encodeString=function(t){var n,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(e);if(null===t)throw new Error(e);if(s&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||s&&ArrayBuffer.isView(t)))throw new Error(e);n=!0}var i=0,o=t.length;if(n)i=o;else for(var a=0;a=57344?i+=3:(u=65536+((1023&u)<<10|1023&t.charCodeAt(++a)),i+=4)}return i+=this.encode(8*i),this.update(t),i},j.prototype.bytepad=function(t,e){for(var n=this.encode(e),r=0;r>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[n],e=1;e>4&15]+u[15&t]+u[t>>12&15]+u[t>>8&15]+u[t>>20&15]+u[t>>16&15]+u[t>>28&15]+u[t>>24&15];a%e==0&&(D(n),o=0)}return i&&(t=n[o],s+=u[t>>4&15]+u[15&t],i>1&&(s+=u[t>>12&15]+u[t>>8&15]),i>2&&(s+=u[t>>20&15]+u[t>>16&15])),s},j.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;t=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(t);a>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;s%n==0&&D(r)}return o&&(t=s<<2,e=r[a],u[t]=255&e,o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u},C.prototype=new j,C.prototype.finalize=function(){return this.encode(this.outputBits,!0),j.prototype.finalize.call(this)};var D=function(t){var e,n,r,i,o,a,s,u,c,l,d,f,p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I,T,j,C,D,O,_,z,P,B,R,U,Q,W,Y,F,H,G,Z,V,J,q,X,K,$,tt,et,nt,rt,it,ot,at,st,ut,ct,lt;for(r=0;r<48;r+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],a=t[2]^t[12]^t[22]^t[32]^t[42],s=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],l=t[6]^t[16]^t[26]^t[36]^t[46],d=t[7]^t[17]^t[27]^t[37]^t[47],e=(f=t[8]^t[18]^t[28]^t[38]^t[48])^(a<<1|s>>>31),n=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(s<<1|a>>>31),t[0]^=e,t[1]^=n,t[10]^=e,t[11]^=n,t[20]^=e,t[21]^=n,t[30]^=e,t[31]^=n,t[40]^=e,t[41]^=n,e=i^(u<<1|c>>>31),n=o^(c<<1|u>>>31),t[2]^=e,t[3]^=n,t[12]^=e,t[13]^=n,t[22]^=e,t[23]^=n,t[32]^=e,t[33]^=n,t[42]^=e,t[43]^=n,e=a^(l<<1|d>>>31),n=s^(d<<1|l>>>31),t[4]^=e,t[5]^=n,t[14]^=e,t[15]^=n,t[24]^=e,t[25]^=n,t[34]^=e,t[35]^=n,t[44]^=e,t[45]^=n,e=u^(f<<1|p>>>31),n=c^(p<<1|f>>>31),t[6]^=e,t[7]^=n,t[16]^=e,t[17]^=n,t[26]^=e,t[27]^=n,t[36]^=e,t[37]^=n,t[46]^=e,t[47]^=n,e=l^(i<<1|o>>>31),n=d^(o<<1|i>>>31),t[8]^=e,t[9]^=n,t[18]^=e,t[19]^=n,t[28]^=e,t[29]^=n,t[38]^=e,t[39]^=n,t[48]^=e,t[49]^=n,m=t[0],g=t[1],Z=t[11]<<4|t[10]>>>28,V=t[10]<<4|t[11]>>>28,I=t[20]<<3|t[21]>>>29,T=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,Y=t[40]<<18|t[41]>>>14,F=t[41]<<18|t[40]>>>14,_=t[2]<<1|t[3]>>>31,z=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,J=t[22]<<10|t[23]>>>22,q=t[23]<<10|t[22]>>>22,j=t[33]<<13|t[32]>>>19,C=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,nt=t[4]<<30|t[5]>>>2,P=t[14]<<6|t[15]>>>26,B=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,w=t[24]<<11|t[25]>>>21,X=t[34]<<15|t[35]>>>17,K=t[35]<<15|t[34]>>>17,D=t[45]<<29|t[44]>>>3,O=t[44]<<29|t[45]>>>3,x=t[6]<<28|t[7]>>>4,E=t[7]<<28|t[6]>>>4,rt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,R=t[26]<<25|t[27]>>>7,U=t[27]<<25|t[26]>>>7,M=t[36]<<21|t[37]>>>11,k=t[37]<<21|t[36]>>>11,$=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,H=t[8]<<27|t[9]>>>5,G=t[9]<<27|t[8]>>>5,N=t[18]<<20|t[19]>>>12,S=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,Q=t[38]<<8|t[39]>>>24,W=t[39]<<8|t[38]>>>24,L=t[48]<<14|t[49]>>>18,A=t[49]<<14|t[48]>>>18,t[0]=m^~y&b,t[1]=g^~v&w,t[10]=x^~N&I,t[11]=E^~S&T,t[20]=_^~P&R,t[21]=z^~B&U,t[30]=H^~Z&J,t[31]=G^~V&q,t[40]=et^~rt&ot,t[41]=nt^~it&at,t[2]=y^~b&M,t[3]=v^~w&k,t[12]=N^~I&j,t[13]=S^~T&C,t[22]=P^~R&Q,t[23]=B^~U&W,t[32]=Z^~J&X,t[33]=V^~q&K,t[42]=rt^~ot&st,t[43]=it^~at&ut,t[4]=b^~M&L,t[5]=w^~k&A,t[14]=I^~j&D,t[15]=T^~C&O,t[24]=R^~Q&Y,t[25]=U^~W&F,t[34]=J^~X&$,t[35]=q^~K&tt,t[44]=ot^~st&ct,t[45]=at^~ut<,t[6]=M^~L&m,t[7]=k^~A&g,t[16]=j^~D&x,t[17]=C^~O&E,t[26]=Q^~Y&_,t[27]=W^~F&z,t[36]=X^~$&H,t[37]=K^~tt&G,t[46]=st^~ct&et,t[47]=ut^~lt&nt,t[8]=L^~m&y,t[9]=A^~g&v,t[18]=D^~x&N,t[19]=O^~E&S,t[28]=Y^~_&P,t[29]=F^~z&B,t[38]=$^~H&Z,t[39]=tt^~G&V,t[48]=ct^~et&rt,t[49]=lt^~nt&it,t[0]^=h[r],t[1]^=h[r+1]};if(a)t.exports=L;else for(x=0;x>=8;return e}function Dn(t,e,n){let r=0;for(let i=0;ie+1+r&&jn.throwError("child data too short",Dt.errors.BUFFER_OVERRUN,{})}return{consumed:1+r,result:i}}function Pn(t,e){if(0===t.length&&jn.throwError("data too short",Dt.errors.BUFFER_OVERRUN,{}),t[e]>=248){const n=t[e]-247;e+1+n>t.length&&jn.throwError("data short segment too short",Dt.errors.BUFFER_OVERRUN,{});const r=Dn(t,e+1,n);return e+1+n+r>t.length&&jn.throwError("data long segment too short",Dt.errors.BUFFER_OVERRUN,{}),zn(t,e,e+1+n,n+r)}if(t[e]>=192){const n=t[e]-192;return e+1+n>t.length&&jn.throwError("data array too short",Dt.errors.BUFFER_OVERRUN,{}),zn(t,e,e+1,n)}if(t[e]>=184){const n=t[e]-183;e+1+n>t.length&&jn.throwError("data array too short",Dt.errors.BUFFER_OVERRUN,{});const r=Dn(t,e+1,n);e+1+n+r>t.length&&jn.throwError("data array too short",Dt.errors.BUFFER_OVERRUN,{});return{consumed:1+n+r,result:Ft(t.slice(e+1+n,e+1+n+r))}}if(t[e]>=128){const n=t[e]-128;e+1+n>t.length&&jn.throwError("data too short",Dt.errors.BUFFER_OVERRUN,{});return{consumed:1+n,result:Ft(t.slice(e+1,e+1+n))}}return{consumed:1,result:Ft(t[e])}}function Bn(t){const e=Ut(t),n=Pn(e,0);return n.consumed!==e.length&&jn.throwArgumentError("invalid rlp data","data",t),n.result}const Rn=new Dt("address/5.7.0");function Un(t){Yt(t,20)||Rn.throwArgumentError("invalid address","address",t);const e=(t=t.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let t=0;t<40;t++)n[t]=e[t].charCodeAt(0);const r=Ut(Tn(n));for(let t=0;t<40;t+=2)r[t>>1]>>4>=8&&(e[t]=e[t].toUpperCase()),(15&r[t>>1])>=8&&(e[t+1]=e[t+1].toUpperCase());return"0x"+e.join("")}const Qn={};for(let t=0;t<10;t++)Qn[String(t)]=String(t);for(let t=0;t<26;t++)Qn[String.fromCharCode(65+t)]=String(10+t);const Wn=Math.floor(function(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}(9007199254740991));function Yn(t){let e=null;if("string"!=typeof t&&Rn.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=Un(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&Rn.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==function(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>Qn[t])).join("");for(;e.length>=Wn;){let t=e.substring(0,Wn);e=parseInt(t,10)%97+e.substring(t.length)}let n=String(98-parseInt(e,10)%97);for(;n.length<2;)n="0"+n;return n}(t)&&Rn.throwArgumentError("bad icap checksum","address",t),n=t.substring(4),e=new Xt(n,36).toString(16);e.length<40;)e="0"+e;e=Un("0x"+e)}else Rn.throwArgumentError("invalid address","address",t);var n;return e}function Fn(t){let e=null;try{e=Yn(t.from)}catch(e){Rn.throwArgumentError("missing from address","transaction",t)}return Yn(Gt(Tn(_n([e,Wt(Ut(ee.from(t.nonce).toHexString()))])),12))}class Hn extends tn{constructor(t){super("address","address",t,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(t,e){try{e=Yn(e)}catch(t){this._throwError(t.message,e)}return t.writeValue(e)}decode(t){return Yn(Jt(t.readValue().toHexString(),20))}}class Gn extends tn{constructor(t){super(t.name,t.type,void 0,t.dynamic),this.coder=t}defaultValue(){return this.coder.defaultValue()}encode(t,e){return this.coder.encode(t,e)}decode(t){return this.coder.decode(t)}}const Zn=new Dt("abi/5.7.0");function Vn(t,e,n){let r=null;if(Array.isArray(n))r=n;else if(n&&"object"==typeof n){let t={};r=e.map((e=>{const r=e.localName;return r||Zn.throwError("cannot encode object for signature with missing names",Dt.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:n}),t[r]&&Zn.throwError("cannot encode object for signature with duplicate names",Dt.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:n}),t[r]=!0,n[r]}))}else Zn.throwArgumentError("invalid tuple value","tuple",n);e.length!==r.length&&Zn.throwArgumentError("types/value length mismatch","tuple",n);let i=new en(t.wordSize),o=new en(t.wordSize),a=[];e.forEach(((t,e)=>{let n=r[e];if(t.dynamic){let e=o.length;t.encode(o,n);let r=i.writeUpdatableValue();a.push((t=>{r(t+e)}))}else t.encode(i,n)})),a.forEach((t=>{t(i.length)}));let s=t.appendWriter(i);return s+=t.appendWriter(o),s}function Jn(t,e){let n=[],r=t.subReader(0);e.forEach((e=>{let i=null;if(e.dynamic){let n=t.readValue(),o=r.subReader(n.toNumber());try{i=e.decode(o)}catch(t){if(t.code===Dt.errors.BUFFER_OVERRUN)throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(t){if(t.code===Dt.errors.BUFFER_OVERRUN)throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}null!=i&&n.push(i)}));const i=e.reduce(((t,e)=>{const n=e.localName;return n&&(t[n]||(t[n]=0),t[n]++),t}),{});e.forEach(((t,e)=>{let r=t.localName;if(!r||1!==i[r])return;if("length"===r&&(r="_length"),null!=n[r])return;const o=n[e];o instanceof Error?Object.defineProperty(n,r,{enumerable:!0,get:()=>{throw o}}):n[r]=o}));for(let t=0;t{throw e}})}return Object.freeze(n)}class qn extends tn{constructor(t,e,n){super("array",t.type+"["+(e>=0?e:"")+"]",n,-1===e||t.dynamic),this.coder=t,this.length=e}defaultValue(){const t=this.coder.defaultValue(),e=[];for(let n=0;nt._data.length&&Zn.throwError("insufficient data length",Dt.errors.BUFFER_OVERRUN,{length:t._data.length,count:e}));let n=[];for(let t=0;t>6==2;r++)t++;return t}return t===cr.OVERRUN?n.length-e-1:0}!function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(ur||(ur={})),function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(cr||(cr={}));const hr=Object.freeze({error:function(t,e,n,r,i){return sr.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",n)},ignore:lr,replace:function(t,e,n,r,i){return t===cr.OVERLONG?(r.push(i),0):(r.push(65533),lr(t,e,n))}});function dr(t,e){null==e&&(e=hr.error),t=Ut(t);const n=[];let r=0;for(;r>7==0){n.push(i);continue}let o=null,a=null;if(192==(224&i))o=1,a=127;else if(224==(240&i))o=2,a=2047;else{if(240!=(248&i)){r+=e(128==(192&i)?cr.UNEXPECTED_CONTINUE:cr.BAD_PREFIX,r-1,t,n);continue}o=3,a=65535}if(r-1+o>=t.length){r+=e(cr.OVERRUN,r-1,t,n);continue}let s=i&(1<<8-o-1)-1;for(let i=0;i1114111?r+=e(cr.OUT_OF_RANGE,r-1-o,t,n,s):s>=55296&&s<=57343?r+=e(cr.UTF16_SURROGATE,r-1-o,t,n,s):s<=a?r+=e(cr.OVERLONG,r-1-o,t,n,s):n.push(s))}return n}function fr(t,e=ur.current){e!=ur.current&&(sr.checkNormalize(),t=t.normalize(e));let n=[];for(let e=0;e>6|192),n.push(63&r|128);else if(55296==(64512&r)){e++;const i=t.charCodeAt(e);if(e>=t.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&r)<<10)+(1023&i);n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(63&r|128)}return Ut(n)}function pr(t,e){return dr(t,e).map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("")}class mr extends Kn{constructor(t){super("string",t)}defaultValue(){return""}encode(t,e){return super.encode(t,fr(e))}decode(t){return pr(super.decode(t))}}class gr extends tn{constructor(t,e){let n=!1;const r=[];t.forEach((t=>{t.dynamic&&(n=!0),r.push(t.type)}));super("tuple","tuple("+r.join(",")+")",e,n),this.coders=t}defaultValue(){const t=[];this.coders.forEach((e=>{t.push(e.defaultValue())}));const e=this.coders.reduce(((t,e)=>{const n=e.localName;return n&&(t[n]||(t[n]=0),t[n]++),t}),{});return this.coders.forEach(((n,r)=>{let i=n.localName;i&&1===e[i]&&("length"===i&&(i="_length"),null==t[i]&&(t[i]=t[r]))})),Object.freeze(t)}encode(t,e){return Vn(t,this.coders,e)}decode(t){return t.coerce(this.name,Jn(t,this.coders))}}const yr=new Dt("abi/5.7.0"),vr=new RegExp(/^bytes([0-9]*)$/),br=new RegExp(/^(u?int)([0-9]*)$/);const wr=new class{constructor(t){Me(this,"coerceFunc",t||null)}_getCoder(t){switch(t.baseType){case"address":return new Hn(t.name);case"bool":return new Xn(t.name);case"string":return new mr(t.name);case"bytes":return new $n(t.name);case"array":return new qn(this._getCoder(t.arrayChildren),t.arrayLength,t.name);case"tuple":return new gr((t.components||[]).map((t=>this._getCoder(t))),t.name);case"":return new er(t.name)}let e=t.type.match(br);if(e){let n=parseInt(e[2]||"256");return(0===n||n>256||n%8!=0)&&yr.throwArgumentError("invalid "+e[1]+" bit length","param",t),new ar(n/8,"int"===e[1],t.name)}if(e=t.type.match(vr),e){let n=parseInt(e[1]);return(0===n||n>32)&&yr.throwArgumentError("invalid bytes length","param",t),new tr(n,t.name)}return yr.throwArgumentError("invalid type","type",t.type)}_getWordSize(){return 32}_getReader(t,e){return new nn(t,this._getWordSize(),this.coerceFunc,e)}_getWriter(){return new en(this._getWordSize())}getDefaultValue(t){const e=t.map((t=>this._getCoder(Be.from(t))));return new gr(e,"_").defaultValue()}encode(t,e){t.length!==e.length&&yr.throwError("types/values length mismatch",Dt.errors.INVALID_ARGUMENT,{count:{types:t.length,values:e.length},value:{types:t,values:e}});const n=t.map((t=>this._getCoder(Be.from(t)))),r=new gr(n,"_"),i=this._getWriter();return r.encode(i,e),i.data}decode(t,e,n){const r=t.map((t=>this._getCoder(Be.from(t))));return new gr(r,"_").decode(this._getReader(Ut(e),n))}};function Mr(t){return Tn(fr(t))}function kr(t){t=atob(t);const e=[];for(let n=0;n0&&Array.isArray(t)?i(t,e-1):n.push(t)}))};return i(t,e),n}function xr(t){return function(t){let e=0;return()=>t[e++]}(function(t){let e=0;function n(){return t[e++]<<8|t[e++]}let r=n(),i=1,o=[0,1];for(let t=1;t>--u&1}const h=Math.pow(2,31),d=h>>>1,f=d>>1,p=h-1;let m=0;for(let t=0;t<31;t++)m=m<<1|l();let g=[],y=0,v=h;for(;;){let t=Math.floor(((m-y+1)*i-1)/v),e=0,n=r;for(;n-e>1;){let r=e+n>>>1;t>>1|l(),a=a<<1^d,s=(s^d)<<1|d|1;y=a,v=1+s-a}let b=r-4;return g.map((e=>{switch(e-b){case 3:return b+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return b+256+(t[s++]<<8|t[s++]);case 1:return b+t[s++];default:return e-1}}))}(t))}function Er(t){return 1&t?~t>>1:t>>1}function Nr(t,e){let n=Array(t);for(let r=0,i=-1;re[t])):n}function Tr(t,e,n){let r=Array(t).fill(void 0).map((()=>[]));for(let i=0;ir[e].push(t)));return r}function jr(t,e){let n=1+e(),r=e(),i=function(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(n)}return e}(e);return Ar(Tr(i.length,1+t,e).map(((t,e)=>{const o=t[0],a=t.slice(1);return Array(i[e]).fill(void 0).map(((t,e)=>{let i=e*r;return[o+e*n,a.map((t=>t+i))]}))})))}function Cr(t,e){return Tr(1+e(),1+t,e).map((t=>[t[0],t.slice(1)]))}const Dr=xr(kr("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMp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re8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),Or=new Set(Ir(Dr)),_r=new Set(Ir(Dr)),zr=function(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(jr(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(Cr(n,t))}return function(t){const e={};for(let n=0;nt-e));return function n(){let r=[];for(;;){let i=Ir(t,e);if(0==i.length)break;r.push({set:new Set(i),node:n()})}r.sort(((t,e)=>e.set.size-t.set.size));let i=t(),o=i%3;i=i/3|0;let a=!!(1&i);return i>>=1,{branches:r,valid:o,fe0f:a,save:1==i,check:2==i}}()}(Dr);function Br(t){return function(t,e=ur.current){return dr(fr(t,e))}(t)}function Rr(t){return t.filter((t=>65039!=t))}function Ur(t){for(let e of t.split(".")){let t=Br(e);try{for(let e=t.lastIndexOf(95)-1;e>=0;e--)if(95!==t[e])throw new Error("underscore only allowed at start");if(t.length>=4&&t.every((t=>t<128))&&45===t[2]&&45===t[3])throw new Error("invalid label extension")}catch(t){throw new Error(`Invalid label "${e}": ${t.message}`)}}return t}function Qr(t){return Ur(function(t,e){let n=Br(t).reverse(),r=[];for(;n.length;){let t=Wr(n);if(t){r.push(...e(t));continue}let i=n.pop();if(Or.has(i)){r.push(i);continue}if(_r.has(i))continue;let o=zr[i];if(!o)throw new Error(`Disallowed codepoint: 0x${i.toString(16).toUpperCase()}`);r.push(...o)}return Ur(function(t){return t.normalize("NFC")}(String.fromCodePoint(...r)))}(t,Rr))}function Wr(t,e){var n;let r,i,o=Pr,a=[],s=t.length;for(e&&(e.length=0);s;){let u=t[--s];if(o=null===(n=o.branches.find((t=>t.set.has(u))))||void 0===n?void 0:n.node,!o)break;if(o.save)i=u;else if(o.check&&u===i)break;a.push(u),o.fe0f&&(a.push(65039),s>0&&65039==t[s-1]&&s--),o.valid&&(r=a.slice(),2==o.valid&&r.splice(1,1),e&&e.push(...t.slice(s).reverse()),t.length=s)}return r}const Yr=new Dt("hash/5.7.0"),Fr=new Uint8Array(32);function Hr(t){if(0===t.length)throw new Error("invalid ENS name; empty component");return t}function Gr(t){const e=fr(Qr(t)),n=[];if(0===t.length)return n;let r=0;for(let t=0;t=e.length)throw new Error("invalid ENS name; empty component");return n.push(Hr(e.slice(r))),n}function Zr(t){"string"!=typeof t&&Yr.throwArgumentError("invalid ENS name; not a string","name",t);let e=Fr;const n=Gr(t);for(;n.length;)e=Tn(Qt([e,Tn(n.pop())]));return Ft(e)}Fr.fill(0);var Vr=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Jr=new Dt("hash/5.7.0"),qr=new Uint8Array(32);qr.fill(0);const Xr=ee.from(-1),Kr=ee.from(0),$r=ee.from(1),ti=ee.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const ei=Jt($r.toHexString(),32),ni=Jt(Kr.toHexString(),32),ri={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},ii=["name","version","chainId","verifyingContract","salt"];function oi(t){return function(e){return"string"!=typeof e&&Jr.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const ai={name:oi("name"),version:oi("version"),chainId:function(t){try{return ee.from(t).toString()}catch(t){}return Jr.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return Yn(t).toLowerCase()}catch(t){}return Jr.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=Ut(t);if(32!==e.length)throw new Error("bad length");return Ft(e)}catch(t){}return Jr.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function si(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const n=""===e[1],r=parseInt(e[2]||"256");(r%8!=0||r>256||e[2]&&e[2]!==String(r))&&Jr.throwArgumentError("invalid numeric width","type",t);const i=ti.mask(n?r-1:r),o=n?i.add($r).mul(Xr):Kr;return function(e){const n=ee.from(e);return(n.lt(o)||n.gt(i))&&Jr.throwArgumentError(`value out-of-bounds for ${t}`,"value",e),Jt(n.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const n=parseInt(e[1]);return(0===n||n>32||e[1]!==String(n))&&Jr.throwArgumentError("invalid bytes width","type",t),function(e){return Ut(e).length!==n&&Jr.throwArgumentError(`invalid length for ${t}`,"value",e),function(t){const e=Ut(t),n=e.length%32;return n?Zt([e,qr.slice(n)]):Ft(e)}(e)}}}switch(t){case"address":return function(t){return Jt(Yn(t),32)};case"bool":return function(t){return t?ei:ni};case"bytes":return function(t){return Tn(t)};case"string":return function(t){return Mr(t)}}return null}function ui(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}class ci{constructor(t){Me(this,"types",Object.freeze(Se(t))),Me(this,"_encoderCache",{}),Me(this,"_types",{});const e={},n={},r={};Object.keys(t).forEach((t=>{e[t]={},n[t]=[],r[t]={}}));for(const r in t){const i={};t[r].forEach((o=>{i[o.name]&&Jr.throwArgumentError(`duplicate variable name ${JSON.stringify(o.name)} in ${JSON.stringify(r)}`,"types",t),i[o.name]=!0;const a=o.type.match(/^([^\x5b]*)(\x5b|$)/)[1];a===r&&Jr.throwArgumentError(`circular type reference to ${JSON.stringify(a)}`,"types",t);si(a)||(n[a]||Jr.throwArgumentError(`unknown type ${JSON.stringify(a)}`,"types",t),n[a].push(r),e[r][a]=!0)}))}const i=Object.keys(n).filter((t=>0===n[t].length));0===i.length?Jr.throwArgumentError("missing primary type","types",t):i.length>1&&Jr.throwArgumentError(`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),Me(this,"primaryType",i[0]),function i(o,a){a[o]&&Jr.throwArgumentError(`circular type reference to ${JSON.stringify(o)}`,"types",t),a[o]=!0,Object.keys(e[o]).forEach((t=>{n[t]&&(i(t,a),Object.keys(a).forEach((e=>{r[e][t]=!0})))})),delete a[o]}(this.primaryType,{});for(const e in r){const n=Object.keys(r[e]);n.sort(),this._types[e]=ui(e,t[e])+n.map((e=>ui(e,t[e]))).join("")}}getEncoder(t){let e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}_getEncoder(t){{const e=si(t);if(e)return e}const e=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(e){const t=e[1],n=this.getEncoder(t),r=parseInt(e[3]);return e=>{r>=0&&e.length!==r&&Jr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);let i=e.map(n);return this._types[t]&&(i=i.map(Tn)),Tn(Zt(i))}}const n=this.types[t];if(n){const e=Mr(this._types[t]);return t=>{const r=n.map((({name:e,type:n})=>{const r=this.getEncoder(n)(t[e]);return this._types[n]?Tn(r):r}));return r.unshift(e),Zt(r)}}return Jr.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const e=this._types[t];return e||Jr.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return Tn(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,n){if(si(t))return n(t,e);const r=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){const t=r[1],i=parseInt(r[3]);return i>=0&&e.length!==i&&Jr.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((e=>this._visit(t,e,n)))}const i=this.types[t];return i?i.reduce(((t,{name:r,type:i})=>(t[r]=this._visit(i,e[r],n),t)),{}):Jr.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new ci(t)}static getPrimaryType(t){return ci.from(t).primaryType}static hashStruct(t,e,n){return ci.from(e).hashStruct(t,n)}static hashDomain(t){const e=[];for(const n in t){const r=ri[n];r||Jr.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(n)}`,"domain",t),e.push({name:n,type:r})}return e.sort(((t,e)=>ii.indexOf(t.name)-ii.indexOf(e.name))),ci.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,n){return Zt(["0x1901",ci.hashDomain(t),ci.from(e).hash(n)])}static hash(t,e,n){return Tn(ci.encode(t,e,n))}static resolveNames(t,e,n,r){return Vr(this,void 0,void 0,(function*(){t=Ae(t);const i={};t.verifyingContract&&!Yt(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");const o=ci.from(e);o.visit(n,((t,e)=>("address"!==t||Yt(e,20)||(i[e]="0x"),e)));for(const t in i)i[t]=yield r(t);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),n=o.visit(n,((t,e)=>"address"===t&&i[e]?i[e]:e)),{domain:t,value:n}}))}static getPayload(t,e,n){ci.hashDomain(t);const r={},i=[];ii.forEach((e=>{const n=t[e];null!=n&&(r[e]=ai[e](n),i.push({name:e,type:ri[e]}))}));const o=ci.from(e),a=Ae(e);return a.EIP712Domain?Jr.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",e):a.EIP712Domain=i,o.encode(n),{types:a,domain:r,primaryType:o.primaryType,message:o.visit(n,((t,e)=>{if(t.match(/^bytes(\d*)/))return Ft(Ut(e));if(t.match(/^u?int/))return ee.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&Jr.throwArgumentError("invalid string","value",e),e}return Jr.throwArgumentError("unsupported type","type",t)}))}}}const li=new Dt("abi/5.7.0");class hi extends Ie{}class di extends Ie{}class fi extends Ie{}class pi extends Ie{static isIndexed(t){return!(!t||!t._isIndexed)}}const mi={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function gi(t,e){const n=new Error(`deferred error during ABI decoding triggered accessing ${t}`);return n.error=e,n}class yi{constructor(t){let e=[];e="string"==typeof t?JSON.parse(t):t,Me(this,"fragments",e.map((t=>Ue.from(t))).filter((t=>null!=t))),Me(this,"_abiCoder",ke(new.target,"getAbiCoder")()),Me(this,"functions",{}),Me(this,"errors",{}),Me(this,"events",{}),Me(this,"structs",{}),this.fragments.forEach((t=>{let e=null;switch(t.type){case"constructor":return this.deploy?void li.warn("duplicate definition - constructor"):void Me(this,"deploy",t);case"function":e=this.functions;break;case"event":e=this.events;break;case"error":e=this.errors;break;default:return}let n=t.format();e[n]?li.warn("duplicate definition - "+n):e[n]=t})),this.deploy||Me(this,"deploy",He.from({payable:!1,type:"constructor"})),Me(this,"_isInterface",!0)}format(t){t||(t=ze.full),t===ze.sighash&&li.throwArgumentError("interface does not support formatting sighash","format",t);const e=this.fragments.map((e=>e.format(t)));return t===ze.json?JSON.stringify(e.map((t=>JSON.parse(t)))):e}static getAbiCoder(){return wr}static getAddress(t){return Yn(t)}static getSighash(t){return Gt(Mr(t.format()),0,4)}static getEventTopic(t){return Mr(t.format())}getFunction(t){if(Yt(t)){for(const e in this.functions)if(t===this.getSighash(e))return this.functions[e];li.throwArgumentError("no matching function","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),n=Object.keys(this.functions).filter((t=>t.split("(")[0]===e));return 0===n.length?li.throwArgumentError("no matching function","name",e):n.length>1&&li.throwArgumentError("multiple matching functions","name",e),this.functions[n[0]]}const e=this.functions[Ge.fromString(t).format()];return e||li.throwArgumentError("no matching function","signature",t),e}getEvent(t){if(Yt(t)){const e=t.toLowerCase();for(const t in this.events)if(e===this.getEventTopic(t))return this.events[t];li.throwArgumentError("no matching event","topichash",e)}if(-1===t.indexOf("(")){const e=t.trim(),n=Object.keys(this.events).filter((t=>t.split("(")[0]===e));return 0===n.length?li.throwArgumentError("no matching event","name",e):n.length>1&&li.throwArgumentError("multiple matching events","name",e),this.events[n[0]]}const e=this.events[Qe.fromString(t).format()];return e||li.throwArgumentError("no matching event","signature",t),e}getError(t){if(Yt(t)){const e=ke(this.constructor,"getSighash");for(const n in this.errors){if(t===e(this.errors[n]))return this.errors[n]}li.throwArgumentError("no matching error","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),n=Object.keys(this.errors).filter((t=>t.split("(")[0]===e));return 0===n.length?li.throwArgumentError("no matching error","name",e):n.length>1&&li.throwArgumentError("multiple matching errors","name",e),this.errors[n[0]]}const e=this.errors[Ge.fromString(t).format()];return e||li.throwArgumentError("no matching error","signature",t),e}getSighash(t){if("string"==typeof t)try{t=this.getFunction(t)}catch(e){try{t=this.getError(t)}catch(t){throw e}}return ke(this.constructor,"getSighash")(t)}getEventTopic(t){return"string"==typeof t&&(t=this.getEvent(t)),ke(this.constructor,"getEventTopic")(t)}_decodeParams(t,e){return this._abiCoder.decode(t,e)}_encodeParams(t,e){return this._abiCoder.encode(t,e)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,e){"string"==typeof t&&(t=this.getError(t));const n=Ut(e);return Ft(n.slice(0,4))!==this.getSighash(t)&&li.throwArgumentError(`data signature does not match error ${t.name}.`,"data",Ft(n)),this._decodeParams(t.inputs,n.slice(4))}encodeErrorResult(t,e){return"string"==typeof t&&(t=this.getError(t)),Ft(Qt([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionData(t,e){"string"==typeof t&&(t=this.getFunction(t));const n=Ut(e);return Ft(n.slice(0,4))!==this.getSighash(t)&&li.throwArgumentError(`data signature does not match function ${t.name}.`,"data",Ft(n)),this._decodeParams(t.inputs,n.slice(4))}encodeFunctionData(t,e){return"string"==typeof t&&(t=this.getFunction(t)),Ft(Qt([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionResult(t,e){"string"==typeof t&&(t=this.getFunction(t));let n=Ut(e),r=null,i="",o=null,a=null,s=null;switch(n.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(t.outputs,n)}catch(t){}break;case 4:{const t=Ft(n.slice(0,4)),e=mi[t];if(e)o=this._abiCoder.decode(e.inputs,n.slice(4)),a=e.name,s=e.signature,e.reason&&(r=o[0]),"Error"===a?i=`; VM Exception while processing transaction: reverted with reason string ${JSON.stringify(o[0])}`:"Panic"===a&&(i=`; VM Exception while processing transaction: reverted with panic code ${o[0]}`);else try{const e=this.getError(t);o=this._abiCoder.decode(e.inputs,n.slice(4)),a=e.name,s=e.format()}catch(t){}break}}return li.throwError("call revert exception"+i,Dt.errors.CALL_EXCEPTION,{method:t.format(),data:Ft(e),errorArgs:o,errorName:a,errorSignature:s,reason:r})}encodeFunctionResult(t,e){return"string"==typeof t&&(t=this.getFunction(t)),Ft(this._abiCoder.encode(t.outputs,e||[]))}encodeFilterTopics(t,e){"string"==typeof t&&(t=this.getEvent(t)),e.length>t.inputs.length&&li.throwError("too many arguments for "+t.format(),Dt.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:e});let n=[];t.anonymous||n.push(this.getEventTopic(t));const r=(t,e)=>"string"===t.type?Mr(e):"bytes"===t.type?Tn(Ft(e)):("bool"===t.type&&"boolean"==typeof e&&(e=e?"0x01":"0x00"),t.type.match(/^u?int/)&&(e=ee.from(e).toHexString()),"address"===t.type&&this._abiCoder.encode(["address"],[e]),Jt(Ft(e),32));for(e.forEach(((e,i)=>{let o=t.inputs[i];o.indexed?null==e?n.push(null):"array"===o.baseType||"tuple"===o.baseType?li.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,e):Array.isArray(e)?n.push(e.map((t=>r(o,t)))):n.push(r(o,e)):null!=e&&li.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,e)}));n.length&&null===n[n.length-1];)n.pop();return n}encodeEventLog(t,e){"string"==typeof t&&(t=this.getEvent(t));const n=[],r=[],i=[];return t.anonymous||n.push(this.getEventTopic(t)),e.length!==t.inputs.length&&li.throwArgumentError("event arguments/values mismatch","values",e),t.inputs.forEach(((t,o)=>{const a=e[o];if(t.indexed)if("string"===t.type)n.push(Mr(a));else if("bytes"===t.type)n.push(Tn(a));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");n.push(this._abiCoder.encode([t.type],[a]))}else r.push(t),i.push(a)})),{data:this._abiCoder.encode(r,i),topics:n}}decodeEventLog(t,e,n){if("string"==typeof t&&(t=this.getEvent(t)),null!=n&&!t.anonymous){let e=this.getEventTopic(t);Yt(n[0],32)&&n[0].toLowerCase()===e||li.throwError("fragment/topic mismatch",Dt.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:e,value:n[0]}),n=n.slice(1)}let r=[],i=[],o=[];t.inputs.forEach(((t,e)=>{t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(r.push(Be.fromObject({type:"bytes32",name:t.name})),o.push(!0)):(r.push(t),o.push(!1)):(i.push(t),o.push(!1))}));let a=null!=n?this._abiCoder.decode(r,Qt(n)):null,s=this._abiCoder.decode(i,e,!0),u=[],c=0,l=0;t.inputs.forEach(((t,e)=>{if(t.indexed)if(null==a)u[e]=new pi({_isIndexed:!0,hash:null});else if(o[e])u[e]=new pi({_isIndexed:!0,hash:a[l++]});else try{u[e]=a[l++]}catch(t){u[e]=t}else try{u[e]=s[c++]}catch(t){u[e]=t}if(t.name&&null==u[t.name]){const n=u[e];n instanceof Error?Object.defineProperty(u,t.name,{enumerable:!0,get:()=>{throw gi(`property ${JSON.stringify(t.name)}`,n)}}):u[t.name]=n}}));for(let t=0;t{throw gi(`index ${t}`,e)}})}return Object.freeze(u)}parseTransaction(t){let e=this.getFunction(t.data.substring(0,10).toLowerCase());return e?new di({args:this._abiCoder.decode(e.inputs,"0x"+t.data.substring(10)),functionFragment:e,name:e.name,signature:e.format(),sighash:this.getSighash(e),value:ee.from(t.value||"0")}):null}parseLog(t){let e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new hi({eventFragment:e,name:e.name,signature:e.format(),topic:this.getEventTopic(e),args:this.decodeEventLog(e,t.data,t.topics)})}parseError(t){const e=Ft(t);let n=this.getError(e.substring(0,10).toLowerCase());return n?new fi({args:this._abiCoder.decode(n.inputs,"0x"+e.substring(10)),errorFragment:n,name:n.name,signature:n.format(),sighash:this.getSighash(n)}):null}static isInterface(t){return!(!t||!t._isInterface)}}var vi=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const bi=new Dt("abstract-provider/5.7.0");class wi extends Ie{static isForkEvent(t){return!(!t||!t._isForkEvent)}}class Mi{constructor(){bi.checkAbstract(new.target,Mi),Me(this,"_isProvider",!0)}getFeeData(){return vi(this,void 0,void 0,(function*(){const{block:t,gasPrice:e}=yield Le({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((t=>null))});let n=null,r=null,i=null;return t&&t.baseFeePerGas&&(n=t.baseFeePerGas,i=ee.from("1500000000"),r=t.baseFeePerGas.mul(2).add(i)),{lastBaseFeePerGas:n,maxFeePerGas:r,maxPriorityFeePerGas:i,gasPrice:e}}))}addListener(t,e){return this.on(t,e)}removeListener(t,e){return this.off(t,e)}static isProvider(t){return!(!t||!t._isProvider)}}var ki=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Li=new Dt("abstract-signer/5.7.0"),Ai=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],xi=[Dt.errors.INSUFFICIENT_FUNDS,Dt.errors.NONCE_EXPIRED,Dt.errors.REPLACEMENT_UNDERPRICED];class Ei{constructor(){Li.checkAbstract(new.target,Ei),Me(this,"_isSigner",!0)}getBalance(t){return ki(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)}))}getTransactionCount(t){return ki(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)}))}estimateGas(t){return ki(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const e=yield Le(this.checkTransaction(t));return yield this.provider.estimateGas(e)}))}call(t,e){return ki(this,void 0,void 0,(function*(){this._checkProvider("call");const n=yield Le(this.checkTransaction(t));return yield this.provider.call(n,e)}))}sendTransaction(t){return ki(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const e=yield this.populateTransaction(t),n=yield this.signTransaction(e);return yield this.provider.sendTransaction(n)}))}getChainId(){return ki(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return ki(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return ki(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(t){return ki(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)}))}checkTransaction(t){for(const e in t)-1===Ai.indexOf(e)&&Li.throwArgumentError("invalid transaction key: "+e,"transaction",t);const e=Ae(t);return null==e.from?e.from=this.getAddress():e.from=Promise.all([Promise.resolve(e.from),this.getAddress()]).then((e=>(e[0].toLowerCase()!==e[1].toLowerCase()&&Li.throwArgumentError("from address mismatch","transaction",t),e[0]))),e}populateTransaction(t){return ki(this,void 0,void 0,(function*(){const e=yield Le(this.checkTransaction(t));null!=e.to&&(e.to=Promise.resolve(e.to).then((t=>ki(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.resolveName(t);return null==e&&Li.throwArgumentError("provided ENS name resolves to null","tx.to",t),e})))),e.to.catch((t=>{})));const n=null!=e.maxFeePerGas||null!=e.maxPriorityFeePerGas;if(null==e.gasPrice||2!==e.type&&!n?0!==e.type&&1!==e.type||!n||Li.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t):Li.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t),2!==e.type&&null!=e.type||null==e.maxFeePerGas||null==e.maxPriorityFeePerGas)if(0===e.type||1===e.type)null==e.gasPrice&&(e.gasPrice=this.getGasPrice());else{const t=yield this.getFeeData();if(null==e.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(e.type=2,null!=e.gasPrice){const t=e.gasPrice;delete e.gasPrice,e.maxFeePerGas=t,e.maxPriorityFeePerGas=t}else null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(n&&Li.throwError("network does not support EIP-1559",Dt.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==e.gasPrice&&(e.gasPrice=t.gasPrice),e.type=0):Li.throwError("failed to get consistent fee data",Dt.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===e.type&&(null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else e.type=2;return null==e.nonce&&(e.nonce=this.getTransactionCount("pending")),null==e.gasLimit&&(e.gasLimit=this.estimateGas(e).catch((t=>{if(xi.indexOf(t.code)>=0)throw t;return Li.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Dt.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:e})}))),null==e.chainId?e.chainId=this.getChainId():e.chainId=Promise.all([Promise.resolve(e.chainId),this.getChainId()]).then((e=>(0!==e[1]&&e[0]!==e[1]&&Li.throwArgumentError("chainId address mismatch","transaction",t),e[0]))),yield Le(e)}))}_checkProvider(t){this.provider||Li.throwError("missing provider",Dt.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!(!t||!t._isSigner)}}class Ni extends Ei{constructor(t,e){super(),Me(this,"address",t),Me(this,"provider",e||null)}getAddress(){return Promise.resolve(this.address)}_fail(t,e){return Promise.resolve().then((()=>{Li.throwError(t,Dt.errors.UNSUPPORTED_OPERATION,{operation:e})}))}signMessage(t){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(t,e,n){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(t){return new Ni(this.address,t)}}var Si=Ii;function Ii(t,e){if(!t)throw new Error(e||"Assertion failed")}Ii.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};var Ti=[],ji=[],Ci="undefined"!=typeof Uint8Array?Uint8Array:Array,Di=!1;function Oi(){Di=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e>18&63]+Ti[i>>12&63]+Ti[i>>6&63]+Ti[63&i]);return o.join("")}function zi(t){var e;Di||Oi();for(var n=t.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(e=t[n-1],i+=Ti[e>>2],i+=Ti[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=Ti[e>>10],i+=Ti[e>>4&63],i+=Ti[e<<2&63],i+="="),o.push(i),o.join("")}function Pi(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)}function Bi(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m}var Ri={}.toString,Ui=Array.isArray||function(t){return"[object Array]"==Ri.call(t)};function Qi(){return Yi.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Wi(t,e){if(Qi()=Qi())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Qi().toString(16)+" bytes");return 0|t}function Ji(t){return!(null==t||!t._isBuffer)}function qi(t,e){if(Ji(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Lo(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Ao(t).length;default:if(r)return Lo(t).length;e=(""+e).toLowerCase(),r=!0}}function Xi(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return ho(this,e,n);case"utf8":case"utf-8":return uo(this,e,n);case"ascii":return co(this,e,n);case"latin1":case"binary":return lo(this,e,n);case"base64":return so(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return fo(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function Ki(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function $i(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=Yi.from(e,r)),Ji(e))return 0===e.length?-1:to(t,e,n,r,i);if("number"==typeof e)return e&=255,Yi.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):to(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function to(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function so(t,e,n){return 0===e&&n===t.length?zi(t):zi(t.slice(e,n))}function uo(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},Yi.prototype.compare=function(t,e,n,r,i){if(!Ji(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return eo(this,t,e,n);case"utf8":case"utf-8":return no(this,t,e,n);case"ascii":return ro(this,t,e,n);case"latin1":case"binary":return io(this,t,e,n);case"base64":return oo(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ao(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Yi.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function co(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function mo(t,e,n,r,i,o){if(!Ji(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function go(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function yo(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function vo(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function bo(t,e,n,r,i){return i||vo(t,0,n,4),Bi(t,e,n,r,23,4),n+4}function wo(t,e,n,r,i){return i||vo(t,0,n,8),Bi(t,e,n,r,52,8),n+8}Yi.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},Yi.prototype.readUInt8=function(t,e){return e||po(t,1,this.length),this[t]},Yi.prototype.readUInt16LE=function(t,e){return e||po(t,2,this.length),this[t]|this[t+1]<<8},Yi.prototype.readUInt16BE=function(t,e){return e||po(t,2,this.length),this[t]<<8|this[t+1]},Yi.prototype.readUInt32LE=function(t,e){return e||po(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},Yi.prototype.readUInt32BE=function(t,e){return e||po(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},Yi.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||po(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},Yi.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||po(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},Yi.prototype.readInt8=function(t,e){return e||po(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},Yi.prototype.readInt16LE=function(t,e){e||po(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},Yi.prototype.readInt16BE=function(t,e){e||po(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},Yi.prototype.readInt32LE=function(t,e){return e||po(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},Yi.prototype.readInt32BE=function(t,e){return e||po(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},Yi.prototype.readFloatLE=function(t,e){return e||po(t,4,this.length),Pi(this,t,!0,23,4)},Yi.prototype.readFloatBE=function(t,e){return e||po(t,4,this.length),Pi(this,t,!1,23,4)},Yi.prototype.readDoubleLE=function(t,e){return e||po(t,8,this.length),Pi(this,t,!0,52,8)},Yi.prototype.readDoubleBE=function(t,e){return e||po(t,8,this.length),Pi(this,t,!1,52,8)},Yi.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||mo(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},Yi.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,1,255,0),Yi.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},Yi.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,2,65535,0),Yi.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):go(this,t,e,!0),e+2},Yi.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,2,65535,0),Yi.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):go(this,t,e,!1),e+2},Yi.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,4,4294967295,0),Yi.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):yo(this,t,e,!0),e+4},Yi.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,4,4294967295,0),Yi.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):yo(this,t,e,!1),e+4},Yi.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);mo(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},Yi.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);mo(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},Yi.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,1,127,-128),Yi.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},Yi.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,2,32767,-32768),Yi.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):go(this,t,e,!0),e+2},Yi.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,2,32767,-32768),Yi.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):go(this,t,e,!1),e+2},Yi.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,4,2147483647,-2147483648),Yi.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):yo(this,t,e,!0),e+4},Yi.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||mo(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),Yi.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):yo(this,t,e,!1),e+4},Yi.prototype.writeFloatLE=function(t,e,n){return bo(this,t,e,!0,n)},Yi.prototype.writeFloatBE=function(t,e,n){return bo(this,t,e,!1,n)},Yi.prototype.writeDoubleLE=function(t,e,n){return wo(this,t,e,!0,n)},Yi.prototype.writeDoubleBE=function(t,e,n){return wo(this,t,e,!1,n)},Yi.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!Yi.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Ao(t){return function(t){var e,n,r,i,o,a;Di||Oi();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[s-2]?2:"="===t[s-1]?1:0,a=new Ci(3*s/4-o),r=o>0?s-4:s;var u=0;for(e=0,n=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=ji[t.charCodeAt(e)]<<2|ji[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=ji[t.charCodeAt(e)]<<10|ji[t.charCodeAt(e+1)]<<4|ji[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Mo,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function xo(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function Eo(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var No=function(t){return t instanceof Yi},So=o((function(t,e){var n=/%[sdj%]/g;e.format=function(t){if(!g(t)){for(var e=[],r=0;r=o)return t;switch(t){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return t}})),u=i[r];r=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(n)?r.showHidden=n:n&&e._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),c(r,t,r.depth)}function s(t,e){var n=a.styles[e];return n?"["+a.colors[n][0]+"m"+t+"["+a.colors[n][1]+"m":t}function u(t,e){return t}function c(t,n,r){if(t.customInspect&&n&&k(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return g(i)||(i=c(t,i,r)),i}var o=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(g(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(m(e))return t.stylize(""+e,"number");if(f(e))return t.stylize(""+e,"boolean");if(p(e))return t.stylize("null","null")}(t,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),0===a.length){if(k(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(v(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(M(n))return l(n)}var b,L="",A=!1,x=["{","}"];(d(n)&&(A=!0,x=["[","]"]),k(n))&&(L=" [Function"+(n.name?": "+n.name:"")+"]");return v(n)&&(L=" "+RegExp.prototype.toString.call(n)),w(n)&&(L=" "+Date.prototype.toUTCString.call(n)),M(n)&&(L=" "+l(n)),0!==a.length||A&&0!=n.length?r<0?v(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),b=A?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(b,L,x)):x[0]+L+x[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),N(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=p(n)?c(t,u.value,null):c(t,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function f(t){return"boolean"==typeof t}function p(t){return null===t}function m(t){return"number"==typeof t}function g(t){return"string"==typeof t}function y(t){return void 0===t}function v(t){return b(t)&&"[object RegExp]"===L(t)}function b(t){return"object"==typeof t&&null!==t}function w(t){return b(t)&&"[object Date]"===L(t)}function M(t){return b(t)&&("[object Error]"===L(t)||t instanceof Error)}function k(t){return"function"==typeof t}function L(t){return Object.prototype.toString.call(t)}function A(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(y(i)&&(i=Sn.env.NODE_DEBUG||""),t=t.toUpperCase(),!o[t])if(new RegExp("\\b"+t+"\\b","i").test(i)){var n=Sn.pid;o[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,r)}}else o[t]=function(){};return o[t]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=f,e.isNull=p,e.isNullOrUndefined=function(t){return null==t},e.isNumber=m,e.isString=g,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=y,e.isRegExp=v,e.isObject=b,e.isDate=w,e.isError=M,e.isFunction=k,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=No;var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":");return[t.getDate(),x[t.getMonth()],e].join(" ")}function N(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",E(),e.format.apply(e,arguments))},e.inherits=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},e._extend=function(t,e){if(!e||!b(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}})),Io=o((function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}}));function To(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function jo(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function Co(t){return 1===t.length?"0"+t:t}function Do(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}var Oo={inherits:o((function(t){try{var e=So;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=Io}})),toArray:function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,n[r++]=63&o|128):To(t,i)?(o=65536+((1023&o)<<10)+(1023&t.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i>>0}return o},split32:function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},rotr32:function(t,e){return t>>>e|t<<32-e},rotl32:function(t,e){return t<>>32-e},sum32:function(t,e){return t+e>>>0},sum32_3:function(t,e,n){return t+e+n>>>0},sum32_4:function(t,e,n,r){return t+e+n+r>>>0},sum32_5:function(t,e,n,r,i){return t+e+n+r+i>>>0},sum64:function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,a=(o>>0,t[e+1]=o},sum64_hi:function(t,e,n,r){return(e+r>>>0>>0},sum64_lo:function(t,e,n,r){return e+r>>>0},sum64_4_hi:function(t,e,n,r,i,o,a,s){var u=0,c=e;return u+=(c=c+r>>>0)>>0)>>0)>>0},sum64_4_lo:function(t,e,n,r,i,o,a,s){return e+r+o+s>>>0},sum64_5_hi:function(t,e,n,r,i,o,a,s,u,c){var l=0,h=e;return l+=(h=h+r>>>0)>>0)>>0)>>0)>>0},sum64_5_lo:function(t,e,n,r,i,o,a,s,u,c){return e+r+o+s+c>>>0},rotr64_hi:function(t,e,n){return(e<<32-n|t>>>n)>>>0},rotr64_lo:function(t,e,n){return(t<<32-n|e>>>n)>>>0},shr64_hi:function(t,e,n){return t>>>n},shr64_lo:function(t,e,n){return(t<<32-n|e>>>n)>>>0}};function _o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var zo=_o;_o.prototype.update=function(t,e){if(t=Oo.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=Oo.join32(t,0,t.length-n,this.endian);for(var r=0;r>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o>>3},g1_256:function(t){return Bo(t,17)^Bo(t,19)^t>>>10}},Yo=Oo.rotl32,Fo=Oo.sum32,Ho=Oo.sum32_5,Go=Wo.ft_1,Zo=Po.BlockHash,Vo=[1518500249,1859775393,2400959708,3395469782];function Jo(){if(!(this instanceof Jo))return new Jo;Zo.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Oo.inherits(Jo,Zo);var qo=Jo;Jo.blockSize=512,Jo.outSize=160,Jo.hmacStrength=80,Jo.padLength=64,Jo.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;rthis.blockSize&&(t=(new this.Hash).update(t).digest()),Si(t.length<=this.blockSize);for(var e=t.length;e>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(t,e){return"hex"===e?i(t):t}})),ls=as((function(t,e){var n=e;n.assert=ss,n.toArray=cs.toArray,n.zero2=cs.zero2,n.toHex=cs.toHex,n.encode=cs.encode,n.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},n.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=0==(1&u)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?u:-u,n[0].push(a),s=0==(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==u?c:-c,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},n.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new Lt(t,"hex","le")}})),hs=ls.getNAF,ds=ls.getJSF,fs=ls.assert;function ps(t,e){this.type=t,this.p=new Lt(e.p,16),this.red=e.prime?Lt.red(e.prime):Lt.mont(this.p),this.zero=new Lt(0).toRed(this.red),this.one=new Lt(1).toRed(this.red),this.two=new Lt(2).toRed(this.red),this.n=e.n&&new Lt(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var ms=ps;function gs(t,e){this.curve=t,this.type=e,this.precomputed=null}ps.prototype.point=function(){throw new Error("Not implemented")},ps.prototype.validate=function(){throw new Error("Not implemented")},ps.prototype._fixedNafMul=function(t,e){fs(t.precomputed);var n=t._getDoubles(),r=hs(e,1,this._bitLength),i=(1<=o;u--)a=(a<<1)+r[u];s.push(a)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=i;h>0;h--){for(o=0;o=0;s--){for(var u=0;s>=0&&0===o[s];s--)u++;if(s>=0&&u++,a=a.dblp(u),s<0)break;var c=o[s];fs(0!==c),a="affine"===t.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===t.type?a.toP():a},ps.prototype._wnafMulAdd=function(t,e,n,r,i){var o,a,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,h=0;for(o=0;o=1;o-=2){var f=o-1,p=o;if(1===u[f]&&1===u[p]){var m=[e[f],null,null,e[p]];0===e[f].y.cmp(e[p].y)?(m[1]=e[f].add(e[p]),m[2]=e[f].toJ().mixedAdd(e[p].neg())):0===e[f].y.cmp(e[p].y.redNeg())?(m[1]=e[f].toJ().mixedAdd(e[p]),m[2]=e[f].add(e[p].neg())):(m[1]=e[f].toJ().mixedAdd(e[p]),m[2]=e[f].toJ().mixedAdd(e[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=ds(n[f],n[p]);for(h=Math.max(y[0].length,h),l[f]=new Array(h),l[p]=new Array(h),a=0;a=0;o--){for(var k=0;o>=0;){var L=!0;for(a=0;a=0&&k++,w=w.dblp(k),o<0)break;for(a=0;a0?s=c[a][A-1>>1]:A<0&&(s=c[a][-A-1>>1].neg()),w="affine"===s.type?w.mixedAdd(s):w.add(s))}}for(o=0;o=Math.ceil((t.bitLength()+1)/e.step)},gs.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i=0&&(o=e,a=n),r.negative&&(r=r.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:i},{a:o,b:a}]},bs.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),u=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(s),k2:u.add(c).neg()}},bs.prototype.pointFromX=function(t,e){(t=new Lt(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var i=r.fromRed().isOdd();return(e&&!i||!e&&i)&&(r=r.redNeg()),this.point(t,r)},bs.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},bs.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},Ms.prototype.isInfinity=function(){return this.inf},Ms.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},Ms.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},Ms.prototype.getX=function(){return this.x.fromRed()},Ms.prototype.getY=function(){return this.y.fromRed()},Ms.prototype.mul=function(t){return t=new Lt(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},Ms.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},Ms.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},Ms.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},Ms.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},Ms.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},ys(ks,ms.BasePoint),bs.prototype.jpoint=function(t,e,n){return new ks(this,t,e,n)},ks.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},ks.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},ks.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),s=r.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),h=r.redMul(c),d=u.redSqr().redIAdd(l).redISub(h).redISub(h),f=u.redMul(h.redISub(d)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(d,f,p)},ks.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),l=n.redMul(u),h=s.redSqr().redIAdd(c).redISub(l).redISub(l),d=s.redMul(l.redISub(h)).redISub(i.redMul(c)),f=this.z.redMul(a);return this.curve.jpoint(h,d,f)},ks.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},ks.prototype.inspect=function(){return this.isInfinity()?"":""},ks.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var Ls=as((function(t,e){var n=e;n.base=ms,n.short=ws,n.mont=null,n.edwards=null})),As=as((function(t,e){var n,r=e,i=ls.assert;function o(t){"short"===t.type?this.curve=new Ls.short(t):"edwards"===t.type?this.curve=new Ls.edwards(t):this.curve=new Ls.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(t,e){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var n=new o(e);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=o,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:os.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:os.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:os.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:os.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:os.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:os.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:os.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch(t){n=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:os.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}));function xs(t){if(!(this instanceof xs))return new xs(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=cs.toArray(t.entropy,t.entropyEnc||"hex"),n=cs.toArray(t.nonce,t.nonceEnc||"hex"),r=cs.toArray(t.pers,t.persEnc||"hex");ss(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}var Es=xs;xs.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},xs.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(r=n,n=e,e=null),n&&(n=cs.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length"};var Ts=ls.assert;function js(t,e){if(t instanceof js)return t;this._importDER(t,e)||(Ts(t.r&&t.s,"Signature without r or s"),this.r=new Lt(t.r,16),this.s=new Lt(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var Cs=js;function Ds(){this.place=0}function Os(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o>>=0;return!(i<=127)&&(e.place=a,i)}function _s(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}js.prototype._importDER=function(t,e){t=ls.toArray(t,e);var n=new Ds;if(48!==t[n.place++])return!1;var r=Os(t,n);if(!1===r)return!1;if(r+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var i=Os(t,n);if(!1===i)return!1;var o=t.slice(n.place,i+n.place);if(n.place+=i,2!==t[n.place++])return!1;var a=Os(t,n);if(!1===a)return!1;if(t.length!==a+n.place)return!1;var s=t.slice(n.place,a+n.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new Lt(o),this.s=new Lt(s),this.recoveryParam=null,!0},js.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=_s(e),n=_s(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];zs(r,e.length),(r=r.concat(e)).push(2),zs(r,n.length);var i=r.concat(n),o=[48];return zs(o,i.length),o=o.concat(i),ls.encode(o,t)};var Ps=function(){throw new Error("unsupported")},Bs=ls.assert;function Rs(t){if(!(this instanceof Rs))return new Rs(t);"string"==typeof t&&(Bs(Object.prototype.hasOwnProperty.call(As,t),"Unknown curve "+t),t=As[t]),t instanceof As.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var Us=Rs;Rs.prototype.keyPair=function(t){return new Is(this,t)},Rs.prototype.keyFromPrivate=function(t,e){return Is.fromPrivate(this,t,e)},Rs.prototype.keyFromPublic=function(t,e){return Is.fromPublic(this,t,e)},Rs.prototype.genKeyPair=function(t){t||(t={});for(var e=new Es({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||Ps(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new Lt(2));;){var i=new Lt(e.generate(n));if(!(i.cmp(r)>0))return i.iaddn(1),this.keyFromPrivate(i)}},Rs.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},Rs.prototype.sign=function(t,e,n,r){"object"==typeof n&&(r=n,n=null),r||(r={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new Lt(t,16));for(var i=this.n.byteLength(),o=e.getPrivate().toArray("be",i),a=t.toArray("be",i),s=new Es({hash:this.hash,entropy:o,nonce:a,pers:r.pers,persEnc:r.persEnc||"utf8"}),u=this.n.sub(new Lt(1)),c=0;;c++){var l=r.k?r.k(c):new Lt(s.generate(this.n.byteLength()));if(!((l=this._truncateToN(l,!0)).cmpn(1)<=0||l.cmp(u)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var d=h.getX(),f=d.umod(this.n);if(0!==f.cmpn(0)){var p=l.invm(this.n).mul(f.mul(e.getPrivate()).iadd(t));if(0!==(p=p.umod(this.n)).cmpn(0)){var m=(h.getY().isOdd()?1:0)|(0!==d.cmp(f)?2:0);return r.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),m^=1),new Cs({r:f,s:p,recoveryParam:m})}}}}}},Rs.prototype.verify=function(t,e,n,r){t=this._truncateToN(new Lt(t,16)),n=this.keyFromPublic(n,r);var i=(e=new Cs(e,"hex")).r,o=e.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),u=s.mul(t).umod(this.n),c=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,n.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,n.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},Rs.prototype.recoverPubKey=function(t,e,n,r){Bs((3&n)===n,"The recovery param is more than two bits"),e=new Cs(e,r);var i=this.n,o=new Lt(t),a=e.r,s=e.s,u=1&n,c=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),u):this.curve.pointFromX(a,u);var l=e.r.invm(i),h=i.sub(o).mul(l).umod(i),d=s.mul(l).umod(i);return this.g.mulAdd(h,a,d)},Rs.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new Cs(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")};var Qs=as((function(t,e){var n=e;n.version="6.5.4",n.utils=ls,n.rand=function(){throw new Error("unsupported")},n.curve=Ls,n.curves=As,n.ec=Us,n.eddsa=null})).ec;const Ws=new Dt("signing-key/5.7.0");let Ys=null;function Fs(){return Ys||(Ys=new Qs("secp256k1")),Ys}class Hs{constructor(t){Me(this,"curve","secp256k1"),Me(this,"privateKey",Ft(t)),32!==Ht(this.privateKey)&&Ws.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const e=Fs().keyFromPrivate(Ut(this.privateKey));Me(this,"publicKey","0x"+e.getPublic(!1,"hex")),Me(this,"compressedPublicKey","0x"+e.getPublic(!0,"hex")),Me(this,"_isSigningKey",!0)}_addPoint(t){const e=Fs().keyFromPublic(Ut(this.publicKey)),n=Fs().keyFromPublic(Ut(t));return"0x"+e.pub.add(n.pub).encodeCompressed("hex")}signDigest(t){const e=Fs().keyFromPrivate(Ut(this.privateKey)),n=Ut(t);32!==n.length&&Ws.throwArgumentError("bad digest length","digest",t);const r=e.sign(n,{canonical:!0});return qt({recoveryParam:r.recoveryParam,r:Jt("0x"+r.r.toString(16),32),s:Jt("0x"+r.s.toString(16),32)})}computeSharedSecret(t){const e=Fs().keyFromPrivate(Ut(this.privateKey)),n=Fs().keyFromPublic(Ut(Gs(t)));return Jt("0x"+e.derive(n.getPublic()).toString(16),32)}static isSigningKey(t){return!(!t||!t._isSigningKey)}}function Gs(t,e){const n=Ut(t);if(32===n.length){const t=new Hs(n);return e?"0x"+Fs().keyFromPrivate(n).getPublic(!0,"hex"):t.publicKey}return 33===n.length?e?Ft(n):"0x"+Fs().keyFromPublic(n).getPublic(!1,"hex"):65===n.length?e?"0x"+Fs().keyFromPublic(n).getPublic(!0,"hex"):Ft(n):Ws.throwArgumentError("invalid public or private key","key","[REDACTED]")}const Zs=new Dt("transactions/5.7.0");var Vs;function Js(t){return"0x"===t?null:Yn(t)}function qs(t){return"0x"===t?rr:ee.from(t)}function Xs(t,e){return function(t){return Yn(Gt(Tn(Gt(Gs(t),1)),12))}(function(t,e){const n=qt(e),r={r:Ut(n.r),s:Ut(n.s)};return"0x"+Fs().recoverPubKey(Ut(t),r,n.recoveryParam).encode("hex",!1)}(Ut(t),e))}function Ks(t,e){const n=Wt(ee.from(t).toHexString());return n.length>32&&Zs.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function $s(t,e){return{address:Yn(t),storageKeys:(e||[]).map(((e,n)=>(32!==Ht(e)&&Zs.throwArgumentError("invalid access list storageKey",`accessList[${t}:${n}]`,e),e.toLowerCase())))}}function tu(t){if(Array.isArray(t))return t.map(((t,e)=>Array.isArray(t)?(t.length>2&&Zs.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${e}]`,t),$s(t[0],t[1])):$s(t.address,t.storageKeys)));const e=Object.keys(t).map((e=>{const n=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return $s(e,Object.keys(n).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function eu(t){return tu(t).map((t=>[t.address,t.storageKeys]))}function nu(t,e){if(null!=t.gasPrice){const e=ee.from(t.gasPrice),n=ee.from(t.maxFeePerGas||0);e.eq(n)||Zs.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:e,maxFeePerGas:n})}const n=[Ks(t.chainId||0,"chainId"),Ks(t.nonce||0,"nonce"),Ks(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Ks(t.maxFeePerGas||0,"maxFeePerGas"),Ks(t.gasLimit||0,"gasLimit"),null!=t.to?Yn(t.to):"0x",Ks(t.value||0,"value"),t.data||"0x",eu(t.accessList||[])];if(e){const t=qt(e);n.push(Ks(t.recoveryParam,"recoveryParam")),n.push(Wt(t.r)),n.push(Wt(t.s))}return Zt(["0x02",_n(n)])}function ru(t,e){const n=[Ks(t.chainId||0,"chainId"),Ks(t.nonce||0,"nonce"),Ks(t.gasPrice||0,"gasPrice"),Ks(t.gasLimit||0,"gasLimit"),null!=t.to?Yn(t.to):"0x",Ks(t.value||0,"value"),t.data||"0x",eu(t.accessList||[])];if(e){const t=qt(e);n.push(Ks(t.recoveryParam,"recoveryParam")),n.push(Wt(t.r)),n.push(Wt(t.s))}return Zt(["0x01",_n(n)])}function iu(t,e,n){try{const n=qs(e[0]).toNumber();if(0!==n&&1!==n)throw new Error("bad recid");t.v=n}catch(t){Zs.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=Jt(e[1],32),t.s=Jt(e[2],32);try{const e=Tn(n(t));t.from=Xs(e,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}function ou(t){const e=Ut(t);if(e[0]>127)return function(t){const e=Bn(t);9!==e.length&&6!==e.length&&Zs.throwArgumentError("invalid raw transaction","rawTransaction",t);const n={nonce:qs(e[0]).toNumber(),gasPrice:qs(e[1]),gasLimit:qs(e[2]),to:Js(e[3]),value:qs(e[4]),data:e[5],chainId:0};if(6===e.length)return n;try{n.v=ee.from(e[6]).toNumber()}catch(t){return n}if(n.r=Jt(e[7],32),n.s=Jt(e[8],32),ee.from(n.r).isZero()&&ee.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);let r=n.v-27;const i=e.slice(0,6);0!==n.chainId&&(i.push(Ft(n.chainId)),i.push("0x"),i.push("0x"),r-=2*n.chainId+8);const o=Tn(_n(i));try{n.from=Xs(o,{r:Ft(n.r),s:Ft(n.s),recoveryParam:r})}catch(t){}n.hash=Tn(t)}return n.type=null,n}(e);switch(e[0]){case 1:return function(t){const e=Bn(t.slice(1));8!==e.length&&11!==e.length&&Zs.throwArgumentError("invalid component count for transaction type: 1","payload",Ft(t));const n={type:1,chainId:qs(e[0]).toNumber(),nonce:qs(e[1]).toNumber(),gasPrice:qs(e[2]),gasLimit:qs(e[3]),to:Js(e[4]),value:qs(e[5]),data:e[6],accessList:tu(e[7])};return 8===e.length||(n.hash=Tn(t),iu(n,e.slice(8),ru)),n}(e);case 2:return function(t){const e=Bn(t.slice(1));9!==e.length&&12!==e.length&&Zs.throwArgumentError("invalid component count for transaction type: 2","payload",Ft(t));const n=qs(e[2]),r=qs(e[3]),i={type:2,chainId:qs(e[0]).toNumber(),nonce:qs(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:r,gasPrice:null,gasLimit:qs(e[4]),to:Js(e[5]),value:qs(e[6]),data:e[7],accessList:tu(e[8])};return 9===e.length||(i.hash=Tn(t),iu(i,e.slice(9),nu)),i}(e)}return Zs.throwError(`unsupported transaction type: ${e[0]}`,Dt.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}!function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(Vs||(Vs={}));var au=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const su=new Dt("contracts/5.7.0");function uu(t,e){return au(this,void 0,void 0,(function*(){const n=yield e;"string"!=typeof n&&su.throwArgumentError("invalid address or ENS name","name",n);try{return Yn(n)}catch(t){}t||su.throwError("a provider or signer is needed to resolve ENS names",Dt.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const r=yield t.resolveName(n);return null==r&&su.throwArgumentError("resolver or addr is not configured for ENS name","name",n),r}))}function cu(t,e,n){return au(this,void 0,void 0,(function*(){return Array.isArray(n)?yield Promise.all(n.map(((n,r)=>cu(t,Array.isArray(e)?e[r]:e[n.name],n)))):"address"===n.type?yield uu(t,e):"tuple"===n.type?yield cu(t,e,n.components):"array"===n.baseType?Array.isArray(e)?yield Promise.all(e.map((e=>cu(t,e,n.arrayChildren)))):Promise.reject(su.makeError("invalid value for array",Dt.errors.INVALID_ARGUMENT,{argument:"value",value:e})):e}))}function lu(t,e,n){return au(this,void 0,void 0,(function*(){let r={};n.length===e.inputs.length+1&&"object"==typeof n[n.length-1]&&(r=Ae(n.pop())),su.checkArgumentCount(n.length,e.inputs.length,"passed to contract"),t.signer?r.from?r.from=Le({override:uu(t.signer,r.from),signer:t.signer.getAddress()}).then((t=>au(this,void 0,void 0,(function*(){return Yn(t.signer)!==t.override&&su.throwError("Contract with a Signer cannot override from",Dt.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),t.override})))):r.from=t.signer.getAddress():r.from&&(r.from=uu(t.provider,r.from));const i=yield Le({args:cu(t.signer||t.provider,n,e.inputs),address:t.resolvedAddress,overrides:Le(r)||{}}),o=t.interface.encodeFunctionData(e,i.args),a={data:o,to:i.address},s=i.overrides;if(null!=s.nonce&&(a.nonce=ee.from(s.nonce).toNumber()),null!=s.gasLimit&&(a.gasLimit=ee.from(s.gasLimit)),null!=s.gasPrice&&(a.gasPrice=ee.from(s.gasPrice)),null!=s.maxFeePerGas&&(a.maxFeePerGas=ee.from(s.maxFeePerGas)),null!=s.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=ee.from(s.maxPriorityFeePerGas)),null!=s.from&&(a.from=s.from),null!=s.type&&(a.type=s.type),null!=s.accessList&&(a.accessList=tu(s.accessList)),null==a.gasLimit&&null!=e.gas){let t=21e3;const n=Ut(o);for(let e=0;enull!=r[t]));return u.length&&su.throwError(`cannot override ${u.map((t=>JSON.stringify(t))).join(",")}`,Dt.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:u}),a}))}function hu(t,e,n){const r=t.signer||t.provider;return function(...i){return au(this,void 0,void 0,(function*(){let o;if(i.length===e.inputs.length+1&&"object"==typeof i[i.length-1]){const t=Ae(i.pop());null!=t.blockTag&&(o=yield t.blockTag),delete t.blockTag,i.push(t)}null!=t.deployTransaction&&(yield t._deployed(o));const a=yield lu(t,e,i),s=yield r.call(a,o);try{let r=t.interface.decodeFunctionResult(e,s);return n&&1===e.outputs.length&&(r=r[0]),r}catch(e){throw e.code===Dt.errors.CALL_EXCEPTION&&(e.address=t.address,e.args=i,e.transaction=a),e}}))}}function du(t,e){return function(...n){return au(this,void 0,void 0,(function*(){t.signer||su.throwError("sending a transaction requires a signer",Dt.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=t.deployTransaction&&(yield t._deployed());const r=yield lu(t,e,n),i=yield t.signer.sendTransaction(r);return function(t,e){const n=e.wait.bind(e);e.wait=e=>n(e).then((e=>(e.events=e.logs.map((n=>{let r=Se(n),i=null;try{i=t.interface.parseLog(n)}catch(t){}return i&&(r.args=i.args,r.decode=(e,n)=>t.interface.decodeEventLog(i.eventFragment,e,n),r.event=i.name,r.eventSignature=i.signature),r.removeListener=()=>t.provider,r.getBlock=()=>t.provider.getBlock(e.blockHash),r.getTransaction=()=>t.provider.getTransaction(e.transactionHash),r.getTransactionReceipt=()=>Promise.resolve(e),r})),e)))}(t,i),i}))}}function fu(t,e,n){return e.constant?hu(t,e,n):du(t,e)}function pu(t){return!t.address||null!=t.topics&&0!==t.topics.length?(t.address||"*")+"@"+(t.topics?t.topics.map((t=>Array.isArray(t)?t.join("|"):t)).join(":"):""):"*"}class mu{constructor(t,e){Me(this,"tag",t),Me(this,"filter",e),this._listeners=[]}addListener(t,e){this._listeners.push({listener:t,once:e})}removeListener(t){let e=!1;this._listeners=this._listeners.filter((n=>!(!e&&n.listener===t)||(e=!0,!1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map((t=>t.listener))}listenerCount(){return this._listeners.length}run(t){const e=this.listenerCount();return this._listeners=this._listeners.filter((e=>{const n=t.slice();return setTimeout((()=>{e.listener.apply(this,n)}),0),!e.once})),e}prepareEvent(t){}getEmit(t){return[t]}}class gu extends mu{constructor(){super("error",null)}}class yu extends mu{constructor(t,e,n,r){const i={address:t};let o=e.getEventTopic(n);r?(o!==r[0]&&su.throwArgumentError("topic mismatch","topics",r),i.topics=r.slice()):i.topics=[o],super(pu(i),i),Me(this,"address",t),Me(this,"interface",e),Me(this,"fragment",n)}prepareEvent(t){super.prepareEvent(t),t.event=this.fragment.name,t.eventSignature=this.fragment.format(),t.decode=(t,e)=>this.interface.decodeEventLog(this.fragment,t,e);try{t.args=this.interface.decodeEventLog(this.fragment,t.data,t.topics)}catch(e){t.args=null,t.decodeError=e}}getEmit(t){const e=function(t){const e=[],n=function(t,r){if(Array.isArray(r))for(let i in r){const o=t.slice();o.push(i);try{n(o,r[i])}catch(t){e.push({path:o,error:t})}}};return n([],t),e}(t.args);if(e.length)throw e[0].error;const n=(t.args||[]).slice();return n.push(t),n}}class vu extends mu{constructor(t,e){super("*",{address:t}),Me(this,"address",t),Me(this,"interface",e)}prepareEvent(t){super.prepareEvent(t);try{const e=this.interface.parseLog(t);t.event=e.name,t.eventSignature=e.signature,t.decode=(t,n)=>this.interface.decodeEventLog(e.eventFragment,t,n),t.args=e.args}catch(t){}}}class bu extends class{constructor(t,e,n){Me(this,"interface",ke(new.target,"getInterface")(e)),null==n?(Me(this,"provider",null),Me(this,"signer",null)):Ei.isSigner(n)?(Me(this,"provider",n.provider||null),Me(this,"signer",n)):Mi.isProvider(n)?(Me(this,"provider",n),Me(this,"signer",null)):su.throwArgumentError("invalid signer or provider","signerOrProvider",n),Me(this,"callStatic",{}),Me(this,"estimateGas",{}),Me(this,"functions",{}),Me(this,"populateTransaction",{}),Me(this,"filters",{});{const t={};Object.keys(this.interface.events).forEach((e=>{const n=this.interface.events[e];Me(this.filters,e,((...t)=>({address:this.address,topics:this.interface.encodeFilterTopics(n,t)}))),t[n.name]||(t[n.name]=[]),t[n.name].push(e)})),Object.keys(t).forEach((e=>{const n=t[e];1===n.length?Me(this.filters,e,this.filters[n[0]]):su.warn(`Duplicate definition of ${e} (${n.join(", ")})`)}))}if(Me(this,"_runningEvents",{}),Me(this,"_wrappedEmits",{}),null==t&&su.throwArgumentError("invalid contract address or ENS name","addressOrName",t),Me(this,"address",t),this.provider)Me(this,"resolvedAddress",uu(this.provider,t));else try{Me(this,"resolvedAddress",Promise.resolve(Yn(t)))}catch(t){su.throwError("provider is required to use ENS name as contract address",Dt.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((t=>{}));const r={},i={};Object.keys(this.interface.functions).forEach((t=>{const e=this.interface.functions[t];if(i[t])su.warn(`Duplicate ABI entry for ${JSON.stringify(t)}`);else{i[t]=!0;{const n=e.name;r[`%${n}`]||(r[`%${n}`]=[]),r[`%${n}`].push(t)}null==this[t]&&Me(this,t,fu(this,e,!0)),null==this.functions[t]&&Me(this.functions,t,fu(this,e,!1)),null==this.callStatic[t]&&Me(this.callStatic,t,hu(this,e,!0)),null==this.populateTransaction[t]&&Me(this.populateTransaction,t,function(t,e){return function(...n){return lu(t,e,n)}}(this,e)),null==this.estimateGas[t]&&Me(this.estimateGas,t,function(t,e){const n=t.signer||t.provider;return function(...r){return au(this,void 0,void 0,(function*(){n||su.throwError("estimate require a provider or signer",Dt.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const i=yield lu(t,e,r);return yield n.estimateGas(i)}))}}(this,e))}})),Object.keys(r).forEach((t=>{const e=r[t];if(e.length>1)return;t=t.substring(1);const n=e[0];try{null==this[t]&&Me(this,t,this[n])}catch(t){}null==this.functions[t]&&Me(this.functions,t,this.functions[n]),null==this.callStatic[t]&&Me(this.callStatic,t,this.callStatic[n]),null==this.populateTransaction[t]&&Me(this.populateTransaction,t,this.populateTransaction[n]),null==this.estimateGas[t]&&Me(this.estimateGas,t,this.estimateGas[n])}))}static getContractAddress(t){return Fn(t)}static getInterface(t){return yi.isInterface(t)?t:new yi(t)}deployed(){return this._deployed()}_deployed(t){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((()=>this)):this._deployedPromise=this.provider.getCode(this.address,t).then((t=>("0x"===t&&su.throwError("contract not deployed",Dt.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this)))),this._deployedPromise}fallback(t){this.signer||su.throwError("sending a transactions require a signer",Dt.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const e=Ae(t||{});return["from","to"].forEach((function(t){null!=e[t]&&su.throwError("cannot override "+t,Dt.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.to=this.resolvedAddress,this.deployed().then((()=>this.signer.sendTransaction(e)))}connect(t){"string"==typeof t&&(t=new Ni(t,this.provider));const e=new this.constructor(this.address,this.interface,t);return this.deployTransaction&&Me(e,"deployTransaction",this.deployTransaction),e}attach(t){return new this.constructor(t,this.interface,this.signer||this.provider)}static isIndexed(t){return pi.isIndexed(t)}_normalizeRunningEvent(t){return this._runningEvents[t.tag]?this._runningEvents[t.tag]:t}_getRunningEvent(t){if("string"==typeof t){if("error"===t)return this._normalizeRunningEvent(new gu);if("event"===t)return this._normalizeRunningEvent(new mu("event",null));if("*"===t)return this._normalizeRunningEvent(new vu(this.address,this.interface));const e=this.interface.getEvent(t);return this._normalizeRunningEvent(new yu(this.address,this.interface,e))}if(t.topics&&t.topics.length>0){try{const e=t.topics[0];if("string"!=typeof e)throw new Error("invalid topic");const n=this.interface.getEvent(e);return this._normalizeRunningEvent(new yu(this.address,this.interface,n,t.topics))}catch(t){}const e={address:this.address,topics:t.topics};return this._normalizeRunningEvent(new mu(pu(e),e))}return this._normalizeRunningEvent(new vu(this.address,this.interface))}_checkRunningEvents(t){if(0===t.listenerCount()){delete this._runningEvents[t.tag];const e=this._wrappedEmits[t.tag];e&&t.filter&&(this.provider.off(t.filter,e),delete this._wrappedEmits[t.tag])}}_wrapEvent(t,e,n){const r=Se(e);return r.removeListener=()=>{n&&(t.removeListener(n),this._checkRunningEvents(t))},r.getBlock=()=>this.provider.getBlock(e.blockHash),r.getTransaction=()=>this.provider.getTransaction(e.transactionHash),r.getTransactionReceipt=()=>this.provider.getTransactionReceipt(e.transactionHash),t.prepareEvent(r),r}_addEventListener(t,e,n){if(this.provider||su.throwError("events require a provider or a signer with a provider",Dt.errors.UNSUPPORTED_OPERATION,{operation:"once"}),t.addListener(e,n),this._runningEvents[t.tag]=t,!this._wrappedEmits[t.tag]){const n=n=>{let r=this._wrapEvent(t,n,e);if(null==r.decodeError)try{const e=t.getEmit(r);this.emit(t.filter,...e)}catch(t){r.decodeError=t.error}null!=t.filter&&this.emit("event",r),null!=r.decodeError&&this.emit("error",r.decodeError,r)};this._wrappedEmits[t.tag]=n,null!=t.filter&&this.provider.on(t.filter,n)}}queryFilter(t,e,n){const r=this._getRunningEvent(t),i=Ae(r.filter);return"string"==typeof e&&Yt(e,32)?(null!=n&&su.throwArgumentError("cannot specify toBlock with blockhash","toBlock",n),i.blockHash=e):(i.fromBlock=null!=e?e:0,i.toBlock=null!=n?n:"latest"),this.provider.getLogs(i).then((t=>t.map((t=>this._wrapEvent(r,t,null)))))}on(t,e){return this._addEventListener(this._getRunningEvent(t),e,!1),this}once(t,e){return this._addEventListener(this._getRunningEvent(t),e,!0),this}emit(t,...e){if(!this.provider)return!1;const n=this._getRunningEvent(t),r=n.run(e)>0;return this._checkRunningEvents(n),r}listenerCount(t){return this.provider?null==t?Object.keys(this._runningEvents).reduce(((t,e)=>t+this._runningEvents[e].listenerCount()),0):this._getRunningEvent(t).listenerCount():0}listeners(t){if(!this.provider)return[];if(null==t){const t=[];for(let e in this._runningEvents)this._runningEvents[e].listeners().forEach((e=>{t.push(e)}));return t}return this._getRunningEvent(t).listeners()}removeAllListeners(t){if(!this.provider)return this;if(null==t){for(const t in this._runningEvents){const e=this._runningEvents[t];e.removeAllListeners(),this._checkRunningEvents(e)}return this}const e=this._getRunningEvent(t);return e.removeAllListeners(),this._checkRunningEvents(e),this}off(t,e){if(!this.provider)return this;const n=this._getRunningEvent(t);return n.removeListener(e),this._checkRunningEvents(n),this}removeListener(t,e){return this.off(t,e)}}{}class wu{constructor(t){Me(this,"alphabet",t),Me(this,"base",t.length),Me(this,"_alphabetMap",{}),Me(this,"_leader",t.charAt(0));for(let e=0;e0;)n.push(r%this.base),r=r/this.base|0}let r="";for(let t=0;0===e[t]&&t=0;--t)r+=this.alphabet[n[t]];return r}decode(t){if("string"!=typeof t)throw new TypeError("Expected String");let e=[];if(0===t.length)return new Uint8Array(e);e.push(0);for(let n=0;n>=8;for(;i>0;)e.push(255&i),i>>=8}for(let n=0;t[n]===this._leader&&n{o[e.toLowerCase()]=t})):r.headers.keys().forEach((t=>{o[t.toLowerCase()]=r.headers.get(t)})),{headers:o,statusCode:r.status,statusMessage:r.statusText,body:Ut(new Uint8Array(i))}}))}var Cu=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Du=new Dt("web/5.7.1");function Ou(t){return new Promise((e=>{setTimeout(e,t)}))}function _u(t,e){if(null==t)return null;if("string"==typeof t)return t;if(Pt(t)){if(e&&("text"===e.split("/")[0]||"application/json"===e.split(";")[0].trim()))try{return pr(t)}catch(t){}return Ft(t)}return t}function zu(t,e,n){let r=null;if(null!=e){r=fr(e);const n="string"==typeof t?{url:t}:Ae(t);if(n.headers){0!==Object.keys(n.headers).filter((t=>"content-type"===t.toLowerCase())).length||(n.headers=Ae(n.headers),n.headers["content-type"]="application/json")}else n.headers={"content-type":"application/json"};t=n}return function(t,e,n){const r="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;Du.assertArgument(r>0&&r%1==0,"invalid connection throttle limit","connection.throttleLimit",r);const i="object"==typeof t?t.throttleCallback:null,o="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;Du.assertArgument(o>0&&o%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",o);const a="object"==typeof t&&!!t.errorPassThrough,s={};let u=null;const c={method:"GET"};let l=!1,h=12e4;if("string"==typeof t)u=t;else if("object"==typeof t){if(null!=t&&null!=t.url||Du.throwArgumentError("missing URL","connection.url",t),u=t.url,"number"==typeof t.timeout&&t.timeout>0&&(h=t.timeout),t.headers)for(const e in t.headers)s[e.toLowerCase()]={key:e,value:String(t.headers[e])},["if-none-match","if-modified-since"].indexOf(e.toLowerCase())>=0&&(l=!0);if(c.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==u.substring(0,6)&&!0!==t.allowInsecureAuthentication&&Du.throwError("basic authentication requires a secure https url",Dt.errors.INVALID_ARGUMENT,{argument:"url",url:u,user:t.user,password:"[REDACTED]"});const e=t.user+":"+t.password;s.authorization={key:"Authorization",value:"Basic "+Lr(fr(e))}}null!=t.skipFetchSetup&&(c.skipFetchSetup=!!t.skipFetchSetup),null!=t.fetchOptions&&(c.fetchOptions=Ae(t.fetchOptions))}const d=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),f=u?u.match(d):null;if(f)try{const t={statusCode:200,statusMessage:"OK",headers:{"content-type":f[1]||"text/plain"},body:f[2]?kr(f[3]):(p=f[3],fr(p.replace(/%([0-9a-f][0-9a-f])/gi,((t,e)=>String.fromCharCode(parseInt(e,16))))))};let e=t.body;return n&&(e=n(t.body,t)),Promise.resolve(e)}catch(t){Du.throwError("processing response error",Dt.errors.SERVER_ERROR,{body:_u(f[1],f[2]),error:t,requestBody:null,requestMethod:"GET",url:u})}var p;e&&(c.method="POST",c.body=e,null==s["content-type"]&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==s["content-length"]&&(s["content-length"]={key:"Content-Length",value:String(e.length)}));const m={};Object.keys(s).forEach((t=>{const e=s[t];m[e.key]=e.value})),c.headers=m;const g=function(){let t=null;return{promise:new Promise((function(e,n){h&&(t=setTimeout((()=>{null!=t&&(t=null,n(Du.makeError("timeout",Dt.errors.TIMEOUT,{requestBody:_u(c.body,m["content-type"]),requestMethod:c.method,timeout:h,url:u})))}),h))})),cancel:function(){null!=t&&(clearTimeout(t),t=null)}}}(),y=function(){return Cu(this,void 0,void 0,(function*(){for(let t=0;t=300)&&(g.cancel(),Du.throwError("bad response",Dt.errors.SERVER_ERROR,{status:e.statusCode,headers:e.headers,body:_u(s,e.headers?e.headers["content-type"]:null),requestBody:_u(c.body,m["content-type"]),requestMethod:c.method,url:u})),n)try{const t=yield n(s,e);return g.cancel(),t}catch(n){if(n.throttleRetry&&t{let r=null;if(null!=t)try{r=JSON.parse(pr(t))}catch(e){Du.throwError("invalid JSON",Dt.errors.SERVER_ERROR,{body:t,error:e})}return n&&(r=n(r,e)),r}))}function Pu(t,e){return e||(e={}),null==(e=Ae(e)).floor&&(e.floor=0),null==e.ceiling&&(e.ceiling=1e4),null==e.interval&&(e.interval=250),new Promise((function(n,r){let i=null,o=!1;const a=()=>!o&&(o=!0,i&&clearTimeout(i),!0);e.timeout&&(i=setTimeout((()=>{a()&&r(new Error("timeout"))}),e.timeout));const s=e.retryLimit;let u=0;!function i(){return t().then((function(t){if(void 0!==t)a()&&n(t);else if(e.oncePoll)e.oncePoll.once("poll",i);else if(e.onceBlock)e.onceBlock.once("block",i);else if(!o){if(u++,u>s)return void(a()&&r(new Error("retry limit reached")));let t=e.interval*parseInt(String(Math.random()*Math.pow(2,u)));te.ceiling&&(t=e.ceiling),setTimeout(i,t)}return null}),(function(t){a()&&r(t)}))}()}))}for(var Bu="qpzry9x8gf2tvdw0s3jn54khce6mua7l",Ru={},Uu=0;Uu>25;return(33554431&t)<<5^996825010&-(e>>0&1)^642813549&-(e>>1&1)^513874426&-(e>>2&1)^1027748829&-(e>>3&1)^705979059&-(e>>4&1)}function Yu(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=Wu(e)^r>>5}for(e=Wu(e),n=0;ne)return"Exceeds length limit";var n=t.toLowerCase(),r=t.toUpperCase();if(t!==n&&t!==r)return"Mixed-case string "+t;var i=(t=n).lastIndexOf("1");if(-1===i)return"No separator character for "+t;if(0===i)return"Missing prefix for "+t;var o=t.slice(0,i),a=t.slice(i+1);if(a.length<6)return"Data too short";var s=Yu(o);if("string"==typeof s)return s;for(var u=[],c=0;c=a.length||u.push(h)}return 1!==s?"Invalid checksum for "+t:{prefix:o,words:u}}function Hu(t,e,n,r){for(var i=0,o=0,a=(1<=n;)o-=n,s.push(i>>o&a);if(r)o>0&&s.push(i<=e)return"Excess padding";if(i<n)throw new TypeError("Exceeds length limit");var r=Yu(t=t.toLowerCase());if("string"==typeof r)throw new Error(r);for(var i=t+"1",o=0;o>5!=0)throw new Error("Non 5-bit word");r=Wu(r)^a,i+=Bu.charAt(a)}for(o=0;o<6;++o)r=Wu(r);for(r^=1,o=0;o<6;++o){i+=Bu.charAt(r>>5*(5-o)&31)}return i},toWordsUnsafe:function(t){var e=Hu(t,8,5,!0);if(Array.isArray(e))return e},toWords:function(t){var e=Hu(t,8,5,!0);if(Array.isArray(e))return e;throw new Error(e)},fromWordsUnsafe:function(t){var e=Hu(t,5,8,!1);if(Array.isArray(e))return e},fromWords:function(t){var e=Hu(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}};const Zu="providers/5.7.2",Vu=new Dt(Zu);class Ju{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const t={},e=this.address.bind(this),n=this.bigNumber.bind(this),r=this.blockTag.bind(this),i=this.data.bind(this),o=this.hash.bind(this),a=this.hex.bind(this),s=this.number.bind(this),u=this.type.bind(this);return t.transaction={hash:o,type:u,accessList:Ju.allowNull(this.accessList.bind(this),null),blockHash:Ju.allowNull(o,null),blockNumber:Ju.allowNull(s,null),transactionIndex:Ju.allowNull(s,null),confirmations:Ju.allowNull(s,null),from:e,gasPrice:Ju.allowNull(n),maxPriorityFeePerGas:Ju.allowNull(n),maxFeePerGas:Ju.allowNull(n),gasLimit:n,to:Ju.allowNull(e,null),value:n,nonce:s,data:i,r:Ju.allowNull(this.uint256),s:Ju.allowNull(this.uint256),v:Ju.allowNull(s),creates:Ju.allowNull(e,null),raw:Ju.allowNull(i)},t.transactionRequest={from:Ju.allowNull(e),nonce:Ju.allowNull(s),gasLimit:Ju.allowNull(n),gasPrice:Ju.allowNull(n),maxPriorityFeePerGas:Ju.allowNull(n),maxFeePerGas:Ju.allowNull(n),to:Ju.allowNull(e),value:Ju.allowNull(n),data:Ju.allowNull((t=>this.data(t,!0))),type:Ju.allowNull(s),accessList:Ju.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:s,blockNumber:s,transactionHash:o,address:e,topics:Ju.arrayOf(o),data:i,logIndex:s,blockHash:o},t.receipt={to:Ju.allowNull(this.address,null),from:Ju.allowNull(this.address,null),contractAddress:Ju.allowNull(e,null),transactionIndex:s,root:Ju.allowNull(a),gasUsed:n,logsBloom:Ju.allowNull(i),blockHash:o,transactionHash:o,logs:Ju.arrayOf(this.receiptLog.bind(this)),blockNumber:s,confirmations:Ju.allowNull(s,null),cumulativeGasUsed:n,effectiveGasPrice:Ju.allowNull(n),status:Ju.allowNull(s),type:u},t.block={hash:Ju.allowNull(o),parentHash:o,number:s,timestamp:s,nonce:Ju.allowNull(a),difficulty:this.difficulty.bind(this),gasLimit:n,gasUsed:n,miner:Ju.allowNull(e),extraData:i,transactions:Ju.allowNull(Ju.arrayOf(o)),baseFeePerGas:Ju.allowNull(n)},t.blockWithTransactions=Ae(t.block),t.blockWithTransactions.transactions=Ju.allowNull(Ju.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:Ju.allowNull(r,void 0),toBlock:Ju.allowNull(r,void 0),blockHash:Ju.allowNull(o,void 0),address:Ju.allowNull(e,void 0),topics:Ju.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:Ju.allowNull(s),blockHash:Ju.allowNull(o),transactionIndex:s,removed:Ju.allowNull(this.boolean.bind(this)),address:e,data:Ju.allowFalsish(i,"0x"),topics:Ju.arrayOf(o),transactionHash:o,logIndex:s},t}accessList(t){return tu(t||[])}number(t){return"0x"===t?0:ee.from(t).toNumber()}type(t){return"0x"===t||null==t?0:ee.from(t).toNumber()}bigNumber(t){return ee.from(t)}boolean(t){if("boolean"==typeof t)return t;if("string"==typeof t){if("true"===(t=t.toLowerCase()))return!0;if("false"===t)return!1}throw new Error("invalid boolean - "+t)}hex(t,e){return"string"==typeof t&&(e||"0x"===t.substring(0,2)||(t="0x"+t),Yt(t))?t.toLowerCase():Vu.throwArgumentError("invalid hash","value",t)}data(t,e){const n=this.hex(t,e);if(n.length%2!=0)throw new Error("invalid data; odd-length - "+t);return n}address(t){return Yn(t)}callAddress(t){if(!Yt(t,32))return null;const e=Yn(Gt(t,12));return"0x0000000000000000000000000000000000000000"===e?null:e}contractAddress(t){return Fn(t)}blockTag(t){if(null==t)return"latest";if("earliest"===t)return"0x0";switch(t){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return t}if("number"==typeof t||Yt(t))return Vt(t);throw new Error("invalid blockTag")}hash(t,e){const n=this.hex(t,e);return 32!==Ht(n)?Vu.throwArgumentError("invalid hash","value",t):n}difficulty(t){if(null==t)return null;const e=ee.from(t);try{return e.toNumber()}catch(t){}return null}uint256(t){if(!Yt(t))throw new Error("invalid uint256");return Jt(t,32)}_block(t,e){null!=t.author&&null==t.miner&&(t.miner=t.author);const n=null!=t._difficulty?t._difficulty:t.difficulty,r=Ju.check(e,t);return r._difficulty=null==n?null:ee.from(n),r}block(t){return this._block(t,this.formats.block)}blockWithTransactions(t){return this._block(t,this.formats.blockWithTransactions)}transactionRequest(t){return Ju.check(this.formats.transactionRequest,t)}transactionResponse(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&ee.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);const e=Ju.check(this.formats.transaction,t);if(null!=t.chainId){let n=t.chainId;Yt(n)&&(n=ee.from(n).toNumber()),e.chainId=n}else{let n=t.networkId;null==n&&null==e.v&&(n=t.chainId),Yt(n)&&(n=ee.from(n).toNumber()),"number"!=typeof n&&null!=e.v&&(n=(e.v-35)/2,n<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),e.chainId=n}return e.blockHash&&"x"===e.blockHash.replace(/0/g,"")&&(e.blockHash=null),e}transaction(t){return ou(t)}receiptLog(t){return Ju.check(this.formats.receiptLog,t)}receipt(t){const e=Ju.check(this.formats.receipt,t);if(null!=e.root)if(e.root.length<=4){const t=ee.from(e.root).toNumber();0===t||1===t?(null!=e.status&&e.status!==t&&Vu.throwArgumentError("alt-root-status/status mismatch","value",{root:e.root,status:e.status}),e.status=t,delete e.root):Vu.throwArgumentError("invalid alt-root-status","value.root",e.root)}else 66!==e.root.length&&Vu.throwArgumentError("invalid root hash","value.root",e.root);return null!=e.status&&(e.byzantium=!0),e}topics(t){return Array.isArray(t)?t.map((t=>this.topics(t))):null!=t?this.hash(t,!0):null}filter(t){return Ju.check(this.formats.filter,t)}filterLog(t){return Ju.check(this.formats.filterLog,t)}static check(t,e){const n={};for(const r in t)try{const i=t[r](e[r]);void 0!==i&&(n[r]=i)}catch(t){throw t.checkKey=r,t.checkValue=e[r],t}return n}static allowNull(t,e){return function(n){return null==n?e:t(n)}}static allowFalsish(t,e){return function(n){return n?t(n):e}}static arrayOf(t){return function(e){if(!Array.isArray(e))throw new Error("not an array");const n=[];return e.forEach((function(e){n.push(t(e))})),n}}}var qu=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Xu=new Dt(Zu);function Ku(t){return null==t?"null":(32!==Ht(t)&&Xu.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function $u(t){for(t=t.slice();t.length>0&&null==t[t.length-1];)t.pop();return t.map((t=>{if(Array.isArray(t)){const e={};t.forEach((t=>{e[Ku(t)]=!0}));const n=Object.keys(e);return n.sort(),n.join("|")}return Ku(t)})).join("&")}function tc(t){if("string"==typeof t){if(32===Ht(t=t.toLowerCase()))return"tx:"+t;if(-1===t.indexOf(":"))return t}else{if(Array.isArray(t))return"filter:*:"+$u(t);if(wi.isForkEvent(t))throw Xu.warn("not implemented"),new Error("not implemented");if(t&&"object"==typeof t)return"filter:"+(t.address||"*")+":"+$u(t.topics||[])}throw new Error("invalid event - "+t)}function ec(){return(new Date).getTime()}function nc(t){return new Promise((e=>{setTimeout(e,t)}))}const rc=["block","network","pending","poll"];class ic{constructor(t,e,n){Me(this,"tag",t),Me(this,"listener",e),Me(this,"once",n),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const t=this.tag.split(":");return"tx"!==t[0]?null:t[1]}get filter(){const t=this.tag.split(":");if("filter"!==t[0])return null;const e=t[1],n=""===(r=t[2])?[]:r.split(/&/g).map((t=>{if(""===t)return[];const e=t.split("|").map((t=>"null"===t?null:t));return 1===e.length?e[0]:e}));var r;const i={};return n.length>0&&(i.topics=n),e&&"*"!==e&&(i.address=e),i}pollable(){return this.tag.indexOf(":")>=0||rc.indexOf(this.tag)>=0}}const oc={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function ac(t){return Jt(ee.from(t).toHexString(),32)}function sc(t){return Mu.encode(Qt([t,Gt(ku(ku(t)),0,4)]))}const uc=new RegExp("^(ipfs)://(.*)$","i"),cc=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),uc,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function lc(t,e){try{return pr(hc(t,e))}catch(t){}return null}function hc(t,e){if("0x"===t)return null;const n=ee.from(Gt(t,e,e+32)).toNumber(),r=ee.from(Gt(t,n,n+32)).toNumber();return Gt(t,n+32,n+32+r)}function dc(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Xu.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function fc(t){const e=Ut(t);if(e.length>32)throw new Error("internal; should not happen");const n=new Uint8Array(32);return n.set(e,32-e.length),n}function pc(t){if(t.length%32==0)return t;const e=new Uint8Array(32*Math.ceil(t.length/32));return e.set(t),e}function mc(t){const e=[];let n=0;for(let r=0;ree.from(t).eq(1))).catch((t=>{if(t.code===Dt.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,t}))),this._supportsEip2544}_fetch(t,e){return qu(this,void 0,void 0,(function*(){const n={to:this.address,ccipReadEnabled:!0,data:Zt([t,Zr(this.name),e||"0x"])};let r=!1;var i;(yield this.supportsWildcard())&&(r=!0,n.data=Zt(["0x9061b923",mc([(i=this.name,Ft(Qt(Gr(i).map((t=>{if(t.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");const e=new Uint8Array(t.length+1);return e.set(t,1),e[0]=e.length-1,e}))))+"00"),n.data])]));try{let t=yield this.provider.call(n);return Ut(t).length%32==4&&Xu.throwError("resolver threw error",Dt.errors.CALL_EXCEPTION,{transaction:n,data:t}),r&&(t=hc(t,0)),t}catch(t){if(t.code===Dt.errors.CALL_EXCEPTION)return null;throw t}}))}_fetchBytes(t,e){return qu(this,void 0,void 0,(function*(){const n=yield this._fetch(t,e);return null!=n?hc(n,0):null}))}_getAddress(t,e){const n=oc[String(t)];if(null==n&&Xu.throwError(`unsupported coin type: ${t}`,Dt.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`}),"eth"===n.ilk)return this.provider.formatter.address(e);const r=Ut(e);if(null!=n.p2pkh){const t=e.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return sc(Qt([[n.p2pkh],"0x"+t[2]]))}}if(null!=n.p2sh){const t=e.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return sc(Qt([[n.p2sh],"0x"+t[2]]))}}if(null!=n.prefix){const t=r[1];let e=r[0];if(0===e?20!==t&&32!==t&&(e=-1):e=-1,e>=0&&r.length===2+t&&t>=1&&t<=75){const t=Gu.toWords(r.slice(2));return t.unshift(e),Gu.encode(n.prefix,t)}}return null}getAddress(t){return qu(this,void 0,void 0,(function*(){if(null==t&&(t=60),60===t)try{const t=yield this._fetch("0x3b3b57de");return"0x"===t||"0x0000000000000000000000000000000000000000000000000000000000000000"===t?null:this.provider.formatter.callAddress(t)}catch(t){if(t.code===Dt.errors.CALL_EXCEPTION)return null;throw t}const e=yield this._fetchBytes("0xf1cb7e06",ac(t));if(null==e||"0x"===e)return null;const n=this._getAddress(t,e);return null==n&&Xu.throwError("invalid or unsupported coin data",Dt.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`,coinType:t,data:e}),n}))}getAvatar(){return qu(this,void 0,void 0,(function*(){const t=[{type:"name",content:this.name}];try{const e=yield this.getText("avatar");if(null==e)return null;for(let n=0;nt[e]))}return Xu.throwError("invalid or unsupported content hash data",Dt.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t})}))}getText(t){return qu(this,void 0,void 0,(function*(){let e=fr(t);e=Qt([ac(64),ac(e.length),e]),e.length%32!=0&&(e=Qt([e,Jt("0x",32-t.length%32)]));const n=yield this._fetchBytes("0x59d1d43c",Ft(e));return null==n||"0x"===n?null:pr(n)}))}}let yc=null,vc=1;class bc extends Mi{constructor(t){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),Me(this,"anyNetwork","any"===t),this.anyNetwork&&(t=this.detectNetwork()),t instanceof Promise)this._networkPromise=t,t.catch((t=>{})),this._ready().catch((t=>{}));else{const e=ke(new.target,"getNetwork")(t);e?(Me(this,"_network",e),this.emit("network",e,null)):Xu.throwArgumentError("invalid network","network",t)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return qu(this,void 0,void 0,(function*(){if(null==this._network){let t=null;if(this._networkPromise)try{t=yield this._networkPromise}catch(t){}null==t&&(t=yield this.detectNetwork()),t||Xu.throwError("no network detected",Dt.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:Me(this,"_network",t),this.emit("network",t,null))}return this._network}))}get ready(){return Pu((()=>this._ready().then((t=>t),(t=>{if(t.code!==Dt.errors.NETWORK_ERROR||"noNetwork"!==t.event)throw t}))))}static getFormatter(){return null==yc&&(yc=new Ju),yc}static getNetwork(t){return function(t){if(null==t)return null;if("number"==typeof t){for(const e in Iu){const n=Iu[e];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if("string"==typeof t){const e=Iu[t];return null==e?null:{name:e.name,chainId:e.chainId,ensAddress:e.ensAddress,_defaultProvider:e._defaultProvider||null}}const e=Iu[t.name];if(!e)return"number"!=typeof t.chainId&&Lu.throwArgumentError("invalid network chainId","network",t),t;0!==t.chainId&&t.chainId!==e.chainId&&Lu.throwArgumentError("network chainId mismatch","network",t);let n=t._defaultProvider||null;var r;return null==n&&e._defaultProvider&&(n=(r=e._defaultProvider)&&"function"==typeof r.renetwork?e._defaultProvider.renetwork(t):e._defaultProvider),{name:t.name,chainId:e.chainId,ensAddress:t.ensAddress||e.ensAddress||null,_defaultProvider:n}}(null==t?"homestead":t)}ccipReadFetch(t,e,n){return qu(this,void 0,void 0,(function*(){if(this.disableCcipRead||0===n.length)return null;const r=t.to.toLowerCase(),i=e.toLowerCase(),o=[];for(let t=0;t=0?null:JSON.stringify({data:i,sender:r}),u=yield zu({url:a,errorPassThrough:!0},s,((t,e)=>(t.status=e.statusCode,t)));if(u.data)return u.data;const c=u.message||"unknown error";if(u.status>=400&&u.status<500)return Xu.throwError(`response not found during CCIP fetch: ${c}`,Dt.errors.SERVER_ERROR,{url:e,errorMessage:c});o.push(c)}return Xu.throwError(`error encountered during CCIP fetch: ${o.map((t=>JSON.stringify(t))).join(", ")}`,Dt.errors.SERVER_ERROR,{urls:n,errorMessages:o})}))}_getInternalBlockNumber(t){return qu(this,void 0,void 0,(function*(){if(yield this._ready(),t>0)for(;this._internalBlockNumber;){const e=this._internalBlockNumber;try{const n=yield e;if(ec()-n.respTime<=t)return n.blockNumber;break}catch(t){if(this._internalBlockNumber===e)break}}const e=ec(),n=Le({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((t=>null),(t=>t))}).then((({blockNumber:t,networkError:r})=>{if(r)throw this._internalBlockNumber===n&&(this._internalBlockNumber=null),r;const i=ec();return(t=ee.from(t).toNumber()){this._internalBlockNumber===n&&(this._internalBlockNumber=null)})),(yield n).blockNumber}))}poll(){return qu(this,void 0,void 0,(function*(){const t=vc++,e=[];let n=null;try{n=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(t){return void this.emit("error",t)}if(this._setFastBlockNumber(n),this.emit("poll",t,n),n!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=n-1),Math.abs(this._emitted.block-n)>1e3)Xu.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${n})`),this.emit("error",Xu.makeError("network block skew detected",Dt.errors.NETWORK_ERROR,{blockNumber:n,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",n);else for(let t=this._emitted.block+1;t<=n;t++)this.emit("block",t);this._emitted.block!==n&&(this._emitted.block=n,Object.keys(this._emitted).forEach((t=>{if("block"===t)return;const e=this._emitted[t];"pending"!==e&&n-e>12&&delete this._emitted[t]}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=n-1),this._events.forEach((t=>{switch(t.type){case"tx":{const n=t.hash;let r=this.getTransactionReceipt(n).then((t=>t&&null!=t.blockNumber?(this._emitted["t:"+n]=t.blockNumber,this.emit(n,t),null):null)).catch((t=>{this.emit("error",t)}));e.push(r);break}case"filter":if(!t._inflight){t._inflight=!0,-2===t._lastBlockNumber&&(t._lastBlockNumber=n-1);const r=t.filter;r.fromBlock=t._lastBlockNumber+1,r.toBlock=n;const i=r.toBlock-this._maxFilterBlockRange;i>r.fromBlock&&(r.fromBlock=i),r.fromBlock<0&&(r.fromBlock=0);const o=this.getLogs(r).then((e=>{t._inflight=!1,0!==e.length&&e.forEach((e=>{e.blockNumber>t._lastBlockNumber&&(t._lastBlockNumber=e.blockNumber),this._emitted["b:"+e.blockHash]=e.blockNumber,this._emitted["t:"+e.transactionHash]=e.blockNumber,this.emit(r,e)}))})).catch((e=>{this.emit("error",e),t._inflight=!1}));e.push(o)}}})),this._lastBlockNumber=n,Promise.all(e).then((()=>{this.emit("didPoll",t)})).catch((t=>{this.emit("error",t)}))}else this.emit("didPoll",t)}))}resetEventsBlock(t){this._lastBlockNumber=t-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return qu(this,void 0,void 0,(function*(){return Xu.throwError("provider does not support network detection",Dt.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})}))}getNetwork(){return qu(this,void 0,void 0,(function*(){const t=yield this._ready(),e=yield this.detectNetwork();if(t.chainId!==e.chainId){if(this.anyNetwork)return this._network=e,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",e,t),yield nc(0),this._network;const n=Xu.makeError("underlying network changed",Dt.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:e});throw this.emit("error",n),n}return t}))}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then((t=>{this._setFastBlockNumber(t)}),(t=>{})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(t){t&&!this._poller?(this._poller=setInterval((()=>{this.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((()=>{this.poll(),this._bootstrapPoll=setTimeout((()=>{this._poller||this.poll(),this._bootstrapPoll=null}),this.pollingInterval)}),0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(t){if("number"!=typeof t||t<=0||parseInt(String(t))!=t)throw new Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval((()=>{this.poll()}),this._pollingInterval))}_getFastBlockNumber(){const t=ec();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((t=>((null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t),this._fastBlockNumber)))),this._fastBlockNumberPromise}_setFastBlockNumber(t){null!=this._fastBlockNumber&&tthis._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))}waitForTransaction(t,e,n){return qu(this,void 0,void 0,(function*(){return this._waitForTransaction(t,null==e?1:e,n||0,null)}))}_waitForTransaction(t,e,n,r){return qu(this,void 0,void 0,(function*(){const i=yield this.getTransactionReceipt(t);return(i?i.confirmations:0)>=e?i:new Promise(((i,o)=>{const a=[];let s=!1;const u=function(){return!!s||(s=!0,a.forEach((t=>{t()})),!1)},c=t=>{t.confirmations{this.removeListener(t,c)})),r){let n=r.startBlock,i=null;const c=a=>qu(this,void 0,void 0,(function*(){s||(yield nc(1e3),this.getTransactionCount(r.from).then((l=>qu(this,void 0,void 0,(function*(){if(!s){if(l<=r.nonce)n=a;else{{const e=yield this.getTransaction(t);if(e&&null!=e.blockNumber)return}for(null==i&&(i=n-3,i{s||this.once("block",c)})))}));if(s)return;this.once("block",c),a.push((()=>{this.removeListener("block",c)}))}if("number"==typeof n&&n>0){const t=setTimeout((()=>{u()||o(Xu.makeError("timeout exceeded",Dt.errors.TIMEOUT,{timeout:n}))}),n);t.unref&&t.unref(),a.push((()=>{clearTimeout(t)}))}}))}))}getBlockNumber(){return qu(this,void 0,void 0,(function*(){return this._getInternalBlockNumber(0)}))}getGasPrice(){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield this.perform("getGasPrice",{});try{return ee.from(t)}catch(e){return Xu.throwError("bad result from backend",Dt.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:e})}}))}getBalance(t,e){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield Le({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),r=yield this.perform("getBalance",n);try{return ee.from(r)}catch(t){return Xu.throwError("bad result from backend",Dt.errors.SERVER_ERROR,{method:"getBalance",params:n,result:r,error:t})}}))}getTransactionCount(t,e){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield Le({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),r=yield this.perform("getTransactionCount",n);try{return ee.from(r).toNumber()}catch(t){return Xu.throwError("bad result from backend",Dt.errors.SERVER_ERROR,{method:"getTransactionCount",params:n,result:r,error:t})}}))}getCode(t,e){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield Le({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),r=yield this.perform("getCode",n);try{return Ft(r)}catch(t){return Xu.throwError("bad result from backend",Dt.errors.SERVER_ERROR,{method:"getCode",params:n,result:r,error:t})}}))}getStorageAt(t,e,n){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield Le({address:this._getAddress(t),blockTag:this._getBlockTag(n),position:Promise.resolve(e).then((t=>Vt(t)))}),i=yield this.perform("getStorageAt",r);try{return Ft(i)}catch(t){return Xu.throwError("bad result from backend",Dt.errors.SERVER_ERROR,{method:"getStorageAt",params:r,result:i,error:t})}}))}_wrapTransaction(t,e,n){if(null!=e&&32!==Ht(e))throw new Error("invalid response - sendTransaction");const r=t;return null!=e&&t.hash!==e&&Xu.throwError("Transaction hash mismatch from Provider.sendTransaction.",Dt.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:e}),r.wait=(e,r)=>qu(this,void 0,void 0,(function*(){let i;null==e&&(e=1),null==r&&(r=0),0!==e&&null!=n&&(i={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:n});const o=yield this._waitForTransaction(t.hash,e,r,i);return null==o&&0===e?null:(this._emitted["t:"+t.hash]=o.blockNumber,0===o.status&&Xu.throwError("transaction failed",Dt.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:o}),o)})),r}sendTransaction(t){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield Promise.resolve(t).then((t=>Ft(t))),n=this.formatter.transaction(t);null==n.confirmations&&(n.confirmations=0);const r=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const t=yield this.perform("sendTransaction",{signedTransaction:e});return this._wrapTransaction(n,t,r)}catch(t){throw t.transaction=n,t.transactionHash=n.hash,t}}))}_getTransactionRequest(t){return qu(this,void 0,void 0,(function*(){const e=yield t,n={};return["from","to"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>t?this._getAddress(t):null)))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>t?ee.from(t):null)))})),["type"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>null!=t?t:null)))})),e.accessList&&(n.accessList=this.formatter.accessList(e.accessList)),["data"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>t?Ft(t):null)))})),this.formatter.transactionRequest(yield Le(n))}))}_getFilter(t){return qu(this,void 0,void 0,(function*(){t=yield t;const e={};return null!=t.address&&(e.address=this._getAddress(t.address)),["blockHash","topics"].forEach((n=>{null!=t[n]&&(e[n]=t[n])})),["fromBlock","toBlock"].forEach((n=>{null!=t[n]&&(e[n]=this._getBlockTag(t[n]))})),this.formatter.filter(yield Le(e))}))}_call(t,e,n){return qu(this,void 0,void 0,(function*(){n>=10&&Xu.throwError("CCIP read exceeded maximum redirections",Dt.errors.SERVER_ERROR,{redirects:n,transaction:t});const r=t.to,i=yield this.perform("call",{transaction:t,blockTag:e});if(n>=0&&"latest"===e&&null!=r&&"0x556f1830"===i.substring(0,10)&&Ht(i)%32==4)try{const o=Gt(i,4),a=Gt(o,0,32);ee.from(a).eq(r)||Xu.throwError("CCIP Read sender did not match",Dt.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:i});const s=[],u=ee.from(Gt(o,32,64)).toNumber(),c=ee.from(Gt(o,u,u+32)).toNumber(),l=Gt(o,u+32);for(let e=0;equ(this,void 0,void 0,(function*(){const t=yield this.perform("getBlock",r);if(null==t)return null!=r.blockHash&&null==this._emitted["b:"+r.blockHash]||null!=r.blockTag&&n>this._emitted.block?null:void 0;if(e){let e=null;for(let n=0;nthis._wrapTransaction(t))),n}return this.formatter.block(t)}))),{oncePoll:this})}))}getBlock(t){return this._getBlock(t,!1)}getBlockWithTransactions(t){return this._getBlock(t,!0)}getTransaction(t){return qu(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return Pu((()=>qu(this,void 0,void 0,(function*(){const n=yield this.perform("getTransaction",e);if(null==n)return null==this._emitted["t:"+t]?null:void 0;const r=this.formatter.transactionResponse(n);if(null==r.blockNumber)r.confirmations=0;else if(null==r.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-r.blockNumber+1;t<=0&&(t=1),r.confirmations=t}return this._wrapTransaction(r)}))),{oncePoll:this})}))}getTransactionReceipt(t){return qu(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return Pu((()=>qu(this,void 0,void 0,(function*(){const n=yield this.perform("getTransactionReceipt",e);if(null==n)return null==this._emitted["t:"+t]?null:void 0;if(null==n.blockHash)return;const r=this.formatter.receipt(n);if(null==r.blockNumber)r.confirmations=0;else if(null==r.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-r.blockNumber+1;t<=0&&(t=1),r.confirmations=t}return r}))),{oncePoll:this})}))}getLogs(t){return qu(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield Le({filter:this._getFilter(t)}),n=yield this.perform("getLogs",e);return n.forEach((t=>{null==t.removed&&(t.removed=!1)})),Ju.arrayOf(this.formatter.filterLog.bind(this.formatter))(n)}))}getEtherPrice(){return qu(this,void 0,void 0,(function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})}))}_getBlockTag(t){return qu(this,void 0,void 0,(function*(){if("number"==typeof(t=yield t)&&t<0){t%1&&Xu.throwArgumentError("invalid BlockTag","blockTag",t);let e=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return e+=t,e<0&&(e=0),this.formatter.blockTag(e)}return this.formatter.blockTag(t)}))}getResolver(t){return qu(this,void 0,void 0,(function*(){let e=t;for(;;){if(""===e||"."===e)return null;if("eth"!==t&&"eth"===e)return null;const n=yield this._getResolver(e,"getResolver");if(null!=n){const r=new gc(this,n,t);return e===t||(yield r.supportsWildcard())?r:null}e=e.split(".").slice(1).join(".")}}))}_getResolver(t,e){return qu(this,void 0,void 0,(function*(){null==e&&(e="ENS");const n=yield this.getNetwork();n.ensAddress||Xu.throwError("network does not support ENS",Dt.errors.UNSUPPORTED_OPERATION,{operation:e,network:n.name});try{const e=yield this.call({to:n.ensAddress,data:"0x0178b8bf"+Zr(t).substring(2)});return this.formatter.callAddress(e)}catch(t){}return null}))}resolveName(t){return qu(this,void 0,void 0,(function*(){t=yield t;try{return Promise.resolve(this.formatter.address(t))}catch(e){if(Yt(t))throw e}"string"!=typeof t&&Xu.throwArgumentError("invalid ENS name","name",t);const e=yield this.getResolver(t);return e?yield e.getAddress():null}))}lookupAddress(t){return qu(this,void 0,void 0,(function*(){t=yield t;const e=(t=this.formatter.address(t)).substring(2).toLowerCase()+".addr.reverse",n=yield this._getResolver(e,"lookupAddress");if(null==n)return null;const r=lc(yield this.call({to:n,data:"0x691f3431"+Zr(e).substring(2)}),0);return(yield this.resolveName(r))!=t?null:r}))}getAvatar(t){return qu(this,void 0,void 0,(function*(){let e=null;if(Yt(t)){const n=this.formatter.address(t).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(n,"getAvatar");if(!r)return null;e=new gc(this,r,n);try{const t=yield e.getAvatar();if(t)return t.url}catch(t){if(t.code!==Dt.errors.CALL_EXCEPTION)throw t}try{const t=lc(yield this.call({to:r,data:"0x691f3431"+Zr(n).substring(2)}),0);e=yield this.getResolver(t)}catch(t){if(t.code!==Dt.errors.CALL_EXCEPTION)throw t;return null}}else if(e=yield this.getResolver(t),!e)return null;const n=yield e.getAvatar();return null==n?null:n.url}))}perform(t,e){return Xu.throwError(t+" not implemented",Dt.errors.NOT_IMPLEMENTED,{operation:t})}_startEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_stopEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_addEventListener(t,e,n){const r=new ic(tc(t),e,n);return this._events.push(r),this._startEvent(r),this}on(t,e){return this._addEventListener(t,e,!1)}once(t,e){return this._addEventListener(t,e,!0)}emit(t,...e){let n=!1,r=[],i=tc(t);return this._events=this._events.filter((t=>t.tag!==i||(setTimeout((()=>{t.listener.apply(this,e)}),0),n=!0,!t.once||(r.push(t),!1)))),r.forEach((t=>{this._stopEvent(t)})),n}listenerCount(t){if(!t)return this._events.length;let e=tc(t);return this._events.filter((t=>t.tag===e)).length}listeners(t){if(null==t)return this._events.map((t=>t.listener));let e=tc(t);return this._events.filter((t=>t.tag===e)).map((t=>t.listener))}off(t,e){if(null==e)return this.removeAllListeners(t);const n=[];let r=!1,i=tc(t);return this._events=this._events.filter((t=>t.tag!==i||t.listener!=e||(!!r||(r=!0,n.push(t),!1)))),n.forEach((t=>{this._stopEvent(t)})),this}removeAllListeners(t){let e=[];if(null==t)e=this._events,this._events=[];else{const n=tc(t);this._events=this._events.filter((t=>t.tag!==n||(e.push(t),!1)))}return e.forEach((t=>{this._stopEvent(t)})),this}}var wc=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Mc=new Dt(Zu),kc=["call","estimateGas"];function Lc(t,e){if(null==t)return null;if("string"==typeof t.message&&t.message.match("reverted")){const n=Yt(t.data)?t.data:null;if(!e||n)return{message:t.message,data:n}}if("object"==typeof t){for(const n in t){const r=Lc(t[n],e);if(r)return r}return null}if("string"==typeof t)try{return Lc(JSON.parse(t),e)}catch(t){}return null}function Ac(t,e,n){const r=n.transaction||n.signedTransaction;if("call"===t){const t=Lc(e,!0);if(t)return t.data;Mc.throwError("missing revert data in call exception; Transaction reverted without a reason string",Dt.errors.CALL_EXCEPTION,{data:"0x",transaction:r,error:e})}if("estimateGas"===t){let n=Lc(e.body,!1);null==n&&(n=Lc(e,!1)),n&&Mc.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Dt.errors.UNPREDICTABLE_GAS_LIMIT,{reason:n.message,method:t,transaction:r,error:e})}let i=e.message;throw e.code===Dt.errors.SERVER_ERROR&&e.error&&"string"==typeof e.error.message?i=e.error.message:"string"==typeof e.body?i=e.body:"string"==typeof e.responseText&&(i=e.responseText),i=(i||"").toLowerCase(),i.match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&Mc.throwError("insufficient funds for intrinsic transaction cost",Dt.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:r}),i.match(/nonce (is )?too low/i)&&Mc.throwError("nonce has already been used",Dt.errors.NONCE_EXPIRED,{error:e,method:t,transaction:r}),i.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&Mc.throwError("replacement fee too low",Dt.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:r}),i.match(/only replay-protected/i)&&Mc.throwError("legacy pre-eip-155 transactions not supported",Dt.errors.UNSUPPORTED_OPERATION,{error:e,method:t,transaction:r}),kc.indexOf(t)>=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&Mc.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",Dt.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:r}),e}function xc(t){return new Promise((function(e){setTimeout(e,t)}))}function Ec(t){if(t.error){const e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function Nc(t){return t?t.toLowerCase():t}const Sc={};class Ic extends Ei{constructor(t,e,n){if(super(),t!==Sc)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");Me(this,"provider",e),null==n&&(n=0),"string"==typeof n?(Me(this,"_address",this.provider.formatter.address(n)),Me(this,"_index",null)):"number"==typeof n?(Me(this,"_index",n),Me(this,"_address",null)):Mc.throwArgumentError("invalid address or index","addressOrIndex",n)}connect(t){return Mc.throwError("cannot alter JSON-RPC Signer connection",Dt.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new Tc(Sc,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((t=>(t.length<=this._index&&Mc.throwError("unknown account #"+this._index,Dt.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(t[this._index]))))}sendUncheckedTransaction(t){t=Ae(t);const e=this.getAddress().then((t=>(t&&(t=t.toLowerCase()),t)));if(null==t.gasLimit){const n=Ae(t);n.from=e,t.gasLimit=this.provider.estimateGas(n)}return null!=t.to&&(t.to=Promise.resolve(t.to).then((t=>wc(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.provider.resolveName(t);return null==e&&Mc.throwArgumentError("provided ENS name resolves to null","tx.to",t),e}))))),Le({tx:Le(t),sender:e}).then((({tx:e,sender:n})=>{null!=e.from?e.from.toLowerCase()!==n&&Mc.throwArgumentError("from address mismatch","transaction",t):e.from=n;const r=this.provider.constructor.hexlifyTransaction(e,{from:!0});return this.provider.send("eth_sendTransaction",[r]).then((t=>t),(t=>("string"==typeof t.message&&t.message.match(/user denied/i)&&Mc.throwError("user rejected transaction",Dt.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:e}),Ac("sendTransaction",t,r))))}))}signTransaction(t){return Mc.throwError("signing transactions is unsupported",Dt.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(t){return wc(this,void 0,void 0,(function*(){const e=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),n=yield this.sendUncheckedTransaction(t);try{return yield Pu((()=>wc(this,void 0,void 0,(function*(){const t=yield this.provider.getTransaction(n);if(null!==t)return this.provider._wrapTransaction(t,n,e)}))),{oncePoll:this.provider})}catch(t){throw t.transactionHash=n,t}}))}signMessage(t){return wc(this,void 0,void 0,(function*(){const e="string"==typeof t?fr(t):t,n=yield this.getAddress();try{return yield this.provider.send("personal_sign",[Ft(e),n.toLowerCase()])}catch(e){throw"string"==typeof e.message&&e.message.match(/user denied/i)&&Mc.throwError("user rejected signing",Dt.errors.ACTION_REJECTED,{action:"signMessage",from:n,messageData:t}),e}}))}_legacySignMessage(t){return wc(this,void 0,void 0,(function*(){const e="string"==typeof t?fr(t):t,n=yield this.getAddress();try{return yield this.provider.send("eth_sign",[n.toLowerCase(),Ft(e)])}catch(e){throw"string"==typeof e.message&&e.message.match(/user denied/i)&&Mc.throwError("user rejected signing",Dt.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:n,messageData:t}),e}}))}_signTypedData(t,e,n){return wc(this,void 0,void 0,(function*(){const r=yield ci.resolveNames(t,e,n,(t=>this.provider.resolveName(t))),i=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(ci.getPayload(r.domain,e,r.value))])}catch(t){throw"string"==typeof t.message&&t.message.match(/user denied/i)&&Mc.throwError("user rejected signing",Dt.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:r.domain,types:e,value:r.value}}),t}}))}unlock(t){return wc(this,void 0,void 0,(function*(){const e=this.provider,n=yield this.getAddress();return e.send("personal_unlockAccount",[n.toLowerCase(),t,null])}))}}class Tc extends Ic{sendTransaction(t){return this.sendUncheckedTransaction(t).then((t=>({hash:t,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:e=>this.provider.waitForTransaction(t,e)})))}}const jc={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class Cc extends bc{constructor(t,e){let n=e;null==n&&(n=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then((e=>{t(e)}),(t=>{e(t)}))}),0)}))),super(n),t||(t=ke(this.constructor,"defaultUrl")()),Me(this,"connection","string"==typeof t?Object.freeze({url:t}):Object.freeze(Ae(t))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((()=>{this._cache.detectNetwork=null}),0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return wc(this,void 0,void 0,(function*(){yield xc(0);let t=null;try{t=yield this.send("eth_chainId",[])}catch(e){try{t=yield this.send("net_version",[])}catch(t){}}if(null!=t){const e=ke(this.constructor,"getNetwork");try{return e(ee.from(t).toNumber())}catch(e){return Mc.throwError("could not detect network",Dt.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:e})}}return Mc.throwError("could not detect network",Dt.errors.NETWORK_ERROR,{event:"noNetwork"})}))}getSigner(t){return new Ic(Sc,this,t)}getUncheckedSigner(t){return this.getSigner(t).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then((t=>t.map((t=>this.formatter.address(t)))))}send(t,e){const n={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:Se(n),provider:this});const r=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(r&&this._cache[t])return this._cache[t];const i=zu(this.connection,JSON.stringify(n),Ec).then((t=>(this.emit("debug",{action:"response",request:n,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",error:t,request:n,provider:this}),t}));return r&&(this._cache[t]=i,setTimeout((()=>{this._cache[t]=null}),0)),i}prepareRequest(t,e){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[Nc(e.address),e.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[Nc(e.address),e.blockTag]];case"getCode":return["eth_getCode",[Nc(e.address),e.blockTag]];case"getStorageAt":return["eth_getStorageAt",[Nc(e.address),Jt(e.position,32),e.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[e.signedTransaction]];case"getBlock":return e.blockTag?["eth_getBlockByNumber",[e.blockTag,!!e.includeTransactions]]:e.blockHash?["eth_getBlockByHash",[e.blockHash,!!e.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[e.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[e.transactionHash]];case"call":return["eth_call",[ke(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0}),e.blockTag]];case"estimateGas":return["eth_estimateGas",[ke(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0})]];case"getLogs":return e.filter&&null!=e.filter.address&&(e.filter.address=Nc(e.filter.address)),["eth_getLogs",[e.filter]]}return null}perform(t,e){return wc(this,void 0,void 0,(function*(){if("call"===t||"estimateGas"===t){const t=e.transaction;if(t&&null!=t.type&&ee.from(t.type).isZero()&&null==t.maxFeePerGas&&null==t.maxPriorityFeePerGas){const n=yield this.getFeeData();null==n.maxFeePerGas&&null==n.maxPriorityFeePerGas&&((e=Ae(e)).transaction=Ae(t),delete e.transaction.type)}}const n=this.prepareRequest(t,e);null==n&&Mc.throwError(t+" not implemented",Dt.errors.NOT_IMPLEMENTED,{operation:t});try{return yield this.send(n[0],n[1])}catch(n){return Ac(t,n,e)}}))}_startEvent(t){"pending"===t.tag&&this._startPending(),super._startEvent(t)}_startPending(){if(null!=this._pendingFilter)return;const t=this,e=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=e,e.then((function(n){return function r(){t.send("eth_getFilterChanges",[n]).then((function(n){if(t._pendingFilter!=e)return null;let r=Promise.resolve();return n.forEach((function(e){t._emitted["t:"+e.toLowerCase()]="pending",r=r.then((function(){return t.getTransaction(e).then((function(e){return t.emit("pending",e),null}))}))})),r.then((function(){return xc(1e3)}))})).then((function(){if(t._pendingFilter==e)return setTimeout((function(){r()}),0),null;t.send("eth_uninstallFilter",[n])})).catch((t=>{}))}(),n})).catch((t=>{}))}_stopEvent(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(t)}static hexlifyTransaction(t,e){const n=Ae(jc);if(e)for(const t in e)e[t]&&(n[t]=!0);var r,i;i=n,(r=t)&&"object"==typeof r||we.throwArgumentError("invalid object","object",r),Object.keys(r).forEach((t=>{i[t]||we.throwArgumentError("invalid object key - "+t,"transaction:"+t,r)}));const o={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(e){if(null==t[e])return;const n=Vt(ee.from(t[e]));"gasLimit"===e&&(e="gas"),o[e]=n})),["from","to","data"].forEach((function(e){null!=t[e]&&(o[e]=Ft(t[e]))})),t.accessList&&(o.accessList=tu(t.accessList)),o}}const Dc=new Dt(Zu);let Oc=1;function _c(t,e){const n="Web3LegacyFetcher";return function(t,r){const i={method:t,params:r,id:Oc++,jsonrpc:"2.0"};return new Promise(((t,r)=>{this.emit("debug",{action:"request",fetcher:n,request:Se(i),provider:this}),e(i,((e,o)=>{if(e)return this.emit("debug",{action:"response",fetcher:n,error:e,request:i,provider:this}),r(e);if(this.emit("debug",{action:"response",fetcher:n,request:i,response:o,provider:this}),o.error){const t=new Error(o.error.message);return t.code=o.error.code,t.data=o.error.data,r(t)}t(o.result)}))}))}}class zc extends Cc{constructor(t,e){null==t&&Dc.throwArgumentError("missing provider","provider",t);let n=null,r=null,i=null;"function"==typeof t?(n="unknown:",r=t):(n=t.host||t.path||"",!n&&t.isMetaMask&&(n="metamask"),i=t,t.request?(""===n&&(n="eip-1193:"),r=function(t){return function(e,n){null==n&&(n=[]);const r={method:e,params:n};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:Se(r),provider:this}),t.request(r).then((t=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,error:t,provider:this}),t}))}}(t)):t.sendAsync?r=_c(0,t.sendAsync.bind(t)):t.send?r=_c(0,t.send.bind(t)):Dc.throwArgumentError("unsupported provider","provider",t),n||(n="unknown:")),super(n,e),Me(this,"jsonRpcFetchFunc",r),Me(this,"provider",i)}send(t,e){return this.jsonRpcFetchFunc(t,e)}}const Pc=new Dt("units/5.7.0"),Bc=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Rc(t,e){if("string"==typeof e){const t=Bc.indexOf(e);-1!==t&&(e=3*t)}return fe(t,null!=e?e:18)}function Uc(t,e){if("string"!=typeof t&&Pc.throwArgumentError("value must be a string","value",t),"string"==typeof e){const t=Bc.indexOf(e);-1!==t&&(e=3*t)}return pe(t,null!=e?e:18)}var Qc=void 0!==rn?rn:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};if(null==Qc.XMLHttpRequest&&(Qc.XMLHttpRequest=class{open(){}}),null==Qc.location&&(Qc.location={}),null==Qc.crypto&&(Qc.crypto={}),null==Qc.crypto.getRandomValues&&(Qc.crypto.getRandomValues=function(t){for(var e=t.length;e--;)t[e]=parseInt(Math.random().toString().replace("0.",""),10);return t}),null==Qc.crypto.randomBytes&&(Qc.crypto.randomBytes=function(t){let e=new Uint8Array(t);return Qc.crypto.getRandomValues(e),e}),null==Qc.fetch)throw"Please polyfill .fetch | See: https://github.com/DePayFi/solana-web3.js#polyfill-fetch";var Wc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==rn?rn:"undefined"!=typeof self?self:{};function Yc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Fc(t){var e=t.default;if("function"==typeof e){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})})),n}var Hc=void 0!==rn?rn:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Gc=[],Zc=[],Vc="undefined"!=typeof Uint8Array?Uint8Array:Array,Jc=!1;function qc(){Jc=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e>18&63]+Gc[i>>12&63]+Gc[i>>6&63]+Gc[63&i]);return o.join("")}function Kc(t){var e;Jc||qc();for(var n=t.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(e=t[n-1],i+=Gc[e>>2],i+=Gc[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=Gc[e>>10],i+=Gc[e>>4&63],i+=Gc[e<<2&63],i+="="),o.push(i),o.join("")}function $c(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)}function tl(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m}var el={}.toString,nl=Array.isArray||function(t){return"[object Array]"==el.call(t)};al.TYPED_ARRAY_SUPPORT=void 0===Hc.TYPED_ARRAY_SUPPORT||Hc.TYPED_ARRAY_SUPPORT;var rl=il();function il(){return al.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ol(t,e){if(il()=il())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+il().toString(16)+" bytes");return 0|t}function dl(t){return!(null==t||!t._isBuffer)}function fl(t,e){if(dl(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Rl(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Ul(t).length;default:if(r)return Rl(t).length;e=(""+e).toLowerCase(),r=!0}}function pl(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Sl(this,e,n);case"utf8":case"utf-8":return xl(this,e,n);case"ascii":return El(this,e,n);case"latin1":case"binary":return Nl(this,e,n);case"base64":return Al(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Il(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function ml(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function gl(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=al.from(e,r)),dl(e))return 0===e.length?-1:yl(t,e,n,r,i);if("number"==typeof e)return e&=255,al.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):yl(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function yl(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function Al(t,e,n){return 0===e&&n===t.length?Kc(t):Kc(t.slice(e,n))}function xl(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},al.prototype.compare=function(t,e,n,r,i){if(!dl(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return vl(this,t,e,n);case"utf8":case"utf-8":return bl(this,t,e,n);case"ascii":return wl(this,t,e,n);case"latin1":case"binary":return Ml(this,t,e,n);case"base64":return kl(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ll(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},al.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function El(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function jl(t,e,n,r,i,o){if(!dl(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function Cl(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function Dl(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function Ol(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function _l(t,e,n,r,i){return i||Ol(t,0,n,4),tl(t,e,n,r,23,4),n+4}function zl(t,e,n,r,i){return i||Ol(t,0,n,8),tl(t,e,n,r,52,8),n+8}al.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},al.prototype.readUInt8=function(t,e){return e||Tl(t,1,this.length),this[t]},al.prototype.readUInt16LE=function(t,e){return e||Tl(t,2,this.length),this[t]|this[t+1]<<8},al.prototype.readUInt16BE=function(t,e){return e||Tl(t,2,this.length),this[t]<<8|this[t+1]},al.prototype.readUInt32LE=function(t,e){return e||Tl(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},al.prototype.readUInt32BE=function(t,e){return e||Tl(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},al.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||Tl(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},al.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||Tl(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},al.prototype.readInt8=function(t,e){return e||Tl(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},al.prototype.readInt16LE=function(t,e){e||Tl(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},al.prototype.readInt16BE=function(t,e){e||Tl(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},al.prototype.readInt32LE=function(t,e){return e||Tl(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},al.prototype.readInt32BE=function(t,e){return e||Tl(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},al.prototype.readFloatLE=function(t,e){return e||Tl(t,4,this.length),$c(this,t,!0,23,4)},al.prototype.readFloatBE=function(t,e){return e||Tl(t,4,this.length),$c(this,t,!1,23,4)},al.prototype.readDoubleLE=function(t,e){return e||Tl(t,8,this.length),$c(this,t,!0,52,8)},al.prototype.readDoubleBE=function(t,e){return e||Tl(t,8,this.length),$c(this,t,!1,52,8)},al.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||jl(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},al.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,1,255,0),al.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},al.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,2,65535,0),al.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Cl(this,t,e,!0),e+2},al.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,2,65535,0),al.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Cl(this,t,e,!1),e+2},al.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,4,4294967295,0),al.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Dl(this,t,e,!0),e+4},al.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,4,4294967295,0),al.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Dl(this,t,e,!1),e+4},al.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);jl(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},al.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);jl(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},al.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,1,127,-128),al.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},al.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,2,32767,-32768),al.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Cl(this,t,e,!0),e+2},al.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,2,32767,-32768),al.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Cl(this,t,e,!1),e+2},al.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,4,2147483647,-2147483648),al.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Dl(this,t,e,!0),e+4},al.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||jl(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),al.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Dl(this,t,e,!1),e+4},al.prototype.writeFloatLE=function(t,e,n){return _l(this,t,e,!0,n)},al.prototype.writeFloatBE=function(t,e,n){return _l(this,t,e,!1,n)},al.prototype.writeDoubleLE=function(t,e,n){return zl(this,t,e,!0,n)},al.prototype.writeDoubleBE=function(t,e,n){return zl(this,t,e,!1,n)},al.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!al.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Ul(t){return function(t){var e,n,r,i,o,a;Jc||qc();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[s-2]?2:"="===t[s-1]?1:0,a=new Vc(3*s/4-o),r=o>0?s-4:s;var u=0;for(e=0,n=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=Zc[t.charCodeAt(e)]<<2|Zc[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=Zc[t.charCodeAt(e)]<<10|Zc[t.charCodeAt(e+1)]<<4|Zc[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Pl,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Ql(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function Wl(t){return null!=t&&(!!t._isBuffer||Yl(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&Yl(t.slice(0,0))}(t))}function Yl(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var Fl=Fc(Object.freeze({__proto__:null,Buffer:al,INSPECT_MAX_BYTES:50,SlowBuffer:function(t){return+t!=t&&(t=0),al.alloc(+t)},isBuffer:Wl,kMaxLength:rl}));function Hl(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Gl(t){for(var e=1;e=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));const s="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxOTIgMTkyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOTIgMTkyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxwYXRoIGZpbGw9IiNGMEI5MEIiIGQ9Ik01NCw0MS4xbDQyLTI0LjJsNDIsMjQuMmwtMTUuNCw4LjlMOTYsMzQuOUw2OS40LDUwTDU0LDQxLjF6IE0xMzgsNzEuN2wtMTUuNC04LjlMOTYsNzhMNjkuNCw2Mi43bC0xNS40LDl2MTgKCUw4MC42LDEwNXYzMC41bDE1LjQsOWwxNS40LTlWMTA1TDEzOCw4OS43VjcxLjd6IE0xMzgsMTIwLjN2LTE4bC0xNS40LDguOXYxOEMxMjIuNiwxMjkuMSwxMzgsMTIwLjMsMTM4LDEyMC4zeiBNMTQ4LjksMTI2LjQKCWwtMjYuNiwxNS4zdjE4bDQyLTI0LjJWODdsLTE1LjQsOUMxNDguOSw5NiwxNDguOSwxMjYuNCwxNDguOSwxMjYuNHogTTEzMy41LDU2LjRsMTUuNCw5djE4bDE1LjQtOXYtMThsLTE1LjQtOUwxMzMuNSw1Ni40CglMMTMzLjUsNTYuNHogTTgwLjYsMTQ4LjN2MThsMTUuNCw5bDE1LjQtOXYtMThMOTYsMTU3LjFMODAuNiwxNDguM3ogTTU0LDEyMC4zbDE1LjQsOXYtMTguMUw1NCwxMDIuM0w1NCwxMjAuM0w1NCwxMjAuM3oKCSBNODAuNiw1Ni40bDE1LjQsOWwxNS40LTlMOTYsNDcuNUM5Niw0Ny40LDgwLjYsNTYuNCw4MC42LDU2LjRMODAuNiw1Ni40eiBNNDMuMSw2NS40bDE1LjQtOWwtMTUuNC05bC0xNS40LDl2MThsMTUuNCw5TDQzLjEsNjUuNAoJTDQzLjEsNjUuNHogTTQzLjEsOTUuOUwyNy43LDg3djQ4LjVsNDIsMjQuMnYtMThsLTI2LjYtMTUuM1Y5NS45TDQzLjEsOTUuOXoiLz4KPC9zdmc+Cg==";var u={name:"bsc",id:"0x38",networkId:"56",namespace:"eip155",label:"BNB Smart Chain",fullName:"BNB Smart Chain Mainnet",logo:s,currency:{name:"BNB",symbol:"BNB",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"},stables:{usd:["0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d","0x55d398326f99059fF775485246999027B3197955","0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56"]},explorer:"https://bscscan.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://bscscan.com/tx/${t.id||t}`:e?`https://bscscan.com/token/${e}`:n?`https://bscscan.com/address/${n}`:void 0,endpoints:["https://bsc-dataseed.binance.org","https://bsc-dataseed1.ninicoin.io","https://bsc-dataseed3.defibit.io"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"BNB",name:"Binance Coin",decimals:18,logo:s,type:"NATIVE"},{address:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",symbol:"WBNB",name:"Wrapped BNB",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c/logo.png",type:"20"},{address:"0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",symbol:"BUSD",name:"BUSD Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56/logo.png",type:"20"},{address:"0x55d398326f99059fF775485246999027B3197955",symbol:"USDT",name:"Tether USD",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x55d398326f99059fF775485246999027B3197955/logo.png",type:"20"},{address:"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",symbol:"USDC",name:"USD Coin",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d/logo.png",type:"20"},{address:"0x2170Ed0880ac9A755fd29B2688956BD959F933F8",symbol:"ETH",name:"Ethereum Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x2170Ed0880ac9A755fd29B2688956BD959F933F8/logo.png",type:"20"},{address:"0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82",symbol:"Cake",name:"PancakeSwap Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82/logo.png",type:"20"},{address:"0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c",symbol:"BTCB",name:"BTCB Token",decimals:18,logo:"https://assets.trustwalletapp.com/blockchains/smartchain/assets/0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c/logo.png",type:"20"},{address:"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb",symbol:"DEPAY",name:"DePay",decimals:18,logo:"https://integrate.depay.com/tokens/bsc/0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb/image",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const c="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiCgkgaW1hZ2UtcmVuZGVyaW5nPSJvcHRpbWl6ZVF1YWxpdHkiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIgoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjgzLjUgMjgzLjUiCgkgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjgzLjUgMjgzLjU7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBmaWxsPSIjMzQzNDM0IiBkPSJNMTQxLjcsMjUuOWwtMS41LDUuMnYxNTMuM2wxLjUsMS41bDcxLjItNDIuMUwxNDEuNywyNS45eiIvPgoJCTxwYXRoIGZpbGw9IiM4QzhDOEMiIGQ9Ik0xNDEuNywyNS45TDcwLjYsMTQzLjhsNzEuMSw0Mi4xdi03NC40VjI1Ljl6Ii8+CgkJPHBhdGggZmlsbD0iIzNDM0MzQiIgZD0iTTE0MS43LDE5OS40bC0wLjgsMS4xdjU0LjZsMC44LDIuNWw3MS4yLTEwMC4zTDE0MS43LDE5OS40eiIvPgoJCTxwYXRoIGZpbGw9IiM4QzhDOEMiIGQ9Ik0xNDEuNywyNTcuNnYtNTguMmwtNzEuMS00Mi4xTDE0MS43LDI1Ny42eiIvPgoJCTxwYXRoIGZpbGw9IiMxNDE0MTQiIGQ9Ik0xNDEuNywxODUuOWw3MS4yLTQyLjFsLTcxLjItMzIuM1YxODUuOXoiLz4KCQk8cGF0aCBmaWxsPSIjMzkzOTM5IiBkPSJNNzAuNiwxNDMuOGw3MS4xLDQyLjF2LTc0LjRMNzAuNiwxNDMuOHoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K";var l={name:"ethereum",id:"0x1",networkId:"1",namespace:"eip155",label:"Ethereum",fullName:"Ethereum Mainnet",logo:c,currency:{name:"Ether",symbol:"ETH",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"},stables:{usd:["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0xdAC17F958D2ee523a2206206994597C13D831ec7","0x6B175474E89094C44Da98b954EedeAC495271d0F"]},explorer:"https://etherscan.io",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://etherscan.io/tx/${t.id||t}`:e?`https://etherscan.io/token/${e}`:n?`https://etherscan.io/address/${n}`:void 0,endpoints:["https://rpc.ankr.com/eth","https://eth.llamarpc.com","https://ethereum.publicnode.com"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"ETH",name:"Ether",decimals:18,logo:c,type:"NATIVE"},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",symbol:"WETH",name:"Wrapped Ether",decimals:18,logo:"https://raw.githubusercontent.com/Uniswap/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",type:"20"},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",type:"20"},{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",symbol:"WBTC",name:"Wrapped BTC",decimals:8,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png",type:"20"},{address:"0xdAC17F958D2ee523a2206206994597C13D831ec7",symbol:"USDT",name:"Tether USD",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",type:"20"},{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",symbol:"DAI",name:"Dai Stablecoin",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png",type:"20"},{address:"0x853d955aCEf822Db058eb8505911ED77F175b99e",symbol:"FRAX",name:"Frax",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x853d955aCEf822Db058eb8505911ED77F175b99e/logo.png",type:"20"},{address:"0x8E870D67F660D95d5be530380D0eC0bd388289E1",symbol:"USDP",name:"Pax Dollar",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x8E870D67F660D95d5be530380D0eC0bd388289E1/logo.png",type:"20"},{address:"0x956F47F50A910163D8BF957Cf5846D573E7f87CA",symbol:"FEI",name:"Fei USD",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x956F47F50A910163D8BF957Cf5846D573E7f87CA/logo.png",type:"20"},{address:"0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb",symbol:"DEPAY",name:"DePay",decimals:18,logo:"https://integrate.depay.com/tokens/ethereum/0xa0bEd124a09ac2Bd941b10349d8d224fe3c955eb/image",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const h="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTkyIDE5MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTkyIDE5MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8ZyBpZD0iY2lyY2xlIj4KCTxnIGlkPSJGYW50b20tY2lyY2xlIj4KCQk8Y2lyY2xlIGlkPSJPdmFsIiBmaWxsUnVsZT0iZXZlbm9kZCIgY2xpcFJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiMxOTY5RkYiIGNsYXNzPSJzdDAiIGN4PSI5NiIgY3k9Ijk2IiByPSI4MC40Ii8+CgkJPHBhdGggaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIiBkPSJNOTEuMSw0MS4yYzIuNy0xLjQsNi44LTEuNCw5LjUsMGwyNy42LDE0LjZjMS42LDAuOSwyLjUsMi4xLDIuNywzLjVoMHY3My4zCgkJCWMwLDEuNC0wLjksMi45LTIuNywzLjhsLTI3LjYsMTQuNmMtMi43LDEuNC02LjgsMS40LTkuNSwwbC0yNy42LTE0LjZjLTEuOC0wLjktM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CwwLTAuMSwwLTAuMSwwbDAsMGwwLDBsMC4xLDBsMjcuNiwxNC42YzEuNCwwLjgsNCwwLjgsNS41LDBsMjcuNi0xNC42YzAsMCwwLjEsMCwwLjEsMGwwLDBsMCwwCgkJCWwtMC4xLDBMOTguNyw0NS4xeiBNMTMwLjcsNDYuNWwxLjcsMS4xbDAuMywwLjJjMC41LDAuMywwLjksMC42LDEuMywwLjhjNC4yLDIuOCw1LjcsNS45LDUuNywxMi4zbDAsMC4yaC00LjNjMC0yLjgtMC4zLTQuNy0xLTYKCQkJYy0wLjUtMS4xLTEuMy0xLjktMi44LTIuOWwtMC4xLTAuMWMtMC4zLTAuMi0wLjctMC40LTEuMS0wLjdsLTAuNS0wLjNsLTEuNi0wLjlMMTMwLjcsNDYuNXoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K";var d={name:"fantom",id:"0xFA",networkId:"250",namespace:"eip155",label:"Fantom",fullName:"Fantom Opera",logo:h,currency:{name:"Fantom",symbol:"FTM",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83"},stables:{usd:["0x04068DA6C83AFCFA0e13ba15A6696662335D5B75","0x049d68029688eAbF473097a2fC38ef61633A3C7A","0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E"]},explorer:"https://ftmscan.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://ftmscan.com/tx/${t.id||t}`:e?`https://ftmscan.com/token/${e}`:n?`https://ftmscan.com/address/${n}`:void 0,endpoints:["https://rpc.ftm.tools","https://fantom.publicnode.com","https://rpc2.fantom.network"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"FTM",name:"Fantom",decimals:18,logo:h,type:"NATIVE"},{address:"0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83",symbol:"WFTM",name:"Wrapped Fantom",decimals:18,logo:h,type:"20"},{address:"0x04068DA6C83AFCFA0e13ba15A6696662335D5B75",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://assets.spooky.fi/tokens/USDC.png",type:"20"},{address:"0x8D11eC38a3EB5E956B052f67Da8Bdc9bef8Abf3E",symbol:"DAI",name:"Dai Stablecoin",decimals:18,logo:"https://assets.spooky.fi/tokens/DAI.png",type:"20"},{address:"0x049d68029688eAbF473097a2fC38ef61633A3C7A",symbol:"fUSDT",name:"Frapped USDT",decimals:6,logo:"https://assets.spooky.fi/tokens/fUSDT.png",type:"20"},{address:"0x74b23882a30290451A17c44f4F05243b6b58C76d",symbol:"ETH",name:"Ethereum",decimals:18,logo:"https://assets.spooky.fi/tokens/wETH.png",type:"20"},{address:"0x321162Cd933E2Be498Cd2267a90534A804051b11",symbol:"BTC",name:"Bitcoin",decimals:8,logo:"https://assets.spooky.fi/tokens/wBTC.png",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const f="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0NS40IDQ1LjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1LjQgNDUuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODI0N0U1IiBkPSJNMzEuOSwxNi42Yy0wLjctMC40LTEuNi0wLjQtMi4yLDBsLTUuMywzLjFsLTMuNSwybC01LjEsMy4xYy0wLjcsMC40LTEuNiwwLjQtMi4yLDBsLTQtMi40CgljLTAuNi0wLjQtMS4xLTEuMS0xLjEtMnYtNC42YzAtMC45LDAuNS0xLjYsMS4xLTJsNC0yLjNjMC43LTAuNCwxLjUtMC40LDIuMiwwbDQsMi40YzAuNywwLjQsMS4xLDEuMSwxLjEsMnYzLjFsMy41LTIuMXYtMy4yCgljMC0wLjktMC40LTEuNi0xLjEtMmwtNy41LTQuNGMtMC43LTAuNC0xLjUtMC40LTIuMiwwTDYsMTEuN2MtMC43LDAuNC0xLjEsMS4xLTEuMSwxLjh2OC43YzAsMC45LDAuNCwxLjYsMS4xLDJsNy42LDQuNAoJYzAuNywwLjQsMS41LDAuNCwyLjIsMGw1LjEtMi45bDMuNS0yLjFsNS4xLTIuOWMwLjctMC40LDEuNi0wLjQsMi4yLDBsNCwyLjNjMC43LDAuNCwxLjEsMS4xLDEuMSwydjQuNmMwLDAuOS0wLjQsMS42LTEuMSwyCglsLTMuOSwyLjNjLTAuNywwLjQtMS41LDAuNC0yLjIsMGwtNC0yLjNjLTAuNy0wLjQtMS4xLTEuMS0xLjEtMnYtMi45TDIxLDI4Ljd2My4xYzAsMC45LDAuNCwxLjYsMS4xLDJsNy41LDQuNAoJYzAuNywwLjQsMS41LDAuNCwyLjIsMGw3LjUtNC40YzAuNy0wLjQsMS4xLTEuMSwxLjEtMlYyM2MwLTAuOS0wLjQtMS42LTEuMS0yQzM5LjIsMjEsMzEuOSwxNi42LDMxLjksMTYuNnoiLz4KPC9zdmc+Cg==";var p={name:"polygon",id:"0x89",networkId:"137",namespace:"eip155",label:"Polygon",fullName:"Polygon Mainnet",logo:f,currency:{name:"Polygon",symbol:"MATIC",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"},stables:{usd:["0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174","0xc2132D05D31c914a87C6611C10748AEb04B58e8F","0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063"]},explorer:"https://polygonscan.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://polygonscan.com/tx/${t.id||t}`:e?`https://polygonscan.com/token/${e}`:n?`https://polygonscan.com/address/${n}`:void 0,endpoints:["https://polygon-rpc.com","https://poly-rpc.gateway.pokt.network","https://polygon.llamarpc.com"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"MATIC",name:"Polygon",decimals:18,logo:f,type:"NATIVE"},{address:"0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",symbol:"WMATIC",name:"Wrapped Matic",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0/logo.png",type:"20"},{address:"0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",symbol:"WETH",name:"Wrapped Ether",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png",type:"20"},{address:"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",type:"20"},{address:"0xc2132D05D31c914a87C6611C10748AEb04B58e8F",symbol:"USDT",name:"Tether USD",decimals:6,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",type:"20"},{address:"0xa3Fa99A148fA48D14Ed51d610c367C61876997F1",symbol:"miMATIC",name:"miMATIC",decimals:18,logo:"https://raw.githubusercontent.com/0xlaozi/qidao/main/images/mimatic-red.png",type:"20"},{address:"0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063",symbol:"DAI",name:"Dai Stablecoin",decimals:18,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo.png",type:"20"},{address:"0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",symbol:"WBTC",name:"Wrapped BTC",decimals:8,logo:"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo.png",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const m="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0NS40IDQ1LjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1LjQgNDUuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9IlNPTEFOQV9TVkdJRF8xIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjM1LjU5NzQiIHkxPSI3NzIuOTI3NyIgeDI9IjE4LjE0MjIiIHkyPSI4MDYuMzYxNiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDAgLTc2NS43NjUpIj4KCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiMwMEZGQTMiLz4KCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiNEQzFGRkYiLz4KPC9saW5lYXJHcmFkaWVudD4KPHBhdGggZmlsbD0idXJsKCNTT0xBTkFfU1ZHSURfMSkiIGQ9Ik0x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xPSI3NzEuMDk4NSIgeDI9IjE0LjI4NTUiIHkyPSI4MDQuNTMyMyIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDAgLTc2NS43NjUpIj4KCTxzdG9wICBvZmZzZXQ9IjAiIHN0eWxlPSJzdG9wLWNvbG9yOiMwMEZGQTMiLz4KCTxzdG9wICBvZmZzZXQ9IjEiIHN0eWxlPSJzdG9wLWNvbG9yOiNEQzFGRkYiLz4KPC9saW5lYXJHcmFkaWVudD4KPHBhdGggc3R5bGU9ImZpbGw6dXJsKCNTVkdJRF8wMDAwMDEzOTI4MzIxNzM3ODY1NjA5NDg2MDAwMDAwMzY5NDg5NTM3OTA3ODExNjc4Ml8pOyIgZD0iTTMzLjQsMTkuOGMtMC4yLTAuMi0wLjUtMC4zLTAuNy0wLjNINy40CgljLTAuNSwwLTAuNywwLjYtMC40LDAuOWw1LDVjMC4yLDAuMiwwLjUsMC4zLDAuNywwLjNIMzhjMC41LDAsMC43LTAuNiwwLjQtMC45TDMzLjQsMTkuOHoiLz4KPC9zdmc+Cg==";var g={name:"solana",networkId:"mainnetBeta",namespace:"solana",label:"Solana",fullName:"Solana",logo:m,currency:{name:"Solana",symbol:"SOL",decimals:9,address:"11111111111111111111111111111111"},wrapped:{address:"So11111111111111111111111111111111111111112"},stables:{usd:["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"]},explorer:"https://solscan.io",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://solscan.io/tx/${t.id||t}`:e?`https://solscan.io/token/${e}`:n?`https://solscan.io/address/${n}`:void 0,endpoints:["https://solana-mainnet.phantom.app/YBPpkkN4g91xDiAnTE9r0RcMkjg0sKUIWvAfoFVJ","https://mainnet-beta.solflare.network","https://solana-mainnet.rpc.extrnode.com"],rpc:"https://api.mainnet-beta.solana.com",tokens:[{address:"11111111111111111111111111111111",symbol:"SOL",name:"Solana",decimals:9,logo:m,type:"NATIVE"},{address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",symbol:"USDC",name:"USD Coin",decimals:6,logo:"https://img.raydium.io/icon/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v.png",type:"SPL"},{address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",symbol:"USDT",name:"USDT",decimals:6,logo:"https://img.raydium.io/icon/Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB.png",type:"SPL"},{address:"7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj",symbol:"stSOL",name:"Lido Staked SOL",decimals:9,logo:"https://img.raydium.io/icon/7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj.png",type:"SPL"},{address:"9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E",symbol:"wBTC",name:"Wrapped Bitcoin (Sollet)",decimals:6,logo:"https://img.raydium.io/icon/9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E.png",type:"SPL"},{address:"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",symbol:"BONK",name:"BONK",decimals:5,logo:"https://img.raydium.io/icon/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263.png",type:"SPL"}],zero:"0",maxInt:"340282366920938463463374607431768211455"};const y="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiCgkgdGV4dC1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIGltYWdlLXJlbmRlcmluZz0ib3B0aW1pemVRdWFsaXR5IgoJIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDUuNCA0NS40IgoJIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ1LjQgNDUuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgo8L3N0eWxlPgo8cGF0aCBmaWxsPSIjMDAzN0MxIiBkPSJNMjguOCwyMi44bC02LjEsMTAuNmwtNi4xLTEwLjdMMjguOCwyMi44TDI4LjgsMjIuOHogTTM0LjksMTkuMkgxMC41bDEyLjIsMjEuNEwzNC45LDE5LjJ6IE02LjUsMTIuMWwyLDMuNgoJaDI4LjNsMi4xLTMuNkg2LjV6Ii8+Cjwvc3ZnPgo=";var v={name:"velas",id:"0x6a",networkId:"106",namespace:"eip155",label:"VELAS",fullName:"Velas EVM Mainnet",logo:y,currency:{name:"Velas",symbol:"VLX",decimals:18,address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"},wrapped:{address:"0xc579D1f3CF86749E05CD06f7ADe17856c2CE3126"},stables:{usd:["0xc111c29A988AE0C0087D97b33C6E6766808A3BD3","0x01445C31581c354b7338AC35693AB2001B50b9aE"]},explorer:"https://evmexplorer.velas.com",explorerUrlFor:({transaction:t,token:e,address:n})=>t?`https://evmexplorer.velas.com/tx/${t.id||t}`:e?`https://evmexplorer.velas.com/token/${e}`:n?`https://evmexplorer.velas.com/address/${n}`:void 0,endpoints:["https://mainnet.velas.com/rpc","https://evmexplorer.velas.com/rpc","https://explorer.velas.com/rpc"],tokens:[{address:"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",symbol:"VLX",name:"Velas",decimals:18,logo:y,type:"NATIVE"},{address:"0xc579D1f3CF86749E05CD06f7ADe17856c2CE3126",symbol:"WVLX",name:"Wrapped Velas",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0xc579d1f3cf86749e05cd06f7ade17856c2ce3126/logo.png?raw=true",type:"20"},{address:"0xc111c29A988AE0C0087D97b33C6E6766808A3BD3",symbol:"BUSD",name:"Multichain BUSD",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0xc111c29a988ae0c0087d97b33c6e6766808a3bd3/logo.png?raw=true",type:"20"},{address:"0x01445C31581c354b7338AC35693AB2001B50b9aE",symbol:"USDT",name:"Multichain USDT",decimals:6,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0x01445c31581c354b7338ac35693ab2001b50b9ae/logo.png?raw=true",type:"20"},{address:"0x85219708c49aa701871Ad330A94EA0f41dFf24Ca",symbol:"ETH",name:"ETH",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0x85219708c49aa701871ad330a94ea0f41dff24ca/logo.png?raw=true",type:"20"},{address:"0xaBf26902Fd7B624e0db40D31171eA9ddDf078351",symbol:"WAG",name:"WagyuSwap",decimals:18,logo:"https://github.com/wagyuswapapp/assets/blob/master/blockchains/velas/assets/0xabf26902fd7b624e0db40d31171ea9dddf078351/logo.png?raw=true",type:"20"}],zero:"0x0000000000000000000000000000000000000000",maxInt:"115792089237316195423570985008687907853269984665640564039457584007913129639935"};const b=[l,u,p,g,d,v];for(var w={ethereum:l,bsc:u,polygon:p,solana:g,fantom:d,velas:v,all:b,findById:function(t){let e=t;return e.match("0x0")&&(e=e.replace(/0x0+/,"0x")),b.find((t=>t.id&&t.id.toLowerCase()==e.toLowerCase()))},findByNetworkId:function(t){return t=t.toString(),b.find((e=>e.networkId==t))},findByName:function(t){return b.find((e=>e.name==t))}},M=function(t){var e=T(t),n=e[0],r=e[1];return 3*(n+r)/4-r},k=function(t){var e,n,r=T(t),i=r[0],o=r[1],a=new E(function(t,e,n){return 3*(e+n)/4-n}(0,i,o)),s=0,u=o>0?i-4:i;for(n=0;n>16&255,a[s++]=e>>8&255,a[s++]=255&e;2===o&&(e=x[t.charCodeAt(n)]<<2|x[t.charCodeAt(n+1)]>>4,a[s++]=255&e);1===o&&(e=x[t.charCodeAt(n)]<<10|x[t.charCodeAt(n+1)]<<4|x[t.charCodeAt(n+2)]>>2,a[s++]=e>>8&255,a[s++]=255&e);return a},L=function(t){for(var e,n=t.length,r=n%3,i=[],o=16383,a=0,s=n-r;as?s:a+o));1===r?(e=t[n-1],i.push(A[e>>2]+A[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"="));return i.join("")},A=[],x=[],E="undefined"!=typeof Uint8Array?Uint8Array:Array,N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S=0,I=N.length;S0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function j(t,e,n){for(var r,i,o=[],a=e;a>18&63]+A[i>>12&63]+A[i>>6&63]+A[63&i]);return o.join("")}x["-".charCodeAt(0)]=62,x["_".charCodeAt(0)]=63;var C={byteLength:M,toByteArray:k,fromByteArray:L},D=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},O=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m},_=o((function(t,e){var n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=function(t){+t!=t&&(t=0);return o.alloc(+t)},e.INSPECT_MAX_BYTES=50;var r=2147483647;function i(t){if(t>r)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,o.prototype),e}function o(t,e,n){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return u(t)}return a(t,e,n)}function a(t,e,n){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!o.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var n=0|d(t,e),r=i(n),a=r.write(t,e);a!==n&&(r=r.slice(0,a));return r}(t,e);if(ArrayBuffer.isView(t))return function(t){if(Q(t,Uint8Array)){var e=new Uint8Array(t);return l(e.buffer,e.byteOffset,e.byteLength)}return c(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Q(t,ArrayBuffer)||t&&Q(t.buffer,ArrayBuffer))return l(t,e,n);if("undefined"!=typeof SharedArrayBuffer&&(Q(t,SharedArrayBuffer)||t&&Q(t.buffer,SharedArrayBuffer)))return l(t,e,n);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return o.from(r,e,n);var a=function(t){if(o.isBuffer(t)){var e=0|h(t.length),n=i(e);return 0===n.length||t.copy(n,0,0,e),n}if(void 0!==t.length)return"number"!=typeof t.length||W(t.length)?i(0):c(t);if("Buffer"===t.type&&Array.isArray(t.data))return c(t.data)}(t);if(a)return a;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return o.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return s(t),i(t<0?0:0|h(t))}function c(t){for(var e=t.length<0?0:0|h(t.length),n=i(e),r=0;r=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|t}function d(t,e){if(o.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Q(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var n=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return R(t).length;default:if(i)return r?-1:B(t).length;e=(""+e).toLowerCase(),i=!0}}function f(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,n);case"utf8":case"utf-8":return L(this,e,n);case"ascii":return x(this,e,n);case"latin1":case"binary":return E(this,e,n);case"base64":return k(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function p(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),W(n=+n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i):r=i;var o=e.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function k(t,e,n){return 0===e&&n===t.length?C.fromByteArray(t):C.fromByteArray(t.slice(e,n))}function L(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);var n="",r=0;for(;rr.length?o.from(a).copy(r,i):Uint8Array.prototype.set.call(r,a,i);else{if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i)}i+=a.length}return r},o.byteLength=d,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;en&&(t+=" ... "),""},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(t,e,n,r,i){if(Q(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),u=Math.min(a,s),c=this.slice(r,i),l=t.slice(e,n),h=0;h>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return v(this,t,e,n);case"ascii":case"latin1":case"binary":return b(this,t,e,n);case"base64":return w(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function x(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function T(t,e,n,r,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function j(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function _(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,4),O(t,e,n,r,23,4),n+4}function z(t,e,n,r,i){return e=+e,n>>>=0,i||j(t,0,n,8),O(t,e,n,r,52,8),n+8}o.prototype.slice=function(t,e){var n=this.length;(t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e>>=0,e>>>=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o>>=0,e>>>=0,n||I(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUint8=o.prototype.readUInt8=function(t,e){return t>>>=0,e||I(t,1,this.length),this[t]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(t,e){return t>>>=0,e||I(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(t,e){return t>>>=0,e||I(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(t,e){return t>>>=0,e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(t,e){return t>>>=0,e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t>>>=0,e>>>=0,n||I(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t>>>=0,e>>>=0,n||I(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return t>>>=0,e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){t>>>=0,e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){t>>>=0,e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return t>>>=0,e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return t>>>=0,e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return t>>>=0,e||I(t,4,this.length),D(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return t>>>=0,e||I(t,4,this.length),D(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return t>>>=0,e||I(t,8,this.length),D(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return t>>>=0,e||I(t,8,this.length),D(this,t,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e>>>=0,n>>>=0,r)||T(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o>>=0,n>>>=0,r)||T(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,1,255,0),this[e]=255&t,e+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);T(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e>>>=0,!r){var i=Math.pow(2,8*n-1);T(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e>>>=0,n||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},o.prototype.writeFloatLE=function(t,e,n){return _(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return _(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(!o.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function R(t){return C.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function Q(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function W(t){return t!=t}var Y=function(){for(var t="0123456789abcdef",e=new Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)e[r+i]=t[n]+t[i];return e}()})),z=o((function(t){!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function i(t,e,n){if(i.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"==typeof t?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:_.Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,n){var r=a(t,n);return n-1>=e&&(r|=a(t,n-1)<<4),r}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=s(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(t){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];i.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?h[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],l=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);r=(p=p.idivn(l)).isZero()?m+r:h[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?i.prototype._countBits=function(t){return 32-Math.clz32(t)}:i.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function g(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return g(t,e,n)}Math.imul||(m=p),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):y(this,t,e)},i.prototype.mul=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},i.prototype.mulf=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),y(this,t,e)},i.prototype.imul=function(t){return this.clone().mulTo(t,this)},i.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!==(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==e){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[o.length+h])+(0|r.words[o.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modrn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},i.prototype.modn=function(t){return this.modrn(t)},i.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(h)),o.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s),a.isub(u)):(r.isub(e),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new A(t)},i.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(w,b),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new M;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new L}return v[t]=e,e},A.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new i(1)).iushrn(2);return this.pow(t,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,o),d=this.pow(t,o.addn(1).iushrn(1)),f=this.pow(t,o),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==a?(a<<=1,a|=h,(4===++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new x(t)},r(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,r)})); +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */let P=!1,B=!1;const R={debug:1,default:2,info:2,warning:3,error:4,off:5};let U=R.default,Q=null;const W=function(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((e=>{try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(n){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();var Y,F;!function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(Y||(Y={})),function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"}(F||(F={}));const H="0123456789abcdef";class G{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,e){const n=t.toLowerCase();null==R[n]&&this.throwArgumentError("invalid log level name","logLevel",t),U>R[n]||console.log.apply(console,e)}debug(...t){this._log(G.levels.DEBUG,t)}info(...t){this._log(G.levels.INFO,t)}warn(...t){this._log(G.levels.WARNING,t)}makeError(t,e,n){if(B)return this.makeError("censored error",e,{});e||(e=G.errors.UNKNOWN_ERROR),n||(n={});const r=[];Object.keys(n).forEach((t=>{const e=n[t];try{if(e instanceof Uint8Array){let n="";for(let t=0;t>4],n+=H[15&e[t]];r.push(t+"=Uint8Array(0x"+n+")")}else r.push(t+"="+JSON.stringify(e))}catch(e){r.push(t+"="+JSON.stringify(n[t].toString()))}})),r.push(`code=${e}`),r.push(`version=${this.version}`);const i=t;let o="";switch(e){case F.NUMERIC_FAULT:{o="NUMERIC_FAULT";const e=t;switch(e){case"overflow":case"underflow":case"division-by-zero":o+="-"+e;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break}case F.CALL_EXCEPTION:case F.INSUFFICIENT_FUNDS:case F.MISSING_NEW:case F.NONCE_EXPIRED:case F.REPLACEMENT_UNDERPRICED:case F.TRANSACTION_REPLACED:case F.UNPREDICTABLE_GAS_LIMIT:o=e}o&&(t+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),r.length&&(t+=" ("+r.join(", ")+")");const a=new Error(t);return a.reason=i,a.code=e,Object.keys(n).forEach((function(t){a[t]=n[t]})),a}throwError(t,e,n){throw this.makeError(t,e,n)}throwArgumentError(t,e,n){return this.throwError(t,G.errors.INVALID_ARGUMENT,{argument:e,value:n})}assert(t,e,n,r){t||this.throwError(e,n,r)}assertArgument(t,e,n,r){t||this.throwArgumentError(e,n,r)}checkNormalize(t){W&&this.throwError("platform missing String.prototype.normalize",G.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:W})}checkSafeUint53(t,e){"number"==typeof t&&(null==e&&(e="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(e,G.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(e,G.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,e,n){n=n?": "+n:"",te&&this.throwError("too many arguments"+n,G.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:e})}checkNew(t,e){t!==Object&&null!=t||this.throwError("missing new",G.errors.MISSING_NEW,{name:e.name})}checkAbstract(t,e){t===e?this.throwError("cannot instantiate abstract class "+JSON.stringify(e.name)+" directly; use a sub-class",G.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",G.errors.MISSING_NEW,{name:e.name})}static globalLogger(){return Q||(Q=new G("logger/5.7.0")),Q}static setCensorship(t,e){if(!t&&e&&this.globalLogger().throwError("cannot permanently disable censorship",G.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),P){if(!t)return;this.globalLogger().throwError("error censorship permanent",G.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}B=!!t,P=!!e}static setLogLevel(t){const e=R[t.toLowerCase()];null!=e?U=e:G.globalLogger().warn("invalid log level - "+t)}static from(t){return new G(t)}}G.errors=F,G.levels=Y;const Z=new G("bytes/5.7.0");function V(t){return!!t.toHexString}function J(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return J(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function q(t){return nt(t)&&!(t.length%2)||K(t)}function X(t){return"number"==typeof t&&t==t&&t%1==0}function K(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!X(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function $(t,e){if(e||(e={}),"number"==typeof t){Z.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),J(new Uint8Array(e))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),V(t)&&(t=t.toHexString()),nt(t)){let n=t.substring(2);n.length%2&&("left"===e.hexPad?n="0"+n:"right"===e.hexPad?n+="0":Z.throwArgumentError("hex data is odd-length","value",t));const r=[];for(let t=0;t$(t))),n=e.reduce(((t,e)=>t+e.length),0),r=new Uint8Array(n);return e.reduce(((t,e)=>(r.set(e,t),t+e.length)),0),J(r)}function et(t){let e=$(t);if(0===e.length)return e;let n=0;for(;n>4]+"0123456789abcdef"[15&r]}return e}return Z.throwArgumentError("invalid hexlify value","value",t)}function it(t){if("string"!=typeof t)t=rt(t);else if(!nt(t)||t.length%2)return null;return(t.length-2)/2}function ot(t,e,n){return"string"!=typeof t?t=rt(t):(!nt(t)||t.length%2)&&Z.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=n?"0x"+t.substring(e,2+2*n):"0x"+t.substring(e)}function at(t){let e="0x";return t.forEach((t=>{e+=rt(t).substring(2)})),e}function st(t){const e=function(t){"string"!=typeof t&&(t=rt(t));nt(t)||Z.throwArgumentError("invalid hex string","value",t);t=t.substring(2);let e=0;for(;e2*e+2&&Z.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function ct(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(q(t)){let n=$(t);64===n.length?(e.v=27+(n[32]>>7),n[32]&=127,e.r=rt(n.slice(0,32)),e.s=rt(n.slice(32,64))):65===n.length?(e.r=rt(n.slice(0,32)),e.s=rt(n.slice(32,64)),e.v=n[64]):Z.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:Z.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(n[32]|=128),e._vs=rt(n.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){const n=function(t,e){(t=$(t)).length>e&&Z.throwArgumentError("value out of range","value",arguments[0]);const n=new Uint8Array(e);return n.set(t,e-t.length),J(n)}($(e._vs),32);e._vs=rt(n);const r=n[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=r:e.recoveryParam!==r&&Z.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),n[0]&=127;const i=rt(n);null==e.s?e.s=i:e.s!==i&&Z.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?Z.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{const n=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==n&&Z.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&nt(e.r)?e.r=ut(e.r,32):Z.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&nt(e.s)?e.s=ut(e.s,32):Z.throwArgumentError("signature missing or invalid s","signature",t);const n=$(e.s);n[0]>=128&&Z.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(n[0]|=128);const r=rt(n);e._vs&&(nt(e._vs)||Z.throwArgumentError("signature invalid _vs","signature",t),e._vs=ut(e._vs,32)),null==e._vs?e._vs=r:e._vs!==r&&Z.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}var lt=z.BN;const ht=new G("bignumber/5.7.0"),dt={};let ft=!1;class pt{constructor(t,e){t!==dt&&ht.throwError("cannot call constructor directly; use BigNumber.from",G.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=e,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return gt(yt(this).fromTwos(t))}toTwos(t){return gt(yt(this).toTwos(t))}abs(){return"-"===this._hex[0]?pt.from(this._hex.substring(1)):this}add(t){return gt(yt(this).add(yt(t)))}sub(t){return gt(yt(this).sub(yt(t)))}div(t){return pt.from(t).isZero()&&vt("division-by-zero","div"),gt(yt(this).div(yt(t)))}mul(t){return gt(yt(this).mul(yt(t)))}mod(t){const e=yt(t);return e.isNeg()&&vt("division-by-zero","mod"),gt(yt(this).umod(e))}pow(t){const e=yt(t);return e.isNeg()&&vt("negative-power","pow"),gt(yt(this).pow(e))}and(t){const e=yt(t);return(this.isNegative()||e.isNeg())&&vt("unbound-bitwise-result","and"),gt(yt(this).and(e))}or(t){const e=yt(t);return(this.isNegative()||e.isNeg())&&vt("unbound-bitwise-result","or"),gt(yt(this).or(e))}xor(t){const e=yt(t);return(this.isNegative()||e.isNeg())&&vt("unbound-bitwise-result","xor"),gt(yt(this).xor(e))}mask(t){return(this.isNegative()||t<0)&&vt("negative-width","mask"),gt(yt(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&vt("negative-width","shl"),gt(yt(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&vt("negative-width","shr"),gt(yt(this).shrn(t))}eq(t){return yt(this).eq(yt(t))}lt(t){return yt(this).lt(yt(t))}lte(t){return yt(this).lte(yt(t))}gt(t){return yt(this).gt(yt(t))}gte(t){return yt(this).gte(yt(t))}isNegative(){return"-"===this._hex[0]}isZero(){return yt(this).isZero()}toNumber(){try{return yt(this).toNumber()}catch(t){vt("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return ht.throwError("this platform does not support BigInt",G.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?ft||(ft=!0,ht.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?ht.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",G.errors.UNEXPECTED_ARGUMENT,{}):ht.throwError("BigNumber.toString does not accept parameters",G.errors.UNEXPECTED_ARGUMENT,{})),yt(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof pt)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new pt(dt,mt(t)):t.match(/^-?[0-9]+$/)?new pt(dt,mt(new lt(t))):ht.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&vt("underflow","BigNumber.from",t),(t>=9007199254740991||t<=-9007199254740991)&&vt("overflow","BigNumber.from",t),pt.from(String(t));const e=t;if("bigint"==typeof e)return pt.from(e.toString());if(K(e))return pt.from(rt(e));if(e)if(e.toHexString){const t=e.toHexString();if("string"==typeof t)return pt.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(nt(t)||"-"===t[0]&&nt(t.substring(1))))return pt.from(t)}return ht.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!(!t||!t._isBigNumber)}}function mt(t){if("string"!=typeof t)return mt(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&ht.throwArgumentError("invalid hex","value",t),"0x00"===(t=mt(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function gt(t){return pt.from(mt(t))}function yt(t){const e=pt.from(t).toHexString();return"-"===e[0]?new lt("-"+e.substring(3),16):new lt(e.substring(2),16)}function vt(t,e,n){const r={fault:t,operation:e};return null!=n&&(r.value=n),ht.throwError(t,G.errors.NUMERIC_FAULT,r)}const bt=new G("bignumber/5.7.0"),wt={},Mt=pt.from(0),kt=pt.from(-1);function Lt(t,e,n,r){const i={fault:e,operation:n};return void 0!==r&&(i.value=r),bt.throwError(t,G.errors.NUMERIC_FAULT,i)}let At="0";for(;At.length<256;)At+=At;function xt(t){if("number"!=typeof t)try{t=pt.from(t).toNumber()}catch(t){}return"number"==typeof t&&t>=0&&t<=256&&!(t%1)?"1"+At.substring(0,t):bt.throwArgumentError("invalid decimal size","decimals",t)}function Et(t,e){null==e&&(e=0);const n=xt(e),r=(t=pt.from(t)).lt(Mt);r&&(t=t.mul(kt));let i=t.mod(n).toString();for(;i.length2&&bt.throwArgumentError("too many decimal points","value",t);let o=i[0],a=i[1];for(o||(o="0"),a||(a="0");"0"===a[a.length-1];)a=a.substring(0,a.length-1);for(a.length>n.length-1&&Lt("fractional component exceeds decimals","underflow","parseFixed"),""===a&&(a="0");a.lengthnull==t[e]?r:(typeof t[e]!==n&&bt.throwArgumentError("invalid fixed format ("+e+" not "+n+")","format."+e,t[e]),t[e]);e=i("signed","boolean",e),n=i("width","number",n),r=i("decimals","number",r)}return n%8&&bt.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",n),r>80&&bt.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",r),new St(wt,e,n,r)}}class It{constructor(t,e,n,r){t!==wt&&bt.throwError("cannot use FixedNumber constructor; use FixedNumber.from",G.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=r,this._hex=e,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&bt.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const e=Nt(this._value,this.format.decimals),n=Nt(t._value,t.format.decimals);return It.fromValue(e.add(n),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const e=Nt(this._value,this.format.decimals),n=Nt(t._value,t.format.decimals);return It.fromValue(e.sub(n),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const e=Nt(this._value,this.format.decimals),n=Nt(t._value,t.format.decimals);return It.fromValue(e.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const e=Nt(this._value,this.format.decimals),n=Nt(t._value,t.format.decimals);return It.fromValue(e.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=It.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return this.isNegative()&&n&&(e=e.subUnsafe(Tt.toFormat(e.format))),e}ceiling(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=It.from(t[0],this.format);const n=!t[1].match(/^(0*)$/);return!this.isNegative()&&n&&(e=e.addUnsafe(Tt.toFormat(e.format))),e}round(t){null==t&&(t=0);const e=this.toString().split(".");if(1===e.length&&e.push("0"),(t<0||t>80||t%1)&&bt.throwArgumentError("invalid decimal count","decimals",t),e[1].length<=t)return this;const n=It.from("1"+At.substring(0,t),this.format),r=jt.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(r).floor().divUnsafe(n)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(t){if(null==t)return this._hex;t%8&&bt.throwArgumentError("invalid byte width","width",t);return ut(pt.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString(),t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return It.fromString(this._value,t)}static fromValue(t,e,n){return null!=n||null==e||function(t){return null!=t&&(pt.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||nt(t)||"bigint"==typeof t||K(t))}(e)||(n=e,e=null),null==e&&(e=0),null==n&&(n="fixed"),It.fromString(Et(t,e),St.from(n))}static fromString(t,e){null==e&&(e="fixed");const n=St.from(e),r=Nt(t,n.decimals);!n.signed&&r.lt(Mt)&&Lt("unsigned value cannot be negative","overflow","value",t);let i=null;n.signed?i=r.toTwos(n.width).toHexString():(i=r.toHexString(),i=ut(i,n.width/8));const o=Et(r,n.decimals);return new It(wt,i,o,n)}static fromBytes(t,e){null==e&&(e="fixed");const n=St.from(e);if($(t).length>n.width/8)throw new Error("overflow");let r=pt.from(t);n.signed&&(r=r.fromTwos(n.width));const i=r.toTwos((n.signed?0:1)+n.width).toHexString(),o=Et(r,n.decimals);return new It(wt,i,o,n)}static from(t,e){if("string"==typeof t)return It.fromString(t,e);if(K(t))return It.fromBytes(t,e);try{return It.fromValue(t,0,e)}catch(t){if(t.code!==G.errors.INVALID_ARGUMENT)throw t}return bt.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!(!t||!t._isFixedNumber)}}const Tt=It.from(1),jt=It.from("0.5");var Ct=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Dt=new G("properties/5.7.0");function Ot(t,e,n){Object.defineProperty(t,e,{enumerable:!0,value:n,writable:!1})}function _t(t,e){for(let n=0;n<32;n++){if(t[e])return t[e];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function zt(t){return Ct(this,void 0,void 0,(function*(){const e=Object.keys(t).map((e=>{const n=t[e];return Promise.resolve(n).then((t=>({key:e,value:t})))}));return(yield Promise.all(e)).reduce(((t,e)=>(t[e.key]=e.value,t)),{})}))}function Pt(t){const e={};for(const n in t)e[n]=t[n];return e}const Bt={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function Rt(t){if(null==t||Bt[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const e=Object.keys(t);for(let n=0;nQt(t))));if("object"==typeof t){const e={};for(const n in t){const r=t[n];void 0!==r&&Ot(e,n,Qt(r))}return e}return Dt.throwArgumentError("Cannot deepCopy "+typeof t,"object",t)}function Qt(t){return Ut(t)}class Wt{constructor(t){for(const e in t)this[e]=Qt(t[e])}}const Yt=new G("abi/5.7.0"),Ft={};let Ht={calldata:!0,memory:!0,storage:!0},Gt={calldata:!0,memory:!0};function Zt(t,e){if("bytes"===t||"string"===t){if(Ht[e])return!0}else if("address"===t){if("payable"===e)return!0}else if((t.indexOf("[")>=0||"tuple"===t)&&Gt[e])return!0;return(Ht[e]||"payable"===e)&&Yt.throwArgumentError("invalid modifier","name",e),!1}function Vt(t,e){for(let n in e)Ot(t,n,e[n])}const Jt=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),qt=new RegExp(/^(.*)\[([0-9]*)\]$/);class Xt{constructor(t,e){t!==Ft&&Yt.throwError("use fromString",G.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),Vt(this,e);let n=this.type.match(qt);Vt(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:Xt.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(t){if(t||(t=Jt.sighash),Jt[t]||Yt.throwArgumentError("invalid format type","format",t),t===Jt.json){let e={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(e.indexed=this.indexed),this.components&&(e.components=this.components.map((e=>JSON.parse(e.format(t))))),JSON.stringify(e)}let e="";return"array"===this.baseType?(e+=this.arrayChildren.format(t),e+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(t!==Jt.sighash&&(e+=this.type),e+="("+this.components.map((e=>e.format(t))).join(t===Jt.full?", ":",")+")"):e+=this.type,t!==Jt.sighash&&(!0===this.indexed&&(e+=" indexed"),t===Jt.full&&this.name&&(e+=" "+this.name)),e}static from(t,e){return"string"==typeof t?Xt.fromString(t,e):Xt.fromObject(t)}static fromObject(t){return Xt.isParamType(t)?t:new Xt(Ft,{name:t.name||null,type:ue(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(Xt.fromObject):null})}static fromString(t,e){return n=function(t,e){let n=t;function r(e){Yt.throwArgumentError(`unexpected character at position ${e}`,"param",t)}function i(t){let n={type:"",name:"",parent:t,state:{allowType:!0}};return e&&(n.indexed=!1),n}t=t.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},a=o;for(let n=0;nXt.fromString(t,e)))}class $t{constructor(t,e){t!==Ft&&Yt.throwError("use a static from method",G.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),Vt(this,e),this._isFragment=!0,Object.freeze(this)}static from(t){return $t.isFragment(t)?t:"string"==typeof t?$t.fromString(t):$t.fromObject(t)}static fromObject(t){if($t.isFragment(t))return t;switch(t.type){case"function":return oe.fromObject(t);case"event":return te.fromObject(t);case"constructor":return ie.fromObject(t);case"error":return se.fromObject(t);case"fallback":case"receive":return null}return Yt.throwArgumentError("invalid fragment object","value",t)}static fromString(t){return"event"===(t=(t=(t=t.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?te.fromString(t.substring(5).trim()):"function"===t.split(" ")[0]?oe.fromString(t.substring(8).trim()):"constructor"===t.split("(")[0].trim()?ie.fromString(t.trim()):"error"===t.split(" ")[0]?se.fromString(t.substring(5).trim()):Yt.throwArgumentError("unsupported fragment","value",t)}static isFragment(t){return!(!t||!t._isFragment)}}class te extends $t{format(t){if(t||(t=Jt.sighash),Jt[t]||Yt.throwArgumentError("invalid format type","format",t),t===Jt.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Jt.sighash&&(e+="event "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Jt.full?", ":",")+") ",t!==Jt.sighash&&this.anonymous&&(e+="anonymous "),e.trim()}static from(t){return"string"==typeof t?te.fromString(t):te.fromObject(t)}static fromObject(t){if(te.isEventFragment(t))return t;"event"!==t.type&&Yt.throwArgumentError("invalid event object","value",t);const e={name:le(t.name),anonymous:t.anonymous,inputs:t.inputs?t.inputs.map(Xt.fromObject):[],type:"event"};return new te(Ft,e)}static fromString(t){let e=t.match(he);e||Yt.throwArgumentError("invalid event string","value",t);let n=!1;return e[3].split(" ").forEach((t=>{switch(t.trim()){case"anonymous":n=!0;break;case"":break;default:Yt.warn("unknown modifier: "+t)}})),te.fromObject({name:e[1].trim(),anonymous:n,inputs:Kt(e[2],!0),type:"event"})}static isEventFragment(t){return t&&t._isFragment&&"event"===t.type}}function ee(t,e){e.gas=null;let n=t.split("@");return 1!==n.length?(n.length>2&&Yt.throwArgumentError("invalid human-readable ABI signature","value",t),n[1].match(/^[0-9]+$/)||Yt.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=pt.from(n[1]),n[0]):t}function ne(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach((t=>{switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}}))}function re(t){let e={constant:!1,payable:!0,stateMutability:"payable"};return null!=t.stateMutability?(e.stateMutability=t.stateMutability,e.constant="view"===e.stateMutability||"pure"===e.stateMutability,null!=t.constant&&!!t.constant!==e.constant&&Yt.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable="payable"===e.stateMutability,null!=t.payable&&!!t.payable!==e.payable&&Yt.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):null!=t.payable?(e.payable=!!t.payable,null!=t.constant||e.payable||"constructor"===t.type||Yt.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&Yt.throwArgumentError("cannot have constant payable function","value",t)):null!=t.constant?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):"constructor"!==t.type&&Yt.throwArgumentError("unable to determine stateMutability","value",t),e}class ie extends $t{format(t){if(t||(t=Jt.sighash),Jt[t]||Yt.throwArgumentError("invalid format type","format",t),t===Jt.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});t===Jt.sighash&&Yt.throwError("cannot format a constructor for sighash",G.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let e="constructor("+this.inputs.map((e=>e.format(t))).join(t===Jt.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "),e.trim()}static from(t){return"string"==typeof t?ie.fromString(t):ie.fromObject(t)}static fromObject(t){if(ie.isConstructorFragment(t))return t;"constructor"!==t.type&&Yt.throwArgumentError("invalid constructor object","value",t);let e=re(t);e.constant&&Yt.throwArgumentError("constructor cannot be constant","value",t);const n={name:null,type:t.type,inputs:t.inputs?t.inputs.map(Xt.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?pt.from(t.gas):null};return new ie(Ft,n)}static fromString(t){let e={type:"constructor"},n=(t=ee(t,e)).match(he);return n&&"constructor"===n[1].trim()||Yt.throwArgumentError("invalid constructor string","value",t),e.inputs=Kt(n[2].trim(),!1),ne(n[3].trim(),e),ie.fromObject(e)}static isConstructorFragment(t){return t&&t._isFragment&&"constructor"===t.type}}class oe extends ie{format(t){if(t||(t=Jt.sighash),Jt[t]||Yt.throwArgumentError("invalid format type","format",t),t===Jt.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t)))),outputs:this.outputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Jt.sighash&&(e+="function "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Jt.full?", ":",")+") ",t!==Jt.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "):this.constant&&(e+="view "),this.outputs&&this.outputs.length&&(e+="returns ("+this.outputs.map((e=>e.format(t))).join(", ")+") "),null!=this.gas&&(e+="@"+this.gas.toString()+" ")),e.trim()}static from(t){return"string"==typeof t?oe.fromString(t):oe.fromObject(t)}static fromObject(t){if(oe.isFunctionFragment(t))return t;"function"!==t.type&&Yt.throwArgumentError("invalid function object","value",t);let e=re(t);const n={type:t.type,name:le(t.name),constant:e.constant,inputs:t.inputs?t.inputs.map(Xt.fromObject):[],outputs:t.outputs?t.outputs.map(Xt.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?pt.from(t.gas):null};return new oe(Ft,n)}static fromString(t){let e={type:"function"},n=(t=ee(t,e)).split(" returns ");n.length>2&&Yt.throwArgumentError("invalid function string","value",t);let r=n[0].match(he);if(r||Yt.throwArgumentError("invalid function signature","value",t),e.name=r[1].trim(),e.name&&le(e.name),e.inputs=Kt(r[2],!1),ne(r[3].trim(),e),n.length>1){let r=n[1].match(he);""==r[1].trim()&&""==r[3].trim()||Yt.throwArgumentError("unexpected tokens","value",t),e.outputs=Kt(r[2],!1)}else e.outputs=[];return oe.fromObject(e)}static isFunctionFragment(t){return t&&t._isFragment&&"function"===t.type}}function ae(t){const e=t.format();return"Error(string)"!==e&&"Panic(uint256)"!==e||Yt.throwArgumentError(`cannot specify user defined ${e} error`,"fragment",t),t}class se extends $t{format(t){if(t||(t=Jt.sighash),Jt[t]||Yt.throwArgumentError("invalid format type","format",t),t===Jt.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Jt.sighash&&(e+="error "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Jt.full?", ":",")+") ",e.trim()}static from(t){return"string"==typeof t?se.fromString(t):se.fromObject(t)}static fromObject(t){if(se.isErrorFragment(t))return t;"error"!==t.type&&Yt.throwArgumentError("invalid error object","value",t);const e={type:t.type,name:le(t.name),inputs:t.inputs?t.inputs.map(Xt.fromObject):[]};return ae(new se(Ft,e))}static fromString(t){let e={type:"error"},n=t.match(he);return n||Yt.throwArgumentError("invalid error signature","value",t),e.name=n[1].trim(),e.name&&le(e.name),e.inputs=Kt(n[2],!1),ae(se.fromObject(e))}static isErrorFragment(t){return t&&t._isFragment&&"error"===t.type}}function ue(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}const ce=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function le(t){return t&&t.match(ce)||Yt.throwArgumentError(`invalid identifier "${t}"`,"value",t),t}const he=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");const de=new G("abi/5.7.0");class fe{constructor(t,e,n,r){this.name=t,this.type=e,this.localName=n,this.dynamic=r}_throwError(t,e){de.throwArgumentError(t,this.localName,e)}}class pe{constructor(t){Ot(this,"wordSize",t||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(t)}get data(){return at(this._data)}get length(){return this._dataLength}_writeData(t){return this._data.push(t),this._dataLength+=t.length,t.length}appendWriter(t){return this._writeData(tt(t._data))}writeBytes(t){let e=$(t);const n=e.length%this.wordSize;return n&&(e=tt([e,this._padding.slice(n)])),this._writeData(e)}_getValue(t){let e=$(pt.from(t));return e.length>this.wordSize&&de.throwError("value out-of-bounds",G.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:e.length}),e.length%this.wordSize&&(e=tt([this._padding.slice(e.length%this.wordSize),e])),e}writeValue(t){return this._writeData(this._getValue(t))}writeUpdatableValue(){const t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,e=>{this._data[t]=this._getValue(e)}}}class me{constructor(t,e,n,r){Ot(this,"_data",$(t)),Ot(this,"wordSize",e||32),Ot(this,"_coerceFunc",n),Ot(this,"allowLoose",r),this._offset=0}get data(){return rt(this._data)}get consumed(){return this._offset}static coerce(t,e){let n=t.match("^u?int([0-9]+)$");return n&&parseInt(n[1])<=48&&(e=e.toNumber()),e}coerce(t,e){return this._coerceFunc?this._coerceFunc(t,e):me.coerce(t,e)}_peekBytes(t,e,n){let r=Math.ceil(e/this.wordSize)*this.wordSize;return this._offset+r>this._data.length&&(this.allowLoose&&n&&this._offset+e<=this._data.length?r=e:de.throwError("data out-of-bounds",G.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+r})),this._data.slice(this._offset,this._offset+r)}subReader(t){return new me(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(t,e){let n=this._peekBytes(0,t,!!e);return this._offset+=n.length,n.slice(0,t)}readValue(){return pt.from(this.readBytes(this.wordSize))}}var ge=void 0!==ge?ge:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function ye(){throw new Error("setTimeout has not been defined")}function ve(){throw new Error("clearTimeout has not been defined")}var be=ye,we=ve;function Me(t){if(be===setTimeout)return setTimeout(t,0);if((be===ye||!be)&&setTimeout)return be=setTimeout,setTimeout(t,0);try{return be(t,0)}catch(e){try{return be.call(null,t,0)}catch(e){return be.call(this,t,0)}}}"function"==typeof ge.setTimeout&&(be=setTimeout),"function"==typeof ge.clearTimeout&&(we=clearTimeout);var ke,Le=[],Ae=!1,xe=-1;function Ee(){Ae&&ke&&(Ae=!1,ke.length?Le=ke.concat(Le):xe=-1,Le.length&&Ne())}function Ne(){if(!Ae){var t=Me(Ee);Ae=!0;for(var e=Le.length;e;){for(ke=Le,Le=[];++xe1)for(var n=1;n>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var r=0;r<50;++r)this.s[r]=0}function C(t,e,n){j.call(this,t,e,n)}j.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var n,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(e);if(null===t)throw new Error(e);if(s&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||s&&ArrayBuffer.isView(t)))throw new Error(e);n=!0}for(var i,o,a=this.blocks,u=this.byteCount,c=t.length,h=this.blockCount,d=0,f=this.s;d>2]|=t[d]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(a[i>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=u){for(this.start=i-u,this.block=a[h],i=0;i>=8);n>0;)i.unshift(n),n=255&(t>>=8),++r;return e?i.push(r):i.unshift(r),this.update(i),i.length},j.prototype.encodeString=function(t){var n,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(e);if(null===t)throw new Error(e);if(s&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||s&&ArrayBuffer.isView(t)))throw new Error(e);n=!0}var i=0,o=t.length;if(n)i=o;else for(var a=0;a=57344?i+=3:(u=65536+((1023&u)<<10|1023&t.charCodeAt(++a)),i+=4)}return i+=this.encode(8*i),this.update(t),i},j.prototype.bytepad=function(t,e){for(var n=this.encode(e),r=0;r>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[n],e=1;e>4&15]+u[15&t]+u[t>>12&15]+u[t>>8&15]+u[t>>20&15]+u[t>>16&15]+u[t>>28&15]+u[t>>24&15];a%e==0&&(D(n),o=0)}return i&&(t=n[o],s+=u[t>>4&15]+u[15&t],i>1&&(s+=u[t>>12&15]+u[t>>8&15]),i>2&&(s+=u[t>>20&15]+u[t>>16&15])),s},j.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,n=this.s,r=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;t=i?new ArrayBuffer(r+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(t);a>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;s%n==0&&D(r)}return o&&(t=s<<2,e=r[a],u[t]=255&e,o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u},C.prototype=new j,C.prototype.finalize=function(){return this.encode(this.outputBits,!0),j.prototype.finalize.call(this)};var D=function(t){var e,n,r,i,o,a,s,u,c,l,d,f,p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I,T,j,C,D,O,_,z,P,B,R,U,Q,W,Y,F,H,G,Z,V,J,q,X,K,$,tt,et,nt,rt,it,ot,at,st,ut,ct,lt;for(r=0;r<48;r+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],a=t[2]^t[12]^t[22]^t[32]^t[42],s=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],l=t[6]^t[16]^t[26]^t[36]^t[46],d=t[7]^t[17]^t[27]^t[37]^t[47],e=(f=t[8]^t[18]^t[28]^t[38]^t[48])^(a<<1|s>>>31),n=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(s<<1|a>>>31),t[0]^=e,t[1]^=n,t[10]^=e,t[11]^=n,t[20]^=e,t[21]^=n,t[30]^=e,t[31]^=n,t[40]^=e,t[41]^=n,e=i^(u<<1|c>>>31),n=o^(c<<1|u>>>31),t[2]^=e,t[3]^=n,t[12]^=e,t[13]^=n,t[22]^=e,t[23]^=n,t[32]^=e,t[33]^=n,t[42]^=e,t[43]^=n,e=a^(l<<1|d>>>31),n=s^(d<<1|l>>>31),t[4]^=e,t[5]^=n,t[14]^=e,t[15]^=n,t[24]^=e,t[25]^=n,t[34]^=e,t[35]^=n,t[44]^=e,t[45]^=n,e=u^(f<<1|p>>>31),n=c^(p<<1|f>>>31),t[6]^=e,t[7]^=n,t[16]^=e,t[17]^=n,t[26]^=e,t[27]^=n,t[36]^=e,t[37]^=n,t[46]^=e,t[47]^=n,e=l^(i<<1|o>>>31),n=d^(o<<1|i>>>31),t[8]^=e,t[9]^=n,t[18]^=e,t[19]^=n,t[28]^=e,t[29]^=n,t[38]^=e,t[39]^=n,t[48]^=e,t[49]^=n,m=t[0],g=t[1],Z=t[11]<<4|t[10]>>>28,V=t[10]<<4|t[11]>>>28,I=t[20]<<3|t[21]>>>29,T=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,Y=t[40]<<18|t[41]>>>14,F=t[41]<<18|t[40]>>>14,_=t[2]<<1|t[3]>>>31,z=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,J=t[22]<<10|t[23]>>>22,q=t[23]<<10|t[22]>>>22,j=t[33]<<13|t[32]>>>19,C=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,nt=t[4]<<30|t[5]>>>2,P=t[14]<<6|t[15]>>>26,B=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,w=t[24]<<11|t[25]>>>21,X=t[34]<<15|t[35]>>>17,K=t[35]<<15|t[34]>>>17,D=t[45]<<29|t[44]>>>3,O=t[44]<<29|t[45]>>>3,x=t[6]<<28|t[7]>>>4,E=t[7]<<28|t[6]>>>4,rt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,R=t[26]<<25|t[27]>>>7,U=t[27]<<25|t[26]>>>7,M=t[36]<<21|t[37]>>>11,k=t[37]<<21|t[36]>>>11,$=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,H=t[8]<<27|t[9]>>>5,G=t[9]<<27|t[8]>>>5,N=t[18]<<20|t[19]>>>12,S=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,Q=t[38]<<8|t[39]>>>24,W=t[39]<<8|t[38]>>>24,L=t[48]<<14|t[49]>>>18,A=t[49]<<14|t[48]>>>18,t[0]=m^~y&b,t[1]=g^~v&w,t[10]=x^~N&I,t[11]=E^~S&T,t[20]=_^~P&R,t[21]=z^~B&U,t[30]=H^~Z&J,t[31]=G^~V&q,t[40]=et^~rt&ot,t[41]=nt^~it&at,t[2]=y^~b&M,t[3]=v^~w&k,t[12]=N^~I&j,t[13]=S^~T&C,t[22]=P^~R&Q,t[23]=B^~U&W,t[32]=Z^~J&X,t[33]=V^~q&K,t[42]=rt^~ot&st,t[43]=it^~at&ut,t[4]=b^~M&L,t[5]=w^~k&A,t[14]=I^~j&D,t[15]=T^~C&O,t[24]=R^~Q&Y,t[25]=U^~W&F,t[34]=J^~X&$,t[35]=q^~K&tt,t[44]=ot^~st&ct,t[45]=at^~ut<,t[6]=M^~L&m,t[7]=k^~A&g,t[16]=j^~D&x,t[17]=C^~O&E,t[26]=Q^~Y&_,t[27]=W^~F&z,t[36]=X^~$&H,t[37]=K^~tt&G,t[46]=st^~ct&et,t[47]=ut^~lt&nt,t[8]=L^~m&y,t[9]=A^~g&v,t[18]=D^~x&N,t[19]=O^~E&S,t[28]=Y^~_&P,t[29]=F^~z&B,t[38]=$^~H&Z,t[39]=tt^~G&V,t[48]=ct^~et&rt,t[49]=lt^~nt&it,t[0]^=h[r],t[1]^=h[r+1]};if(a)t.exports=L;else for(x=0;x>=8;return e}function He(t,e,n){let r=0;for(let i=0;ie+1+r&&Ye.throwError("child data too short",G.errors.BUFFER_OVERRUN,{})}return{consumed:1+r,result:i}}function Je(t,e){if(0===t.length&&Ye.throwError("data too short",G.errors.BUFFER_OVERRUN,{}),t[e]>=248){const n=t[e]-247;e+1+n>t.length&&Ye.throwError("data short segment too short",G.errors.BUFFER_OVERRUN,{});const r=He(t,e+1,n);return e+1+n+r>t.length&&Ye.throwError("data long segment too short",G.errors.BUFFER_OVERRUN,{}),Ve(t,e,e+1+n,n+r)}if(t[e]>=192){const n=t[e]-192;return e+1+n>t.length&&Ye.throwError("data array too short",G.errors.BUFFER_OVERRUN,{}),Ve(t,e,e+1,n)}if(t[e]>=184){const n=t[e]-183;e+1+n>t.length&&Ye.throwError("data array too short",G.errors.BUFFER_OVERRUN,{});const r=He(t,e+1,n);e+1+n+r>t.length&&Ye.throwError("data array too short",G.errors.BUFFER_OVERRUN,{});return{consumed:1+n+r,result:rt(t.slice(e+1+n,e+1+n+r))}}if(t[e]>=128){const n=t[e]-128;e+1+n>t.length&&Ye.throwError("data too short",G.errors.BUFFER_OVERRUN,{});return{consumed:1+n,result:rt(t.slice(e+1,e+1+n))}}return{consumed:1,result:rt(t[e])}}function qe(t){const e=$(t),n=Je(e,0);return n.consumed!==e.length&&Ye.throwArgumentError("invalid rlp data","data",t),n.result}const Xe=new G("address/5.7.0");function Ke(t){nt(t,20)||Xe.throwArgumentError("invalid address","address",t);const e=(t=t.toLowerCase()).substring(2).split(""),n=new Uint8Array(40);for(let t=0;t<40;t++)n[t]=e[t].charCodeAt(0);const r=$(We(n));for(let t=0;t<40;t+=2)r[t>>1]>>4>=8&&(e[t]=e[t].toUpperCase()),(15&r[t>>1])>=8&&(e[t+1]=e[t+1].toUpperCase());return"0x"+e.join("")}const $e={};for(let t=0;t<10;t++)$e[String(t)]=String(t);for(let t=0;t<26;t++)$e[String.fromCharCode(65+t)]=String(10+t);const tn=Math.floor(function(t){return Math.log10?Math.log10(t):Math.log(t)/Math.LN10}(9007199254740991));function en(t){let e=null;if("string"!=typeof t&&Xe.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=Ke(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&Xe.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==function(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>$e[t])).join("");for(;e.length>=tn;){let t=e.substring(0,tn);e=parseInt(t,10)%97+e.substring(t.length)}let n=String(98-parseInt(e,10)%97);for(;n.length<2;)n="0"+n;return n}(t)&&Xe.throwArgumentError("bad icap checksum","address",t),n=t.substring(4),e=new lt(n,36).toString(16);e.length<40;)e="0"+e;e=Ke("0x"+e)}else Xe.throwArgumentError("invalid address","address",t);var n;return e}function nn(t){let e=null;try{e=en(t.from)}catch(e){Xe.throwArgumentError("missing from address","transaction",t)}return en(ot(We(Ze([e,et($(pt.from(t.nonce).toHexString()))])),12))}class rn extends fe{constructor(t){super("address","address",t,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(t,e){try{e=en(e)}catch(t){this._throwError(t.message,e)}return t.writeValue(e)}decode(t){return en(ut(t.readValue().toHexString(),20))}}class on extends fe{constructor(t){super(t.name,t.type,void 0,t.dynamic),this.coder=t}defaultValue(){return this.coder.defaultValue()}encode(t,e){return this.coder.encode(t,e)}decode(t){return this.coder.decode(t)}}const an=new G("abi/5.7.0");function sn(t,e,n){let r=null;if(Array.isArray(n))r=n;else if(n&&"object"==typeof n){let t={};r=e.map((e=>{const r=e.localName;return r||an.throwError("cannot encode object for signature with missing names",G.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:n}),t[r]&&an.throwError("cannot encode object for signature with duplicate names",G.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:n}),t[r]=!0,n[r]}))}else an.throwArgumentError("invalid tuple value","tuple",n);e.length!==r.length&&an.throwArgumentError("types/value length mismatch","tuple",n);let i=new pe(t.wordSize),o=new pe(t.wordSize),a=[];e.forEach(((t,e)=>{let n=r[e];if(t.dynamic){let e=o.length;t.encode(o,n);let r=i.writeUpdatableValue();a.push((t=>{r(t+e)}))}else t.encode(i,n)})),a.forEach((t=>{t(i.length)}));let s=t.appendWriter(i);return s+=t.appendWriter(o),s}function un(t,e){let n=[],r=t.subReader(0);e.forEach((e=>{let i=null;if(e.dynamic){let n=t.readValue(),o=r.subReader(n.toNumber());try{i=e.decode(o)}catch(t){if(t.code===G.errors.BUFFER_OVERRUN)throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(t){if(t.code===G.errors.BUFFER_OVERRUN)throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}null!=i&&n.push(i)}));const i=e.reduce(((t,e)=>{const n=e.localName;return n&&(t[n]||(t[n]=0),t[n]++),t}),{});e.forEach(((t,e)=>{let r=t.localName;if(!r||1!==i[r])return;if("length"===r&&(r="_length"),null!=n[r])return;const o=n[e];o instanceof Error?Object.defineProperty(n,r,{enumerable:!0,get:()=>{throw o}}):n[r]=o}));for(let t=0;t{throw e}})}return Object.freeze(n)}class cn extends fe{constructor(t,e,n){super("array",t.type+"["+(e>=0?e:"")+"]",n,-1===e||t.dynamic),this.coder=t,this.length=e}defaultValue(){const t=this.coder.defaultValue(),e=[];for(let n=0;nt._data.length&&an.throwError("insufficient data length",G.errors.BUFFER_OVERRUN,{length:t._data.length,count:e}));let n=[];for(let t=0;t>6==2;r++)t++;return t}return t===kn.OVERRUN?n.length-e-1:0}!function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(Mn||(Mn={})),function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(kn||(kn={}));const An=Object.freeze({error:function(t,e,n,r,i){return wn.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",n)},ignore:Ln,replace:function(t,e,n,r,i){return t===kn.OVERLONG?(r.push(i),0):(r.push(65533),Ln(t,e,n))}});function xn(t,e){null==e&&(e=An.error),t=$(t);const n=[];let r=0;for(;r>7==0){n.push(i);continue}let o=null,a=null;if(192==(224&i))o=1,a=127;else if(224==(240&i))o=2,a=2047;else{if(240!=(248&i)){r+=e(128==(192&i)?kn.UNEXPECTED_CONTINUE:kn.BAD_PREFIX,r-1,t,n);continue}o=3,a=65535}if(r-1+o>=t.length){r+=e(kn.OVERRUN,r-1,t,n);continue}let s=i&(1<<8-o-1)-1;for(let i=0;i1114111?r+=e(kn.OUT_OF_RANGE,r-1-o,t,n,s):s>=55296&&s<=57343?r+=e(kn.UTF16_SURROGATE,r-1-o,t,n,s):s<=a?r+=e(kn.OVERLONG,r-1-o,t,n,s):n.push(s))}return n}function En(t,e=Mn.current){e!=Mn.current&&(wn.checkNormalize(),t=t.normalize(e));let n=[];for(let e=0;e>6|192),n.push(63&r|128);else if(55296==(64512&r)){e++;const i=t.charCodeAt(e);if(e>=t.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&r)<<10)+(1023&i);n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)}else n.push(r>>12|224),n.push(r>>6&63|128),n.push(63&r|128)}return $(n)}function Nn(t,e){return xn(t,e).map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("")}class Sn extends hn{constructor(t){super("string",t)}defaultValue(){return""}encode(t,e){return super.encode(t,En(e))}decode(t){return Nn(super.decode(t))}}class In extends fe{constructor(t,e){let n=!1;const r=[];t.forEach((t=>{t.dynamic&&(n=!0),r.push(t.type)}));super("tuple","tuple("+r.join(",")+")",e,n),this.coders=t}defaultValue(){const t=[];this.coders.forEach((e=>{t.push(e.defaultValue())}));const e=this.coders.reduce(((t,e)=>{const n=e.localName;return n&&(t[n]||(t[n]=0),t[n]++),t}),{});return this.coders.forEach(((n,r)=>{let i=n.localName;i&&1===e[i]&&("length"===i&&(i="_length"),null==t[i]&&(t[i]=t[r]))})),Object.freeze(t)}encode(t,e){return sn(t,this.coders,e)}decode(t){return t.coerce(this.name,un(t,this.coders))}}const Tn=new G("abi/5.7.0"),jn=new RegExp(/^bytes([0-9]*)$/),Cn=new RegExp(/^(u?int)([0-9]*)$/);const Dn=new class{constructor(t){Ot(this,"coerceFunc",t||null)}_getCoder(t){switch(t.baseType){case"address":return new rn(t.name);case"bool":return new ln(t.name);case"string":return new Sn(t.name);case"bytes":return new dn(t.name);case"array":return new cn(this._getCoder(t.arrayChildren),t.arrayLength,t.name);case"tuple":return new In((t.components||[]).map((t=>this._getCoder(t))),t.name);case"":return new pn(t.name)}let e=t.type.match(Cn);if(e){let n=parseInt(e[2]||"256");return(0===n||n>256||n%8!=0)&&Tn.throwArgumentError("invalid "+e[1]+" bit length","param",t),new bn(n/8,"int"===e[1],t.name)}if(e=t.type.match(jn),e){let n=parseInt(e[1]);return(0===n||n>32)&&Tn.throwArgumentError("invalid bytes length","param",t),new fn(n,t.name)}return Tn.throwArgumentError("invalid type","type",t.type)}_getWordSize(){return 32}_getReader(t,e){return new me(t,this._getWordSize(),this.coerceFunc,e)}_getWriter(){return new pe(this._getWordSize())}getDefaultValue(t){const e=t.map((t=>this._getCoder(Xt.from(t))));return new In(e,"_").defaultValue()}encode(t,e){t.length!==e.length&&Tn.throwError("types/values length mismatch",G.errors.INVALID_ARGUMENT,{count:{types:t.length,values:e.length},value:{types:t,values:e}});const n=t.map((t=>this._getCoder(Xt.from(t)))),r=new In(n,"_"),i=this._getWriter();return r.encode(i,e),i.data}decode(t,e,n){const r=t.map((t=>this._getCoder(Xt.from(t))));return new In(r,"_").decode(this._getReader($(e),n))}};function On(t){return We(En(t))}function _n(t){t=atob(t);const e=[];for(let n=0;n0&&Array.isArray(t)?i(t,e-1):n.push(t)}))};return i(t,e),n}function Bn(t){return function(t){let e=0;return()=>t[e++]}(function(t){let e=0;function n(){return t[e++]<<8|t[e++]}let r=n(),i=1,o=[0,1];for(let t=1;t>--u&1}const h=Math.pow(2,31),d=h>>>1,f=d>>1,p=h-1;let m=0;for(let t=0;t<31;t++)m=m<<1|l();let g=[],y=0,v=h;for(;;){let t=Math.floor(((m-y+1)*i-1)/v),e=0,n=r;for(;n-e>1;){let r=e+n>>>1;t>>1|l(),a=a<<1^d,s=(s^d)<<1|d|1;y=a,v=1+s-a}let b=r-4;return g.map((e=>{switch(e-b){case 3:return b+65792+(t[s++]<<16|t[s++]<<8|t[s++]);case 2:return b+256+(t[s++]<<8|t[s++]);case 1:return b+t[s++];default:return e-1}}))}(t))}function Rn(t){return 1&t?~t>>1:t>>1}function Un(t,e){let n=Array(t);for(let r=0,i=-1;re[t])):n}function Yn(t,e,n){let r=Array(t).fill(void 0).map((()=>[]));for(let i=0;ir[e].push(t)));return r}function Fn(t,e){let n=1+e(),r=e(),i=function(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(n)}return e}(e);return Pn(Yn(i.length,1+t,e).map(((t,e)=>{const o=t[0],a=t.slice(1);return Array(i[e]).fill(void 0).map(((t,e)=>{let i=e*r;return[o+e*n,a.map((t=>t+i))]}))})))}function Hn(t,e){return Yn(1+e(),1+t,e).map((t=>[t[0],t.slice(1)]))}const Gn=Bn(_n("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATAC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X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),Zn=new Set(Wn(Gn)),Vn=new Set(Wn(Gn)),Jn=function(t){let e=[];for(;;){let n=t();if(0==n)break;e.push(Fn(n,t))}for(;;){let n=t()-1;if(n<0)break;e.push(Hn(n,t))}return function(t){const e={};for(let n=0;nt-e));return function n(){let r=[];for(;;){let i=Wn(t,e);if(0==i.length)break;r.push({set:new Set(i),node:n()})}r.sort(((t,e)=>e.set.size-t.set.size));let i=t(),o=i%3;i=i/3|0;let a=!!(1&i);return i>>=1,{branches:r,valid:o,fe0f:a,save:1==i,check:2==i}}()}(Gn);function Xn(t){return function(t,e=Mn.current){return xn(En(t,e))}(t)}function Kn(t){return t.filter((t=>65039!=t))}function $n(t){for(let e of t.split(".")){let t=Xn(e);try{for(let e=t.lastIndexOf(95)-1;e>=0;e--)if(95!==t[e])throw new Error("underscore only allowed at start");if(t.length>=4&&t.every((t=>t<128))&&45===t[2]&&45===t[3])throw new Error("invalid label extension")}catch(t){throw new Error(`Invalid label "${e}": ${t.message}`)}}return t}function tr(t){return $n(function(t,e){let n=Xn(t).reverse(),r=[];for(;n.length;){let t=er(n);if(t){r.push(...e(t));continue}let i=n.pop();if(Zn.has(i)){r.push(i);continue}if(Vn.has(i))continue;let o=Jn[i];if(!o)throw new Error(`Disallowed codepoint: 0x${i.toString(16).toUpperCase()}`);r.push(...o)}return $n(function(t){return t.normalize("NFC")}(String.fromCodePoint(...r)))}(t,Kn))}function er(t,e){var n;let r,i,o=qn,a=[],s=t.length;for(e&&(e.length=0);s;){let u=t[--s];if(o=null===(n=o.branches.find((t=>t.set.has(u))))||void 0===n?void 0:n.node,!o)break;if(o.save)i=u;else if(o.check&&u===i)break;a.push(u),o.fe0f&&(a.push(65039),s>0&&65039==t[s-1]&&s--),o.valid&&(r=a.slice(),2==o.valid&&r.splice(1,1),e&&e.push(...t.slice(s).reverse()),t.length=s)}return r}const nr=new G("hash/5.7.0"),rr=new Uint8Array(32);function ir(t){if(0===t.length)throw new Error("invalid ENS name; empty component");return t}function or(t){const e=En(tr(t)),n=[];if(0===t.length)return n;let r=0;for(let t=0;t=e.length)throw new Error("invalid ENS name; empty component");return n.push(ir(e.slice(r))),n}function ar(t){"string"!=typeof t&&nr.throwArgumentError("invalid ENS name; not a string","name",t);let e=rr;const n=or(t);for(;n.length;)e=We(tt([e,We(n.pop())]));return rt(e)}rr.fill(0);var sr=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const ur=new G("hash/5.7.0"),cr=new Uint8Array(32);cr.fill(0);const lr=pt.from(-1),hr=pt.from(0),dr=pt.from(1),fr=pt.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const pr=ut(dr.toHexString(),32),mr=ut(hr.toHexString(),32),gr={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},yr=["name","version","chainId","verifyingContract","salt"];function vr(t){return function(e){return"string"!=typeof e&&ur.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const br={name:vr("name"),version:vr("version"),chainId:function(t){try{return pt.from(t).toString()}catch(t){}return ur.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return en(t).toLowerCase()}catch(t){}return ur.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=$(t);if(32!==e.length)throw new Error("bad length");return rt(e)}catch(t){}return ur.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function wr(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const n=""===e[1],r=parseInt(e[2]||"256");(r%8!=0||r>256||e[2]&&e[2]!==String(r))&&ur.throwArgumentError("invalid numeric width","type",t);const i=fr.mask(n?r-1:r),o=n?i.add(dr).mul(lr):hr;return function(e){const n=pt.from(e);return(n.lt(o)||n.gt(i))&&ur.throwArgumentError(`value out-of-bounds for ${t}`,"value",e),ut(n.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const n=parseInt(e[1]);return(0===n||n>32||e[1]!==String(n))&&ur.throwArgumentError("invalid bytes width","type",t),function(e){return $(e).length!==n&&ur.throwArgumentError(`invalid length for ${t}`,"value",e),function(t){const e=$(t),n=e.length%32;return n?at([e,cr.slice(n)]):rt(e)}(e)}}}switch(t){case"address":return function(t){return ut(en(t),32)};case"bool":return function(t){return t?pr:mr};case"bytes":return function(t){return We(t)};case"string":return function(t){return On(t)}}return null}function Mr(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}class kr{constructor(t){Ot(this,"types",Object.freeze(Qt(t))),Ot(this,"_encoderCache",{}),Ot(this,"_types",{});const e={},n={},r={};Object.keys(t).forEach((t=>{e[t]={},n[t]=[],r[t]={}}));for(const r in t){const i={};t[r].forEach((o=>{i[o.name]&&ur.throwArgumentError(`duplicate variable name ${JSON.stringify(o.name)} in ${JSON.stringify(r)}`,"types",t),i[o.name]=!0;const a=o.type.match(/^([^\x5b]*)(\x5b|$)/)[1];a===r&&ur.throwArgumentError(`circular type reference to ${JSON.stringify(a)}`,"types",t);wr(a)||(n[a]||ur.throwArgumentError(`unknown type ${JSON.stringify(a)}`,"types",t),n[a].push(r),e[r][a]=!0)}))}const i=Object.keys(n).filter((t=>0===n[t].length));0===i.length?ur.throwArgumentError("missing primary type","types",t):i.length>1&&ur.throwArgumentError(`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),Ot(this,"primaryType",i[0]),function i(o,a){a[o]&&ur.throwArgumentError(`circular type reference to ${JSON.stringify(o)}`,"types",t),a[o]=!0,Object.keys(e[o]).forEach((t=>{n[t]&&(i(t,a),Object.keys(a).forEach((e=>{r[e][t]=!0})))})),delete a[o]}(this.primaryType,{});for(const e in r){const n=Object.keys(r[e]);n.sort(),this._types[e]=Mr(e,t[e])+n.map((e=>Mr(e,t[e]))).join("")}}getEncoder(t){let e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}_getEncoder(t){{const e=wr(t);if(e)return e}const e=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(e){const t=e[1],n=this.getEncoder(t),r=parseInt(e[3]);return e=>{r>=0&&e.length!==r&&ur.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);let i=e.map(n);return this._types[t]&&(i=i.map(We)),We(at(i))}}const n=this.types[t];if(n){const e=On(this._types[t]);return t=>{const r=n.map((({name:e,type:n})=>{const r=this.getEncoder(n)(t[e]);return this._types[n]?We(r):r}));return r.unshift(e),at(r)}}return ur.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const e=this._types[t];return e||ur.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return We(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,n){if(wr(t))return n(t,e);const r=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(r){const t=r[1],i=parseInt(r[3]);return i>=0&&e.length!==i&&ur.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((e=>this._visit(t,e,n)))}const i=this.types[t];return i?i.reduce(((t,{name:r,type:i})=>(t[r]=this._visit(i,e[r],n),t)),{}):ur.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new kr(t)}static getPrimaryType(t){return kr.from(t).primaryType}static hashStruct(t,e,n){return kr.from(e).hashStruct(t,n)}static hashDomain(t){const e=[];for(const n in t){const r=gr[n];r||ur.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(n)}`,"domain",t),e.push({name:n,type:r})}return e.sort(((t,e)=>yr.indexOf(t.name)-yr.indexOf(e.name))),kr.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,n){return at(["0x1901",kr.hashDomain(t),kr.from(e).hash(n)])}static hash(t,e,n){return We(kr.encode(t,e,n))}static resolveNames(t,e,n,r){return sr(this,void 0,void 0,(function*(){t=Pt(t);const i={};t.verifyingContract&&!nt(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");const o=kr.from(e);o.visit(n,((t,e)=>("address"!==t||nt(e,20)||(i[e]="0x"),e)));for(const t in i)i[t]=yield r(t);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),n=o.visit(n,((t,e)=>"address"===t&&i[e]?i[e]:e)),{domain:t,value:n}}))}static getPayload(t,e,n){kr.hashDomain(t);const r={},i=[];yr.forEach((e=>{const n=t[e];null!=n&&(r[e]=br[e](n),i.push({name:e,type:gr[e]}))}));const o=kr.from(e),a=Pt(e);return a.EIP712Domain?ur.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",e):a.EIP712Domain=i,o.encode(n),{types:a,domain:r,primaryType:o.primaryType,message:o.visit(n,((t,e)=>{if(t.match(/^bytes(\d*)/))return rt($(e));if(t.match(/^u?int/))return pt.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&ur.throwArgumentError("invalid string","value",e),e}return ur.throwArgumentError("unsupported type","type",t)}))}}}const Lr=new G("abi/5.7.0");class Ar extends Wt{}class xr extends Wt{}class Er extends Wt{}class Nr extends Wt{static isIndexed(t){return!(!t||!t._isIndexed)}}const Sr={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function Ir(t,e){const n=new Error(`deferred error during ABI decoding triggered accessing ${t}`);return n.error=e,n}class Tr{constructor(t){let e=[];e="string"==typeof t?JSON.parse(t):t,Ot(this,"fragments",e.map((t=>$t.from(t))).filter((t=>null!=t))),Ot(this,"_abiCoder",_t(new.target,"getAbiCoder")()),Ot(this,"functions",{}),Ot(this,"errors",{}),Ot(this,"events",{}),Ot(this,"structs",{}),this.fragments.forEach((t=>{let e=null;switch(t.type){case"constructor":return this.deploy?void Lr.warn("duplicate definition - constructor"):void Ot(this,"deploy",t);case"function":e=this.functions;break;case"event":e=this.events;break;case"error":e=this.errors;break;default:return}let n=t.format();e[n]?Lr.warn("duplicate definition - "+n):e[n]=t})),this.deploy||Ot(this,"deploy",ie.from({payable:!1,type:"constructor"})),Ot(this,"_isInterface",!0)}format(t){t||(t=Jt.full),t===Jt.sighash&&Lr.throwArgumentError("interface does not support formatting sighash","format",t);const e=this.fragments.map((e=>e.format(t)));return t===Jt.json?JSON.stringify(e.map((t=>JSON.parse(t)))):e}static getAbiCoder(){return Dn}static getAddress(t){return en(t)}static getSighash(t){return ot(On(t.format()),0,4)}static getEventTopic(t){return On(t.format())}getFunction(t){if(nt(t)){for(const e in this.functions)if(t===this.getSighash(e))return this.functions[e];Lr.throwArgumentError("no matching function","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),n=Object.keys(this.functions).filter((t=>t.split("(")[0]===e));return 0===n.length?Lr.throwArgumentError("no matching function","name",e):n.length>1&&Lr.throwArgumentError("multiple matching functions","name",e),this.functions[n[0]]}const e=this.functions[oe.fromString(t).format()];return e||Lr.throwArgumentError("no matching function","signature",t),e}getEvent(t){if(nt(t)){const e=t.toLowerCase();for(const t in this.events)if(e===this.getEventTopic(t))return this.events[t];Lr.throwArgumentError("no matching event","topichash",e)}if(-1===t.indexOf("(")){const e=t.trim(),n=Object.keys(this.events).filter((t=>t.split("(")[0]===e));return 0===n.length?Lr.throwArgumentError("no matching event","name",e):n.length>1&&Lr.throwArgumentError("multiple matching events","name",e),this.events[n[0]]}const e=this.events[te.fromString(t).format()];return e||Lr.throwArgumentError("no matching event","signature",t),e}getError(t){if(nt(t)){const e=_t(this.constructor,"getSighash");for(const n in this.errors){if(t===e(this.errors[n]))return this.errors[n]}Lr.throwArgumentError("no matching error","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),n=Object.keys(this.errors).filter((t=>t.split("(")[0]===e));return 0===n.length?Lr.throwArgumentError("no matching error","name",e):n.length>1&&Lr.throwArgumentError("multiple matching errors","name",e),this.errors[n[0]]}const e=this.errors[oe.fromString(t).format()];return e||Lr.throwArgumentError("no matching error","signature",t),e}getSighash(t){if("string"==typeof t)try{t=this.getFunction(t)}catch(e){try{t=this.getError(t)}catch(t){throw e}}return _t(this.constructor,"getSighash")(t)}getEventTopic(t){return"string"==typeof t&&(t=this.getEvent(t)),_t(this.constructor,"getEventTopic")(t)}_decodeParams(t,e){return this._abiCoder.decode(t,e)}_encodeParams(t,e){return this._abiCoder.encode(t,e)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,e){"string"==typeof t&&(t=this.getError(t));const n=$(e);return rt(n.slice(0,4))!==this.getSighash(t)&&Lr.throwArgumentError(`data signature does not match error ${t.name}.`,"data",rt(n)),this._decodeParams(t.inputs,n.slice(4))}encodeErrorResult(t,e){return"string"==typeof t&&(t=this.getError(t)),rt(tt([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionData(t,e){"string"==typeof t&&(t=this.getFunction(t));const n=$(e);return rt(n.slice(0,4))!==this.getSighash(t)&&Lr.throwArgumentError(`data signature does not match function ${t.name}.`,"data",rt(n)),this._decodeParams(t.inputs,n.slice(4))}encodeFunctionData(t,e){return"string"==typeof t&&(t=this.getFunction(t)),rt(tt([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionResult(t,e){"string"==typeof t&&(t=this.getFunction(t));let n=$(e),r=null,i="",o=null,a=null,s=null;switch(n.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(t.outputs,n)}catch(t){}break;case 4:{const t=rt(n.slice(0,4)),e=Sr[t];if(e)o=this._abiCoder.decode(e.inputs,n.slice(4)),a=e.name,s=e.signature,e.reason&&(r=o[0]),"Error"===a?i=`; VM Exception while processing transaction: reverted with reason string ${JSON.stringify(o[0])}`:"Panic"===a&&(i=`; VM Exception while processing transaction: reverted with panic code ${o[0]}`);else try{const e=this.getError(t);o=this._abiCoder.decode(e.inputs,n.slice(4)),a=e.name,s=e.format()}catch(t){}break}}return Lr.throwError("call revert exception"+i,G.errors.CALL_EXCEPTION,{method:t.format(),data:rt(e),errorArgs:o,errorName:a,errorSignature:s,reason:r})}encodeFunctionResult(t,e){return"string"==typeof t&&(t=this.getFunction(t)),rt(this._abiCoder.encode(t.outputs,e||[]))}encodeFilterTopics(t,e){"string"==typeof t&&(t=this.getEvent(t)),e.length>t.inputs.length&&Lr.throwError("too many arguments for "+t.format(),G.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:e});let n=[];t.anonymous||n.push(this.getEventTopic(t));const r=(t,e)=>"string"===t.type?On(e):"bytes"===t.type?We(rt(e)):("bool"===t.type&&"boolean"==typeof e&&(e=e?"0x01":"0x00"),t.type.match(/^u?int/)&&(e=pt.from(e).toHexString()),"address"===t.type&&this._abiCoder.encode(["address"],[e]),ut(rt(e),32));for(e.forEach(((e,i)=>{let o=t.inputs[i];o.indexed?null==e?n.push(null):"array"===o.baseType||"tuple"===o.baseType?Lr.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,e):Array.isArray(e)?n.push(e.map((t=>r(o,t)))):n.push(r(o,e)):null!=e&&Lr.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,e)}));n.length&&null===n[n.length-1];)n.pop();return n}encodeEventLog(t,e){"string"==typeof t&&(t=this.getEvent(t));const n=[],r=[],i=[];return t.anonymous||n.push(this.getEventTopic(t)),e.length!==t.inputs.length&&Lr.throwArgumentError("event arguments/values mismatch","values",e),t.inputs.forEach(((t,o)=>{const a=e[o];if(t.indexed)if("string"===t.type)n.push(On(a));else if("bytes"===t.type)n.push(We(a));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");n.push(this._abiCoder.encode([t.type],[a]))}else r.push(t),i.push(a)})),{data:this._abiCoder.encode(r,i),topics:n}}decodeEventLog(t,e,n){if("string"==typeof t&&(t=this.getEvent(t)),null!=n&&!t.anonymous){let e=this.getEventTopic(t);nt(n[0],32)&&n[0].toLowerCase()===e||Lr.throwError("fragment/topic mismatch",G.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:e,value:n[0]}),n=n.slice(1)}let r=[],i=[],o=[];t.inputs.forEach(((t,e)=>{t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(r.push(Xt.fromObject({type:"bytes32",name:t.name})),o.push(!0)):(r.push(t),o.push(!1)):(i.push(t),o.push(!1))}));let a=null!=n?this._abiCoder.decode(r,tt(n)):null,s=this._abiCoder.decode(i,e,!0),u=[],c=0,l=0;t.inputs.forEach(((t,e)=>{if(t.indexed)if(null==a)u[e]=new Nr({_isIndexed:!0,hash:null});else if(o[e])u[e]=new Nr({_isIndexed:!0,hash:a[l++]});else try{u[e]=a[l++]}catch(t){u[e]=t}else try{u[e]=s[c++]}catch(t){u[e]=t}if(t.name&&null==u[t.name]){const n=u[e];n instanceof Error?Object.defineProperty(u,t.name,{enumerable:!0,get:()=>{throw Ir(`property ${JSON.stringify(t.name)}`,n)}}):u[t.name]=n}}));for(let t=0;t{throw Ir(`index ${t}`,e)}})}return Object.freeze(u)}parseTransaction(t){let e=this.getFunction(t.data.substring(0,10).toLowerCase());return e?new xr({args:this._abiCoder.decode(e.inputs,"0x"+t.data.substring(10)),functionFragment:e,name:e.name,signature:e.format(),sighash:this.getSighash(e),value:pt.from(t.value||"0")}):null}parseLog(t){let e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new Ar({eventFragment:e,name:e.name,signature:e.format(),topic:this.getEventTopic(e),args:this.decodeEventLog(e,t.data,t.topics)})}parseError(t){const e=rt(t);let n=this.getError(e.substring(0,10).toLowerCase());return n?new Er({args:this._abiCoder.decode(n.inputs,"0x"+e.substring(10)),errorFragment:n,name:n.name,signature:n.format(),sighash:this.getSighash(n)}):null}static isInterface(t){return!(!t||!t._isInterface)}}var jr=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Cr=new G("abstract-provider/5.7.0");class Dr extends Wt{static isForkEvent(t){return!(!t||!t._isForkEvent)}}class Or{constructor(){Cr.checkAbstract(new.target,Or),Ot(this,"_isProvider",!0)}getFeeData(){return jr(this,void 0,void 0,(function*(){const{block:t,gasPrice:e}=yield zt({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((t=>null))});let n=null,r=null,i=null;return t&&t.baseFeePerGas&&(n=t.baseFeePerGas,i=pt.from("1500000000"),r=t.baseFeePerGas.mul(2).add(i)),{lastBaseFeePerGas:n,maxFeePerGas:r,maxPriorityFeePerGas:i,gasPrice:e}}))}addListener(t,e){return this.on(t,e)}removeListener(t,e){return this.off(t,e)}static isProvider(t){return!(!t||!t._isProvider)}}var _r=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const zr=new G("abstract-signer/5.7.0"),Pr=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],Br=[G.errors.INSUFFICIENT_FUNDS,G.errors.NONCE_EXPIRED,G.errors.REPLACEMENT_UNDERPRICED];class Rr{constructor(){zr.checkAbstract(new.target,Rr),Ot(this,"_isSigner",!0)}getBalance(t){return _r(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)}))}getTransactionCount(t){return _r(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)}))}estimateGas(t){return _r(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const e=yield zt(this.checkTransaction(t));return yield this.provider.estimateGas(e)}))}call(t,e){return _r(this,void 0,void 0,(function*(){this._checkProvider("call");const n=yield zt(this.checkTransaction(t));return yield this.provider.call(n,e)}))}sendTransaction(t){return _r(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const e=yield this.populateTransaction(t),n=yield this.signTransaction(e);return yield this.provider.sendTransaction(n)}))}getChainId(){return _r(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return _r(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return _r(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(t){return _r(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)}))}checkTransaction(t){for(const e in t)-1===Pr.indexOf(e)&&zr.throwArgumentError("invalid transaction key: "+e,"transaction",t);const e=Pt(t);return null==e.from?e.from=this.getAddress():e.from=Promise.all([Promise.resolve(e.from),this.getAddress()]).then((e=>(e[0].toLowerCase()!==e[1].toLowerCase()&&zr.throwArgumentError("from address mismatch","transaction",t),e[0]))),e}populateTransaction(t){return _r(this,void 0,void 0,(function*(){const e=yield zt(this.checkTransaction(t));null!=e.to&&(e.to=Promise.resolve(e.to).then((t=>_r(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.resolveName(t);return null==e&&zr.throwArgumentError("provided ENS name resolves to null","tx.to",t),e})))),e.to.catch((t=>{})));const n=null!=e.maxFeePerGas||null!=e.maxPriorityFeePerGas;if(null==e.gasPrice||2!==e.type&&!n?0!==e.type&&1!==e.type||!n||zr.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t):zr.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t),2!==e.type&&null!=e.type||null==e.maxFeePerGas||null==e.maxPriorityFeePerGas)if(0===e.type||1===e.type)null==e.gasPrice&&(e.gasPrice=this.getGasPrice());else{const t=yield this.getFeeData();if(null==e.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(e.type=2,null!=e.gasPrice){const t=e.gasPrice;delete e.gasPrice,e.maxFeePerGas=t,e.maxPriorityFeePerGas=t}else null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(n&&zr.throwError("network does not support EIP-1559",G.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==e.gasPrice&&(e.gasPrice=t.gasPrice),e.type=0):zr.throwError("failed to get consistent fee data",G.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===e.type&&(null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else e.type=2;return null==e.nonce&&(e.nonce=this.getTransactionCount("pending")),null==e.gasLimit&&(e.gasLimit=this.estimateGas(e).catch((t=>{if(Br.indexOf(t.code)>=0)throw t;return zr.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",G.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:e})}))),null==e.chainId?e.chainId=this.getChainId():e.chainId=Promise.all([Promise.resolve(e.chainId),this.getChainId()]).then((e=>(0!==e[1]&&e[0]!==e[1]&&zr.throwArgumentError("chainId address mismatch","transaction",t),e[0]))),yield zt(e)}))}_checkProvider(t){this.provider||zr.throwError("missing provider",G.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!(!t||!t._isSigner)}}class Ur extends Rr{constructor(t,e){super(),Ot(this,"address",t),Ot(this,"provider",e||null)}getAddress(){return Promise.resolve(this.address)}_fail(t,e){return Promise.resolve().then((()=>{zr.throwError(t,G.errors.UNSUPPORTED_OPERATION,{operation:e})}))}signMessage(t){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(t,e,n){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(t){return new Ur(this.address,t)}}var Qr=Wr;function Wr(t,e){if(!t)throw new Error(e||"Assertion failed")}Wr.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};var Yr=[],Fr=[],Hr="undefined"!=typeof Uint8Array?Uint8Array:Array,Gr=!1;function Zr(){Gr=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e>18&63]+Yr[i>>12&63]+Yr[i>>6&63]+Yr[63&i]);return o.join("")}function Jr(t){var e;Gr||Zr();for(var n=t.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(e=t[n-1],i+=Yr[e>>2],i+=Yr[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=Yr[e>>10],i+=Yr[e>>4&63],i+=Yr[e<<2&63],i+="="),o.push(i),o.join("")}function qr(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)}function Xr(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m}var Kr={}.toString,$r=Array.isArray||function(t){return"[object Array]"==Kr.call(t)};function ti(){return ni.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ei(t,e){if(ti()=ti())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ti().toString(16)+" bytes");return 0|t}function ui(t){return!(null==t||!t._isBuffer)}function ci(t,e){if(ui(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return _i(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return zi(t).length;default:if(r)return _i(t).length;e=(""+e).toLowerCase(),r=!0}}function li(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Ai(this,e,n);case"utf8":case"utf-8":return Mi(this,e,n);case"ascii":return ki(this,e,n);case"latin1":case"binary":return Li(this,e,n);case"base64":return wi(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xi(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function hi(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function di(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=ni.from(e,r)),ui(e))return 0===e.length?-1:fi(t,e,n,r,i);if("number"==typeof e)return e&=255,ni.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):fi(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function fi(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function wi(t,e,n){return 0===e&&n===t.length?Jr(t):Jr(t.slice(e,n))}function Mi(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},ni.prototype.compare=function(t,e,n,r,i){if(!ui(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return pi(this,t,e,n);case"utf8":case"utf-8":return mi(this,t,e,n);case"ascii":return gi(this,t,e,n);case"latin1":case"binary":return yi(this,t,e,n);case"base64":return vi(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bi(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},ni.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ki(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function Ni(t,e,n,r,i,o){if(!ui(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function Si(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function Ii(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function Ti(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function ji(t,e,n,r,i){return i||Ti(t,0,n,4),Xr(t,e,n,r,23,4),n+4}function Ci(t,e,n,r,i){return i||Ti(t,0,n,8),Xr(t,e,n,r,52,8),n+8}ni.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},ni.prototype.readUInt8=function(t,e){return e||Ei(t,1,this.length),this[t]},ni.prototype.readUInt16LE=function(t,e){return e||Ei(t,2,this.length),this[t]|this[t+1]<<8},ni.prototype.readUInt16BE=function(t,e){return e||Ei(t,2,this.length),this[t]<<8|this[t+1]},ni.prototype.readUInt32LE=function(t,e){return e||Ei(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},ni.prototype.readUInt32BE=function(t,e){return e||Ei(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},ni.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||Ei(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},ni.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||Ei(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},ni.prototype.readInt8=function(t,e){return e||Ei(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},ni.prototype.readInt16LE=function(t,e){e||Ei(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},ni.prototype.readInt16BE=function(t,e){e||Ei(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},ni.prototype.readInt32LE=function(t,e){return e||Ei(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},ni.prototype.readInt32BE=function(t,e){return e||Ei(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},ni.prototype.readFloatLE=function(t,e){return e||Ei(t,4,this.length),qr(this,t,!0,23,4)},ni.prototype.readFloatBE=function(t,e){return e||Ei(t,4,this.length),qr(this,t,!1,23,4)},ni.prototype.readDoubleLE=function(t,e){return e||Ei(t,8,this.length),qr(this,t,!0,52,8)},ni.prototype.readDoubleBE=function(t,e){return e||Ei(t,8,this.length),qr(this,t,!1,52,8)},ni.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||Ni(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},ni.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,1,255,0),ni.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},ni.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,2,65535,0),ni.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Si(this,t,e,!0),e+2},ni.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,2,65535,0),ni.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Si(this,t,e,!1),e+2},ni.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,4,4294967295,0),ni.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Ii(this,t,e,!0),e+4},ni.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,4,4294967295,0),ni.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Ii(this,t,e,!1),e+4},ni.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);Ni(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},ni.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);Ni(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},ni.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,1,127,-128),ni.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},ni.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,2,32767,-32768),ni.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Si(this,t,e,!0),e+2},ni.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,2,32767,-32768),ni.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Si(this,t,e,!1),e+2},ni.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,4,2147483647,-2147483648),ni.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Ii(this,t,e,!0),e+4},ni.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||Ni(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),ni.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Ii(this,t,e,!1),e+4},ni.prototype.writeFloatLE=function(t,e,n){return ji(this,t,e,!0,n)},ni.prototype.writeFloatBE=function(t,e,n){return ji(this,t,e,!1,n)},ni.prototype.writeDoubleLE=function(t,e,n){return Ci(this,t,e,!0,n)},ni.prototype.writeDoubleBE=function(t,e,n){return Ci(this,t,e,!1,n)},ni.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!ni.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function zi(t){return function(t){var e,n,r,i,o,a;Gr||Zr();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[s-2]?2:"="===t[s-1]?1:0,a=new Hr(3*s/4-o),r=o>0?s-4:s;var u=0;for(e=0,n=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=Fr[t.charCodeAt(e)]<<2|Fr[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=Fr[t.charCodeAt(e)]<<10|Fr[t.charCodeAt(e+1)]<<4|Fr[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Di,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Pi(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function Bi(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var Ri=function(t){return t instanceof ni},Ui=o((function(t,e){var n=/%[sdj%]/g;e.format=function(t){if(!g(t)){for(var e=[],r=0;r=o)return t;switch(t){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return t}})),u=i[r];r=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),f(n)?r.showHidden=n:n&&e._extend(r,n),y(r.showHidden)&&(r.showHidden=!1),y(r.depth)&&(r.depth=2),y(r.colors)&&(r.colors=!1),y(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),c(r,t,r.depth)}function s(t,e){var n=a.styles[e];return n?"["+a.colors[n][0]+"m"+t+"["+a.colors[n][1]+"m":t}function u(t,e){return t}function c(t,n,r){if(t.customInspect&&n&&k(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return g(i)||(i=c(t,i,r)),i}var o=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(g(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(m(e))return t.stylize(""+e,"number");if(f(e))return t.stylize(""+e,"boolean");if(p(e))return t.stylize("null","null")}(t,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),0===a.length){if(k(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(v(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(M(n))return l(n)}var b,L="",A=!1,x=["{","}"];(d(n)&&(A=!0,x=["[","]"]),k(n))&&(L=" [Function"+(n.name?": "+n.name:"")+"]");return v(n)&&(L=" "+RegExp.prototype.toString.call(n)),w(n)&&(L=" "+Date.prototype.toUTCString.call(n)),M(n)&&(L=" "+l(n)),0!==a.length||A&&0!=n.length?r<0?v(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),b=A?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(b,L,x)):x[0]+L+x[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),N(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=p(n)?c(t,u.value,null):c(t,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),y(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function d(t){return Array.isArray(t)}function f(t){return"boolean"==typeof t}function p(t){return null===t}function m(t){return"number"==typeof t}function g(t){return"string"==typeof t}function y(t){return void 0===t}function v(t){return b(t)&&"[object RegExp]"===L(t)}function b(t){return"object"==typeof t&&null!==t}function w(t){return b(t)&&"[object Date]"===L(t)}function M(t){return b(t)&&("[object Error]"===L(t)||t instanceof Error)}function k(t){return"function"==typeof t}function L(t){return Object.prototype.toString.call(t)}function A(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(y(i)&&(i=Ue.env.NODE_DEBUG||""),t=t.toUpperCase(),!o[t])if(new RegExp("\\b"+t+"\\b","i").test(i)){var n=Ue.pid;o[t]=function(){var r=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,r)}}else o[t]=function(){};return o[t]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=f,e.isNull=p,e.isNullOrUndefined=function(t){return null==t},e.isNumber=m,e.isString=g,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=y,e.isRegExp=v,e.isObject=b,e.isDate=w,e.isError=M,e.isFunction=k,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=Ri;var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":");return[t.getDate(),x[t.getMonth()],e].join(" ")}function N(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",E(),e.format.apply(e,arguments))},e.inherits=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})},e._extend=function(t,e){if(!e||!b(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t}})),Qi=o((function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}}));function Wi(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function Yi(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function Fi(t){return 1===t.length?"0"+t:t}function Hi(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}var Gi={inherits:o((function(t){try{var e=Ui;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=Qi}})),toArray:function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,n[r++]=63&o|128):Wi(t,i)?(o=65536+((1023&o)<<10)+(1023&t.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i>>0}return o},split32:function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},rotr32:function(t,e){return t>>>e|t<<32-e},rotl32:function(t,e){return t<>>32-e},sum32:function(t,e){return t+e>>>0},sum32_3:function(t,e,n){return t+e+n>>>0},sum32_4:function(t,e,n,r){return t+e+n+r>>>0},sum32_5:function(t,e,n,r,i){return t+e+n+r+i>>>0},sum64:function(t,e,n,r){var i=t[e],o=r+t[e+1]>>>0,a=(o>>0,t[e+1]=o},sum64_hi:function(t,e,n,r){return(e+r>>>0>>0},sum64_lo:function(t,e,n,r){return e+r>>>0},sum64_4_hi:function(t,e,n,r,i,o,a,s){var u=0,c=e;return u+=(c=c+r>>>0)>>0)>>0)>>0},sum64_4_lo:function(t,e,n,r,i,o,a,s){return e+r+o+s>>>0},sum64_5_hi:function(t,e,n,r,i,o,a,s,u,c){var l=0,h=e;return l+=(h=h+r>>>0)>>0)>>0)>>0)>>0},sum64_5_lo:function(t,e,n,r,i,o,a,s,u,c){return e+r+o+s+c>>>0},rotr64_hi:function(t,e,n){return(e<<32-n|t>>>n)>>>0},rotr64_lo:function(t,e,n){return(t<<32-n|e>>>n)>>>0},shr64_hi:function(t,e,n){return t>>>n},shr64_lo:function(t,e,n){return(t<<32-n|e>>>n)>>>0}};function Zi(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var Vi=Zi;Zi.prototype.update=function(t,e){if(t=Gi.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=Gi.join32(t,0,t.length-n,this.endian);for(var r=0;r>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o>>3},g1_256:function(t){return qi(t,17)^qi(t,19)^t>>>10}},eo=Gi.rotl32,no=Gi.sum32,ro=Gi.sum32_5,io=to.ft_1,oo=Ji.BlockHash,ao=[1518500249,1859775393,2400959708,3395469782];function so(){if(!(this instanceof so))return new so;oo.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}Gi.inherits(so,oo);var uo=so;so.blockSize=512,so.outSize=160,so.hmacStrength=80,so.padLength=64,so.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;rthis.blockSize&&(t=(new this.Hash).update(t).digest()),Qr(t.length<=this.blockSize);for(var e=t.length;e>8,a=255&i;o?n.push(o,a):n.push(a)}return n},n.zero2=r,n.toHex=i,n.encode=function(t,e){return"hex"===e?i(t):t}})),La=ba((function(t,e){var n=e;n.assert=wa,n.toArray=ka.toArray,n.zero2=ka.zero2,n.toHex=ka.toHex,n.encode=ka.encode,n.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},n.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=0==(1&u)?0:3!==(r=t.andln(7)+i&7)&&5!==r||2!==c?u:-u,n[0].push(a),s=0==(1&c)?0:3!==(r=e.andln(7)+o&7)&&5!==r||2!==u?c:-c,n[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return n},n.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new z(t,"hex","le")}})),Aa=La.getNAF,xa=La.getJSF,Ea=La.assert;function Na(t,e){this.type=t,this.p=new z(e.p,16),this.red=e.prime?z.red(e.prime):z.mont(this.p),this.zero=new z(0).toRed(this.red),this.one=new z(1).toRed(this.red),this.two=new z(2).toRed(this.red),this.n=e.n&&new z(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var Sa=Na;function Ia(t,e){this.curve=t,this.type=e,this.precomputed=null}Na.prototype.point=function(){throw new Error("Not implemented")},Na.prototype.validate=function(){throw new Error("Not implemented")},Na.prototype._fixedNafMul=function(t,e){Ea(t.precomputed);var n=t._getDoubles(),r=Aa(e,1,this._bitLength),i=(1<=o;u--)a=(a<<1)+r[u];s.push(a)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=i;h>0;h--){for(o=0;o=0;s--){for(var u=0;s>=0&&0===o[s];s--)u++;if(s>=0&&u++,a=a.dblp(u),s<0)break;var c=o[s];Ea(0!==c),a="affine"===t.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===t.type?a.toP():a},Na.prototype._wnafMulAdd=function(t,e,n,r,i){var o,a,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,h=0;for(o=0;o=1;o-=2){var f=o-1,p=o;if(1===u[f]&&1===u[p]){var m=[e[f],null,null,e[p]];0===e[f].y.cmp(e[p].y)?(m[1]=e[f].add(e[p]),m[2]=e[f].toJ().mixedAdd(e[p].neg())):0===e[f].y.cmp(e[p].y.redNeg())?(m[1]=e[f].toJ().mixedAdd(e[p]),m[2]=e[f].add(e[p].neg())):(m[1]=e[f].toJ().mixedAdd(e[p]),m[2]=e[f].toJ().mixedAdd(e[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=xa(n[f],n[p]);for(h=Math.max(y[0].length,h),l[f]=new Array(h),l[p]=new Array(h),a=0;a=0;o--){for(var k=0;o>=0;){var L=!0;for(a=0;a=0&&k++,w=w.dblp(k),o<0)break;for(a=0;a0?s=c[a][A-1>>1]:A<0&&(s=c[a][-A-1>>1].neg()),w="affine"===s.type?w.mixedAdd(s):w.add(s))}}for(o=0;o=Math.ceil((t.bitLength()+1)/e.step)},Ia.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i=0&&(o=e,a=n),r.negative&&(r=r.neg(),i=i.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:r,b:i},{a:o,b:a}]},Ca.prototype._endoSplit=function(t){var e=this.endo.basis,n=e[0],r=e[1],i=r.b.mul(t).divRound(this.n),o=n.b.neg().mul(t).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),u=i.mul(n.b),c=o.mul(r.b);return{k1:t.sub(a).sub(s),k2:u.add(c).neg()}},Ca.prototype.pointFromX=function(t,e){(t=new z(t,16)).red||(t=t.toRed(this.red));var n=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var i=r.fromRed().isOdd();return(e&&!i||!e&&i)&&(r=r.redNeg()),this.point(t,r)},Ca.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,n=t.y,r=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},Ca.prototype._endoWnafMulAdd=function(t,e,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},Oa.prototype.isInfinity=function(){return this.inf},Oa.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var n=e.redSqr().redISub(this.x).redISub(t.x),r=e.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},Oa.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,n=this.x.redSqr(),r=t.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(e).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},Oa.prototype.getX=function(){return this.x.fromRed()},Oa.prototype.getY=function(){return this.y.fromRed()},Oa.prototype.mul=function(t){return t=new z(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},Oa.prototype.mulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},Oa.prototype.jmulAdd=function(t,e,n){var r=[this,e],i=[t,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},Oa.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},Oa.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var n=this.precomputed,r=function(t){return t.neg()};e.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return e},Oa.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},Ta(_a,Sa.BasePoint),Ca.prototype.jpoint=function(t,e,n){return new _a(this,t,e,n)},_a.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),n=this.x.redMul(e),r=this.y.redMul(e).redMul(t);return this.curve.point(n,r)},_a.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_a.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(e),i=t.x.redMul(n),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(n.redMul(this.z)),s=r.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),h=r.redMul(c),d=u.redSqr().redIAdd(l).redISub(h).redISub(h),f=u.redMul(h.redISub(d)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(d,f,p)},_a.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),n=this.x,r=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),l=n.redMul(u),h=s.redSqr().redIAdd(c).redISub(l).redISub(l),d=s.redMul(l.redISub(h)).redISub(i.redMul(c)),f=this.z.redMul(a);return this.curve.jpoint(h,d,f)},_a.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var n=this;for(e=0;e=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},_a.prototype.inspect=function(){return this.isInfinity()?"":""},_a.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var za=ba((function(t,e){var n=e;n.base=Sa,n.short=Da,n.mont=null,n.edwards=null})),Pa=ba((function(t,e){var n,r=e,i=La.assert;function o(t){"short"===t.type?this.curve=new za.short(t):"edwards"===t.type?this.curve=new za.edwards(t):this.curve=new za.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(t,e){Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:function(){var n=new o(e);return Object.defineProperty(r,t,{configurable:!0,enumerable:!0,value:n}),n}})}r.PresetCurve=o,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:va.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:va.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:va.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:va.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:va.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:va.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:va.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=null.crash()}catch(t){n=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:va.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})}));function Ba(t){if(!(this instanceof Ba))return new Ba(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=ka.toArray(t.entropy,t.entropyEnc||"hex"),n=ka.toArray(t.nonce,t.nonceEnc||"hex"),r=ka.toArray(t.pers,t.persEnc||"hex");wa(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,n,r)}var Ra=Ba;Ba.prototype._init=function(t,e,n){var r=t.concat(e).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(n||[])),this._reseed=1},Ba.prototype.generate=function(t,e,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(r=n,n=e,e=null),n&&(n=ka.toArray(n,r||"hex"),this._update(n));for(var i=[];i.length"};var Ya=La.assert;function Fa(t,e){if(t instanceof Fa)return t;this._importDER(t,e)||(Ya(t.r&&t.s,"Signature without r or s"),this.r=new z(t.r,16),this.s=new z(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var Ha=Fa;function Ga(){this.place=0}function Za(t,e){var n=t[e.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;for(var i=0,o=0,a=e.place;o>>=0;return!(i<=127)&&(e.place=a,i)}function Va(t){for(var e=0,n=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|n);--n;)t.push(e>>>(n<<3)&255);t.push(e)}}Fa.prototype._importDER=function(t,e){t=La.toArray(t,e);var n=new Ga;if(48!==t[n.place++])return!1;var r=Za(t,n);if(!1===r)return!1;if(r+n.place!==t.length)return!1;if(2!==t[n.place++])return!1;var i=Za(t,n);if(!1===i)return!1;var o=t.slice(n.place,i+n.place);if(n.place+=i,2!==t[n.place++])return!1;var a=Za(t,n);if(!1===a)return!1;if(t.length!==a+n.place)return!1;var s=t.slice(n.place,a+n.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new z(o),this.s=new z(s),this.recoveryParam=null,!0},Fa.prototype.toDER=function(t){var e=this.r.toArray(),n=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&n[0]&&(n=[0].concat(n)),e=Va(e),n=Va(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];Ja(r,e.length),(r=r.concat(e)).push(2),Ja(r,n.length);var i=r.concat(n),o=[48];return Ja(o,i.length),o=o.concat(i),La.encode(o,t)};var qa=function(){throw new Error("unsupported")},Xa=La.assert;function Ka(t){if(!(this instanceof Ka))return new Ka(t);"string"==typeof t&&(Xa(Object.prototype.hasOwnProperty.call(Pa,t),"Unknown curve "+t),t=Pa[t]),t instanceof Pa.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var $a=Ka;Ka.prototype.keyPair=function(t){return new Wa(this,t)},Ka.prototype.keyFromPrivate=function(t,e){return Wa.fromPrivate(this,t,e)},Ka.prototype.keyFromPublic=function(t,e){return Wa.fromPublic(this,t,e)},Ka.prototype.genKeyPair=function(t){t||(t={});for(var e=new Ra({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||qa(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),r=this.n.sub(new z(2));;){var i=new z(e.generate(n));if(!(i.cmp(r)>0))return i.iaddn(1),this.keyFromPrivate(i)}},Ka.prototype._truncateToN=function(t,e){var n=8*t.byteLength()-this.n.bitLength();return n>0&&(t=t.ushrn(n)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},Ka.prototype.sign=function(t,e,n,r){"object"==typeof n&&(r=n,n=null),r||(r={}),e=this.keyFromPrivate(e,n),t=this._truncateToN(new z(t,16));for(var i=this.n.byteLength(),o=e.getPrivate().toArray("be",i),a=t.toArray("be",i),s=new Ra({hash:this.hash,entropy:o,nonce:a,pers:r.pers,persEnc:r.persEnc||"utf8"}),u=this.n.sub(new z(1)),c=0;;c++){var l=r.k?r.k(c):new z(s.generate(this.n.byteLength()));if(!((l=this._truncateToN(l,!0)).cmpn(1)<=0||l.cmp(u)>=0)){var h=this.g.mul(l);if(!h.isInfinity()){var d=h.getX(),f=d.umod(this.n);if(0!==f.cmpn(0)){var p=l.invm(this.n).mul(f.mul(e.getPrivate()).iadd(t));if(0!==(p=p.umod(this.n)).cmpn(0)){var m=(h.getY().isOdd()?1:0)|(0!==d.cmp(f)?2:0);return r.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),m^=1),new Ha({r:f,s:p,recoveryParam:m})}}}}}},Ka.prototype.verify=function(t,e,n,r){t=this._truncateToN(new z(t,16)),n=this.keyFromPublic(n,r);var i=(e=new Ha(e,"hex")).r,o=e.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var a,s=o.invm(this.n),u=s.mul(t).umod(this.n),c=s.mul(i).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(u,n.getPublic(),c)).isInfinity()&&a.eqXToP(i):!(a=this.g.mulAdd(u,n.getPublic(),c)).isInfinity()&&0===a.getX().umod(this.n).cmp(i)},Ka.prototype.recoverPubKey=function(t,e,n,r){Xa((3&n)===n,"The recovery param is more than two bits"),e=new Ha(e,r);var i=this.n,o=new z(t),a=e.r,s=e.s,u=1&n,c=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&c)throw new Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),u):this.curve.pointFromX(a,u);var l=e.r.invm(i),h=i.sub(o).mul(l).umod(i),d=s.mul(l).umod(i);return this.g.mulAdd(h,a,d)},Ka.prototype.getKeyRecoveryParam=function(t,e,n,r){if(null!==(e=new Ha(e,r)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")};var ts=ba((function(t,e){var n=e;n.version="6.5.4",n.utils=La,n.rand=function(){throw new Error("unsupported")},n.curve=za,n.curves=Pa,n.ec=$a,n.eddsa=null})).ec;const es=new G("signing-key/5.7.0");let ns=null;function rs(){return ns||(ns=new ts("secp256k1")),ns}class is{constructor(t){Ot(this,"curve","secp256k1"),Ot(this,"privateKey",rt(t)),32!==it(this.privateKey)&&es.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const e=rs().keyFromPrivate($(this.privateKey));Ot(this,"publicKey","0x"+e.getPublic(!1,"hex")),Ot(this,"compressedPublicKey","0x"+e.getPublic(!0,"hex")),Ot(this,"_isSigningKey",!0)}_addPoint(t){const e=rs().keyFromPublic($(this.publicKey)),n=rs().keyFromPublic($(t));return"0x"+e.pub.add(n.pub).encodeCompressed("hex")}signDigest(t){const e=rs().keyFromPrivate($(this.privateKey)),n=$(t);32!==n.length&&es.throwArgumentError("bad digest length","digest",t);const r=e.sign(n,{canonical:!0});return ct({recoveryParam:r.recoveryParam,r:ut("0x"+r.r.toString(16),32),s:ut("0x"+r.s.toString(16),32)})}computeSharedSecret(t){const e=rs().keyFromPrivate($(this.privateKey)),n=rs().keyFromPublic($(os(t)));return ut("0x"+e.derive(n.getPublic()).toString(16),32)}static isSigningKey(t){return!(!t||!t._isSigningKey)}}function os(t,e){const n=$(t);if(32===n.length){const t=new is(n);return e?"0x"+rs().keyFromPrivate(n).getPublic(!0,"hex"):t.publicKey}return 33===n.length?e?rt(n):"0x"+rs().keyFromPublic(n).getPublic(!1,"hex"):65===n.length?e?"0x"+rs().keyFromPublic(n).getPublic(!0,"hex"):rt(n):es.throwArgumentError("invalid public or private key","key","[REDACTED]")}const as=new G("transactions/5.7.0");var ss;function us(t){return"0x"===t?null:en(t)}function cs(t){return"0x"===t?gn:pt.from(t)}function ls(t,e){return function(t){return en(ot(We(ot(os(t),1)),12))}(function(t,e){const n=ct(e),r={r:$(n.r),s:$(n.s)};return"0x"+rs().recoverPubKey($(t),r,n.recoveryParam).encode("hex",!1)}($(t),e))}function hs(t,e){const n=et(pt.from(t).toHexString());return n.length>32&&as.throwArgumentError("invalid length for "+e,"transaction:"+e,t),n}function ds(t,e){return{address:en(t),storageKeys:(e||[]).map(((e,n)=>(32!==it(e)&&as.throwArgumentError("invalid access list storageKey",`accessList[${t}:${n}]`,e),e.toLowerCase())))}}function fs(t){if(Array.isArray(t))return t.map(((t,e)=>Array.isArray(t)?(t.length>2&&as.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${e}]`,t),ds(t[0],t[1])):ds(t.address,t.storageKeys)));const e=Object.keys(t).map((e=>{const n=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return ds(e,Object.keys(n).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function ps(t){return fs(t).map((t=>[t.address,t.storageKeys]))}function ms(t,e){if(null!=t.gasPrice){const e=pt.from(t.gasPrice),n=pt.from(t.maxFeePerGas||0);e.eq(n)||as.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:e,maxFeePerGas:n})}const n=[hs(t.chainId||0,"chainId"),hs(t.nonce||0,"nonce"),hs(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),hs(t.maxFeePerGas||0,"maxFeePerGas"),hs(t.gasLimit||0,"gasLimit"),null!=t.to?en(t.to):"0x",hs(t.value||0,"value"),t.data||"0x",ps(t.accessList||[])];if(e){const t=ct(e);n.push(hs(t.recoveryParam,"recoveryParam")),n.push(et(t.r)),n.push(et(t.s))}return at(["0x02",Ze(n)])}function gs(t,e){const n=[hs(t.chainId||0,"chainId"),hs(t.nonce||0,"nonce"),hs(t.gasPrice||0,"gasPrice"),hs(t.gasLimit||0,"gasLimit"),null!=t.to?en(t.to):"0x",hs(t.value||0,"value"),t.data||"0x",ps(t.accessList||[])];if(e){const t=ct(e);n.push(hs(t.recoveryParam,"recoveryParam")),n.push(et(t.r)),n.push(et(t.s))}return at(["0x01",Ze(n)])}function ys(t,e,n){try{const n=cs(e[0]).toNumber();if(0!==n&&1!==n)throw new Error("bad recid");t.v=n}catch(t){as.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=ut(e[1],32),t.s=ut(e[2],32);try{const e=We(n(t));t.from=ls(e,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}function vs(t){const e=$(t);if(e[0]>127)return function(t){const e=qe(t);9!==e.length&&6!==e.length&&as.throwArgumentError("invalid raw transaction","rawTransaction",t);const n={nonce:cs(e[0]).toNumber(),gasPrice:cs(e[1]),gasLimit:cs(e[2]),to:us(e[3]),value:cs(e[4]),data:e[5],chainId:0};if(6===e.length)return n;try{n.v=pt.from(e[6]).toNumber()}catch(t){return n}if(n.r=ut(e[7],32),n.s=ut(e[8],32),pt.from(n.r).isZero()&&pt.from(n.s).isZero())n.chainId=n.v,n.v=0;else{n.chainId=Math.floor((n.v-35)/2),n.chainId<0&&(n.chainId=0);let r=n.v-27;const i=e.slice(0,6);0!==n.chainId&&(i.push(rt(n.chainId)),i.push("0x"),i.push("0x"),r-=2*n.chainId+8);const o=We(Ze(i));try{n.from=ls(o,{r:rt(n.r),s:rt(n.s),recoveryParam:r})}catch(t){}n.hash=We(t)}return n.type=null,n}(e);switch(e[0]){case 1:return function(t){const e=qe(t.slice(1));8!==e.length&&11!==e.length&&as.throwArgumentError("invalid component count for transaction type: 1","payload",rt(t));const n={type:1,chainId:cs(e[0]).toNumber(),nonce:cs(e[1]).toNumber(),gasPrice:cs(e[2]),gasLimit:cs(e[3]),to:us(e[4]),value:cs(e[5]),data:e[6],accessList:fs(e[7])};return 8===e.length||(n.hash=We(t),ys(n,e.slice(8),gs)),n}(e);case 2:return function(t){const e=qe(t.slice(1));9!==e.length&&12!==e.length&&as.throwArgumentError("invalid component count for transaction type: 2","payload",rt(t));const n=cs(e[2]),r=cs(e[3]),i={type:2,chainId:cs(e[0]).toNumber(),nonce:cs(e[1]).toNumber(),maxPriorityFeePerGas:n,maxFeePerGas:r,gasPrice:null,gasLimit:cs(e[4]),to:us(e[5]),value:cs(e[6]),data:e[7],accessList:fs(e[8])};return 9===e.length||(i.hash=We(t),ys(i,e.slice(9),ms)),i}(e)}return as.throwError(`unsupported transaction type: ${e[0]}`,G.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}!function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(ss||(ss={}));var bs=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const ws=new G("contracts/5.7.0");function Ms(t,e){return bs(this,void 0,void 0,(function*(){const n=yield e;"string"!=typeof n&&ws.throwArgumentError("invalid address or ENS name","name",n);try{return en(n)}catch(t){}t||ws.throwError("a provider or signer is needed to resolve ENS names",G.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const r=yield t.resolveName(n);return null==r&&ws.throwArgumentError("resolver or addr is not configured for ENS name","name",n),r}))}function ks(t,e,n){return bs(this,void 0,void 0,(function*(){return Array.isArray(n)?yield Promise.all(n.map(((n,r)=>ks(t,Array.isArray(e)?e[r]:e[n.name],n)))):"address"===n.type?yield Ms(t,e):"tuple"===n.type?yield ks(t,e,n.components):"array"===n.baseType?Array.isArray(e)?yield Promise.all(e.map((e=>ks(t,e,n.arrayChildren)))):Promise.reject(ws.makeError("invalid value for array",G.errors.INVALID_ARGUMENT,{argument:"value",value:e})):e}))}function Ls(t,e,n){return bs(this,void 0,void 0,(function*(){let r={};n.length===e.inputs.length+1&&"object"==typeof n[n.length-1]&&(r=Pt(n.pop())),ws.checkArgumentCount(n.length,e.inputs.length,"passed to contract"),t.signer?r.from?r.from=zt({override:Ms(t.signer,r.from),signer:t.signer.getAddress()}).then((t=>bs(this,void 0,void 0,(function*(){return en(t.signer)!==t.override&&ws.throwError("Contract with a Signer cannot override from",G.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),t.override})))):r.from=t.signer.getAddress():r.from&&(r.from=Ms(t.provider,r.from));const i=yield zt({args:ks(t.signer||t.provider,n,e.inputs),address:t.resolvedAddress,overrides:zt(r)||{}}),o=t.interface.encodeFunctionData(e,i.args),a={data:o,to:i.address},s=i.overrides;if(null!=s.nonce&&(a.nonce=pt.from(s.nonce).toNumber()),null!=s.gasLimit&&(a.gasLimit=pt.from(s.gasLimit)),null!=s.gasPrice&&(a.gasPrice=pt.from(s.gasPrice)),null!=s.maxFeePerGas&&(a.maxFeePerGas=pt.from(s.maxFeePerGas)),null!=s.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=pt.from(s.maxPriorityFeePerGas)),null!=s.from&&(a.from=s.from),null!=s.type&&(a.type=s.type),null!=s.accessList&&(a.accessList=fs(s.accessList)),null==a.gasLimit&&null!=e.gas){let t=21e3;const n=$(o);for(let e=0;enull!=r[t]));return u.length&&ws.throwError(`cannot override ${u.map((t=>JSON.stringify(t))).join(",")}`,G.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:u}),a}))}function As(t,e,n){const r=t.signer||t.provider;return function(...i){return bs(this,void 0,void 0,(function*(){let o;if(i.length===e.inputs.length+1&&"object"==typeof i[i.length-1]){const t=Pt(i.pop());null!=t.blockTag&&(o=yield t.blockTag),delete t.blockTag,i.push(t)}null!=t.deployTransaction&&(yield t._deployed(o));const a=yield Ls(t,e,i),s=yield r.call(a,o);try{let r=t.interface.decodeFunctionResult(e,s);return n&&1===e.outputs.length&&(r=r[0]),r}catch(e){throw e.code===G.errors.CALL_EXCEPTION&&(e.address=t.address,e.args=i,e.transaction=a),e}}))}}function xs(t,e){return function(...n){return bs(this,void 0,void 0,(function*(){t.signer||ws.throwError("sending a transaction requires a signer",G.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=t.deployTransaction&&(yield t._deployed());const r=yield Ls(t,e,n),i=yield t.signer.sendTransaction(r);return function(t,e){const n=e.wait.bind(e);e.wait=e=>n(e).then((e=>(e.events=e.logs.map((n=>{let r=Qt(n),i=null;try{i=t.interface.parseLog(n)}catch(t){}return i&&(r.args=i.args,r.decode=(e,n)=>t.interface.decodeEventLog(i.eventFragment,e,n),r.event=i.name,r.eventSignature=i.signature),r.removeListener=()=>t.provider,r.getBlock=()=>t.provider.getBlock(e.blockHash),r.getTransaction=()=>t.provider.getTransaction(e.transactionHash),r.getTransactionReceipt=()=>Promise.resolve(e),r})),e)))}(t,i),i}))}}function Es(t,e,n){return e.constant?As(t,e,n):xs(t,e)}function Ns(t){return!t.address||null!=t.topics&&0!==t.topics.length?(t.address||"*")+"@"+(t.topics?t.topics.map((t=>Array.isArray(t)?t.join("|"):t)).join(":"):""):"*"}class Ss{constructor(t,e){Ot(this,"tag",t),Ot(this,"filter",e),this._listeners=[]}addListener(t,e){this._listeners.push({listener:t,once:e})}removeListener(t){let e=!1;this._listeners=this._listeners.filter((n=>!(!e&&n.listener===t)||(e=!0,!1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map((t=>t.listener))}listenerCount(){return this._listeners.length}run(t){const e=this.listenerCount();return this._listeners=this._listeners.filter((e=>{const n=t.slice();return setTimeout((()=>{e.listener.apply(this,n)}),0),!e.once})),e}prepareEvent(t){}getEmit(t){return[t]}}class Is extends Ss{constructor(){super("error",null)}}class Ts extends Ss{constructor(t,e,n,r){const i={address:t};let o=e.getEventTopic(n);r?(o!==r[0]&&ws.throwArgumentError("topic mismatch","topics",r),i.topics=r.slice()):i.topics=[o],super(Ns(i),i),Ot(this,"address",t),Ot(this,"interface",e),Ot(this,"fragment",n)}prepareEvent(t){super.prepareEvent(t),t.event=this.fragment.name,t.eventSignature=this.fragment.format(),t.decode=(t,e)=>this.interface.decodeEventLog(this.fragment,t,e);try{t.args=this.interface.decodeEventLog(this.fragment,t.data,t.topics)}catch(e){t.args=null,t.decodeError=e}}getEmit(t){const e=function(t){const e=[],n=function(t,r){if(Array.isArray(r))for(let i in r){const o=t.slice();o.push(i);try{n(o,r[i])}catch(t){e.push({path:o,error:t})}}};return n([],t),e}(t.args);if(e.length)throw e[0].error;const n=(t.args||[]).slice();return n.push(t),n}}class js extends Ss{constructor(t,e){super("*",{address:t}),Ot(this,"address",t),Ot(this,"interface",e)}prepareEvent(t){super.prepareEvent(t);try{const e=this.interface.parseLog(t);t.event=e.name,t.eventSignature=e.signature,t.decode=(t,n)=>this.interface.decodeEventLog(e.eventFragment,t,n),t.args=e.args}catch(t){}}}class Cs extends class{constructor(t,e,n){Ot(this,"interface",_t(new.target,"getInterface")(e)),null==n?(Ot(this,"provider",null),Ot(this,"signer",null)):Rr.isSigner(n)?(Ot(this,"provider",n.provider||null),Ot(this,"signer",n)):Or.isProvider(n)?(Ot(this,"provider",n),Ot(this,"signer",null)):ws.throwArgumentError("invalid signer or provider","signerOrProvider",n),Ot(this,"callStatic",{}),Ot(this,"estimateGas",{}),Ot(this,"functions",{}),Ot(this,"populateTransaction",{}),Ot(this,"filters",{});{const t={};Object.keys(this.interface.events).forEach((e=>{const n=this.interface.events[e];Ot(this.filters,e,((...t)=>({address:this.address,topics:this.interface.encodeFilterTopics(n,t)}))),t[n.name]||(t[n.name]=[]),t[n.name].push(e)})),Object.keys(t).forEach((e=>{const n=t[e];1===n.length?Ot(this.filters,e,this.filters[n[0]]):ws.warn(`Duplicate definition of ${e} (${n.join(", ")})`)}))}if(Ot(this,"_runningEvents",{}),Ot(this,"_wrappedEmits",{}),null==t&&ws.throwArgumentError("invalid contract address or ENS name","addressOrName",t),Ot(this,"address",t),this.provider)Ot(this,"resolvedAddress",Ms(this.provider,t));else try{Ot(this,"resolvedAddress",Promise.resolve(en(t)))}catch(t){ws.throwError("provider is required to use ENS name as contract address",G.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((t=>{}));const r={},i={};Object.keys(this.interface.functions).forEach((t=>{const e=this.interface.functions[t];if(i[t])ws.warn(`Duplicate ABI entry for ${JSON.stringify(t)}`);else{i[t]=!0;{const n=e.name;r[`%${n}`]||(r[`%${n}`]=[]),r[`%${n}`].push(t)}null==this[t]&&Ot(this,t,Es(this,e,!0)),null==this.functions[t]&&Ot(this.functions,t,Es(this,e,!1)),null==this.callStatic[t]&&Ot(this.callStatic,t,As(this,e,!0)),null==this.populateTransaction[t]&&Ot(this.populateTransaction,t,function(t,e){return function(...n){return Ls(t,e,n)}}(this,e)),null==this.estimateGas[t]&&Ot(this.estimateGas,t,function(t,e){const n=t.signer||t.provider;return function(...r){return bs(this,void 0,void 0,(function*(){n||ws.throwError("estimate require a provider or signer",G.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const i=yield Ls(t,e,r);return yield n.estimateGas(i)}))}}(this,e))}})),Object.keys(r).forEach((t=>{const e=r[t];if(e.length>1)return;t=t.substring(1);const n=e[0];try{null==this[t]&&Ot(this,t,this[n])}catch(t){}null==this.functions[t]&&Ot(this.functions,t,this.functions[n]),null==this.callStatic[t]&&Ot(this.callStatic,t,this.callStatic[n]),null==this.populateTransaction[t]&&Ot(this.populateTransaction,t,this.populateTransaction[n]),null==this.estimateGas[t]&&Ot(this.estimateGas,t,this.estimateGas[n])}))}static getContractAddress(t){return nn(t)}static getInterface(t){return Tr.isInterface(t)?t:new Tr(t)}deployed(){return this._deployed()}_deployed(t){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((()=>this)):this._deployedPromise=this.provider.getCode(this.address,t).then((t=>("0x"===t&&ws.throwError("contract not deployed",G.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this)))),this._deployedPromise}fallback(t){this.signer||ws.throwError("sending a transactions require a signer",G.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const e=Pt(t||{});return["from","to"].forEach((function(t){null!=e[t]&&ws.throwError("cannot override "+t,G.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.to=this.resolvedAddress,this.deployed().then((()=>this.signer.sendTransaction(e)))}connect(t){"string"==typeof t&&(t=new Ur(t,this.provider));const e=new this.constructor(this.address,this.interface,t);return this.deployTransaction&&Ot(e,"deployTransaction",this.deployTransaction),e}attach(t){return new this.constructor(t,this.interface,this.signer||this.provider)}static isIndexed(t){return Nr.isIndexed(t)}_normalizeRunningEvent(t){return this._runningEvents[t.tag]?this._runningEvents[t.tag]:t}_getRunningEvent(t){if("string"==typeof t){if("error"===t)return this._normalizeRunningEvent(new Is);if("event"===t)return this._normalizeRunningEvent(new Ss("event",null));if("*"===t)return this._normalizeRunningEvent(new js(this.address,this.interface));const e=this.interface.getEvent(t);return this._normalizeRunningEvent(new Ts(this.address,this.interface,e))}if(t.topics&&t.topics.length>0){try{const e=t.topics[0];if("string"!=typeof e)throw new Error("invalid topic");const n=this.interface.getEvent(e);return this._normalizeRunningEvent(new Ts(this.address,this.interface,n,t.topics))}catch(t){}const e={address:this.address,topics:t.topics};return this._normalizeRunningEvent(new Ss(Ns(e),e))}return this._normalizeRunningEvent(new js(this.address,this.interface))}_checkRunningEvents(t){if(0===t.listenerCount()){delete this._runningEvents[t.tag];const e=this._wrappedEmits[t.tag];e&&t.filter&&(this.provider.off(t.filter,e),delete this._wrappedEmits[t.tag])}}_wrapEvent(t,e,n){const r=Qt(e);return r.removeListener=()=>{n&&(t.removeListener(n),this._checkRunningEvents(t))},r.getBlock=()=>this.provider.getBlock(e.blockHash),r.getTransaction=()=>this.provider.getTransaction(e.transactionHash),r.getTransactionReceipt=()=>this.provider.getTransactionReceipt(e.transactionHash),t.prepareEvent(r),r}_addEventListener(t,e,n){if(this.provider||ws.throwError("events require a provider or a signer with a provider",G.errors.UNSUPPORTED_OPERATION,{operation:"once"}),t.addListener(e,n),this._runningEvents[t.tag]=t,!this._wrappedEmits[t.tag]){const n=n=>{let r=this._wrapEvent(t,n,e);if(null==r.decodeError)try{const e=t.getEmit(r);this.emit(t.filter,...e)}catch(t){r.decodeError=t.error}null!=t.filter&&this.emit("event",r),null!=r.decodeError&&this.emit("error",r.decodeError,r)};this._wrappedEmits[t.tag]=n,null!=t.filter&&this.provider.on(t.filter,n)}}queryFilter(t,e,n){const r=this._getRunningEvent(t),i=Pt(r.filter);return"string"==typeof e&&nt(e,32)?(null!=n&&ws.throwArgumentError("cannot specify toBlock with blockhash","toBlock",n),i.blockHash=e):(i.fromBlock=null!=e?e:0,i.toBlock=null!=n?n:"latest"),this.provider.getLogs(i).then((t=>t.map((t=>this._wrapEvent(r,t,null)))))}on(t,e){return this._addEventListener(this._getRunningEvent(t),e,!1),this}once(t,e){return this._addEventListener(this._getRunningEvent(t),e,!0),this}emit(t,...e){if(!this.provider)return!1;const n=this._getRunningEvent(t),r=n.run(e)>0;return this._checkRunningEvents(n),r}listenerCount(t){return this.provider?null==t?Object.keys(this._runningEvents).reduce(((t,e)=>t+this._runningEvents[e].listenerCount()),0):this._getRunningEvent(t).listenerCount():0}listeners(t){if(!this.provider)return[];if(null==t){const t=[];for(let e in this._runningEvents)this._runningEvents[e].listeners().forEach((e=>{t.push(e)}));return t}return this._getRunningEvent(t).listeners()}removeAllListeners(t){if(!this.provider)return this;if(null==t){for(const t in this._runningEvents){const e=this._runningEvents[t];e.removeAllListeners(),this._checkRunningEvents(e)}return this}const e=this._getRunningEvent(t);return e.removeAllListeners(),this._checkRunningEvents(e),this}off(t,e){if(!this.provider)return this;const n=this._getRunningEvent(t);return n.removeListener(e),this._checkRunningEvents(n),this}removeListener(t,e){return this.off(t,e)}}{}class Ds{constructor(t){Ot(this,"alphabet",t),Ot(this,"base",t.length),Ot(this,"_alphabetMap",{}),Ot(this,"_leader",t.charAt(0));for(let e=0;e0;)n.push(r%this.base),r=r/this.base|0}let r="";for(let t=0;0===e[t]&&t=0;--t)r+=this.alphabet[n[t]];return r}decode(t){if("string"!=typeof t)throw new TypeError("Expected String");let e=[];if(0===t.length)return new Uint8Array(e);e.push(0);for(let n=0;n>=8;for(;i>0;)e.push(255&i),i>>=8}for(let n=0;t[n]===this._leader&&n{o[e.toLowerCase()]=t})):r.headers.keys().forEach((t=>{o[t.toLowerCase()]=r.headers.get(t)})),{headers:o,statusCode:r.status,statusMessage:r.statusText,body:$(new Uint8Array(i))}}))}var Hs=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Gs=new G("web/5.7.1");function Zs(t){return new Promise((e=>{setTimeout(e,t)}))}function Vs(t,e){if(null==t)return null;if("string"==typeof t)return t;if(q(t)){if(e&&("text"===e.split("/")[0]||"application/json"===e.split(";")[0].trim()))try{return Nn(t)}catch(t){}return rt(t)}return t}function Js(t,e,n){let r=null;if(null!=e){r=En(e);const n="string"==typeof t?{url:t}:Pt(t);if(n.headers){0!==Object.keys(n.headers).filter((t=>"content-type"===t.toLowerCase())).length||(n.headers=Pt(n.headers),n.headers["content-type"]="application/json")}else n.headers={"content-type":"application/json"};t=n}return function(t,e,n){const r="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;Gs.assertArgument(r>0&&r%1==0,"invalid connection throttle limit","connection.throttleLimit",r);const i="object"==typeof t?t.throttleCallback:null,o="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;Gs.assertArgument(o>0&&o%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",o);const a="object"==typeof t&&!!t.errorPassThrough,s={};let u=null;const c={method:"GET"};let l=!1,h=12e4;if("string"==typeof t)u=t;else if("object"==typeof t){if(null!=t&&null!=t.url||Gs.throwArgumentError("missing URL","connection.url",t),u=t.url,"number"==typeof t.timeout&&t.timeout>0&&(h=t.timeout),t.headers)for(const e in t.headers)s[e.toLowerCase()]={key:e,value:String(t.headers[e])},["if-none-match","if-modified-since"].indexOf(e.toLowerCase())>=0&&(l=!0);if(c.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==u.substring(0,6)&&!0!==t.allowInsecureAuthentication&&Gs.throwError("basic authentication requires a secure https url",G.errors.INVALID_ARGUMENT,{argument:"url",url:u,user:t.user,password:"[REDACTED]"});const e=t.user+":"+t.password;s.authorization={key:"Authorization",value:"Basic "+zn(En(e))}}null!=t.skipFetchSetup&&(c.skipFetchSetup=!!t.skipFetchSetup),null!=t.fetchOptions&&(c.fetchOptions=Pt(t.fetchOptions))}const d=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),f=u?u.match(d):null;if(f)try{const t={statusCode:200,statusMessage:"OK",headers:{"content-type":f[1]||"text/plain"},body:f[2]?_n(f[3]):(p=f[3],En(p.replace(/%([0-9a-f][0-9a-f])/gi,((t,e)=>String.fromCharCode(parseInt(e,16))))))};let e=t.body;return n&&(e=n(t.body,t)),Promise.resolve(e)}catch(t){Gs.throwError("processing response error",G.errors.SERVER_ERROR,{body:Vs(f[1],f[2]),error:t,requestBody:null,requestMethod:"GET",url:u})}var p;e&&(c.method="POST",c.body=e,null==s["content-type"]&&(s["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==s["content-length"]&&(s["content-length"]={key:"Content-Length",value:String(e.length)}));const m={};Object.keys(s).forEach((t=>{const e=s[t];m[e.key]=e.value})),c.headers=m;const g=function(){let t=null;return{promise:new Promise((function(e,n){h&&(t=setTimeout((()=>{null!=t&&(t=null,n(Gs.makeError("timeout",G.errors.TIMEOUT,{requestBody:Vs(c.body,m["content-type"]),requestMethod:c.method,timeout:h,url:u})))}),h))})),cancel:function(){null!=t&&(clearTimeout(t),t=null)}}}(),y=function(){return Hs(this,void 0,void 0,(function*(){for(let t=0;t=300)&&(g.cancel(),Gs.throwError("bad response",G.errors.SERVER_ERROR,{status:e.statusCode,headers:e.headers,body:Vs(s,e.headers?e.headers["content-type"]:null),requestBody:Vs(c.body,m["content-type"]),requestMethod:c.method,url:u})),n)try{const t=yield n(s,e);return g.cancel(),t}catch(n){if(n.throttleRetry&&t{let r=null;if(null!=t)try{r=JSON.parse(Nn(t))}catch(e){Gs.throwError("invalid JSON",G.errors.SERVER_ERROR,{body:t,error:e})}return n&&(r=n(r,e)),r}))}function qs(t,e){return e||(e={}),null==(e=Pt(e)).floor&&(e.floor=0),null==e.ceiling&&(e.ceiling=1e4),null==e.interval&&(e.interval=250),new Promise((function(n,r){let i=null,o=!1;const a=()=>!o&&(o=!0,i&&clearTimeout(i),!0);e.timeout&&(i=setTimeout((()=>{a()&&r(new Error("timeout"))}),e.timeout));const s=e.retryLimit;let u=0;!function i(){return t().then((function(t){if(void 0!==t)a()&&n(t);else if(e.oncePoll)e.oncePoll.once("poll",i);else if(e.onceBlock)e.onceBlock.once("block",i);else if(!o){if(u++,u>s)return void(a()&&r(new Error("retry limit reached")));let t=e.interval*parseInt(String(Math.random()*Math.pow(2,u)));te.ceiling&&(t=e.ceiling),setTimeout(i,t)}return null}),(function(t){a()&&r(t)}))}()}))}for(var Xs="qpzry9x8gf2tvdw0s3jn54khce6mua7l",Ks={},$s=0;$s>25;return(33554431&t)<<5^996825010&-(e>>0&1)^642813549&-(e>>1&1)^513874426&-(e>>2&1)^1027748829&-(e>>3&1)^705979059&-(e>>4&1)}function nu(t){for(var e=1,n=0;n126)return"Invalid prefix ("+t+")";e=eu(e)^r>>5}for(e=eu(e),n=0;ne)return"Exceeds length limit";var n=t.toLowerCase(),r=t.toUpperCase();if(t!==n&&t!==r)return"Mixed-case string "+t;var i=(t=n).lastIndexOf("1");if(-1===i)return"No separator character for "+t;if(0===i)return"Missing prefix for "+t;var o=t.slice(0,i),a=t.slice(i+1);if(a.length<6)return"Data too short";var s=nu(o);if("string"==typeof s)return s;for(var u=[],c=0;c=a.length||u.push(h)}return 1!==s?"Invalid checksum for "+t:{prefix:o,words:u}}function iu(t,e,n,r){for(var i=0,o=0,a=(1<=n;)o-=n,s.push(i>>o&a);if(r)o>0&&s.push(i<=e)return"Excess padding";if(i<n)throw new TypeError("Exceeds length limit");var r=nu(t=t.toLowerCase());if("string"==typeof r)throw new Error(r);for(var i=t+"1",o=0;o>5!=0)throw new Error("Non 5-bit word");r=eu(r)^a,i+=Xs.charAt(a)}for(o=0;o<6;++o)r=eu(r);for(r^=1,o=0;o<6;++o){i+=Xs.charAt(r>>5*(5-o)&31)}return i},toWordsUnsafe:function(t){var e=iu(t,8,5,!0);if(Array.isArray(e))return e},toWords:function(t){var e=iu(t,8,5,!0);if(Array.isArray(e))return e;throw new Error(e)},fromWordsUnsafe:function(t){var e=iu(t,5,8,!1);if(Array.isArray(e))return e},fromWords:function(t){var e=iu(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}};const au="providers/5.7.2",su=new G(au);class uu{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const t={},e=this.address.bind(this),n=this.bigNumber.bind(this),r=this.blockTag.bind(this),i=this.data.bind(this),o=this.hash.bind(this),a=this.hex.bind(this),s=this.number.bind(this),u=this.type.bind(this);return t.transaction={hash:o,type:u,accessList:uu.allowNull(this.accessList.bind(this),null),blockHash:uu.allowNull(o,null),blockNumber:uu.allowNull(s,null),transactionIndex:uu.allowNull(s,null),confirmations:uu.allowNull(s,null),from:e,gasPrice:uu.allowNull(n),maxPriorityFeePerGas:uu.allowNull(n),maxFeePerGas:uu.allowNull(n),gasLimit:n,to:uu.allowNull(e,null),value:n,nonce:s,data:i,r:uu.allowNull(this.uint256),s:uu.allowNull(this.uint256),v:uu.allowNull(s),creates:uu.allowNull(e,null),raw:uu.allowNull(i)},t.transactionRequest={from:uu.allowNull(e),nonce:uu.allowNull(s),gasLimit:uu.allowNull(n),gasPrice:uu.allowNull(n),maxPriorityFeePerGas:uu.allowNull(n),maxFeePerGas:uu.allowNull(n),to:uu.allowNull(e),value:uu.allowNull(n),data:uu.allowNull((t=>this.data(t,!0))),type:uu.allowNull(s),accessList:uu.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:s,blockNumber:s,transactionHash:o,address:e,topics:uu.arrayOf(o),data:i,logIndex:s,blockHash:o},t.receipt={to:uu.allowNull(this.address,null),from:uu.allowNull(this.address,null),contractAddress:uu.allowNull(e,null),transactionIndex:s,root:uu.allowNull(a),gasUsed:n,logsBloom:uu.allowNull(i),blockHash:o,transactionHash:o,logs:uu.arrayOf(this.receiptLog.bind(this)),blockNumber:s,confirmations:uu.allowNull(s,null),cumulativeGasUsed:n,effectiveGasPrice:uu.allowNull(n),status:uu.allowNull(s),type:u},t.block={hash:uu.allowNull(o),parentHash:o,number:s,timestamp:s,nonce:uu.allowNull(a),difficulty:this.difficulty.bind(this),gasLimit:n,gasUsed:n,miner:uu.allowNull(e),extraData:i,transactions:uu.allowNull(uu.arrayOf(o)),baseFeePerGas:uu.allowNull(n)},t.blockWithTransactions=Pt(t.block),t.blockWithTransactions.transactions=uu.allowNull(uu.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:uu.allowNull(r,void 0),toBlock:uu.allowNull(r,void 0),blockHash:uu.allowNull(o,void 0),address:uu.allowNull(e,void 0),topics:uu.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:uu.allowNull(s),blockHash:uu.allowNull(o),transactionIndex:s,removed:uu.allowNull(this.boolean.bind(this)),address:e,data:uu.allowFalsish(i,"0x"),topics:uu.arrayOf(o),transactionHash:o,logIndex:s},t}accessList(t){return fs(t||[])}number(t){return"0x"===t?0:pt.from(t).toNumber()}type(t){return"0x"===t||null==t?0:pt.from(t).toNumber()}bigNumber(t){return pt.from(t)}boolean(t){if("boolean"==typeof t)return t;if("string"==typeof t){if("true"===(t=t.toLowerCase()))return!0;if("false"===t)return!1}throw new Error("invalid boolean - "+t)}hex(t,e){return"string"==typeof t&&(e||"0x"===t.substring(0,2)||(t="0x"+t),nt(t))?t.toLowerCase():su.throwArgumentError("invalid hash","value",t)}data(t,e){const n=this.hex(t,e);if(n.length%2!=0)throw new Error("invalid data; odd-length - "+t);return n}address(t){return en(t)}callAddress(t){if(!nt(t,32))return null;const e=en(ot(t,12));return"0x0000000000000000000000000000000000000000"===e?null:e}contractAddress(t){return nn(t)}blockTag(t){if(null==t)return"latest";if("earliest"===t)return"0x0";switch(t){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return t}if("number"==typeof t||nt(t))return st(t);throw new Error("invalid blockTag")}hash(t,e){const n=this.hex(t,e);return 32!==it(n)?su.throwArgumentError("invalid hash","value",t):n}difficulty(t){if(null==t)return null;const e=pt.from(t);try{return e.toNumber()}catch(t){}return null}uint256(t){if(!nt(t))throw new Error("invalid uint256");return ut(t,32)}_block(t,e){null!=t.author&&null==t.miner&&(t.miner=t.author);const n=null!=t._difficulty?t._difficulty:t.difficulty,r=uu.check(e,t);return r._difficulty=null==n?null:pt.from(n),r}block(t){return this._block(t,this.formats.block)}blockWithTransactions(t){return this._block(t,this.formats.blockWithTransactions)}transactionRequest(t){return uu.check(this.formats.transactionRequest,t)}transactionResponse(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&pt.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);const e=uu.check(this.formats.transaction,t);if(null!=t.chainId){let n=t.chainId;nt(n)&&(n=pt.from(n).toNumber()),e.chainId=n}else{let n=t.networkId;null==n&&null==e.v&&(n=t.chainId),nt(n)&&(n=pt.from(n).toNumber()),"number"!=typeof n&&null!=e.v&&(n=(e.v-35)/2,n<0&&(n=0),n=parseInt(n)),"number"!=typeof n&&(n=0),e.chainId=n}return e.blockHash&&"x"===e.blockHash.replace(/0/g,"")&&(e.blockHash=null),e}transaction(t){return vs(t)}receiptLog(t){return uu.check(this.formats.receiptLog,t)}receipt(t){const e=uu.check(this.formats.receipt,t);if(null!=e.root)if(e.root.length<=4){const t=pt.from(e.root).toNumber();0===t||1===t?(null!=e.status&&e.status!==t&&su.throwArgumentError("alt-root-status/status mismatch","value",{root:e.root,status:e.status}),e.status=t,delete e.root):su.throwArgumentError("invalid alt-root-status","value.root",e.root)}else 66!==e.root.length&&su.throwArgumentError("invalid root hash","value.root",e.root);return null!=e.status&&(e.byzantium=!0),e}topics(t){return Array.isArray(t)?t.map((t=>this.topics(t))):null!=t?this.hash(t,!0):null}filter(t){return uu.check(this.formats.filter,t)}filterLog(t){return uu.check(this.formats.filterLog,t)}static check(t,e){const n={};for(const r in t)try{const i=t[r](e[r]);void 0!==i&&(n[r]=i)}catch(t){throw t.checkKey=r,t.checkValue=e[r],t}return n}static allowNull(t,e){return function(n){return null==n?e:t(n)}}static allowFalsish(t,e){return function(n){return n?t(n):e}}static arrayOf(t){return function(e){if(!Array.isArray(e))throw new Error("not an array");const n=[];return e.forEach((function(e){n.push(t(e))})),n}}}var cu=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const lu=new G(au);function hu(t){return null==t?"null":(32!==it(t)&&lu.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function du(t){for(t=t.slice();t.length>0&&null==t[t.length-1];)t.pop();return t.map((t=>{if(Array.isArray(t)){const e={};t.forEach((t=>{e[hu(t)]=!0}));const n=Object.keys(e);return n.sort(),n.join("|")}return hu(t)})).join("&")}function fu(t){if("string"==typeof t){if(32===it(t=t.toLowerCase()))return"tx:"+t;if(-1===t.indexOf(":"))return t}else{if(Array.isArray(t))return"filter:*:"+du(t);if(Dr.isForkEvent(t))throw lu.warn("not implemented"),new Error("not implemented");if(t&&"object"==typeof t)return"filter:"+(t.address||"*")+":"+du(t.topics||[])}throw new Error("invalid event - "+t)}function pu(){return(new Date).getTime()}function mu(t){return new Promise((e=>{setTimeout(e,t)}))}const gu=["block","network","pending","poll"];class yu{constructor(t,e,n){Ot(this,"tag",t),Ot(this,"listener",e),Ot(this,"once",n),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const t=this.tag.split(":");return"tx"!==t[0]?null:t[1]}get filter(){const t=this.tag.split(":");if("filter"!==t[0])return null;const e=t[1],n=""===(r=t[2])?[]:r.split(/&/g).map((t=>{if(""===t)return[];const e=t.split("|").map((t=>"null"===t?null:t));return 1===e.length?e[0]:e}));var r;const i={};return n.length>0&&(i.topics=n),e&&"*"!==e&&(i.address=e),i}pollable(){return this.tag.indexOf(":")>=0||gu.indexOf(this.tag)>=0}}const vu={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function bu(t){return ut(pt.from(t).toHexString(),32)}function wu(t){return Os.encode(tt([t,ot(_s(_s(t)),0,4)]))}const Mu=new RegExp("^(ipfs)://(.*)$","i"),ku=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),Mu,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function Lu(t,e){try{return Nn(Au(t,e))}catch(t){}return null}function Au(t,e){if("0x"===t)return null;const n=pt.from(ot(t,e,e+32)).toNumber(),r=pt.from(ot(t,n,n+32)).toNumber();return ot(t,n+32,n+32+r)}function xu(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):lu.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function Eu(t){const e=$(t);if(e.length>32)throw new Error("internal; should not happen");const n=new Uint8Array(32);return n.set(e,32-e.length),n}function Nu(t){if(t.length%32==0)return t;const e=new Uint8Array(32*Math.ceil(t.length/32));return e.set(t),e}function Su(t){const e=[];let n=0;for(let r=0;rpt.from(t).eq(1))).catch((t=>{if(t.code===G.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,t}))),this._supportsEip2544}_fetch(t,e){return cu(this,void 0,void 0,(function*(){const n={to:this.address,ccipReadEnabled:!0,data:at([t,ar(this.name),e||"0x"])};let r=!1;var i;(yield this.supportsWildcard())&&(r=!0,n.data=at(["0x9061b923",Su([(i=this.name,rt(tt(or(i).map((t=>{if(t.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");const e=new Uint8Array(t.length+1);return e.set(t,1),e[0]=e.length-1,e}))))+"00"),n.data])]));try{let t=yield this.provider.call(n);return $(t).length%32==4&&lu.throwError("resolver threw error",G.errors.CALL_EXCEPTION,{transaction:n,data:t}),r&&(t=Au(t,0)),t}catch(t){if(t.code===G.errors.CALL_EXCEPTION)return null;throw t}}))}_fetchBytes(t,e){return cu(this,void 0,void 0,(function*(){const n=yield this._fetch(t,e);return null!=n?Au(n,0):null}))}_getAddress(t,e){const n=vu[String(t)];if(null==n&&lu.throwError(`unsupported coin type: ${t}`,G.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`}),"eth"===n.ilk)return this.provider.formatter.address(e);const r=$(e);if(null!=n.p2pkh){const t=e.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return wu(tt([[n.p2pkh],"0x"+t[2]]))}}if(null!=n.p2sh){const t=e.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return wu(tt([[n.p2sh],"0x"+t[2]]))}}if(null!=n.prefix){const t=r[1];let e=r[0];if(0===e?20!==t&&32!==t&&(e=-1):e=-1,e>=0&&r.length===2+t&&t>=1&&t<=75){const t=ou.toWords(r.slice(2));return t.unshift(e),ou.encode(n.prefix,t)}}return null}getAddress(t){return cu(this,void 0,void 0,(function*(){if(null==t&&(t=60),60===t)try{const t=yield this._fetch("0x3b3b57de");return"0x"===t||"0x0000000000000000000000000000000000000000000000000000000000000000"===t?null:this.provider.formatter.callAddress(t)}catch(t){if(t.code===G.errors.CALL_EXCEPTION)return null;throw t}const e=yield this._fetchBytes("0xf1cb7e06",bu(t));if(null==e||"0x"===e)return null;const n=this._getAddress(t,e);return null==n&&lu.throwError("invalid or unsupported coin data",G.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`,coinType:t,data:e}),n}))}getAvatar(){return cu(this,void 0,void 0,(function*(){const t=[{type:"name",content:this.name}];try{const e=yield this.getText("avatar");if(null==e)return null;for(let n=0;nt[e]))}return lu.throwError("invalid or unsupported content hash data",G.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t})}))}getText(t){return cu(this,void 0,void 0,(function*(){let e=En(t);e=tt([bu(64),bu(e.length),e]),e.length%32!=0&&(e=tt([e,ut("0x",32-t.length%32)]));const n=yield this._fetchBytes("0x59d1d43c",rt(e));return null==n||"0x"===n?null:Nn(n)}))}}let Tu=null,ju=1;class Cu extends Or{constructor(t){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),Ot(this,"anyNetwork","any"===t),this.anyNetwork&&(t=this.detectNetwork()),t instanceof Promise)this._networkPromise=t,t.catch((t=>{})),this._ready().catch((t=>{}));else{const e=_t(new.target,"getNetwork")(t);e?(Ot(this,"_network",e),this.emit("network",e,null)):lu.throwArgumentError("invalid network","network",t)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return cu(this,void 0,void 0,(function*(){if(null==this._network){let t=null;if(this._networkPromise)try{t=yield this._networkPromise}catch(t){}null==t&&(t=yield this.detectNetwork()),t||lu.throwError("no network detected",G.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:Ot(this,"_network",t),this.emit("network",t,null))}return this._network}))}get ready(){return qs((()=>this._ready().then((t=>t),(t=>{if(t.code!==G.errors.NETWORK_ERROR||"noNetwork"!==t.event)throw t}))))}static getFormatter(){return null==Tu&&(Tu=new uu),Tu}static getNetwork(t){return function(t){if(null==t)return null;if("number"==typeof t){for(const e in Ws){const n=Ws[e];if(n.chainId===t)return{name:n.name,chainId:n.chainId,ensAddress:n.ensAddress||null,_defaultProvider:n._defaultProvider||null}}return{chainId:t,name:"unknown"}}if("string"==typeof t){const e=Ws[t];return null==e?null:{name:e.name,chainId:e.chainId,ensAddress:e.ensAddress,_defaultProvider:e._defaultProvider||null}}const e=Ws[t.name];if(!e)return"number"!=typeof t.chainId&&zs.throwArgumentError("invalid network chainId","network",t),t;0!==t.chainId&&t.chainId!==e.chainId&&zs.throwArgumentError("network chainId mismatch","network",t);let n=t._defaultProvider||null;var r;return null==n&&e._defaultProvider&&(n=(r=e._defaultProvider)&&"function"==typeof r.renetwork?e._defaultProvider.renetwork(t):e._defaultProvider),{name:t.name,chainId:e.chainId,ensAddress:t.ensAddress||e.ensAddress||null,_defaultProvider:n}}(null==t?"homestead":t)}ccipReadFetch(t,e,n){return cu(this,void 0,void 0,(function*(){if(this.disableCcipRead||0===n.length)return null;const r=t.to.toLowerCase(),i=e.toLowerCase(),o=[];for(let t=0;t=0?null:JSON.stringify({data:i,sender:r}),u=yield Js({url:a,errorPassThrough:!0},s,((t,e)=>(t.status=e.statusCode,t)));if(u.data)return u.data;const c=u.message||"unknown error";if(u.status>=400&&u.status<500)return lu.throwError(`response not found during CCIP fetch: ${c}`,G.errors.SERVER_ERROR,{url:e,errorMessage:c});o.push(c)}return lu.throwError(`error encountered during CCIP fetch: ${o.map((t=>JSON.stringify(t))).join(", ")}`,G.errors.SERVER_ERROR,{urls:n,errorMessages:o})}))}_getInternalBlockNumber(t){return cu(this,void 0,void 0,(function*(){if(yield this._ready(),t>0)for(;this._internalBlockNumber;){const e=this._internalBlockNumber;try{const n=yield e;if(pu()-n.respTime<=t)return n.blockNumber;break}catch(t){if(this._internalBlockNumber===e)break}}const e=pu(),n=zt({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((t=>null),(t=>t))}).then((({blockNumber:t,networkError:r})=>{if(r)throw this._internalBlockNumber===n&&(this._internalBlockNumber=null),r;const i=pu();return(t=pt.from(t).toNumber()){this._internalBlockNumber===n&&(this._internalBlockNumber=null)})),(yield n).blockNumber}))}poll(){return cu(this,void 0,void 0,(function*(){const t=ju++,e=[];let n=null;try{n=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(t){return void this.emit("error",t)}if(this._setFastBlockNumber(n),this.emit("poll",t,n),n!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=n-1),Math.abs(this._emitted.block-n)>1e3)lu.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${n})`),this.emit("error",lu.makeError("network block skew detected",G.errors.NETWORK_ERROR,{blockNumber:n,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",n);else for(let t=this._emitted.block+1;t<=n;t++)this.emit("block",t);this._emitted.block!==n&&(this._emitted.block=n,Object.keys(this._emitted).forEach((t=>{if("block"===t)return;const e=this._emitted[t];"pending"!==e&&n-e>12&&delete this._emitted[t]}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=n-1),this._events.forEach((t=>{switch(t.type){case"tx":{const n=t.hash;let r=this.getTransactionReceipt(n).then((t=>t&&null!=t.blockNumber?(this._emitted["t:"+n]=t.blockNumber,this.emit(n,t),null):null)).catch((t=>{this.emit("error",t)}));e.push(r);break}case"filter":if(!t._inflight){t._inflight=!0,-2===t._lastBlockNumber&&(t._lastBlockNumber=n-1);const r=t.filter;r.fromBlock=t._lastBlockNumber+1,r.toBlock=n;const i=r.toBlock-this._maxFilterBlockRange;i>r.fromBlock&&(r.fromBlock=i),r.fromBlock<0&&(r.fromBlock=0);const o=this.getLogs(r).then((e=>{t._inflight=!1,0!==e.length&&e.forEach((e=>{e.blockNumber>t._lastBlockNumber&&(t._lastBlockNumber=e.blockNumber),this._emitted["b:"+e.blockHash]=e.blockNumber,this._emitted["t:"+e.transactionHash]=e.blockNumber,this.emit(r,e)}))})).catch((e=>{this.emit("error",e),t._inflight=!1}));e.push(o)}}})),this._lastBlockNumber=n,Promise.all(e).then((()=>{this.emit("didPoll",t)})).catch((t=>{this.emit("error",t)}))}else this.emit("didPoll",t)}))}resetEventsBlock(t){this._lastBlockNumber=t-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return cu(this,void 0,void 0,(function*(){return lu.throwError("provider does not support network detection",G.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})}))}getNetwork(){return cu(this,void 0,void 0,(function*(){const t=yield this._ready(),e=yield this.detectNetwork();if(t.chainId!==e.chainId){if(this.anyNetwork)return this._network=e,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",e,t),yield mu(0),this._network;const n=lu.makeError("underlying network changed",G.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:e});throw this.emit("error",n),n}return t}))}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then((t=>{this._setFastBlockNumber(t)}),(t=>{})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(t){t&&!this._poller?(this._poller=setInterval((()=>{this.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((()=>{this.poll(),this._bootstrapPoll=setTimeout((()=>{this._poller||this.poll(),this._bootstrapPoll=null}),this.pollingInterval)}),0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(t){if("number"!=typeof t||t<=0||parseInt(String(t))!=t)throw new Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval((()=>{this.poll()}),this._pollingInterval))}_getFastBlockNumber(){const t=pu();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((t=>((null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t),this._fastBlockNumber)))),this._fastBlockNumberPromise}_setFastBlockNumber(t){null!=this._fastBlockNumber&&tthis._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))}waitForTransaction(t,e,n){return cu(this,void 0,void 0,(function*(){return this._waitForTransaction(t,null==e?1:e,n||0,null)}))}_waitForTransaction(t,e,n,r){return cu(this,void 0,void 0,(function*(){const i=yield this.getTransactionReceipt(t);return(i?i.confirmations:0)>=e?i:new Promise(((i,o)=>{const a=[];let s=!1;const u=function(){return!!s||(s=!0,a.forEach((t=>{t()})),!1)},c=t=>{t.confirmations{this.removeListener(t,c)})),r){let n=r.startBlock,i=null;const c=a=>cu(this,void 0,void 0,(function*(){s||(yield mu(1e3),this.getTransactionCount(r.from).then((l=>cu(this,void 0,void 0,(function*(){if(!s){if(l<=r.nonce)n=a;else{{const e=yield this.getTransaction(t);if(e&&null!=e.blockNumber)return}for(null==i&&(i=n-3,i{s||this.once("block",c)})))}));if(s)return;this.once("block",c),a.push((()=>{this.removeListener("block",c)}))}if("number"==typeof n&&n>0){const t=setTimeout((()=>{u()||o(lu.makeError("timeout exceeded",G.errors.TIMEOUT,{timeout:n}))}),n);t.unref&&t.unref(),a.push((()=>{clearTimeout(t)}))}}))}))}getBlockNumber(){return cu(this,void 0,void 0,(function*(){return this._getInternalBlockNumber(0)}))}getGasPrice(){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield this.perform("getGasPrice",{});try{return pt.from(t)}catch(e){return lu.throwError("bad result from backend",G.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:e})}}))}getBalance(t,e){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield zt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),r=yield this.perform("getBalance",n);try{return pt.from(r)}catch(t){return lu.throwError("bad result from backend",G.errors.SERVER_ERROR,{method:"getBalance",params:n,result:r,error:t})}}))}getTransactionCount(t,e){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield zt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),r=yield this.perform("getTransactionCount",n);try{return pt.from(r).toNumber()}catch(t){return lu.throwError("bad result from backend",G.errors.SERVER_ERROR,{method:"getTransactionCount",params:n,result:r,error:t})}}))}getCode(t,e){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield zt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),r=yield this.perform("getCode",n);try{return rt(r)}catch(t){return lu.throwError("bad result from backend",G.errors.SERVER_ERROR,{method:"getCode",params:n,result:r,error:t})}}))}getStorageAt(t,e,n){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield zt({address:this._getAddress(t),blockTag:this._getBlockTag(n),position:Promise.resolve(e).then((t=>st(t)))}),i=yield this.perform("getStorageAt",r);try{return rt(i)}catch(t){return lu.throwError("bad result from backend",G.errors.SERVER_ERROR,{method:"getStorageAt",params:r,result:i,error:t})}}))}_wrapTransaction(t,e,n){if(null!=e&&32!==it(e))throw new Error("invalid response - sendTransaction");const r=t;return null!=e&&t.hash!==e&&lu.throwError("Transaction hash mismatch from Provider.sendTransaction.",G.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:e}),r.wait=(e,r)=>cu(this,void 0,void 0,(function*(){let i;null==e&&(e=1),null==r&&(r=0),0!==e&&null!=n&&(i={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:n});const o=yield this._waitForTransaction(t.hash,e,r,i);return null==o&&0===e?null:(this._emitted["t:"+t.hash]=o.blockNumber,0===o.status&&lu.throwError("transaction failed",G.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:o}),o)})),r}sendTransaction(t){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield Promise.resolve(t).then((t=>rt(t))),n=this.formatter.transaction(t);null==n.confirmations&&(n.confirmations=0);const r=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const t=yield this.perform("sendTransaction",{signedTransaction:e});return this._wrapTransaction(n,t,r)}catch(t){throw t.transaction=n,t.transactionHash=n.hash,t}}))}_getTransactionRequest(t){return cu(this,void 0,void 0,(function*(){const e=yield t,n={};return["from","to"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>t?this._getAddress(t):null)))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>t?pt.from(t):null)))})),["type"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>null!=t?t:null)))})),e.accessList&&(n.accessList=this.formatter.accessList(e.accessList)),["data"].forEach((t=>{null!=e[t]&&(n[t]=Promise.resolve(e[t]).then((t=>t?rt(t):null)))})),this.formatter.transactionRequest(yield zt(n))}))}_getFilter(t){return cu(this,void 0,void 0,(function*(){t=yield t;const e={};return null!=t.address&&(e.address=this._getAddress(t.address)),["blockHash","topics"].forEach((n=>{null!=t[n]&&(e[n]=t[n])})),["fromBlock","toBlock"].forEach((n=>{null!=t[n]&&(e[n]=this._getBlockTag(t[n]))})),this.formatter.filter(yield zt(e))}))}_call(t,e,n){return cu(this,void 0,void 0,(function*(){n>=10&&lu.throwError("CCIP read exceeded maximum redirections",G.errors.SERVER_ERROR,{redirects:n,transaction:t});const r=t.to,i=yield this.perform("call",{transaction:t,blockTag:e});if(n>=0&&"latest"===e&&null!=r&&"0x556f1830"===i.substring(0,10)&&it(i)%32==4)try{const o=ot(i,4),a=ot(o,0,32);pt.from(a).eq(r)||lu.throwError("CCIP Read sender did not match",G.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:i});const s=[],u=pt.from(ot(o,32,64)).toNumber(),c=pt.from(ot(o,u,u+32)).toNumber(),l=ot(o,u+32);for(let e=0;ecu(this,void 0,void 0,(function*(){const t=yield this.perform("getBlock",r);if(null==t)return null!=r.blockHash&&null==this._emitted["b:"+r.blockHash]||null!=r.blockTag&&n>this._emitted.block?null:void 0;if(e){let e=null;for(let n=0;nthis._wrapTransaction(t))),n}return this.formatter.block(t)}))),{oncePoll:this})}))}getBlock(t){return this._getBlock(t,!1)}getBlockWithTransactions(t){return this._getBlock(t,!0)}getTransaction(t){return cu(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return qs((()=>cu(this,void 0,void 0,(function*(){const n=yield this.perform("getTransaction",e);if(null==n)return null==this._emitted["t:"+t]?null:void 0;const r=this.formatter.transactionResponse(n);if(null==r.blockNumber)r.confirmations=0;else if(null==r.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-r.blockNumber+1;t<=0&&(t=1),r.confirmations=t}return this._wrapTransaction(r)}))),{oncePoll:this})}))}getTransactionReceipt(t){return cu(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return qs((()=>cu(this,void 0,void 0,(function*(){const n=yield this.perform("getTransactionReceipt",e);if(null==n)return null==this._emitted["t:"+t]?null:void 0;if(null==n.blockHash)return;const r=this.formatter.receipt(n);if(null==r.blockNumber)r.confirmations=0;else if(null==r.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-r.blockNumber+1;t<=0&&(t=1),r.confirmations=t}return r}))),{oncePoll:this})}))}getLogs(t){return cu(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield zt({filter:this._getFilter(t)}),n=yield this.perform("getLogs",e);return n.forEach((t=>{null==t.removed&&(t.removed=!1)})),uu.arrayOf(this.formatter.filterLog.bind(this.formatter))(n)}))}getEtherPrice(){return cu(this,void 0,void 0,(function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})}))}_getBlockTag(t){return cu(this,void 0,void 0,(function*(){if("number"==typeof(t=yield t)&&t<0){t%1&&lu.throwArgumentError("invalid BlockTag","blockTag",t);let e=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return e+=t,e<0&&(e=0),this.formatter.blockTag(e)}return this.formatter.blockTag(t)}))}getResolver(t){return cu(this,void 0,void 0,(function*(){let e=t;for(;;){if(""===e||"."===e)return null;if("eth"!==t&&"eth"===e)return null;const n=yield this._getResolver(e,"getResolver");if(null!=n){const r=new Iu(this,n,t);return e===t||(yield r.supportsWildcard())?r:null}e=e.split(".").slice(1).join(".")}}))}_getResolver(t,e){return cu(this,void 0,void 0,(function*(){null==e&&(e="ENS");const n=yield this.getNetwork();n.ensAddress||lu.throwError("network does not support ENS",G.errors.UNSUPPORTED_OPERATION,{operation:e,network:n.name});try{const e=yield this.call({to:n.ensAddress,data:"0x0178b8bf"+ar(t).substring(2)});return this.formatter.callAddress(e)}catch(t){}return null}))}resolveName(t){return cu(this,void 0,void 0,(function*(){t=yield t;try{return Promise.resolve(this.formatter.address(t))}catch(e){if(nt(t))throw e}"string"!=typeof t&&lu.throwArgumentError("invalid ENS name","name",t);const e=yield this.getResolver(t);return e?yield e.getAddress():null}))}lookupAddress(t){return cu(this,void 0,void 0,(function*(){t=yield t;const e=(t=this.formatter.address(t)).substring(2).toLowerCase()+".addr.reverse",n=yield this._getResolver(e,"lookupAddress");if(null==n)return null;const r=Lu(yield this.call({to:n,data:"0x691f3431"+ar(e).substring(2)}),0);return(yield this.resolveName(r))!=t?null:r}))}getAvatar(t){return cu(this,void 0,void 0,(function*(){let e=null;if(nt(t)){const n=this.formatter.address(t).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(n,"getAvatar");if(!r)return null;e=new Iu(this,r,n);try{const t=yield e.getAvatar();if(t)return t.url}catch(t){if(t.code!==G.errors.CALL_EXCEPTION)throw t}try{const t=Lu(yield this.call({to:r,data:"0x691f3431"+ar(n).substring(2)}),0);e=yield this.getResolver(t)}catch(t){if(t.code!==G.errors.CALL_EXCEPTION)throw t;return null}}else if(e=yield this.getResolver(t),!e)return null;const n=yield e.getAvatar();return null==n?null:n.url}))}perform(t,e){return lu.throwError(t+" not implemented",G.errors.NOT_IMPLEMENTED,{operation:t})}_startEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_stopEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_addEventListener(t,e,n){const r=new yu(fu(t),e,n);return this._events.push(r),this._startEvent(r),this}on(t,e){return this._addEventListener(t,e,!1)}once(t,e){return this._addEventListener(t,e,!0)}emit(t,...e){let n=!1,r=[],i=fu(t);return this._events=this._events.filter((t=>t.tag!==i||(setTimeout((()=>{t.listener.apply(this,e)}),0),n=!0,!t.once||(r.push(t),!1)))),r.forEach((t=>{this._stopEvent(t)})),n}listenerCount(t){if(!t)return this._events.length;let e=fu(t);return this._events.filter((t=>t.tag===e)).length}listeners(t){if(null==t)return this._events.map((t=>t.listener));let e=fu(t);return this._events.filter((t=>t.tag===e)).map((t=>t.listener))}off(t,e){if(null==e)return this.removeAllListeners(t);const n=[];let r=!1,i=fu(t);return this._events=this._events.filter((t=>t.tag!==i||t.listener!=e||(!!r||(r=!0,n.push(t),!1)))),n.forEach((t=>{this._stopEvent(t)})),this}removeAllListeners(t){let e=[];if(null==t)e=this._events,this._events=[];else{const n=fu(t);this._events=this._events.filter((t=>t.tag!==n||(e.push(t),!1)))}return e.forEach((t=>{this._stopEvent(t)})),this}}var Du=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))};const Ou=new G(au),_u=["call","estimateGas"];function zu(t,e){if(null==t)return null;if("string"==typeof t.message&&t.message.match("reverted")){const n=nt(t.data)?t.data:null;if(!e||n)return{message:t.message,data:n}}if("object"==typeof t){for(const n in t){const r=zu(t[n],e);if(r)return r}return null}if("string"==typeof t)try{return zu(JSON.parse(t),e)}catch(t){}return null}function Pu(t,e,n){const r=n.transaction||n.signedTransaction;if("call"===t){const t=zu(e,!0);if(t)return t.data;Ou.throwError("missing revert data in call exception; Transaction reverted without a reason string",G.errors.CALL_EXCEPTION,{data:"0x",transaction:r,error:e})}if("estimateGas"===t){let n=zu(e.body,!1);null==n&&(n=zu(e,!1)),n&&Ou.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",G.errors.UNPREDICTABLE_GAS_LIMIT,{reason:n.message,method:t,transaction:r,error:e})}let i=e.message;throw e.code===G.errors.SERVER_ERROR&&e.error&&"string"==typeof e.error.message?i=e.error.message:"string"==typeof e.body?i=e.body:"string"==typeof e.responseText&&(i=e.responseText),i=(i||"").toLowerCase(),i.match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&Ou.throwError("insufficient funds for intrinsic transaction cost",G.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:r}),i.match(/nonce (is )?too low/i)&&Ou.throwError("nonce has already been used",G.errors.NONCE_EXPIRED,{error:e,method:t,transaction:r}),i.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&Ou.throwError("replacement fee too low",G.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:r}),i.match(/only replay-protected/i)&&Ou.throwError("legacy pre-eip-155 transactions not supported",G.errors.UNSUPPORTED_OPERATION,{error:e,method:t,transaction:r}),_u.indexOf(t)>=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&Ou.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",G.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:r}),e}function Bu(t){return new Promise((function(e){setTimeout(e,t)}))}function Ru(t){if(t.error){const e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function Uu(t){return t?t.toLowerCase():t}const Qu={};class Wu extends Rr{constructor(t,e,n){if(super(),t!==Qu)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");Ot(this,"provider",e),null==n&&(n=0),"string"==typeof n?(Ot(this,"_address",this.provider.formatter.address(n)),Ot(this,"_index",null)):"number"==typeof n?(Ot(this,"_index",n),Ot(this,"_address",null)):Ou.throwArgumentError("invalid address or index","addressOrIndex",n)}connect(t){return Ou.throwError("cannot alter JSON-RPC Signer connection",G.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new Yu(Qu,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((t=>(t.length<=this._index&&Ou.throwError("unknown account #"+this._index,G.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(t[this._index]))))}sendUncheckedTransaction(t){t=Pt(t);const e=this.getAddress().then((t=>(t&&(t=t.toLowerCase()),t)));if(null==t.gasLimit){const n=Pt(t);n.from=e,t.gasLimit=this.provider.estimateGas(n)}return null!=t.to&&(t.to=Promise.resolve(t.to).then((t=>Du(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.provider.resolveName(t);return null==e&&Ou.throwArgumentError("provided ENS name resolves to null","tx.to",t),e}))))),zt({tx:zt(t),sender:e}).then((({tx:e,sender:n})=>{null!=e.from?e.from.toLowerCase()!==n&&Ou.throwArgumentError("from address mismatch","transaction",t):e.from=n;const r=this.provider.constructor.hexlifyTransaction(e,{from:!0});return this.provider.send("eth_sendTransaction",[r]).then((t=>t),(t=>("string"==typeof t.message&&t.message.match(/user denied/i)&&Ou.throwError("user rejected transaction",G.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:e}),Pu("sendTransaction",t,r))))}))}signTransaction(t){return Ou.throwError("signing transactions is unsupported",G.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(t){return Du(this,void 0,void 0,(function*(){const e=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),n=yield this.sendUncheckedTransaction(t);try{return yield qs((()=>Du(this,void 0,void 0,(function*(){const t=yield this.provider.getTransaction(n);if(null!==t)return this.provider._wrapTransaction(t,n,e)}))),{oncePoll:this.provider})}catch(t){throw t.transactionHash=n,t}}))}signMessage(t){return Du(this,void 0,void 0,(function*(){const e="string"==typeof t?En(t):t,n=yield this.getAddress();try{return yield this.provider.send("personal_sign",[rt(e),n.toLowerCase()])}catch(e){throw"string"==typeof e.message&&e.message.match(/user denied/i)&&Ou.throwError("user rejected signing",G.errors.ACTION_REJECTED,{action:"signMessage",from:n,messageData:t}),e}}))}_legacySignMessage(t){return Du(this,void 0,void 0,(function*(){const e="string"==typeof t?En(t):t,n=yield this.getAddress();try{return yield this.provider.send("eth_sign",[n.toLowerCase(),rt(e)])}catch(e){throw"string"==typeof e.message&&e.message.match(/user denied/i)&&Ou.throwError("user rejected signing",G.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:n,messageData:t}),e}}))}_signTypedData(t,e,n){return Du(this,void 0,void 0,(function*(){const r=yield kr.resolveNames(t,e,n,(t=>this.provider.resolveName(t))),i=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(kr.getPayload(r.domain,e,r.value))])}catch(t){throw"string"==typeof t.message&&t.message.match(/user denied/i)&&Ou.throwError("user rejected signing",G.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:r.domain,types:e,value:r.value}}),t}}))}unlock(t){return Du(this,void 0,void 0,(function*(){const e=this.provider,n=yield this.getAddress();return e.send("personal_unlockAccount",[n.toLowerCase(),t,null])}))}}class Yu extends Wu{sendTransaction(t){return this.sendUncheckedTransaction(t).then((t=>({hash:t,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:e=>this.provider.waitForTransaction(t,e)})))}}const Fu={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class Hu extends Cu{constructor(t,e){let n=e;null==n&&(n=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then((e=>{t(e)}),(t=>{e(t)}))}),0)}))),super(n),t||(t=_t(this.constructor,"defaultUrl")()),Ot(this,"connection","string"==typeof t?Object.freeze({url:t}):Object.freeze(Pt(t))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((()=>{this._cache.detectNetwork=null}),0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return Du(this,void 0,void 0,(function*(){yield Bu(0);let t=null;try{t=yield this.send("eth_chainId",[])}catch(e){try{t=yield this.send("net_version",[])}catch(t){}}if(null!=t){const e=_t(this.constructor,"getNetwork");try{return e(pt.from(t).toNumber())}catch(e){return Ou.throwError("could not detect network",G.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:e})}}return Ou.throwError("could not detect network",G.errors.NETWORK_ERROR,{event:"noNetwork"})}))}getSigner(t){return new Wu(Qu,this,t)}getUncheckedSigner(t){return this.getSigner(t).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then((t=>t.map((t=>this.formatter.address(t)))))}send(t,e){const n={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:Qt(n),provider:this});const r=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(r&&this._cache[t])return this._cache[t];const i=Js(this.connection,JSON.stringify(n),Ru).then((t=>(this.emit("debug",{action:"response",request:n,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",error:t,request:n,provider:this}),t}));return r&&(this._cache[t]=i,setTimeout((()=>{this._cache[t]=null}),0)),i}prepareRequest(t,e){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[Uu(e.address),e.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[Uu(e.address),e.blockTag]];case"getCode":return["eth_getCode",[Uu(e.address),e.blockTag]];case"getStorageAt":return["eth_getStorageAt",[Uu(e.address),ut(e.position,32),e.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[e.signedTransaction]];case"getBlock":return e.blockTag?["eth_getBlockByNumber",[e.blockTag,!!e.includeTransactions]]:e.blockHash?["eth_getBlockByHash",[e.blockHash,!!e.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[e.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[e.transactionHash]];case"call":return["eth_call",[_t(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0}),e.blockTag]];case"estimateGas":return["eth_estimateGas",[_t(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0})]];case"getLogs":return e.filter&&null!=e.filter.address&&(e.filter.address=Uu(e.filter.address)),["eth_getLogs",[e.filter]]}return null}perform(t,e){return Du(this,void 0,void 0,(function*(){if("call"===t||"estimateGas"===t){const t=e.transaction;if(t&&null!=t.type&&pt.from(t.type).isZero()&&null==t.maxFeePerGas&&null==t.maxPriorityFeePerGas){const n=yield this.getFeeData();null==n.maxFeePerGas&&null==n.maxPriorityFeePerGas&&((e=Pt(e)).transaction=Pt(t),delete e.transaction.type)}}const n=this.prepareRequest(t,e);null==n&&Ou.throwError(t+" not implemented",G.errors.NOT_IMPLEMENTED,{operation:t});try{return yield this.send(n[0],n[1])}catch(n){return Pu(t,n,e)}}))}_startEvent(t){"pending"===t.tag&&this._startPending(),super._startEvent(t)}_startPending(){if(null!=this._pendingFilter)return;const t=this,e=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=e,e.then((function(n){return function r(){t.send("eth_getFilterChanges",[n]).then((function(n){if(t._pendingFilter!=e)return null;let r=Promise.resolve();return n.forEach((function(e){t._emitted["t:"+e.toLowerCase()]="pending",r=r.then((function(){return t.getTransaction(e).then((function(e){return t.emit("pending",e),null}))}))})),r.then((function(){return Bu(1e3)}))})).then((function(){if(t._pendingFilter==e)return setTimeout((function(){r()}),0),null;t.send("eth_uninstallFilter",[n])})).catch((t=>{}))}(),n})).catch((t=>{}))}_stopEvent(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(t)}static hexlifyTransaction(t,e){const n=Pt(Fu);if(e)for(const t in e)e[t]&&(n[t]=!0);var r,i;i=n,(r=t)&&"object"==typeof r||Dt.throwArgumentError("invalid object","object",r),Object.keys(r).forEach((t=>{i[t]||Dt.throwArgumentError("invalid object key - "+t,"transaction:"+t,r)}));const o={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(e){if(null==t[e])return;const n=st(pt.from(t[e]));"gasLimit"===e&&(e="gas"),o[e]=n})),["from","to","data"].forEach((function(e){null!=t[e]&&(o[e]=rt(t[e]))})),t.accessList&&(o.accessList=fs(t.accessList)),o}}const Gu=new G(au);let Zu=1;function Vu(t,e){const n="Web3LegacyFetcher";return function(t,r){const i={method:t,params:r,id:Zu++,jsonrpc:"2.0"};return new Promise(((t,r)=>{this.emit("debug",{action:"request",fetcher:n,request:Qt(i),provider:this}),e(i,((e,o)=>{if(e)return this.emit("debug",{action:"response",fetcher:n,error:e,request:i,provider:this}),r(e);if(this.emit("debug",{action:"response",fetcher:n,request:i,response:o,provider:this}),o.error){const t=new Error(o.error.message);return t.code=o.error.code,t.data=o.error.data,r(t)}t(o.result)}))}))}}class Ju extends Hu{constructor(t,e){null==t&&Gu.throwArgumentError("missing provider","provider",t);let n=null,r=null,i=null;"function"==typeof t?(n="unknown:",r=t):(n=t.host||t.path||"",!n&&t.isMetaMask&&(n="metamask"),i=t,t.request?(""===n&&(n="eip-1193:"),r=function(t){return function(e,n){null==n&&(n=[]);const r={method:e,params:n};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:Qt(r),provider:this}),t.request(r).then((t=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:r,error:t,provider:this}),t}))}}(t)):t.sendAsync?r=Vu(0,t.sendAsync.bind(t)):t.send?r=Vu(0,t.send.bind(t)):Gu.throwArgumentError("unsupported provider","provider",t),n||(n="unknown:")),super(n,e),Ot(this,"jsonRpcFetchFunc",r),Ot(this,"provider",i)}send(t,e){return this.jsonRpcFetchFunc(t,e)}}const qu=new G("units/5.7.0"),Xu=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Ku(t,e){if("string"==typeof e){const t=Xu.indexOf(e);-1!==t&&(e=3*t)}return Et(t,null!=e?e:18)}function $u(t,e){if("string"!=typeof t&&qu.throwArgumentError("value must be a string","value",t),"string"==typeof e){const t=Xu.indexOf(e);-1!==t&&(e=3*t)}return Nt(t,null!=e?e:18)}var tc=void 0!==ge?ge:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};if(null==tc.XMLHttpRequest&&(tc.XMLHttpRequest=class{open(){}}),null==tc.location&&(tc.location={}),null==tc.crypto&&(tc.crypto={}),null==tc.crypto.getRandomValues&&(tc.crypto.getRandomValues=function(t){for(var e=t.length;e--;)t[e]=parseInt(Math.random().toString().replace("0.",""),10);return t}),null==tc.crypto.randomBytes&&(tc.crypto.randomBytes=function(t){let e=new Uint8Array(t);return tc.crypto.getRandomValues(e),e}),null==tc.fetch)throw"Please polyfill .fetch | See: https://github.com/DePayFi/solana-web3.js#polyfill-fetch";var ec="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==ge?ge:"undefined"!=typeof self?self:{};function nc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function rc(t){var e=t.default;if("function"==typeof e){var n=function(){return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})})),n}var ic=void 0!==ge?ge:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},oc=[],ac=[],sc="undefined"!=typeof Uint8Array?Uint8Array:Array,uc=!1;function cc(){uc=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,n=t.length;e>18&63]+oc[i>>12&63]+oc[i>>6&63]+oc[63&i]);return o.join("")}function hc(t){var e;uc||cc();for(var n=t.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(e=t[n-1],i+=oc[e>>2],i+=oc[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=oc[e>>10],i+=oc[e>>4&63],i+=oc[e<<2&63],i+="="),o.push(i),o.join("")}function dc(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)}function fc(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m}var pc={}.toString,mc=Array.isArray||function(t){return"[object Array]"==pc.call(t)};bc.TYPED_ARRAY_SUPPORT=void 0===ic.TYPED_ARRAY_SUPPORT||ic.TYPED_ARRAY_SUPPORT;var gc=yc();function yc(){return bc.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function vc(t,e){if(yc()=yc())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+yc().toString(16)+" bytes");return 0|t}function xc(t){return!(null==t||!t._isBuffer)}function Ec(t,e){if(xc(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Kc(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $c(t).length;default:if(r)return Kc(t).length;e=(""+e).toLowerCase(),r=!0}}function Nc(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Qc(this,e,n);case"utf8":case"utf-8":return Bc(this,e,n);case"ascii":return Rc(this,e,n);case"latin1":case"binary":return Uc(this,e,n);case"base64":return Pc(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wc(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function Sc(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function Ic(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=bc.from(e,r)),xc(e))return 0===e.length?-1:Tc(t,e,n,r,i);if("number"==typeof e)return e&=255,bc.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):Tc(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Tc(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,d=0;di&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function Pc(t,e,n){return 0===e&&n===t.length?hc(t):hc(t.slice(e,n))}function Bc(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+h<=n)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=h}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},bc.prototype.compare=function(t,e,n,r,i){if(!xc(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),l=0;li)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return jc(this,t,e,n);case"utf8":case"utf-8":return Cc(this,t,e,n);case"ascii":return Dc(this,t,e,n);case"latin1":case"binary":return Oc(this,t,e,n);case"base64":return _c(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zc(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},bc.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Rc(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function Fc(t,e,n,r,i,o){if(!xc(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function Hc(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function Gc(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function Zc(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Vc(t,e,n,r,i){return i||Zc(t,0,n,4),fc(t,e,n,r,23,4),n+4}function Jc(t,e,n,r,i){return i||Zc(t,0,n,8),fc(t,e,n,r,52,8),n+8}bc.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},bc.prototype.readUInt8=function(t,e){return e||Yc(t,1,this.length),this[t]},bc.prototype.readUInt16LE=function(t,e){return e||Yc(t,2,this.length),this[t]|this[t+1]<<8},bc.prototype.readUInt16BE=function(t,e){return e||Yc(t,2,this.length),this[t]<<8|this[t+1]},bc.prototype.readUInt32LE=function(t,e){return e||Yc(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},bc.prototype.readUInt32BE=function(t,e){return e||Yc(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},bc.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||Yc(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},bc.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||Yc(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},bc.prototype.readInt8=function(t,e){return e||Yc(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},bc.prototype.readInt16LE=function(t,e){e||Yc(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},bc.prototype.readInt16BE=function(t,e){e||Yc(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},bc.prototype.readInt32LE=function(t,e){return e||Yc(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},bc.prototype.readInt32BE=function(t,e){return e||Yc(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},bc.prototype.readFloatLE=function(t,e){return e||Yc(t,4,this.length),dc(this,t,!0,23,4)},bc.prototype.readFloatBE=function(t,e){return e||Yc(t,4,this.length),dc(this,t,!1,23,4)},bc.prototype.readDoubleLE=function(t,e){return e||Yc(t,8,this.length),dc(this,t,!0,52,8)},bc.prototype.readDoubleBE=function(t,e){return e||Yc(t,8,this.length),dc(this,t,!1,52,8)},bc.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||Fc(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},bc.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,1,255,0),bc.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},bc.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,2,65535,0),bc.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Hc(this,t,e,!0),e+2},bc.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,2,65535,0),bc.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Hc(this,t,e,!1),e+2},bc.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,4,4294967295,0),bc.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Gc(this,t,e,!0),e+4},bc.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,4,4294967295,0),bc.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Gc(this,t,e,!1),e+4},bc.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);Fc(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},bc.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);Fc(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},bc.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,1,127,-128),bc.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},bc.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,2,32767,-32768),bc.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Hc(this,t,e,!0),e+2},bc.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,2,32767,-32768),bc.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Hc(this,t,e,!1),e+2},bc.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,4,2147483647,-2147483648),bc.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Gc(this,t,e,!0),e+4},bc.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||Fc(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),bc.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Gc(this,t,e,!1),e+4},bc.prototype.writeFloatLE=function(t,e,n){return Vc(this,t,e,!0,n)},bc.prototype.writeFloatBE=function(t,e,n){return Vc(this,t,e,!1,n)},bc.prototype.writeDoubleLE=function(t,e,n){return Jc(this,t,e,!0,n)},bc.prototype.writeDoubleBE=function(t,e,n){return Jc(this,t,e,!1,n)},bc.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!bc.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $c(t){return function(t){var e,n,r,i,o,a;uc||cc();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[s-2]?2:"="===t[s-1]?1:0,a=new sc(3*s/4-o),r=o>0?s-4:s;var u=0;for(e=0,n=0;e>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=ac[t.charCodeAt(e)]<<2|ac[t.charCodeAt(e+1)]>>4,a[u++]=255&i):1===o&&(i=ac[t.charCodeAt(e)]<<10|ac[t.charCodeAt(e+1)]<<4|ac[t.charCodeAt(e+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(qc,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function tl(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function el(t){return null!=t&&(!!t._isBuffer||nl(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&nl(t.slice(0,0))}(t))}function nl(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var rl=rc(Object.freeze({__proto__:null,Buffer:bc,INSPECT_MAX_BYTES:50,SlowBuffer:function(t){return+t!=t&&(t=0),bc.alloc(+t)},isBuffer:el,kMaxLength:gc}));function il(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ol(t){for(var e=1;e=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function Vl(t){return(Vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jl(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ql(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Jl(o,r,i,a,s,"next",t)}function s(t){Jl(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Xl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e){for(var n=0;n=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function uh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ch(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return uh(t)}function lh(t){var e=ih();return function(){var n,r=nh(t);if(e){var i=nh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ch(this,n)}}function hh(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=nh(t)););return t}function dh(){return(dh="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=hh(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}}).apply(this,arguments)}function fh(t,e){return mh(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||yh(t,e)||bh()}function ph(t){return function(t){if(Array.isArray(t))return vh(t)}(t)||gh(t)||yh(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mh(t){if(Array.isArray(t))return t}function gh(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function yh(t,e){if(t){if("string"==typeof t)return vh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vh(t,e):void 0}}function vh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}var Mh={exports:{}};!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function i(t,e,n){if(i.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"===Vl(t)?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:Fl.Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,n){var r=a(t,n);return n-1>=e&&(r|=a(t,n-1)<<4),r}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===Vl(t))return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=s(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(t){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?h[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],l=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);r=(p=p.idivn(l)).isZero()?m+r:h[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},i.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?i.prototype._countBits=function(t){return 32-Math.clz32(t)}:i.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function g(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return g(t,e,n)}Math.imul||(m=p),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):y(this,t,e)},i.prototype.mul=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},i.prototype.mulf=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),y(this,t,e)},i.prototype.imul=function(t){return this.clone().mulTo(t,this)},i.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==e){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[o.length+h])+(0|r.words[o.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modrn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},i.prototype.modn=function(t){return this.modrn(t)},i.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(h)),o.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s),a.isub(u)):(r.isub(e),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new A(t)},i.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(w,b),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new M;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new L}return v[t]=e,e},A.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new i(1)).iushrn(2);return this.pow(t,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,o),d=this.pow(t,o.addn(1).iushrn(1)),f=this.pow(t,o),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new x(t)},r(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(Mh,Wc);var kh=Mh.exports;function Lh(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("Wrong positive integer: ".concat(t))}function Ah(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&!n.includes(t.length))throw new TypeError("Expected Uint8Array of length ".concat(n,", not of length=").concat(t.length))}var xh={number:Lh,bool:function(t){if("boolean"!=typeof t)throw new Error("Expected boolean, not ".concat(t))},bytes:Ah,hash:function(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");Lh(t.outputLen),Lh(t.blockLen)},exists:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")},output:function(t,e){Ah(t);var n=e.outputLen;if(t.length>>e};if(!(68===new Uint8Array(new Uint32Array([287454020]).buffer)[0]))throw new Error("Non little-endian hardware is not supported");function Ih(t){if("string"==typeof t&&(t=function(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got ".concat(Vl(t)));return(new TextEncoder).encode(t)}(t)),!(t instanceof Uint8Array))throw new TypeError("Expected input type is Uint8Array (got ".concat(Vl(t),")"));return t}Array.from({length:256},(function(t,e){return e.toString(16).padStart(2,"0")}));var Th=function(){function t(){Xl(this,t)}return $l(t,[{key:"clone",value:function(){return this._cloneInto()}}]),t}();function jh(t){var e=function(e){return t().update(Ih(e)).digest()},n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=function(){return t()},e}var Ch=function(t){eh(n,Th);var e=lh(n);function n(t,r,i,o){var a;return Xl(this,n),(a=e.call(this)).blockLen=t,a.outputLen=r,a.padOffset=i,a.isLE=o,a.finished=!1,a.length=0,a.pos=0,a.destroyed=!1,a.buffer=new Uint8Array(t),a.view=Nh(a.buffer),a}return $l(n,[{key:"update",value:function(t){xh.exists(this);for(var e=this.view,n=this.buffer,r=this.blockLen,i=(t=Ih(t)).length,o=0;or-o&&(this.process(n,0),o=0);for(var a=o;a>i&o),s=Number(n&o),u=r?4:0,c=r?0:4;t.setUint32(e+u,a,r),t.setUint32(e+c,s,r)}(n,r-8,BigInt(8*this.length),i),this.process(n,0);var s=Nh(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");var c=u/4,l=this.get();if(c>l.length)throw new Error("_sha2: outputLen bigger than state");for(var h=0;h1&&void 0!==arguments[1]&&arguments[1];return e?{h:Number(t&Dh),l:Number(t>>Oh&Dh)}:{h:0|Number(t>>Oh&Dh),l:0|Number(t&Dh)}}var zh={fromBig:_h,split:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Uint32Array(t.length),r=new Uint32Array(t.length),i=0;i>>0)<>>0)},shrSH:function(t,e,n){return t>>>n},shrSL:function(t,e,n){return t<<32-n|e>>>n},rotrSH:function(t,e,n){return t>>>n|e<<32-n},rotrSL:function(t,e,n){return t<<32-n|e>>>n},rotrBH:function(t,e,n){return t<<64-n|e>>>n-32},rotrBL:function(t,e,n){return t>>>n-32|e<<64-n},rotr32H:function(t,e){return e},rotr32L:function(t,e){return t},rotlSH:function(t,e,n){return t<>>32-n},rotlSL:function(t,e,n){return e<>>32-n},rotlBH:function(t,e,n){return e<>>64-n},rotlBL:function(t,e,n){return t<>>64-n},add:function(t,e,n,r){var i=(e>>>0)+(r>>>0);return{h:t+n+(i/Math.pow(2,32)|0)|0,l:0|i}},add3L:function(t,e,n){return(t>>>0)+(e>>>0)+(n>>>0)},add3H:function(t,e,n,r){return e+n+r+(t/Math.pow(2,32)|0)|0},add4L:function(t,e,n,r){return(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)},add4H:function(t,e,n,r,i){return e+n+r+i+(t/Math.pow(2,32)|0)|0},add5H:function(t,e,n,r,i,o){return e+n+r+i+o+(t/Math.pow(2,32)|0)|0},add5L:function(t,e,n,r,i){return(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0)}},Ph=fh(zh.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((function(t){return BigInt(t)}))),2),Bh=Ph[0],Rh=Ph[1],Uh=new Uint32Array(80),Qh=new Uint32Array(80),Wh=function(t){eh(n,Ch);var e=lh(n);function n(){var t;return Xl(this,n),(t=e.call(this,128,64,16,!1)).Ah=1779033703,t.Al=-205731576,t.Bh=-1150833019,t.Bl=-2067093701,t.Ch=1013904242,t.Cl=-23791573,t.Dh=-1521486534,t.Dl=1595750129,t.Eh=1359893119,t.El=-1377402159,t.Fh=-1694144372,t.Fl=725511199,t.Gh=528734635,t.Gl=-79577749,t.Hh=1541459225,t.Hl=327033209,t}return $l(n,[{key:"get",value:function(){return[this.Ah,this.Al,this.Bh,this.Bl,this.Ch,this.Cl,this.Dh,this.Dl,this.Eh,this.El,this.Fh,this.Fl,this.Gh,this.Gl,this.Hh,this.Hl]}},{key:"set",value:function(t,e,n,r,i,o,a,s,u,c,l,h,d,f,p,m){this.Ah=0|t,this.Al=0|e,this.Bh=0|n,this.Bl=0|r,this.Ch=0|i,this.Cl=0|o,this.Dh=0|a,this.Dl=0|s,this.Eh=0|u,this.El=0|c,this.Fh=0|l,this.Fl=0|h,this.Gh=0|d,this.Gl=0|f,this.Hh=0|p,this.Hl=0|m}},{key:"process",value:function(t,e){for(var n=0;n<16;n++,e+=4)Uh[n]=t.getUint32(e),Qh[n]=t.getUint32(e+=4);for(var r=16;r<80;r++){var i=0|Uh[r-15],o=0|Qh[r-15],a=zh.rotrSH(i,o,1)^zh.rotrSH(i,o,8)^zh.shrSH(i,o,7),s=zh.rotrSL(i,o,1)^zh.rotrSL(i,o,8)^zh.shrSL(i,o,7),u=0|Uh[r-2],c=0|Qh[r-2],l=zh.rotrSH(u,c,19)^zh.rotrBH(u,c,61)^zh.shrSH(u,c,6),h=zh.rotrSL(u,c,19)^zh.rotrBL(u,c,61)^zh.shrSL(u,c,6),d=zh.add4L(s,h,Qh[r-7],Qh[r-16]),f=zh.add4H(d,a,l,Uh[r-7],Uh[r-16]);Uh[r]=0|f,Qh[r]=0|d}for(var p=this.Ah,m=this.Al,g=this.Bh,y=this.Bl,v=this.Ch,b=this.Cl,w=this.Dh,M=this.Dl,k=this.Eh,L=this.El,A=this.Fh,x=this.Fl,E=this.Gh,N=this.Gl,S=this.Hh,I=this.Hl,T=0;T<80;T++){var j=zh.rotrSH(k,L,14)^zh.rotrSH(k,L,18)^zh.rotrBH(k,L,41),C=zh.rotrSL(k,L,14)^zh.rotrSL(k,L,18)^zh.rotrBL(k,L,41),D=k&A^~k&E,O=L&x^~L&N,_=zh.add5L(I,C,O,Rh[T],Qh[T]),z=zh.add5H(_,S,j,D,Bh[T],Uh[T]),P=0|_,B=zh.rotrSH(p,m,28)^zh.rotrBH(p,m,34)^zh.rotrBH(p,m,39),R=zh.rotrSL(p,m,28)^zh.rotrBL(p,m,34)^zh.rotrBL(p,m,39),U=p&g^p&v^g&v,Q=m&y^m&b^y&b;S=0|E,I=0|N,E=0|A,N=0|x,A=0|k,x=0|L;var W=zh.add(0|w,0|M,0|z,0|P);k=W.h,L=W.l,w=0|v,M=0|b,v=0|g,b=0|y,g=0|p,y=0|m;var Y=zh.add3L(P,R,Q);p=zh.add3H(Y,z,B,U),m=0|Y}var F=zh.add(0|this.Ah,0|this.Al,0|p,0|m);p=F.h,m=F.l;var H=zh.add(0|this.Bh,0|this.Bl,0|g,0|y);g=H.h,y=H.l;var G=zh.add(0|this.Ch,0|this.Cl,0|v,0|b);v=G.h,b=G.l;var Z=zh.add(0|this.Dh,0|this.Dl,0|w,0|M);w=Z.h,M=Z.l;var V=zh.add(0|this.Eh,0|this.El,0|k,0|L);k=V.h,L=V.l;var J=zh.add(0|this.Fh,0|this.Fl,0|A,0|x);A=J.h,x=J.l;var q=zh.add(0|this.Gh,0|this.Gl,0|E,0|N);E=q.h,N=q.l;var X=zh.add(0|this.Hh,0|this.Hl,0|S,0|I);S=X.h,I=X.l,this.set(p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I)}},{key:"roundClean",value:function(){Uh.fill(0),Qh.fill(0)}},{key:"destroy",value:function(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}]),n}(),Yh=function(t){eh(n,Wh);var e=lh(n);function n(){var t;return Xl(this,n),(t=e.call(this)).Ah=-1942145080,t.Al=424955298,t.Bh=1944164710,t.Bl=-1982016298,t.Ch=502970286,t.Cl=855612546,t.Dh=1738396948,t.Dl=1479516111,t.Eh=258812777,t.El=2077511080,t.Fh=2011393907,t.Fl=79989058,t.Gh=1067287976,t.Gl=1780299464,t.Hh=286451373,t.Hl=-1848208735,t.outputLen=28,t}return $l(n)}(),Fh=function(t){eh(n,Wh);var e=lh(n);function n(){var t;return Xl(this,n),(t=e.call(this)).Ah=573645204,t.Al=-64227540,t.Bh=-1621794909,t.Bl=-934517566,t.Ch=596883563,t.Cl=1867755857,t.Dh=-1774684391,t.Dl=1497426621,t.Eh=-1775747358,t.El=-1467023389,t.Fh=-1101128155,t.Fl=1401305490,t.Gh=721525244,t.Gl=746961066,t.Hh=246885852,t.Hl=-2117784414,t.outputLen=32,t}return $l(n)}(),Hh=function(t){eh(n,Wh);var e=lh(n);function n(){var t;return Xl(this,n),(t=e.call(this)).Ah=-876896931,t.Al=-1056596264,t.Bh=1654270250,t.Bl=914150663,t.Ch=-1856437926,t.Cl=812702999,t.Dh=355462360,t.Dl=-150054599,t.Eh=1731405415,t.El=-4191439,t.Fh=-1900787065,t.Fl=1750603025,t.Gh=-619958771,t.Gl=1694076839,t.Hh=1203062813,t.Hl=-1090891868,t.outputLen=48,t}return $l(n)}(),Gh=jh((function(){return new Wh}));jh((function(){return new Yh})),jh((function(){return new Fh})),jh((function(){return new Hh}));var Zh=Qc.crypto,Vh=BigInt(0),Jh=BigInt(1),qh=BigInt(2),Xh=BigInt(8),Kh=BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),$h=Object.freeze({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),P:BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l:Kh,n:Kh,h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960")}),td=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),ed=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742");var nd=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),rd=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),id=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),od=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),ad=function(){function t(e,n,r,i){Xl(this,t),this.x=e,this.y=n,this.z=r,this.t=i}return $l(t,[{key:"equals",value:function(t){ud(t);var e=this.x,n=this.y,r=this.z,i=t.x,o=t.y,a=t.z,s=Ed(e*a),u=Ed(i*r),c=Ed(n*a),l=Ed(o*r);return s===u&&c===l}},{key:"negate",value:function(){return new t(Ed(-this.x),this.y,this.z,Ed(-this.t))}},{key:"double",value:function(){var e=this.x,n=this.y,r=this.z,i=$h.a,o=Ed(e*e),a=Ed(n*n),s=Ed(qh*Ed(r*r)),u=Ed(i*o),c=e+n,l=Ed(Ed(c*c)-o-a),h=u+a,d=h-s,f=u-a,p=Ed(l*d),m=Ed(h*f),g=Ed(l*f);return new t(p,m,Ed(d*h),g)}},{key:"add",value:function(e){ud(e);var n=this.x,r=this.y,i=this.z,o=this.t,a=e.x,s=e.y,u=e.z,c=e.t,l=Ed((r-n)*(s+a)),h=Ed((r+n)*(s-a)),d=Ed(h-l);if(d===Vh)return this.double();var f=Ed(i*qh*c),p=Ed(o*qh*u),m=p+f,g=h+l,y=p-f,v=Ed(m*d),b=Ed(g*y),w=Ed(m*y);return new t(v,b,Ed(d*g),w)}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"precomputeWindow",value:function(t){for(var e=1+256/t,n=[],r=this,i=r,o=0;o>=h,p>u&&(p-=l,e+=Jh);var m=f,g=f+Math.abs(p)-1,y=d%2!=0,v=p<0;0===p?a=a.add(sd(y,i[m])):o=o.add(sd(v,i[g]))}return t.normalizeZ([o,a])[0]}},{key:"multiply",value:function(t,e){return this.wNAF(Dd(t,$h.l),e)}},{key:"multiplyUnsafe",value:function(e){var n=Dd(e,$h.l,!1),r=t.BASE,i=t.ZERO;if(n===Vh)return i;if(this.equals(i)||n===Jh)return this;if(this.equals(r))return this.wNAF(n);for(var o=i,a=this;n>Vh;)n&Jh&&(o=o.add(a)),a=a.double(),n>>=Jh;return o}},{key:"isSmallOrder",value:function(){return this.multiplyUnsafe($h.h).equals(t.ZERO)}},{key:"isTorsionFree",value:function(){var e=this.multiplyUnsafe($h.l/qh).double();return $h.l%qh&&(e=e.add(this)),e.equals(t.ZERO)}},{key:"toAffine",value:function(e){var n=this.x,r=this.y,i=this.z,o=this.equals(t.ZERO);null==e&&(e=o?Xh:Nd(i));var a=Ed(n*e),s=Ed(r*e),u=Ed(i*e);if(o)return fd.ZERO;if(u!==Jh)throw new Error("invZ was invalid");return new fd(a,s)}},{key:"fromRistrettoBytes",value:function(){ld()}},{key:"toRistrettoBytes",value:function(){ld()}},{key:"fromRistrettoHash",value:function(){ld()}}],[{key:"fromAffine",value:function(e){if(!(e instanceof fd))throw new TypeError("ExtendedPoint#fromAffine: expected Point");return e.equals(fd.ZERO)?t.ZERO:new t(e.x,e.y,Jh,Ed(e.x*e.y))}},{key:"toAffineBatch",value:function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$h.P,n=new Array(t.length),r=Nd(t.reduce((function(t,r,i){return r===Vh?t:(n[i]=t,Ed(t*r,e))}),Jh),e);return t.reduceRight((function(t,r,i){return r===Vh?t:(n[i]=Ed(t*n[i],e),Ed(t*r,e))}),r),n}(t.map((function(t){return t.z})));return t.map((function(t,n){return t.toAffine(e[n])}))}},{key:"normalizeZ",value:function(t){return this.toAffineBatch(t).map(this.fromAffine)}}]),t}();function sd(t,e){var n=e.negate();return t?n:e}function ud(t){if(!(t instanceof ad))throw new TypeError("ExtendedPoint expected")}function cd(t){if(!(t instanceof hd))throw new TypeError("RistrettoPoint expected")}function ld(){throw new Error("Legacy method: switch to RistrettoPoint")}ad.BASE=new ad($h.Gx,$h.Gy,Jh,Ed($h.Gx*$h.Gy)),ad.ZERO=new ad(Vh,Jh,Jh,Vh);var hd=function(){function t(e){Xl(this,t),this.ep=e}return $l(t,[{key:"toRawBytes",value:function(){var t,e=this.ep,n=e.x,r=e.y,i=e.z,o=e.t,a=Ed(Ed(i+r)*Ed(i-r)),s=Ed(n*r),u=Ed(s*s),c=Td(Ed(a*u)).value,l=Ed(c*a),h=Ed(c*s),d=Ed(l*h*o);if(Md(o*d)){var f=Ed(r*ed),p=Ed(n*ed);n=f,r=p,t=Ed(l*rd)}else t=h;Md(n*d)&&(r=Ed(-r));var m=Ed((i-r)*t);return Md(m)&&(m=Ed(-m)),wd(m)}},{key:"toHex",value:function(){return yd(this.toRawBytes())}},{key:"toString",value:function(){return this.toHex()}},{key:"equals",value:function(t){cd(t);var e=this.ep,n=t.ep,r=Ed(e.x*n.y)===Ed(e.y*n.x),i=Ed(e.y*n.y)===Ed(e.x*n.x);return r||i}},{key:"add",value:function(e){return cd(e),new t(this.ep.add(e.ep))}},{key:"subtract",value:function(e){return cd(e),new t(this.ep.subtract(e.ep))}},{key:"multiply",value:function(e){return new t(this.ep.multiply(e))}},{key:"multiplyUnsafe",value:function(e){return new t(this.ep.multiplyUnsafe(e))}}],[{key:"calcElligatorRistrettoMap",value:function(t){var e=$h.d,n=Ed(ed*t*t),r=Ed((n+Jh)*id),i=BigInt(-1),o=Ed((i-e*n)*Ed(n+e)),a=Id(r,o),s=a.isValid,u=a.value,c=Ed(u*t);Md(c)||(c=Ed(-c)),s||(u=c),s||(i=n);var l=Ed(i*(n-Jh)*od-o),h=u*u,d=Ed((u+u)*o),f=Ed(l*nd),p=Ed(Jh-h),m=Ed(Jh+h);return new ad(Ed(d*m),Ed(p*f),Ed(f*m),Ed(d*p))}},{key:"hashToCurve",value:function(e){var n=xd((e=Cd(e,64)).slice(0,32)),r=this.calcElligatorRistrettoMap(n),i=xd(e.slice(32,64)),o=this.calcElligatorRistrettoMap(i);return new t(r.add(o))}},{key:"fromHex",value:function(e){e=Cd(e,32);var n=$h.a,r=$h.d,i="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",o=xd(e);if(!function(t,e){if(t.length!==e.length)return!1;for(var n=0;n1&&void 0!==arguments[1])||arguments[1],r=$h.d,i=$h.P,o=(e=Cd(e,32)).slice();o[31]=-129&e[31];var a=kd(o);if(n&&a>=i)throw new Error("Expected 0 < hex < P");if(!n&&a>=td)throw new Error("Expected 0 < hex < 2**256");var s=Ed(a*a),u=Ed(s-Jh),c=Ed(r*s+Jh),l=Id(u,c),h=l.isValid,d=l.value;if(!h)throw new Error("Point.fromHex: invalid y coordinate");var f=(d&Jh)===Jh,p=0!=(128&e[31]);return p!==f&&(d=Ed(-d)),new t(d,a)}},{key:"fromPrivateKey",value:(e=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Pd(e);case 2:return t.abrupt("return",t.sent.point);case 3:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})}]),t}();fd.BASE=new fd($h.Gx,$h.Gy),fd.ZERO=new fd(Vh,Jh);var pd=function(){function t(e,n){Xl(this,t),this.r=e,this.s=n,this.assertValidity()}return $l(t,[{key:"assertValidity",value:function(){var t=this.r,e=this.s;if(!(t instanceof fd))throw new Error("Expected Point instance");return Dd(e,$h.l,!1),this}},{key:"toRawBytes",value:function(){var t=new Uint8Array(64);return t.set(this.r.toRawBytes()),t.set(wd(this.s),32),t}},{key:"toHex",value:function(){return yd(this.toRawBytes())}}],[{key:"fromHex",value:function(e){var n=Cd(e,64);return new t(fd.fromHex(n.slice(0,32),!1),kd(n.slice(32,64)))}}]),t}();function md(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:$h.P,n=t%e;return n>=Vh?n:e+n}function Nd(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$h.P;if(t===Vh||e<=Vh)throw new Error("invert: expected positive integers, got n=".concat(t," mod=").concat(e));for(var n=Ed(t,e),r=e,i=Vh,o=Jh;n!==Vh;){var a=r/n,s=r%n,u=i-o*a;r=n,n=s,i=o,o=u}var c=r;if(c!==Jh)throw new Error("invert: does not exist");return Ed(i,e)}function Sd(t,e){for(var n=$h.P,r=t;e-- >Vh;)r*=r,r%=n;return r}function Id(t,e){var n=Ed(e*e*e),r=Ed(n*n*e),i=Ed(t*n*function(t){var e=$h.P,n=BigInt(5),r=BigInt(10),i=BigInt(20),o=BigInt(40),a=BigInt(80),s=t*t%e*t%e,u=Sd(s,qh)*s%e,c=Sd(u,Jh)*t%e,l=Sd(c,n)*c%e,h=Sd(l,r)*l%e,d=Sd(h,i)*h%e,f=Sd(d,o)*d%e,p=Sd(f,a)*f%e,m=Sd(p,a)*f%e,g=Sd(m,r)*l%e;return{pow_p_5_8:Sd(g,qh)*t%e,b2:s}}(t*r).pow_p_5_8),o=Ed(e*i*i),a=i,s=Ed(i*ed),u=o===t,c=o===Ed(-t),l=o===Ed(-t*ed);return u&&(i=a),(c||l)&&(i=s),Md(i)&&(i=Ed(-i)),{isValid:u||c,value:i}}function Td(t){return Id(Jh,t)}function jd(t){return Ed(kd(t),$h.l)}function Cd(t,e){var n=t instanceof Uint8Array?Uint8Array.from(t):vd(t);if("number"==typeof e&&n.length!==e)throw new Error("Expected ".concat(e," bytes"));return n}function Dd(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("Specify max value");if("number"==typeof t&&Number.isSafeInteger(t)&&(t=BigInt(t)),"bigint"==typeof t&&t1024)throw new Error("Expected 40-1024 bytes of private key as per FIPS 186");return Ed(kd(t),$h.l-Jh)+Jh},randomBytes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(Wd.web)return Wd.web.getRandomValues(new Uint8Array(t));if(Wd.node){var e=Wd.node.randomBytes;return new Uint8Array(e(t).buffer)}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:function(){return Yd.randomBytes(32)},sha512:(Qd=ql(Zl().mark((function t(){var e,n,r=arguments;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=md.apply(void 0,r),!Wd.web){t.next=8;break}return t.next=4,Wd.web.subtle.digest("SHA-512",e.buffer);case 4:return n=t.sent,t.abrupt("return",new Uint8Array(n));case 8:if(!Wd.node){t.next=12;break}return t.abrupt("return",Uint8Array.from(Wd.node.createHash("sha512").update(e).digest()));case 12:throw new Error("The environment doesn't have sha512 function");case 13:case"end":return t.stop()}}),t)}))),function(){return Qd.apply(this,arguments)}),precompute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fd.BASE,n=e.equals(fd.BASE)?e:new fd(e.x,e.y);return n._setWindowSize(t),n.multiply(qh),n},sha512Sync:void 0};Object.defineProperties(Yd,{sha512Sync:{configurable:!1,get:function(){return Ld},set:function(t){Ld||(Ld=t)}}});var Fd={exports:{}}; -/*! safe-buffer. MIT License. Feross Aboukhadijeh */!function(t,e){var n=Fl,r=n.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=o),o.prototype=Object.create(r.prototype),i(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}}(Fd,Fd.exports);var Hd=Fd.exports.Buffer;var Gd=function(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,c=new Uint8Array(o);t[n];){var l=e[t.charCodeAt(n)];if(255===l)return;for(var h=0,d=o-1;(0!==l||h>>0,c[d]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");i=h,n++}for(var f=o-i;f!==o&&0===c[f];)f++;var p=Hd.allocUnsafe(r+(o-f));p.fill(0,0,r);for(var m=r;f!==o;)p[m++]=c[f++];return p}return{encode:function(e){if((Array.isArray(e)||e instanceof Uint8Array)&&(e=Hd.from(e)),!Hd.isBuffer(e))throw new TypeError("Expected Buffer");if(0===e.length)return"";for(var n=0,r=0,i=0,o=e.length;i!==o&&0===e[i];)i++,n++;for(var u=(o-i)*c+1>>>0,l=new Uint8Array(u);i!==o;){for(var h=e[i],d=0,f=u-1;(0!==h||d>>0,l[f]=h%a>>>0,h=h/a>>>0;if(0!==h)throw new Error("Non-zero carry");r=d,i++}for(var p=u-r;p!==u&&0===l[p];)p++;for(var m=s.repeat(n);p>>3,s=Sh(o,17)^Sh(o,19)^o>>>10;Kd[r]=s+Kd[r-7]+a+Kd[r-16]|0}for(var u,c=this.A,l=this.B,h=this.C,d=this.D,f=this.E,p=this.F,m=this.G,g=this.H,y=0;y<64;y++){var v=g+(Sh(f,6)^Sh(f,11)^Sh(f,25))+((u=f)&p^~u&m)+qd[y]+Kd[y]|0,b=(Sh(c,2)^Sh(c,13)^Sh(c,22))+Jd(c,l,h)|0;g=m,m=p,p=f,f=d+v|0,d=h,h=l,l=c,c=v+b|0}c=c+this.A|0,l=l+this.B|0,h=h+this.C|0,d=d+this.D|0,f=f+this.E|0,p=p+this.F|0,m=m+this.G|0,g=g+this.H|0,this.set(c,l,h,d,f,p,m,g)}},{key:"roundClean",value:function(){Kd.fill(0)}},{key:"destroy",value:function(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}]),n}(),tf=function(t){eh(n,$d);var e=lh(n);function n(){var t;return Xl(this,n),(t=e.call(this)).A=-1056596264,t.B=914150663,t.C=812702999,t.D=-150054599,t.E=-4191439,t.F=1750603025,t.G=1694076839,t.H=-1090891868,t.outputLen=28,t}return $l(n)}(),ef=jh((function(){return new $d}));jh((function(){return new tf}));var nf={};function rf(t,e,n){return e<=t&&t<=n}function of(t){if(void 0===t)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function af(t){this.tokens=[].slice.call(t)}af.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():-1},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.shift());else this.tokens.push(t)}};function sf(t,e){if(t)throw TypeError("Decoder error");return e||65533}function uf(t,e){if(!(this instanceof uf))return new uf(t,e);if("utf-8"!==(t=void 0!==t?String(t).toLowerCase():"utf-8"))throw new Error("Encoding not supported. Only utf-8 is supported");e=of(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=Boolean(e.fatal),this._ignoreBOM=Boolean(e.ignoreBOM),Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function cf(t,e){if(!(this instanceof cf))return new cf(t,e);if("utf-8"!==(t=void 0!==t?String(t).toLowerCase():"utf-8"))throw new Error("Encoding not supported. Only utf-8 is supported");e=of(e),this._streaming=!1,this._encoder=null,this._options={fatal:Boolean(e.fatal)},Object.defineProperty(this,"encoding",{value:"utf-8"})}function lf(t){var e=t.fatal,n=0,r=0,i=0,o=128,a=191;this.handler=function(t,s){if(-1===s&&0!==i)return i=0,sf(e);if(-1===s)return-1;if(0===i){if(rf(s,0,127))return s;if(rf(s,194,223))i=1,n=s-192;else if(rf(s,224,239))224===s&&(o=160),237===s&&(a=159),i=2,n=s-224;else{if(!rf(s,240,244))return sf(e);240===s&&(o=144),244===s&&(a=143),i=3,n=s-240}return n<<=6*i,null}if(!rf(s,o,a))return n=i=r=0,o=128,a=191,t.prepend(s),sf(e);if(o=128,a=191,n+=s-128<<6*(i-(r+=1)),r!==i)return null;var u=n;return n=i=r=0,u}}function hf(t){t.fatal,this.handler=function(t,e){if(-1===e)return-1;if(rf(e,0,127))return e;var n,r;rf(e,128,2047)?(n=1,r=192):rf(e,2048,65535)?(n=2,r=224):rf(e,65536,1114111)&&(n=3,r=240);for(var i=[(e>>6*n)+r];n>0;){var o=e>>6*(n-1);i.push(128|63&o),n-=1}return i}}uf.prototype={decode:function(t,e){var n;n="object"===Vl(t)&&t instanceof ArrayBuffer?new Uint8Array(t):"object"===Vl(t)&&"buffer"in t&&t.buffer instanceof ArrayBuffer?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(0),e=of(e),this._streaming||(this._decoder=new lf({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(e.stream);for(var r,i=new af(n),o=[];!i.endOfStream()&&-1!==(r=this._decoder.handler(i,i.read()));)null!==r&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));if(!this._streaming){do{if(-1===(r=this._decoder.handler(i,i.read())))break;null!==r&&(Array.isArray(r)?o.push.apply(o,r):o.push(r))}while(!i.endOfStream());this._decoder=null}return o.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===o[0]?(this._BOMseen=!0,o.shift()):this._BOMseen=!0)),function(t){for(var e="",n=0;n>10),56320+(1023&r)))}return e}(o)}},cf.prototype={encode:function(t,e){t=t?String(t):"",e=of(e),this._streaming||(this._encoder=new hf(this._options)),this._streaming=Boolean(e.stream);for(var n,r=[],i=new af(function(t){for(var e=String(t),n=e.length,r=0,i=[];r57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(r===n-1)i.push(65533);else{var a=t.charCodeAt(r+1);if(56320<=a&&a<=57343){var s=1023&o,u=1023&a;i.push(65536+(s<<10)+u),r+=1}else i.push(65533)}r+=1}return i}(t));!i.endOfStream()&&-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);if(!this._streaming){for(;-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);this._encoder=null}return new Uint8Array(r)}};var df=Fc(Object.freeze({__proto__:null,TextEncoder:cf,TextDecoder:uf})),ff=Wc&&Wc.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),pf=Wc&&Wc.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),mf=Wc&&Wc.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":Vl(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},gf=Wc&&Wc.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.hasOwnProperty.call(t,n)&&ff(e,t,n);return pf(e,t),e},yf=Wc&&Wc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(nf,"__esModule",{value:!0});var vf=nf.deserializeUnchecked=Df=nf.deserialize=Tf=nf.serialize=nf.BinaryReader=nf.BinaryWriter=nf.BorshError=nf.baseDecode=nf.baseEncode=void 0,bf=yf(Mh.exports),wf=yf(Zd),Mf=gf(df),kf=new("function"!=typeof TextDecoder?Mf.TextDecoder:TextDecoder)("utf-8",{fatal:!0});nf.baseEncode=function(t){return"string"==typeof t&&(t=al.from(t,"utf8")),wf.default.encode(al.from(t))},nf.baseDecode=function(t){return al.from(wf.default.decode(t))};var Lf=function(t){eh(n,ah(Error));var e=lh(n);function n(t){var r;return Xl(this,n),(r=e.call(this,t)).fieldPath=[],r.originalMessage=t,r}return $l(n,[{key:"addToFieldPath",value:function(t){this.fieldPath.splice(0,0,t),this.message=this.originalMessage+": "+this.fieldPath.join(".")}}]),n}();nf.BorshError=Lf;var Af=function(){function t(){Xl(this,t),this.buf=al.alloc(1024),this.length=0}return $l(t,[{key:"maybeResize",value:function(){this.buf.length<16+this.length&&(this.buf=al.concat([this.buf,al.alloc(1024)]))}},{key:"writeU8",value:function(t){this.maybeResize(),this.buf.writeUInt8(t,this.length),this.length+=1}},{key:"writeU16",value:function(t){this.maybeResize(),this.buf.writeUInt16LE(t,this.length),this.length+=2}},{key:"writeU32",value:function(t){this.maybeResize(),this.buf.writeUInt32LE(t,this.length),this.length+=4}},{key:"writeU64",value:function(t){this.maybeResize(),this.writeBuffer(al.from(new bf.default(t).toArray("le",8)))}},{key:"writeU128",value:function(t){this.maybeResize(),this.writeBuffer(al.from(new bf.default(t).toArray("le",16)))}},{key:"writeU256",value:function(t){this.maybeResize(),this.writeBuffer(al.from(new bf.default(t).toArray("le",32)))}},{key:"writeU512",value:function(t){this.maybeResize(),this.writeBuffer(al.from(new bf.default(t).toArray("le",64)))}},{key:"writeBuffer",value:function(t){this.buf=al.concat([al.from(this.buf.subarray(0,this.length)),t,al.alloc(1024)]),this.length+=t.length}},{key:"writeString",value:function(t){this.maybeResize();var e=al.from(t,"utf8");this.writeU32(e.length),this.writeBuffer(e)}},{key:"writeFixedArray",value:function(t){this.writeBuffer(al.from(t))}},{key:"writeArray",value:function(t,e){this.maybeResize(),this.writeU32(t.length);var n,r=wh(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.maybeResize(),e(i)}}catch(t){r.e(t)}finally{r.f()}}},{key:"toArray",value:function(){return this.buf.subarray(0,this.length)}}]),t}();function xf(t,e,n){var r=n.value;n.value=function(){try{for(var t=arguments.length,e=new Array(t),n=0;n=0)throw new Lf("Reached the end of buffer when deserializing")}throw t}}}nf.BinaryWriter=Af;var Ef=function(){function t(e){Xl(this,t),this.buf=e,this.offset=0}return $l(t,[{key:"readU8",value:function(){var t=this.buf.readUInt8(this.offset);return this.offset+=1,t}},{key:"readU16",value:function(){var t=this.buf.readUInt16LE(this.offset);return this.offset+=2,t}},{key:"readU32",value:function(){var t=this.buf.readUInt32LE(this.offset);return this.offset+=4,t}},{key:"readU64",value:function(){var t=this.readBuffer(8);return new bf.default(t,"le")}},{key:"readU128",value:function(){var t=this.readBuffer(16);return new bf.default(t,"le")}},{key:"readU256",value:function(){var t=this.readBuffer(32);return new bf.default(t,"le")}},{key:"readU512",value:function(){var t=this.readBuffer(64);return new bf.default(t,"le")}},{key:"readBuffer",value:function(t){if(this.offset+t>this.buf.length)throw new Lf("Expected buffer length ".concat(t," isn't within bounds"));var e=this.buf.slice(this.offset,this.offset+t);return this.offset+=t,e}},{key:"readString",value:function(){var t=this.readU32(),e=this.readBuffer(t);try{return kf.decode(e)}catch(t){throw new Lf("Error decoding UTF-8 string: ".concat(t))}}},{key:"readFixedArray",value:function(t){return new Uint8Array(this.readBuffer(t))}},{key:"readArray",value:function(t){for(var e=this.readU32(),n=Array(),r=0;r2&&void 0!==arguments[2]?arguments[2]:Af,r=new n;return If(t,e,r),r.toArray()};function jf(t,e,n,r){try{if("string"==typeof n)return r["read".concat(Nf(n))]();if(n instanceof Array){if("number"==typeof n[0])return r.readFixedArray(n[0]);if("number"==typeof n[1]){for(var i=[],o=0;o=r.values.length)throw new Lf("Enum index: ".concat(l," is out of range"));var h=fh(r.values[l],2),d=h[0];return new e(th({},d,jf(t,d,h[1],n)))}throw new Lf("Unexpected schema kind: ".concat(r.kind," for ").concat(e.constructor.name))}var Df=nf.deserialize=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ef,i=new r(n),o=Cf(t,e,i);if(i.offset3&&void 0!==arguments[3]?arguments[3]:Ef,i=new r(n);return Cf(t,e,i)};var Of={};Object.defineProperty(Of,"__esModule",{value:!0}),Of.s16=Of.s8=Of.nu64be=Of.u48be=Of.u40be=Of.u32be=Of.u24be=Of.u16be=kp=Of.nu64=Of.u48=Of.u40=Mp=Of.u32=Of.u24=wp=Of.u16=bp=Of.u8=vp=Of.offset=Of.greedy=Of.Constant=Of.UTF8=Of.CString=Of.Blob=Of.Boolean=Of.BitField=Of.BitStructure=Of.VariantLayout=Of.Union=Of.UnionLayoutDiscriminator=Of.UnionDiscriminator=Of.Structure=Of.Sequence=Of.DoubleBE=Of.Double=Of.FloatBE=Of.Float=Of.NearInt64BE=Of.NearInt64=Of.NearUInt64BE=Of.NearUInt64=Of.IntBE=Of.Int=Of.UIntBE=Of.UInt=Of.OffsetLayout=Of.GreedyCount=Of.ExternalLayout=Of.bindConstructorLayout=Of.nameWithProperty=Of.Layout=Of.uint8ArrayToBuffer=Of.checkUint8Array=void 0,Of.constant=Of.utf8=Of.cstr=Ep=Of.blob=Of.unionLayoutDiscriminator=Of.union=xp=Of.seq=Of.bits=Ap=Of.struct=Of.f64be=Of.f64=Of.f32be=Of.f32=Of.ns64be=Of.s48be=Of.s40be=Of.s32be=Of.s24be=Of.s16be=Lp=Of.ns64=Of.s48=Of.s40=Of.s32=Of.s24=void 0;var _f=Fl;function zf(t){if(!(t instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}function Pf(t){return zf(t),_f.Buffer.from(t.buffer,t.byteOffset,t.length)}Of.checkUint8Array=zf,Of.uint8ArrayToBuffer=Pf;var Bf=function(){function t(e,n){if(Xl(this,t),!Number.isInteger(e))throw new TypeError("span must be an integer");this.span=e,this.property=n}return $l(t,[{key:"makeDestinationObject",value:function(){return{}}},{key:"getSpan",value:function(t,e){if(0>this.span)throw new RangeError("indeterminate span");return this.span}},{key:"replicate",value:function(t){var e=Object.create(this.constructor.prototype);return Object.assign(e,this),e.property=t,e}},{key:"fromArray",value:function(t){}}]),t}();function Rf(t,e){return e.property?t+"["+e.property+"]":t}Of.Layout=Bf,Of.nameWithProperty=Rf,Of.bindConstructorLayout=function(t,e){if("function"!=typeof t)throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(t,"layout_"))throw new Error("Class is already bound to a layout");if(!(e&&e instanceof Bf))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(e,"boundConstructor_"))throw new Error("layout is already bound to a constructor");t.layout_=e,e.boundConstructor_=t,e.makeDestinationObject=function(){return new t},Object.defineProperty(t.prototype,"encode",{value:function(t,n){return e.encode(this,t,n)},writable:!0}),Object.defineProperty(t,"decode",{value:function(t,n){return e.decode(t,n)},writable:!0})};var Uf=function(t){eh(n,Bf);var e=lh(n);function n(){return Xl(this,n),e.apply(this,arguments)}return $l(n,[{key:"isCount",value:function(){throw new Error("ExternalLayout is abstract")}}]),n}();Of.ExternalLayout=Uf;var Qf=function(t){eh(n,Uf);var e=lh(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1?arguments[1]:void 0;if(Xl(this,n),!Number.isInteger(r)||0>=r)throw new TypeError("elementSpan must be a (positive) integer");return(t=e.call(this,-1,i)).elementSpan=r,t}return $l(n,[{key:"isCount",value:function(){return!0}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;zf(t);var n=t.length-e;return Math.floor(n/this.elementSpan)}},{key:"encode",value:function(t,e,n){return 0}}]),n}();Of.GreedyCount=Qf;var Wf=function(t){eh(n,Uf);var e=lh(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;if(Xl(this,n),!(t instanceof Bf))throw new TypeError("layout must be a Layout");if(!Number.isInteger(i))throw new TypeError("offset must be integer or undefined");return(r=e.call(this,t.span,o||t.property)).layout=t,r.offset=i,r}return $l(n,[{key:"isCount",value:function(){return this.layout instanceof Yf||this.layout instanceof Ff}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.layout.decode(t,e+this.offset)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.layout.encode(t,e,n+this.offset)}}]),n}();Of.OffsetLayout=Wf;var Yf=function(t){eh(n,Bf);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readUIntLE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeUIntLE(t,n,this.span),this.span}}]),n}();Of.UInt=Yf;var Ff=function(t){eh(n,Bf);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readUIntBE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeUIntBE(t,n,this.span),this.span}}]),n}();Of.UIntBE=Ff;var Hf=function(t){eh(n,Bf);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readIntLE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeIntLE(t,n,this.span),this.span}}]),n}();Of.Int=Hf;var Gf=function(t){eh(n,Bf);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readIntBE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeIntBE(t,n,this.span),this.span}}]),n}();Of.IntBE=Gf;var Zf=Math.pow(2,32);function Vf(t){var e=Math.floor(t/Zf);return{hi32:e,lo32:t-e*Zf}}function Jf(t,e){return t*Zf+e}var qf=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Pf(t),r=n.readUInt32LE(e),i=n.readUInt32LE(e+4);return Jf(i,r)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Vf(t),i=Pf(e);return i.writeUInt32LE(r.lo32,n),i.writeUInt32LE(r.hi32,n+4),8}}]),n}();Of.NearUInt64=qf;var Xf=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Pf(t),r=n.readUInt32BE(e),i=n.readUInt32BE(e+4);return Jf(r,i)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Vf(t),i=Pf(e);return i.writeUInt32BE(r.hi32,n),i.writeUInt32BE(r.lo32,n+4),8}}]),n}();Of.NearUInt64BE=Xf;var Kf=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Pf(t),r=n.readUInt32LE(e),i=n.readInt32LE(e+4);return Jf(i,r)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Vf(t),i=Pf(e);return i.writeUInt32LE(r.lo32,n),i.writeInt32LE(r.hi32,n+4),8}}]),n}();Of.NearInt64=Kf;var $f=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Pf(t),r=n.readInt32BE(e),i=n.readUInt32BE(e+4);return Jf(r,i)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Vf(t),i=Pf(e);return i.writeInt32BE(r.hi32,n),i.writeUInt32BE(r.lo32,n+4),8}}]),n}();Of.NearInt64BE=$f;var tp=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,4,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readFloatLE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeFloatLE(t,n),4}}]),n}();Of.Float=tp;var ep=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,4,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readFloatBE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeFloatBE(t,n),4}}]),n}();Of.FloatBE=ep;var np=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readDoubleLE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeDoubleLE(t,n),8}}]),n}();Of.Double=np;var rp=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Pf(t).readDoubleBE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Pf(e).writeDoubleBE(t,n),8}}]),n}();Of.DoubleBE=rp;var ip=function(t){eh(n,Bf);var e=lh(n);function n(t,r,i){var o;if(Xl(this,n),!(t instanceof Bf))throw new TypeError("elementLayout must be a Layout");if(!(r instanceof Uf&&r.isCount()||Number.isInteger(r)&&0<=r))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");var a=-1;return!(r instanceof Uf)&&01&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=0,r=this.count;if(r instanceof Uf&&(r=r.decode(t,e)),01&&void 0!==arguments[1]?arguments[1]:0,n=[],r=0,i=this.count;for(i instanceof Uf&&(i=i.decode(t,e));r2&&void 0!==arguments[2]?arguments[2]:0,r=this.elementLayout,i=t.reduce((function(t,i){return t+r.encode(i,e,n+t)}),0);return this.count instanceof Uf&&this.count.encode(t.length,e,n),i}}]),n}();Of.Sequence=ip;var op=function(t){eh(n,Bf);var e=lh(n);function n(t,r,i){var o;if(Xl(this,n),!Array.isArray(t)||!t.reduce((function(t,e){return t&&e instanceof Bf}),!0))throw new TypeError("fields must be array of Layout instances");"boolean"==typeof r&&void 0===i&&(i=r,r=void 0);var a,s=wh(t);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(0>u.span&&void 0===u.property)throw new Error("fields cannot contain unnamed variable-length layout")}}catch(t){s.e(t)}finally{s.f()}var c=-1;try{c=t.reduce((function(t,e){return t+e.getSpan()}),0)}catch(t){}return(o=e.call(this,c,r)).fields=t,o.decodePrefixes=!!i,o}return $l(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=0;try{n=this.fields.reduce((function(n,r){var i=r.getSpan(t,e);return e+=i,n+i}),0)}catch(t){throw new RangeError("indeterminate span")}return n}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;zf(t);var n,r=this.makeDestinationObject(),i=wh(this.fields);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(void 0!==o.property&&(r[o.property]=o.decode(t,e)),e+=o.getSpan(t,e),this.decodePrefixes&&t.length===e)break}}catch(t){i.e(t)}finally{i.f()}return r}},{key:"encode",value:function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=r,o=0,a=0,s=wh(this.fields);try{for(s.s();!(n=s.n()).done;){var u=n.value,c=u.span;if(a=0c&&(c=u.getSpan(e,r)))}o=r,r+=c}}catch(t){s.e(t)}finally{s.f()}return o+a-i}},{key:"fromArray",value:function(t){var e,n=this.makeDestinationObject(),r=wh(this.fields);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i.property&&0i.span?n=-1:0<=n&&(n+=i.span)}}catch(t){r.e(t)}finally{r.f()}}}]),n}();Of.Structure=op;var ap=function(){function t(e){Xl(this,t),this.property=e}return $l(t,[{key:"decode",value:function(t,e){throw new Error("UnionDiscriminator is abstract")}},{key:"encode",value:function(t,e,n){throw new Error("UnionDiscriminator is abstract")}}]),t}();Of.UnionDiscriminator=ap;var sp=function(t){eh(n,ap);var e=lh(n);function n(t,r){var i;if(Xl(this,n),!(t instanceof Uf&&t.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");return(i=e.call(this,r||t.property||"variant")).layout=t,i}return $l(n,[{key:"decode",value:function(t,e){return this.layout.decode(t,e)}},{key:"encode",value:function(t,e,n){return this.layout.encode(t,e,n)}}]),n}();Of.UnionLayoutDiscriminator=sp;var up=function(t){eh(n,Bf);var e=lh(n);function n(t,r,i){var o,a;if(Xl(this,n),t instanceof Yf||t instanceof Ff)a=new sp(new Wf(t));else if(t instanceof Uf&&t.isCount())a=new sp(t);else{if(!(t instanceof ap))throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");a=t}if(void 0===r&&(r=null),!(null===r||r instanceof Bf))throw new TypeError("defaultLayout must be null or a Layout");if(null!==r){if(0>r.span)throw new Error("defaultLayout must have constant span");void 0===r.property&&(r=r.replicate("content"))}var s=-1;r&&0<=(s=r.span)&&(t instanceof Yf||t instanceof Ff)&&(s+=a.layout.span),(o=e.call(this,s,i)).discriminator=a,o.usesPrefixDiscriminator=t instanceof Yf||t instanceof Ff,o.defaultLayout=r,o.registry={};var u=o.defaultGetSourceVariant.bind(uh(o));return o.getSourceVariant=function(t){return u(t)},o.configGetSourceVariant=function(t){u=t.bind(this)},o}return $l(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=this.getVariant(t,e);if(!n)throw new Error("unable to determine span for unrecognized variant");return n.getSpan(t,e)}},{key:"defaultGetSourceVariant",value:function(t){if(Object.prototype.hasOwnProperty.call(t,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(t,this.defaultLayout.property))return;var e=this.registry[t[this.discriminator.property]];if(e&&(!e.layout||e.property&&Object.prototype.hasOwnProperty.call(t,e.property)))return e}else for(var n in this.registry){var r=this.registry[n];if(r.property&&Object.prototype.hasOwnProperty.call(t,r.property))return r}throw new Error("unable to infer src variant")}},{key:"decode",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.discriminator,i=r.decode(t,n),o=this.registry[i];if(void 0===o){var a=this.defaultLayout,s=0;this.usesPrefixDiscriminator&&(s=r.layout.span),(e=this.makeDestinationObject())[r.property]=i,e[a.property]=a.decode(t,n+s)}else e=o.decode(t,n);return e}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.getSourceVariant(t);if(void 0===r){var i=this.discriminator,o=this.defaultLayout,a=0;return this.usesPrefixDiscriminator&&(a=i.layout.span),i.encode(t[i.property],e,n),a+o.encode(t[o.property],e,n+a)}return r.encode(t,e,n)}},{key:"addVariant",value:function(t,e,n){var r=new cp(this,t,e,n);return this.registry[t]=r,r}},{key:"getVariant",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e=t instanceof Uint8Array?this.discriminator.decode(t,n):t,this.registry[e]}}]),n}();Of.Union=up;var cp=function(t){eh(n,Bf);var e=lh(n);function n(t,r,i,o){var a;if(Xl(this,n),!(t instanceof up))throw new TypeError("union must be a Union");if(!Number.isInteger(r)||0>r)throw new TypeError("variant must be a (non-negative) integer");if("string"==typeof i&&void 0===o&&(o=i,i=null),i){if(!(i instanceof Bf))throw new TypeError("layout must be a Layout");if(null!==t.defaultLayout&&0<=i.span&&i.span>t.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if("string"!=typeof o)throw new TypeError("variant must have a String property")}var s=t.span;return 0>t.span&&0<=(s=i?i.span:0)&&t.usesPrefixDiscriminator&&(s+=t.discriminator.layout.span),(a=e.call(this,s,o)).union=t,a.variant=r,a.layout=i||null,a}return $l(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=0;this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span);var r=0;return this.layout&&(r=this.layout.getSpan(t,e+n)),n+r}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.makeDestinationObject();if(this!==this.union.getVariant(t,e))throw new Error("variant mismatch");var r=0;return this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout?n[this.property]=this.layout.decode(t,e+r):this.property?n[this.property]=!0:this.union.usesPrefixDiscriminator&&(n[this.union.discriminator.property]=this.variant),n}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;if(this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(t,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,e,n);var i=r;if(this.layout&&(this.layout.encode(t[this.property],e,n+r),i+=this.layout.getSpan(e,n+r),0<=this.union.span&&i>this.union.span))throw new Error("encoded variant overruns containing union");return i}},{key:"fromArray",value:function(t){if(this.layout)return this.layout.fromArray(t)}}]),n}();function lp(t){return 0>t&&(t+=4294967296),t}Of.VariantLayout=cp;var hp=function(t){eh(n,Bf);var e=lh(n);function n(t,r,i){var o;if(Xl(this,n),!(t instanceof Yf||t instanceof Ff))throw new TypeError("word must be a UInt or UIntBE layout");if("string"==typeof r&&void 0===i&&(i=r,r=!1),41&&void 0!==arguments[1]?arguments[1]:0,n=this.makeDestinationObject(),r=this.word.decode(t,e);this._packedSetValue(r);var i,o=wh(this.fields);try{for(o.s();!(i=o.n()).done;){var a=i.value;void 0!==a.property&&(n[a.property]=a.decode(t))}}catch(t){o.e(t)}finally{o.f()}return n}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.word.decode(e,n);this._packedSetValue(r);var i,o=wh(this.fields);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(void 0!==a.property){var s=t[a.property];void 0!==s&&a.encode(s)}}}catch(t){o.e(t)}finally{o.f()}return this.word.encode(this._packedGetValue(),e,n)}},{key:"addField",value:function(t,e){var n=new dp(this,t,e);return this.fields.push(n),n}},{key:"addBoolean",value:function(t){var e=new fp(this,t);return this.fields.push(e),e}},{key:"fieldFor",value:function(t){if("string"!=typeof t)throw new TypeError("property must be string");var e,n=wh(this.fields);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.property===t)return r}}catch(t){n.e(t)}finally{n.f()}}}]),n}();Of.BitStructure=hp;var dp=function(){function t(e,n,r){if(Xl(this,t),!(e instanceof hp))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(n)||0>=n)throw new TypeError("bits must be positive integer");var i=8*e.span,o=e.fields.reduce((function(t,e){return t+e.bits}),0);if(n+o>i)throw new Error("bits too long for span remainder ("+(i-o)+" of "+i+" remain)");this.container=e,this.bits=n,this.valueMask=(1<>>this.start}},{key:"encode",value:function(t){if("number"!=typeof t||!Number.isInteger(t)||t!==lp(t&this.valueMask))throw new TypeError(Rf("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);var e=this.container._packedGetValue(),n=lp(t<n&&(n=this.length.decode(t,e)),n}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.span;return 0>n&&(n=this.length.decode(t,e)),Pf(t).slice(e,e+n)}},{key:"encode",value:function(t,e,n){var r=this.length;if(this.length instanceof Uf&&(r=t.length),!(t instanceof Uint8Array&&r===t.length))throw new TypeError(Rf("Blob.encode",this)+" requires (length "+r+") Uint8Array as src");if(n+r>e.length)throw new RangeError("encoding overruns Uint8Array");var i=Pf(t);return Pf(e).write(i.toString("hex"),n,r,"hex"),this.length instanceof Uf&&this.length.encode(r,e,n),r}}]),n}();Of.Blob=pp;var mp=function(t){eh(n,Bf);var e=lh(n);function n(t){return Xl(this,n),e.call(this,-1,t)}return $l(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;zf(t);for(var n=e;n1&&void 0!==arguments[1]?arguments[1]:0,n=this.getSpan(t,e);return Pf(t).slice(e,e+n-1).toString("utf-8")}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;"string"!=typeof t&&(t=String(t));var r=_f.Buffer.from(t,"utf8"),i=r.length;if(n+i>e.length)throw new RangeError("encoding overruns Buffer");var o=Pf(e);return r.copy(o,n),o[n+i]=0,i+1}}]),n}();Of.CString=mp;var gp=function(t){eh(n,Bf);var e=lh(n);function n(t,r){var i;if(Xl(this,n),"string"==typeof t&&void 0===r&&(r=t,t=void 0),void 0===t)t=-1;else if(!Number.isInteger(t))throw new TypeError("maxSpan must be an integer");return(i=e.call(this,-1,r)).maxSpan=t,i}return $l(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return zf(t),t.length-e}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.getSpan(t,e);if(0<=this.maxSpan&&this.maxSpan2&&void 0!==arguments[2]?arguments[2]:0;"string"!=typeof t&&(t=String(t));var r=_f.Buffer.from(t,"utf8"),i=r.length;if(0<=this.maxSpan&&this.maxSpane.length)throw new RangeError("encoding overruns Buffer");return r.copy(Pf(e),n),i}}]),n}();Of.UTF8=gp;var yp=function(t){eh(n,Bf);var e=lh(n);function n(t,r){var i;return Xl(this,n),(i=e.call(this,0,r)).value=t,i}return $l(n,[{key:"decode",value:function(t,e){return this.value}},{key:"encode",value:function(t,e,n){return 0}}]),n}();Of.Constant=yp,Of.greedy=function(t,e){return new Qf(t,e)};var vp=Of.offset=function(t,e,n){return new Wf(t,e,n)},bp=Of.u8=function(t){return new Yf(1,t)},wp=Of.u16=function(t){return new Yf(2,t)};Of.u24=function(t){return new Yf(3,t)};var Mp=Of.u32=function(t){return new Yf(4,t)};Of.u40=function(t){return new Yf(5,t)},Of.u48=function(t){return new Yf(6,t)};var kp=Of.nu64=function(t){return new qf(t)};Of.u16be=function(t){return new Ff(2,t)},Of.u24be=function(t){return new Ff(3,t)},Of.u32be=function(t){return new Ff(4,t)},Of.u40be=function(t){return new Ff(5,t)},Of.u48be=function(t){return new Ff(6,t)},Of.nu64be=function(t){return new Xf(t)},Of.s8=function(t){return new Hf(1,t)},Of.s16=function(t){return new Hf(2,t)},Of.s24=function(t){return new Hf(3,t)},Of.s32=function(t){return new Hf(4,t)},Of.s40=function(t){return new Hf(5,t)},Of.s48=function(t){return new Hf(6,t)};var Lp=Of.ns64=function(t){return new Kf(t)};Of.s16be=function(t){return new Gf(2,t)},Of.s24be=function(t){return new Gf(3,t)},Of.s32be=function(t){return new Gf(4,t)},Of.s40be=function(t){return new Gf(5,t)},Of.s48be=function(t){return new Gf(6,t)},Of.ns64be=function(t){return new $f(t)},Of.f32=function(t){return new tp(t)},Of.f32be=function(t){return new ep(t)},Of.f64=function(t){return new np(t)},Of.f64be=function(t){return new rp(t)};var Ap=Of.struct=function(t,e,n){return new op(t,e,n)};Of.bits=function(t,e,n){return new hp(t,e,n)};var xp=Of.seq=function(t,e,n){return new ip(t,e,n)};Of.union=function(t,e,n){return new up(t,e,n)},Of.unionLayoutDiscriminator=function(t,e){return new sp(t,e)};var Ep=Of.blob=function(t,e){return new pp(t,e)};Of.cstr=function(t){return new mp(t)},Of.utf8=function(t,e){return new gp(t,e)},Of.constant=function(t,e){return new yp(t,e)};var Np={};Object.defineProperty(Np,"__esModule",{value:!0});var Sp=Np.toBigIntLE=function(t){var e=al.from(t);e.reverse();var n=e.toString("hex");return 0===n.length?BigInt(0):BigInt("0x".concat(n))};Np.toBigIntBE=function(t){var e=t.toString("hex");return 0===e.length?BigInt(0):BigInt("0x".concat(e))};var Ip=Np.toBufferLE=function(t,e){var n=t.toString(16),r=al.from(n.padStart(2*e,"0").slice(0,2*e),"hex");return r.reverse(),r};Np.toBufferBE=function(t,e){var n=t.toString(16);return al.from(n.padStart(2*e,"0").slice(0,2*e),"hex")};var Tp=["message"],jp=Zl().mark(Bp),Cp=function(t){eh(n,ah(TypeError));var e=lh(n);function n(t,r){var i,o;Xl(this,n);var a=t.message,s=sh(t,Tp),u=t.path,c=0===u.length?a:"At path: "+u.join(".")+" -- "+a;return i=e.call(this,c),Object.assign(uh(i),s),i.name=i.constructor.name,i.failures=function(){var e;return null!=(e=o)?e:o=[t].concat(ph(r()))},i}return $l(n)}();function Dp(t){return Op(t)&&"function"==typeof t[Symbol.iterator]}function Op(t){return"object"===Vl(t)&&null!=t}function _p(t){return"string"==typeof t?JSON.stringify(t):""+t}function zp(t){var e=t.next(),n=e.done,r=e.value;return n?void 0:r}function Pp(t,e,n,r){if(!0!==t){!1===t?t={}:"string"==typeof t&&(t={message:t});var i=e.path,o=e.branch,a=n.type,s=t,u=s.refinement,c=s.message,l=void 0===c?"Expected a value of type `"+a+"`"+(u?" with refinement `"+u+"`":"")+", but received: `"+_p(r)+"`":c;return Gl(Gl({value:r,type:a,refinement:u,key:i[i.length-1],path:i,branch:o},t),{},{message:l})}}function Bp(t,e,n,r){var i,o,a,s;return Zl().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:Dp(t)||(t=[t]),i=wh(t),u.prev=2,i.s();case 4:if((o=i.n()).done){u.next=12;break}if(a=o.value,!(s=Pp(a,e,n,r))){u.next=10;break}return u.next=10,s;case 10:u.next=4;break;case 12:u.next=17;break;case 14:u.prev=14,u.t0=u.catch(2),i.e(u.t0);case 17:return u.prev=17,i.f(),u.finish(17);case 20:case"end":return u.stop()}}),jp,null,[[2,14,17,20]])}function Rp(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Zl().mark((function r(){var i,o,a,s,u,c,l,h,d,f,p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I,T;return Zl().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=n.path,o=void 0===i?[]:i,a=n.branch,s=void 0===a?[t]:a,u=n.coerce,c=void 0!==u&&u,l=n.mask,h=void 0!==l&&l,d={path:o,branch:s},c&&(t=e.coercer(t,d),h&&"type"!==e.type&&Op(e.schema)&&Op(t)&&!Array.isArray(t)))for(f in t)void 0===e.schema[f]&&delete t[f];p=!0,m=wh(e.validator(t,d)),r.prev=5,m.s();case 7:if((g=m.n()).done){r.next=14;break}return y=g.value,p=!1,r.next=12,[y,void 0];case 12:r.next=7;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(5),m.e(r.t0);case 19:return r.prev=19,m.f(),r.finish(19);case 22:v=wh(e.entries(t,d)),r.prev=23,v.s();case 25:if((b=v.n()).done){r.next=52;break}w=fh(b.value,3),M=w[0],k=w[1],L=w[2],A=Rp(k,L,{path:void 0===M?o:[].concat(ph(o),[M]),branch:void 0===M?s:[].concat(ph(s),[k]),coerce:c,mask:h}),x=wh(A),r.prev=29,x.s();case 31:if((E=x.n()).done){r.next=42;break}if(!(N=E.value)[0]){r.next=39;break}return p=!1,r.next=37,[N[0],void 0];case 37:r.next=40;break;case 39:c&&(k=N[1],void 0===M?t=k:t instanceof Map?t.set(M,k):t instanceof Set?t.add(k):Op(t)&&(t[M]=k));case 40:r.next=31;break;case 42:r.next=47;break;case 44:r.prev=44,r.t1=r.catch(29),x.e(r.t1);case 47:return r.prev=47,x.f(),r.finish(47);case 50:r.next=25;break;case 52:r.next=57;break;case 54:r.prev=54,r.t2=r.catch(23),v.e(r.t2);case 57:return r.prev=57,v.f(),r.finish(57);case 60:if(!p){r.next=79;break}S=wh(e.refiner(t,d)),r.prev=62,S.s();case 64:if((I=S.n()).done){r.next=71;break}return T=I.value,p=!1,r.next=69,[T,void 0];case 69:r.next=64;break;case 71:r.next=76;break;case 73:r.prev=73,r.t3=r.catch(62),S.e(r.t3);case 76:return r.prev=76,S.f(),r.finish(76);case 79:if(!p){r.next=82;break}return r.next=82,[void 0,t];case 82:case"end":return r.stop()}}),r,null,[[5,16,19,22],[23,54,57,60],[29,44,47,50],[62,73,76,79]])}))()}var Up,Qp=function(){function t(e){var n=this;Xl(this,t);var r=e.type,i=e.schema,o=e.validator,a=e.refiner,s=e.coercer,u=void 0===s?function(t){return t}:s,c=e.entries,l=void 0===c?Zl().mark((function t(){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})):c;this.type=r,this.schema=i,this.entries=l,this.coercer=u,this.validator=o?function(t,e){return Bp(o(t,e),e,n,t)}:function(){return[]},this.refiner=a?function(t,e){return Bp(a(t,e),e,n,t)}:function(){return[]}}return $l(t,[{key:"assert",value:function(t){return Wp(t,this)}},{key:"create",value:function(t){return Yp(t,this)}},{key:"is",value:function(t){return Fp(t,this)}},{key:"mask",value:function(t){return function(t,e){var n=Hp(t,e,{coerce:!0,mask:!0});if(n[0])throw n[0];return n[1]}(t,this)}},{key:"validate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Hp(t,this,e)}}]),t}();function Wp(t,e){var n=Hp(t,e);if(n[0])throw n[0]}function Yp(t,e){var n=Hp(t,e,{coerce:!0});if(n[0])throw n[0];return n[1]}function Fp(t,e){return!Hp(t,e)[0]}function Hp(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Rp(t,e,n),i=zp(r);if(i[0]){var o=new Cp(i[0],Zl().mark((function t(){var e,n,i;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=wh(r),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=10;break}if(!(i=n.value)[0]){t.next=8;break}return t.next=8,i[0];case 8:t.next=3;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),e.e(t.t0);case 15:return t.prev=15,e.f(),t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[1,12,15,18]])})));return[o,void 0]}var a=i[1];return[void 0,a]}function Gp(t,e){return new Qp({type:t,schema:null,validator:e})}function Zp(t){return new Qp({type:"array",schema:t,entries:Zl().mark((function e(n){var r,i,o,a,s;return Zl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||!Array.isArray(n)){e.next=18;break}r=wh(n.entries()),e.prev=2,r.s();case 4:if((i=r.n()).done){e.next=10;break}return o=fh(i.value,2),a=o[0],s=o[1],e.next=8,[a,s,t];case 8:e.next=4;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),r.e(e.t0);case 15:return e.prev=15,r.f(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})),coercer:function(t){return Array.isArray(t)?t.slice():t},validator:function(t){return Array.isArray(t)||"Expected an array value, but received: "+_p(t)}})}function Vp(){return Gp("boolean",(function(t){return"boolean"==typeof t}))}function Jp(t){return Gp("instance",(function(e){return e instanceof t||"Expected a `"+t.name+"` instance, but received: "+_p(e)}))}function qp(t){var e=_p(t),n=Vl(t);return new Qp({type:"literal",schema:"string"===n||"number"===n||"boolean"===n?t:null,validator:function(n){return n===t||"Expected the literal `"+e+"`, but received: "+_p(n)}})}function Xp(t){return new Qp(Gl(Gl({},t),{},{validator:function(e,n){return null===e||t.validator(e,n)},refiner:function(e,n){return null===e||t.refiner(e,n)}}))}function Kp(){return Gp("number",(function(t){return"number"==typeof t&&!isNaN(t)||"Expected a number, but received: "+_p(t)}))}function $p(t){return new Qp(Gl(Gl({},t),{},{validator:function(e,n){return void 0===e||t.validator(e,n)},refiner:function(e,n){return void 0===e||t.refiner(e,n)}}))}function tm(t,e){return new Qp({type:"record",schema:null,entries:Zl().mark((function n(r){var i,o;return Zl().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!Op(r)){n.next=11;break}n.t0=Zl().keys(r);case 2:if((n.t1=n.t0()).done){n.next=11;break}return i=n.t1.value,o=r[i],n.next=7,[i,i,t];case 7:return n.next=9,[i,o,e];case 9:n.next=2;break;case 11:case"end":return n.stop()}}),n)})),validator:function(t){return Op(t)||"Expected an object, but received: "+_p(t)}})}function em(){return Gp("string",(function(t){return"string"==typeof t||"Expected a string, but received: "+_p(t)}))}function nm(t){var e=Gp("never",(function(){return!1}));return new Qp({type:"tuple",schema:null,entries:Zl().mark((function n(r){var i,o;return Zl().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!Array.isArray(r)){n.next=9;break}i=Math.max(t.length,r.length),o=0;case 3:if(!(o1&&void 0!==arguments[1]?arguments[1]:0,n=(fm[t[e+0]]+fm[t[e+1]]+fm[t[e+2]]+fm[t[e+3]]+"-"+fm[t[e+4]]+fm[t[e+5]]+"-"+fm[t[e+6]]+fm[t[e+7]]+"-"+fm[t[e+8]]+fm[t[e+9]]+"-"+fm[t[e+10]]+fm[t[e+11]]+fm[t[e+12]]+fm[t[e+13]]+fm[t[e+14]]+fm[t[e+15]]).toLowerCase();if(!lm(n))throw TypeError("Stringified UUID is invalid");return n}var gm=0,ym=0;function vm(t){if(!lm(t))throw TypeError("Invalid UUID");var e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}function bm(t,e,n){function r(t,r,i,o){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],n=0;n>>9<<4)+1}function Mm(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function km(t,e,n,r,i,o){return Mm((a=Mm(Mm(e,t),Mm(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function Lm(t,e,n,r,i,o,a){return km(e&n|~e&r,t,e,i,o,a)}function Am(t,e,n,r,i,o,a){return km(e&r|n&~r,t,e,i,o,a)}function xm(t,e,n,r,i,o,a){return km(e^n^r,t,e,i,o,a)}function Em(t,e,n,r,i,o,a){return km(n^(e|~r),t,e,i,o,a)}var Nm=bm("v3",48,(function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var n=0;n>5]>>>i%32&255,a=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);e.push(a)}return e}(function(t,e){t[e>>5]|=128<>5]|=(255&t[r/8])<>>32-e}var Tm=bm("v5",80,(function(t){var e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var r=unescape(encodeURIComponent(t));t=[];for(var i=0;i>>0;b=v,v=y,y=Im(g,30)>>>0,g=m,m=k}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+v>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var jm=Fc(Object.freeze({__proto__:null,v1:function(t,e,n){var r=e&&n||0,i=e||new Array(16),o=(t=t||{}).node||hm,a=void 0!==t.clockseq?t.clockseq:dm;if(null==o||null==a){var s=t.random||(t.rng||um)();null==o&&(o=hm=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=dm=16383&(s[6]<<8|s[7]))}var u=void 0!==t.msecs?t.msecs:Date.now(),c=void 0!==t.nsecs?t.nsecs:ym+1,l=u-gm+(c-ym)/1e4;if(l<0&&void 0===t.clockseq&&(a=a+1&16383),(l<0||u>gm)&&void 0===t.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");gm=u,ym=c,dm=a;var h=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;i[r++]=h>>>24&255,i[r++]=h>>>16&255,i[r++]=h>>>8&255,i[r++]=255&h;var d=u/4294967296*1e4&268435455;i[r++]=d>>>8&255,i[r++]=255&d,i[r++]=d>>>24&15|16,i[r++]=d>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var f=0;f<6;++f)i[r+f]=o[f];return e||mm(i)},v3:Nm,v4:function(t,e,n){var r=(t=t||{}).random||(t.rng||um)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return mm(r)},v5:Tm,NIL:"00000000-0000-0000-0000-000000000000",version:function(t){if(!lm(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)},validate:lm,stringify:mm,parse:vm})),Cm=jm.v4,Dm=function(t,e,n,r){if("string"!=typeof t)throw new TypeError(t+" must be a string");var i="number"==typeof(r=r||{}).version?r.version:2;if(1!==i&&2!==i)throw new TypeError(i+" must be 1 or 2");var o={method:t};if(2===i&&(o.jsonrpc="2.0"),e){if("object"!==Vl(e)&&!Array.isArray(e))throw new TypeError(e+" must be an object, array or omitted");o.params=e}if(void 0===n){var a="function"==typeof r.generator?r.generator:function(){return Cm()};o.id=a(o,r)}else 2===i&&null===n?r.notificationIdNull&&(o.id=null):o.id=n;return o},Om=jm.v4,_m=Dm,zm=function t(e,n){if(!(this instanceof t))return new t(e,n);n||(n={}),this.options={reviver:void 0!==n.reviver?n.reviver:null,replacer:void 0!==n.replacer?n.replacer:null,generator:void 0!==n.generator?n.generator:function(){return Om()},version:void 0!==n.version?n.version:2,notificationIdNull:"boolean"==typeof n.notificationIdNull&&n.notificationIdNull},this.callServer=e},Pm=zm;zm.prototype.request=function(t,e,n,r){var i=this,o=null,a=Array.isArray(t)&&"function"==typeof e;if(1===this.options.version&&a)throw new TypeError("JSON-RPC 1.0 does not support batching");var s,u=!a&&t&&"object"===Vl(t)&&"function"==typeof e;if(a||u)r=e,o=t;else{"function"==typeof n&&(r=n,n=void 0);var c="function"==typeof r;try{o=_m(t,e,n,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(t){if(c)return r(t);throw t}if(!c)return o}try{s=JSON.stringify(o,this.options.replacer)}catch(t){return r(t)}return this.callServer(s,(function(t,e){i._parseResponse(t,e,r)})),o},zm.prototype._parseResponse=function(t,e,n){if(t)n(t);else{if(!e)return n();var r;try{r=JSON.parse(e,this.options.reviver)}catch(t){return n(t)}if(3===n.length){if(Array.isArray(r)){var i=function(t){return void 0!==t.error};return n(null,r.filter(i),r.filter((function(t){return!i(t)})))}return n(null,r.error,r.result)}n(null,r)}};var Bm,Rm=Pm,Um={},Qm={exports:{}};(Bm=Qm).exports=function(t){return t&&t.__esModule?t:{default:t}},Bm.exports.__esModule=!0,Bm.exports.default=Bm.exports;var Wm,Ym,Fm,Hm,Gm={exports:{}},Zm={exports:{}};function Vm(){return Wm||(Wm=1,function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(Zm)),Zm.exports}function Jm(){return Ym||(Ym=1,function(t){var e=Vm().default;function n(){ +al=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new L(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return x()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=w(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=c(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l={};function h(){}function d(){}function f(){}var p={};s(p,i,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(A([])));g&&g!==e&&n.call(g,i)&&(p=g);var y=f.prototype=h.prototype=Object.create(p);function v(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function r(i,o,a,s){var u=c(t[i],t,o);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function w(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=c(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function A(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:A(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function sl(t){return(sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ul(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function cl(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ul(o,r,i,a,s,"next",t)}function s(t){ul(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ll(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hl(t,e){for(var n=0;n=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ml(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ml(t)}function Ll(t){var e=yl();return function(){var n,r=ml(t);if(e){var i=ml(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return kl(this,n)}}function Al(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ml(t)););return t}function xl(){return(xl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=Al(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}}).apply(this,arguments)}function El(t,e){return Sl(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||Tl(t,e)||Cl()}function Nl(t){return function(t){if(Array.isArray(t))return jl(t)}(t)||Il(t)||Tl(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sl(t){if(Array.isArray(t))return t}function Il(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Tl(t,e){if(t){if("string"==typeof t)return jl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jl(t,e):void 0}}function jl(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}var Ol={exports:{}};!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function i(t,e,n){if(i.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"===sl(t)?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:rl.Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,n){var r=a(t,n);return n-1>=e&&(r|=a(t,n-1)<<4),r}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===sl(t))return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=s(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(t){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?h[6-u.length]+u+r:u+r,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],l=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);r=(p=p.idivn(l)).isZero()?m+r:h[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},i.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?i.prototype._countBits=function(t){return 32-Math.clz32(t)}:i.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function g(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return g(t,e,n)}Math.imul||(m=p),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):y(this,t,e)},i.prototype.mul=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},i.prototype.mulf=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),y(this,t,e)},i.prototype.imul=function(t){return this.clone().mulTo(t,this)},i.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==e){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[o.length+h])+(0|r.words[o.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modrn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},i.prototype.modn=function(t){return this.modrn(t)},i.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(h)),o.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s),a.isub(u)):(r.isub(e),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new A(t)},i.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(w,b),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new M;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new L}return v[t]=e,e},A.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new i(1)).iushrn(2);return this.pow(t,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,o),d=this.pow(t,o.addn(1).iushrn(1)),f=this.pow(t,o),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new x(t)},r(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ol,ec);var _l=Ol.exports;function zl(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("Wrong positive integer: ".concat(t))}function Pl(t){if(!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&!n.includes(t.length))throw new TypeError("Expected Uint8Array of length ".concat(n,", not of length=").concat(t.length))}var Bl={number:zl,bool:function(t){if("boolean"!=typeof t)throw new Error("Expected boolean, not ".concat(t))},bytes:Pl,hash:function(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");zl(t.outputLen),zl(t.blockLen)},exists:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")},output:function(t,e){Pl(t);var n=e.outputLen;if(t.length>>e};if(!(68===new Uint8Array(new Uint32Array([287454020]).buffer)[0]))throw new Error("Non little-endian hardware is not supported");function Wl(t){if("string"==typeof t&&(t=function(t){if("string"!=typeof t)throw new TypeError("utf8ToBytes expected string, got ".concat(sl(t)));return(new TextEncoder).encode(t)}(t)),!(t instanceof Uint8Array))throw new TypeError("Expected input type is Uint8Array (got ".concat(sl(t),")"));return t}Array.from({length:256},(function(t,e){return e.toString(16).padStart(2,"0")}));var Yl=function(){function t(){ll(this,t)}return dl(t,[{key:"clone",value:function(){return this._cloneInto()}}]),t}();function Fl(t){var e=function(e){return t().update(Wl(e)).digest()},n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=function(){return t()},e}var Hl=function(t){pl(n,Yl);var e=Ll(n);function n(t,r,i,o){var a;return ll(this,n),(a=e.call(this)).blockLen=t,a.outputLen=r,a.padOffset=i,a.isLE=o,a.finished=!1,a.length=0,a.pos=0,a.destroyed=!1,a.buffer=new Uint8Array(t),a.view=Ul(a.buffer),a}return dl(n,[{key:"update",value:function(t){Bl.exists(this);for(var e=this.view,n=this.buffer,r=this.blockLen,i=(t=Wl(t)).length,o=0;or-o&&(this.process(n,0),o=0);for(var a=o;a>i&o),s=Number(n&o),u=r?4:0,c=r?0:4;t.setUint32(e+u,a,r),t.setUint32(e+c,s,r)}(n,r-8,BigInt(8*this.length),i),this.process(n,0);var s=Ul(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");var c=u/4,l=this.get();if(c>l.length)throw new Error("_sha2: outputLen bigger than state");for(var h=0;h1&&void 0!==arguments[1]&&arguments[1];return e?{h:Number(t&Gl),l:Number(t>>Zl&Gl)}:{h:0|Number(t>>Zl&Gl),l:0|Number(t&Gl)}}var Jl={fromBig:Vl,split:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Uint32Array(t.length),r=new Uint32Array(t.length),i=0;i>>0)<>>0)},shrSH:function(t,e,n){return t>>>n},shrSL:function(t,e,n){return t<<32-n|e>>>n},rotrSH:function(t,e,n){return t>>>n|e<<32-n},rotrSL:function(t,e,n){return t<<32-n|e>>>n},rotrBH:function(t,e,n){return t<<64-n|e>>>n-32},rotrBL:function(t,e,n){return t>>>n-32|e<<64-n},rotr32H:function(t,e){return e},rotr32L:function(t,e){return t},rotlSH:function(t,e,n){return t<>>32-n},rotlSL:function(t,e,n){return e<>>32-n},rotlBH:function(t,e,n){return e<>>64-n},rotlBL:function(t,e,n){return t<>>64-n},add:function(t,e,n,r){var i=(e>>>0)+(r>>>0);return{h:t+n+(i/Math.pow(2,32)|0)|0,l:0|i}},add3L:function(t,e,n){return(t>>>0)+(e>>>0)+(n>>>0)},add3H:function(t,e,n,r){return e+n+r+(t/Math.pow(2,32)|0)|0},add4L:function(t,e,n,r){return(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)},add4H:function(t,e,n,r,i){return e+n+r+i+(t/Math.pow(2,32)|0)|0},add5H:function(t,e,n,r,i,o){return e+n+r+i+o+(t/Math.pow(2,32)|0)|0},add5L:function(t,e,n,r,i){return(t>>>0)+(e>>>0)+(n>>>0)+(r>>>0)+(i>>>0)}},ql=El(Jl.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map((function(t){return BigInt(t)}))),2),Xl=ql[0],Kl=ql[1],$l=new Uint32Array(80),th=new Uint32Array(80),eh=function(t){pl(n,Hl);var e=Ll(n);function n(){var t;return ll(this,n),(t=e.call(this,128,64,16,!1)).Ah=1779033703,t.Al=-205731576,t.Bh=-1150833019,t.Bl=-2067093701,t.Ch=1013904242,t.Cl=-23791573,t.Dh=-1521486534,t.Dl=1595750129,t.Eh=1359893119,t.El=-1377402159,t.Fh=-1694144372,t.Fl=725511199,t.Gh=528734635,t.Gl=-79577749,t.Hh=1541459225,t.Hl=327033209,t}return dl(n,[{key:"get",value:function(){return[this.Ah,this.Al,this.Bh,this.Bl,this.Ch,this.Cl,this.Dh,this.Dl,this.Eh,this.El,this.Fh,this.Fl,this.Gh,this.Gl,this.Hh,this.Hl]}},{key:"set",value:function(t,e,n,r,i,o,a,s,u,c,l,h,d,f,p,m){this.Ah=0|t,this.Al=0|e,this.Bh=0|n,this.Bl=0|r,this.Ch=0|i,this.Cl=0|o,this.Dh=0|a,this.Dl=0|s,this.Eh=0|u,this.El=0|c,this.Fh=0|l,this.Fl=0|h,this.Gh=0|d,this.Gl=0|f,this.Hh=0|p,this.Hl=0|m}},{key:"process",value:function(t,e){for(var n=0;n<16;n++,e+=4)$l[n]=t.getUint32(e),th[n]=t.getUint32(e+=4);for(var r=16;r<80;r++){var i=0|$l[r-15],o=0|th[r-15],a=Jl.rotrSH(i,o,1)^Jl.rotrSH(i,o,8)^Jl.shrSH(i,o,7),s=Jl.rotrSL(i,o,1)^Jl.rotrSL(i,o,8)^Jl.shrSL(i,o,7),u=0|$l[r-2],c=0|th[r-2],l=Jl.rotrSH(u,c,19)^Jl.rotrBH(u,c,61)^Jl.shrSH(u,c,6),h=Jl.rotrSL(u,c,19)^Jl.rotrBL(u,c,61)^Jl.shrSL(u,c,6),d=Jl.add4L(s,h,th[r-7],th[r-16]),f=Jl.add4H(d,a,l,$l[r-7],$l[r-16]);$l[r]=0|f,th[r]=0|d}for(var p=this.Ah,m=this.Al,g=this.Bh,y=this.Bl,v=this.Ch,b=this.Cl,w=this.Dh,M=this.Dl,k=this.Eh,L=this.El,A=this.Fh,x=this.Fl,E=this.Gh,N=this.Gl,S=this.Hh,I=this.Hl,T=0;T<80;T++){var j=Jl.rotrSH(k,L,14)^Jl.rotrSH(k,L,18)^Jl.rotrBH(k,L,41),C=Jl.rotrSL(k,L,14)^Jl.rotrSL(k,L,18)^Jl.rotrBL(k,L,41),D=k&A^~k&E,O=L&x^~L&N,_=Jl.add5L(I,C,O,Kl[T],th[T]),z=Jl.add5H(_,S,j,D,Xl[T],$l[T]),P=0|_,B=Jl.rotrSH(p,m,28)^Jl.rotrBH(p,m,34)^Jl.rotrBH(p,m,39),R=Jl.rotrSL(p,m,28)^Jl.rotrBL(p,m,34)^Jl.rotrBL(p,m,39),U=p&g^p&v^g&v,Q=m&y^m&b^y&b;S=0|E,I=0|N,E=0|A,N=0|x,A=0|k,x=0|L;var W=Jl.add(0|w,0|M,0|z,0|P);k=W.h,L=W.l,w=0|v,M=0|b,v=0|g,b=0|y,g=0|p,y=0|m;var Y=Jl.add3L(P,R,Q);p=Jl.add3H(Y,z,B,U),m=0|Y}var F=Jl.add(0|this.Ah,0|this.Al,0|p,0|m);p=F.h,m=F.l;var H=Jl.add(0|this.Bh,0|this.Bl,0|g,0|y);g=H.h,y=H.l;var G=Jl.add(0|this.Ch,0|this.Cl,0|v,0|b);v=G.h,b=G.l;var Z=Jl.add(0|this.Dh,0|this.Dl,0|w,0|M);w=Z.h,M=Z.l;var V=Jl.add(0|this.Eh,0|this.El,0|k,0|L);k=V.h,L=V.l;var J=Jl.add(0|this.Fh,0|this.Fl,0|A,0|x);A=J.h,x=J.l;var q=Jl.add(0|this.Gh,0|this.Gl,0|E,0|N);E=q.h,N=q.l;var X=Jl.add(0|this.Hh,0|this.Hl,0|S,0|I);S=X.h,I=X.l,this.set(p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I)}},{key:"roundClean",value:function(){$l.fill(0),th.fill(0)}},{key:"destroy",value:function(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}]),n}(),nh=function(t){pl(n,eh);var e=Ll(n);function n(){var t;return ll(this,n),(t=e.call(this)).Ah=-1942145080,t.Al=424955298,t.Bh=1944164710,t.Bl=-1982016298,t.Ch=502970286,t.Cl=855612546,t.Dh=1738396948,t.Dl=1479516111,t.Eh=258812777,t.El=2077511080,t.Fh=2011393907,t.Fl=79989058,t.Gh=1067287976,t.Gl=1780299464,t.Hh=286451373,t.Hl=-1848208735,t.outputLen=28,t}return dl(n)}(),rh=function(t){pl(n,eh);var e=Ll(n);function n(){var t;return ll(this,n),(t=e.call(this)).Ah=573645204,t.Al=-64227540,t.Bh=-1621794909,t.Bl=-934517566,t.Ch=596883563,t.Cl=1867755857,t.Dh=-1774684391,t.Dl=1497426621,t.Eh=-1775747358,t.El=-1467023389,t.Fh=-1101128155,t.Fl=1401305490,t.Gh=721525244,t.Gl=746961066,t.Hh=246885852,t.Hl=-2117784414,t.outputLen=32,t}return dl(n)}(),ih=function(t){pl(n,eh);var e=Ll(n);function n(){var t;return ll(this,n),(t=e.call(this)).Ah=-876896931,t.Al=-1056596264,t.Bh=1654270250,t.Bl=914150663,t.Ch=-1856437926,t.Cl=812702999,t.Dh=355462360,t.Dl=-150054599,t.Eh=1731405415,t.El=-4191439,t.Fh=-1900787065,t.Fl=1750603025,t.Gh=-619958771,t.Gl=1694076839,t.Hh=1203062813,t.Hl=-1090891868,t.outputLen=48,t}return dl(n)}(),oh=Fl((function(){return new eh}));Fl((function(){return new nh})),Fl((function(){return new rh})),Fl((function(){return new ih}));var ah=tc.crypto,sh=BigInt(0),uh=BigInt(1),ch=BigInt(2),lh=BigInt(8),hh=BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),dh=Object.freeze({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),P:BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l:hh,n:hh,h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960")}),fh=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),ph=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752");BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742");var mh=BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),gh=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),yh=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),vh=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),bh=function(){function t(e,n,r,i){ll(this,t),this.x=e,this.y=n,this.z=r,this.t=i}return dl(t,[{key:"equals",value:function(t){Mh(t);var e=this.x,n=this.y,r=this.z,i=t.x,o=t.y,a=t.z,s=Rh(e*a),u=Rh(i*r),c=Rh(n*a),l=Rh(o*r);return s===u&&c===l}},{key:"negate",value:function(){return new t(Rh(-this.x),this.y,this.z,Rh(-this.t))}},{key:"double",value:function(){var e=this.x,n=this.y,r=this.z,i=dh.a,o=Rh(e*e),a=Rh(n*n),s=Rh(ch*Rh(r*r)),u=Rh(i*o),c=e+n,l=Rh(Rh(c*c)-o-a),h=u+a,d=h-s,f=u-a,p=Rh(l*d),m=Rh(h*f),g=Rh(l*f);return new t(p,m,Rh(d*h),g)}},{key:"add",value:function(e){Mh(e);var n=this.x,r=this.y,i=this.z,o=this.t,a=e.x,s=e.y,u=e.z,c=e.t,l=Rh((r-n)*(s+a)),h=Rh((r+n)*(s-a)),d=Rh(h-l);if(d===sh)return this.double();var f=Rh(i*ch*c),p=Rh(o*ch*u),m=p+f,g=h+l,y=p-f,v=Rh(m*d),b=Rh(g*y),w=Rh(m*y);return new t(v,b,Rh(d*g),w)}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"precomputeWindow",value:function(t){for(var e=1+256/t,n=[],r=this,i=r,o=0;o>=h,p>u&&(p-=l,e+=uh);var m=f,g=f+Math.abs(p)-1,y=d%2!=0,v=p<0;0===p?a=a.add(wh(y,i[m])):o=o.add(wh(v,i[g]))}return t.normalizeZ([o,a])[0]}},{key:"multiply",value:function(t,e){return this.wNAF(Gh(t,dh.l),e)}},{key:"multiplyUnsafe",value:function(e){var n=Gh(e,dh.l,!1),r=t.BASE,i=t.ZERO;if(n===sh)return i;if(this.equals(i)||n===uh)return this;if(this.equals(r))return this.wNAF(n);for(var o=i,a=this;n>sh;)n&uh&&(o=o.add(a)),a=a.double(),n>>=uh;return o}},{key:"isSmallOrder",value:function(){return this.multiplyUnsafe(dh.h).equals(t.ZERO)}},{key:"isTorsionFree",value:function(){var e=this.multiplyUnsafe(dh.l/ch).double();return dh.l%ch&&(e=e.add(this)),e.equals(t.ZERO)}},{key:"toAffine",value:function(e){var n=this.x,r=this.y,i=this.z,o=this.equals(t.ZERO);null==e&&(e=o?lh:Uh(i));var a=Rh(n*e),s=Rh(r*e),u=Rh(i*e);if(o)return Eh.ZERO;if(u!==uh)throw new Error("invZ was invalid");return new Eh(a,s)}},{key:"fromRistrettoBytes",value:function(){Lh()}},{key:"toRistrettoBytes",value:function(){Lh()}},{key:"fromRistrettoHash",value:function(){Lh()}}],[{key:"fromAffine",value:function(e){if(!(e instanceof Eh))throw new TypeError("ExtendedPoint#fromAffine: expected Point");return e.equals(Eh.ZERO)?t.ZERO:new t(e.x,e.y,uh,Rh(e.x*e.y))}},{key:"toAffineBatch",value:function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dh.P,n=new Array(t.length),r=Uh(t.reduce((function(t,r,i){return r===sh?t:(n[i]=t,Rh(t*r,e))}),uh),e);return t.reduceRight((function(t,r,i){return r===sh?t:(n[i]=Rh(t*n[i],e),Rh(t*r,e))}),r),n}(t.map((function(t){return t.z})));return t.map((function(t,n){return t.toAffine(e[n])}))}},{key:"normalizeZ",value:function(t){return this.toAffineBatch(t).map(this.fromAffine)}}]),t}();function wh(t,e){var n=e.negate();return t?n:e}function Mh(t){if(!(t instanceof bh))throw new TypeError("ExtendedPoint expected")}function kh(t){if(!(t instanceof Ah))throw new TypeError("RistrettoPoint expected")}function Lh(){throw new Error("Legacy method: switch to RistrettoPoint")}bh.BASE=new bh(dh.Gx,dh.Gy,uh,Rh(dh.Gx*dh.Gy)),bh.ZERO=new bh(sh,uh,uh,sh);var Ah=function(){function t(e){ll(this,t),this.ep=e}return dl(t,[{key:"toRawBytes",value:function(){var t,e=this.ep,n=e.x,r=e.y,i=e.z,o=e.t,a=Rh(Rh(i+r)*Rh(i-r)),s=Rh(n*r),u=Rh(s*s),c=Yh(Rh(a*u)).value,l=Rh(c*a),h=Rh(c*s),d=Rh(l*h*o);if(Oh(o*d)){var f=Rh(r*ph),p=Rh(n*ph);n=f,r=p,t=Rh(l*gh)}else t=h;Oh(n*d)&&(r=Rh(-r));var m=Rh((i-r)*t);return Oh(m)&&(m=Rh(-m)),Dh(m)}},{key:"toHex",value:function(){return Th(this.toRawBytes())}},{key:"toString",value:function(){return this.toHex()}},{key:"equals",value:function(t){kh(t);var e=this.ep,n=t.ep,r=Rh(e.x*n.y)===Rh(e.y*n.x),i=Rh(e.y*n.y)===Rh(e.x*n.x);return r||i}},{key:"add",value:function(e){return kh(e),new t(this.ep.add(e.ep))}},{key:"subtract",value:function(e){return kh(e),new t(this.ep.subtract(e.ep))}},{key:"multiply",value:function(e){return new t(this.ep.multiply(e))}},{key:"multiplyUnsafe",value:function(e){return new t(this.ep.multiplyUnsafe(e))}}],[{key:"calcElligatorRistrettoMap",value:function(t){var e=dh.d,n=Rh(ph*t*t),r=Rh((n+uh)*yh),i=BigInt(-1),o=Rh((i-e*n)*Rh(n+e)),a=Wh(r,o),s=a.isValid,u=a.value,c=Rh(u*t);Oh(c)||(c=Rh(-c)),s||(u=c),s||(i=n);var l=Rh(i*(n-uh)*vh-o),h=u*u,d=Rh((u+u)*o),f=Rh(l*mh),p=Rh(uh-h),m=Rh(uh+h);return new bh(Rh(d*m),Rh(p*f),Rh(f*m),Rh(d*p))}},{key:"hashToCurve",value:function(e){var n=Bh((e=Hh(e,64)).slice(0,32)),r=this.calcElligatorRistrettoMap(n),i=Bh(e.slice(32,64)),o=this.calcElligatorRistrettoMap(i);return new t(r.add(o))}},{key:"fromHex",value:function(e){e=Hh(e,32);var n=dh.a,r=dh.d,i="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",o=Bh(e);if(!function(t,e){if(t.length!==e.length)return!1;for(var n=0;n1&&void 0!==arguments[1])||arguments[1],r=dh.d,i=dh.P,o=(e=Hh(e,32)).slice();o[31]=-129&e[31];var a=_h(o);if(n&&a>=i)throw new Error("Expected 0 < hex < P");if(!n&&a>=fh)throw new Error("Expected 0 < hex < 2**256");var s=Rh(a*a),u=Rh(s-uh),c=Rh(r*s+uh),l=Wh(u,c),h=l.isValid,d=l.value;if(!h)throw new Error("Point.fromHex: invalid y coordinate");var f=(d&uh)===uh,p=0!=(128&e[31]);return p!==f&&(d=Rh(-d)),new t(d,a)}},{key:"fromPrivateKey",value:(e=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,qh(e);case 2:return t.abrupt("return",t.sent.point);case 3:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})}]),t}();Eh.BASE=new Eh(dh.Gx,dh.Gy),Eh.ZERO=new Eh(sh,uh);var Nh=function(){function t(e,n){ll(this,t),this.r=e,this.s=n,this.assertValidity()}return dl(t,[{key:"assertValidity",value:function(){var t=this.r,e=this.s;if(!(t instanceof Eh))throw new Error("Expected Point instance");return Gh(e,dh.l,!1),this}},{key:"toRawBytes",value:function(){var t=new Uint8Array(64);return t.set(this.r.toRawBytes()),t.set(Dh(this.s),32),t}},{key:"toHex",value:function(){return Th(this.toRawBytes())}}],[{key:"fromHex",value:function(e){var n=Hh(e,64);return new t(Eh.fromHex(n.slice(0,32),!1),_h(n.slice(32,64)))}}]),t}();function Sh(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:dh.P,n=t%e;return n>=sh?n:e+n}function Uh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dh.P;if(t===sh||e<=sh)throw new Error("invert: expected positive integers, got n=".concat(t," mod=").concat(e));for(var n=Rh(t,e),r=e,i=sh,o=uh;n!==sh;){var a=r/n,s=r%n,u=i-o*a;r=n,n=s,i=o,o=u}var c=r;if(c!==uh)throw new Error("invert: does not exist");return Rh(i,e)}function Qh(t,e){for(var n=dh.P,r=t;e-- >sh;)r*=r,r%=n;return r}function Wh(t,e){var n=Rh(e*e*e),r=Rh(n*n*e),i=Rh(t*n*function(t){var e=dh.P,n=BigInt(5),r=BigInt(10),i=BigInt(20),o=BigInt(40),a=BigInt(80),s=t*t%e*t%e,u=Qh(s,ch)*s%e,c=Qh(u,uh)*t%e,l=Qh(c,n)*c%e,h=Qh(l,r)*l%e,d=Qh(h,i)*h%e,f=Qh(d,o)*d%e,p=Qh(f,a)*f%e,m=Qh(p,a)*f%e,g=Qh(m,r)*l%e;return{pow_p_5_8:Qh(g,ch)*t%e,b2:s}}(t*r).pow_p_5_8),o=Rh(e*i*i),a=i,s=Rh(i*ph),u=o===t,c=o===Rh(-t),l=o===Rh(-t*ph);return u&&(i=a),(c||l)&&(i=s),Oh(i)&&(i=Rh(-i)),{isValid:u||c,value:i}}function Yh(t){return Wh(uh,t)}function Fh(t){return Rh(_h(t),dh.l)}function Hh(t,e){var n=t instanceof Uint8Array?Uint8Array.from(t):jh(t);if("number"==typeof e&&n.length!==e)throw new Error("Expected ".concat(e," bytes"));return n}function Gh(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("Specify max value");if("number"==typeof t&&Number.isSafeInteger(t)&&(t=BigInt(t)),"bigint"==typeof t&&t1024)throw new Error("Expected 40-1024 bytes of private key as per FIPS 186");return Rh(_h(t),dh.l-uh)+uh},randomBytes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(ed.web)return ed.web.getRandomValues(new Uint8Array(t));if(ed.node){var e=ed.node.randomBytes;return new Uint8Array(e(t).buffer)}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:function(){return nd.randomBytes(32)},sha512:(td=cl(al().mark((function t(){var e,n,r=arguments;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Sh.apply(void 0,r),!ed.web){t.next=8;break}return t.next=4,ed.web.subtle.digest("SHA-512",e.buffer);case 4:return n=t.sent,t.abrupt("return",new Uint8Array(n));case 8:if(!ed.node){t.next=12;break}return t.abrupt("return",Uint8Array.from(ed.node.createHash("sha512").update(e).digest()));case 12:throw new Error("The environment doesn't have sha512 function");case 13:case"end":return t.stop()}}),t)}))),function(){return td.apply(this,arguments)}),precompute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Eh.BASE,n=e.equals(Eh.BASE)?e:new Eh(e.x,e.y);return n._setWindowSize(t),n.multiply(ch),n},sha512Sync:void 0};Object.defineProperties(nd,{sha512Sync:{configurable:!1,get:function(){return zh},set:function(t){zh||(zh=t)}}});var rd={exports:{}}; +/*! safe-buffer. MIT License. Feross Aboukhadijeh */!function(t,e){var n=rl,r=n.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function o(t,e,n){return r(t,e,n)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=o),o.prototype=Object.create(r.prototype),i(r,o),o.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return r(t,e,n)},o.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=r(t);return void 0!==e?"string"==typeof n?i.fill(e,n):i.fill(e):i.fill(0),i},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}}(rd,rd.exports);var id=rd.exports.Buffer;var od=function(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),n=0;n>>0,c=new Uint8Array(o);t[n];){var l=e[t.charCodeAt(n)];if(255===l)return;for(var h=0,d=o-1;(0!==l||h>>0,c[d]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");i=h,n++}for(var f=o-i;f!==o&&0===c[f];)f++;var p=id.allocUnsafe(r+(o-f));p.fill(0,0,r);for(var m=r;f!==o;)p[m++]=c[f++];return p}return{encode:function(e){if((Array.isArray(e)||e instanceof Uint8Array)&&(e=id.from(e)),!id.isBuffer(e))throw new TypeError("Expected Buffer");if(0===e.length)return"";for(var n=0,r=0,i=0,o=e.length;i!==o&&0===e[i];)i++,n++;for(var u=(o-i)*c+1>>>0,l=new Uint8Array(u);i!==o;){for(var h=e[i],d=0,f=u-1;(0!==h||d>>0,l[f]=h%a>>>0,h=h/a>>>0;if(0!==h)throw new Error("Non-zero carry");r=d,i++}for(var p=u-r;p!==u&&0===l[p];)p++;for(var m=s.repeat(n);p>>3,s=Ql(o,17)^Ql(o,19)^o>>>10;hd[r]=s+hd[r-7]+a+hd[r-16]|0}for(var u,c=this.A,l=this.B,h=this.C,d=this.D,f=this.E,p=this.F,m=this.G,g=this.H,y=0;y<64;y++){var v=g+(Ql(f,6)^Ql(f,11)^Ql(f,25))+((u=f)&p^~u&m)+cd[y]+hd[y]|0,b=(Ql(c,2)^Ql(c,13)^Ql(c,22))+ud(c,l,h)|0;g=m,m=p,p=f,f=d+v|0,d=h,h=l,l=c,c=v+b|0}c=c+this.A|0,l=l+this.B|0,h=h+this.C|0,d=d+this.D|0,f=f+this.E|0,p=p+this.F|0,m=m+this.G|0,g=g+this.H|0,this.set(c,l,h,d,f,p,m,g)}},{key:"roundClean",value:function(){hd.fill(0)}},{key:"destroy",value:function(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}]),n}(),fd=function(t){pl(n,dd);var e=Ll(n);function n(){var t;return ll(this,n),(t=e.call(this)).A=-1056596264,t.B=914150663,t.C=812702999,t.D=-150054599,t.E=-4191439,t.F=1750603025,t.G=1694076839,t.H=-1090891868,t.outputLen=28,t}return dl(n)}(),pd=Fl((function(){return new dd}));Fl((function(){return new fd}));var md={};function gd(t,e,n){return e<=t&&t<=n}function yd(t){if(void 0===t)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function vd(t){this.tokens=[].slice.call(t)}vd.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():-1},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.shift());else this.tokens.push(t)}};function bd(t,e){if(t)throw TypeError("Decoder error");return e||65533}function wd(t,e){if(!(this instanceof wd))return new wd(t,e);if("utf-8"!==(t=void 0!==t?String(t).toLowerCase():"utf-8"))throw new Error("Encoding not supported. Only utf-8 is supported");e=yd(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=Boolean(e.fatal),this._ignoreBOM=Boolean(e.ignoreBOM),Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}function Md(t,e){if(!(this instanceof Md))return new Md(t,e);if("utf-8"!==(t=void 0!==t?String(t).toLowerCase():"utf-8"))throw new Error("Encoding not supported. Only utf-8 is supported");e=yd(e),this._streaming=!1,this._encoder=null,this._options={fatal:Boolean(e.fatal)},Object.defineProperty(this,"encoding",{value:"utf-8"})}function kd(t){var e=t.fatal,n=0,r=0,i=0,o=128,a=191;this.handler=function(t,s){if(-1===s&&0!==i)return i=0,bd(e);if(-1===s)return-1;if(0===i){if(gd(s,0,127))return s;if(gd(s,194,223))i=1,n=s-192;else if(gd(s,224,239))224===s&&(o=160),237===s&&(a=159),i=2,n=s-224;else{if(!gd(s,240,244))return bd(e);240===s&&(o=144),244===s&&(a=143),i=3,n=s-240}return n<<=6*i,null}if(!gd(s,o,a))return n=i=r=0,o=128,a=191,t.prepend(s),bd(e);if(o=128,a=191,n+=s-128<<6*(i-(r+=1)),r!==i)return null;var u=n;return n=i=r=0,u}}function Ld(t){t.fatal,this.handler=function(t,e){if(-1===e)return-1;if(gd(e,0,127))return e;var n,r;gd(e,128,2047)?(n=1,r=192):gd(e,2048,65535)?(n=2,r=224):gd(e,65536,1114111)&&(n=3,r=240);for(var i=[(e>>6*n)+r];n>0;){var o=e>>6*(n-1);i.push(128|63&o),n-=1}return i}}wd.prototype={decode:function(t,e){var n;n="object"===sl(t)&&t instanceof ArrayBuffer?new Uint8Array(t):"object"===sl(t)&&"buffer"in t&&t.buffer instanceof ArrayBuffer?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):new Uint8Array(0),e=yd(e),this._streaming||(this._decoder=new kd({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(e.stream);for(var r,i=new vd(n),o=[];!i.endOfStream()&&-1!==(r=this._decoder.handler(i,i.read()));)null!==r&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));if(!this._streaming){do{if(-1===(r=this._decoder.handler(i,i.read())))break;null!==r&&(Array.isArray(r)?o.push.apply(o,r):o.push(r))}while(!i.endOfStream());this._decoder=null}return o.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===o[0]?(this._BOMseen=!0,o.shift()):this._BOMseen=!0)),function(t){for(var e="",n=0;n>10),56320+(1023&r)))}return e}(o)}},Md.prototype={encode:function(t,e){t=t?String(t):"",e=yd(e),this._streaming||(this._encoder=new Ld(this._options)),this._streaming=Boolean(e.stream);for(var n,r=[],i=new vd(function(t){for(var e=String(t),n=e.length,r=0,i=[];r57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(r===n-1)i.push(65533);else{var a=t.charCodeAt(r+1);if(56320<=a&&a<=57343){var s=1023&o,u=1023&a;i.push(65536+(s<<10)+u),r+=1}else i.push(65533)}r+=1}return i}(t));!i.endOfStream()&&-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);if(!this._streaming){for(;-1!==(n=this._encoder.handler(i,i.read()));)Array.isArray(n)?r.push.apply(r,n):r.push(n);this._encoder=null}return new Uint8Array(r)}};var Ad=rc(Object.freeze({__proto__:null,TextEncoder:Md,TextDecoder:wd})),xd=ec&&ec.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),Ed=ec&&ec.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Nd=ec&&ec.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":sl(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},Sd=ec&&ec.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.hasOwnProperty.call(t,n)&&xd(e,t,n);return Ed(e,t),e},Id=ec&&ec.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(md,"__esModule",{value:!0});var Td=md.deserializeUnchecked=Hd=md.deserialize=Wd=md.serialize=md.BinaryReader=md.BinaryWriter=md.BorshError=md.baseDecode=md.baseEncode=void 0,jd=Id(Ol.exports),Cd=Id(ad),Dd=Sd(Ad),Od=new("function"!=typeof TextDecoder?Dd.TextDecoder:TextDecoder)("utf-8",{fatal:!0});md.baseEncode=function(t){return"string"==typeof t&&(t=bc.from(t,"utf8")),Cd.default.encode(bc.from(t))},md.baseDecode=function(t){return bc.from(Cd.default.decode(t))};var _d=function(t){pl(n,bl(Error));var e=Ll(n);function n(t){var r;return ll(this,n),(r=e.call(this,t)).fieldPath=[],r.originalMessage=t,r}return dl(n,[{key:"addToFieldPath",value:function(t){this.fieldPath.splice(0,0,t),this.message=this.originalMessage+": "+this.fieldPath.join(".")}}]),n}();md.BorshError=_d;var zd=function(){function t(){ll(this,t),this.buf=bc.alloc(1024),this.length=0}return dl(t,[{key:"maybeResize",value:function(){this.buf.length<16+this.length&&(this.buf=bc.concat([this.buf,bc.alloc(1024)]))}},{key:"writeU8",value:function(t){this.maybeResize(),this.buf.writeUInt8(t,this.length),this.length+=1}},{key:"writeU16",value:function(t){this.maybeResize(),this.buf.writeUInt16LE(t,this.length),this.length+=2}},{key:"writeU32",value:function(t){this.maybeResize(),this.buf.writeUInt32LE(t,this.length),this.length+=4}},{key:"writeU64",value:function(t){this.maybeResize(),this.writeBuffer(bc.from(new jd.default(t).toArray("le",8)))}},{key:"writeU128",value:function(t){this.maybeResize(),this.writeBuffer(bc.from(new jd.default(t).toArray("le",16)))}},{key:"writeU256",value:function(t){this.maybeResize(),this.writeBuffer(bc.from(new jd.default(t).toArray("le",32)))}},{key:"writeU512",value:function(t){this.maybeResize(),this.writeBuffer(bc.from(new jd.default(t).toArray("le",64)))}},{key:"writeBuffer",value:function(t){this.buf=bc.concat([bc.from(this.buf.subarray(0,this.length)),t,bc.alloc(1024)]),this.length+=t.length}},{key:"writeString",value:function(t){this.maybeResize();var e=bc.from(t,"utf8");this.writeU32(e.length),this.writeBuffer(e)}},{key:"writeFixedArray",value:function(t){this.writeBuffer(bc.from(t))}},{key:"writeArray",value:function(t,e){this.maybeResize(),this.writeU32(t.length);var n,r=Dl(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.maybeResize(),e(i)}}catch(t){r.e(t)}finally{r.f()}}},{key:"toArray",value:function(){return this.buf.subarray(0,this.length)}}]),t}();function Pd(t,e,n){var r=n.value;n.value=function(){try{for(var t=arguments.length,e=new Array(t),n=0;n=0)throw new _d("Reached the end of buffer when deserializing")}throw t}}}md.BinaryWriter=zd;var Bd=function(){function t(e){ll(this,t),this.buf=e,this.offset=0}return dl(t,[{key:"readU8",value:function(){var t=this.buf.readUInt8(this.offset);return this.offset+=1,t}},{key:"readU16",value:function(){var t=this.buf.readUInt16LE(this.offset);return this.offset+=2,t}},{key:"readU32",value:function(){var t=this.buf.readUInt32LE(this.offset);return this.offset+=4,t}},{key:"readU64",value:function(){var t=this.readBuffer(8);return new jd.default(t,"le")}},{key:"readU128",value:function(){var t=this.readBuffer(16);return new jd.default(t,"le")}},{key:"readU256",value:function(){var t=this.readBuffer(32);return new jd.default(t,"le")}},{key:"readU512",value:function(){var t=this.readBuffer(64);return new jd.default(t,"le")}},{key:"readBuffer",value:function(t){if(this.offset+t>this.buf.length)throw new _d("Expected buffer length ".concat(t," isn't within bounds"));var e=this.buf.slice(this.offset,this.offset+t);return this.offset+=t,e}},{key:"readString",value:function(){var t=this.readU32(),e=this.readBuffer(t);try{return Od.decode(e)}catch(t){throw new _d("Error decoding UTF-8 string: ".concat(t))}}},{key:"readFixedArray",value:function(t){return new Uint8Array(this.readBuffer(t))}},{key:"readArray",value:function(t){for(var e=this.readU32(),n=Array(),r=0;r2&&void 0!==arguments[2]?arguments[2]:zd,r=new n;return Qd(t,e,r),r.toArray()};function Yd(t,e,n,r){try{if("string"==typeof n)return r["read".concat(Rd(n))]();if(n instanceof Array){if("number"==typeof n[0])return r.readFixedArray(n[0]);if("number"==typeof n[1]){for(var i=[],o=0;o=r.values.length)throw new _d("Enum index: ".concat(l," is out of range"));var h=El(r.values[l],2),d=h[0];return new e(fl({},d,Yd(t,d,h[1],n)))}throw new _d("Unexpected schema kind: ".concat(r.kind," for ").concat(e.constructor.name))}var Hd=md.deserialize=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Bd,i=new r(n),o=Fd(t,e,i);if(i.offset3&&void 0!==arguments[3]?arguments[3]:Bd,i=new r(n);return Fd(t,e,i)};var Gd={};Object.defineProperty(Gd,"__esModule",{value:!0}),Gd.s16=Gd.s8=Gd.nu64be=Gd.u48be=Gd.u40be=Gd.u32be=Gd.u24be=Gd.u16be=_f=Gd.nu64=Gd.u48=Gd.u40=Of=Gd.u32=Gd.u24=Df=Gd.u16=Cf=Gd.u8=jf=Gd.offset=Gd.greedy=Gd.Constant=Gd.UTF8=Gd.CString=Gd.Blob=Gd.Boolean=Gd.BitField=Gd.BitStructure=Gd.VariantLayout=Gd.Union=Gd.UnionLayoutDiscriminator=Gd.UnionDiscriminator=Gd.Structure=Gd.Sequence=Gd.DoubleBE=Gd.Double=Gd.FloatBE=Gd.Float=Gd.NearInt64BE=Gd.NearInt64=Gd.NearUInt64BE=Gd.NearUInt64=Gd.IntBE=Gd.Int=Gd.UIntBE=Gd.UInt=Gd.OffsetLayout=Gd.GreedyCount=Gd.ExternalLayout=Gd.bindConstructorLayout=Gd.nameWithProperty=Gd.Layout=Gd.uint8ArrayToBuffer=Gd.checkUint8Array=void 0,Gd.constant=Gd.utf8=Gd.cstr=Rf=Gd.blob=Gd.unionLayoutDiscriminator=Gd.union=Bf=Gd.seq=Gd.bits=Pf=Gd.struct=Gd.f64be=Gd.f64=Gd.f32be=Gd.f32=Gd.ns64be=Gd.s48be=Gd.s40be=Gd.s32be=Gd.s24be=Gd.s16be=zf=Gd.ns64=Gd.s48=Gd.s40=Gd.s32=Gd.s24=void 0;var Zd=rl;function Vd(t){if(!(t instanceof Uint8Array))throw new TypeError("b must be a Uint8Array")}function Jd(t){return Vd(t),Zd.Buffer.from(t.buffer,t.byteOffset,t.length)}Gd.checkUint8Array=Vd,Gd.uint8ArrayToBuffer=Jd;var qd=function(){function t(e,n){if(ll(this,t),!Number.isInteger(e))throw new TypeError("span must be an integer");this.span=e,this.property=n}return dl(t,[{key:"makeDestinationObject",value:function(){return{}}},{key:"getSpan",value:function(t,e){if(0>this.span)throw new RangeError("indeterminate span");return this.span}},{key:"replicate",value:function(t){var e=Object.create(this.constructor.prototype);return Object.assign(e,this),e.property=t,e}},{key:"fromArray",value:function(t){}}]),t}();function Xd(t,e){return e.property?t+"["+e.property+"]":t}Gd.Layout=qd,Gd.nameWithProperty=Xd,Gd.bindConstructorLayout=function(t,e){if("function"!=typeof t)throw new TypeError("Class must be constructor");if(Object.prototype.hasOwnProperty.call(t,"layout_"))throw new Error("Class is already bound to a layout");if(!(e&&e instanceof qd))throw new TypeError("layout must be a Layout");if(Object.prototype.hasOwnProperty.call(e,"boundConstructor_"))throw new Error("layout is already bound to a constructor");t.layout_=e,e.boundConstructor_=t,e.makeDestinationObject=function(){return new t},Object.defineProperty(t.prototype,"encode",{value:function(t,n){return e.encode(this,t,n)},writable:!0}),Object.defineProperty(t,"decode",{value:function(t,n){return e.decode(t,n)},writable:!0})};var Kd=function(t){pl(n,qd);var e=Ll(n);function n(){return ll(this,n),e.apply(this,arguments)}return dl(n,[{key:"isCount",value:function(){throw new Error("ExternalLayout is abstract")}}]),n}();Gd.ExternalLayout=Kd;var $d=function(t){pl(n,Kd);var e=Ll(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1?arguments[1]:void 0;if(ll(this,n),!Number.isInteger(r)||0>=r)throw new TypeError("elementSpan must be a (positive) integer");return(t=e.call(this,-1,i)).elementSpan=r,t}return dl(n,[{key:"isCount",value:function(){return!0}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Vd(t);var n=t.length-e;return Math.floor(n/this.elementSpan)}},{key:"encode",value:function(t,e,n){return 0}}]),n}();Gd.GreedyCount=$d;var tf=function(t){pl(n,Kd);var e=Ll(n);function n(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;if(ll(this,n),!(t instanceof qd))throw new TypeError("layout must be a Layout");if(!Number.isInteger(i))throw new TypeError("offset must be integer or undefined");return(r=e.call(this,t.span,o||t.property)).layout=t,r.offset=i,r}return dl(n,[{key:"isCount",value:function(){return this.layout instanceof ef||this.layout instanceof nf}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.layout.decode(t,e+this.offset)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.layout.encode(t,e,n+this.offset)}}]),n}();Gd.OffsetLayout=tf;var ef=function(t){pl(n,qd);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readUIntLE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeUIntLE(t,n,this.span),this.span}}]),n}();Gd.UInt=ef;var nf=function(t){pl(n,qd);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readUIntBE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeUIntBE(t,n,this.span),this.span}}]),n}();Gd.UIntBE=nf;var rf=function(t){pl(n,qd);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readIntLE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeIntLE(t,n,this.span),this.span}}]),n}();Gd.Int=rf;var of=function(t){pl(n,qd);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readIntBE(e,this.span)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeIntBE(t,n,this.span),this.span}}]),n}();Gd.IntBE=of;var af=Math.pow(2,32);function sf(t){var e=Math.floor(t/af);return{hi32:e,lo32:t-e*af}}function uf(t,e){return t*af+e}var cf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Jd(t),r=n.readUInt32LE(e),i=n.readUInt32LE(e+4);return uf(i,r)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=sf(t),i=Jd(e);return i.writeUInt32LE(r.lo32,n),i.writeUInt32LE(r.hi32,n+4),8}}]),n}();Gd.NearUInt64=cf;var lf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Jd(t),r=n.readUInt32BE(e),i=n.readUInt32BE(e+4);return uf(r,i)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=sf(t),i=Jd(e);return i.writeUInt32BE(r.hi32,n),i.writeUInt32BE(r.lo32,n+4),8}}]),n}();Gd.NearUInt64BE=lf;var hf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Jd(t),r=n.readUInt32LE(e),i=n.readInt32LE(e+4);return uf(i,r)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=sf(t),i=Jd(e);return i.writeUInt32LE(r.lo32,n),i.writeInt32LE(r.hi32,n+4),8}}]),n}();Gd.NearInt64=hf;var df=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Jd(t),r=n.readInt32BE(e),i=n.readUInt32BE(e+4);return uf(r,i)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=sf(t),i=Jd(e);return i.writeInt32BE(r.hi32,n),i.writeUInt32BE(r.lo32,n+4),8}}]),n}();Gd.NearInt64BE=df;var ff=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,4,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readFloatLE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeFloatLE(t,n),4}}]),n}();Gd.Float=ff;var pf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,4,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readFloatBE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeFloatBE(t,n),4}}]),n}();Gd.FloatBE=pf;var mf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readDoubleLE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeDoubleLE(t,n),8}}]),n}();Gd.Double=mf;var gf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Jd(t).readDoubleBE(e)}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Jd(e).writeDoubleBE(t,n),8}}]),n}();Gd.DoubleBE=gf;var yf=function(t){pl(n,qd);var e=Ll(n);function n(t,r,i){var o;if(ll(this,n),!(t instanceof qd))throw new TypeError("elementLayout must be a Layout");if(!(r instanceof Kd&&r.isCount()||Number.isInteger(r)&&0<=r))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");var a=-1;return!(r instanceof Kd)&&01&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=0,r=this.count;if(r instanceof Kd&&(r=r.decode(t,e)),01&&void 0!==arguments[1]?arguments[1]:0,n=[],r=0,i=this.count;for(i instanceof Kd&&(i=i.decode(t,e));r2&&void 0!==arguments[2]?arguments[2]:0,r=this.elementLayout,i=t.reduce((function(t,i){return t+r.encode(i,e,n+t)}),0);return this.count instanceof Kd&&this.count.encode(t.length,e,n),i}}]),n}();Gd.Sequence=yf;var vf=function(t){pl(n,qd);var e=Ll(n);function n(t,r,i){var o;if(ll(this,n),!Array.isArray(t)||!t.reduce((function(t,e){return t&&e instanceof qd}),!0))throw new TypeError("fields must be array of Layout instances");"boolean"==typeof r&&void 0===i&&(i=r,r=void 0);var a,s=Dl(t);try{for(s.s();!(a=s.n()).done;){var u=a.value;if(0>u.span&&void 0===u.property)throw new Error("fields cannot contain unnamed variable-length layout")}}catch(t){s.e(t)}finally{s.f()}var c=-1;try{c=t.reduce((function(t,e){return t+e.getSpan()}),0)}catch(t){}return(o=e.call(this,c,r)).fields=t,o.decodePrefixes=!!i,o}return dl(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=0;try{n=this.fields.reduce((function(n,r){var i=r.getSpan(t,e);return e+=i,n+i}),0)}catch(t){throw new RangeError("indeterminate span")}return n}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Vd(t);var n,r=this.makeDestinationObject(),i=Dl(this.fields);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(void 0!==o.property&&(r[o.property]=o.decode(t,e)),e+=o.getSpan(t,e),this.decodePrefixes&&t.length===e)break}}catch(t){i.e(t)}finally{i.f()}return r}},{key:"encode",value:function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=r,o=0,a=0,s=Dl(this.fields);try{for(s.s();!(n=s.n()).done;){var u=n.value,c=u.span;if(a=0c&&(c=u.getSpan(e,r)))}o=r,r+=c}}catch(t){s.e(t)}finally{s.f()}return o+a-i}},{key:"fromArray",value:function(t){var e,n=this.makeDestinationObject(),r=Dl(this.fields);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i.property&&0i.span?n=-1:0<=n&&(n+=i.span)}}catch(t){r.e(t)}finally{r.f()}}}]),n}();Gd.Structure=vf;var bf=function(){function t(e){ll(this,t),this.property=e}return dl(t,[{key:"decode",value:function(t,e){throw new Error("UnionDiscriminator is abstract")}},{key:"encode",value:function(t,e,n){throw new Error("UnionDiscriminator is abstract")}}]),t}();Gd.UnionDiscriminator=bf;var wf=function(t){pl(n,bf);var e=Ll(n);function n(t,r){var i;if(ll(this,n),!(t instanceof Kd&&t.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");return(i=e.call(this,r||t.property||"variant")).layout=t,i}return dl(n,[{key:"decode",value:function(t,e){return this.layout.decode(t,e)}},{key:"encode",value:function(t,e,n){return this.layout.encode(t,e,n)}}]),n}();Gd.UnionLayoutDiscriminator=wf;var Mf=function(t){pl(n,qd);var e=Ll(n);function n(t,r,i){var o,a;if(ll(this,n),t instanceof ef||t instanceof nf)a=new wf(new tf(t));else if(t instanceof Kd&&t.isCount())a=new wf(t);else{if(!(t instanceof bf))throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");a=t}if(void 0===r&&(r=null),!(null===r||r instanceof qd))throw new TypeError("defaultLayout must be null or a Layout");if(null!==r){if(0>r.span)throw new Error("defaultLayout must have constant span");void 0===r.property&&(r=r.replicate("content"))}var s=-1;r&&0<=(s=r.span)&&(t instanceof ef||t instanceof nf)&&(s+=a.layout.span),(o=e.call(this,s,i)).discriminator=a,o.usesPrefixDiscriminator=t instanceof ef||t instanceof nf,o.defaultLayout=r,o.registry={};var u=o.defaultGetSourceVariant.bind(Ml(o));return o.getSourceVariant=function(t){return u(t)},o.configGetSourceVariant=function(t){u=t.bind(this)},o}return dl(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=this.getVariant(t,e);if(!n)throw new Error("unable to determine span for unrecognized variant");return n.getSpan(t,e)}},{key:"defaultGetSourceVariant",value:function(t){if(Object.prototype.hasOwnProperty.call(t,this.discriminator.property)){if(this.defaultLayout&&this.defaultLayout.property&&Object.prototype.hasOwnProperty.call(t,this.defaultLayout.property))return;var e=this.registry[t[this.discriminator.property]];if(e&&(!e.layout||e.property&&Object.prototype.hasOwnProperty.call(t,e.property)))return e}else for(var n in this.registry){var r=this.registry[n];if(r.property&&Object.prototype.hasOwnProperty.call(t,r.property))return r}throw new Error("unable to infer src variant")}},{key:"decode",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.discriminator,i=r.decode(t,n),o=this.registry[i];if(void 0===o){var a=this.defaultLayout,s=0;this.usesPrefixDiscriminator&&(s=r.layout.span),(e=this.makeDestinationObject())[r.property]=i,e[a.property]=a.decode(t,n+s)}else e=o.decode(t,n);return e}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.getSourceVariant(t);if(void 0===r){var i=this.discriminator,o=this.defaultLayout,a=0;return this.usesPrefixDiscriminator&&(a=i.layout.span),i.encode(t[i.property],e,n),a+o.encode(t[o.property],e,n+a)}return r.encode(t,e,n)}},{key:"addVariant",value:function(t,e,n){var r=new kf(this,t,e,n);return this.registry[t]=r,r}},{key:"getVariant",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e=t instanceof Uint8Array?this.discriminator.decode(t,n):t,this.registry[e]}}]),n}();Gd.Union=Mf;var kf=function(t){pl(n,qd);var e=Ll(n);function n(t,r,i,o){var a;if(ll(this,n),!(t instanceof Mf))throw new TypeError("union must be a Union");if(!Number.isInteger(r)||0>r)throw new TypeError("variant must be a (non-negative) integer");if("string"==typeof i&&void 0===o&&(o=i,i=null),i){if(!(i instanceof qd))throw new TypeError("layout must be a Layout");if(null!==t.defaultLayout&&0<=i.span&&i.span>t.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if("string"!=typeof o)throw new TypeError("variant must have a String property")}var s=t.span;return 0>t.span&&0<=(s=i?i.span:0)&&t.usesPrefixDiscriminator&&(s+=t.discriminator.layout.span),(a=e.call(this,s,o)).union=t,a.variant=r,a.layout=i||null,a}return dl(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(0<=this.span)return this.span;var n=0;this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span);var r=0;return this.layout&&(r=this.layout.getSpan(t,e+n)),n+r}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.makeDestinationObject();if(this!==this.union.getVariant(t,e))throw new Error("variant mismatch");var r=0;return this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout?n[this.property]=this.layout.decode(t,e+r):this.property?n[this.property]=!0:this.union.usesPrefixDiscriminator&&(n[this.union.discriminator.property]=this.variant),n}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;if(this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout&&!Object.prototype.hasOwnProperty.call(t,this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,e,n);var i=r;if(this.layout&&(this.layout.encode(t[this.property],e,n+r),i+=this.layout.getSpan(e,n+r),0<=this.union.span&&i>this.union.span))throw new Error("encoded variant overruns containing union");return i}},{key:"fromArray",value:function(t){if(this.layout)return this.layout.fromArray(t)}}]),n}();function Lf(t){return 0>t&&(t+=4294967296),t}Gd.VariantLayout=kf;var Af=function(t){pl(n,qd);var e=Ll(n);function n(t,r,i){var o;if(ll(this,n),!(t instanceof ef||t instanceof nf))throw new TypeError("word must be a UInt or UIntBE layout");if("string"==typeof r&&void 0===i&&(i=r,r=!1),41&&void 0!==arguments[1]?arguments[1]:0,n=this.makeDestinationObject(),r=this.word.decode(t,e);this._packedSetValue(r);var i,o=Dl(this.fields);try{for(o.s();!(i=o.n()).done;){var a=i.value;void 0!==a.property&&(n[a.property]=a.decode(t))}}catch(t){o.e(t)}finally{o.f()}return n}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.word.decode(e,n);this._packedSetValue(r);var i,o=Dl(this.fields);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(void 0!==a.property){var s=t[a.property];void 0!==s&&a.encode(s)}}}catch(t){o.e(t)}finally{o.f()}return this.word.encode(this._packedGetValue(),e,n)}},{key:"addField",value:function(t,e){var n=new xf(this,t,e);return this.fields.push(n),n}},{key:"addBoolean",value:function(t){var e=new Ef(this,t);return this.fields.push(e),e}},{key:"fieldFor",value:function(t){if("string"!=typeof t)throw new TypeError("property must be string");var e,n=Dl(this.fields);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.property===t)return r}}catch(t){n.e(t)}finally{n.f()}}}]),n}();Gd.BitStructure=Af;var xf=function(){function t(e,n,r){if(ll(this,t),!(e instanceof Af))throw new TypeError("container must be a BitStructure");if(!Number.isInteger(n)||0>=n)throw new TypeError("bits must be positive integer");var i=8*e.span,o=e.fields.reduce((function(t,e){return t+e.bits}),0);if(n+o>i)throw new Error("bits too long for span remainder ("+(i-o)+" of "+i+" remain)");this.container=e,this.bits=n,this.valueMask=(1<>>this.start}},{key:"encode",value:function(t){if("number"!=typeof t||!Number.isInteger(t)||t!==Lf(t&this.valueMask))throw new TypeError(Xd("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);var e=this.container._packedGetValue(),n=Lf(t<n&&(n=this.length.decode(t,e)),n}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.span;return 0>n&&(n=this.length.decode(t,e)),Jd(t).slice(e,e+n)}},{key:"encode",value:function(t,e,n){var r=this.length;if(this.length instanceof Kd&&(r=t.length),!(t instanceof Uint8Array&&r===t.length))throw new TypeError(Xd("Blob.encode",this)+" requires (length "+r+") Uint8Array as src");if(n+r>e.length)throw new RangeError("encoding overruns Uint8Array");var i=Jd(t);return Jd(e).write(i.toString("hex"),n,r,"hex"),this.length instanceof Kd&&this.length.encode(r,e,n),r}}]),n}();Gd.Blob=Nf;var Sf=function(t){pl(n,qd);var e=Ll(n);function n(t){return ll(this,n),e.call(this,-1,t)}return dl(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Vd(t);for(var n=e;n1&&void 0!==arguments[1]?arguments[1]:0,n=this.getSpan(t,e);return Jd(t).slice(e,e+n-1).toString("utf-8")}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;"string"!=typeof t&&(t=String(t));var r=Zd.Buffer.from(t,"utf8"),i=r.length;if(n+i>e.length)throw new RangeError("encoding overruns Buffer");var o=Jd(e);return r.copy(o,n),o[n+i]=0,i+1}}]),n}();Gd.CString=Sf;var If=function(t){pl(n,qd);var e=Ll(n);function n(t,r){var i;if(ll(this,n),"string"==typeof t&&void 0===r&&(r=t,t=void 0),void 0===t)t=-1;else if(!Number.isInteger(t))throw new TypeError("maxSpan must be an integer");return(i=e.call(this,-1,r)).maxSpan=t,i}return dl(n,[{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Vd(t),t.length-e}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.getSpan(t,e);if(0<=this.maxSpan&&this.maxSpan2&&void 0!==arguments[2]?arguments[2]:0;"string"!=typeof t&&(t=String(t));var r=Zd.Buffer.from(t,"utf8"),i=r.length;if(0<=this.maxSpan&&this.maxSpane.length)throw new RangeError("encoding overruns Buffer");return r.copy(Jd(e),n),i}}]),n}();Gd.UTF8=If;var Tf=function(t){pl(n,qd);var e=Ll(n);function n(t,r){var i;return ll(this,n),(i=e.call(this,0,r)).value=t,i}return dl(n,[{key:"decode",value:function(t,e){return this.value}},{key:"encode",value:function(t,e,n){return 0}}]),n}();Gd.Constant=Tf,Gd.greedy=function(t,e){return new $d(t,e)};var jf=Gd.offset=function(t,e,n){return new tf(t,e,n)},Cf=Gd.u8=function(t){return new ef(1,t)},Df=Gd.u16=function(t){return new ef(2,t)};Gd.u24=function(t){return new ef(3,t)};var Of=Gd.u32=function(t){return new ef(4,t)};Gd.u40=function(t){return new ef(5,t)},Gd.u48=function(t){return new ef(6,t)};var _f=Gd.nu64=function(t){return new cf(t)};Gd.u16be=function(t){return new nf(2,t)},Gd.u24be=function(t){return new nf(3,t)},Gd.u32be=function(t){return new nf(4,t)},Gd.u40be=function(t){return new nf(5,t)},Gd.u48be=function(t){return new nf(6,t)},Gd.nu64be=function(t){return new lf(t)},Gd.s8=function(t){return new rf(1,t)},Gd.s16=function(t){return new rf(2,t)},Gd.s24=function(t){return new rf(3,t)},Gd.s32=function(t){return new rf(4,t)},Gd.s40=function(t){return new rf(5,t)},Gd.s48=function(t){return new rf(6,t)};var zf=Gd.ns64=function(t){return new hf(t)};Gd.s16be=function(t){return new of(2,t)},Gd.s24be=function(t){return new of(3,t)},Gd.s32be=function(t){return new of(4,t)},Gd.s40be=function(t){return new of(5,t)},Gd.s48be=function(t){return new of(6,t)},Gd.ns64be=function(t){return new df(t)},Gd.f32=function(t){return new ff(t)},Gd.f32be=function(t){return new pf(t)},Gd.f64=function(t){return new mf(t)},Gd.f64be=function(t){return new gf(t)};var Pf=Gd.struct=function(t,e,n){return new vf(t,e,n)};Gd.bits=function(t,e,n){return new Af(t,e,n)};var Bf=Gd.seq=function(t,e,n){return new yf(t,e,n)};Gd.union=function(t,e,n){return new Mf(t,e,n)},Gd.unionLayoutDiscriminator=function(t,e){return new wf(t,e)};var Rf=Gd.blob=function(t,e){return new Nf(t,e)};Gd.cstr=function(t){return new Sf(t)},Gd.utf8=function(t,e){return new If(t,e)},Gd.constant=function(t,e){return new Tf(t,e)};var Uf={};Object.defineProperty(Uf,"__esModule",{value:!0});var Qf=Uf.toBigIntLE=function(t){var e=bc.from(t);e.reverse();var n=e.toString("hex");return 0===n.length?BigInt(0):BigInt("0x".concat(n))};Uf.toBigIntBE=function(t){var e=t.toString("hex");return 0===e.length?BigInt(0):BigInt("0x".concat(e))};var Wf=Uf.toBufferLE=function(t,e){var n=t.toString(16),r=bc.from(n.padStart(2*e,"0").slice(0,2*e),"hex");return r.reverse(),r};Uf.toBufferBE=function(t,e){var n=t.toString(16);return bc.from(n.padStart(2*e,"0").slice(0,2*e),"hex")};var Yf=["message"],Ff=al().mark(Xf),Hf=function(t){pl(n,bl(TypeError));var e=Ll(n);function n(t,r){var i,o;ll(this,n);var a=t.message,s=wl(t,Yf),u=t.path,c=0===u.length?a:"At path: "+u.join(".")+" -- "+a;return i=e.call(this,c),Object.assign(Ml(i),s),i.name=i.constructor.name,i.failures=function(){var e;return null!=(e=o)?e:o=[t].concat(Nl(r()))},i}return dl(n)}();function Gf(t){return Zf(t)&&"function"==typeof t[Symbol.iterator]}function Zf(t){return"object"===sl(t)&&null!=t}function Vf(t){return"string"==typeof t?JSON.stringify(t):""+t}function Jf(t){var e=t.next(),n=e.done,r=e.value;return n?void 0:r}function qf(t,e,n,r){if(!0!==t){!1===t?t={}:"string"==typeof t&&(t={message:t});var i=e.path,o=e.branch,a=n.type,s=t,u=s.refinement,c=s.message,l=void 0===c?"Expected a value of type `"+a+"`"+(u?" with refinement `"+u+"`":"")+", but received: `"+Vf(r)+"`":c;return ol(ol({value:r,type:a,refinement:u,key:i[i.length-1],path:i,branch:o},t),{},{message:l})}}function Xf(t,e,n,r){var i,o,a,s;return al().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:Gf(t)||(t=[t]),i=Dl(t),u.prev=2,i.s();case 4:if((o=i.n()).done){u.next=12;break}if(a=o.value,!(s=qf(a,e,n,r))){u.next=10;break}return u.next=10,s;case 10:u.next=4;break;case 12:u.next=17;break;case 14:u.prev=14,u.t0=u.catch(2),i.e(u.t0);case 17:return u.prev=17,i.f(),u.finish(17);case 20:case"end":return u.stop()}}),Ff,null,[[2,14,17,20]])}function Kf(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return al().mark((function r(){var i,o,a,s,u,c,l,h,d,f,p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I,T;return al().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=n.path,o=void 0===i?[]:i,a=n.branch,s=void 0===a?[t]:a,u=n.coerce,c=void 0!==u&&u,l=n.mask,h=void 0!==l&&l,d={path:o,branch:s},c&&(t=e.coercer(t,d),h&&"type"!==e.type&&Zf(e.schema)&&Zf(t)&&!Array.isArray(t)))for(f in t)void 0===e.schema[f]&&delete t[f];p=!0,m=Dl(e.validator(t,d)),r.prev=5,m.s();case 7:if((g=m.n()).done){r.next=14;break}return y=g.value,p=!1,r.next=12,[y,void 0];case 12:r.next=7;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(5),m.e(r.t0);case 19:return r.prev=19,m.f(),r.finish(19);case 22:v=Dl(e.entries(t,d)),r.prev=23,v.s();case 25:if((b=v.n()).done){r.next=52;break}w=El(b.value,3),M=w[0],k=w[1],L=w[2],A=Kf(k,L,{path:void 0===M?o:[].concat(Nl(o),[M]),branch:void 0===M?s:[].concat(Nl(s),[k]),coerce:c,mask:h}),x=Dl(A),r.prev=29,x.s();case 31:if((E=x.n()).done){r.next=42;break}if(!(N=E.value)[0]){r.next=39;break}return p=!1,r.next=37,[N[0],void 0];case 37:r.next=40;break;case 39:c&&(k=N[1],void 0===M?t=k:t instanceof Map?t.set(M,k):t instanceof Set?t.add(k):Zf(t)&&(t[M]=k));case 40:r.next=31;break;case 42:r.next=47;break;case 44:r.prev=44,r.t1=r.catch(29),x.e(r.t1);case 47:return r.prev=47,x.f(),r.finish(47);case 50:r.next=25;break;case 52:r.next=57;break;case 54:r.prev=54,r.t2=r.catch(23),v.e(r.t2);case 57:return r.prev=57,v.f(),r.finish(57);case 60:if(!p){r.next=79;break}S=Dl(e.refiner(t,d)),r.prev=62,S.s();case 64:if((I=S.n()).done){r.next=71;break}return T=I.value,p=!1,r.next=69,[T,void 0];case 69:r.next=64;break;case 71:r.next=76;break;case 73:r.prev=73,r.t3=r.catch(62),S.e(r.t3);case 76:return r.prev=76,S.f(),r.finish(76);case 79:if(!p){r.next=82;break}return r.next=82,[void 0,t];case 82:case"end":return r.stop()}}),r,null,[[5,16,19,22],[23,54,57,60],[29,44,47,50],[62,73,76,79]])}))()}var $f,tp=function(){function t(e){var n=this;ll(this,t);var r=e.type,i=e.schema,o=e.validator,a=e.refiner,s=e.coercer,u=void 0===s?function(t){return t}:s,c=e.entries,l=void 0===c?al().mark((function t(){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})):c;this.type=r,this.schema=i,this.entries=l,this.coercer=u,this.validator=o?function(t,e){return Xf(o(t,e),e,n,t)}:function(){return[]},this.refiner=a?function(t,e){return Xf(a(t,e),e,n,t)}:function(){return[]}}return dl(t,[{key:"assert",value:function(t){return ep(t,this)}},{key:"create",value:function(t){return np(t,this)}},{key:"is",value:function(t){return rp(t,this)}},{key:"mask",value:function(t){return function(t,e){var n=ip(t,e,{coerce:!0,mask:!0});if(n[0])throw n[0];return n[1]}(t,this)}},{key:"validate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ip(t,this,e)}}]),t}();function ep(t,e){var n=ip(t,e);if(n[0])throw n[0]}function np(t,e){var n=ip(t,e,{coerce:!0});if(n[0])throw n[0];return n[1]}function rp(t,e){return!ip(t,e)[0]}function ip(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Kf(t,e,n),i=Jf(r);if(i[0]){var o=new Hf(i[0],al().mark((function t(){var e,n,i;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Dl(r),t.prev=1,e.s();case 3:if((n=e.n()).done){t.next=10;break}if(!(i=n.value)[0]){t.next=8;break}return t.next=8,i[0];case 8:t.next=3;break;case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),e.e(t.t0);case 15:return t.prev=15,e.f(),t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[1,12,15,18]])})));return[o,void 0]}var a=i[1];return[void 0,a]}function op(t,e){return new tp({type:t,schema:null,validator:e})}function ap(t){return new tp({type:"array",schema:t,entries:al().mark((function e(n){var r,i,o,a,s;return al().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t||!Array.isArray(n)){e.next=18;break}r=Dl(n.entries()),e.prev=2,r.s();case 4:if((i=r.n()).done){e.next=10;break}return o=El(i.value,2),a=o[0],s=o[1],e.next=8,[a,s,t];case 8:e.next=4;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),r.e(e.t0);case 15:return e.prev=15,r.f(),e.finish(15);case 18:case"end":return e.stop()}}),e,null,[[2,12,15,18]])})),coercer:function(t){return Array.isArray(t)?t.slice():t},validator:function(t){return Array.isArray(t)||"Expected an array value, but received: "+Vf(t)}})}function sp(){return op("boolean",(function(t){return"boolean"==typeof t}))}function up(t){return op("instance",(function(e){return e instanceof t||"Expected a `"+t.name+"` instance, but received: "+Vf(e)}))}function cp(t){var e=Vf(t),n=sl(t);return new tp({type:"literal",schema:"string"===n||"number"===n||"boolean"===n?t:null,validator:function(n){return n===t||"Expected the literal `"+e+"`, but received: "+Vf(n)}})}function lp(t){return new tp(ol(ol({},t),{},{validator:function(e,n){return null===e||t.validator(e,n)},refiner:function(e,n){return null===e||t.refiner(e,n)}}))}function hp(){return op("number",(function(t){return"number"==typeof t&&!isNaN(t)||"Expected a number, but received: "+Vf(t)}))}function dp(t){return new tp(ol(ol({},t),{},{validator:function(e,n){return void 0===e||t.validator(e,n)},refiner:function(e,n){return void 0===e||t.refiner(e,n)}}))}function fp(t,e){return new tp({type:"record",schema:null,entries:al().mark((function n(r){var i,o;return al().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!Zf(r)){n.next=11;break}n.t0=al().keys(r);case 2:if((n.t1=n.t0()).done){n.next=11;break}return i=n.t1.value,o=r[i],n.next=7,[i,i,t];case 7:return n.next=9,[i,o,e];case 9:n.next=2;break;case 11:case"end":return n.stop()}}),n)})),validator:function(t){return Zf(t)||"Expected an object, but received: "+Vf(t)}})}function pp(){return op("string",(function(t){return"string"==typeof t||"Expected a string, but received: "+Vf(t)}))}function mp(t){var e=op("never",(function(){return!1}));return new tp({type:"tuple",schema:null,entries:al().mark((function n(r){var i,o;return al().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!Array.isArray(r)){n.next=9;break}i=Math.max(t.length,r.length),o=0;case 3:if(!(o1&&void 0!==arguments[1]?arguments[1]:0,n=(Ep[t[e+0]]+Ep[t[e+1]]+Ep[t[e+2]]+Ep[t[e+3]]+"-"+Ep[t[e+4]]+Ep[t[e+5]]+"-"+Ep[t[e+6]]+Ep[t[e+7]]+"-"+Ep[t[e+8]]+Ep[t[e+9]]+"-"+Ep[t[e+10]]+Ep[t[e+11]]+Ep[t[e+12]]+Ep[t[e+13]]+Ep[t[e+14]]+Ep[t[e+15]]).toLowerCase();if(!Lp(n))throw TypeError("Stringified UUID is invalid");return n}var Ip=0,Tp=0;function jp(t){if(!Lp(t))throw TypeError("Invalid UUID");var e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}function Cp(t,e,n){function r(t,r,i,o){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],n=0;n>>9<<4)+1}function Op(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function _p(t,e,n,r,i,o){return Op((a=Op(Op(e,t),Op(r,o)))<<(s=i)|a>>>32-s,n);var a,s}function zp(t,e,n,r,i,o,a){return _p(e&n|~e&r,t,e,i,o,a)}function Pp(t,e,n,r,i,o,a){return _p(e&r|n&~r,t,e,i,o,a)}function Bp(t,e,n,r,i,o,a){return _p(e^n^r,t,e,i,o,a)}function Rp(t,e,n,r,i,o,a){return _p(n^(e|~r),t,e,i,o,a)}var Up=Cp("v3",48,(function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var n=0;n>5]>>>i%32&255,a=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);e.push(a)}return e}(function(t,e){t[e>>5]|=128<>5]|=(255&t[r/8])<>>32-e}var Yp=Cp("v5",80,(function(t){var e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var r=unescape(encodeURIComponent(t));t=[];for(var i=0;i>>0;b=v,v=y,y=Wp(g,30)>>>0,g=m,m=k}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+v>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var Fp=rc(Object.freeze({__proto__:null,v1:function(t,e,n){var r=e&&n||0,i=e||new Array(16),o=(t=t||{}).node||Ap,a=void 0!==t.clockseq?t.clockseq:xp;if(null==o||null==a){var s=t.random||(t.rng||Mp)();null==o&&(o=Ap=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=xp=16383&(s[6]<<8|s[7]))}var u=void 0!==t.msecs?t.msecs:Date.now(),c=void 0!==t.nsecs?t.nsecs:Tp+1,l=u-Ip+(c-Tp)/1e4;if(l<0&&void 0===t.clockseq&&(a=a+1&16383),(l<0||u>Ip)&&void 0===t.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ip=u,Tp=c,xp=a;var h=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;i[r++]=h>>>24&255,i[r++]=h>>>16&255,i[r++]=h>>>8&255,i[r++]=255&h;var d=u/4294967296*1e4&268435455;i[r++]=d>>>8&255,i[r++]=255&d,i[r++]=d>>>24&15|16,i[r++]=d>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var f=0;f<6;++f)i[r+f]=o[f];return e||Sp(i)},v3:Up,v4:function(t,e,n){var r=(t=t||{}).random||(t.rng||Mp)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return Sp(r)},v5:Yp,NIL:"00000000-0000-0000-0000-000000000000",version:function(t){if(!Lp(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)},validate:Lp,stringify:Sp,parse:jp})),Hp=Fp.v4,Gp=function(t,e,n,r){if("string"!=typeof t)throw new TypeError(t+" must be a string");var i="number"==typeof(r=r||{}).version?r.version:2;if(1!==i&&2!==i)throw new TypeError(i+" must be 1 or 2");var o={method:t};if(2===i&&(o.jsonrpc="2.0"),e){if("object"!==sl(e)&&!Array.isArray(e))throw new TypeError(e+" must be an object, array or omitted");o.params=e}if(void 0===n){var a="function"==typeof r.generator?r.generator:function(){return Hp()};o.id=a(o,r)}else 2===i&&null===n?r.notificationIdNull&&(o.id=null):o.id=n;return o},Zp=Fp.v4,Vp=Gp,Jp=function t(e,n){if(!(this instanceof t))return new t(e,n);n||(n={}),this.options={reviver:void 0!==n.reviver?n.reviver:null,replacer:void 0!==n.replacer?n.replacer:null,generator:void 0!==n.generator?n.generator:function(){return Zp()},version:void 0!==n.version?n.version:2,notificationIdNull:"boolean"==typeof n.notificationIdNull&&n.notificationIdNull},this.callServer=e},qp=Jp;Jp.prototype.request=function(t,e,n,r){var i=this,o=null,a=Array.isArray(t)&&"function"==typeof e;if(1===this.options.version&&a)throw new TypeError("JSON-RPC 1.0 does not support batching");var s,u=!a&&t&&"object"===sl(t)&&"function"==typeof e;if(a||u)r=e,o=t;else{"function"==typeof n&&(r=n,n=void 0);var c="function"==typeof r;try{o=Vp(t,e,n,{generator:this.options.generator,version:this.options.version,notificationIdNull:this.options.notificationIdNull})}catch(t){if(c)return r(t);throw t}if(!c)return o}try{s=JSON.stringify(o,this.options.replacer)}catch(t){return r(t)}return this.callServer(s,(function(t,e){i._parseResponse(t,e,r)})),o},Jp.prototype._parseResponse=function(t,e,n){if(t)n(t);else{if(!e)return n();var r;try{r=JSON.parse(e,this.options.reviver)}catch(t){return n(t)}if(3===n.length){if(Array.isArray(r)){var i=function(t){return void 0!==t.error};return n(null,r.filter(i),r.filter((function(t){return!i(t)})))}return n(null,r.error,r.result)}n(null,r)}};var Xp,Kp=qp,$p={},tm={exports:{}};(Xp=tm).exports=function(t){return t&&t.__esModule?t:{default:t}},Xp.exports.__esModule=!0,Xp.exports.default=Xp.exports;var em,nm,rm,im,om={exports:{}},am={exports:{}};function sm(){return em||(em=1,function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(am)),am.exports}function um(){return nm||(nm=1,function(t){var e=sm().default;function n(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ -t.exports=n=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return S()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var f={};function p(){}function m(){}function g(){}var y={};l(y,s,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(N([])));b&&b!==i&&o.call(b,s)&&(y=b);var w=g.prototype=p.prototype=Object.create(y);function M(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,n){function r(i,a,s,u){var c=d(t[i],t,a);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==e(h)&&o.call(h,"__await")?n.resolve(h.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):n.resolve(h).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,u)}))}u(c.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,i){r(t,e,n,i)}))}return i=i?i.then(o,o):o()}}function L(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=d(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},r}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(Gm)),Gm.exports}var qm,Xm={exports:{}};var Km,$m={exports:{}};function tg(){return Km||(Km=1,function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}($m)),$m.exports}var eg,ng={exports:{}};function rg(){return eg||(eg=1,function(t){function e(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"ws://localhost:8080",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;(0,o.default)(this,p);var a=r.autoconnect,s=void 0===a||a,u=r.reconnect,c=void 0===u||u,l=r.reconnect_interval,h=void 0===l?1e3:l,m=r.max_reconnects,g=void 0===m?5:m,y=d(r,["autoconnect","reconnect","reconnect_interval","max_reconnects"]);return(e=f.call(this)).webSocketFactory=t,e.queue={},e.rpc_id=0,e.address=n,e.autoconnect=s,e.ready=!1,e.reconnect=c,e.reconnect_timer_id=void 0,e.reconnect_interval=h,e.max_reconnects=g,e.rest_options=y,e.current_reconnects=0,e.generate_request_id=i||function(){return++e.rpc_id},e.autoconnect&&e._connect(e.address,Object.assign({autoconnect:e.autoconnect,reconnect:e.reconnect,reconnect_interval:e.reconnect_interval,max_reconnects:e.max_reconnects},e.rest_options)),e}return(0,a.default)(p,[{key:"connect",value:function(){this.socket||this._connect(this.address,Object.assign({autoconnect:this.autoconnect,reconnect:this.reconnect,reconnect_interval:this.reconnect_interval,max_reconnects:this.max_reconnects},this.rest_options))}},{key:"call",value:function(t,e,n,r){var o=this;return r||"object"!==(0,i.default)(n)||(r=n,n=null),new Promise((function(i,a){if(!o.ready)return a(new Error("socket not ready"));var s=o.generate_request_id(t,e),u={jsonrpc:"2.0",method:t,params:e||null,id:s};o.socket.send(JSON.stringify(u),r,(function(t){if(t)return a(t);o.queue[s]={promise:[i,a]},n&&(o.queue[s].timeout=setTimeout((function(){delete o.queue[s],a(new Error("reply timeout"))}),n))}))}))}},{key:"login",value:(l=(0,r.default)(n.default.mark((function t(e){var r;return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.call("rpc.login",e);case 2:if(r=t.sent){t.next=5;break}throw new Error("authentication failed");case 5:return t.abrupt("return",r);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"listMethods",value:(c=(0,r.default)(n.default.mark((function t(){return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.call("__listMethods");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"notify",value:function(t,e){var n=this;return new Promise((function(r,i){if(!n.ready)return i(new Error("socket not ready"));var o={jsonrpc:"2.0",method:t,params:e||null};n.socket.send(JSON.stringify(o),(function(t){if(t)return i(t);r()}))}))}},{key:"subscribe",value:(u=(0,r.default)(n.default.mark((function t(e){var r;return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return"string"==typeof e&&(e=[e]),t.next=3,this.call("rpc.on",e);case 3:if(r=t.sent,"string"!=typeof e||"ok"===r[e]){t.next=6;break}throw new Error("Failed subscribing to an event '"+e+"' with: "+r[e]);case 6:return t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"unsubscribe",value:(e=(0,r.default)(n.default.mark((function t(e){var r;return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return"string"==typeof e&&(e=[e]),t.next=3,this.call("rpc.off",e);case 3:if(r=t.sent,"string"!=typeof e||"ok"===r[e]){t.next=6;break}throw new Error("Failed unsubscribing from an event with: "+r);case 6:return t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"close",value:function(t,e){this.socket.close(t||1e3,e)}},{key:"_connect",value:function(t,e){var n=this;clearTimeout(this.reconnect_timer_id),this.socket=this.webSocketFactory(t,e),this.socket.addEventListener("open",(function(){n.ready=!0,n.emit("open"),n.current_reconnects=0})),this.socket.addEventListener("message",(function(t){var e=t.data;e instanceof ArrayBuffer&&(e=al.from(e).toString());try{e=JSON.parse(e)}catch(t){return}if(e.notification&&n.listeners(e.notification).length){if(!Object.keys(e.params).length)return n.emit(e.notification);var r=[e.notification];if(e.params.constructor===Object)r.push(e.params);else for(var i=0;in.current_reconnects||0===n.max_reconnects)&&(n.reconnect_timer_id=setTimeout((function(){return n._connect(t,e)}),n.reconnect_interval)))}))}}]),p}(l.EventEmitter);t.default=f}(Um);var kg=Yc(Um),Lg={};!function(t){var e=Qm.exports;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,e){return new u(t,e)};var n=e(tg()),r=e(rg()),i=e(cg()),o=e(mg()),a=e(vg());function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=(0,a.default)(t);if(e){var i=(0,a.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,o.default)(this,n)}}var u=function(t){(0,i.default)(o,t);var e=s(o);function o(t,r,i){var a;return(0,n.default)(this,o),(a=e.call(this)).socket=new window.WebSocket(t,i),a.socket.onopen=function(){return a.emit("open")},a.socket.onmessage=function(t){return a.emit("message",t.data)},a.socket.onerror=function(t){return a.emit("error",t)},a.socket.onclose=function(t){a.emit("close",t.code,t.reason)},a}return(0,r.default)(o,[{key:"send",value:function(t,e,n){var r=n||e;try{this.socket.send(t),r()}catch(t){r(t)}}},{key:"close",value:function(t,e){this.socket.close(t,e)}},{key:"addEventListener",value:function(t,e,n){this.socket.addEventListener(t,e,n)}}]),o}(Mg().EventEmitter)}(Lg);for(var Ag=Yc(Lg),xg=[],Eg=[],Ng=[],Sg=BigInt(0),Ig=BigInt(1),Tg=BigInt(2),jg=BigInt(7),Cg=BigInt(256),Dg=BigInt(113),Og=0,_g=Ig,zg=1,Pg=0;Og<24;Og++){var Bg=[Pg,(2*zg+3*Pg)%5];zg=Bg[0],Pg=Bg[1],xg.push(2*(5*Pg+zg)),Eg.push((Og+1)*(Og+2)/2%64);for(var Rg=Sg,Ug=0;Ug<7;Ug++)(_g=(_g<>jg)*Dg)%Cg)&Tg&&(Rg^=Ig<<(Ig<32?zh.rotlBH(t,e,n):zh.rotlSH(t,e,n)},Hg=function(t,e,n){return n>32?zh.rotlBL(t,e,n):zh.rotlSL(t,e,n)};var Gg=function(t){eh(n,Th);var e=lh(n);function n(t,r,i){var o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:24;if(Xl(this,n),(o=e.call(this)).blockLen=t,o.suffix=r,o.outputLen=i,o.enableXOF=a,o.rounds=s,o.pos=0,o.posOut=0,o.finished=!1,o.destroyed=!1,xh.number(i),0>=o.blockLen||o.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");return o.state=new Uint8Array(200),o.state32=Eh(o.state),o}return $l(n,[{key:"keccak",value:function(){!function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=new Uint32Array(10),r=24-e;r<24;r++){for(var i=0;i<10;i++)n[i]=t[i]^t[i+10]^t[i+20]^t[i+30]^t[i+40];for(var o=0;o<10;o+=2)for(var a=(o+8)%10,s=(o+2)%10,u=n[s],c=n[s+1],l=Fg(u,c,1)^n[a],h=Hg(u,c,1)^n[a+1],d=0;d<50;d+=10)t[o+d]^=l,t[o+d+1]^=h;for(var f=t[2],p=t[3],m=0;m<24;m++){var g=Eg[m],y=Fg(f,p,g),v=Hg(f,p,g),b=xg[m];f=t[b],p=t[b+1],t[b]=y,t[b+1]=v}for(var w=0;w<50;w+=10){for(var M=0;M<10;M++)n[M]=t[w+M];for(var k=0;k<10;k++)t[w+k]^=~n[(k+2)%10]&n[(k+4)%10]}t[0]^=Wg[r],t[1]^=Yg[r]}n.fill(0)}(this.state32,this.rounds),this.posOut=0,this.pos=0}},{key:"update",value:function(t){xh.exists(this);for(var e=this.blockLen,n=this.state,r=(t=Ih(t)).length,i=0;i=n&&this.keccak();var o=Math.min(n-this.posOut,i-r);t.set(e.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return t}},{key:"xofInto",value:function(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}},{key:"xof",value:function(t){return xh.number(t),this.xofInto(new Uint8Array(t))}},{key:"digestInto",value:function(t){if(xh.output(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}},{key:"digest",value:function(){return this.digestInto(new Uint8Array(this.outputLen))}},{key:"destroy",value:function(){this.destroyed=!0,this.state.fill(0)}},{key:"_cloneInto",value:function(t){var e=this.blockLen,r=this.suffix,i=this.outputLen,o=this.rounds,a=this.enableXOF;return t||(t=new n(e,r,i,a,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=r,t.outputLen=i,t.enableXOF=a,t.destroyed=this.destroyed,t}}]),n}(),Zg=function(t,e,n){return jh((function(){return new Gg(e,t,n)}))};Zg(6,144,28),Zg(6,136,32),Zg(6,104,48),Zg(6,72,64),Zg(1,144,28);var Vg=Zg(1,136,32);Zg(1,104,48),Zg(1,72,64);var Jg=function(t,e,n){return i=function(t,e){return r(e).update(Ih(t)).digest()},o=(r=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Gg(e,t,void 0===r.dkLen?n:r.dkLen,!0)})({}),i.outputLen=o.outputLen,i.blockLen=o.blockLen,i.create=function(t){return r(t)},i;var r,i,o};Jg(31,168,16),Jg(31,136,32);var qg=function(t){eh(n,Th);var e=lh(n);function n(t,r){var i;Xl(this,n),(i=e.call(this)).finished=!1,i.destroyed=!1,xh.hash(t);var o=Ih(r);if(i.iHash=t.create(),"function"!=typeof i.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");i.blockLen=i.iHash.blockLen,i.outputLen=i.iHash.outputLen;var a=i.blockLen,s=new Uint8Array(a);s.set(o.length>a?t.create().update(o).digest():o);for(var u=0;ua,d=l>a;if(h&&(c=e-c),d&&(l=e-l),c>a||l>a)throw new Error("splitScalarEndo: Endomorphism failed, k="+t);return{k1neg:h,k1:c,k2neg:d,k2:l}};function sy(t){var e=ry.a,n=ry.b,r=Cy(t*t),i=Cy(r*t);return Cy(i+e*t+n)}var uy=ry.a===Kg,cy=function(t){eh(n,ah(Error));var e=lh(n);function n(t){return Xl(this,n),e.call(this,t)}return $l(n)}();function ly(t){if(!(t instanceof hy))throw new TypeError("JacobianPoint expected")}var hy=function(){function t(e,n,r){Xl(this,t),this.x=e,this.y=n,this.z=r}return $l(t,[{key:"equals",value:function(t){ly(t);var e=this.x,n=this.y,r=this.z,i=t.x,o=t.y,a=t.z,s=Cy(r*r),u=Cy(a*a),c=Cy(e*u),l=Cy(i*s),h=Cy(Cy(n*a)*u),d=Cy(Cy(o*r)*s);return c===l&&h===d}},{key:"negate",value:function(){return new t(this.x,Cy(-this.y),this.z)}},{key:"double",value:function(){var e=this.x,n=this.y,r=this.z,i=Cy(e*e),o=Cy(n*n),a=Cy(o*o),s=e+o,u=Cy(ty*(Cy(s*s)-i-a)),c=Cy(ey*i),l=Cy(c*c),h=Cy(l-ty*u);return new t(h,Cy(c*(u-h)-ny*a),Cy(ty*n*r))}},{key:"add",value:function(e){ly(e);var n=this.x,r=this.y,i=this.z,o=e.x,a=e.y,s=e.z;if(o===Kg||a===Kg)return this;if(n===Kg||r===Kg)return e;var u=Cy(i*i),c=Cy(s*s),l=Cy(n*c),h=Cy(o*u),d=Cy(Cy(r*s)*c),f=Cy(Cy(a*i)*u),p=Cy(h-l),m=Cy(f-d);if(p===Kg)return m===Kg?this.double():t.ZERO;var g=Cy(p*p),y=Cy(p*g),v=Cy(l*g),b=Cy(m*m-y-ty*v);return new t(b,Cy(m*(v-b)-d*y),Cy(i*s*p))}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"multiplyUnsafe",value:function(e){var n=t.ZERO;if("bigint"==typeof e&&e===Kg)return n;var r=jy(e);if(r===$g)return this;if(!uy){for(var i=n,o=this;r>Kg;)r&$g&&(i=i.add(o)),o=o.double(),r>>=$g;return i}for(var a=ay(r),s=a.k1neg,u=a.k1,c=a.k2neg,l=a.k2,h=n,d=n,f=this;u>Kg||l>Kg;)u&$g&&(h=h.add(f)),l&$g&&(d=d.add(f)),f=f.double(),u>>=$g,l>>=$g;return s&&(h=h.negate()),c&&(d=d.negate()),d=new t(Cy(d.x*oy),d.y,d.z),h.add(d)}},{key:"precomputeWindow",value:function(t){for(var e=uy?128/t+1:256/t+1,n=[],r=this,i=r,o=0;o>=h,p>u&&(p-=l,e+=$g);var m=f,g=f+Math.abs(p)-1,y=d%2!=0,v=p<0;0===p?a=a.add(dy(y,i[m])):o=o.add(dy(v,i[g]))}return{p:o,f:a}}},{key:"multiply",value:function(e,n){var r,i,o=jy(e);if(uy){var a=ay(o),s=a.k1neg,u=a.k1,c=a.k2neg,l=a.k2,h=this.wNAF(u,n),d=h.p,f=h.f,p=this.wNAF(l,n),m=p.p,g=p.f;d=dy(s,d),m=new t(Cy((m=dy(c,m)).x*oy),m.y,m.z),r=d.add(m),i=f.add(g)}else{var y=this.wNAF(o,n);r=y.p,i=y.f}return t.normalizeZ([r,i])[0]}},{key:"toAffine",value:function(e){var n=this.x,r=this.y,i=this.z,o=this.equals(t.ZERO);null==e&&(e=o?ny:Oy(i));var a=e,s=Cy(a*a),u=Cy(s*a),c=Cy(n*s),l=Cy(r*u),h=Cy(i*a);if(o)return py.ZERO;if(h!==$g)throw new Error("invZ was invalid");return new py(c,l)}}],[{key:"fromAffine",value:function(e){if(!(e instanceof py))throw new TypeError("JacobianPoint#fromAffine: expected Point");return e.equals(py.ZERO)?t.ZERO:new t(e.x,e.y,$g)}},{key:"toAffineBatch",value:function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ry.P,n=new Array(t.length),r=Oy(t.reduce((function(t,r,i){return r===Kg?t:(n[i]=t,Cy(t*r,e))}),$g),e);return t.reduceRight((function(t,r,i){return r===Kg?t:(n[i]=Cy(t*n[i],e),Cy(t*r,e))}),r),n}(t.map((function(t){return t.z})));return t.map((function(t,n){return t.toAffine(e[n])}))}},{key:"normalizeZ",value:function(e){return t.toAffineBatch(e).map(t.fromAffine)}}]),t}();function dy(t,e){var n=e.negate();return t?n:e}hy.BASE=new hy(ry.Gx,ry.Gy,$g),hy.ZERO=new hy(Kg,$g,Kg);var fy=new WeakMap,py=function(){function t(e,n){Xl(this,t),this.x=e,this.y=n}return $l(t,[{key:"_setWindowSize",value:function(t){this._WINDOW_SIZE=t,fy.delete(this)}},{key:"hasEvenY",value:function(){return this.y%ty===Kg}},{key:"toRawBytes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Sy(this.toHex(t))}},{key:"toHex",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Ay(this.x);if(t){var n=this.hasEvenY()?"02":"03";return"".concat(n).concat(e)}return"04".concat(e).concat(Ay(this.y))}},{key:"toHexX",value:function(){return this.toHex(!0).slice(2)}},{key:"toRawX",value:function(){return this.toRawBytes(!0).slice(1)}},{key:"assertValidity",value:function(){var t="Point is not on elliptic curve",e=this.x,n=this.y;if(!Ry(e)||!Ry(n))throw new Error(t);var r=Cy(n*n);if(Cy(r-sy(e))!==Kg)throw new Error(t)}},{key:"equals",value:function(t){return this.x===t.x&&this.y===t.y}},{key:"negate",value:function(){return new t(this.x,Cy(-this.y))}},{key:"double",value:function(){return hy.fromAffine(this).double().toAffine()}},{key:"add",value:function(t){return hy.fromAffine(this).add(hy.fromAffine(t)).toAffine()}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"multiply",value:function(t){return hy.fromAffine(this).multiply(t,this).toAffine()}},{key:"multiplyAndAddUnsafe",value:function(e,n,r){var i=hy.fromAffine(this),o=n===Kg||n===$g||this!==t.BASE?i.multiplyUnsafe(n):i.multiply(n),a=hy.fromAffine(e).multiplyUnsafe(r),s=o.add(a);return s.equals(hy.ZERO)?void 0:s.toAffine()}}],[{key:"fromCompressedHex",value:function(e){var n=32===e.length,r=Iy(n?e:e.subarray(1));if(!Ry(r))throw new Error("Point is not on curve");var i=function(t){var e=ry.P,n=BigInt(6),r=BigInt(11),i=BigInt(22),o=BigInt(23),a=BigInt(44),s=BigInt(88),u=t*t*t%e,c=u*u*t%e,l=Dy(c,ey)*c%e,h=Dy(l,ey)*c%e,d=Dy(h,ty)*u%e,f=Dy(d,r)*d%e,p=Dy(f,i)*f%e,m=Dy(p,a)*p%e,g=Dy(m,s)*m%e,y=Dy(g,a)*p%e,v=Dy(y,ey)*c%e,b=Dy(v,o)*f%e,w=Dy(b,n)*u%e,M=Dy(w,ty);if(M*M%e!==t)throw new Error("Cannot find square root");return M}(sy(r)),o=(i&$g)===$g;n?o&&(i=Cy(-i)):1==(1&e[0])!==o&&(i=Cy(-i));var a=new t(r,i);return a.assertValidity(),a}},{key:"fromUncompressedHex",value:function(e){var n=new t(Iy(e.subarray(1,33)),Iy(e.subarray(33,65)));return n.assertValidity(),n}},{key:"fromHex",value:function(t){var e=Ty(t),n=e.length,r=e[0];if(32===n)return this.fromCompressedHex(e);if(33===n&&(2===r||3===r))return this.fromCompressedHex(e);if(65===n&&4===r)return this.fromUncompressedHex(e);throw new Error("Point.fromHex: received invalid point. Expected 32-".concat(33," compressed bytes or ").concat(65," uncompressed bytes, not ").concat(n))}},{key:"fromPrivateKey",value:function(e){return t.BASE.multiply(Qy(e))}},{key:"fromSignature",value:function(e,n,r){var i=function(t){if(t instanceof yy)return t.assertValidity(),t;try{return yy.fromDER(t)}catch(e){return yy.fromCompact(t)}}(n),o=i.r,a=i.s;if(![0,1,2,3].includes(r))throw new Error("Cannot recover: invalid recovery bit");var s=zy(Ty(e)),u=ry.n,c=2===r||3===r?o+u:o,l=Oy(c,u),h=Cy(-s*l,u),d=Cy(a*l,u),f=1&r?"03":"02",p=t.fromHex(f+Ay(c)),m=t.BASE.multiplyAndAddUnsafe(p,h,d);if(!m)throw new Error("Cannot recover signature: point at infinify");return m.assertValidity(),m}}]),t}();function my(t){return Number.parseInt(t[0],16)>=8?"00"+t:t}function gy(t){if(t.length<2||2!==t[0])throw new Error("Invalid signature integer tag: ".concat(wy(t)));var e=t[1],n=t.subarray(2,e+2);if(!e||n.length!==e)throw new Error("Invalid signature integer: wrong length");if(0===n[0]&&n[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:Iy(n),left:t.subarray(e+2)}}py.BASE=new py(ry.Gx,ry.Gy),py.ZERO=new py(Kg,Kg);var yy=function(){function t(e,n){Xl(this,t),this.r=e,this.s=n,this.assertValidity()}return $l(t,[{key:"assertValidity",value:function(){var t=this.r,e=this.s;if(!By(t))throw new Error("Invalid Signature: r must be 0 < r < n");if(!By(e))throw new Error("Invalid Signature: s must be 0 < s < n")}},{key:"hasHighS",value:function(){var t=ry.n>>$g;return this.s>t}},{key:"normalizeS",value:function(){return this.hasHighS()?new t(this.r,Cy(-this.s,ry.n)):this}},{key:"toDERRawBytes",value:function(){return Sy(this.toDERHex())}},{key:"toDERHex",value:function(){var t=my(Ey(this.s)),e=my(Ey(this.r)),n=t.length/2,r=e.length/2,i=Ey(n),o=Ey(r),a=Ey(r+n+4);return"30".concat(a,"02").concat(o).concat(e,"02").concat(i).concat(t)}},{key:"toRawBytes",value:function(){return this.toDERRawBytes()}},{key:"toHex",value:function(){return this.toDERHex()}},{key:"toCompactRawBytes",value:function(){return Sy(this.toCompactHex())}},{key:"toCompactHex",value:function(){return Ay(this.r)+Ay(this.s)}}],[{key:"fromCompact",value:function(e){var n=e instanceof Uint8Array,r="Signature.fromCompact";if("string"!=typeof e&&!n)throw new TypeError("".concat(r,": Expected string or Uint8Array"));var i=n?wy(e):e;if(128!==i.length)throw new Error("".concat(r,": Expected 64-byte hex"));return new t(Ny(i.slice(0,64)),Ny(i.slice(64,128)))}},{key:"fromDER",value:function(e){var n=e instanceof Uint8Array;if("string"!=typeof e&&!n)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");var r=function(t){if(t.length<2||48!=t[0])throw new Error("Invalid signature tag: ".concat(wy(t)));if(t[1]!==t.length-2)throw new Error("Invalid signature: incorrect length");var e=gy(t.subarray(2)),n=e.data,r=gy(e.left),i=r.data,o=r.left;if(o.length)throw new Error("Invalid signature: left bytes after parsing: ".concat(wy(o)));return{r:n,s:i}}(n?e:Sy(e));return new t(r.r,r.s)}},{key:"fromHex",value:function(t){return this.fromDER(t)}}]),t}();function vy(){for(var t=arguments.length,e=new Array(t),n=0;n0)return BigInt(t);if("bigint"==typeof t&&By(t))return t;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function Cy(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ry.P,n=t%e;return n>=Kg?n:e+n}function Dy(t,e){for(var n=ry.P,r=t;e-- >Kg;)r*=r,r%=n;return r}function Oy(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ry.P;if(t===Kg||e<=Kg)throw new Error("invert: expected positive integers, got n=".concat(t," mod=").concat(e));for(var n=Cy(t,e),r=e,i=Kg,o=$g;n!==Kg;){var a=r/n,s=r%n,u=i-o*a;r=n,n=s,i=o,o=u}var c=r;if(c!==$g)throw new Error("invert: does not exist");return Cy(i,e)}function _y(t){var e=8*t.length-256,n=Iy(t);return e>0?n>>BigInt(e):n}function zy(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=_y(t);if(e)return n;var r=ry.n;return n>=r?n-r:n}var Py=function(){function t(e,n){if(Xl(this,t),this.hashLen=e,this.qByteLen=n,"number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof n||n<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(e).fill(1),this.k=new Uint8Array(e).fill(0),this.counter=0}var e,n;return $l(t,[{key:"hmac",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}},{key:"reseed",value:(n=ql(Zl().mark((function t(){var e,n=arguments;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:new Uint8Array,t.next=3,this.hmac(this.v,Uint8Array.from([0]),e);case 3:return this.k=t.sent,t.next=6,this.hmac(this.v);case 6:if(this.v=t.sent,0!==e.length){t.next=9;break}return t.abrupt("return");case 9:return t.next=11,this.hmac(this.v,Uint8Array.from([1]),e);case 11:return this.k=t.sent,t.next=14,this.hmac(this.v);case 14:this.v=t.sent;case 15:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"reseedSync",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),t),this.v=this.hmacSync(this.v),0!==t.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),t),this.v=this.hmacSync(this.v))}},{key:"generate",value:(e=ql(Zl().mark((function t(){var e,n,r;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.incr(),e=0,n=[];case 3:if(!(e3&&void 0!==arguments[3])||arguments[3],i=ry.n,o=zy(t,!0);if(By(o)){var a=Oy(o,i),s=py.BASE.multiply(o),u=Cy(s.x,i);if(u!==Kg){var c=Cy(a*Cy(e+n*u,i),i);if(c!==Kg){var l=new yy(u,c),h=(s.x===l.r?0:2)|Number(s.y&$g);return r&&l.hasHighS()&&(l=l.normalizeS(),h^=1),{sig:l,recovery:h}}}}}function Qy(t){var e;if("bigint"==typeof t)e=t;else if("number"==typeof t&&Number.isSafeInteger(t)&&t>0)e=BigInt(t);else if("string"==typeof t){if(64!==t.length)throw new Error("Expected 32 bytes of private key");e=Ny(t)}else{if(!(t instanceof Uint8Array))throw new TypeError("Expected valid private key");if(32!==t.length)throw new Error("Expected 32 bytes of private key");e=Iy(t)}if(!By(e))throw new Error("Expected private key: 0 < key < n");return e}function Wy(t){return Iy(t.length>32?t.slice(0,32):t)}function Yy(t){var e=Wy(t),n=Cy(e,ry.n);return Fy(n1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return xy(Cy(Iy(t),ry.n-$g)+$g)},randomBytes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(Jy.web)return Jy.web.getRandomValues(new Uint8Array(t));if(Jy.node){var e=Jy.node.randomBytes;return Uint8Array.from(e(t))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:function(){return Xy.hashToPrivateKey(Xy.randomBytes(40))},precompute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:py.BASE,n=e===py.BASE?e:new py(e.x,e.y);return n._setWindowSize(t),n.multiply(ey),n},sha256:function(){var t=ql(Zl().mark((function t(){var e,n,r,i,o,a,s=arguments;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(e=s.length,n=new Array(e),r=0;r1?n-1:0),i=1;i1?i-1:0),a=1;a1?r-1:0),o=1;o32)throw new Error("Invalid public key input")}return e}return $l(a,[{key:"equals",value:function(t){return this._bn.eq(t._bn)}},{key:"toBase58",value:function(){return Vd.encode(this.toBytes())}},{key:"toJSON",value:function(){return this.toBase58()}},{key:"toBytes",value:function(){var t=this.toBuffer();return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}},{key:"toBuffer",value:function(){var t=this._bn.toArrayLike(al);if(32===t.length)return t;var e=al.alloc(32);return t.copy(e,32-t.length),e}},{key:e,get:function(){return"PublicKey(".concat(this.toString(),")")}},{key:"toString",value:function(){return this.toBase58()}}],[{key:"unique",value:function(){var t=new a(dv);return dv+=1,new a(t.toBuffer())}},{key:"createWithSeed",value:(i=ql(Zl().mark((function t(e,n,r){var i,o;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=al.concat([e.toBuffer(),al.from(n),r.toBuffer()]),o=ef(i),t.abrupt("return",new a(o));case 3:case"end":return t.stop()}}),t)}))),function(t,e,n){return i.apply(this,arguments)})},{key:"createProgramAddressSync",value:function(t,e){var n=al.alloc(0);t.forEach((function(t){if(t.length>32)throw new TypeError("Max seed length exceeded");n=al.concat([n,uv(t)])})),n=al.concat([n,e.toBuffer(),al.from("ProgramDerivedAddress")]);var r=ef(n);if(ov(r))throw new Error("Invalid seeds, address must fall off the curve");return new a(r)}},{key:"createProgramAddress",value:(r=ql(Zl().mark((function t(e,n){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.createProgramAddressSync(e,n));case 1:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"findProgramAddressSync",value:function(t,e){for(var n,r=255;0!=r;){try{var i=t.concat(al.from([r]));n=this.createProgramAddressSync(i,e)}catch(t){if(t instanceof TypeError)throw t;r--;continue}return[n,r]}throw new Error("Unable to find a viable program address nonce")}},{key:"findProgramAddress",value:(n=ql(Zl().mark((function t(e,n){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.findProgramAddressSync(e,n));case 1:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"isOnCurve",value:function(t){return ov(new a(t).toBytes())}}]),a}(0,Symbol.toStringTag);fv.default=new fv("11111111111111111111111111111111"),hv.set(fv,{kind:"struct",fields:[["_bn","u256"]]});var pv=function(){function t(e){if(Xl(this,t),this._publicKey=void 0,this._secretKey=void 0,e){var n=uv(e);if(64!==e.length)throw new Error("bad secret key size");this._publicKey=n.slice(32,64),this._secretKey=n.slice(0,32)}else this._secretKey=uv(nv()),this._publicKey=uv(iv(this._secretKey))}return $l(t,[{key:"publicKey",get:function(){return new fv(this._publicKey)}},{key:"secretKey",get:function(){return al.concat([this._secretKey,this._publicKey],64)}}]),t}(),mv=new fv("BPFLoader1111111111111111111111111111111111"),gv=function(t){eh(n,ah(Error));var e=lh(n);function n(t){var r;return Xl(this,n),(r=e.call(this,"Signature ".concat(t," has expired: block height exceeded."))).signature=void 0,r.signature=t,r}return $l(n)}();Object.defineProperty(gv.prototype,"name",{value:"TransactionExpiredBlockheightExceededError"});var yv=function(t){eh(n,ah(Error));var e=lh(n);function n(t,r){var i;return Xl(this,n),(i=e.call(this,"Transaction was not confirmed in ".concat(r.toFixed(2)," seconds. It is ")+"unknown if it succeeded or failed. Check signature "+"".concat(t," using the Solana Explorer or CLI tools."))).signature=void 0,i.signature=t,i}return $l(n)}();Object.defineProperty(yv.prototype,"name",{value:"TransactionExpiredTimeoutError"});var vv=function(t){eh(n,ah(Error));var e=lh(n);function n(t){var r;return Xl(this,n),(r=e.call(this,"Signature ".concat(t," has expired: the nonce is no longer valid."))).signature=void 0,r.signature=t,r}return $l(n)}();Object.defineProperty(vv.prototype,"name",{value:"TransactionExpiredNonceInvalidError"});var bv=function(){function t(e,n){Xl(this,t),this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=e,this.accountKeysFromLookups=n}return $l(t,[{key:"keySegments",value:function(){var t=[this.staticAccountKeys];return this.accountKeysFromLookups&&(t.push(this.accountKeysFromLookups.writable),t.push(this.accountKeysFromLookups.readonly)),t}},{key:"get",value:function(t){var e,n=wh(this.keySegments());try{for(n.s();!(e=n.n()).done;){var r=e.value;if(t256)throw new Error("Account index overflow encountered during compilation");var e=new Map;this.keySegments().flat().forEach((function(t,n){e.set(t.toBase58(),n)}));var n=function(t){var n=e.get(t.toBase58());if(void 0===n)throw new Error("Encountered an unknown instruction account key during compilation");return n};return t.map((function(t){return{programIdIndex:n(t.programId),accountKeyIndexes:t.keys.map((function(t){return n(t.pubkey)})),data:t.data}}))}}]),t}(),wv=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"publicKey";return Ep(32,t)},Mv=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"signature";return Ep(64,t)},kv=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"string",e=Ap([Mp("length"),Mp("lengthPadding"),Ep(vp(Mp(),-8),"chars")],t),n=e.decode.bind(e),r=e.encode.bind(e),i=e;return i.decode=function(t,e){return n(t,e).chars.toString()},i.encode=function(t,e,n){var i={chars:al.from(t,"utf8")};return r(i,e,n)},i.alloc=function(t){return Mp().span+Mp().span+al.from(t,"utf8").length},i};function Lv(t,e){var n=function t(n){if(n.span>=0)return n.span;if("function"==typeof n.alloc)return n.alloc(e[n.property]);if("count"in n&&"elementLayout"in n){var r=e[n.property];if(Array.isArray(r))return r.length*t(n.elementLayout)}else if("fields"in n)return Lv({layout:n},e[n.property]);return 0},r=0;return t.layout.fields.forEach((function(t){r+=n(t)})),r}function Av(t){for(var e=0,n=0;;){var r=t.shift();if(e|=(127&r)<<7*n,n+=1,0==(128&r))break}return e}function xv(t,e){for(var n=e;;){var r=127&n;if(0==(n>>=7)){t.push(r);break}r|=128,t.push(r)}}function Ev(t,e){if(!t)throw new Error(e||"Assertion failed")}var Nv,Sv=function(){function t(e,n){Xl(this,t),this.payer=void 0,this.keyMetaMap=void 0,this.payer=e,this.keyMetaMap=n}return $l(t,[{key:"getMessageComponents",value:function(){var t=ph(this.keyMetaMap.entries());Ev(t.length<=256,"Max static account keys length exceeded");var e=t.filter((function(t){var e=fh(t,2)[1];return e.isSigner&&e.isWritable})),n=t.filter((function(t){var e=fh(t,2)[1];return e.isSigner&&!e.isWritable})),r=t.filter((function(t){var e=fh(t,2)[1];return!e.isSigner&&e.isWritable})),i=t.filter((function(t){var e=fh(t,2)[1];return!e.isSigner&&!e.isWritable})),o={numRequiredSignatures:e.length+n.length,numReadonlySignedAccounts:n.length,numReadonlyUnsignedAccounts:i.length};return Ev(e.length>0,"Expected at least one writable signer key"),Ev(fh(e[0],1)[0]===this.payer.toBase58(),"Expected first writable signer key to be the fee payer"),[o,[].concat(ph(e.map((function(t){var e=fh(t,1)[0];return new fv(e)}))),ph(n.map((function(t){var e=fh(t,1)[0];return new fv(e)}))),ph(r.map((function(t){var e=fh(t,1)[0];return new fv(e)}))),ph(i.map((function(t){var e=fh(t,1)[0];return new fv(e)}))))]}},{key:"extractTableLookup",value:function(t){var e=fh(this.drainKeysFoundInLookupTable(t.state.addresses,(function(t){return!t.isSigner&&!t.isInvoked&&t.isWritable})),2),n=e[0],r=e[1],i=fh(this.drainKeysFoundInLookupTable(t.state.addresses,(function(t){return!t.isSigner&&!t.isInvoked&&!t.isWritable})),2),o=i[0],a=i[1];if(0!==n.length||0!==o.length)return[{accountKey:t.key,writableIndexes:n,readonlyIndexes:o},{writable:r,readonly:a}]}},{key:"drainKeysFoundInLookupTable",value:function(t,e){var n,r=this,i=new Array,o=new Array,a=wh(this.keyMetaMap.entries());try{var s=function(){var a=fh(n.value,2),s=a[0],u=a[1];if(e(u)){var c=new fv(s),l=t.findIndex((function(t){return t.equals(c)}));l>=0&&(Ev(l<256,"Max lookup table index exceeded"),i.push(l),o.push(c),r.keyMetaMap.delete(s))}};for(a.s();!(n=a.n()).done;)s()}catch(t){a.e(t)}finally{a.f()}return[i,o]}}],[{key:"compile",value:function(e,n){var r=new Map,i=function(t){var e=t.toBase58(),n=r.get(e);return void 0===n&&(n={isSigner:!1,isWritable:!1,isInvoked:!1},r.set(e,n)),n},o=i(n);o.isSigner=!0,o.isWritable=!0;var a,s=wh(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;i(u.programId).isInvoked=!0;var c,l=wh(u.keys);try{for(l.s();!(c=l.n()).done;){var h=c.value,d=i(h.pubkey);d.isSigner||(d.isSigner=h.isSigner),d.isWritable||(d.isWritable=h.isWritable)}}catch(t){l.e(t)}finally{l.f()}}}catch(t){s.e(t)}finally{s.f()}return new t(n,r)}}]),t}(),Iv=function(){function t(e){var n=this;Xl(this,t),this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=e.header,this.accountKeys=e.accountKeys.map((function(t){return new fv(t)})),this.recentBlockhash=e.recentBlockhash,this.instructions=e.instructions,this.instructions.forEach((function(t){return n.indexToProgramIds.set(t.programIdIndex,n.accountKeys[t.programIdIndex])}))}return $l(t,[{key:"version",get:function(){return"legacy"}},{key:"staticAccountKeys",get:function(){return this.accountKeys}},{key:"compiledInstructions",get:function(){return this.instructions.map((function(t){return{programIdIndex:t.programIdIndex,accountKeyIndexes:t.accounts,data:Vd.decode(t.data)}}))}},{key:"addressTableLookups",get:function(){return[]}},{key:"getAccountKeys",value:function(){return new bv(this.staticAccountKeys)}},{key:"isAccountSigner",value:function(t){return t=this.header.numRequiredSignatures?t-e0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new bv(this.staticAccountKeys,e)}},{key:"isAccountSigner",value:function(t){return t=n?t-n=this.header.numRequiredSignatures?t-e0?this.signatures[0].signature:null}},{key:"toJSON",value:function(){return{recentBlockhash:this.recentBlockhash||null,feePayer:this.feePayer?this.feePayer.toJSON():null,nonceInfo:this.nonceInfo?{nonce:this.nonceInfo.nonce,nonceInstruction:this.nonceInfo.nonceInstruction.toJSON()}:null,instructions:this.instructions.map((function(t){return t.toJSON()})),signers:this.signatures.map((function(t){return t.publicKey.toJSON()}))}}},{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r0&&this.signatures[0].publicKey))throw new Error("Transaction fee payer required");n=this.signatures[0].publicKey}for(var r=0;r-1?(a[n].isWritable=a[n].isWritable||t.isWritable,a[n].isSigner=a[n].isSigner||t.isSigner):a.push(t)})),a.sort((function(t,e){return t.isSigner!==e.isSigner?t.isSigner?-1:1:t.isWritable!==e.isWritable?t.isWritable?-1:1:t.pubkey.toBase58().localeCompare(e.pubkey.toBase58())}));var s=a.findIndex((function(t){return t.pubkey.equals(n)}));if(s>-1){var u=fh(a.splice(s,1),1)[0];u.isSigner=!0,u.isWritable=!0,a.unshift(u)}else a.unshift({pubkey:n,isSigner:!0,isWritable:!0});var c,l=wh(this.signatures);try{var h=function(){var t=c.value,e=a.findIndex((function(e){return e.pubkey.equals(t.publicKey)}));if(!(e>-1))throw new Error("unknown signer: ".concat(t.publicKey.toString()));a[e].isSigner||(a[e].isSigner=!0,console.warn("Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts should sign a transaction. This behavior is deprecated and will throw an error in the next major version release."))};for(l.s();!(c=l.n()).done;)h()}catch(t){l.e(t)}finally{l.f()}var d=0,f=0,p=0,m=[],g=[];a.forEach((function(t){var e=t.pubkey,n=t.isSigner,r=t.isWritable;n?(m.push(e.toString()),d+=1,r||(f+=1)):(g.push(e.toString()),r||(p+=1))}));var y=m.concat(g),v=e.map((function(t){var e=t.data,n=t.programId;return{programIdIndex:y.indexOf(n.toString()),accounts:t.keys.map((function(t){return y.indexOf(t.pubkey.toString())})),data:Vd.encode(e)}}));return v.forEach((function(t){Ev(t.programIdIndex>=0),t.accounts.forEach((function(t){return Ev(t>=0)}))})),new Iv({header:{numRequiredSignatures:d,numReadonlySignedAccounts:f,numReadonlyUnsignedAccounts:p},accountKeys:y,recentBlockhash:t,instructions:v})}},{key:"_compile",value:function(){var t=this.compileMessage(),e=t.accountKeys.slice(0,t.header.numRequiredSignatures);if(this.signatures.length===e.length&&this.signatures.every((function(t,n){return e[n].equals(t.publicKey)})))return t;return this.signatures=e.map((function(t){return{signature:null,publicKey:t}})),t}},{key:"serializeMessage",value:function(){return this._compile().serialize()}},{key:"getEstimatedFee",value:(e=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getFeeForMessage(this.compileMessage());case 2:return t.abrupt("return",t.sent.value);case 3:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"setSigners",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n1?r-1:0),o=1;o ").concat(1232)),i}},{key:"keys",get:function(){return Ev(1===this.instructions.length),this.instructions[0].keys.map((function(t){return t.pubkey}))}},{key:"programId",get:function(){return Ev(1===this.instructions.length),this.instructions[0].programId}},{key:"data",get:function(){return Ev(1===this.instructions.length),this.instructions[0].data}}],[{key:"from",value:function(e){for(var n=ph(e),r=Av(n),i=[],o=0;o1&&void 0!==arguments[1]?arguments[1]:[],r=new t;return r.recentBlockhash=e.recentBlockhash,e.header.numRequiredSignatures>0&&(r.feePayer=e.accountKeys[0]),n.forEach((function(t,n){var i={signature:t==Vd.encode(Cv)?null:Vd.decode(t),publicKey:e.accountKeys[n]};r.signatures.push(i)})),e.instructions.forEach((function(t){var n=t.accounts.map((function(t){var n=e.accountKeys[t];return{pubkey:n,isSigner:r.signatures.some((function(t){return t.publicKey.toString()===n.toString()}))||e.isAccountSigner(t),isWritable:e.isAccountWritable(t)}}));r.instructions.push(new Dv({keys:n,programId:e.accountKeys[t.programIdIndex],data:Vd.decode(t.data)}))})),r._message=e,r._json=r.toJSON(),r}}]),t}(),_v=function(){function t(e){Xl(this,t),this.payerKey=void 0,this.instructions=void 0,this.recentBlockhash=void 0,this.payerKey=e.payerKey,this.instructions=e.instructions,this.recentBlockhash=e.recentBlockhash}return $l(t,[{key:"compileToLegacyMessage",value:function(){return Iv.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions})}},{key:"compileToV0Message",value:function(t){return Tv.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions,addressLookupTableAccounts:t})}}],[{key:"decompile",value:function(e,n){var r=e.header,i=e.compiledInstructions,o=e.recentBlockhash,a=r.numRequiredSignatures,s=r.numReadonlySignedAccounts,u=r.numReadonlyUnsignedAccounts,c=a-s;Ev(c>0,"Message header is invalid");var l=e.staticAccountKeys.length-a-u;Ev(l>=0,"Message header is invalid");var h=e.getAccountKeys(n),d=h.get(0);if(void 0===d)throw new Error("Failed to decompile message because no account keys were found");var f,p=[],m=wh(i);try{for(m.s();!(f=m.n()).done;){var g,y=f.value,v=[],b=wh(y.accountKeyIndexes);try{for(b.s();!(g=b.n()).done;){var w=g.value,M=h.get(w);if(void 0===M)throw new Error("Failed to find key for account key index ".concat(w));var k=void 0;k=w=0,"Cannot sign with non signer key ".concat(t.publicKey.toBase58())),n.signatures[o]=av(r,t.secretKey)};for(o.s();!(e=o.n()).done;)a()}catch(t){o.e(t)}finally{o.f()}}},{key:"addSignature",value:function(t,e){Ev(64===e.byteLength,"Signature must be 64 bytes long");var n=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex((function(e){return e.equals(t)}));Ev(n>=0,"Can not add signature; `".concat(t.toBase58(),"` is not required to sign this transaction")),this.signatures[n]=e}}],[{key:"deserialize",value:function(e){for(var n=ph(e),r=[],i=Av(n),o=0;o=0?t.layout.span:Lv(t,e),r=al.alloc(n),i=Object.assign({instruction:t.index},e);return t.layout.encode(i,r),r}function qv(t,e){var n;try{n=t.layout.decode(e)}catch(t){throw new Error("invalid instruction; "+t)}if(n.instruction!==t.index)throw new Error("invalid instruction; instruction index mismatch ".concat(n.instruction," != ").concat(t.index));return n}var Xv,Kv=kp("lamportsPerSignature"),$v=Ap([Mp("version"),Mp("state"),wv("authorizedPubkey"),wv("nonce"),Ap([Kv],"feeCalculator")]),tb=$v.span,eb=function(){function t(e){Xl(this,t),this.authorizedPubkey=void 0,this.nonce=void 0,this.feeCalculator=void 0,this.authorizedPubkey=e.authorizedPubkey,this.nonce=e.nonce,this.feeCalculator=e.feeCalculator}return $l(t,null,[{key:"fromAccountData",value:function(e){var n=$v.decode(uv(e),0);return new t({authorizedPubkey:new fv(n.authorizedPubkey),nonce:new fv(n.nonce).toString(),feeCalculator:n.feeCalculator})}}]),t}(),nb=(Xv=8,function(t){var e=Ep(Xv,t),n=function(t){return{decode:t.decode.bind(t),encode:t.encode.bind(t)}}(e),r=n.encode,i=n.decode,o=e;return o.decode=function(t,e){var n=i(t,e);return Sp(al.from(n))},o.encode=function(t,e,n){var i=Ip(t,Xv);return r(i,e,n)},o}),rb=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Mp("instruction").decode(t.data),r=0,i=Object.entries(ib);r0?s:1,space:a.length,programId:o}));case 17:if(null===c){e.next=20;break}return e.next=20,Gv(n,c,[r,i],{commitment:"confirmed"});case 20:l=Ap([Mp("instruction"),Mp("offset"),Mp("bytesLength"),Mp("bytesLengthPadding"),xp(bp("byte"),vp(Mp(),-8),"bytes")]),h=t.chunkSize,d=0,f=a,p=[];case 25:if(!(f.length>0)){e.next=39;break}if(m=f.slice(0,h),g=al.alloc(h+16),l.encode({instruction:0,offset:d,bytes:m,bytesLength:0,bytesLengthPadding:0},g),y=(new Ov).add({keys:[{pubkey:i.publicKey,isSigner:!0,isWritable:!0}],programId:o,data:g}),p.push(Gv(n,y,[r,i],{commitment:"confirmed"})),!n._rpcEndpoint.includes("solana.com")){e.next=35;break}return e.next=35,Vv(250);case 35:d+=h,f=f.slice(h),e.next=25;break;case 39:return e.next=41,Promise.all(p);case 41:return v=Ap([Mp("instruction")]),b=al.alloc(v.span),v.encode({instruction:1},b),w=(new Ov).add({keys:[{pubkey:i.publicKey,isSigner:!0,isWritable:!0},{pubkey:Qv,isSigner:!1,isWritable:!1}],programId:o,data:b}),e.next=47,Gv(n,w,[r,i],{commitment:"confirmed"});case 47:return e.abrupt("return",!0);case 48:case"end":return e.stop()}}),e)}))),function(t,n,r,i,o){return e.apply(this,arguments)})}]),t}();ab.chunkSize=932;var sb=new fv("BPFLoader2111111111111111111111111111111111"),ub=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"getMinNumSignatures",value:function(t){return ab.getMinNumSignatures(t)}},{key:"load",value:function(t,e,n,r,i){return ab.load(t,e,n,i,r)}}]),t}(),cb=Object.prototype.toString,lb=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};function hb(t,e){var n,r,i,o,a,s,u;if(!0===t)return"true";if(!1===t)return"false";switch(Vl(t)){case"object":if(null===t)return null;if(t.toJSON&&"function"==typeof t.toJSON)return hb(t.toJSON(),e);if("[object Array]"===(u=cb.call(t))){for(i="[",r=t.length-1,n=0;n-1&&(i+=hb(t[n],!0)),i+"]"}if("[object Object]"===u){for(r=(o=lb(t).sort()).length,i="",n=0;n1;)t/=2,e++;return e}var pb=function(){function t(e,n,r,i,o){Xl(this,t),this.slotsPerEpoch=void 0,this.leaderScheduleSlotOffset=void 0,this.warmup=void 0,this.firstNormalEpoch=void 0,this.firstNormalSlot=void 0,this.slotsPerEpoch=e,this.leaderScheduleSlotOffset=n,this.warmup=r,this.firstNormalEpoch=i,this.firstNormalSlot=o}return $l(t,[{key:"getEpoch",value:function(t){return this.getEpochAndSlotIndex(t)[0]}},{key:"getEpochAndSlotIndex",value:function(t){if(t>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,1+(t|=t>>32))}(t+32+1))-fb(32)-1;return[e,t-(this.getSlotsInEpoch(e)-32)]}var n=t-this.firstNormalSlot,r=Math.floor(n/this.slotsPerEpoch);return[this.firstNormalEpoch+r,n%this.slotsPerEpoch]}},{key:"getFirstSlotInEpoch",value:function(t){return t<=this.firstNormalEpoch?32*(Math.pow(2,t)-1):(t-this.firstNormalEpoch)*this.slotsPerEpoch+this.firstNormalSlot}},{key:"getLastSlotInEpoch",value:function(t){return this.getFirstSlotInEpoch(t)+this.getSlotsInEpoch(t)-1}},{key:"getSlotsInEpoch",value:function(t){return t0&&(i.until=a.signatures[a.signatures.length-1].toString()),t.next=22;break;case 15:if(t.prev=15,t.t0=t.catch(8),!(t.t0 instanceof Error&&t.t0.message.includes("skipped"))){t.next=21;break}return t.abrupt("continue",4);case 21:throw t.t0;case 22:t.next=4;break;case 24:return t.next=26,this.getSlot("finalized");case 26:s=t.sent;case 27:if("before"in i){t.next=47;break}if(!(++r>s)){t.next=31;break}return t.abrupt("break",47);case 31:return t.prev=31,t.next=34,this.getConfirmedBlockSignatures(r);case 34:(u=t.sent).signatures.length>0&&(i.before=u.signatures[u.signatures.length-1].toString()),t.next=45;break;case 38:if(t.prev=38,t.t1=t.catch(31),!(t.t1 instanceof Error&&t.t1.message.includes("skipped"))){t.next=44;break}return t.abrupt("continue",27);case 44:throw t.t1;case 45:t.next=27;break;case 47:return t.next=49,this.getConfirmedSignaturesForAddress2(e,i);case 49:return c=t.sent,t.abrupt("return",c.map((function(t){return t.signature})));case 51:case"end":return t.stop()}}),t,this,[[8,15],[31,38]])}))),function(t,e,n){return L.apply(this,arguments)})},{key:"getConfirmedSignaturesForAddress2",value:(k=ql(Zl().mark((function t(e,n,r){var i,o,a;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this._buildArgsAtLeastConfirmed([e.toBase58()],r,void 0,n),t.next=3,this._rpcRequest("getConfirmedSignaturesForAddress2",i);case 3:if(o=t.sent,!("error"in(a=Yp(o,hw)))){t.next=7;break}throw new gb(a.error,"failed to get confirmed signatures for address");case 7:return t.abrupt("return",a.result);case 8:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return k.apply(this,arguments)})},{key:"getSignaturesForAddress",value:(M=ql(Zl().mark((function t(e,n,r){var i,o,a;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this._buildArgsAtLeastConfirmed([e.toBase58()],r,void 0,n),t.next=3,this._rpcRequest("getSignaturesForAddress",i);case 3:if(o=t.sent,!("error"in(a=Yp(o,dw)))){t.next=7;break}throw new gb(a.error,"failed to get signatures for address");case 7:return t.abrupt("return",a.result);case 8:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return M.apply(this,arguments)})},{key:"getAddressLookupTable",value:(w=ql(Zl().mark((function t(e,n){var r,i,o,a;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getAccountInfoAndContext(e,n);case 2:return r=t.sent,i=r.context,o=r.value,a=null,null!==o&&(a=new bb({key:e,state:bb.deserialize(o.data)})),t.abrupt("return",{context:i,value:a});case 8:case"end":return t.stop()}}),t,this)}))),function(t,e){return w.apply(this,arguments)})},{key:"getNonceAndContext",value:(b=ql(Zl().mark((function t(e,n){var r,i,o,a;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getAccountInfoAndContext(e,n);case 2:return r=t.sent,i=r.context,o=r.value,a=null,null!==o&&(a=eb.fromAccountData(o.data)),t.abrupt("return",{context:i,value:a});case 8:case"end":return t.stop()}}),t,this)}))),function(t,e){return b.apply(this,arguments)})},{key:"getNonce",value:(v=ql(Zl().mark((function t(e,n){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNonceAndContext(e,n).then((function(t){return t.value})).catch((function(t){throw new Error("failed to get nonce for account "+e.toBase58()+": "+t)}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)}))),function(t,e){return v.apply(this,arguments)})},{key:"requestAirdrop",value:(y=ql(Zl().mark((function t(e,n){var r,i;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._rpcRequest("requestAirdrop",[e.toBase58(),n]);case 2:if(r=t.sent,!("error"in(i=Yp(r,rM)))){t.next=6;break}throw new gb(i.error,"airdrop to ".concat(e.toBase58()," failed"));case 6:return t.abrupt("return",i.result);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"_blockhashWithExpiryBlockHeight",value:(g=ql(Zl().mark((function t(e){var n,r;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=10;break}case 1:if(!this._pollingBlockhash){t.next=6;break}return t.next=4,Vv(100);case 4:t.next=1;break;case 6:if(n=Date.now()-this._blockhashInfo.lastFetch,r=n>=3e4,null===this._blockhashInfo.latestBlockhash||r){t.next=10;break}return t.abrupt("return",this._blockhashInfo.latestBlockhash);case 10:return t.next=12,this._pollNewBlockhash();case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"_pollNewBlockhash",value:(m=ql(Zl().mark((function t(){var e,n,r,i,o;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this._pollingBlockhash=!0,t.prev=1,e=Date.now(),n=this._blockhashInfo.latestBlockhash,r=n?n.blockhash:null,i=0;case 6:if(!(i<50)){t.next=18;break}return t.next=9,this.getLatestBlockhash("finalized");case 9:if(o=t.sent,r===o.blockhash){t.next=13;break}return this._blockhashInfo={latestBlockhash:o,lastFetch:Date.now(),transactionSignatures:[],simulatedSignatures:[]},t.abrupt("return",o);case 13:return t.next=15,Vv(200);case 15:i++,t.next=6;break;case 18:throw new Error("Unable to obtain a new blockhash after ".concat(Date.now()-e,"ms"));case 19:return t.prev=19,this._pollingBlockhash=!1,t.finish(19);case 22:case"end":return t.stop()}}),t,this,[[1,,19,22]])}))),function(){return m.apply(this,arguments)})},{key:"getStakeMinimumDelegation",value:(p=ql(Zl().mark((function t(e){var n,r,i,o,a,s;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=xb(e),r=n.commitment,i=n.config,o=this._buildArgs([],r,"base64",i),t.next=4,this._rpcRequest("getStakeMinimumDelegation",o);case 4:if(a=t.sent,!("error"in(s=Yp(a,Ib(Kp()))))){t.next=8;break}throw new gb(s.error,"failed to get stake minimum delegation");case 8:return t.abrupt("return",s.result);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"simulateTransaction",value:(f=ql(Zl().mark((function t(e,n,r){var i,o,a,s,u,c,l,h,d,f,p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("message"in e)){t.next=17;break}if(i=e.serialize(),o=al.from(i).toString("base64"),!Array.isArray(n)&&void 0===r){t.next=6;break}throw new Error("Invalid arguments");case 6:return(a=n||{}).encoding="base64","commitment"in a||(a.commitment=this.commitment),s=[o,a],t.next=12,this._rpcRequest("simulateTransaction",s);case 12:if(u=t.sent,!("error"in(c=Yp(u,Yb)))){t.next=16;break}throw new Error("failed to simulate transaction: "+c.error.message);case 16:return t.abrupt("return",c.result);case 17:if(e instanceof Ov?(h=e,(l=new Ov).feePayer=h.feePayer,l.instructions=e.instructions,l.nonceInfo=h.nonceInfo,l.signatures=h.signatures):(l=Ov.populate(e))._message=l._json=void 0,void 0===n||Array.isArray(n)){t.next=20;break}throw new Error("Invalid arguments");case 20:if(d=n,!l.nonceInfo||!d){t.next=25;break}(f=l).sign.apply(f,ph(d)),t.next=45;break;case 25:p=this._disableBlockhashCaching;case 26:return t.next=28,this._blockhashWithExpiryBlockHeight(p);case 28:if(g=t.sent,l.lastValidBlockHeight=g.lastValidBlockHeight,l.recentBlockhash=g.blockhash,d){t.next=33;break}return t.abrupt("break",45);case 33:if((m=l).sign.apply(m,ph(d)),l.signature){t.next=36;break}throw new Error("!signature");case 36:if(y=l.signature.toString("base64"),this._blockhashInfo.simulatedSignatures.includes(y)||this._blockhashInfo.transactionSignatures.includes(y)){t.next=42;break}return this._blockhashInfo.simulatedSignatures.push(y),t.abrupt("break",45);case 42:p=!0;case 43:t.next=26;break;case 45:return v=l._compile(),b=v.serialize(),w=l._serialize(b),M=w.toString("base64"),k={encoding:"base64",commitment:this.commitment},r&&(L=(Array.isArray(r)?r:v.nonProgramIds()).map((function(t){return t.toBase58()})),k.accounts={encoding:"base64",addresses:L}),d&&(k.sigVerify=!0),A=[M,k],t.next=55,this._rpcRequest("simulateTransaction",A);case 55:if(x=t.sent,!("error"in(E=Yp(x,Yb)))){t.next=60;break}throw"data"in E.error&&(N=E.error.data.logs)&&Array.isArray(N)&&(I=(S="\n ")+N.join(S),console.error(E.error.message,I)),new mb("failed to simulate transaction: "+E.error.message,N);case 60:return t.abrupt("return",E.result);case 61:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return f.apply(this,arguments)})},{key:"sendTransaction",value:(d=ql(Zl().mark((function t(e,n,r){var i,o,a,s,u,c;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("version"in e)){t.next=7;break}if(!n||!Array.isArray(n)){t.next=3;break}throw new Error("Invalid arguments");case 3:return i=e.serialize(),t.next=6,this.sendRawTransaction(i,n);case 6:return t.abrupt("return",t.sent);case 7:if(void 0!==n&&Array.isArray(n)){t.next=9;break}throw new Error("Invalid arguments");case 9:if(o=n,!e.nonceInfo){t.next=14;break}e.sign.apply(e,ph(o)),t.next=32;break;case 14:a=this._disableBlockhashCaching;case 15:return t.next=17,this._blockhashWithExpiryBlockHeight(a);case 17:if(s=t.sent,e.lastValidBlockHeight=s.lastValidBlockHeight,e.recentBlockhash=s.blockhash,e.sign.apply(e,ph(o)),e.signature){t.next=23;break}throw new Error("!signature");case 23:if(u=e.signature.toString("base64"),this._blockhashInfo.transactionSignatures.includes(u)){t.next=29;break}return this._blockhashInfo.transactionSignatures.push(u),t.abrupt("break",32);case 29:a=!0;case 30:t.next=15;break;case 32:return c=e.serialize(),t.next=35,this.sendRawTransaction(c,r);case 35:return t.abrupt("return",t.sent);case 36:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return d.apply(this,arguments)})},{key:"sendRawTransaction",value:(h=ql(Zl().mark((function t(e,n){var r,i;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=uv(e).toString("base64"),t.next=3,this.sendEncodedTransaction(r,n);case 3:return i=t.sent,t.abrupt("return",i);case 5:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"sendEncodedTransaction",value:(l=ql(Zl().mark((function t(e,n){var r,i,o,a,s,u,c;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={encoding:"base64"},i=n&&n.skipPreflight,o=n&&n.preflightCommitment||this.commitment,n&&null!=n.maxRetries&&(r.maxRetries=n.maxRetries),n&&null!=n.minContextSlot&&(r.minContextSlot=n.minContextSlot),i&&(r.skipPreflight=i),o&&(r.preflightCommitment=o),a=[e,r],t.next=10,this._rpcRequest("sendTransaction",a);case 10:if(s=t.sent,!("error"in(u=Yp(s,iM)))){t.next=15;break}throw"data"in u.error&&(c=u.error.data.logs),new mb("failed to send transaction: "+u.error.message,c);case 15:return t.abrupt("return",u.result);case 16:case"end":return t.stop()}}),t,this)}))),function(t,e){return l.apply(this,arguments)})},{key:"_wsOnOpen",value:function(){var t=this;this._rpcWebSocketConnected=!0,this._rpcWebSocketHeartbeat=setInterval((function(){ql(Zl().mark((function e(){return Zl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t._rpcWebSocket.notify("ping");case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})))()}),5e3),this._updateSubscriptions()}},{key:"_wsOnError",value:function(t){this._rpcWebSocketConnected=!1,console.error("ws error:",t.message)}},{key:"_wsOnClose",value:function(t){var e=this;this._rpcWebSocketConnected=!1,this._rpcWebSocketGeneration=(this._rpcWebSocketGeneration+1)%Number.MAX_SAFE_INTEGER,this._rpcWebSocketIdleTimeout&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null),this._rpcWebSocketHeartbeat&&(clearInterval(this._rpcWebSocketHeartbeat),this._rpcWebSocketHeartbeat=null),1e3!==t?(this._subscriptionCallbacksByServerSubscriptionId={},Object.entries(this._subscriptionsByHash).forEach((function(t){var n=fh(t,2),r=n[0],i=n[1];e._setSubscription(r,Gl(Gl({},i),{},{state:"pending"}))}))):this._updateSubscriptions()}},{key:"_setSubscription",value:function(t,e){var n,r=null===(n=this._subscriptionsByHash[t])||void 0===n?void 0:n.state;if(this._subscriptionsByHash[t]=e,r!==e.state){var i=this._subscriptionStateChangeCallbacksByHash[t];i&&i.forEach((function(t){try{t(e.state)}catch(t){}}))}}},{key:"_onSubscriptionStateChange",value:function(t,e){var n,r=this,i=this._subscriptionHashByClientSubscriptionId[t];if(null==i)return function(){};var o=(n=this._subscriptionStateChangeCallbacksByHash)[i]||(n[i]=new Set);return o.add(e),function(){o.delete(e),0===o.size&&delete r._subscriptionStateChangeCallbacksByHash[i]}}},{key:"_updateSubscriptions",value:(c=ql(Zl().mark((function t(){var e,n,r=this;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==Object.keys(this._subscriptionsByHash).length){t.next=3;break}return this._rpcWebSocketConnected&&(this._rpcWebSocketConnected=!1,this._rpcWebSocketIdleTimeout=setTimeout((function(){r._rpcWebSocketIdleTimeout=null;try{r._rpcWebSocket.close()}catch(t){t instanceof Error&&console.log("Error when closing socket connection: ".concat(t.message))}}),500)),t.abrupt("return");case 3:if(null!==this._rpcWebSocketIdleTimeout&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null,this._rpcWebSocketConnected=!0),this._rpcWebSocketConnected){t.next=7;break}return this._rpcWebSocket.connect(),t.abrupt("return");case 7:return e=this._rpcWebSocketGeneration,n=function(){return e===r._rpcWebSocketGeneration},t.next=11,Promise.all(Object.keys(this._subscriptionsByHash).map(function(){var t=ql(Zl().mark((function t(e){var i;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==(i=r._subscriptionsByHash[e])){t.next=3;break}return t.abrupt("return");case 3:t.t0=i.state,t.next="pending"===t.t0||"unsubscribed"===t.t0?6:"subscribed"===t.t0?15:19;break;case 6:if(0!==i.callbacks.size){t.next=12;break}return delete r._subscriptionsByHash[e],"unsubscribed"===i.state&&delete r._subscriptionCallbacksByServerSubscriptionId[i.serverSubscriptionId],t.next=11,r._updateSubscriptions();case 11:return t.abrupt("return");case 12:return t.next=14,ql(Zl().mark((function t(){var o,a,s;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=i.args,a=i.method,t.prev=1,r._setSubscription(e,Gl(Gl({},i),{},{state:"subscribing"})),t.next=5,r._rpcWebSocket.call(a,o);case 5:return s=t.sent,r._setSubscription(e,Gl(Gl({},i),{},{serverSubscriptionId:s,state:"subscribed"})),r._subscriptionCallbacksByServerSubscriptionId[s]=i.callbacks,t.next=10,r._updateSubscriptions();case 10:t.next=20;break;case 12:if(t.prev=12,t.t0=t.catch(1),t.t0 instanceof Error&&console.error("".concat(a," error for argument"),o,t.t0.message),n()){t.next=17;break}return t.abrupt("return");case 17:return r._setSubscription(e,Gl(Gl({},i),{},{state:"pending"})),t.next=20,r._updateSubscriptions();case 20:case"end":return t.stop()}}),t,null,[[1,12]])})))();case 14:return t.abrupt("break",19);case 15:if(0!==i.callbacks.size){t.next=18;break}return t.next=18,ql(Zl().mark((function t(){var o,a;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=i.serverSubscriptionId,a=i.unsubscribeMethod,!r._subscriptionsAutoDisposedByRpc.has(o)){t.next=5;break}r._subscriptionsAutoDisposedByRpc.delete(o),t.next=21;break;case 5:return r._setSubscription(e,Gl(Gl({},i),{},{state:"unsubscribing"})),r._setSubscription(e,Gl(Gl({},i),{},{state:"unsubscribing"})),t.prev=7,t.next=10,r._rpcWebSocket.call(a,[o]);case 10:t.next=21;break;case 12:if(t.prev=12,t.t0=t.catch(7),t.t0 instanceof Error&&console.error("".concat(a," error:"),t.t0.message),n()){t.next=17;break}return t.abrupt("return");case 17:return r._setSubscription(e,Gl(Gl({},i),{},{state:"subscribed"})),t.next=20,r._updateSubscriptions();case 20:return t.abrupt("return");case 21:return r._setSubscription(e,Gl(Gl({},i),{},{state:"unsubscribed"})),t.next=24,r._updateSubscriptions();case 24:case"end":return t.stop()}}),t,null,[[7,12]])})))();case 18:return t.abrupt("break",19);case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"_handleServerNotification",value:function(t,e){var n=this._subscriptionCallbacksByServerSubscriptionId[t];void 0!==n&&n.forEach((function(t){try{t.apply(void 0,ph(e))}catch(t){console.error(t)}}))}},{key:"_wsOnAccountNotification",value:function(t){var e=Yp(t,fw),n=e.result,r=e.subscription;this._handleServerNotification(r,[n.value,n.context])}},{key:"_makeSubscription",value:function(t,e){var n=this,r=this._nextClientSubscriptionId++,i=db([t.method,e]),o=this._subscriptionsByHash[i];return void 0===o?this._subscriptionsByHash[i]=Gl(Gl({},t),{},{args:e,callbacks:new Set([t.callback]),state:"pending"}):o.callbacks.add(t.callback),this._subscriptionHashByClientSubscriptionId[r]=i,this._subscriptionDisposeFunctionsByClientSubscriptionId[r]=ql(Zl().mark((function e(){var o;return Zl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete n._subscriptionDisposeFunctionsByClientSubscriptionId[r],delete n._subscriptionHashByClientSubscriptionId[r],Ev(void 0!==(o=n._subscriptionsByHash[i]),"Could not find a `Subscription` when tearing down client subscription #".concat(r)),o.callbacks.delete(t.callback),e.next=7,n._updateSubscriptions();case 7:case"end":return e.stop()}}),e)}))),this._updateSubscriptions(),r}},{key:"onAccountChange",value:function(t,e,n){var r=this._buildArgs([t.toBase58()],n||this._commitment||"finalized","base64");return this._makeSubscription({callback:e,method:"accountSubscribe",unsubscribeMethod:"accountUnsubscribe"},r)}},{key:"removeAccountChangeListener",value:(u=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"account change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"_wsOnProgramAccountNotification",value:function(t){var e=Yp(t,mw),n=e.result,r=e.subscription;this._handleServerNotification(r,[{accountId:n.value.pubkey,accountInfo:n.value.account},n.context])}},{key:"onProgramAccountChange",value:function(t,e,n,r){var i=this._buildArgs([t.toBase58()],n||this._commitment||"finalized","base64",r?{filters:r}:void 0);return this._makeSubscription({callback:e,method:"programSubscribe",unsubscribeMethod:"programUnsubscribe"},i)}},{key:"removeProgramAccountChangeListener",value:(s=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"program account change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"onLogs",value:function(t,e,n){var r=this._buildArgs(["object"===Vl(t)?{mentions:[t.toString()]}:t],n||this._commitment||"finalized");return this._makeSubscription({callback:e,method:"logsSubscribe",unsubscribeMethod:"logsUnsubscribe"},r)}},{key:"removeOnLogsListener",value:(a=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"logs");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"_wsOnLogsNotification",value:function(t){var e=Yp(t,aM),n=e.result,r=e.subscription;this._handleServerNotification(r,[n.value,n.context])}},{key:"_wsOnSlotNotification",value:function(t){var e=Yp(t,yw),n=e.result,r=e.subscription;this._handleServerNotification(r,[n])}},{key:"onSlotChange",value:function(t){return this._makeSubscription({callback:t,method:"slotSubscribe",unsubscribeMethod:"slotUnsubscribe"},[])}},{key:"removeSlotChangeListener",value:(o=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"slot change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})},{key:"_wsOnSlotUpdatesNotification",value:function(t){var e=Yp(t,bw),n=e.result,r=e.subscription;this._handleServerNotification(r,[n])}},{key:"onSlotUpdate",value:function(t){return this._makeSubscription({callback:t,method:"slotsUpdatesSubscribe",unsubscribeMethod:"slotsUpdatesUnsubscribe"},[])}},{key:"removeSlotUpdateListener",value:(i=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"slot update");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"_unsubscribeClientSubscription",value:(r=ql(Zl().mark((function t(e,n){var r;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=this._subscriptionDisposeFunctionsByClientSubscriptionId[e])){t.next=6;break}return t.next=4,r();case 4:t.next=7;break;case 6:console.warn("Ignored unsubscribe request because an active subscription with id "+"`".concat(e,"` for '").concat(n,"' events ")+"could not be found.");case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"_buildArgs",value:function(t,e,n,r){var i=e||this._commitment;if(i||n||r){var o={};n&&(o.encoding=n),i&&(o.commitment=i),r&&(o=Object.assign(o,r)),t.push(o)}return t}},{key:"_buildArgsAtLeastConfirmed",value:function(t,e,n,r){var i=e||this._commitment;if(i&&!["confirmed","finalized"].includes(i))throw new Error("Using Connection with default commitment: `"+this._commitment+"`, but method requires at least `confirmed`");return this._buildArgs(t,e,n,r)}},{key:"_wsOnSignatureNotification",value:function(t){var e=Yp(t,ww),n=e.result,r=e.subscription;"receivedSignature"!==n.value&&this._subscriptionsAutoDisposedByRpc.add(r),this._handleServerNotification(r,"receivedSignature"===n.value?[{type:"received"},n.context]:[{type:"status",result:n.value},n.context])}},{key:"onSignature",value:function(t,e,n){var r=this,i=this._buildArgs([t],n||this._commitment||"finalized"),o=this._makeSubscription({callback:function(t,n){if("status"===t.type){e(t.result,n);try{r.removeSignatureListener(o)}catch(t){}}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},i);return o}},{key:"onSignatureWithOptions",value:function(t,e,n){var r=this,i=Gl(Gl({},n),{},{commitment:n&&n.commitment||this._commitment||"finalized"}),o=i.commitment,a=sh(i,ev),s=this._buildArgs([t],o,void 0,a),u=this._makeSubscription({callback:function(t,n){e(t,n);try{r.removeSignatureListener(u)}catch(t){}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},s);return u}},{key:"removeSignatureListener",value:(n=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"signature result");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"_wsOnRootNotification",value:function(t){var e=Yp(t,Mw),n=e.result,r=e.subscription;this._handleServerNotification(r,[n])}},{key:"onRootChange",value:function(t){return this._makeSubscription({callback:t,method:"rootSubscribe",unsubscribeMethod:"rootUnsubscribe"},[])}},{key:"removeRootChangeListener",value:(e=ql(Zl().mark((function t(e){return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"root change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),cM=function(){function t(e){Xl(this,t),this._keypair=void 0,this._keypair=null!=e?e:rv()}return $l(t,[{key:"publicKey",get:function(){return new fv(this._keypair.publicKey)}},{key:"secretKey",get:function(){return new Uint8Array(this._keypair.secretKey)}}],[{key:"generate",value:function(){return new t(rv())}},{key:"fromSecretKey",value:function(e,n){if(64!==e.byteLength)throw new Error("bad secret key size");var r=e.slice(32,64);if(!n||!n.skipValidation)for(var i=e.slice(0,32),o=iv(i),a=0;a<32;a++)if(r[a]!==o[a])throw new Error("provided secretKey is invalid");return new t({publicKey:r,secretKey:e})}},{key:"fromSeed",value:function(e){var n=iv(e),r=new Uint8Array(64);return r.set(e),r.set(n,32),new t({publicKey:n,secretKey:r})}}]),t}(),lM=Object.freeze({CreateLookupTable:{index:0,layout:Ap([Mp("instruction"),nb("recentSlot"),bp("bumpSeed")])},FreezeLookupTable:{index:1,layout:Ap([Mp("instruction")])},ExtendLookupTable:{index:2,layout:Ap([Mp("instruction"),nb(),xp(wv(),vp(Mp(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:Ap([Mp("instruction")])},CloseLookupTable:{index:4,layout:Ap([Mp("instruction")])}}),hM=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Mp("instruction").decode(t.data),r=0,i=Object.entries(lM);r2?t.keys[2].pubkey:void 0,addresses:e.map((function(t){return new fv(t)}))}}},{key:"decodeCloseLookupTable",value:function(t){return this.checkProgramId(t.programId),this.checkKeysLength(t.keys,3),{lookupTable:t.keys[0].pubkey,authority:t.keys[1].pubkey,recipient:t.keys[2].pubkey}}},{key:"decodeFreezeLookupTable",value:function(t){return this.checkProgramId(t.programId),this.checkKeysLength(t.keys,2),{lookupTable:t.keys[0].pubkey,authority:t.keys[1].pubkey}}},{key:"decodeDeactivateLookupTable",value:function(t){return this.checkProgramId(t.programId),this.checkKeysLength(t.keys,2),{lookupTable:t.keys[0].pubkey,authority:t.keys[1].pubkey}}},{key:"checkProgramId",value:function(t){if(!t.equals(dM.programId))throw new Error("invalid instruction; programId is not AddressLookupTable Program")}},{key:"checkKeysLength",value:function(t,e){if(t.length1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{},i=Hy(t,e,r.extraEntropy),o=i.seed,a=i.m,s=i.d,u=new Py(32,32);for(u.reseedSync(o);!(n=Uy(u.generateSync(),a,s,r.canonical));)u.reseedSync();return Gy(n,r)}(t,e,{der:!1,recovered:!0})};Xy.isValidPrivateKey;var bM=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return py.fromPrivateKey(t).toRawBytes(e)},wM=Ap([bp("numSignatures"),wp("signatureOffset"),bp("signatureInstructionIndex"),wp("ethAddressOffset"),bp("ethAddressInstructionIndex"),wp("messageDataOffset"),wp("messageDataSize"),bp("messageInstructionIndex"),Ep(20,"ethAddress"),Ep(64,"signature"),bp("recoveryId")]),MM=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"publicKeyToEthAddress",value:function(t){Ev(64===t.length,"Public key must be ".concat(64," bytes but received ").concat(t.length," bytes"));try{return al.from(Vg(uv(t))).slice(-20)}catch(t){throw new Error("Error constructing Ethereum address: ".concat(t))}}},{key:"createInstructionWithPublicKey",value:function(e){var n=e.publicKey,r=e.message,i=e.signature,o=e.recoveryId,a=e.instructionIndex;return t.createInstructionWithEthAddress({ethAddress:t.publicKeyToEthAddress(n),message:r,signature:i,recoveryId:o,instructionIndex:a})}},{key:"createInstructionWithEthAddress",value:function(e){var n,r=e.ethAddress,i=e.message,o=e.signature,a=e.recoveryId,s=e.instructionIndex,u=void 0===s?0:s;Ev(20===(n="string"==typeof r?r.startsWith("0x")?al.from(r.substr(2),"hex"):al.from(r,"hex"):r).length,"Address must be ".concat(20," bytes but received ").concat(n.length," bytes"));var c=12+n.length,l=c+o.length+1,h=al.alloc(wM.span+i.length);return wM.encode({numSignatures:1,signatureOffset:c,signatureInstructionIndex:u,ethAddressOffset:12,ethAddressInstructionIndex:u,messageDataOffset:l,messageDataSize:i.length,messageInstructionIndex:u,signature:uv(o),ethAddress:uv(n),recoveryId:a},h),h.fill(uv(i),wM.span),new Dv({keys:[],programId:t.programId,data:h})}},{key:"createInstructionWithPrivateKey",value:function(t){var e=t.privateKey,n=t.message,r=t.instructionIndex;Ev(32===e.length,"Private key must be ".concat(32," bytes but received ").concat(e.length," bytes"));try{var i=uv(e),o=bM(i,!1).slice(1),a=al.from(Vg(uv(n))),s=fh(vM(a,i),2),u=s[0],c=s[1];return this.createInstructionWithPublicKey({publicKey:o,message:n,signature:u,recoveryId:c,instructionIndex:r})}catch(t){throw new Error("Error creating instruction; ".concat(t))}}}]),t}();MM.programId=new fv("KeccakSecp256k11111111111111111111111111111");var kM=new fv("StakeConfig11111111111111111111111111111111"),LM=$l((function t(e,n){Xl(this,t),this.staker=void 0,this.withdrawer=void 0,this.staker=e,this.withdrawer=n})),AM=$l((function t(e,n,r){Xl(this,t),this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=e,this.epoch=n,this.custodian=r}));AM.default=new AM(0,0,fv.default);var xM=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Mp("instruction").decode(t.data),r=0,i=Object.entries(EM);r3&&(i.custodianPubkey=t.keys[3].pubkey),i}},{key:"decodeAuthorizeWithSeed",value:function(t){this.checkProgramId(t.programId),this.checkKeyLength(t.keys,2);var e=qv(EM.AuthorizeWithSeed,t.data),n=e.newAuthorized,r=e.stakeAuthorizationType,i=e.authoritySeed,o=e.authorityOwner,a={stakePubkey:t.keys[0].pubkey,authorityBase:t.keys[1].pubkey,authoritySeed:i,authorityOwner:new fv(o),newAuthorizedPubkey:new fv(n),stakeAuthorizationType:{index:r}};return t.keys.length>3&&(a.custodianPubkey=t.keys[3].pubkey),a}},{key:"decodeSplit",value:function(t){this.checkProgramId(t.programId),this.checkKeyLength(t.keys,3);var e=qv(EM.Split,t.data).lamports;return{stakePubkey:t.keys[0].pubkey,splitStakePubkey:t.keys[1].pubkey,authorizedPubkey:t.keys[2].pubkey,lamports:e}}},{key:"decodeMerge",value:function(t){return this.checkProgramId(t.programId),this.checkKeyLength(t.keys,3),qv(EM.Merge,t.data),{stakePubkey:t.keys[0].pubkey,sourceStakePubKey:t.keys[1].pubkey,authorizedPubkey:t.keys[4].pubkey}}},{key:"decodeWithdraw",value:function(t){this.checkProgramId(t.programId),this.checkKeyLength(t.keys,5);var e=qv(EM.Withdraw,t.data).lamports,n={stakePubkey:t.keys[0].pubkey,toPubkey:t.keys[1].pubkey,authorizedPubkey:t.keys[4].pubkey,lamports:e};return t.keys.length>5&&(n.custodianPubkey=t.keys[5].pubkey),n}},{key:"decodeDeactivate",value:function(t){return this.checkProgramId(t.programId),this.checkKeyLength(t.keys,3),qv(EM.Deactivate,t.data),{stakePubkey:t.keys[0].pubkey,authorizedPubkey:t.keys[2].pubkey}}},{key:"checkProgramId",value:function(t){if(!t.equals(SM.programId))throw new Error("invalid instruction; programId is not StakeProgram")}},{key:"checkKeyLength",value:function(t,e){if(t.length0&&void 0!==arguments[0]?arguments[0]:"authorized";return Ap([wv("staker"),wv("withdrawer")],t)}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lockup";return Ap([Lp("unixTimestamp"),Lp("epoch"),wv("custodian")],t)}()])},Authorize:{index:1,layout:Ap([Mp("instruction"),wv("newAuthorized"),Mp("stakeAuthorizationType")])},Delegate:{index:2,layout:Ap([Mp("instruction")])},Split:{index:3,layout:Ap([Mp("instruction"),Lp("lamports")])},Withdraw:{index:4,layout:Ap([Mp("instruction"),Lp("lamports")])},Deactivate:{index:5,layout:Ap([Mp("instruction")])},Merge:{index:7,layout:Ap([Mp("instruction")])},AuthorizeWithSeed:{index:8,layout:Ap([Mp("instruction"),wv("newAuthorized"),Mp("stakeAuthorizationType"),kv("authoritySeed"),wv("authorityOwner")])}}),NM=Object.freeze({Staker:{index:0},Withdrawer:{index:1}}),SM=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"initialize",value:function(t){var e=t.stakePubkey,n=t.authorized,r=t.lockup||AM.default,i=Jv(EM.Initialize,{authorized:{staker:uv(n.staker.toBuffer()),withdrawer:uv(n.withdrawer.toBuffer())},lockup:{unixTimestamp:r.unixTimestamp,epoch:r.epoch,custodian:uv(r.custodian.toBuffer())}}),o={keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:Qv,isSigner:!1,isWritable:!1}],programId:this.programId,data:i};return new Dv(o)}},{key:"createAccountWithSeed",value:function(t){var e=new Ov;e.add(ob.createAccountWithSeed({fromPubkey:t.fromPubkey,newAccountPubkey:t.stakePubkey,basePubkey:t.basePubkey,seed:t.seed,lamports:t.lamports,space:this.space,programId:this.programId}));var n=t.stakePubkey,r=t.authorized,i=t.lockup;return e.add(this.initialize({stakePubkey:n,authorized:r,lockup:i}))}},{key:"createAccount",value:function(t){var e=new Ov;e.add(ob.createAccount({fromPubkey:t.fromPubkey,newAccountPubkey:t.stakePubkey,lamports:t.lamports,space:this.space,programId:this.programId}));var n=t.stakePubkey,r=t.authorized,i=t.lockup;return e.add(this.initialize({stakePubkey:n,authorized:r,lockup:i}))}},{key:"delegate",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.votePubkey,i=Jv(EM.Delegate);return(new Ov).add({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!1},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:Hv,isSigner:!1,isWritable:!1},{pubkey:kM,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:i})}},{key:"authorize",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.newAuthorizedPubkey,i=t.stakeAuthorizationType,o=t.custodianPubkey,a=Jv(EM.Authorize,{newAuthorized:uv(r.toBuffer()),stakeAuthorizationType:i.index}),s=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:Pv,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1}];return o&&s.push({pubkey:o,isSigner:!1,isWritable:!1}),(new Ov).add({keys:s,programId:this.programId,data:a})}},{key:"authorizeWithSeed",value:function(t){var e=t.stakePubkey,n=t.authorityBase,r=t.authoritySeed,i=t.authorityOwner,o=t.newAuthorizedPubkey,a=t.stakeAuthorizationType,s=t.custodianPubkey,u=Jv(EM.AuthorizeWithSeed,{newAuthorized:uv(o.toBuffer()),stakeAuthorizationType:a.index,authoritySeed:r,authorityOwner:uv(i.toBuffer())}),c=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1},{pubkey:Pv,isSigner:!1,isWritable:!1}];return s&&c.push({pubkey:s,isSigner:!1,isWritable:!1}),(new Ov).add({keys:c,programId:this.programId,data:u})}},{key:"splitInstruction",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.splitStakePubkey,i=t.lamports,o=Jv(EM.Split,{lamports:i});return new Dv({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:o})}},{key:"split",value:function(t){var e=new Ov;return e.add(ob.createAccount({fromPubkey:t.authorizedPubkey,newAccountPubkey:t.splitStakePubkey,lamports:0,space:this.space,programId:this.programId})),e.add(this.splitInstruction(t))}},{key:"splitWithSeed",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.splitStakePubkey,i=t.basePubkey,o=t.seed,a=t.lamports,s=new Ov;return s.add(ob.allocate({accountPubkey:r,basePubkey:i,seed:o,space:this.space,programId:this.programId})),s.add(this.splitInstruction({stakePubkey:e,authorizedPubkey:n,splitStakePubkey:r,lamports:a}))}},{key:"merge",value:function(t){var e=t.stakePubkey,n=t.sourceStakePubKey,r=t.authorizedPubkey,i=Jv(EM.Merge);return(new Ov).add({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!1,isWritable:!0},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:Hv,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}],programId:this.programId,data:i})}},{key:"withdraw",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.toPubkey,i=t.lamports,o=t.custodianPubkey,a=Jv(EM.Withdraw,{lamports:i}),s=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!0},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:Hv,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}];return o&&s.push({pubkey:o,isSigner:!1,isWritable:!1}),(new Ov).add({keys:s,programId:this.programId,data:a})}},{key:"deactivate",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=Jv(EM.Deactivate);return(new Ov).add({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:r})}}]),t}();SM.programId=new fv("Stake11111111111111111111111111111111111111"),SM.space=200;var IM=$l((function t(e,n,r,i){Xl(this,t),this.nodePubkey=void 0,this.authorizedVoter=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.nodePubkey=e,this.authorizedVoter=n,this.authorizedWithdrawer=r,this.commission=i})),TM=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Mp("instruction").decode(t.data),r=0,i=Object.entries(jM);r0&&void 0!==arguments[0]?arguments[0]:"voteInit";return Ap([wv("nodePubkey"),wv("authorizedVoter"),wv("authorizedWithdrawer"),bp("commission")],t)}()])},Authorize:{index:1,layout:Ap([Mp("instruction"),wv("newAuthorized"),Mp("voteAuthorizationType")])},Withdraw:{index:3,layout:Ap([Mp("instruction"),Lp("lamports")])},AuthorizeWithSeed:{index:10,layout:Ap([Mp("instruction"),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"voteAuthorizeWithSeedArgs";return Ap([Mp("voteAuthorizationType"),wv("currentAuthorityDerivedKeyOwnerPubkey"),kv("currentAuthorityDerivedKeySeed"),wv("newAuthorized")],t)}()])}}),CM=Object.freeze({Voter:{index:0},Withdrawer:{index:1}}),DM=function(){function t(){Xl(this,t)}return $l(t,null,[{key:"initializeAccount",value:function(t){var e=t.votePubkey,n=t.nodePubkey,r=t.voteInit,i=Jv(jM.InitializeAccount,{voteInit:{nodePubkey:uv(r.nodePubkey.toBuffer()),authorizedVoter:uv(r.authorizedVoter.toBuffer()),authorizedWithdrawer:uv(r.authorizedWithdrawer.toBuffer()),commission:r.commission}}),o={keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:Qv,isSigner:!1,isWritable:!1},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:i};return new Dv(o)}},{key:"createAccount",value:function(t){var e=new Ov;return e.add(ob.createAccount({fromPubkey:t.fromPubkey,newAccountPubkey:t.votePubkey,lamports:t.lamports,space:this.space,programId:this.programId})),e.add(this.initializeAccount({votePubkey:t.votePubkey,nodePubkey:t.voteInit.nodePubkey,voteInit:t.voteInit}))}},{key:"authorize",value:function(t){var e=t.votePubkey,n=t.authorizedPubkey,r=t.newAuthorizedPubkey,i=t.voteAuthorizationType,o=Jv(jM.Authorize,{newAuthorized:uv(r.toBuffer()),voteAuthorizationType:i.index}),a=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}];return(new Ov).add({keys:a,programId:this.programId,data:o})}},{key:"authorizeWithSeed",value:function(t){var e=t.currentAuthorityDerivedKeyBasePubkey,n=t.currentAuthorityDerivedKeyOwnerPubkey,r=t.currentAuthorityDerivedKeySeed,i=t.newAuthorizedPubkey,o=t.voteAuthorizationType,a=t.votePubkey,s=Jv(jM.AuthorizeWithSeed,{voteAuthorizeWithSeedArgs:{currentAuthorityDerivedKeyOwnerPubkey:uv(n.toBuffer()),currentAuthorityDerivedKeySeed:r,newAuthorized:uv(i.toBuffer()),voteAuthorizationType:o.index}}),u=[{pubkey:a,isSigner:!1,isWritable:!0},{pubkey:Pv,isSigner:!1,isWritable:!1},{pubkey:e,isSigner:!0,isWritable:!1}];return(new Ov).add({keys:u,programId:this.programId,data:s})}},{key:"withdraw",value:function(t){var e=t.votePubkey,n=t.authorizedWithdrawerPubkey,r=t.lamports,i=t.toPubkey,o=Jv(jM.Withdraw,{lamports:r}),a=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:i,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1}];return(new Ov).add({keys:a,programId:this.programId,data:o})}},{key:"safeWithdraw",value:function(e,n,r){if(e.lamports>n-r)throw new Error("Withdraw will leave vote account with insuffcient funds.");return t.withdraw(e)}}]),t}();DM.programId=new fv("Vote111111111111111111111111111111111111111"),DM.space=3731;var OM=new fv("Va1idator1nfo111111111111111111111111111111"),_M=rm({name:em(),website:$p(em()),details:$p(em()),keybaseUsername:$p(em())}),zM=function(){function t(e,n){Xl(this,t),this.key=void 0,this.info=void 0,this.key=e,this.info=n}return $l(t,null,[{key:"fromConfigData",value:function(e){var n=ph(e);if(2!==Av(n))return null;for(var r=[],i=0;i<2;i++){var o=new fv(n.slice(0,32)),a=1===(n=n.slice(32)).slice(0,1)[0];n=n.slice(1),r.push({publicKey:o,isSigner:a})}if(r[0].publicKey.equals(OM)&&r[1].isSigner){var s=kv().decode(al.from(n)),u=JSON.parse(s);return Wp(u,_M),new t(r[1].publicKey,u)}return null}}]),t}(),PM=new fv("Vote111111111111111111111111111111111111111"),BM=Ap([wv("nodePubkey"),wv("authorizedWithdrawer"),bp("commission"),kp(),xp(Ap([kp("slot"),Mp("confirmationCount")]),vp(Mp(),-8),"votes"),bp("rootSlotValid"),kp("rootSlot"),kp(),xp(Ap([kp("epoch"),wv("authorizedVoter")]),vp(Mp(),-8),"authorizedVoters"),Ap([xp(Ap([wv("authorizedPubkey"),kp("epochOfLastAuthorizedSwitch"),kp("targetEpoch")]),32,"buf"),kp("idx"),bp("isEmpty")],"priorVoters"),kp(),xp(Ap([kp("epoch"),kp("credits"),kp("prevCredits")]),vp(Mp(),-8),"epochCredits"),Ap([kp("slot"),kp("timestamp")],"lastTimestamp")]),RM=function(){function t(e){Xl(this,t),this.nodePubkey=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.rootSlot=void 0,this.votes=void 0,this.authorizedVoters=void 0,this.priorVoters=void 0,this.epochCredits=void 0,this.lastTimestamp=void 0,this.nodePubkey=e.nodePubkey,this.authorizedWithdrawer=e.authorizedWithdrawer,this.commission=e.commission,this.rootSlot=e.rootSlot,this.votes=e.votes,this.authorizedVoters=e.authorizedVoters,this.priorVoters=e.priorVoters,this.epochCredits=e.epochCredits,this.lastTimestamp=e.lastTimestamp}return $l(t,null,[{key:"fromAccountData",value:function(e){var n=BM.decode(uv(e),4),r=n.rootSlot;return n.rootSlotValid||(r=null),new t({nodePubkey:new fv(n.nodePubkey),authorizedWithdrawer:new fv(n.authorizedWithdrawer),commission:n.commission,votes:n.votes,rootSlot:r,authorizedVoters:n.authorizedVoters.map(UM),priorVoters:WM(n.priorVoters),epochCredits:n.epochCredits,lastTimestamp:n.lastTimestamp})}}]),t}();function UM(t){var e=t.authorizedVoter;return{epoch:t.epoch,authorizedVoter:new fv(e)}}function QM(t){var e=t.authorizedPubkey,n=t.epochOfLastAuthorizedSwitch,r=t.targetEpoch;return{authorizedPubkey:new fv(e),epochOfLastAuthorizedSwitch:n,targetEpoch:r}}function WM(t){var e=t.buf,n=t.idx;return t.isEmpty?[]:[].concat(ph(e.slice(n+1).map(QM)),ph(e.slice(0,n).map(QM)))}var YM={http:{devnet:"http://api.devnet.solana.com",testnet:"http://api.testnet.solana.com","mainnet-beta":"http://api.mainnet-beta.solana.com/"},https:{devnet:"https://api.devnet.solana.com",testnet:"https://api.testnet.solana.com","mainnet-beta":"https://api.mainnet-beta.solana.com/"}};function FM(){return(FM=ql(Zl().mark((function t(e,n,r,i){var o,a,s,u,c,l,h;return Zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r&&Object.prototype.hasOwnProperty.call(r,"lastValidBlockHeight")||r&&Object.prototype.hasOwnProperty.call(r,"nonceValue")?(o=r,a=i):a=r,s=a&&{skipPreflight:a.skipPreflight,preflightCommitment:a.preflightCommitment||a.commitment,minContextSlot:a.minContextSlot},t.next=4,e.sendRawTransaction(n,s);case 4:return u=t.sent,c=a&&a.commitment,l=o?e.confirmTransaction(o,c):e.confirmTransaction(u,c),t.next=9,l;case 9:if(!(h=t.sent.value).err){t.next=12;break}throw new Error("Raw transaction ".concat(u," failed (").concat(JSON.stringify(h),")"));case 12:return t.abrupt("return",u);case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var HM=Object.freeze({__proto__:null,Account:pv,AddressLookupTableAccount:bb,AddressLookupTableInstruction:hM,AddressLookupTableProgram:dM,Authorized:LM,BLOCKHASH_CACHE_TIMEOUT_MS:3e4,BPF_LOADER_DEPRECATED_PROGRAM_ID:mv,BPF_LOADER_PROGRAM_ID:sb,BpfLoader:ub,COMPUTE_BUDGET_INSTRUCTION_LAYOUTS:pM,ComputeBudgetInstruction:fM,ComputeBudgetProgram:mM,Connection:uM,Ed25519Program:yM,Enum:lv,EpochSchedule:pb,FeeCalculatorLayout:Kv,Keypair:cM,LAMPORTS_PER_SOL:1e9,LOOKUP_TABLE_INSTRUCTION_LAYOUTS:lM,Loader:ab,Lockup:AM,MAX_SEED_LENGTH:32,Message:Iv,MessageAccountKeys:bv,MessageV0:Tv,NONCE_ACCOUNT_LENGTH:tb,NonceAccount:eb,PACKET_DATA_SIZE:1232,PUBLIC_KEY_LENGTH:32,PublicKey:fv,SIGNATURE_LENGTH_IN_BYTES:64,SOLANA_SCHEMA:hv,STAKE_CONFIG_ID:kM,STAKE_INSTRUCTION_LAYOUTS:EM,SYSTEM_INSTRUCTION_LAYOUTS:ib,SYSVAR_CLOCK_PUBKEY:Pv,SYSVAR_EPOCH_SCHEDULE_PUBKEY:Bv,SYSVAR_INSTRUCTIONS_PUBKEY:Rv,SYSVAR_RECENT_BLOCKHASHES_PUBKEY:Uv,SYSVAR_RENT_PUBKEY:Qv,SYSVAR_REWARDS_PUBKEY:Wv,SYSVAR_SLOT_HASHES_PUBKEY:Yv,SYSVAR_SLOT_HISTORY_PUBKEY:Fv,SYSVAR_STAKE_HISTORY_PUBKEY:Hv,Secp256k1Program:MM,SendTransactionError:mb,SolanaJSONRPCError:gb,SolanaJSONRPCErrorCode:{JSON_RPC_SERVER_ERROR_BLOCK_CLEANED_UP:-32001,JSON_RPC_SERVER_ERROR_SEND_TRANSACTION_PREFLIGHT_FAILURE:-32002,JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_VERIFICATION_FAILURE:-32003,JSON_RPC_SERVER_ERROR_BLOCK_NOT_AVAILABLE:-32004,JSON_RPC_SERVER_ERROR_NODE_UNHEALTHY:-32005,JSON_RPC_SERVER_ERROR_TRANSACTION_PRECOMPILE_VERIFICATION_FAILURE:-32006,JSON_RPC_SERVER_ERROR_SLOT_SKIPPED:-32007,JSON_RPC_SERVER_ERROR_NO_SNAPSHOT:-32008,JSON_RPC_SERVER_ERROR_LONG_TERM_STORAGE_SLOT_SKIPPED:-32009,JSON_RPC_SERVER_ERROR_KEY_EXCLUDED_FROM_SECONDARY_INDEX:-32010,JSON_RPC_SERVER_ERROR_TRANSACTION_HISTORY_NOT_AVAILABLE:-32011,JSON_RPC_SCAN_ERROR:-32012,JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_LEN_MISMATCH:-32013,JSON_RPC_SERVER_ERROR_BLOCK_STATUS_NOT_AVAILABLE_YET:-32014,JSON_RPC_SERVER_ERROR_UNSUPPORTED_TRANSACTION_VERSION:-32015,JSON_RPC_SERVER_ERROR_MIN_CONTEXT_SLOT_NOT_REACHED:-32016},StakeAuthorizationLayout:NM,StakeInstruction:xM,StakeProgram:SM,Struct:cv,SystemInstruction:rb,SystemProgram:ob,Transaction:Ov,TransactionExpiredBlockheightExceededError:gv,TransactionExpiredNonceInvalidError:vv,TransactionExpiredTimeoutError:yv,TransactionInstruction:Dv,TransactionMessage:_v,get TransactionStatus(){return Nv},VALIDATOR_INFO_KEY:OM,VERSION_PREFIX_MASK:127,VOTE_PROGRAM_ID:PM,ValidatorInfo:zM,VersionedMessage:jv,VersionedTransaction:zv,VoteAccount:RM,VoteAuthorizationLayout:CM,VoteInit:IM,VoteInstruction:TM,VoteProgram:DM,clusterApiUrl:function(t,e){var n=!1===e?"http":"https";if(!t)return YM[n].devnet;var r=YM[n][t];if(!r)throw new Error("Unknown ".concat(n," cluster: ").concat(t));return r},sendAndConfirmRawTransaction:function(t,e,n,r){return FM.apply(this,arguments)},sendAndConfirmTransaction:Gv}),GM={},ZM=function(){function t(e,n){if(Xl(this,t),!Number.isInteger(e))throw new TypeError("span must be an integer");this.span=e,this.property=n}return $l(t,[{key:"makeDestinationObject",value:function(){return{}}},{key:"decode",value:function(t,e){throw new Error("Layout is abstract")}},{key:"encode",value:function(t,e,n){throw new Error("Layout is abstract")}},{key:"getSpan",value:function(t,e){if(0>this.span)throw new RangeError("indeterminate span");return this.span}},{key:"replicate",value:function(t){var e=Object.create(this.constructor.prototype);return Object.assign(e,this),e.property=t,e}},{key:"fromArray",value:function(t){}}]),t}();function VM(t,e){return e.property?t+"["+e.property+"]":t}GM.Layout=ZM,GM.nameWithProperty=VM,GM.bindConstructorLayout=function(t,e){if("function"!=typeof t)throw new TypeError("Class must be constructor");if(t.hasOwnProperty("layout_"))throw new Error("Class is already bound to a layout");if(!(e&&e instanceof ZM))throw new TypeError("layout must be a Layout");if(e.hasOwnProperty("boundConstructor_"))throw new Error("layout is already bound to a constructor");t.layout_=e,e.boundConstructor_=t,e.makeDestinationObject=function(){return new t},Object.defineProperty(t.prototype,"encode",{value:function(t,n){return e.encode(this,t,n)},writable:!0}),Object.defineProperty(t,"decode",{value:function(t,n){return e.decode(t,n)},writable:!0})};var JM=function(t){eh(n,ZM);var e=lh(n);function n(){return Xl(this,n),e.apply(this,arguments)}return $l(n,[{key:"isCount",value:function(){throw new Error("ExternalLayout is abstract")}}]),n}(),qM=function(t){eh(n,JM);var e=lh(n);function n(t,r){var i;if(Xl(this,n),void 0===t&&(t=1),!Number.isInteger(t)||0>=t)throw new TypeError("elementSpan must be a (positive) integer");return(i=e.call(this,-1,r)).elementSpan=t,i}return $l(n,[{key:"isCount",value:function(){return!0}},{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=t.length-e;return Math.floor(n/this.elementSpan)}},{key:"encode",value:function(t,e,n){return 0}}]),n}(),XM=function(t){eh(n,JM);var e=lh(n);function n(t,r,i){var o;if(Xl(this,n),!(t instanceof ZM))throw new TypeError("layout must be a Layout");if(void 0===r)r=0;else if(!Number.isInteger(r))throw new TypeError("offset must be integer or undefined");return(o=e.call(this,t.span,i||t.property)).layout=t,o.offset=r,o}return $l(n,[{key:"isCount",value:function(){return this.layout instanceof KM||this.layout instanceof $M}},{key:"decode",value:function(t,e){return void 0===e&&(e=0),this.layout.decode(t,e+this.offset)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),this.layout.encode(t,e,n+this.offset)}}]),n}(),KM=function(t){eh(n,ZM);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readUIntLE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeUIntLE(t,n,this.span),this.span}}]),n}(),$M=function(t){eh(n,ZM);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readUIntBE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeUIntBE(t,n,this.span),this.span}}]),n}(),tk=function(t){eh(n,ZM);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readIntLE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeIntLE(t,n,this.span),this.span}}]),n}(),ek=function(t){eh(n,ZM);var e=lh(n);function n(t,r){var i;if(Xl(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readIntBE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeIntBE(t,n,this.span),this.span}}]),n}(),nk=Math.pow(2,32);function rk(t){var e=Math.floor(t/nk);return{hi32:e,lo32:t-e*nk}}function ik(t,e){return t*nk+e}var ok=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=t.readUInt32LE(e);return ik(t.readUInt32LE(e+4),n)}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=rk(t);return e.writeUInt32LE(r.lo32,n),e.writeUInt32LE(r.hi32,n+4),8}}]),n}(),ak=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),ik(t.readUInt32BE(e),t.readUInt32BE(e+4))}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=rk(t);return e.writeUInt32BE(r.hi32,n),e.writeUInt32BE(r.lo32,n+4),8}}]),n}(),sk=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=t.readUInt32LE(e);return ik(t.readInt32LE(e+4),n)}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=rk(t);return e.writeUInt32LE(r.lo32,n),e.writeInt32LE(r.hi32,n+4),8}}]),n}(),uk=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),ik(t.readInt32BE(e),t.readUInt32BE(e+4))}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=rk(t);return e.writeInt32BE(r.hi32,n),e.writeUInt32BE(r.lo32,n+4),8}}]),n}(),ck=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,4,t)}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readFloatLE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeFloatLE(t,n),4}}]),n}(),lk=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,4,t)}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readFloatBE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeFloatBE(t,n),4}}]),n}(),hk=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readDoubleLE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeDoubleLE(t,n),8}}]),n}(),dk=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,8,t)}return $l(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readDoubleBE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeDoubleBE(t,n),8}}]),n}(),fk=function(t){eh(n,ZM);var e=lh(n);function n(t,r,i){var o;if(Xl(this,n),!(t instanceof ZM))throw new TypeError("elementLayout must be a Layout");if(!(r instanceof JM&&r.isCount()||Number.isInteger(r)&&0<=r))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");var a=-1;return!(r instanceof JM)&&0u.span&&void 0===u.property)throw new Error("fields cannot contain unnamed variable-length layout")}}catch(t){s.e(t)}finally{s.f()}var c=-1;try{c=t.reduce((function(t,e){return t+e.getSpan()}),0)}catch(t){}return(o=e.call(this,c,r)).fields=t,o.decodePrefixes=!!i,o}return $l(n,[{key:"getSpan",value:function(t,e){if(0<=this.span)return this.span;void 0===e&&(e=0);var n=0;try{n=this.fields.reduce((function(n,r){var i=r.getSpan(t,e);return e+=i,n+i}),0)}catch(t){throw new RangeError("indeterminate span")}return n}},{key:"decode",value:function(t,e){void 0===e&&(e=0);var n,r=this.makeDestinationObject(),i=wh(this.fields);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(void 0!==o.property&&(r[o.property]=o.decode(t,e)),e+=o.getSpan(t,e),this.decodePrefixes&&t.length===e)break}}catch(t){i.e(t)}finally{i.f()}return r}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r,i=n,o=0,a=0,s=wh(this.fields);try{for(s.s();!(r=s.n()).done;){var u=r.value,c=u.span;if(a=0c&&(c=u.getSpan(e,n)))}o=n,n+=c}}catch(t){s.e(t)}finally{s.f()}return o+a-i}},{key:"fromArray",value:function(t){var e,n=this.makeDestinationObject(),r=wh(this.fields);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i.property&&0i.span?n=-1:0<=n&&(n+=i.span)}}catch(t){r.e(t)}finally{r.f()}}}]),n}(),mk=function(){function t(e){Xl(this,t),this.property=e}return $l(t,[{key:"decode",value:function(){throw new Error("UnionDiscriminator is abstract")}},{key:"encode",value:function(){throw new Error("UnionDiscriminator is abstract")}}]),t}(),gk=function(t){eh(n,mk);var e=lh(n);function n(t,r){var i;if(Xl(this,n),!(t instanceof JM&&t.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");return(i=e.call(this,r||t.property||"variant")).layout=t,i}return $l(n,[{key:"decode",value:function(t,e){return this.layout.decode(t,e)}},{key:"encode",value:function(t,e,n){return this.layout.encode(t,e,n)}}]),n}(),yk=function(t){eh(n,ZM);var e=lh(n);function n(t,r,i){var o;Xl(this,n);var a=t instanceof KM||t instanceof $M;if(a)t=new gk(new XM(t));else if(t instanceof JM&&t.isCount())t=new gk(t);else if(!(t instanceof mk))throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(void 0===r&&(r=null),!(null===r||r instanceof ZM))throw new TypeError("defaultLayout must be null or a Layout");if(null!==r){if(0>r.span)throw new Error("defaultLayout must have constant span");void 0===r.property&&(r=r.replicate("content"))}var s=-1;r&&0<=(s=r.span)&&a&&(s+=t.layout.span),(o=e.call(this,s,i)).discriminator=t,o.usesPrefixDiscriminator=a,o.defaultLayout=r,o.registry={};var u=o.defaultGetSourceVariant.bind(uh(o));return o.getSourceVariant=function(t){return u(t)},o.configGetSourceVariant=function(t){u=t.bind(this)},o}return $l(n,[{key:"getSpan",value:function(t,e){if(0<=this.span)return this.span;void 0===e&&(e=0);var n=this.getVariant(t,e);if(!n)throw new Error("unable to determine span for unrecognized variant");return n.getSpan(t,e)}},{key:"defaultGetSourceVariant",value:function(t){if(t.hasOwnProperty(this.discriminator.property)){if(this.defaultLayout&&t.hasOwnProperty(this.defaultLayout.property))return;var e=this.registry[t[this.discriminator.property]];if(e&&(!e.layout||t.hasOwnProperty(e.property)))return e}else for(var n in this.registry){var r=this.registry[n];if(t.hasOwnProperty(r.property))return r}throw new Error("unable to infer src variant")}},{key:"decode",value:function(t,e){var n;void 0===e&&(e=0);var r=this.discriminator,i=r.decode(t,e),o=this.registry[i];if(void 0===o){var a=0;o=this.defaultLayout,this.usesPrefixDiscriminator&&(a=r.layout.span),(n=this.makeDestinationObject())[r.property]=i,n[o.property]=this.defaultLayout.decode(t,e+a)}else n=o.decode(t,e);return n}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=this.getSourceVariant(t);if(void 0===r){var i=this.discriminator,o=this.defaultLayout,a=0;return this.usesPrefixDiscriminator&&(a=i.layout.span),i.encode(t[i.property],e,n),a+o.encode(t[o.property],e,n+a)}return r.encode(t,e,n)}},{key:"addVariant",value:function(t,e,n){var r=new vk(this,t,e,n);return this.registry[t]=r,r}},{key:"getVariant",value:function(t,e){var n=t;return al.isBuffer(t)&&(void 0===e&&(e=0),n=this.discriminator.decode(t,e)),this.registry[n]}}]),n}(),vk=function(t){eh(n,ZM);var e=lh(n);function n(t,r,i,o){var a;if(Xl(this,n),!(t instanceof yk))throw new TypeError("union must be a Union");if(!Number.isInteger(r)||0>r)throw new TypeError("variant must be a (non-negative) integer");if("string"==typeof i&&void 0===o&&(o=i,i=null),i){if(!(i instanceof ZM))throw new TypeError("layout must be a Layout");if(null!==t.defaultLayout&&0<=i.span&&i.span>t.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if("string"!=typeof o)throw new TypeError("variant must have a String property")}var s=t.span;return 0>t.span&&0<=(s=i?i.span:0)&&t.usesPrefixDiscriminator&&(s+=t.discriminator.layout.span),(a=e.call(this,s,o)).union=t,a.variant=r,a.layout=i||null,a}return $l(n,[{key:"getSpan",value:function(t,e){if(0<=this.span)return this.span;void 0===e&&(e=0);var n=0;return this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),n+this.layout.getSpan(t,e+n)}},{key:"decode",value:function(t,e){var n=this.makeDestinationObject();if(void 0===e&&(e=0),this!==this.union.getVariant(t,e))throw new Error("variant mismatch");var r=0;return this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout?n[this.property]=this.layout.decode(t,e+r):this.property?n[this.property]=!0:this.union.usesPrefixDiscriminator&&(n[this.union.discriminator.property]=this.variant),n}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=0;if(this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout&&!t.hasOwnProperty(this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,e,n);var i=r;if(this.layout&&(this.layout.encode(t[this.property],e,n+r),i+=this.layout.getSpan(e,n+r),0<=this.union.span&&i>this.union.span))throw new Error("encoded variant overruns containing union");return i}},{key:"fromArray",value:function(t){if(this.layout)return this.layout.fromArray(t)}}]),n}();function bk(t){return 0>t&&(t+=4294967296),t}var wk=function(t){eh(n,ZM);var e=lh(n);function n(t,r,i){var o;if(Xl(this,n),!(t instanceof KM||t instanceof $M))throw new TypeError("word must be a UInt or UIntBE layout");if("string"==typeof r&&void 0===i&&(i=r,r=void 0),4=n)throw new TypeError("bits must be positive integer");var i=8*e.span,o=e.fields.reduce((function(t,e){return t+e.bits}),0);if(n+o>i)throw new Error("bits too long for span remainder ("+(i-o)+" of "+i+" remain)");this.container=e,this.bits=n,this.valueMask=(1<>>this.start}},{key:"encode",value:function(t){if(!Number.isInteger(t)||t!==bk(t&this.valueMask))throw new TypeError(VM("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);var e=this.container._packedGetValue(),n=bk(t<n&&(n=this.length.decode(t,e)),n}},{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=this.span;return 0>n&&(n=this.length.decode(t,e)),t.slice(e,e+n)}},{key:"encode",value:function(t,e,n){var r=this.length;if(this.length instanceof JM&&(r=t.length),!al.isBuffer(t)||r!==t.length)throw new TypeError(VM("Blob.encode",this)+" requires (length "+r+") Buffer as src");if(n+r>e.length)throw new RangeError("encoding overruns Buffer");return e.write(t.toString("hex"),n,r,"hex"),this.length instanceof JM&&this.length.encode(r,e,n),r}}]),n}(),Ak=function(t){eh(n,ZM);var e=lh(n);function n(t){return Xl(this,n),e.call(this,-1,t)}return $l(n,[{key:"getSpan",value:function(t,e){if(!al.isBuffer(t))throw new TypeError("b must be a Buffer");void 0===e&&(e=0);for(var n=e;ne.length)throw new RangeError("encoding overruns Buffer");return r.copy(e,n),e[n+i]=0,i+1}}]),n}(),xk=function(t){eh(n,ZM);var e=lh(n);function n(t,r){var i;if(Xl(this,n),"string"==typeof t&&void 0===r&&(r=t,t=void 0),void 0===t)t=-1;else if(!Number.isInteger(t))throw new TypeError("maxSpan must be an integer");return(i=e.call(this,-1,r)).maxSpan=t,i}return $l(n,[{key:"getSpan",value:function(t,e){if(!al.isBuffer(t))throw new TypeError("b must be a Buffer");return void 0===e&&(e=0),t.length-e}},{key:"decode",value:function(t,e,n){void 0===e&&(e=0);var r=this.getSpan(t,e);if(0<=this.maxSpan&&this.maxSpane.length)throw new RangeError("encoding overruns Buffer");return r.copy(e,n),i}}]),n}(),Ek=function(t){eh(n,ZM);var e=lh(n);function n(t,r){var i;return Xl(this,n),(i=e.call(this,0,r)).value=t,i}return $l(n,[{key:"decode",value:function(t,e,n){return this.value}},{key:"encode",value:function(t,e,n){return 0}}]),n}();GM.ExternalLayout=JM,GM.GreedyCount=qM,GM.OffsetLayout=XM,GM.UInt=KM,GM.UIntBE=$M,GM.Int=tk,GM.IntBE=ek,GM.Float=ck,GM.FloatBE=lk,GM.Double=hk,GM.DoubleBE=dk,GM.Sequence=fk,GM.Structure=pk,GM.UnionDiscriminator=mk,GM.UnionLayoutDiscriminator=gk,GM.Union=yk,GM.VariantLayout=vk,GM.BitStructure=wk,GM.BitField=Mk,GM.Boolean=kk,GM.Blob=Lk,GM.CString=Ak,GM.UTF8=xk,GM.Constant=Ek,GM.greedy=function(t,e){return new qM(t,e)},GM.offset=function(t,e,n){return new XM(t,e,n)},GM.u8=function(t){return new KM(1,t)},GM.u16=function(t){return new KM(2,t)},GM.u24=function(t){return new KM(3,t)},GM.u32=function(t){return new KM(4,t)},GM.u40=function(t){return new KM(5,t)},GM.u48=function(t){return new KM(6,t)},GM.nu64=function(t){return new ok(t)},GM.u16be=function(t){return new $M(2,t)},GM.u24be=function(t){return new $M(3,t)},GM.u32be=function(t){return new $M(4,t)},GM.u40be=function(t){return new $M(5,t)},GM.u48be=function(t){return new $M(6,t)},GM.nu64be=function(t){return new ak(t)},GM.s8=function(t){return new tk(1,t)},GM.s16=function(t){return new tk(2,t)},GM.s24=function(t){return new tk(3,t)},GM.s32=function(t){return new tk(4,t)},GM.s40=function(t){return new tk(5,t)},GM.s48=function(t){return new tk(6,t)},GM.ns64=function(t){return new sk(t)},GM.s16be=function(t){return new ek(2,t)},GM.s24be=function(t){return new ek(3,t)},GM.s32be=function(t){return new ek(4,t)},GM.s40be=function(t){return new ek(5,t)},GM.s48be=function(t){return new ek(6,t)},GM.ns64be=function(t){return new uk(t)},GM.f32=function(t){return new ck(t)},GM.f32be=function(t){return new lk(t)},GM.f64=function(t){return new hk(t)},GM.f64be=function(t){return new dk(t)},GM.struct=function(t,e,n){return new pk(t,e,n)},GM.bits=function(t,e,n){return new wk(t,e,n)};var Nk=GM.seq=function(t,e,n){return new fk(t,e,n)};GM.union=function(t,e,n){return new yk(t,e,n)},GM.unionLayoutDiscriminator=function(t,e){return new gk(t,e)},GM.blob=function(t,e){return new Lk(t,e)},GM.cstr=function(t){return new Ak(t)},GM.utf8=function(t,e){return new xk(t,e)},GM.const=function(t,e){return new Ek(t,e)};var Sk={},Ik=Fc(HM),Tk={exports:{}};!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function i(t,e,n){if(i.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"===Vl(t)?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:Fl.Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,n){var r=a(t,n);return n-1>=e&&(r|=a(t,n-1)<<4),r}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===Vl(t))return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=s(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(t){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?h[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],l=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);r=(p=p.idivn(l)).isZero()?m+r:h[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},i.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?i.prototype._countBits=function(t){return 32-Math.clz32(t)}:i.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function g(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return g(t,e,n)}Math.imul||(m=p),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):y(this,t,e)},i.prototype.mul=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},i.prototype.mulf=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),y(this,t,e)},i.prototype.imul=function(t){return this.clone().mulTo(t,this)},i.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==e){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[o.length+h])+(0|r.words[o.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modrn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},i.prototype.modn=function(t){return this.modrn(t)},i.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(h)),o.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s),a.isub(u)):(r.isub(e),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new A(t)},i.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(w,b),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new M;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new L}return v[t]=e,e},A.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new i(1)).iushrn(2);return this.pow(t,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,o),d=this.pow(t,o.addn(1).iushrn(1)),f=this.pow(t,o),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new x(t)},r(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(Tk,Wc),function(t){var e=Wc&&Wc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.map=t.array=t.rustEnum=t.str=t.vecU8=t.tagged=t.vec=t.bool=t.option=t.publicKey=t.i128=t.u128=t.i64=t.u64=t.struct=t.f64=t.f32=t.i32=t.u32=t.i16=t.u16=t.i8=t.u8=void 0;var n=GM,r=Ik,i=e(Tk.exports),o=GM;Object.defineProperty(t,"u8",{enumerable:!0,get:function(){return o.u8}}),Object.defineProperty(t,"i8",{enumerable:!0,get:function(){return o.s8}}),Object.defineProperty(t,"u16",{enumerable:!0,get:function(){return o.u16}}),Object.defineProperty(t,"i16",{enumerable:!0,get:function(){return o.s16}}),Object.defineProperty(t,"u32",{enumerable:!0,get:function(){return o.u32}}),Object.defineProperty(t,"i32",{enumerable:!0,get:function(){return o.s32}}),Object.defineProperty(t,"f32",{enumerable:!0,get:function(){return o.f32}}),Object.defineProperty(t,"f64",{enumerable:!0,get:function(){return o.f64}}),Object.defineProperty(t,"struct",{enumerable:!0,get:function(){return o.struct}});var a=function(t){eh(r,t);var e=lh(r);function r(t,i,o){var a;return Xl(this,r),(a=e.call(this,t,o)).blob=n.blob(t),a.signed=i,a}return $l(r,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=new i.default(this.blob.decode(t,e),10,"le");return this.signed?n.fromTwos(8*this.span).clone():n}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.signed&&(t=t.toTwos(8*this.span)),this.blob.encode(t.toArrayLike(al,"le",this.span),e,n)}}]),r}(n.Layout);function s(t){return new a(8,!1,t)}t.u64=s,t.i64=function(t){return new a(8,!0,t)},t.u128=function(t){return new a(16,!1,t)},t.i128=function(t){return new a(16,!0,t)};var u=function(t){eh(n,t);var e=lh(n);function n(t,r,i,o){var a;return Xl(this,n),(a=e.call(this,t.span,o)).layout=t,a.decoder=r,a.encoder=i,a}return $l(n,[{key:"decode",value:function(t,e){return this.decoder(this.layout.decode(t,e))}},{key:"encode",value:function(t,e,n){return this.layout.encode(this.encoder(t),e,n)}},{key:"getSpan",value:function(t,e){return this.layout.getSpan(t,e)}}]),n}(n.Layout);t.publicKey=function(t){return new u(n.blob(32),(function(t){return new r.PublicKey(t)}),(function(t){return t.toBuffer()}),t)};var c=function(t){eh(r,t);var e=lh(r);function r(t,i){var o;return Xl(this,r),(o=e.call(this,-1,i)).layout=t,o.discriminator=n.u8(),o}return $l(r,[{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null==t?this.discriminator.encode(0,e,n):(this.discriminator.encode(1,e,n),this.layout.encode(t,e,n+1)+1)}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.discriminator.decode(t,e);if(0===n)return null;if(1===n)return this.layout.decode(t,e+1);throw new Error("Invalid option "+this.property)}},{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.discriminator.decode(t,e);if(0===n)return 1;if(1===n)return this.layout.getSpan(t,e+1)+1;throw new Error("Invalid option "+this.property)}}]),r}(n.Layout);function l(t){if(0===t)return!1;if(1===t)return!0;throw new Error("Invalid bool: "+t)}function h(t){return t?1:0}function d(t){var e=n.u32("length"),r=n.struct([e,n.blob(n.offset(e,-e.span),"data")]);return new u(r,(function(t){return t.data}),(function(t){return{data:t}}),t)}t.option=function(t,e){return new c(t,e)},t.bool=function(t){return new u(n.u8(),l,h,t)},t.vec=function(t,e){var r=n.u32("length"),i=n.struct([r,n.seq(t,n.offset(r,-r.span),"values")]);return new u(i,(function(t){return t.values}),(function(t){return{values:t}}),e)},t.tagged=function(t,e,r){var i=n.struct([s("tag"),e.replicate("data")]);return new u(i,(function(e){var n=e.tag,r=e.data;if(!n.eq(t))throw new Error("Invalid tag, expected: "+t.toString("hex")+", got: "+n.toString("hex"));return r}),(function(e){return{tag:t,data:e}}),r)},t.vecU8=d,t.str=function(t){return new u(d(),(function(t){return t.toString("utf-8")}),(function(t){return al.from(t,"utf-8")}),t)},t.rustEnum=function(t,e,r){var i=n.union(null!=r?r:n.u8(),e);return t.forEach((function(t,e){return i.addVariant(e,t,t.property)})),i},t.array=function(t,e,r){var i=n.struct([n.seq(t,e,"values")]);return new u(i,(function(t){return t.values}),(function(t){return{values:t}}),r)};var f=function(t){eh(n,t);var e=lh(n);function n(t,r,i){var o;return Xl(this,n),(o=e.call(this,t.span+r.span,i)).keyLayout=t,o.valueLayout=r,o}return $l(n,[{key:"decode",value:function(t,e){return e=e||0,[this.keyLayout.decode(t,e),this.valueLayout.decode(t,e+this.keyLayout.getSpan(t,e))]}},{key:"encode",value:function(t,e,n){n=n||0;var r=this.keyLayout.encode(t[0],e,n);return r+this.valueLayout.encode(t[1],e,n+r)}},{key:"getSpan",value:function(t,e){return this.keyLayout.getSpan(t,e)+this.valueLayout.getSpan(t,e)}}]),n}(n.Layout);t.map=function(t,e,r){var i=n.u32("length"),o=n.struct([i,n.seq(new f(t,e),n.offset(i,-i.span),"values")]);return new u(o,(function(t){var e=t.values;return new Map(e)}),(function(t){return{values:Array.from(t.entries())}}),r)}}(Sk);var jk=Fl.Buffer,Ck=Mh.exports,Dk=Sk.struct([Sk.publicKey("mint"),Sk.publicKey("owner"),Sk.u64("amount"),Sk.u32("delegateOption"),Sk.publicKey("delegate"),Sk.u8("state"),Sk.u32("isNativeOption"),Sk.u64("isNative"),Sk.u64("delegatedAmount"),Sk.u32("closeAuthorityOption"),Sk.publicKey("closeAuthority")]);Sk.array;var Ok=Sk.bool,_k=Sk.i128;Sk.i16;var zk=Sk.i32,Pk=Sk.i64;Sk.i8,Sk.map;var Bk=Sk.option,Rk=Sk.publicKey,Uk=Sk.rustEnum,Qk=Sk.str,Wk=Sk.struct;Sk.tagged;var Yk=Sk.u128,Fk=Sk.u16,Hk=Sk.u32,Gk=Sk.u64,Zk=Sk.u8,Vk=Sk.vec;let Jk;Sk.vecU8;let qk=()=>Jk||(Jk="object"==typeof rn?rn:window,Jk);const Xk=()=>(void 0===qk()._Web3ClientConfiguration&&(qk()._Web3ClientConfiguration={}),qk()._Web3ClientConfiguration);class Kk extends Cc{constructor(t,e,n,r){super(t),this._network=e,this._endpoint=t,this._endpoints=n,this._failover=r,this._pendingBatch=[]}detectNetwork(){return Promise.resolve(st.findByName(this._network).id)}requestChunk(t,e){const n=t.map((t=>t.request));return zu(e,JSON.stringify(n)).then((e=>{t.forEach(((t,n)=>{const r=e[n];if(r.error){const e=new Error(r.error.message);e.code=r.error.code,e.data=r.error.data,t.reject(e)}else t.resolve(r.result)}))})).catch((e=>{if(e&&"SERVER_ERROR"==e.code){const e=this._endpoints.indexOf(this._endpoint)+1;this._failover(),this._endpoint=e>=this._endpoints.length?this._endpoints[0]:this._endpoints[e],this.requestChunk(t,this._endpoint)}else t.forEach((t=>{t.reject(e)}))}))}send(t,e){const n={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);const r={request:n,resolve:null,reject:null},i=new Promise(((t,e)=>{r.resolve=t,r.reject=e}));return this._pendingBatch.push(r),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const t=this._pendingBatch;this._pendingBatch=[],this._pendingBatchAggregator=null;const e=[];for(let n=0;n(t.map((t=>t.request)),this.requestChunk(t,this._endpoint))))}),Xk().batchInterval||10)),i}}const $k=()=>(null==qk()._Web3ClientProviders&&(qk()._Web3ClientProviders={}),qk()._Web3ClientProviders),tL=(t,e)=>{void 0===$k()[t]&&($k()[t]=[]);const n=$k()[t].indexOf(e);n>-1&&$k()[t].splice(n,1),$k()[t].unshift(e)},eL=async(t,e,n=!0)=>{let r;$k()[t]=e.map(((r,i)=>new Kk(r,t,e,(()=>{1===$k()[t].length?eL(t,e,n):$k()[t].splice(i,1)}))));let i=qk();if(null==i.fetch||void 0!==Sn&&Sn.env&&"test"==Sn.env.NODE_ENV||void 0!==i.cy||!1===n)r=$k()[t][0];else{let n=await Promise.all(e.map((t=>new Promise((async e=>{let n=(new Date).getTime();setTimeout((()=>e(900)),900);if(!(await fetch(t,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({method:"net_version",id:1,jsonrpc:"2.0"})})).ok)return e(999);let r=(new Date).getTime();e(r-n)})))));const i=Math.min(...n),o=n.indexOf(i);r=$k()[t][o]}tL(t,r)};var nL={getProvider:async t=>{let e=$k();if(e&&e[t])return e[t][0];let n=qk();return n._Web3ClientGetProviderPromise&&n._Web3ClientGetProviderPromise[t]||(n._Web3ClientGetProviderPromise||(n._Web3ClientGetProviderPromise={}),n._Web3ClientGetProviderPromise[t]=new Promise((async e=>{await eL(t,st[t].endpoints),e(qk()._Web3ClientProviders[t][0])}))),await n._Web3ClientGetProviderPromise[t]},getProviders:async t=>{let e=$k();if(e&&e[t])return e[t];let n=qk();return n._Web3ClientGetProvidersPromise&&n._Web3ClientGetProvidersPromise[t]||(n._Web3ClientGetProvidersPromise||(n._Web3ClientGetProvidersPromise={}),n._Web3ClientGetProvidersPromise[t]=new Promise((async e=>{await eL(t,st[t].endpoints),e(qk()._Web3ClientProviders[t])}))),await n._Web3ClientGetProvidersPromise[t]},setProviderEndpoints:eL,setProvider:tL};class rL extends uM{constructor(t,e,n,r){super(t),this._provider=new uM(t),this._network=e,this._endpoint=t,this._endpoints=n,this._failover=r,this._pendingBatch=[],this._rpcRequest=this._rpcRequestReplacement.bind(this)}requestChunk(t){const e=t.map((t=>t.request)),n=e=>{if(e&&["Failed to fetch","limit reached","504","503","502","500","429","426","422","413","409","408","406","405","404","403","402","401","400"].some((t=>e.toString().match(t)))){const e=this._endpoints.indexOf(this._endpoint)+1;this._endpoint=e>=this._endpoints.length?this._endpoints[0]:this._endpoints[e],this._provider=new uM(this._endpoint),this.requestChunk(t)}else t.forEach((t=>{t.reject(e)}))};try{return this._provider._rpcBatchRequest(e).then((e=>{t.forEach(((t,n)=>{const r=e[n];if(r.error){const e=new Error(r.error.message);e.code=r.error.code,e.data=r.error.data,t.reject(e)}else t.resolve(r)}))})).catch(n)}catch(t){return n(t)}}_rpcRequestReplacement(t,e){const n={methodName:t,args:e};null==this._pendingBatch&&(this._pendingBatch=[]);const r={request:n,resolve:null,reject:null},i=new Promise(((t,e)=>{r.resolve=t,r.reject=e}));return this._pendingBatch.push(r),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const t=this._pendingBatch;this._pendingBatch=[],this._pendingBatchAggregator=null;const e=[];for(let n=0;n(t.map((t=>t.request)),this.requestChunk(t))))}),Xk().batchInterval||10)),i}}const iL=()=>(null==qk()._Web3ClientProviders&&(qk()._Web3ClientProviders={}),qk()._Web3ClientProviders),oL=(t,e)=>{void 0===iL()[t]&&(iL()[t]=[]);const n=iL()[t].indexOf(e);n>-1&&iL()[t].splice(n,1),iL()[t].unshift(e)},aL=async(t,e,n=!0)=>{let r;iL()[t]=e.map(((r,i)=>new rL(r,t,e,(()=>{1===iL()[t].length?aL(t,e,n):iL()[t].splice(i,1)}))));let i=qk();if(null==i.fetch||void 0!==Sn&&Sn.env&&"test"==Sn.env.NODE_ENV||void 0!==i.cy||!1===n)r=iL()[t][0];else{let n=await Promise.all(e.map((t=>new Promise((async e=>{let n=(new Date).getTime();setTimeout((()=>e(900)),900);if(!(await fetch(t,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({method:"getIdentity",id:1,jsonrpc:"2.0"})})).ok)return e(999);let r=(new Date).getTime();e(r-n)})))));const i=Math.min(...n),o=n.indexOf(i);r=iL()[t][o]}oL(t,r)};var sL={getProvider:async t=>{let e=iL();if(e&&e[t])return e[t][0];let n=qk();return n._Web3ClientGetProviderPromise&&n._Web3ClientGetProviderPromise[t]||(n._Web3ClientGetProviderPromise||(n._Web3ClientGetProviderPromise={}),n._Web3ClientGetProviderPromise[t]=new Promise((async e=>{await aL(t,st[t].endpoints),e(qk()._Web3ClientProviders[t][0])}))),await n._Web3ClientGetProviderPromise[t]},getProviders:async t=>{let e=iL();if(e&&e[t])return e[t];let n=qk();return n._Web3ClientGetProvidersPromise&&n._Web3ClientGetProvidersPromise[t]||(n._Web3ClientGetProvidersPromise||(n._Web3ClientGetProvidersPromise={}),n._Web3ClientGetProvidersPromise[t]=new Promise((async e=>{await aL(t,st[t].endpoints),e(qk()._Web3ClientProviders[t])}))),await n._Web3ClientGetProvidersPromise[t]},setProviderEndpoints:aL,setProvider:oL};let uL=["ethereum","bsc","polygon","solana","fantom","velas"];uL.evm=["ethereum","bsc","polygon","fantom","velas"],uL.solana=["solana"];let cL=()=>(null==qk()._Web3ClientCacheStore&&(qk()._Web3ClientCacheStore={}),qk()._Web3ClientCacheStore),lL=()=>(null==qk()._Web3ClientPromiseStore&&(qk()._Web3ClientPromiseStore={}),qk()._Web3ClientPromiseStore),hL=function({key:t}){lL()[t]=void 0},dL=function({call:t,key:e,expires:n=0}){return new Promise(((r,i)=>{let o,a=function({key:t}){return lL()[t]}({key:e=JSON.stringify(e)});if(a)return a.then(r).catch(i);(function({key:t,promise:e}){return lL()[t]=e,e})({key:e,promise:new Promise(((a,s)=>0===n?t().then((t=>{r(t),a(t)})).catch((t=>{i(t),s(t)})):(o=function({key:t,expires:e}){let n=cL()[t];if(function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([n,"optionalAccess",t=>t.expiresAt])>Date.now())return n.value}({key:e,expires:n}),o?(r(o),a(o),o):void t().then((t=>{t&&function({key:t,value:e,expires:n}){cL()[t]={expiresAt:Date.now()+n,value:e}}({key:e,value:t,expires:n}),r(t),a(t)})).catch((t=>{i(t),s(t)})))))}).then((()=>{hL({key:e})})).catch((()=>{hL({key:e})}))}))};const fL=async t=>{if(uL.evm.includes(t))return await nL.getProvider(t);if(uL.solana.includes(t))return await sL.getProvider(t);throw"Unknown blockchain: "+t};var pL=({provider:t,from:e,to:n,value:r,method:i,api:o,params:a})=>{if(void 0===o)return t.estimateGas({from:e,to:n,value:r});{let s=new bu(n,o,t),u=s.estimateGas[i],c=(({contract:t,method:e,params:n})=>{let r=t.interface.fragments.find((t=>t.name==e));return n instanceof Array?n:n instanceof Object?r.inputs.map((t=>n[t.name])):void 0})({contract:s,method:i,params:a});return c?u(...c,{from:e,value:r}):u({from:e,value:r})}};let mL=async function({blockchain:t,from:e,to:n,value:r,method:i,api:o,params:a,cache:s}){if(!uL.includes(t))throw"Unknown blockchain: "+t;void 0===r&&(r="0");const u=await fL(t);return await dL({expires:s||0,key:[t,e,n,r,i,a],call:async()=>pL({provider:u,from:e,to:n,value:r,method:i,api:o,params:a})})};const gL=({address:t,api:e,method:n,params:r,provider:i,block:o})=>{let a=new bu(t,e,i),s=(({contract:t,method:e,params:n})=>t.interface.fragments.find((t=>t.name==e)).inputs.map(((t,e)=>Array.isArray(n)?n[e]:n[t.name])))({contract:a,method:n,params:r});return a[n](...s,{blockTag:o})},yL=({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:a})=>n?gL({address:e,api:n,method:r,params:i,provider:a,block:o}):"latestBlockNumber"===r?a.getBlockNumber():"balance"===r?(({address:t,provider:e})=>e.getBalance(t))({address:e,provider:a}):"transactionCount"===r?(({address:t,provider:e})=>e.getTransactionCount(t))({address:e,provider:a}):void 0;const vL=async({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:a,providers:s})=>{try{if(null==r||"getAccountInfo"===r)return null==n&&(n=Dk),await(async({address:t,api:e,method:n,params:r,provider:i,block:o})=>{const a=await i.getAccountInfo(new fv(t));if(a&&a.data)return e.decode(a.data)})({address:e,api:n,method:r,params:i,provider:a,block:o});if("getProgramAccounts"===r)return await a.getProgramAccounts(new fv(e),i).then((t=>n?t.map((t=>(t.data=n.decode(t.account.data),t))):t));if("getTokenAccountBalance"===r)return await a.getTokenAccountBalance(new fv(e));if("latestBlockNumber"===r)return await a.getSlot(i||void 0);if("balance"===r)return await(({address:t,provider:e})=>e.getBalance(new fv(t)))({address:e,provider:a})}catch(u){if(s&&u&&["Failed to fetch","limit reached","504","503","502","500","429","426","422","413","409","408","406","405","404","403","402","401","400"].some((t=>u.toString().match(t)))){let u=s[s.indexOf(a)+1]||s[0];return vL({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:u,providers:s})}throw u}};const bL=async function(t,e){const{blockchain:n,address:r,method:i}=(t=>{if("object"==typeof t)return t;let e=t.match(/(?\w+):\/\/(?[\w\d]+)(\/(?[\w\d]+)*)?/);return null==e.groups.part2?e.groups.part1.match(/\d/)?{blockchain:e.groups.blockchain,address:e.groups.part1}:{blockchain:e.groups.blockchain,method:e.groups.part1}:{blockchain:e.groups.blockchain,address:e.groups.part1,method:e.groups.part2}})(t),{api:o,params:a,cache:s,block:u,timeout:c,strategy:l,cacheKey:h}=("object"==typeof t?t:e)||{};return await dL({expires:s||0,key:h||[n,r,i,a,u],call:async()=>{if(uL.evm.includes(n))return await(async({blockchain:t,address:e,api:n,method:r,params:i,block:o,timeout:a,strategy:s})=>{if(s=s||Xk().strategy||"failover",a=a||Xk().timeout||void 0,"fastest"===s)return Promise.race((await nL.getProviders(t)).map((s=>{const u=yL({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s});if(a){const t=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a)));return Promise.race([u,t])}return u})));{const s=await nL.getProvider(t),u=yL({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s});return a?(a=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a))),Promise.race([u,a])):u}})({blockchain:n,address:r,api:o,method:i,params:a,block:u,strategy:l,timeout:c});if(uL.solana.includes(n))return await(async({blockchain:t,address:e,api:n,method:r,params:i,block:o,timeout:a,strategy:s})=>{s=s||Xk().strategy||"failover",a=a||Xk().timeout||void 0;const u=await sL.getProviders(t);if("fastest"===s)return Promise.race(u.map((s=>{const u=new Promise((a=>{vL({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s}).then(a)})),c=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a||1e4)));return Promise.race([u,c])})));{const s=await sL.getProvider(t),c=vL({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s,providers:u});return a?(a=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a))),Promise.race([c,a])):c}})({blockchain:n,address:r,api:o,method:i,params:a,block:u,strategy:l,timeout:c});throw"Unknown blockchain: "+n}})};var wL=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=92)}([function(t,e,n){(function(t){n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"e",(function(){return f})),n.d(e,"d",(function(){return p})),n.d(e,"o",(function(){return m})),n.d(e,"n",(function(){return g})),n.d(e,"p",(function(){return y})),n.d(e,"A",(function(){return v})),n.d(e,"z",(function(){return b})),n.d(e,"B",(function(){return w})),n.d(e,"v",(function(){return M})),n.d(e,"u",(function(){return k})),n.d(e,"s",(function(){return x})),n.d(e,"r",(function(){return E})),n.d(e,"t",(function(){return N})),n.d(e,"q",(function(){return S})),n.d(e,"m",(function(){return I})),n.d(e,"l",(function(){return T})),n.d(e,"k",(function(){return j})),n.d(e,"j",(function(){return C})),n.d(e,"x",(function(){return O})),n.d(e,"a",(function(){return _})),n.d(e,"y",(function(){return z})),n.d(e,"w",(function(){return P}));var r=n(22),i=n.n(r),o=n(49),a=n.n(o);function s(t){return new Uint8Array(t)}function u(t,e=!1){const n=t.toString("hex");return e?_(n):n}function c(t){return t.toString("utf8")}function l(t){return t.readUIntBE(0,t.length)}function h(t){return a()(t)}function d(t,e=!1){return u(h(t),e)}function f(t){return c(h(t))}function p(t){return l(h(t))}function m(e){return t.from(O(e),"hex")}function g(t){return s(m(t))}function y(t){return c(m(t))}function v(e){return t.from(e,"utf8")}function b(t){return s(v(t))}function w(t,e=!1){return u(v(t),e)}function M(t){return h(A(L(t)))}function k(t){return A(L(t))}function L(t){return D((t>>>0).toString(2))}function A(t){return new Uint8Array(function(t,e=8){const n=D(t).match(new RegExp(`.{${e}}`,"gi"));return Array.from(n||[])}(t).map((t=>parseInt(t,2))))}function x(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function E(e){return t.isBuffer(e)}function N(t){return i.a.strict(t)&&!E(t)}function S(t){return!N(t)&&!E(t)&&void 0!==t.byteLength}function I(t){return E(t)?"buffer":N(t)?"typed-array":S(t)?"array-buffer":Array.isArray(t)?"array":typeof t}function T(t){return function(t){return!("string"!=typeof t||!new RegExp(/^[01]+$/).test(t))&&t.length%8==0}(t)?"binary":x(t)?"hex":"utf8"}function j(...e){return t.concat(e)}function C(...t){let e=[];return t.forEach((t=>e=e.concat(Array.from(t)))),new Uint8Array([...e])}function D(t,e=8,n="0"){return function(t,e,n="0"){return function(t,e,n,r="0"){const i=e-t.length;let o=t;if(i>0){const e=r.repeat(i);o=n?e+t:t+e}return o}(t,e,!0,n)}(t,function(t,e=8){const n=t%e;return n?(t-n)/e*e+e:t}(t.length,e),n)}function O(t){return t.replace(/^0x/,"")}function _(t){return t.startsWith("0x")?t:"0x"+t}function z(t){return(t=D(t=O(t),2))&&(t=_(t)),t}function P(t){const e=t.startsWith("0x");return t=(t=O(t)).startsWith("0")?t.substring(1):t,e?_(t):t}}).call(this,n(18).Buffer)},function(t,e,n){n.d(e,"g",(function(){return r.detectEnv})),n.d(e,"r",(function(){return r.isMobile})),n.d(e,"m",(function(){return r.isBrowser})),n.d(e,"k",(function(){return r.getLocation})),n.d(e,"i",(function(){return r.getClientMeta})),n.d(e,"B",(function(){return r.setLocal})),n.d(e,"j",(function(){return r.getLocal})),n.d(e,"A",(function(){return r.removeLocal})),n.d(e,"v",(function(){return r.mobileLinkChoiceKey})),n.d(e,"C",(function(){return o})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f})),n.d(e,"w",(function(){return x})),n.d(e,"x",(function(){return E})),n.d(e,"z",(function(){return g})),n.d(e,"D",(function(){return y})),n.d(e,"h",(function(){return N})),n.d(e,"u",(function(){return C})),n.d(e,"y",(function(){return D})),n.d(e,"l",(function(){return I})),n.d(e,"a",(function(){return T})),n.d(e,"o",(function(){return b})),n.d(e,"q",(function(){return w})),n.d(e,"p",(function(){return M})),n.d(e,"n",(function(){return k})),n.d(e,"s",(function(){return L})),n.d(e,"t",(function(){return A}));var r=n(21);const i=["session_request","session_update","exchange_key","connect","disconnect","display_uri","modal_closed","transport_open","transport_close","transport_error"],o=["eth_sendTransaction","eth_signTransaction","eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v2","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign","wallet_addEthereumChain","wallet_switchEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"];var a=n(16),s=n.n(a),u=n(0);function c(t){return u.b(new Uint8Array(t))}function l(t,e){return u.c(new Uint8Array(t),!e)}function h(t){return u.f(t).buffer}function d(t){return u.n(t).buffer}function f(t,e){const n=u.x(u.y(new s.a(t).toString(16)));return e?n:u.a(n)}var p=n(50);function m(t){return u.y(t)}const g=n(51).payloadId;function y(){return((t,e)=>{for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e})()}function v(t,e){return u.s(t,e)}function b(t){return void 0!==t.method}function w(t){return void 0!==t.result}function M(t){return void 0!==t.error}function k(t){return void 0!==t.event}function L(t){return i.includes(t)||t.startsWith("wc_")}function A(t){return!!t.method.startsWith("wc_")||!o.includes(t.method)}function x(t){var e,n;return(n=t)&&n.length&&!v(t[0])&&(t[0]=(e=t[0],u.B(e,!0))),t}function E(t){if(void 0!==t.type&&"0"!==t.type)return t;if(void 0===t.from||!(e=t.from)||"0x"!==e.toLowerCase().substring(0,2)||!/^(0x)?[0-9a-f]{40}$/i.test(e)||!/^(0x)?[0-9a-f]{40}$/.test(e)&&!/^(0x)?[0-9A-F]{40}$/.test(e)&&e!==function(t){t=Object(u.x)(t.toLowerCase());const e=Object(u.x)(Object(p.keccak_256)((n=t,u.A(n))));var n;let r="";for(let n=0;n7?r+=t[n].toUpperCase():r+=t[n];return Object(u.a)(r)}(e))throw new Error("Transaction object must include a valid 'from' value.");var e;function n(t){let e=t;var n;return("number"==typeof t||"string"==typeof t&&!function(t){return""===t||"string"==typeof t&&""===t.trim()}(t))&&(v(t)?"string"==typeof t&&(e=m(t)):e=f(t)),"string"==typeof e&&(n=e,e=u.w(u.a(n))),e}const r={from:m(t.from),to:void 0===t.to?void 0:m(t.to),gasPrice:void 0===t.gasPrice?"":n(t.gasPrice),gas:void 0===t.gas?void 0===t.gasLimit?"":n(t.gasLimit):n(t.gas),value:void 0===t.value?"":n(t.value),nonce:void 0===t.nonce?"":n(t.nonce),data:void 0===t.data?"":m(t.data)||"0x"},i=["gasPrice","gas","value","nonce"];return Object.keys(r).forEach((t=>{(void 0===r[t]||"string"==typeof r[t]&&!r[t].trim().length)&&i.includes(t)&&delete r[t]})),r}function N(t){const e=t.message||"Failed or Rejected Request";let n=-32e3;if(t&&!t.code)switch(e){case"Parse error":n=-32700;break;case"Invalid request":n=-32600;break;case"Method not found":n=-32601;break;case"Invalid params":n=-32602;break;case"Internal error":n=-32603;break;default:n=-32e3}const r={code:n,message:e};return t.data&&(r.data=t.data),r}var S=n(23);function I(t){const e=-1!==t.indexOf("?")?t.indexOf("?"):void 0;return void 0!==e?t.substr(e):""}function T(t,e){let n=j(t);return n=Object.assign(Object.assign({},n),e),function(t){return S.stringify(t)}(n)}function j(t){return S.parse(t)}function C(t){return void 0!==t.bridge}function D(t){const e=t.indexOf(":"),n=-1!==t.indexOf("?")?t.indexOf("?"):void 0,r=t.substring(0,e),i=function(t){const e=t.split("@");return{handshakeTopic:e[0],version:parseInt(e[1],10)}}(t.substring(e+1,n)),o=function(t){const e=j(t);return{key:e.key||"",bridge:e.bridge||""}}(void 0!==n?t.substr(n):"");return Object.assign(Object.assign({protocol:r},i),o)}},function(t,e,n){n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"j",(function(){return l})),n.d(e,"h",(function(){return r})),n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return p}));const r=512,i=256,o=256,a="AES-CBC",s="SHA-"+i,u="HMAC",c="SHA-256",l="SHA-512",h="encrypt",d="decrypt",f="sign",p="verify"},function(t,e,n){n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"a",(function(){return u}));const r="INTERNAL_ERROR",i="SERVER_ERROR",o=[-32700,-32600,-32601,-32602,-32603],a=[-32e3,-32099],s={PARSE_ERROR:{code:-32700,message:"Parse error"},INVALID_REQUEST:{code:-32600,message:"Invalid Request"},METHOD_NOT_FOUND:{code:-32601,message:"Method not found"},INVALID_PARAMS:{code:-32602,message:"Invalid params"},[r]:{code:-32603,message:"Internal error"},[i]:{code:-32e3,message:"Server error"}},u=i},function(t,e,n){function r(t){let e;return"undefined"!=typeof window&&void 0!==window[t]&&(e=window[t]),e}function i(t){const e=r(t);if(!e)throw new Error(t+" is not defined in Window");return e}Object.defineProperty(e,"__esModule",{value:!0}),e.getLocalStorage=e.getLocalStorageOrThrow=e.getCrypto=e.getCryptoOrThrow=e.getLocation=e.getLocationOrThrow=e.getNavigator=e.getNavigatorOrThrow=e.getDocument=e.getDocumentOrThrow=e.getFromWindowOrThrow=e.getFromWindow=void 0,e.getFromWindow=r,e.getFromWindowOrThrow=i,e.getDocumentOrThrow=function(){return i("document")},e.getDocument=function(){return r("document")},e.getNavigatorOrThrow=function(){return i("navigator")},e.getNavigator=function(){return r("navigator")},e.getLocationOrThrow=function(){return i("location")},e.getLocation=function(){return r("location")},e.getCryptoOrThrow=function(){return i("crypto")},e.getCrypto=function(){return r("crypto")},e.getLocalStorageOrThrow=function(){return i("localStorage")},e.getLocalStorage=function(){return r("localStorage")}},function(t,e,n){var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(n(67),e),i(n(68),e)},function(t,e,n){n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return h}));var r=n(5),i=n(2);async function o(t,e=i.a){return r.getSubtleCrypto().importKey("raw",t,function(t){return t===i.a?{length:i.b,name:i.a}:{hash:{name:i.f},name:i.e}}(e),!0,function(t){return t===i.a?[i.d,i.c]:[i.k,i.l]}(e))}async function a(t,e,n){const a=r.getSubtleCrypto(),s=await o(e,i.a),u=await a.encrypt({iv:t,name:i.a},s,n);return new Uint8Array(u)}async function s(t,e,n){const a=r.getSubtleCrypto(),s=await o(e,i.a),u=await a.decrypt({iv:t,name:i.a},s,n);return new Uint8Array(u)}async function u(t,e){const n=r.getSubtleCrypto(),a=await o(t,i.e),s=await n.sign({length:i.g,name:i.e},a,e);return new Uint8Array(s)}async function c(t,e){const n=r.getSubtleCrypto(),a=await o(t,i.e),s=await n.sign({length:i.h,name:i.e},a,e);return new Uint8Array(s)}async function l(t){const e=r.getSubtleCrypto(),n=await e.digest({name:i.i},t);return new Uint8Array(n)}async function h(t){const e=r.getSubtleCrypto(),n=await e.digest({name:i.j},t);return new Uint8Array(n)}},function(t,e){var n,r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return r[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return void 0!==n},e.toSJIS=function(t){return n(t)}},function(t,e,n){var r=n(44),i=n(45);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!r.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return i.testNumeric(t)?e.NUMERIC:i.testAlphanumeric(t)?e.ALPHANUMERIC:i.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return n}}},function(t,e,n){n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(3);function i(t){return r.c.includes(t)}function o(t){return Object.keys(r.f).includes(t)?r.f[t]:r.f[r.a]}function a(t){return Object.values(r.f).find((e=>e.code===t))||r.f[r.a]}},function(t,e,n){var r=n(19);o.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var i=o.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function o(t,e,n){return o.TYPED_ARRAY_SUPPORT||this instanceof o?"number"==typeof t?u(this,t):function(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(n<0||e.byteLength=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function s(t,e){var n;return o.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(e)).__proto__=o.prototype:(null===(n=t)&&(n=new o(e)),n.length=e),n}function u(t,e){var n=s(t,e<0?0:0|a(e));if(!o.TYPED_ARRAY_SUPPORT)for(var r=0;r55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function h(t){return o.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:l(t).length)}o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),o.prototype.write=function(t,e,n){void 0===e||void 0===n&&"string"==typeof e?(n=this.length,e=0):isFinite(e)&&(e|=0,isFinite(n)?n|=0:n=void 0);var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,n,r){return function(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}(l(e,t.length-n),t,n,r)}(this,t,e,n)},o.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i1)for(var n=1;n=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=6)i=s(t,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=s(t,e,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var d=l[t],f=h[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(t);n=(p=p.idivn(f)).isZero()?m+n:c[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),l=this.clone();if(u){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function p(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(f=d),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?f(this,t,e):n<63?d(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):p(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,u=r.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var l=n.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(u)):(n.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new k(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function L(t){k.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):n.strip(),n},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(v,y),v.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r>>22,i=o}i>>>=22,t.words[r-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},v.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new v;else if("p224"===t)e=new b;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new M}return g[t]=e,e},k.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},k.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},k.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,i),d=this.pow(t,i.addn(1).iushrn(1)),f=this.pow(t,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}u=26}return i},k.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},k.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new L(t)},i(L,k),L.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},L.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},L.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},L.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},L.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(54)(t))},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});const r=n(60);r.__exportStar(n(61),e),r.__exportStar(n(62),e)},function(t,e,n){(function(t){ +t.exports=n=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return S()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(t,n,a),o}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var f={};function p(){}function m(){}function g(){}var y={};l(y,s,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(N([])));b&&b!==i&&o.call(b,s)&&(y=b);var w=g.prototype=p.prototype=Object.create(y);function M(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,n){function r(i,a,s,u){var c=d(t[i],t,a);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==e(h)&&o.call(h,"__await")?n.resolve(h.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):n.resolve(h).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,u)}))}u(c.arg)}var i;this._invoke=function(t,e){function o(){return new n((function(n,i){r(t,e,n,i)}))}return i=i?i.then(o,o):o()}}function L(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=d(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function N(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},r}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}(om)),om.exports}var cm,lm={exports:{}};var hm,dm={exports:{}};function fm(){return hm||(hm=1,function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports}(dm)),dm.exports}var pm,mm={exports:{}};function gm(){return pm||(pm=1,function(t){function e(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"ws://localhost:8080",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;(0,o.default)(this,p);var a=r.autoconnect,s=void 0===a||a,u=r.reconnect,c=void 0===u||u,l=r.reconnect_interval,h=void 0===l?1e3:l,m=r.max_reconnects,g=void 0===m?5:m,y=d(r,["autoconnect","reconnect","reconnect_interval","max_reconnects"]);return(e=f.call(this)).webSocketFactory=t,e.queue={},e.rpc_id=0,e.address=n,e.autoconnect=s,e.ready=!1,e.reconnect=c,e.reconnect_timer_id=void 0,e.reconnect_interval=h,e.max_reconnects=g,e.rest_options=y,e.current_reconnects=0,e.generate_request_id=i||function(){return++e.rpc_id},e.autoconnect&&e._connect(e.address,Object.assign({autoconnect:e.autoconnect,reconnect:e.reconnect,reconnect_interval:e.reconnect_interval,max_reconnects:e.max_reconnects},e.rest_options)),e}return(0,a.default)(p,[{key:"connect",value:function(){this.socket||this._connect(this.address,Object.assign({autoconnect:this.autoconnect,reconnect:this.reconnect,reconnect_interval:this.reconnect_interval,max_reconnects:this.max_reconnects},this.rest_options))}},{key:"call",value:function(t,e,n,r){var o=this;return r||"object"!==(0,i.default)(n)||(r=n,n=null),new Promise((function(i,a){if(!o.ready)return a(new Error("socket not ready"));var s=o.generate_request_id(t,e),u={jsonrpc:"2.0",method:t,params:e||null,id:s};o.socket.send(JSON.stringify(u),r,(function(t){if(t)return a(t);o.queue[s]={promise:[i,a]},n&&(o.queue[s].timeout=setTimeout((function(){delete o.queue[s],a(new Error("reply timeout"))}),n))}))}))}},{key:"login",value:(l=(0,r.default)(n.default.mark((function t(e){var r;return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.call("rpc.login",e);case 2:if(r=t.sent){t.next=5;break}throw new Error("authentication failed");case 5:return t.abrupt("return",r);case 6:case"end":return t.stop()}}),t,this)}))),function(t){return l.apply(this,arguments)})},{key:"listMethods",value:(c=(0,r.default)(n.default.mark((function t(){return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.call("__listMethods");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"notify",value:function(t,e){var n=this;return new Promise((function(r,i){if(!n.ready)return i(new Error("socket not ready"));var o={jsonrpc:"2.0",method:t,params:e||null};n.socket.send(JSON.stringify(o),(function(t){if(t)return i(t);r()}))}))}},{key:"subscribe",value:(u=(0,r.default)(n.default.mark((function t(e){var r;return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return"string"==typeof e&&(e=[e]),t.next=3,this.call("rpc.on",e);case 3:if(r=t.sent,"string"!=typeof e||"ok"===r[e]){t.next=6;break}throw new Error("Failed subscribing to an event '"+e+"' with: "+r[e]);case 6:return t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"unsubscribe",value:(e=(0,r.default)(n.default.mark((function t(e){var r;return n.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return"string"==typeof e&&(e=[e]),t.next=3,this.call("rpc.off",e);case 3:if(r=t.sent,"string"!=typeof e||"ok"===r[e]){t.next=6;break}throw new Error("Failed unsubscribing from an event with: "+r);case 6:return t.abrupt("return",r);case 7:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"close",value:function(t,e){this.socket.close(t||1e3,e)}},{key:"_connect",value:function(t,e){var n=this;clearTimeout(this.reconnect_timer_id),this.socket=this.webSocketFactory(t,e),this.socket.addEventListener("open",(function(){n.ready=!0,n.emit("open"),n.current_reconnects=0})),this.socket.addEventListener("message",(function(t){var e=t.data;e instanceof ArrayBuffer&&(e=bc.from(e).toString());try{e=JSON.parse(e)}catch(t){return}if(e.notification&&n.listeners(e.notification).length){if(!Object.keys(e.params).length)return n.emit(e.notification);var r=[e.notification];if(e.params.constructor===Object)r.push(e.params);else for(var i=0;in.current_reconnects||0===n.max_reconnects)&&(n.reconnect_timer_id=setTimeout((function(){return n._connect(t,e)}),n.reconnect_interval)))}))}}]),p}(l.EventEmitter);t.default=f}($p);var _m=nc($p),zm={};!function(t){var e=tm.exports;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(t,e){return new u(t,e)};var n=e(fm()),r=e(gm()),i=e(km()),o=e(Sm()),a=e(jm());function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=(0,a.default)(t);if(e){var i=(0,a.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,o.default)(this,n)}}var u=function(t){(0,i.default)(o,t);var e=s(o);function o(t,r,i){var a;return(0,n.default)(this,o),(a=e.call(this)).socket=new window.WebSocket(t,i),a.socket.onopen=function(){return a.emit("open")},a.socket.onmessage=function(t){return a.emit("message",t.data)},a.socket.onerror=function(t){return a.emit("error",t)},a.socket.onclose=function(t){a.emit("close",t.code,t.reason)},a}return(0,r.default)(o,[{key:"send",value:function(t,e,n){var r=n||e;try{this.socket.send(t),r()}catch(t){r(t)}}},{key:"close",value:function(t,e){this.socket.close(t,e)}},{key:"addEventListener",value:function(t,e,n){this.socket.addEventListener(t,e,n)}}]),o}(Om().EventEmitter)}(zm);for(var Pm=nc(zm),Bm=[],Rm=[],Um=[],Qm=BigInt(0),Wm=BigInt(1),Ym=BigInt(2),Fm=BigInt(7),Hm=BigInt(256),Gm=BigInt(113),Zm=0,Vm=Wm,Jm=1,qm=0;Zm<24;Zm++){var Xm=[qm,(2*Jm+3*qm)%5];Jm=Xm[0],qm=Xm[1],Bm.push(2*(5*qm+Jm)),Rm.push((Zm+1)*(Zm+2)/2%64);for(var Km=Qm,$m=0;$m<7;$m++)(Vm=(Vm<>Fm)*Gm)%Hm)&Ym&&(Km^=Wm<<(Wm<32?Jl.rotlBH(t,e,n):Jl.rotlSH(t,e,n)},ig=function(t,e,n){return n>32?Jl.rotlBL(t,e,n):Jl.rotlSL(t,e,n)};var og=function(t){pl(n,Yl);var e=Ll(n);function n(t,r,i){var o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:24;if(ll(this,n),(o=e.call(this)).blockLen=t,o.suffix=r,o.outputLen=i,o.enableXOF=a,o.rounds=s,o.pos=0,o.posOut=0,o.finished=!1,o.destroyed=!1,Bl.number(i),0>=o.blockLen||o.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");return o.state=new Uint8Array(200),o.state32=Rl(o.state),o}return dl(n,[{key:"keccak",value:function(){!function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,n=new Uint32Array(10),r=24-e;r<24;r++){for(var i=0;i<10;i++)n[i]=t[i]^t[i+10]^t[i+20]^t[i+30]^t[i+40];for(var o=0;o<10;o+=2)for(var a=(o+8)%10,s=(o+2)%10,u=n[s],c=n[s+1],l=rg(u,c,1)^n[a],h=ig(u,c,1)^n[a+1],d=0;d<50;d+=10)t[o+d]^=l,t[o+d+1]^=h;for(var f=t[2],p=t[3],m=0;m<24;m++){var g=Rm[m],y=rg(f,p,g),v=ig(f,p,g),b=Bm[m];f=t[b],p=t[b+1],t[b]=y,t[b+1]=v}for(var w=0;w<50;w+=10){for(var M=0;M<10;M++)n[M]=t[w+M];for(var k=0;k<10;k++)t[w+k]^=~n[(k+2)%10]&n[(k+4)%10]}t[0]^=eg[r],t[1]^=ng[r]}n.fill(0)}(this.state32,this.rounds),this.posOut=0,this.pos=0}},{key:"update",value:function(t){Bl.exists(this);for(var e=this.blockLen,n=this.state,r=(t=Wl(t)).length,i=0;i=n&&this.keccak();var o=Math.min(n-this.posOut,i-r);t.set(e.subarray(this.posOut,this.posOut+o),r),this.posOut+=o,r+=o}return t}},{key:"xofInto",value:function(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}},{key:"xof",value:function(t){return Bl.number(t),this.xofInto(new Uint8Array(t))}},{key:"digestInto",value:function(t){if(Bl.output(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}},{key:"digest",value:function(){return this.digestInto(new Uint8Array(this.outputLen))}},{key:"destroy",value:function(){this.destroyed=!0,this.state.fill(0)}},{key:"_cloneInto",value:function(t){var e=this.blockLen,r=this.suffix,i=this.outputLen,o=this.rounds,a=this.enableXOF;return t||(t=new n(e,r,i,a,o)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=o,t.suffix=r,t.outputLen=i,t.enableXOF=a,t.destroyed=this.destroyed,t}}]),n}(),ag=function(t,e,n){return Fl((function(){return new og(e,t,n)}))};ag(6,144,28),ag(6,136,32),ag(6,104,48),ag(6,72,64),ag(1,144,28);var sg=ag(1,136,32);ag(1,104,48),ag(1,72,64);var ug=function(t,e,n){return i=function(t,e){return r(e).update(Wl(t)).digest()},o=(r=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new og(e,t,void 0===r.dkLen?n:r.dkLen,!0)})({}),i.outputLen=o.outputLen,i.blockLen=o.blockLen,i.create=function(t){return r(t)},i;var r,i,o};ug(31,168,16),ug(31,136,32);var cg=function(t){pl(n,Yl);var e=Ll(n);function n(t,r){var i;ll(this,n),(i=e.call(this)).finished=!1,i.destroyed=!1,Bl.hash(t);var o=Wl(r);if(i.iHash=t.create(),"function"!=typeof i.iHash.update)throw new TypeError("Expected instance of class which extends utils.Hash");i.blockLen=i.iHash.blockLen,i.outputLen=i.iHash.outputLen;var a=i.blockLen,s=new Uint8Array(a);s.set(o.length>a?t.create().update(o).digest():o);for(var u=0;ua,d=l>a;if(h&&(c=e-c),d&&(l=e-l),c>a||l>a)throw new Error("splitScalarEndo: Endomorphism failed, k="+t);return{k1neg:h,k1:c,k2neg:d,k2:l}};function wg(t){var e=gg.a,n=gg.b,r=Hg(t*t),i=Hg(r*t);return Hg(i+e*t+n)}var Mg=gg.a===hg,kg=function(t){pl(n,bl(Error));var e=Ll(n);function n(t){return ll(this,n),e.call(this,t)}return dl(n)}();function Lg(t){if(!(t instanceof Ag))throw new TypeError("JacobianPoint expected")}var Ag=function(){function t(e,n,r){ll(this,t),this.x=e,this.y=n,this.z=r}return dl(t,[{key:"equals",value:function(t){Lg(t);var e=this.x,n=this.y,r=this.z,i=t.x,o=t.y,a=t.z,s=Hg(r*r),u=Hg(a*a),c=Hg(e*u),l=Hg(i*s),h=Hg(Hg(n*a)*u),d=Hg(Hg(o*r)*s);return c===l&&h===d}},{key:"negate",value:function(){return new t(this.x,Hg(-this.y),this.z)}},{key:"double",value:function(){var e=this.x,n=this.y,r=this.z,i=Hg(e*e),o=Hg(n*n),a=Hg(o*o),s=e+o,u=Hg(fg*(Hg(s*s)-i-a)),c=Hg(pg*i),l=Hg(c*c),h=Hg(l-fg*u);return new t(h,Hg(c*(u-h)-mg*a),Hg(fg*n*r))}},{key:"add",value:function(e){Lg(e);var n=this.x,r=this.y,i=this.z,o=e.x,a=e.y,s=e.z;if(o===hg||a===hg)return this;if(n===hg||r===hg)return e;var u=Hg(i*i),c=Hg(s*s),l=Hg(n*c),h=Hg(o*u),d=Hg(Hg(r*s)*c),f=Hg(Hg(a*i)*u),p=Hg(h-l),m=Hg(f-d);if(p===hg)return m===hg?this.double():t.ZERO;var g=Hg(p*p),y=Hg(p*g),v=Hg(l*g),b=Hg(m*m-y-fg*v);return new t(b,Hg(m*(v-b)-d*y),Hg(i*s*p))}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"multiplyUnsafe",value:function(e){var n=t.ZERO;if("bigint"==typeof e&&e===hg)return n;var r=Fg(e);if(r===dg)return this;if(!Mg){for(var i=n,o=this;r>hg;)r&dg&&(i=i.add(o)),o=o.double(),r>>=dg;return i}for(var a=bg(r),s=a.k1neg,u=a.k1,c=a.k2neg,l=a.k2,h=n,d=n,f=this;u>hg||l>hg;)u&dg&&(h=h.add(f)),l&dg&&(d=d.add(f)),f=f.double(),u>>=dg,l>>=dg;return s&&(h=h.negate()),c&&(d=d.negate()),d=new t(Hg(d.x*vg),d.y,d.z),h.add(d)}},{key:"precomputeWindow",value:function(t){for(var e=Mg?128/t+1:256/t+1,n=[],r=this,i=r,o=0;o>=h,p>u&&(p-=l,e+=dg);var m=f,g=f+Math.abs(p)-1,y=d%2!=0,v=p<0;0===p?a=a.add(xg(y,i[m])):o=o.add(xg(v,i[g]))}return{p:o,f:a}}},{key:"multiply",value:function(e,n){var r,i,o=Fg(e);if(Mg){var a=bg(o),s=a.k1neg,u=a.k1,c=a.k2neg,l=a.k2,h=this.wNAF(u,n),d=h.p,f=h.f,p=this.wNAF(l,n),m=p.p,g=p.f;d=xg(s,d),m=new t(Hg((m=xg(c,m)).x*vg),m.y,m.z),r=d.add(m),i=f.add(g)}else{var y=this.wNAF(o,n);r=y.p,i=y.f}return t.normalizeZ([r,i])[0]}},{key:"toAffine",value:function(e){var n=this.x,r=this.y,i=this.z,o=this.equals(t.ZERO);null==e&&(e=o?mg:Zg(i));var a=e,s=Hg(a*a),u=Hg(s*a),c=Hg(n*s),l=Hg(r*u),h=Hg(i*a);if(o)return Ng.ZERO;if(h!==dg)throw new Error("invZ was invalid");return new Ng(c,l)}}],[{key:"fromAffine",value:function(e){if(!(e instanceof Ng))throw new TypeError("JacobianPoint#fromAffine: expected Point");return e.equals(Ng.ZERO)?t.ZERO:new t(e.x,e.y,dg)}},{key:"toAffineBatch",value:function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gg.P,n=new Array(t.length),r=Zg(t.reduce((function(t,r,i){return r===hg?t:(n[i]=t,Hg(t*r,e))}),dg),e);return t.reduceRight((function(t,r,i){return r===hg?t:(n[i]=Hg(t*n[i],e),Hg(t*r,e))}),r),n}(t.map((function(t){return t.z})));return t.map((function(t,n){return t.toAffine(e[n])}))}},{key:"normalizeZ",value:function(e){return t.toAffineBatch(e).map(t.fromAffine)}}]),t}();function xg(t,e){var n=e.negate();return t?n:e}Ag.BASE=new Ag(gg.Gx,gg.Gy,dg),Ag.ZERO=new Ag(hg,dg,hg);var Eg=new WeakMap,Ng=function(){function t(e,n){ll(this,t),this.x=e,this.y=n}return dl(t,[{key:"_setWindowSize",value:function(t){this._WINDOW_SIZE=t,Eg.delete(this)}},{key:"hasEvenY",value:function(){return this.y%fg===hg}},{key:"toRawBytes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Qg(this.toHex(t))}},{key:"toHex",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Pg(this.x);if(t){var n=this.hasEvenY()?"02":"03";return"".concat(n).concat(e)}return"04".concat(e).concat(Pg(this.y))}},{key:"toHexX",value:function(){return this.toHex(!0).slice(2)}},{key:"toRawX",value:function(){return this.toRawBytes(!0).slice(1)}},{key:"assertValidity",value:function(){var t="Point is not on elliptic curve",e=this.x,n=this.y;if(!Kg(e)||!Kg(n))throw new Error(t);var r=Hg(n*n);if(Hg(r-wg(e))!==hg)throw new Error(t)}},{key:"equals",value:function(t){return this.x===t.x&&this.y===t.y}},{key:"negate",value:function(){return new t(this.x,Hg(-this.y))}},{key:"double",value:function(){return Ag.fromAffine(this).double().toAffine()}},{key:"add",value:function(t){return Ag.fromAffine(this).add(Ag.fromAffine(t)).toAffine()}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"multiply",value:function(t){return Ag.fromAffine(this).multiply(t,this).toAffine()}},{key:"multiplyAndAddUnsafe",value:function(e,n,r){var i=Ag.fromAffine(this),o=n===hg||n===dg||this!==t.BASE?i.multiplyUnsafe(n):i.multiply(n),a=Ag.fromAffine(e).multiplyUnsafe(r),s=o.add(a);return s.equals(Ag.ZERO)?void 0:s.toAffine()}}],[{key:"fromCompressedHex",value:function(e){var n=32===e.length,r=Wg(n?e:e.subarray(1));if(!Kg(r))throw new Error("Point is not on curve");var i=function(t){var e=gg.P,n=BigInt(6),r=BigInt(11),i=BigInt(22),o=BigInt(23),a=BigInt(44),s=BigInt(88),u=t*t*t%e,c=u*u*t%e,l=Gg(c,pg)*c%e,h=Gg(l,pg)*c%e,d=Gg(h,fg)*u%e,f=Gg(d,r)*d%e,p=Gg(f,i)*f%e,m=Gg(p,a)*p%e,g=Gg(m,s)*m%e,y=Gg(g,a)*p%e,v=Gg(y,pg)*c%e,b=Gg(v,o)*f%e,w=Gg(b,n)*u%e,M=Gg(w,fg);if(M*M%e!==t)throw new Error("Cannot find square root");return M}(wg(r)),o=(i&dg)===dg;n?o&&(i=Hg(-i)):1==(1&e[0])!==o&&(i=Hg(-i));var a=new t(r,i);return a.assertValidity(),a}},{key:"fromUncompressedHex",value:function(e){var n=new t(Wg(e.subarray(1,33)),Wg(e.subarray(33,65)));return n.assertValidity(),n}},{key:"fromHex",value:function(t){var e=Yg(t),n=e.length,r=e[0];if(32===n)return this.fromCompressedHex(e);if(33===n&&(2===r||3===r))return this.fromCompressedHex(e);if(65===n&&4===r)return this.fromUncompressedHex(e);throw new Error("Point.fromHex: received invalid point. Expected 32-".concat(33," compressed bytes or ").concat(65," uncompressed bytes, not ").concat(n))}},{key:"fromPrivateKey",value:function(e){return t.BASE.multiply(ty(e))}},{key:"fromSignature",value:function(e,n,r){var i=function(t){if(t instanceof Tg)return t.assertValidity(),t;try{return Tg.fromDER(t)}catch(e){return Tg.fromCompact(t)}}(n),o=i.r,a=i.s;if(![0,1,2,3].includes(r))throw new Error("Cannot recover: invalid recovery bit");var s=Jg(Yg(e)),u=gg.n,c=2===r||3===r?o+u:o,l=Zg(c,u),h=Hg(-s*l,u),d=Hg(a*l,u),f=1&r?"03":"02",p=t.fromHex(f+Pg(c)),m=t.BASE.multiplyAndAddUnsafe(p,h,d);if(!m)throw new Error("Cannot recover signature: point at infinify");return m.assertValidity(),m}}]),t}();function Sg(t){return Number.parseInt(t[0],16)>=8?"00"+t:t}function Ig(t){if(t.length<2||2!==t[0])throw new Error("Invalid signature integer tag: ".concat(Dg(t)));var e=t[1],n=t.subarray(2,e+2);if(!e||n.length!==e)throw new Error("Invalid signature integer: wrong length");if(0===n[0]&&n[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:Wg(n),left:t.subarray(e+2)}}Ng.BASE=new Ng(gg.Gx,gg.Gy),Ng.ZERO=new Ng(hg,hg);var Tg=function(){function t(e,n){ll(this,t),this.r=e,this.s=n,this.assertValidity()}return dl(t,[{key:"assertValidity",value:function(){var t=this.r,e=this.s;if(!Xg(t))throw new Error("Invalid Signature: r must be 0 < r < n");if(!Xg(e))throw new Error("Invalid Signature: s must be 0 < s < n")}},{key:"hasHighS",value:function(){var t=gg.n>>dg;return this.s>t}},{key:"normalizeS",value:function(){return this.hasHighS()?new t(this.r,Hg(-this.s,gg.n)):this}},{key:"toDERRawBytes",value:function(){return Qg(this.toDERHex())}},{key:"toDERHex",value:function(){var t=Sg(Rg(this.s)),e=Sg(Rg(this.r)),n=t.length/2,r=e.length/2,i=Rg(n),o=Rg(r),a=Rg(r+n+4);return"30".concat(a,"02").concat(o).concat(e,"02").concat(i).concat(t)}},{key:"toRawBytes",value:function(){return this.toDERRawBytes()}},{key:"toHex",value:function(){return this.toDERHex()}},{key:"toCompactRawBytes",value:function(){return Qg(this.toCompactHex())}},{key:"toCompactHex",value:function(){return Pg(this.r)+Pg(this.s)}}],[{key:"fromCompact",value:function(e){var n=e instanceof Uint8Array,r="Signature.fromCompact";if("string"!=typeof e&&!n)throw new TypeError("".concat(r,": Expected string or Uint8Array"));var i=n?Dg(e):e;if(128!==i.length)throw new Error("".concat(r,": Expected 64-byte hex"));return new t(Ug(i.slice(0,64)),Ug(i.slice(64,128)))}},{key:"fromDER",value:function(e){var n=e instanceof Uint8Array;if("string"!=typeof e&&!n)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");var r=function(t){if(t.length<2||48!=t[0])throw new Error("Invalid signature tag: ".concat(Dg(t)));if(t[1]!==t.length-2)throw new Error("Invalid signature: incorrect length");var e=Ig(t.subarray(2)),n=e.data,r=Ig(e.left),i=r.data,o=r.left;if(o.length)throw new Error("Invalid signature: left bytes after parsing: ".concat(Dg(o)));return{r:n,s:i}}(n?e:Qg(e));return new t(r.r,r.s)}},{key:"fromHex",value:function(t){return this.fromDER(t)}}]),t}();function jg(){for(var t=arguments.length,e=new Array(t),n=0;n0)return BigInt(t);if("bigint"==typeof t&&Xg(t))return t;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function Hg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gg.P,n=t%e;return n>=hg?n:e+n}function Gg(t,e){for(var n=gg.P,r=t;e-- >hg;)r*=r,r%=n;return r}function Zg(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gg.P;if(t===hg||e<=hg)throw new Error("invert: expected positive integers, got n=".concat(t," mod=").concat(e));for(var n=Hg(t,e),r=e,i=hg,o=dg;n!==hg;){var a=r/n,s=r%n,u=i-o*a;r=n,n=s,i=o,o=u}var c=r;if(c!==dg)throw new Error("invert: does not exist");return Hg(i,e)}function Vg(t){var e=8*t.length-256,n=Wg(t);return e>0?n>>BigInt(e):n}function Jg(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Vg(t);if(e)return n;var r=gg.n;return n>=r?n-r:n}var qg=function(){function t(e,n){if(ll(this,t),this.hashLen=e,this.qByteLen=n,"number"!=typeof e||e<2)throw new Error("hashLen must be a number");if("number"!=typeof n||n<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(e).fill(1),this.k=new Uint8Array(e).fill(0),this.counter=0}var e,n;return dl(t,[{key:"hmac",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}},{key:"reseed",value:(n=cl(al().mark((function t(){var e,n=arguments;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:new Uint8Array,t.next=3,this.hmac(this.v,Uint8Array.from([0]),e);case 3:return this.k=t.sent,t.next=6,this.hmac(this.v);case 6:if(this.v=t.sent,0!==e.length){t.next=9;break}return t.abrupt("return");case 9:return t.next=11,this.hmac(this.v,Uint8Array.from([1]),e);case 11:return this.k=t.sent,t.next=14,this.hmac(this.v);case 14:this.v=t.sent;case 15:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"reseedSync",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Uint8Array;this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),t),this.v=this.hmacSync(this.v),0!==t.length&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),t),this.v=this.hmacSync(this.v))}},{key:"generate",value:(e=cl(al().mark((function t(){var e,n,r;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.incr(),e=0,n=[];case 3:if(!(e3&&void 0!==arguments[3])||arguments[3],i=gg.n,o=Jg(t,!0);if(Xg(o)){var a=Zg(o,i),s=Ng.BASE.multiply(o),u=Hg(s.x,i);if(u!==hg){var c=Hg(a*Hg(e+n*u,i),i);if(c!==hg){var l=new Tg(u,c),h=(s.x===l.r?0:2)|Number(s.y&dg);return r&&l.hasHighS()&&(l=l.normalizeS(),h^=1),{sig:l,recovery:h}}}}}function ty(t){var e;if("bigint"==typeof t)e=t;else if("number"==typeof t&&Number.isSafeInteger(t)&&t>0)e=BigInt(t);else if("string"==typeof t){if(64!==t.length)throw new Error("Expected 32 bytes of private key");e=Ug(t)}else{if(!(t instanceof Uint8Array))throw new TypeError("Expected valid private key");if(32!==t.length)throw new Error("Expected 32 bytes of private key");e=Wg(t)}if(!Xg(e))throw new Error("Expected private key: 0 < key < n");return e}function ey(t){return Wg(t.length>32?t.slice(0,32):t)}function ny(t){var e=ey(t),n=Hg(e,gg.n);return ry(n1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return Bg(Hg(Wg(t),gg.n-dg)+dg)},randomBytes:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(uy.web)return uy.web.getRandomValues(new Uint8Array(t));if(uy.node){var e=uy.node.randomBytes;return Uint8Array.from(e(t))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:function(){return ly.hashToPrivateKey(ly.randomBytes(40))},precompute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ng.BASE,n=e===Ng.BASE?e:new Ng(e.x,e.y);return n._setWindowSize(t),n.multiply(pg),n},sha256:function(){var t=cl(al().mark((function t(){var e,n,r,i,o,a,s=arguments;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(e=s.length,n=new Array(e),r=0;r1?n-1:0),i=1;i1?i-1:0),a=1;a1?r-1:0),o=1;o32)throw new Error("Invalid public key input")}return e}return dl(a,[{key:"equals",value:function(t){return this._bn.eq(t._bn)}},{key:"toBase58",value:function(){return sd.encode(this.toBytes())}},{key:"toJSON",value:function(){return this.toBase58()}},{key:"toBytes",value:function(){var t=this.toBuffer();return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}},{key:"toBuffer",value:function(){var t=this._bn.toArrayLike(bc);if(32===t.length)return t;var e=bc.alloc(32);return t.copy(e,32-t.length),e}},{key:e,get:function(){return"PublicKey(".concat(this.toString(),")")}},{key:"toString",value:function(){return this.toBase58()}}],[{key:"unique",value:function(){var t=new a(xy);return xy+=1,new a(t.toBuffer())}},{key:"createWithSeed",value:(i=cl(al().mark((function t(e,n,r){var i,o;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=bc.concat([e.toBuffer(),bc.from(n),r.toBuffer()]),o=pd(i),t.abrupt("return",new a(o));case 3:case"end":return t.stop()}}),t)}))),function(t,e,n){return i.apply(this,arguments)})},{key:"createProgramAddressSync",value:function(t,e){var n=bc.alloc(0);t.forEach((function(t){if(t.length>32)throw new TypeError("Max seed length exceeded");n=bc.concat([n,My(t)])})),n=bc.concat([n,e.toBuffer(),bc.from("ProgramDerivedAddress")]);var r=pd(n);if(vy(r))throw new Error("Invalid seeds, address must fall off the curve");return new a(r)}},{key:"createProgramAddress",value:(r=cl(al().mark((function t(e,n){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.createProgramAddressSync(e,n));case 1:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"findProgramAddressSync",value:function(t,e){for(var n,r=255;0!=r;){try{var i=t.concat(bc.from([r]));n=this.createProgramAddressSync(i,e)}catch(t){if(t instanceof TypeError)throw t;r--;continue}return[n,r]}throw new Error("Unable to find a viable program address nonce")}},{key:"findProgramAddress",value:(n=cl(al().mark((function t(e,n){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.findProgramAddressSync(e,n));case 1:case"end":return t.stop()}}),t,this)}))),function(t,e){return n.apply(this,arguments)})},{key:"isOnCurve",value:function(t){return vy(new a(t).toBytes())}}]),a}(0,Symbol.toStringTag);Ey.default=new Ey("11111111111111111111111111111111"),Ay.set(Ey,{kind:"struct",fields:[["_bn","u256"]]});var Ny=function(){function t(e){if(ll(this,t),this._publicKey=void 0,this._secretKey=void 0,e){var n=My(e);if(64!==e.length)throw new Error("bad secret key size");this._publicKey=n.slice(32,64),this._secretKey=n.slice(0,32)}else this._secretKey=My(my()),this._publicKey=My(yy(this._secretKey))}return dl(t,[{key:"publicKey",get:function(){return new Ey(this._publicKey)}},{key:"secretKey",get:function(){return bc.concat([this._secretKey,this._publicKey],64)}}]),t}(),Sy=new Ey("BPFLoader1111111111111111111111111111111111"),Iy=function(t){pl(n,bl(Error));var e=Ll(n);function n(t){var r;return ll(this,n),(r=e.call(this,"Signature ".concat(t," has expired: block height exceeded."))).signature=void 0,r.signature=t,r}return dl(n)}();Object.defineProperty(Iy.prototype,"name",{value:"TransactionExpiredBlockheightExceededError"});var Ty=function(t){pl(n,bl(Error));var e=Ll(n);function n(t,r){var i;return ll(this,n),(i=e.call(this,"Transaction was not confirmed in ".concat(r.toFixed(2)," seconds. It is ")+"unknown if it succeeded or failed. Check signature "+"".concat(t," using the Solana Explorer or CLI tools."))).signature=void 0,i.signature=t,i}return dl(n)}();Object.defineProperty(Ty.prototype,"name",{value:"TransactionExpiredTimeoutError"});var jy=function(t){pl(n,bl(Error));var e=Ll(n);function n(t){var r;return ll(this,n),(r=e.call(this,"Signature ".concat(t," has expired: the nonce is no longer valid."))).signature=void 0,r.signature=t,r}return dl(n)}();Object.defineProperty(jy.prototype,"name",{value:"TransactionExpiredNonceInvalidError"});var Cy=function(){function t(e,n){ll(this,t),this.staticAccountKeys=void 0,this.accountKeysFromLookups=void 0,this.staticAccountKeys=e,this.accountKeysFromLookups=n}return dl(t,[{key:"keySegments",value:function(){var t=[this.staticAccountKeys];return this.accountKeysFromLookups&&(t.push(this.accountKeysFromLookups.writable),t.push(this.accountKeysFromLookups.readonly)),t}},{key:"get",value:function(t){var e,n=Dl(this.keySegments());try{for(n.s();!(e=n.n()).done;){var r=e.value;if(t256)throw new Error("Account index overflow encountered during compilation");var e=new Map;this.keySegments().flat().forEach((function(t,n){e.set(t.toBase58(),n)}));var n=function(t){var n=e.get(t.toBase58());if(void 0===n)throw new Error("Encountered an unknown instruction account key during compilation");return n};return t.map((function(t){return{programIdIndex:n(t.programId),accountKeyIndexes:t.keys.map((function(t){return n(t.pubkey)})),data:t.data}}))}}]),t}(),Dy=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"publicKey";return Rf(32,t)},Oy=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"signature";return Rf(64,t)},_y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"string",e=Pf([Of("length"),Of("lengthPadding"),Rf(jf(Of(),-8),"chars")],t),n=e.decode.bind(e),r=e.encode.bind(e),i=e;return i.decode=function(t,e){return n(t,e).chars.toString()},i.encode=function(t,e,n){var i={chars:bc.from(t,"utf8")};return r(i,e,n)},i.alloc=function(t){return Of().span+Of().span+bc.from(t,"utf8").length},i};function zy(t,e){var n=function t(n){if(n.span>=0)return n.span;if("function"==typeof n.alloc)return n.alloc(e[n.property]);if("count"in n&&"elementLayout"in n){var r=e[n.property];if(Array.isArray(r))return r.length*t(n.elementLayout)}else if("fields"in n)return zy({layout:n},e[n.property]);return 0},r=0;return t.layout.fields.forEach((function(t){r+=n(t)})),r}function Py(t){for(var e=0,n=0;;){var r=t.shift();if(e|=(127&r)<<7*n,n+=1,0==(128&r))break}return e}function By(t,e){for(var n=e;;){var r=127&n;if(0==(n>>=7)){t.push(r);break}r|=128,t.push(r)}}function Ry(t,e){if(!t)throw new Error(e||"Assertion failed")}var Uy,Qy=function(){function t(e,n){ll(this,t),this.payer=void 0,this.keyMetaMap=void 0,this.payer=e,this.keyMetaMap=n}return dl(t,[{key:"getMessageComponents",value:function(){var t=Nl(this.keyMetaMap.entries());Ry(t.length<=256,"Max static account keys length exceeded");var e=t.filter((function(t){var e=El(t,2)[1];return e.isSigner&&e.isWritable})),n=t.filter((function(t){var e=El(t,2)[1];return e.isSigner&&!e.isWritable})),r=t.filter((function(t){var e=El(t,2)[1];return!e.isSigner&&e.isWritable})),i=t.filter((function(t){var e=El(t,2)[1];return!e.isSigner&&!e.isWritable})),o={numRequiredSignatures:e.length+n.length,numReadonlySignedAccounts:n.length,numReadonlyUnsignedAccounts:i.length};return Ry(e.length>0,"Expected at least one writable signer key"),Ry(El(e[0],1)[0]===this.payer.toBase58(),"Expected first writable signer key to be the fee payer"),[o,[].concat(Nl(e.map((function(t){var e=El(t,1)[0];return new Ey(e)}))),Nl(n.map((function(t){var e=El(t,1)[0];return new Ey(e)}))),Nl(r.map((function(t){var e=El(t,1)[0];return new Ey(e)}))),Nl(i.map((function(t){var e=El(t,1)[0];return new Ey(e)}))))]}},{key:"extractTableLookup",value:function(t){var e=El(this.drainKeysFoundInLookupTable(t.state.addresses,(function(t){return!t.isSigner&&!t.isInvoked&&t.isWritable})),2),n=e[0],r=e[1],i=El(this.drainKeysFoundInLookupTable(t.state.addresses,(function(t){return!t.isSigner&&!t.isInvoked&&!t.isWritable})),2),o=i[0],a=i[1];if(0!==n.length||0!==o.length)return[{accountKey:t.key,writableIndexes:n,readonlyIndexes:o},{writable:r,readonly:a}]}},{key:"drainKeysFoundInLookupTable",value:function(t,e){var n,r=this,i=new Array,o=new Array,a=Dl(this.keyMetaMap.entries());try{var s=function(){var a=El(n.value,2),s=a[0],u=a[1];if(e(u)){var c=new Ey(s),l=t.findIndex((function(t){return t.equals(c)}));l>=0&&(Ry(l<256,"Max lookup table index exceeded"),i.push(l),o.push(c),r.keyMetaMap.delete(s))}};for(a.s();!(n=a.n()).done;)s()}catch(t){a.e(t)}finally{a.f()}return[i,o]}}],[{key:"compile",value:function(e,n){var r=new Map,i=function(t){var e=t.toBase58(),n=r.get(e);return void 0===n&&(n={isSigner:!1,isWritable:!1,isInvoked:!1},r.set(e,n)),n},o=i(n);o.isSigner=!0,o.isWritable=!0;var a,s=Dl(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;i(u.programId).isInvoked=!0;var c,l=Dl(u.keys);try{for(l.s();!(c=l.n()).done;){var h=c.value,d=i(h.pubkey);d.isSigner||(d.isSigner=h.isSigner),d.isWritable||(d.isWritable=h.isWritable)}}catch(t){l.e(t)}finally{l.f()}}}catch(t){s.e(t)}finally{s.f()}return new t(n,r)}}]),t}(),Wy=function(){function t(e){var n=this;ll(this,t),this.header=void 0,this.accountKeys=void 0,this.recentBlockhash=void 0,this.instructions=void 0,this.indexToProgramIds=new Map,this.header=e.header,this.accountKeys=e.accountKeys.map((function(t){return new Ey(t)})),this.recentBlockhash=e.recentBlockhash,this.instructions=e.instructions,this.instructions.forEach((function(t){return n.indexToProgramIds.set(t.programIdIndex,n.accountKeys[t.programIdIndex])}))}return dl(t,[{key:"version",get:function(){return"legacy"}},{key:"staticAccountKeys",get:function(){return this.accountKeys}},{key:"compiledInstructions",get:function(){return this.instructions.map((function(t){return{programIdIndex:t.programIdIndex,accountKeyIndexes:t.accounts,data:sd.decode(t.data)}}))}},{key:"addressTableLookups",get:function(){return[]}},{key:"getAccountKeys",value:function(){return new Cy(this.staticAccountKeys)}},{key:"isAccountSigner",value:function(t){return t=this.header.numRequiredSignatures?t-e0)throw new Error("Failed to get account keys because address table lookups were not resolved");return new Cy(this.staticAccountKeys,e)}},{key:"isAccountSigner",value:function(t){return t=n?t-n=this.header.numRequiredSignatures?t-e0?this.signatures[0].signature:null}},{key:"toJSON",value:function(){return{recentBlockhash:this.recentBlockhash||null,feePayer:this.feePayer?this.feePayer.toJSON():null,nonceInfo:this.nonceInfo?{nonce:this.nonceInfo.nonce,nonceInstruction:this.nonceInfo.nonceInstruction.toJSON()}:null,instructions:this.instructions.map((function(t){return t.toJSON()})),signers:this.signatures.map((function(t){return t.publicKey.toJSON()}))}}},{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r0&&this.signatures[0].publicKey))throw new Error("Transaction fee payer required");n=this.signatures[0].publicKey}for(var r=0;r-1?(a[n].isWritable=a[n].isWritable||t.isWritable,a[n].isSigner=a[n].isSigner||t.isSigner):a.push(t)})),a.sort((function(t,e){return t.isSigner!==e.isSigner?t.isSigner?-1:1:t.isWritable!==e.isWritable?t.isWritable?-1:1:t.pubkey.toBase58().localeCompare(e.pubkey.toBase58())}));var s=a.findIndex((function(t){return t.pubkey.equals(n)}));if(s>-1){var u=El(a.splice(s,1),1)[0];u.isSigner=!0,u.isWritable=!0,a.unshift(u)}else a.unshift({pubkey:n,isSigner:!0,isWritable:!0});var c,l=Dl(this.signatures);try{var h=function(){var t=c.value,e=a.findIndex((function(e){return e.pubkey.equals(t.publicKey)}));if(!(e>-1))throw new Error("unknown signer: ".concat(t.publicKey.toString()));a[e].isSigner||(a[e].isSigner=!0,console.warn("Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts should sign a transaction. This behavior is deprecated and will throw an error in the next major version release."))};for(l.s();!(c=l.n()).done;)h()}catch(t){l.e(t)}finally{l.f()}var d=0,f=0,p=0,m=[],g=[];a.forEach((function(t){var e=t.pubkey,n=t.isSigner,r=t.isWritable;n?(m.push(e.toString()),d+=1,r||(f+=1)):(g.push(e.toString()),r||(p+=1))}));var y=m.concat(g),v=e.map((function(t){var e=t.data,n=t.programId;return{programIdIndex:y.indexOf(n.toString()),accounts:t.keys.map((function(t){return y.indexOf(t.pubkey.toString())})),data:sd.encode(e)}}));return v.forEach((function(t){Ry(t.programIdIndex>=0),t.accounts.forEach((function(t){return Ry(t>=0)}))})),new Wy({header:{numRequiredSignatures:d,numReadonlySignedAccounts:f,numReadonlyUnsignedAccounts:p},accountKeys:y,recentBlockhash:t,instructions:v})}},{key:"_compile",value:function(){var t=this.compileMessage(),e=t.accountKeys.slice(0,t.header.numRequiredSignatures);if(this.signatures.length===e.length&&this.signatures.every((function(t,n){return e[n].equals(t.publicKey)})))return t;return this.signatures=e.map((function(t){return{signature:null,publicKey:t}})),t}},{key:"serializeMessage",value:function(){return this._compile().serialize()}},{key:"getEstimatedFee",value:(e=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getFeeForMessage(this.compileMessage());case 2:return t.abrupt("return",t.sent.value);case 3:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"setSigners",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n1?r-1:0),o=1;o ").concat(1232)),i}},{key:"keys",get:function(){return Ry(1===this.instructions.length),this.instructions[0].keys.map((function(t){return t.pubkey}))}},{key:"programId",get:function(){return Ry(1===this.instructions.length),this.instructions[0].programId}},{key:"data",get:function(){return Ry(1===this.instructions.length),this.instructions[0].data}}],[{key:"from",value:function(e){for(var n=Nl(e),r=Py(n),i=[],o=0;o1&&void 0!==arguments[1]?arguments[1]:[],r=new t;return r.recentBlockhash=e.recentBlockhash,e.header.numRequiredSignatures>0&&(r.feePayer=e.accountKeys[0]),n.forEach((function(t,n){var i={signature:t==sd.encode(Hy)?null:sd.decode(t),publicKey:e.accountKeys[n]};r.signatures.push(i)})),e.instructions.forEach((function(t){var n=t.accounts.map((function(t){var n=e.accountKeys[t];return{pubkey:n,isSigner:r.signatures.some((function(t){return t.publicKey.toString()===n.toString()}))||e.isAccountSigner(t),isWritable:e.isAccountWritable(t)}}));r.instructions.push(new Gy({keys:n,programId:e.accountKeys[t.programIdIndex],data:sd.decode(t.data)}))})),r._message=e,r._json=r.toJSON(),r}}]),t}(),Vy=function(){function t(e){ll(this,t),this.payerKey=void 0,this.instructions=void 0,this.recentBlockhash=void 0,this.payerKey=e.payerKey,this.instructions=e.instructions,this.recentBlockhash=e.recentBlockhash}return dl(t,[{key:"compileToLegacyMessage",value:function(){return Wy.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions})}},{key:"compileToV0Message",value:function(t){return Yy.compile({payerKey:this.payerKey,recentBlockhash:this.recentBlockhash,instructions:this.instructions,addressLookupTableAccounts:t})}}],[{key:"decompile",value:function(e,n){var r=e.header,i=e.compiledInstructions,o=e.recentBlockhash,a=r.numRequiredSignatures,s=r.numReadonlySignedAccounts,u=r.numReadonlyUnsignedAccounts,c=a-s;Ry(c>0,"Message header is invalid");var l=e.staticAccountKeys.length-a-u;Ry(l>=0,"Message header is invalid");var h=e.getAccountKeys(n),d=h.get(0);if(void 0===d)throw new Error("Failed to decompile message because no account keys were found");var f,p=[],m=Dl(i);try{for(m.s();!(f=m.n()).done;){var g,y=f.value,v=[],b=Dl(y.accountKeyIndexes);try{for(b.s();!(g=b.n()).done;){var w=g.value,M=h.get(w);if(void 0===M)throw new Error("Failed to find key for account key index ".concat(w));var k=void 0;k=w=0,"Cannot sign with non signer key ".concat(t.publicKey.toBase58())),n.signatures[o]=by(r,t.secretKey)};for(o.s();!(e=o.n()).done;)a()}catch(t){o.e(t)}finally{o.f()}}},{key:"addSignature",value:function(t,e){Ry(64===e.byteLength,"Signature must be 64 bytes long");var n=this.message.staticAccountKeys.slice(0,this.message.header.numRequiredSignatures).findIndex((function(e){return e.equals(t)}));Ry(n>=0,"Can not add signature; `".concat(t.toBase58(),"` is not required to sign this transaction")),this.signatures[n]=e}}],[{key:"deserialize",value:function(e){for(var n=Nl(e),r=[],i=Py(n),o=0;o=0?t.layout.span:zy(t,e),r=bc.alloc(n),i=Object.assign({instruction:t.index},e);return t.layout.encode(i,r),r}function cv(t,e){var n;try{n=t.layout.decode(e)}catch(t){throw new Error("invalid instruction; "+t)}if(n.instruction!==t.index)throw new Error("invalid instruction; instruction index mismatch ".concat(n.instruction," != ").concat(t.index));return n}var lv,hv=_f("lamportsPerSignature"),dv=Pf([Of("version"),Of("state"),Dy("authorizedPubkey"),Dy("nonce"),Pf([hv],"feeCalculator")]),fv=dv.span,pv=function(){function t(e){ll(this,t),this.authorizedPubkey=void 0,this.nonce=void 0,this.feeCalculator=void 0,this.authorizedPubkey=e.authorizedPubkey,this.nonce=e.nonce,this.feeCalculator=e.feeCalculator}return dl(t,null,[{key:"fromAccountData",value:function(e){var n=dv.decode(My(e),0);return new t({authorizedPubkey:new Ey(n.authorizedPubkey),nonce:new Ey(n.nonce).toString(),feeCalculator:n.feeCalculator})}}]),t}(),mv=(lv=8,function(t){var e=Rf(lv,t),n=function(t){return{decode:t.decode.bind(t),encode:t.encode.bind(t)}}(e),r=n.encode,i=n.decode,o=e;return o.decode=function(t,e){var n=i(t,e);return Qf(bc.from(n))},o.encode=function(t,e,n){var i=Wf(t,lv);return r(i,e,n)},o}),gv=function(){function t(){ll(this,t)}return dl(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Of("instruction").decode(t.data),r=0,i=Object.entries(yv);r0?s:1,space:a.length,programId:o}));case 17:if(null===c){e.next=20;break}return e.next=20,ov(n,c,[r,i],{commitment:"confirmed"});case 20:l=Pf([Of("instruction"),Of("offset"),Of("bytesLength"),Of("bytesLengthPadding"),Bf(Cf("byte"),jf(Of(),-8),"bytes")]),h=t.chunkSize,d=0,f=a,p=[];case 25:if(!(f.length>0)){e.next=39;break}if(m=f.slice(0,h),g=bc.alloc(h+16),l.encode({instruction:0,offset:d,bytes:m,bytesLength:0,bytesLengthPadding:0},g),y=(new Zy).add({keys:[{pubkey:i.publicKey,isSigner:!0,isWritable:!0}],programId:o,data:g}),p.push(ov(n,y,[r,i],{commitment:"confirmed"})),!n._rpcEndpoint.includes("solana.com")){e.next=35;break}return e.next=35,sv(250);case 35:d+=h,f=f.slice(h),e.next=25;break;case 39:return e.next=41,Promise.all(p);case 41:return v=Pf([Of("instruction")]),b=bc.alloc(v.span),v.encode({instruction:1},b),w=(new Zy).add({keys:[{pubkey:i.publicKey,isSigner:!0,isWritable:!0},{pubkey:tv,isSigner:!1,isWritable:!1}],programId:o,data:b}),e.next=47,ov(n,w,[r,i],{commitment:"confirmed"});case 47:return e.abrupt("return",!0);case 48:case"end":return e.stop()}}),e)}))),function(t,n,r,i,o){return e.apply(this,arguments)})}]),t}();bv.chunkSize=932;var wv=new Ey("BPFLoader2111111111111111111111111111111111"),Mv=function(){function t(){ll(this,t)}return dl(t,null,[{key:"getMinNumSignatures",value:function(t){return bv.getMinNumSignatures(t)}},{key:"load",value:function(t,e,n,r,i){return bv.load(t,e,n,i,r)}}]),t}(),kv=Object.prototype.toString,Lv=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};function Av(t,e){var n,r,i,o,a,s,u;if(!0===t)return"true";if(!1===t)return"false";switch(sl(t)){case"object":if(null===t)return null;if(t.toJSON&&"function"==typeof t.toJSON)return Av(t.toJSON(),e);if("[object Array]"===(u=kv.call(t))){for(i="[",r=t.length-1,n=0;n-1&&(i+=Av(t[n],!0)),i+"]"}if("[object Object]"===u){for(r=(o=Lv(t).sort()).length,i="",n=0;n1;)t/=2,e++;return e}var Nv=function(){function t(e,n,r,i,o){ll(this,t),this.slotsPerEpoch=void 0,this.leaderScheduleSlotOffset=void 0,this.warmup=void 0,this.firstNormalEpoch=void 0,this.firstNormalSlot=void 0,this.slotsPerEpoch=e,this.leaderScheduleSlotOffset=n,this.warmup=r,this.firstNormalEpoch=i,this.firstNormalSlot=o}return dl(t,[{key:"getEpoch",value:function(t){return this.getEpochAndSlotIndex(t)[0]}},{key:"getEpochAndSlotIndex",value:function(t){if(t>1,t|=t>>2,t|=t>>4,t|=t>>8,t|=t>>16,1+(t|=t>>32))}(t+32+1))-Ev(32)-1;return[e,t-(this.getSlotsInEpoch(e)-32)]}var n=t-this.firstNormalSlot,r=Math.floor(n/this.slotsPerEpoch);return[this.firstNormalEpoch+r,n%this.slotsPerEpoch]}},{key:"getFirstSlotInEpoch",value:function(t){return t<=this.firstNormalEpoch?32*(Math.pow(2,t)-1):(t-this.firstNormalEpoch)*this.slotsPerEpoch+this.firstNormalSlot}},{key:"getLastSlotInEpoch",value:function(t){return this.getFirstSlotInEpoch(t)+this.getSlotsInEpoch(t)-1}},{key:"getSlotsInEpoch",value:function(t){return t0&&(i.until=a.signatures[a.signatures.length-1].toString()),t.next=22;break;case 15:if(t.prev=15,t.t0=t.catch(8),!(t.t0 instanceof Error&&t.t0.message.includes("skipped"))){t.next=21;break}return t.abrupt("continue",4);case 21:throw t.t0;case 22:t.next=4;break;case 24:return t.next=26,this.getSlot("finalized");case 26:s=t.sent;case 27:if("before"in i){t.next=47;break}if(!(++r>s)){t.next=31;break}return t.abrupt("break",47);case 31:return t.prev=31,t.next=34,this.getConfirmedBlockSignatures(r);case 34:(u=t.sent).signatures.length>0&&(i.before=u.signatures[u.signatures.length-1].toString()),t.next=45;break;case 38:if(t.prev=38,t.t1=t.catch(31),!(t.t1 instanceof Error&&t.t1.message.includes("skipped"))){t.next=44;break}return t.abrupt("continue",27);case 44:throw t.t1;case 45:t.next=27;break;case 47:return t.next=49,this.getConfirmedSignaturesForAddress2(e,i);case 49:return c=t.sent,t.abrupt("return",c.map((function(t){return t.signature})));case 51:case"end":return t.stop()}}),t,this,[[8,15],[31,38]])}))),function(t,e,n){return L.apply(this,arguments)})},{key:"getConfirmedSignaturesForAddress2",value:(k=cl(al().mark((function t(e,n,r){var i,o,a;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this._buildArgsAtLeastConfirmed([e.toBase58()],r,void 0,n),t.next=3,this._rpcRequest("getConfirmedSignaturesForAddress2",i);case 3:if(o=t.sent,!("error"in(a=np(o,Ab)))){t.next=7;break}throw new Iv(a.error,"failed to get confirmed signatures for address");case 7:return t.abrupt("return",a.result);case 8:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return k.apply(this,arguments)})},{key:"getSignaturesForAddress",value:(M=cl(al().mark((function t(e,n,r){var i,o,a;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this._buildArgsAtLeastConfirmed([e.toBase58()],r,void 0,n),t.next=3,this._rpcRequest("getSignaturesForAddress",i);case 3:if(o=t.sent,!("error"in(a=np(o,xb)))){t.next=7;break}throw new Iv(a.error,"failed to get signatures for address");case 7:return t.abrupt("return",a.result);case 8:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return M.apply(this,arguments)})},{key:"getAddressLookupTable",value:(w=cl(al().mark((function t(e,n){var r,i,o,a;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getAccountInfoAndContext(e,n);case 2:return r=t.sent,i=r.context,o=r.value,a=null,null!==o&&(a=new Cv({key:e,state:Cv.deserialize(o.data)})),t.abrupt("return",{context:i,value:a});case 8:case"end":return t.stop()}}),t,this)}))),function(t,e){return w.apply(this,arguments)})},{key:"getNonceAndContext",value:(b=cl(al().mark((function t(e,n){var r,i,o,a;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getAccountInfoAndContext(e,n);case 2:return r=t.sent,i=r.context,o=r.value,a=null,null!==o&&(a=pv.fromAccountData(o.data)),t.abrupt("return",{context:i,value:a});case 8:case"end":return t.stop()}}),t,this)}))),function(t,e){return b.apply(this,arguments)})},{key:"getNonce",value:(v=cl(al().mark((function t(e,n){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getNonceAndContext(e,n).then((function(t){return t.value})).catch((function(t){throw new Error("failed to get nonce for account "+e.toBase58()+": "+t)}));case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)}))),function(t,e){return v.apply(this,arguments)})},{key:"requestAirdrop",value:(y=cl(al().mark((function t(e,n){var r,i;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._rpcRequest("requestAirdrop",[e.toBase58(),n]);case 2:if(r=t.sent,!("error"in(i=np(r,gw)))){t.next=6;break}throw new Iv(i.error,"airdrop to ".concat(e.toBase58()," failed"));case 6:return t.abrupt("return",i.result);case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return y.apply(this,arguments)})},{key:"_blockhashWithExpiryBlockHeight",value:(g=cl(al().mark((function t(e){var n,r;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=10;break}case 1:if(!this._pollingBlockhash){t.next=6;break}return t.next=4,sv(100);case 4:t.next=1;break;case 6:if(n=Date.now()-this._blockhashInfo.lastFetch,r=n>=3e4,null===this._blockhashInfo.latestBlockhash||r){t.next=10;break}return t.abrupt("return",this._blockhashInfo.latestBlockhash);case 10:return t.next=12,this._pollNewBlockhash();case 12:return t.abrupt("return",t.sent);case 13:case"end":return t.stop()}}),t,this)}))),function(t){return g.apply(this,arguments)})},{key:"_pollNewBlockhash",value:(m=cl(al().mark((function t(){var e,n,r,i,o;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this._pollingBlockhash=!0,t.prev=1,e=Date.now(),n=this._blockhashInfo.latestBlockhash,r=n?n.blockhash:null,i=0;case 6:if(!(i<50)){t.next=18;break}return t.next=9,this.getLatestBlockhash("finalized");case 9:if(o=t.sent,r===o.blockhash){t.next=13;break}return this._blockhashInfo={latestBlockhash:o,lastFetch:Date.now(),transactionSignatures:[],simulatedSignatures:[]},t.abrupt("return",o);case 13:return t.next=15,sv(200);case 15:i++,t.next=6;break;case 18:throw new Error("Unable to obtain a new blockhash after ".concat(Date.now()-e,"ms"));case 19:return t.prev=19,this._pollingBlockhash=!1,t.finish(19);case 22:case"end":return t.stop()}}),t,this,[[1,,19,22]])}))),function(){return m.apply(this,arguments)})},{key:"getStakeMinimumDelegation",value:(p=cl(al().mark((function t(e){var n,r,i,o,a,s;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Bv(e),r=n.commitment,i=n.config,o=this._buildArgs([],r,"base64",i),t.next=4,this._rpcRequest("getStakeMinimumDelegation",o);case 4:if(a=t.sent,!("error"in(s=np(a,Wv(hp()))))){t.next=8;break}throw new Iv(s.error,"failed to get stake minimum delegation");case 8:return t.abrupt("return",s.result);case 9:case"end":return t.stop()}}),t,this)}))),function(t){return p.apply(this,arguments)})},{key:"simulateTransaction",value:(f=cl(al().mark((function t(e,n,r){var i,o,a,s,u,c,l,h,d,f,p,m,g,y,v,b,w,M,k,L,A,x,E,N,S,I;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("message"in e)){t.next=17;break}if(i=e.serialize(),o=bc.from(i).toString("base64"),!Array.isArray(n)&&void 0===r){t.next=6;break}throw new Error("Invalid arguments");case 6:return(a=n||{}).encoding="base64","commitment"in a||(a.commitment=this.commitment),s=[o,a],t.next=12,this._rpcRequest("simulateTransaction",s);case 12:if(u=t.sent,!("error"in(c=np(u,nb)))){t.next=16;break}throw new Error("failed to simulate transaction: "+c.error.message);case 16:return t.abrupt("return",c.result);case 17:if(e instanceof Zy?(h=e,(l=new Zy).feePayer=h.feePayer,l.instructions=e.instructions,l.nonceInfo=h.nonceInfo,l.signatures=h.signatures):(l=Zy.populate(e))._message=l._json=void 0,void 0===n||Array.isArray(n)){t.next=20;break}throw new Error("Invalid arguments");case 20:if(d=n,!l.nonceInfo||!d){t.next=25;break}(f=l).sign.apply(f,Nl(d)),t.next=45;break;case 25:p=this._disableBlockhashCaching;case 26:return t.next=28,this._blockhashWithExpiryBlockHeight(p);case 28:if(g=t.sent,l.lastValidBlockHeight=g.lastValidBlockHeight,l.recentBlockhash=g.blockhash,d){t.next=33;break}return t.abrupt("break",45);case 33:if((m=l).sign.apply(m,Nl(d)),l.signature){t.next=36;break}throw new Error("!signature");case 36:if(y=l.signature.toString("base64"),this._blockhashInfo.simulatedSignatures.includes(y)||this._blockhashInfo.transactionSignatures.includes(y)){t.next=42;break}return this._blockhashInfo.simulatedSignatures.push(y),t.abrupt("break",45);case 42:p=!0;case 43:t.next=26;break;case 45:return v=l._compile(),b=v.serialize(),w=l._serialize(b),M=w.toString("base64"),k={encoding:"base64",commitment:this.commitment},r&&(L=(Array.isArray(r)?r:v.nonProgramIds()).map((function(t){return t.toBase58()})),k.accounts={encoding:"base64",addresses:L}),d&&(k.sigVerify=!0),A=[M,k],t.next=55,this._rpcRequest("simulateTransaction",A);case 55:if(x=t.sent,!("error"in(E=np(x,nb)))){t.next=60;break}throw"data"in E.error&&(N=E.error.data.logs)&&Array.isArray(N)&&(I=(S="\n ")+N.join(S),console.error(E.error.message,I)),new Sv("failed to simulate transaction: "+E.error.message,N);case 60:return t.abrupt("return",E.result);case 61:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return f.apply(this,arguments)})},{key:"sendTransaction",value:(d=cl(al().mark((function t(e,n,r){var i,o,a,s,u,c;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("version"in e)){t.next=7;break}if(!n||!Array.isArray(n)){t.next=3;break}throw new Error("Invalid arguments");case 3:return i=e.serialize(),t.next=6,this.sendRawTransaction(i,n);case 6:return t.abrupt("return",t.sent);case 7:if(void 0!==n&&Array.isArray(n)){t.next=9;break}throw new Error("Invalid arguments");case 9:if(o=n,!e.nonceInfo){t.next=14;break}e.sign.apply(e,Nl(o)),t.next=32;break;case 14:a=this._disableBlockhashCaching;case 15:return t.next=17,this._blockhashWithExpiryBlockHeight(a);case 17:if(s=t.sent,e.lastValidBlockHeight=s.lastValidBlockHeight,e.recentBlockhash=s.blockhash,e.sign.apply(e,Nl(o)),e.signature){t.next=23;break}throw new Error("!signature");case 23:if(u=e.signature.toString("base64"),this._blockhashInfo.transactionSignatures.includes(u)){t.next=29;break}return this._blockhashInfo.transactionSignatures.push(u),t.abrupt("break",32);case 29:a=!0;case 30:t.next=15;break;case 32:return c=e.serialize(),t.next=35,this.sendRawTransaction(c,r);case 35:return t.abrupt("return",t.sent);case 36:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return d.apply(this,arguments)})},{key:"sendRawTransaction",value:(h=cl(al().mark((function t(e,n){var r,i;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=My(e).toString("base64"),t.next=3,this.sendEncodedTransaction(r,n);case 3:return i=t.sent,t.abrupt("return",i);case 5:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"sendEncodedTransaction",value:(l=cl(al().mark((function t(e,n){var r,i,o,a,s,u,c;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={encoding:"base64"},i=n&&n.skipPreflight,o=n&&n.preflightCommitment||this.commitment,n&&null!=n.maxRetries&&(r.maxRetries=n.maxRetries),n&&null!=n.minContextSlot&&(r.minContextSlot=n.minContextSlot),i&&(r.skipPreflight=i),o&&(r.preflightCommitment=o),a=[e,r],t.next=10,this._rpcRequest("sendTransaction",a);case 10:if(s=t.sent,!("error"in(u=np(s,yw)))){t.next=15;break}throw"data"in u.error&&(c=u.error.data.logs),new Sv("failed to send transaction: "+u.error.message,c);case 15:return t.abrupt("return",u.result);case 16:case"end":return t.stop()}}),t,this)}))),function(t,e){return l.apply(this,arguments)})},{key:"_wsOnOpen",value:function(){var t=this;this._rpcWebSocketConnected=!0,this._rpcWebSocketHeartbeat=setInterval((function(){cl(al().mark((function e(){return al().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t._rpcWebSocket.notify("ping");case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})))()}),5e3),this._updateSubscriptions()}},{key:"_wsOnError",value:function(t){this._rpcWebSocketConnected=!1,console.error("ws error:",t.message)}},{key:"_wsOnClose",value:function(t){var e=this;this._rpcWebSocketConnected=!1,this._rpcWebSocketGeneration=(this._rpcWebSocketGeneration+1)%Number.MAX_SAFE_INTEGER,this._rpcWebSocketIdleTimeout&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null),this._rpcWebSocketHeartbeat&&(clearInterval(this._rpcWebSocketHeartbeat),this._rpcWebSocketHeartbeat=null),1e3!==t?(this._subscriptionCallbacksByServerSubscriptionId={},Object.entries(this._subscriptionsByHash).forEach((function(t){var n=El(t,2),r=n[0],i=n[1];e._setSubscription(r,ol(ol({},i),{},{state:"pending"}))}))):this._updateSubscriptions()}},{key:"_setSubscription",value:function(t,e){var n,r=null===(n=this._subscriptionsByHash[t])||void 0===n?void 0:n.state;if(this._subscriptionsByHash[t]=e,r!==e.state){var i=this._subscriptionStateChangeCallbacksByHash[t];i&&i.forEach((function(t){try{t(e.state)}catch(t){}}))}}},{key:"_onSubscriptionStateChange",value:function(t,e){var n,r=this,i=this._subscriptionHashByClientSubscriptionId[t];if(null==i)return function(){};var o=(n=this._subscriptionStateChangeCallbacksByHash)[i]||(n[i]=new Set);return o.add(e),function(){o.delete(e),0===o.size&&delete r._subscriptionStateChangeCallbacksByHash[i]}}},{key:"_updateSubscriptions",value:(c=cl(al().mark((function t(){var e,n,r=this;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==Object.keys(this._subscriptionsByHash).length){t.next=3;break}return this._rpcWebSocketConnected&&(this._rpcWebSocketConnected=!1,this._rpcWebSocketIdleTimeout=setTimeout((function(){r._rpcWebSocketIdleTimeout=null;try{r._rpcWebSocket.close()}catch(t){t instanceof Error&&console.log("Error when closing socket connection: ".concat(t.message))}}),500)),t.abrupt("return");case 3:if(null!==this._rpcWebSocketIdleTimeout&&(clearTimeout(this._rpcWebSocketIdleTimeout),this._rpcWebSocketIdleTimeout=null,this._rpcWebSocketConnected=!0),this._rpcWebSocketConnected){t.next=7;break}return this._rpcWebSocket.connect(),t.abrupt("return");case 7:return e=this._rpcWebSocketGeneration,n=function(){return e===r._rpcWebSocketGeneration},t.next=11,Promise.all(Object.keys(this._subscriptionsByHash).map(function(){var t=cl(al().mark((function t(e){var i;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==(i=r._subscriptionsByHash[e])){t.next=3;break}return t.abrupt("return");case 3:t.t0=i.state,t.next="pending"===t.t0||"unsubscribed"===t.t0?6:"subscribed"===t.t0?15:19;break;case 6:if(0!==i.callbacks.size){t.next=12;break}return delete r._subscriptionsByHash[e],"unsubscribed"===i.state&&delete r._subscriptionCallbacksByServerSubscriptionId[i.serverSubscriptionId],t.next=11,r._updateSubscriptions();case 11:return t.abrupt("return");case 12:return t.next=14,cl(al().mark((function t(){var o,a,s;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=i.args,a=i.method,t.prev=1,r._setSubscription(e,ol(ol({},i),{},{state:"subscribing"})),t.next=5,r._rpcWebSocket.call(a,o);case 5:return s=t.sent,r._setSubscription(e,ol(ol({},i),{},{serverSubscriptionId:s,state:"subscribed"})),r._subscriptionCallbacksByServerSubscriptionId[s]=i.callbacks,t.next=10,r._updateSubscriptions();case 10:t.next=20;break;case 12:if(t.prev=12,t.t0=t.catch(1),t.t0 instanceof Error&&console.error("".concat(a," error for argument"),o,t.t0.message),n()){t.next=17;break}return t.abrupt("return");case 17:return r._setSubscription(e,ol(ol({},i),{},{state:"pending"})),t.next=20,r._updateSubscriptions();case 20:case"end":return t.stop()}}),t,null,[[1,12]])})))();case 14:return t.abrupt("break",19);case 15:if(0!==i.callbacks.size){t.next=18;break}return t.next=18,cl(al().mark((function t(){var o,a;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=i.serverSubscriptionId,a=i.unsubscribeMethod,!r._subscriptionsAutoDisposedByRpc.has(o)){t.next=5;break}r._subscriptionsAutoDisposedByRpc.delete(o),t.next=21;break;case 5:return r._setSubscription(e,ol(ol({},i),{},{state:"unsubscribing"})),r._setSubscription(e,ol(ol({},i),{},{state:"unsubscribing"})),t.prev=7,t.next=10,r._rpcWebSocket.call(a,[o]);case 10:t.next=21;break;case 12:if(t.prev=12,t.t0=t.catch(7),t.t0 instanceof Error&&console.error("".concat(a," error:"),t.t0.message),n()){t.next=17;break}return t.abrupt("return");case 17:return r._setSubscription(e,ol(ol({},i),{},{state:"subscribed"})),t.next=20,r._updateSubscriptions();case 20:return t.abrupt("return");case 21:return r._setSubscription(e,ol(ol({},i),{},{state:"unsubscribed"})),t.next=24,r._updateSubscriptions();case 24:case"end":return t.stop()}}),t,null,[[7,12]])})))();case 18:return t.abrupt("break",19);case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()));case 11:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"_handleServerNotification",value:function(t,e){var n=this._subscriptionCallbacksByServerSubscriptionId[t];void 0!==n&&n.forEach((function(t){try{t.apply(void 0,Nl(e))}catch(t){console.error(t)}}))}},{key:"_wsOnAccountNotification",value:function(t){var e=np(t,Eb),n=e.result,r=e.subscription;this._handleServerNotification(r,[n.value,n.context])}},{key:"_makeSubscription",value:function(t,e){var n=this,r=this._nextClientSubscriptionId++,i=xv([t.method,e]),o=this._subscriptionsByHash[i];return void 0===o?this._subscriptionsByHash[i]=ol(ol({},t),{},{args:e,callbacks:new Set([t.callback]),state:"pending"}):o.callbacks.add(t.callback),this._subscriptionHashByClientSubscriptionId[r]=i,this._subscriptionDisposeFunctionsByClientSubscriptionId[r]=cl(al().mark((function e(){var o;return al().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete n._subscriptionDisposeFunctionsByClientSubscriptionId[r],delete n._subscriptionHashByClientSubscriptionId[r],Ry(void 0!==(o=n._subscriptionsByHash[i]),"Could not find a `Subscription` when tearing down client subscription #".concat(r)),o.callbacks.delete(t.callback),e.next=7,n._updateSubscriptions();case 7:case"end":return e.stop()}}),e)}))),this._updateSubscriptions(),r}},{key:"onAccountChange",value:function(t,e,n){var r=this._buildArgs([t.toBase58()],n||this._commitment||"finalized","base64");return this._makeSubscription({callback:e,method:"accountSubscribe",unsubscribeMethod:"accountUnsubscribe"},r)}},{key:"removeAccountChangeListener",value:(u=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"account change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"_wsOnProgramAccountNotification",value:function(t){var e=np(t,Sb),n=e.result,r=e.subscription;this._handleServerNotification(r,[{accountId:n.value.pubkey,accountInfo:n.value.account},n.context])}},{key:"onProgramAccountChange",value:function(t,e,n,r){var i=this._buildArgs([t.toBase58()],n||this._commitment||"finalized","base64",r?{filters:r}:void 0);return this._makeSubscription({callback:e,method:"programSubscribe",unsubscribeMethod:"programUnsubscribe"},i)}},{key:"removeProgramAccountChangeListener",value:(s=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"program account change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return s.apply(this,arguments)})},{key:"onLogs",value:function(t,e,n){var r=this._buildArgs(["object"===sl(t)?{mentions:[t.toString()]}:t],n||this._commitment||"finalized");return this._makeSubscription({callback:e,method:"logsSubscribe",unsubscribeMethod:"logsUnsubscribe"},r)}},{key:"removeOnLogsListener",value:(a=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"logs");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"_wsOnLogsNotification",value:function(t){var e=np(t,bw),n=e.result,r=e.subscription;this._handleServerNotification(r,[n.value,n.context])}},{key:"_wsOnSlotNotification",value:function(t){var e=np(t,Tb),n=e.result,r=e.subscription;this._handleServerNotification(r,[n])}},{key:"onSlotChange",value:function(t){return this._makeSubscription({callback:t,method:"slotSubscribe",unsubscribeMethod:"slotUnsubscribe"},[])}},{key:"removeSlotChangeListener",value:(o=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"slot change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return o.apply(this,arguments)})},{key:"_wsOnSlotUpdatesNotification",value:function(t){var e=np(t,Cb),n=e.result,r=e.subscription;this._handleServerNotification(r,[n])}},{key:"onSlotUpdate",value:function(t){return this._makeSubscription({callback:t,method:"slotsUpdatesSubscribe",unsubscribeMethod:"slotsUpdatesUnsubscribe"},[])}},{key:"removeSlotUpdateListener",value:(i=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"slot update");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"_unsubscribeClientSubscription",value:(r=cl(al().mark((function t(e,n){var r;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=this._subscriptionDisposeFunctionsByClientSubscriptionId[e])){t.next=6;break}return t.next=4,r();case 4:t.next=7;break;case 6:console.warn("Ignored unsubscribe request because an active subscription with id "+"`".concat(e,"` for '").concat(n,"' events ")+"could not be found.");case 7:case"end":return t.stop()}}),t,this)}))),function(t,e){return r.apply(this,arguments)})},{key:"_buildArgs",value:function(t,e,n,r){var i=e||this._commitment;if(i||n||r){var o={};n&&(o.encoding=n),i&&(o.commitment=i),r&&(o=Object.assign(o,r)),t.push(o)}return t}},{key:"_buildArgsAtLeastConfirmed",value:function(t,e,n,r){var i=e||this._commitment;if(i&&!["confirmed","finalized"].includes(i))throw new Error("Using Connection with default commitment: `"+this._commitment+"`, but method requires at least `confirmed`");return this._buildArgs(t,e,n,r)}},{key:"_wsOnSignatureNotification",value:function(t){var e=np(t,Db),n=e.result,r=e.subscription;"receivedSignature"!==n.value&&this._subscriptionsAutoDisposedByRpc.add(r),this._handleServerNotification(r,"receivedSignature"===n.value?[{type:"received"},n.context]:[{type:"status",result:n.value},n.context])}},{key:"onSignature",value:function(t,e,n){var r=this,i=this._buildArgs([t],n||this._commitment||"finalized"),o=this._makeSubscription({callback:function(t,n){if("status"===t.type){e(t.result,n);try{r.removeSignatureListener(o)}catch(t){}}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},i);return o}},{key:"onSignatureWithOptions",value:function(t,e,n){var r=this,i=ol(ol({},n),{},{commitment:n&&n.commitment||this._commitment||"finalized"}),o=i.commitment,a=wl(i,py),s=this._buildArgs([t],o,void 0,a),u=this._makeSubscription({callback:function(t,n){e(t,n);try{r.removeSignatureListener(u)}catch(t){}},method:"signatureSubscribe",unsubscribeMethod:"signatureUnsubscribe"},s);return u}},{key:"removeSignatureListener",value:(n=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"signature result");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return n.apply(this,arguments)})},{key:"_wsOnRootNotification",value:function(t){var e=np(t,Ob),n=e.result,r=e.subscription;this._handleServerNotification(r,[n])}},{key:"onRootChange",value:function(t){return this._makeSubscription({callback:t,method:"rootSubscribe",unsubscribeMethod:"rootUnsubscribe"},[])}},{key:"removeRootChangeListener",value:(e=cl(al().mark((function t(e){return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._unsubscribeClientSubscription(e,"root change");case 2:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),kw=function(){function t(e){ll(this,t),this._keypair=void 0,this._keypair=null!=e?e:gy()}return dl(t,[{key:"publicKey",get:function(){return new Ey(this._keypair.publicKey)}},{key:"secretKey",get:function(){return new Uint8Array(this._keypair.secretKey)}}],[{key:"generate",value:function(){return new t(gy())}},{key:"fromSecretKey",value:function(e,n){if(64!==e.byteLength)throw new Error("bad secret key size");var r=e.slice(32,64);if(!n||!n.skipValidation)for(var i=e.slice(0,32),o=yy(i),a=0;a<32;a++)if(r[a]!==o[a])throw new Error("provided secretKey is invalid");return new t({publicKey:r,secretKey:e})}},{key:"fromSeed",value:function(e){var n=yy(e),r=new Uint8Array(64);return r.set(e),r.set(n,32),new t({publicKey:n,secretKey:r})}}]),t}(),Lw=Object.freeze({CreateLookupTable:{index:0,layout:Pf([Of("instruction"),mv("recentSlot"),Cf("bumpSeed")])},FreezeLookupTable:{index:1,layout:Pf([Of("instruction")])},ExtendLookupTable:{index:2,layout:Pf([Of("instruction"),mv(),Bf(Dy(),jf(Of(),-8),"addresses")])},DeactivateLookupTable:{index:3,layout:Pf([Of("instruction")])},CloseLookupTable:{index:4,layout:Pf([Of("instruction")])}}),Aw=function(){function t(){ll(this,t)}return dl(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Of("instruction").decode(t.data),r=0,i=Object.entries(Lw);r2?t.keys[2].pubkey:void 0,addresses:e.map((function(t){return new Ey(t)}))}}},{key:"decodeCloseLookupTable",value:function(t){return this.checkProgramId(t.programId),this.checkKeysLength(t.keys,3),{lookupTable:t.keys[0].pubkey,authority:t.keys[1].pubkey,recipient:t.keys[2].pubkey}}},{key:"decodeFreezeLookupTable",value:function(t){return this.checkProgramId(t.programId),this.checkKeysLength(t.keys,2),{lookupTable:t.keys[0].pubkey,authority:t.keys[1].pubkey}}},{key:"decodeDeactivateLookupTable",value:function(t){return this.checkProgramId(t.programId),this.checkKeysLength(t.keys,2),{lookupTable:t.keys[0].pubkey,authority:t.keys[1].pubkey}}},{key:"checkProgramId",value:function(t){if(!t.equals(xw.programId))throw new Error("invalid instruction; programId is not AddressLookupTable Program")}},{key:"checkKeysLength",value:function(t,e){if(t.length1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{},i=iy(t,e,r.extraEntropy),o=i.seed,a=i.m,s=i.d,u=new qg(32,32);for(u.reseedSync(o);!(n=$g(u.generateSync(),a,s,r.canonical));)u.reseedSync();return oy(n,r)}(t,e,{der:!1,recovered:!0})};ly.isValidPrivateKey;var Cw=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Ng.fromPrivateKey(t).toRawBytes(e)},Dw=Pf([Cf("numSignatures"),Df("signatureOffset"),Cf("signatureInstructionIndex"),Df("ethAddressOffset"),Cf("ethAddressInstructionIndex"),Df("messageDataOffset"),Df("messageDataSize"),Cf("messageInstructionIndex"),Rf(20,"ethAddress"),Rf(64,"signature"),Cf("recoveryId")]),Ow=function(){function t(){ll(this,t)}return dl(t,null,[{key:"publicKeyToEthAddress",value:function(t){Ry(64===t.length,"Public key must be ".concat(64," bytes but received ").concat(t.length," bytes"));try{return bc.from(sg(My(t))).slice(-20)}catch(t){throw new Error("Error constructing Ethereum address: ".concat(t))}}},{key:"createInstructionWithPublicKey",value:function(e){var n=e.publicKey,r=e.message,i=e.signature,o=e.recoveryId,a=e.instructionIndex;return t.createInstructionWithEthAddress({ethAddress:t.publicKeyToEthAddress(n),message:r,signature:i,recoveryId:o,instructionIndex:a})}},{key:"createInstructionWithEthAddress",value:function(e){var n,r=e.ethAddress,i=e.message,o=e.signature,a=e.recoveryId,s=e.instructionIndex,u=void 0===s?0:s;Ry(20===(n="string"==typeof r?r.startsWith("0x")?bc.from(r.substr(2),"hex"):bc.from(r,"hex"):r).length,"Address must be ".concat(20," bytes but received ").concat(n.length," bytes"));var c=12+n.length,l=c+o.length+1,h=bc.alloc(Dw.span+i.length);return Dw.encode({numSignatures:1,signatureOffset:c,signatureInstructionIndex:u,ethAddressOffset:12,ethAddressInstructionIndex:u,messageDataOffset:l,messageDataSize:i.length,messageInstructionIndex:u,signature:My(o),ethAddress:My(n),recoveryId:a},h),h.fill(My(i),Dw.span),new Gy({keys:[],programId:t.programId,data:h})}},{key:"createInstructionWithPrivateKey",value:function(t){var e=t.privateKey,n=t.message,r=t.instructionIndex;Ry(32===e.length,"Private key must be ".concat(32," bytes but received ").concat(e.length," bytes"));try{var i=My(e),o=Cw(i,!1).slice(1),a=bc.from(sg(My(n))),s=El(jw(a,i),2),u=s[0],c=s[1];return this.createInstructionWithPublicKey({publicKey:o,message:n,signature:u,recoveryId:c,instructionIndex:r})}catch(t){throw new Error("Error creating instruction; ".concat(t))}}}]),t}();Ow.programId=new Ey("KeccakSecp256k11111111111111111111111111111");var _w=new Ey("StakeConfig11111111111111111111111111111111"),zw=dl((function t(e,n){ll(this,t),this.staker=void 0,this.withdrawer=void 0,this.staker=e,this.withdrawer=n})),Pw=dl((function t(e,n,r){ll(this,t),this.unixTimestamp=void 0,this.epoch=void 0,this.custodian=void 0,this.unixTimestamp=e,this.epoch=n,this.custodian=r}));Pw.default=new Pw(0,0,Ey.default);var Bw=function(){function t(){ll(this,t)}return dl(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Of("instruction").decode(t.data),r=0,i=Object.entries(Rw);r3&&(i.custodianPubkey=t.keys[3].pubkey),i}},{key:"decodeAuthorizeWithSeed",value:function(t){this.checkProgramId(t.programId),this.checkKeyLength(t.keys,2);var e=cv(Rw.AuthorizeWithSeed,t.data),n=e.newAuthorized,r=e.stakeAuthorizationType,i=e.authoritySeed,o=e.authorityOwner,a={stakePubkey:t.keys[0].pubkey,authorityBase:t.keys[1].pubkey,authoritySeed:i,authorityOwner:new Ey(o),newAuthorizedPubkey:new Ey(n),stakeAuthorizationType:{index:r}};return t.keys.length>3&&(a.custodianPubkey=t.keys[3].pubkey),a}},{key:"decodeSplit",value:function(t){this.checkProgramId(t.programId),this.checkKeyLength(t.keys,3);var e=cv(Rw.Split,t.data).lamports;return{stakePubkey:t.keys[0].pubkey,splitStakePubkey:t.keys[1].pubkey,authorizedPubkey:t.keys[2].pubkey,lamports:e}}},{key:"decodeMerge",value:function(t){return this.checkProgramId(t.programId),this.checkKeyLength(t.keys,3),cv(Rw.Merge,t.data),{stakePubkey:t.keys[0].pubkey,sourceStakePubKey:t.keys[1].pubkey,authorizedPubkey:t.keys[4].pubkey}}},{key:"decodeWithdraw",value:function(t){this.checkProgramId(t.programId),this.checkKeyLength(t.keys,5);var e=cv(Rw.Withdraw,t.data).lamports,n={stakePubkey:t.keys[0].pubkey,toPubkey:t.keys[1].pubkey,authorizedPubkey:t.keys[4].pubkey,lamports:e};return t.keys.length>5&&(n.custodianPubkey=t.keys[5].pubkey),n}},{key:"decodeDeactivate",value:function(t){return this.checkProgramId(t.programId),this.checkKeyLength(t.keys,3),cv(Rw.Deactivate,t.data),{stakePubkey:t.keys[0].pubkey,authorizedPubkey:t.keys[2].pubkey}}},{key:"checkProgramId",value:function(t){if(!t.equals(Qw.programId))throw new Error("invalid instruction; programId is not StakeProgram")}},{key:"checkKeyLength",value:function(t,e){if(t.length0&&void 0!==arguments[0]?arguments[0]:"authorized";return Pf([Dy("staker"),Dy("withdrawer")],t)}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lockup";return Pf([zf("unixTimestamp"),zf("epoch"),Dy("custodian")],t)}()])},Authorize:{index:1,layout:Pf([Of("instruction"),Dy("newAuthorized"),Of("stakeAuthorizationType")])},Delegate:{index:2,layout:Pf([Of("instruction")])},Split:{index:3,layout:Pf([Of("instruction"),zf("lamports")])},Withdraw:{index:4,layout:Pf([Of("instruction"),zf("lamports")])},Deactivate:{index:5,layout:Pf([Of("instruction")])},Merge:{index:7,layout:Pf([Of("instruction")])},AuthorizeWithSeed:{index:8,layout:Pf([Of("instruction"),Dy("newAuthorized"),Of("stakeAuthorizationType"),_y("authoritySeed"),Dy("authorityOwner")])}}),Uw=Object.freeze({Staker:{index:0},Withdrawer:{index:1}}),Qw=function(){function t(){ll(this,t)}return dl(t,null,[{key:"initialize",value:function(t){var e=t.stakePubkey,n=t.authorized,r=t.lockup||Pw.default,i=uv(Rw.Initialize,{authorized:{staker:My(n.staker.toBuffer()),withdrawer:My(n.withdrawer.toBuffer())},lockup:{unixTimestamp:r.unixTimestamp,epoch:r.epoch,custodian:My(r.custodian.toBuffer())}}),o={keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:tv,isSigner:!1,isWritable:!1}],programId:this.programId,data:i};return new Gy(o)}},{key:"createAccountWithSeed",value:function(t){var e=new Zy;e.add(vv.createAccountWithSeed({fromPubkey:t.fromPubkey,newAccountPubkey:t.stakePubkey,basePubkey:t.basePubkey,seed:t.seed,lamports:t.lamports,space:this.space,programId:this.programId}));var n=t.stakePubkey,r=t.authorized,i=t.lockup;return e.add(this.initialize({stakePubkey:n,authorized:r,lockup:i}))}},{key:"createAccount",value:function(t){var e=new Zy;e.add(vv.createAccount({fromPubkey:t.fromPubkey,newAccountPubkey:t.stakePubkey,lamports:t.lamports,space:this.space,programId:this.programId}));var n=t.stakePubkey,r=t.authorized,i=t.lockup;return e.add(this.initialize({stakePubkey:n,authorized:r,lockup:i}))}},{key:"delegate",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.votePubkey,i=uv(Rw.Delegate);return(new Zy).add({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!1},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:iv,isSigner:!1,isWritable:!1},{pubkey:_w,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:i})}},{key:"authorize",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.newAuthorizedPubkey,i=t.stakeAuthorizationType,o=t.custodianPubkey,a=uv(Rw.Authorize,{newAuthorized:My(r.toBuffer()),stakeAuthorizationType:i.index}),s=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:qy,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1}];return o&&s.push({pubkey:o,isSigner:!1,isWritable:!1}),(new Zy).add({keys:s,programId:this.programId,data:a})}},{key:"authorizeWithSeed",value:function(t){var e=t.stakePubkey,n=t.authorityBase,r=t.authoritySeed,i=t.authorityOwner,o=t.newAuthorizedPubkey,a=t.stakeAuthorizationType,s=t.custodianPubkey,u=uv(Rw.AuthorizeWithSeed,{newAuthorized:My(o.toBuffer()),stakeAuthorizationType:a.index,authoritySeed:r,authorityOwner:My(i.toBuffer())}),c=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1},{pubkey:qy,isSigner:!1,isWritable:!1}];return s&&c.push({pubkey:s,isSigner:!1,isWritable:!1}),(new Zy).add({keys:c,programId:this.programId,data:u})}},{key:"splitInstruction",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.splitStakePubkey,i=t.lamports,o=uv(Rw.Split,{lamports:i});return new Gy({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:o})}},{key:"split",value:function(t){var e=new Zy;return e.add(vv.createAccount({fromPubkey:t.authorizedPubkey,newAccountPubkey:t.splitStakePubkey,lamports:0,space:this.space,programId:this.programId})),e.add(this.splitInstruction(t))}},{key:"splitWithSeed",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.splitStakePubkey,i=t.basePubkey,o=t.seed,a=t.lamports,s=new Zy;return s.add(vv.allocate({accountPubkey:r,basePubkey:i,seed:o,space:this.space,programId:this.programId})),s.add(this.splitInstruction({stakePubkey:e,authorizedPubkey:n,splitStakePubkey:r,lamports:a}))}},{key:"merge",value:function(t){var e=t.stakePubkey,n=t.sourceStakePubKey,r=t.authorizedPubkey,i=uv(Rw.Merge);return(new Zy).add({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!1,isWritable:!0},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:iv,isSigner:!1,isWritable:!1},{pubkey:r,isSigner:!0,isWritable:!1}],programId:this.programId,data:i})}},{key:"withdraw",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=t.toPubkey,i=t.lamports,o=t.custodianPubkey,a=uv(Rw.Withdraw,{lamports:i}),s=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:r,isSigner:!1,isWritable:!0},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:iv,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}];return o&&s.push({pubkey:o,isSigner:!1,isWritable:!1}),(new Zy).add({keys:s,programId:this.programId,data:a})}},{key:"deactivate",value:function(t){var e=t.stakePubkey,n=t.authorizedPubkey,r=uv(Rw.Deactivate);return(new Zy).add({keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:r})}}]),t}();Qw.programId=new Ey("Stake11111111111111111111111111111111111111"),Qw.space=200;var Ww=dl((function t(e,n,r,i){ll(this,t),this.nodePubkey=void 0,this.authorizedVoter=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.nodePubkey=e,this.authorizedVoter=n,this.authorizedWithdrawer=r,this.commission=i})),Yw=function(){function t(){ll(this,t)}return dl(t,null,[{key:"decodeInstructionType",value:function(t){this.checkProgramId(t.programId);for(var e,n=Of("instruction").decode(t.data),r=0,i=Object.entries(Fw);r0&&void 0!==arguments[0]?arguments[0]:"voteInit";return Pf([Dy("nodePubkey"),Dy("authorizedVoter"),Dy("authorizedWithdrawer"),Cf("commission")],t)}()])},Authorize:{index:1,layout:Pf([Of("instruction"),Dy("newAuthorized"),Of("voteAuthorizationType")])},Withdraw:{index:3,layout:Pf([Of("instruction"),zf("lamports")])},AuthorizeWithSeed:{index:10,layout:Pf([Of("instruction"),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"voteAuthorizeWithSeedArgs";return Pf([Of("voteAuthorizationType"),Dy("currentAuthorityDerivedKeyOwnerPubkey"),_y("currentAuthorityDerivedKeySeed"),Dy("newAuthorized")],t)}()])}}),Hw=Object.freeze({Voter:{index:0},Withdrawer:{index:1}}),Gw=function(){function t(){ll(this,t)}return dl(t,null,[{key:"initializeAccount",value:function(t){var e=t.votePubkey,n=t.nodePubkey,r=t.voteInit,i=uv(Fw.InitializeAccount,{voteInit:{nodePubkey:My(r.nodePubkey.toBuffer()),authorizedVoter:My(r.authorizedVoter.toBuffer()),authorizedWithdrawer:My(r.authorizedWithdrawer.toBuffer()),commission:r.commission}}),o={keys:[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:tv,isSigner:!1,isWritable:!1},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}],programId:this.programId,data:i};return new Gy(o)}},{key:"createAccount",value:function(t){var e=new Zy;return e.add(vv.createAccount({fromPubkey:t.fromPubkey,newAccountPubkey:t.votePubkey,lamports:t.lamports,space:this.space,programId:this.programId})),e.add(this.initializeAccount({votePubkey:t.votePubkey,nodePubkey:t.voteInit.nodePubkey,voteInit:t.voteInit}))}},{key:"authorize",value:function(t){var e=t.votePubkey,n=t.authorizedPubkey,r=t.newAuthorizedPubkey,i=t.voteAuthorizationType,o=uv(Fw.Authorize,{newAuthorized:My(r.toBuffer()),voteAuthorizationType:i.index}),a=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:n,isSigner:!0,isWritable:!1}];return(new Zy).add({keys:a,programId:this.programId,data:o})}},{key:"authorizeWithSeed",value:function(t){var e=t.currentAuthorityDerivedKeyBasePubkey,n=t.currentAuthorityDerivedKeyOwnerPubkey,r=t.currentAuthorityDerivedKeySeed,i=t.newAuthorizedPubkey,o=t.voteAuthorizationType,a=t.votePubkey,s=uv(Fw.AuthorizeWithSeed,{voteAuthorizeWithSeedArgs:{currentAuthorityDerivedKeyOwnerPubkey:My(n.toBuffer()),currentAuthorityDerivedKeySeed:r,newAuthorized:My(i.toBuffer()),voteAuthorizationType:o.index}}),u=[{pubkey:a,isSigner:!1,isWritable:!0},{pubkey:qy,isSigner:!1,isWritable:!1},{pubkey:e,isSigner:!0,isWritable:!1}];return(new Zy).add({keys:u,programId:this.programId,data:s})}},{key:"withdraw",value:function(t){var e=t.votePubkey,n=t.authorizedWithdrawerPubkey,r=t.lamports,i=t.toPubkey,o=uv(Fw.Withdraw,{lamports:r}),a=[{pubkey:e,isSigner:!1,isWritable:!0},{pubkey:i,isSigner:!1,isWritable:!0},{pubkey:n,isSigner:!0,isWritable:!1}];return(new Zy).add({keys:a,programId:this.programId,data:o})}},{key:"safeWithdraw",value:function(e,n,r){if(e.lamports>n-r)throw new Error("Withdraw will leave vote account with insuffcient funds.");return t.withdraw(e)}}]),t}();Gw.programId=new Ey("Vote111111111111111111111111111111111111111"),Gw.space=3731;var Zw=new Ey("Va1idator1nfo111111111111111111111111111111"),Vw=gp({name:pp(),website:dp(pp()),details:dp(pp()),keybaseUsername:dp(pp())}),Jw=function(){function t(e,n){ll(this,t),this.key=void 0,this.info=void 0,this.key=e,this.info=n}return dl(t,null,[{key:"fromConfigData",value:function(e){var n=Nl(e);if(2!==Py(n))return null;for(var r=[],i=0;i<2;i++){var o=new Ey(n.slice(0,32)),a=1===(n=n.slice(32)).slice(0,1)[0];n=n.slice(1),r.push({publicKey:o,isSigner:a})}if(r[0].publicKey.equals(Zw)&&r[1].isSigner){var s=_y().decode(bc.from(n)),u=JSON.parse(s);return ep(u,Vw),new t(r[1].publicKey,u)}return null}}]),t}(),qw=new Ey("Vote111111111111111111111111111111111111111"),Xw=Pf([Dy("nodePubkey"),Dy("authorizedWithdrawer"),Cf("commission"),_f(),Bf(Pf([_f("slot"),Of("confirmationCount")]),jf(Of(),-8),"votes"),Cf("rootSlotValid"),_f("rootSlot"),_f(),Bf(Pf([_f("epoch"),Dy("authorizedVoter")]),jf(Of(),-8),"authorizedVoters"),Pf([Bf(Pf([Dy("authorizedPubkey"),_f("epochOfLastAuthorizedSwitch"),_f("targetEpoch")]),32,"buf"),_f("idx"),Cf("isEmpty")],"priorVoters"),_f(),Bf(Pf([_f("epoch"),_f("credits"),_f("prevCredits")]),jf(Of(),-8),"epochCredits"),Pf([_f("slot"),_f("timestamp")],"lastTimestamp")]),Kw=function(){function t(e){ll(this,t),this.nodePubkey=void 0,this.authorizedWithdrawer=void 0,this.commission=void 0,this.rootSlot=void 0,this.votes=void 0,this.authorizedVoters=void 0,this.priorVoters=void 0,this.epochCredits=void 0,this.lastTimestamp=void 0,this.nodePubkey=e.nodePubkey,this.authorizedWithdrawer=e.authorizedWithdrawer,this.commission=e.commission,this.rootSlot=e.rootSlot,this.votes=e.votes,this.authorizedVoters=e.authorizedVoters,this.priorVoters=e.priorVoters,this.epochCredits=e.epochCredits,this.lastTimestamp=e.lastTimestamp}return dl(t,null,[{key:"fromAccountData",value:function(e){var n=Xw.decode(My(e),4),r=n.rootSlot;return n.rootSlotValid||(r=null),new t({nodePubkey:new Ey(n.nodePubkey),authorizedWithdrawer:new Ey(n.authorizedWithdrawer),commission:n.commission,votes:n.votes,rootSlot:r,authorizedVoters:n.authorizedVoters.map($w),priorVoters:eM(n.priorVoters),epochCredits:n.epochCredits,lastTimestamp:n.lastTimestamp})}}]),t}();function $w(t){var e=t.authorizedVoter;return{epoch:t.epoch,authorizedVoter:new Ey(e)}}function tM(t){var e=t.authorizedPubkey,n=t.epochOfLastAuthorizedSwitch,r=t.targetEpoch;return{authorizedPubkey:new Ey(e),epochOfLastAuthorizedSwitch:n,targetEpoch:r}}function eM(t){var e=t.buf,n=t.idx;return t.isEmpty?[]:[].concat(Nl(e.slice(n+1).map(tM)),Nl(e.slice(0,n).map(tM)))}var nM={http:{devnet:"http://api.devnet.solana.com",testnet:"http://api.testnet.solana.com","mainnet-beta":"http://api.mainnet-beta.solana.com/"},https:{devnet:"https://api.devnet.solana.com",testnet:"https://api.testnet.solana.com","mainnet-beta":"https://api.mainnet-beta.solana.com/"}};function rM(){return(rM=cl(al().mark((function t(e,n,r,i){var o,a,s,u,c,l,h;return al().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r&&Object.prototype.hasOwnProperty.call(r,"lastValidBlockHeight")||r&&Object.prototype.hasOwnProperty.call(r,"nonceValue")?(o=r,a=i):a=r,s=a&&{skipPreflight:a.skipPreflight,preflightCommitment:a.preflightCommitment||a.commitment,minContextSlot:a.minContextSlot},t.next=4,e.sendRawTransaction(n,s);case 4:return u=t.sent,c=a&&a.commitment,l=o?e.confirmTransaction(o,c):e.confirmTransaction(u,c),t.next=9,l;case 9:if(!(h=t.sent.value).err){t.next=12;break}throw new Error("Raw transaction ".concat(u," failed (").concat(JSON.stringify(h),")"));case 12:return t.abrupt("return",u);case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var iM=Object.freeze({__proto__:null,Account:Ny,AddressLookupTableAccount:Cv,AddressLookupTableInstruction:Aw,AddressLookupTableProgram:xw,Authorized:zw,BLOCKHASH_CACHE_TIMEOUT_MS:3e4,BPF_LOADER_DEPRECATED_PROGRAM_ID:Sy,BPF_LOADER_PROGRAM_ID:wv,BpfLoader:Mv,COMPUTE_BUDGET_INSTRUCTION_LAYOUTS:Nw,ComputeBudgetInstruction:Ew,ComputeBudgetProgram:Sw,Connection:Mw,Ed25519Program:Tw,Enum:Ly,EpochSchedule:Nv,FeeCalculatorLayout:hv,Keypair:kw,LAMPORTS_PER_SOL:1e9,LOOKUP_TABLE_INSTRUCTION_LAYOUTS:Lw,Loader:bv,Lockup:Pw,MAX_SEED_LENGTH:32,Message:Wy,MessageAccountKeys:Cy,MessageV0:Yy,NONCE_ACCOUNT_LENGTH:fv,NonceAccount:pv,PACKET_DATA_SIZE:1232,PUBLIC_KEY_LENGTH:32,PublicKey:Ey,SIGNATURE_LENGTH_IN_BYTES:64,SOLANA_SCHEMA:Ay,STAKE_CONFIG_ID:_w,STAKE_INSTRUCTION_LAYOUTS:Rw,SYSTEM_INSTRUCTION_LAYOUTS:yv,SYSVAR_CLOCK_PUBKEY:qy,SYSVAR_EPOCH_SCHEDULE_PUBKEY:Xy,SYSVAR_INSTRUCTIONS_PUBKEY:Ky,SYSVAR_RECENT_BLOCKHASHES_PUBKEY:$y,SYSVAR_RENT_PUBKEY:tv,SYSVAR_REWARDS_PUBKEY:ev,SYSVAR_SLOT_HASHES_PUBKEY:nv,SYSVAR_SLOT_HISTORY_PUBKEY:rv,SYSVAR_STAKE_HISTORY_PUBKEY:iv,Secp256k1Program:Ow,SendTransactionError:Sv,SolanaJSONRPCError:Iv,SolanaJSONRPCErrorCode:{JSON_RPC_SERVER_ERROR_BLOCK_CLEANED_UP:-32001,JSON_RPC_SERVER_ERROR_SEND_TRANSACTION_PREFLIGHT_FAILURE:-32002,JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_VERIFICATION_FAILURE:-32003,JSON_RPC_SERVER_ERROR_BLOCK_NOT_AVAILABLE:-32004,JSON_RPC_SERVER_ERROR_NODE_UNHEALTHY:-32005,JSON_RPC_SERVER_ERROR_TRANSACTION_PRECOMPILE_VERIFICATION_FAILURE:-32006,JSON_RPC_SERVER_ERROR_SLOT_SKIPPED:-32007,JSON_RPC_SERVER_ERROR_NO_SNAPSHOT:-32008,JSON_RPC_SERVER_ERROR_LONG_TERM_STORAGE_SLOT_SKIPPED:-32009,JSON_RPC_SERVER_ERROR_KEY_EXCLUDED_FROM_SECONDARY_INDEX:-32010,JSON_RPC_SERVER_ERROR_TRANSACTION_HISTORY_NOT_AVAILABLE:-32011,JSON_RPC_SCAN_ERROR:-32012,JSON_RPC_SERVER_ERROR_TRANSACTION_SIGNATURE_LEN_MISMATCH:-32013,JSON_RPC_SERVER_ERROR_BLOCK_STATUS_NOT_AVAILABLE_YET:-32014,JSON_RPC_SERVER_ERROR_UNSUPPORTED_TRANSACTION_VERSION:-32015,JSON_RPC_SERVER_ERROR_MIN_CONTEXT_SLOT_NOT_REACHED:-32016},StakeAuthorizationLayout:Uw,StakeInstruction:Bw,StakeProgram:Qw,Struct:ky,SystemInstruction:gv,SystemProgram:vv,Transaction:Zy,TransactionExpiredBlockheightExceededError:Iy,TransactionExpiredNonceInvalidError:jy,TransactionExpiredTimeoutError:Ty,TransactionInstruction:Gy,TransactionMessage:Vy,get TransactionStatus(){return Uy},VALIDATOR_INFO_KEY:Zw,VERSION_PREFIX_MASK:127,VOTE_PROGRAM_ID:qw,ValidatorInfo:Jw,VersionedMessage:Fy,VersionedTransaction:Jy,VoteAccount:Kw,VoteAuthorizationLayout:Hw,VoteInit:Ww,VoteInstruction:Yw,VoteProgram:Gw,clusterApiUrl:function(t,e){var n=!1===e?"http":"https";if(!t)return nM[n].devnet;var r=nM[n][t];if(!r)throw new Error("Unknown ".concat(n," cluster: ").concat(t));return r},sendAndConfirmRawTransaction:function(t,e,n,r){return rM.apply(this,arguments)},sendAndConfirmTransaction:ov}),oM={},aM=function(){function t(e,n){if(ll(this,t),!Number.isInteger(e))throw new TypeError("span must be an integer");this.span=e,this.property=n}return dl(t,[{key:"makeDestinationObject",value:function(){return{}}},{key:"decode",value:function(t,e){throw new Error("Layout is abstract")}},{key:"encode",value:function(t,e,n){throw new Error("Layout is abstract")}},{key:"getSpan",value:function(t,e){if(0>this.span)throw new RangeError("indeterminate span");return this.span}},{key:"replicate",value:function(t){var e=Object.create(this.constructor.prototype);return Object.assign(e,this),e.property=t,e}},{key:"fromArray",value:function(t){}}]),t}();function sM(t,e){return e.property?t+"["+e.property+"]":t}oM.Layout=aM,oM.nameWithProperty=sM,oM.bindConstructorLayout=function(t,e){if("function"!=typeof t)throw new TypeError("Class must be constructor");if(t.hasOwnProperty("layout_"))throw new Error("Class is already bound to a layout");if(!(e&&e instanceof aM))throw new TypeError("layout must be a Layout");if(e.hasOwnProperty("boundConstructor_"))throw new Error("layout is already bound to a constructor");t.layout_=e,e.boundConstructor_=t,e.makeDestinationObject=function(){return new t},Object.defineProperty(t.prototype,"encode",{value:function(t,n){return e.encode(this,t,n)},writable:!0}),Object.defineProperty(t,"decode",{value:function(t,n){return e.decode(t,n)},writable:!0})};var uM=function(t){pl(n,aM);var e=Ll(n);function n(){return ll(this,n),e.apply(this,arguments)}return dl(n,[{key:"isCount",value:function(){throw new Error("ExternalLayout is abstract")}}]),n}(),cM=function(t){pl(n,uM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),void 0===t&&(t=1),!Number.isInteger(t)||0>=t)throw new TypeError("elementSpan must be a (positive) integer");return(i=e.call(this,-1,r)).elementSpan=t,i}return dl(n,[{key:"isCount",value:function(){return!0}},{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=t.length-e;return Math.floor(n/this.elementSpan)}},{key:"encode",value:function(t,e,n){return 0}}]),n}(),lM=function(t){pl(n,uM);var e=Ll(n);function n(t,r,i){var o;if(ll(this,n),!(t instanceof aM))throw new TypeError("layout must be a Layout");if(void 0===r)r=0;else if(!Number.isInteger(r))throw new TypeError("offset must be integer or undefined");return(o=e.call(this,t.span,i||t.property)).layout=t,o.offset=r,o}return dl(n,[{key:"isCount",value:function(){return this.layout instanceof hM||this.layout instanceof dM}},{key:"decode",value:function(t,e){return void 0===e&&(e=0),this.layout.decode(t,e+this.offset)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),this.layout.encode(t,e,n+this.offset)}}]),n}(),hM=function(t){pl(n,aM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readUIntLE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeUIntLE(t,n,this.span),this.span}}]),n}(),dM=function(t){pl(n,aM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readUIntBE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeUIntBE(t,n,this.span),this.span}}]),n}(),fM=function(t){pl(n,aM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readIntLE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeIntLE(t,n,this.span),this.span}}]),n}(),pM=function(t){pl(n,aM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),6<(i=e.call(this,t,r)).span)throw new RangeError("span must not exceed 6 bytes");return i}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readIntBE(e,this.span)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeIntBE(t,n,this.span),this.span}}]),n}(),mM=Math.pow(2,32);function gM(t){var e=Math.floor(t/mM);return{hi32:e,lo32:t-e*mM}}function yM(t,e){return t*mM+e}var vM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=t.readUInt32LE(e);return yM(t.readUInt32LE(e+4),n)}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=gM(t);return e.writeUInt32LE(r.lo32,n),e.writeUInt32LE(r.hi32,n+4),8}}]),n}(),bM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),yM(t.readUInt32BE(e),t.readUInt32BE(e+4))}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=gM(t);return e.writeUInt32BE(r.hi32,n),e.writeUInt32BE(r.lo32,n+4),8}}]),n}(),wM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=t.readUInt32LE(e);return yM(t.readInt32LE(e+4),n)}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=gM(t);return e.writeUInt32LE(r.lo32,n),e.writeInt32LE(r.hi32,n+4),8}}]),n}(),MM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),yM(t.readInt32BE(e),t.readUInt32BE(e+4))}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=gM(t);return e.writeInt32BE(r.hi32,n),e.writeUInt32BE(r.lo32,n+4),8}}]),n}(),kM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,4,t)}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readFloatLE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeFloatLE(t,n),4}}]),n}(),LM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,4,t)}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readFloatBE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeFloatBE(t,n),4}}]),n}(),AM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readDoubleLE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeDoubleLE(t,n),8}}]),n}(),xM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,8,t)}return dl(n,[{key:"decode",value:function(t,e){return void 0===e&&(e=0),t.readDoubleBE(e)}},{key:"encode",value:function(t,e,n){return void 0===n&&(n=0),e.writeDoubleBE(t,n),8}}]),n}(),EM=function(t){pl(n,aM);var e=Ll(n);function n(t,r,i){var o;if(ll(this,n),!(t instanceof aM))throw new TypeError("elementLayout must be a Layout");if(!(r instanceof uM&&r.isCount()||Number.isInteger(r)&&0<=r))throw new TypeError("count must be non-negative integer or an unsigned integer ExternalLayout");var a=-1;return!(r instanceof uM)&&0u.span&&void 0===u.property)throw new Error("fields cannot contain unnamed variable-length layout")}}catch(t){s.e(t)}finally{s.f()}var c=-1;try{c=t.reduce((function(t,e){return t+e.getSpan()}),0)}catch(t){}return(o=e.call(this,c,r)).fields=t,o.decodePrefixes=!!i,o}return dl(n,[{key:"getSpan",value:function(t,e){if(0<=this.span)return this.span;void 0===e&&(e=0);var n=0;try{n=this.fields.reduce((function(n,r){var i=r.getSpan(t,e);return e+=i,n+i}),0)}catch(t){throw new RangeError("indeterminate span")}return n}},{key:"decode",value:function(t,e){void 0===e&&(e=0);var n,r=this.makeDestinationObject(),i=Dl(this.fields);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(void 0!==o.property&&(r[o.property]=o.decode(t,e)),e+=o.getSpan(t,e),this.decodePrefixes&&t.length===e)break}}catch(t){i.e(t)}finally{i.f()}return r}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r,i=n,o=0,a=0,s=Dl(this.fields);try{for(s.s();!(r=s.n()).done;){var u=r.value,c=u.span;if(a=0c&&(c=u.getSpan(e,n)))}o=n,n+=c}}catch(t){s.e(t)}finally{s.f()}return o+a-i}},{key:"fromArray",value:function(t){var e,n=this.makeDestinationObject(),r=Dl(this.fields);try{for(r.s();!(e=r.n()).done;){var i=e.value;void 0!==i.property&&0i.span?n=-1:0<=n&&(n+=i.span)}}catch(t){r.e(t)}finally{r.f()}}}]),n}(),SM=function(){function t(e){ll(this,t),this.property=e}return dl(t,[{key:"decode",value:function(){throw new Error("UnionDiscriminator is abstract")}},{key:"encode",value:function(){throw new Error("UnionDiscriminator is abstract")}}]),t}(),IM=function(t){pl(n,SM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),!(t instanceof uM&&t.isCount()))throw new TypeError("layout must be an unsigned integer ExternalLayout");return(i=e.call(this,r||t.property||"variant")).layout=t,i}return dl(n,[{key:"decode",value:function(t,e){return this.layout.decode(t,e)}},{key:"encode",value:function(t,e,n){return this.layout.encode(t,e,n)}}]),n}(),TM=function(t){pl(n,aM);var e=Ll(n);function n(t,r,i){var o;ll(this,n);var a=t instanceof hM||t instanceof dM;if(a)t=new IM(new lM(t));else if(t instanceof uM&&t.isCount())t=new IM(t);else if(!(t instanceof SM))throw new TypeError("discr must be a UnionDiscriminator or an unsigned integer layout");if(void 0===r&&(r=null),!(null===r||r instanceof aM))throw new TypeError("defaultLayout must be null or a Layout");if(null!==r){if(0>r.span)throw new Error("defaultLayout must have constant span");void 0===r.property&&(r=r.replicate("content"))}var s=-1;r&&0<=(s=r.span)&&a&&(s+=t.layout.span),(o=e.call(this,s,i)).discriminator=t,o.usesPrefixDiscriminator=a,o.defaultLayout=r,o.registry={};var u=o.defaultGetSourceVariant.bind(Ml(o));return o.getSourceVariant=function(t){return u(t)},o.configGetSourceVariant=function(t){u=t.bind(this)},o}return dl(n,[{key:"getSpan",value:function(t,e){if(0<=this.span)return this.span;void 0===e&&(e=0);var n=this.getVariant(t,e);if(!n)throw new Error("unable to determine span for unrecognized variant");return n.getSpan(t,e)}},{key:"defaultGetSourceVariant",value:function(t){if(t.hasOwnProperty(this.discriminator.property)){if(this.defaultLayout&&t.hasOwnProperty(this.defaultLayout.property))return;var e=this.registry[t[this.discriminator.property]];if(e&&(!e.layout||t.hasOwnProperty(e.property)))return e}else for(var n in this.registry){var r=this.registry[n];if(t.hasOwnProperty(r.property))return r}throw new Error("unable to infer src variant")}},{key:"decode",value:function(t,e){var n;void 0===e&&(e=0);var r=this.discriminator,i=r.decode(t,e),o=this.registry[i];if(void 0===o){var a=0;o=this.defaultLayout,this.usesPrefixDiscriminator&&(a=r.layout.span),(n=this.makeDestinationObject())[r.property]=i,n[o.property]=this.defaultLayout.decode(t,e+a)}else n=o.decode(t,e);return n}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=this.getSourceVariant(t);if(void 0===r){var i=this.discriminator,o=this.defaultLayout,a=0;return this.usesPrefixDiscriminator&&(a=i.layout.span),i.encode(t[i.property],e,n),a+o.encode(t[o.property],e,n+a)}return r.encode(t,e,n)}},{key:"addVariant",value:function(t,e,n){var r=new jM(this,t,e,n);return this.registry[t]=r,r}},{key:"getVariant",value:function(t,e){var n=t;return bc.isBuffer(t)&&(void 0===e&&(e=0),n=this.discriminator.decode(t,e)),this.registry[n]}}]),n}(),jM=function(t){pl(n,aM);var e=Ll(n);function n(t,r,i,o){var a;if(ll(this,n),!(t instanceof TM))throw new TypeError("union must be a Union");if(!Number.isInteger(r)||0>r)throw new TypeError("variant must be a (non-negative) integer");if("string"==typeof i&&void 0===o&&(o=i,i=null),i){if(!(i instanceof aM))throw new TypeError("layout must be a Layout");if(null!==t.defaultLayout&&0<=i.span&&i.span>t.defaultLayout.span)throw new Error("variant span exceeds span of containing union");if("string"!=typeof o)throw new TypeError("variant must have a String property")}var s=t.span;return 0>t.span&&0<=(s=i?i.span:0)&&t.usesPrefixDiscriminator&&(s+=t.discriminator.layout.span),(a=e.call(this,s,o)).union=t,a.variant=r,a.layout=i||null,a}return dl(n,[{key:"getSpan",value:function(t,e){if(0<=this.span)return this.span;void 0===e&&(e=0);var n=0;return this.union.usesPrefixDiscriminator&&(n=this.union.discriminator.layout.span),n+this.layout.getSpan(t,e+n)}},{key:"decode",value:function(t,e){var n=this.makeDestinationObject();if(void 0===e&&(e=0),this!==this.union.getVariant(t,e))throw new Error("variant mismatch");var r=0;return this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout?n[this.property]=this.layout.decode(t,e+r):this.property?n[this.property]=!0:this.union.usesPrefixDiscriminator&&(n[this.union.discriminator.property]=this.variant),n}},{key:"encode",value:function(t,e,n){void 0===n&&(n=0);var r=0;if(this.union.usesPrefixDiscriminator&&(r=this.union.discriminator.layout.span),this.layout&&!t.hasOwnProperty(this.property))throw new TypeError("variant lacks property "+this.property);this.union.discriminator.encode(this.variant,e,n);var i=r;if(this.layout&&(this.layout.encode(t[this.property],e,n+r),i+=this.layout.getSpan(e,n+r),0<=this.union.span&&i>this.union.span))throw new Error("encoded variant overruns containing union");return i}},{key:"fromArray",value:function(t){if(this.layout)return this.layout.fromArray(t)}}]),n}();function CM(t){return 0>t&&(t+=4294967296),t}var DM=function(t){pl(n,aM);var e=Ll(n);function n(t,r,i){var o;if(ll(this,n),!(t instanceof hM||t instanceof dM))throw new TypeError("word must be a UInt or UIntBE layout");if("string"==typeof r&&void 0===i&&(i=r,r=void 0),4=n)throw new TypeError("bits must be positive integer");var i=8*e.span,o=e.fields.reduce((function(t,e){return t+e.bits}),0);if(n+o>i)throw new Error("bits too long for span remainder ("+(i-o)+" of "+i+" remain)");this.container=e,this.bits=n,this.valueMask=(1<>>this.start}},{key:"encode",value:function(t){if(!Number.isInteger(t)||t!==CM(t&this.valueMask))throw new TypeError(sM("BitField.encode",this)+" value must be integer not exceeding "+this.valueMask);var e=this.container._packedGetValue(),n=CM(t<n&&(n=this.length.decode(t,e)),n}},{key:"decode",value:function(t,e){void 0===e&&(e=0);var n=this.span;return 0>n&&(n=this.length.decode(t,e)),t.slice(e,e+n)}},{key:"encode",value:function(t,e,n){var r=this.length;if(this.length instanceof uM&&(r=t.length),!bc.isBuffer(t)||r!==t.length)throw new TypeError(sM("Blob.encode",this)+" requires (length "+r+") Buffer as src");if(n+r>e.length)throw new RangeError("encoding overruns Buffer");return e.write(t.toString("hex"),n,r,"hex"),this.length instanceof uM&&this.length.encode(r,e,n),r}}]),n}(),PM=function(t){pl(n,aM);var e=Ll(n);function n(t){return ll(this,n),e.call(this,-1,t)}return dl(n,[{key:"getSpan",value:function(t,e){if(!bc.isBuffer(t))throw new TypeError("b must be a Buffer");void 0===e&&(e=0);for(var n=e;ne.length)throw new RangeError("encoding overruns Buffer");return r.copy(e,n),e[n+i]=0,i+1}}]),n}(),BM=function(t){pl(n,aM);var e=Ll(n);function n(t,r){var i;if(ll(this,n),"string"==typeof t&&void 0===r&&(r=t,t=void 0),void 0===t)t=-1;else if(!Number.isInteger(t))throw new TypeError("maxSpan must be an integer");return(i=e.call(this,-1,r)).maxSpan=t,i}return dl(n,[{key:"getSpan",value:function(t,e){if(!bc.isBuffer(t))throw new TypeError("b must be a Buffer");return void 0===e&&(e=0),t.length-e}},{key:"decode",value:function(t,e,n){void 0===e&&(e=0);var r=this.getSpan(t,e);if(0<=this.maxSpan&&this.maxSpane.length)throw new RangeError("encoding overruns Buffer");return r.copy(e,n),i}}]),n}(),RM=function(t){pl(n,aM);var e=Ll(n);function n(t,r){var i;return ll(this,n),(i=e.call(this,0,r)).value=t,i}return dl(n,[{key:"decode",value:function(t,e,n){return this.value}},{key:"encode",value:function(t,e,n){return 0}}]),n}();oM.ExternalLayout=uM,oM.GreedyCount=cM,oM.OffsetLayout=lM,oM.UInt=hM,oM.UIntBE=dM,oM.Int=fM,oM.IntBE=pM,oM.Float=kM,oM.FloatBE=LM,oM.Double=AM,oM.DoubleBE=xM,oM.Sequence=EM,oM.Structure=NM,oM.UnionDiscriminator=SM,oM.UnionLayoutDiscriminator=IM,oM.Union=TM,oM.VariantLayout=jM,oM.BitStructure=DM,oM.BitField=OM,oM.Boolean=_M,oM.Blob=zM,oM.CString=PM,oM.UTF8=BM,oM.Constant=RM,oM.greedy=function(t,e){return new cM(t,e)},oM.offset=function(t,e,n){return new lM(t,e,n)},oM.u8=function(t){return new hM(1,t)},oM.u16=function(t){return new hM(2,t)},oM.u24=function(t){return new hM(3,t)},oM.u32=function(t){return new hM(4,t)},oM.u40=function(t){return new hM(5,t)},oM.u48=function(t){return new hM(6,t)},oM.nu64=function(t){return new vM(t)},oM.u16be=function(t){return new dM(2,t)},oM.u24be=function(t){return new dM(3,t)},oM.u32be=function(t){return new dM(4,t)},oM.u40be=function(t){return new dM(5,t)},oM.u48be=function(t){return new dM(6,t)},oM.nu64be=function(t){return new bM(t)},oM.s8=function(t){return new fM(1,t)},oM.s16=function(t){return new fM(2,t)},oM.s24=function(t){return new fM(3,t)},oM.s32=function(t){return new fM(4,t)},oM.s40=function(t){return new fM(5,t)},oM.s48=function(t){return new fM(6,t)},oM.ns64=function(t){return new wM(t)},oM.s16be=function(t){return new pM(2,t)},oM.s24be=function(t){return new pM(3,t)},oM.s32be=function(t){return new pM(4,t)},oM.s40be=function(t){return new pM(5,t)},oM.s48be=function(t){return new pM(6,t)},oM.ns64be=function(t){return new MM(t)},oM.f32=function(t){return new kM(t)},oM.f32be=function(t){return new LM(t)},oM.f64=function(t){return new AM(t)},oM.f64be=function(t){return new xM(t)},oM.struct=function(t,e,n){return new NM(t,e,n)},oM.bits=function(t,e,n){return new DM(t,e,n)};var UM=oM.seq=function(t,e,n){return new EM(t,e,n)};oM.union=function(t,e,n){return new TM(t,e,n)},oM.unionLayoutDiscriminator=function(t,e){return new IM(t,e)},oM.blob=function(t,e){return new zM(t,e)},oM.cstr=function(t){return new PM(t)},oM.utf8=function(t,e){return new BM(t,e)},oM.const=function(t,e){return new RM(t,e)};var QM={},WM=rc(iM),YM={exports:{}};!function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function r(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function i(t,e,n){if(i.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var o;"object"===sl(t)?t.exports=i:e.BN=i,i.BN=i,i.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:rl.Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function s(t,e,n){var r=a(t,n);return n-1>=e&&(r|=a(t,n-1)<<4),r}function u(t,e,r,i){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&a0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===sl(t))return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=s(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{i.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch(t){i.prototype.inspect=l}else i.prototype.inspect=l;function l(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}i.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,a=0;a>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?h[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=d[t],l=f[t];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modrn(l).toString(t);r=(p=p.idivn(l)).isZero()?m+r:h[c-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16,2)},o&&(i.prototype.toBuffer=function(t,e){return this.toArrayLike(o,t,e)}),i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},i.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},i.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?i.prototype._countBits=function(t){return 32-Math.clz32(t)}:i.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function g(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function y(t,e,n){return g(t,e,n)}Math.imul||(m=p),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?m(this,t,e):n<63?p(this,t,e):n<1024?g(this,t,e):y(this,t,e)},i.prototype.mul=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},i.prototype.mulf=function(t){var e=new i(null);return e.words=new Array(this.length+t.length),y(this,t,e)},i.prototype.imul=function(t){return this.clone().mulTo(t,this)},i.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},i.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!=(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,u=r.length-o.length;if("mod"!==e){(s=new i(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[o.length+h])+(0|r.words[o.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(o,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(o,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modrn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},i.prototype.modn=function(t){return this.modrn(t)},i.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),u=new i(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(l),a.isub(h)),o.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s),a.isub(u)):(r.isub(e),s.isub(o),u.isub(a))}return{a:s,b:u,gcd:r.iushln(c)}},i.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(r.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),a.isub(s)):(r.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0==(1&this.words[0])},i.prototype.isOdd=function(){return 1==(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new A(t)},i.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var v={k256:null,p224:null,p192:null,p25519:null};function b(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function M(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function L(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function x(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},b.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(t,e){t.iushrn(this.n,0,e)},b.prototype.imulK=function(t){return t.imul(this.k)},r(w,b),w.prototype.split=function(t,e){for(var n=4194303,r=Math.min(t.length,9),i=0;i>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},w.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(v[t])return v[t];var e;if("k256"===t)e=new w;else if("p224"===t)e=new M;else if("p192"===t)e=new k;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new L}return v[t]=e,e},A.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new i(1)).iushrn(2);return this.pow(t,r)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);n(!o.isZero());var s=new i(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new i(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,o),d=this.pow(t,o.addn(1).iushrn(1)),f=this.pow(t,o),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;o!==n[0]&&(o=this.sqr(o)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}u=26}return o},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new x(t)},r(x,A),x.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},x.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},x.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},x.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(YM,ec),function(t){var e=ec&&ec.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.map=t.array=t.rustEnum=t.str=t.vecU8=t.tagged=t.vec=t.bool=t.option=t.publicKey=t.i128=t.u128=t.i64=t.u64=t.struct=t.f64=t.f32=t.i32=t.u32=t.i16=t.u16=t.i8=t.u8=void 0;var n=oM,r=WM,i=e(YM.exports),o=oM;Object.defineProperty(t,"u8",{enumerable:!0,get:function(){return o.u8}}),Object.defineProperty(t,"i8",{enumerable:!0,get:function(){return o.s8}}),Object.defineProperty(t,"u16",{enumerable:!0,get:function(){return o.u16}}),Object.defineProperty(t,"i16",{enumerable:!0,get:function(){return o.s16}}),Object.defineProperty(t,"u32",{enumerable:!0,get:function(){return o.u32}}),Object.defineProperty(t,"i32",{enumerable:!0,get:function(){return o.s32}}),Object.defineProperty(t,"f32",{enumerable:!0,get:function(){return o.f32}}),Object.defineProperty(t,"f64",{enumerable:!0,get:function(){return o.f64}}),Object.defineProperty(t,"struct",{enumerable:!0,get:function(){return o.struct}});var a=function(t){pl(r,t);var e=Ll(r);function r(t,i,o){var a;return ll(this,r),(a=e.call(this,t,o)).blob=n.blob(t),a.signed=i,a}return dl(r,[{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=new i.default(this.blob.decode(t,e),10,"le");return this.signed?n.fromTwos(8*this.span).clone():n}},{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.signed&&(t=t.toTwos(8*this.span)),this.blob.encode(t.toArrayLike(bc,"le",this.span),e,n)}}]),r}(n.Layout);function s(t){return new a(8,!1,t)}t.u64=s,t.i64=function(t){return new a(8,!0,t)},t.u128=function(t){return new a(16,!1,t)},t.i128=function(t){return new a(16,!0,t)};var u=function(t){pl(n,t);var e=Ll(n);function n(t,r,i,o){var a;return ll(this,n),(a=e.call(this,t.span,o)).layout=t,a.decoder=r,a.encoder=i,a}return dl(n,[{key:"decode",value:function(t,e){return this.decoder(this.layout.decode(t,e))}},{key:"encode",value:function(t,e,n){return this.layout.encode(this.encoder(t),e,n)}},{key:"getSpan",value:function(t,e){return this.layout.getSpan(t,e)}}]),n}(n.Layout);t.publicKey=function(t){return new u(n.blob(32),(function(t){return new r.PublicKey(t)}),(function(t){return t.toBuffer()}),t)};var c=function(t){pl(r,t);var e=Ll(r);function r(t,i){var o;return ll(this,r),(o=e.call(this,-1,i)).layout=t,o.discriminator=n.u8(),o}return dl(r,[{key:"encode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null==t?this.discriminator.encode(0,e,n):(this.discriminator.encode(1,e,n),this.layout.encode(t,e,n+1)+1)}},{key:"decode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.discriminator.decode(t,e);if(0===n)return null;if(1===n)return this.layout.decode(t,e+1);throw new Error("Invalid option "+this.property)}},{key:"getSpan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.discriminator.decode(t,e);if(0===n)return 1;if(1===n)return this.layout.getSpan(t,e+1)+1;throw new Error("Invalid option "+this.property)}}]),r}(n.Layout);function l(t){if(0===t)return!1;if(1===t)return!0;throw new Error("Invalid bool: "+t)}function h(t){return t?1:0}function d(t){var e=n.u32("length"),r=n.struct([e,n.blob(n.offset(e,-e.span),"data")]);return new u(r,(function(t){return t.data}),(function(t){return{data:t}}),t)}t.option=function(t,e){return new c(t,e)},t.bool=function(t){return new u(n.u8(),l,h,t)},t.vec=function(t,e){var r=n.u32("length"),i=n.struct([r,n.seq(t,n.offset(r,-r.span),"values")]);return new u(i,(function(t){return t.values}),(function(t){return{values:t}}),e)},t.tagged=function(t,e,r){var i=n.struct([s("tag"),e.replicate("data")]);return new u(i,(function(e){var n=e.tag,r=e.data;if(!n.eq(t))throw new Error("Invalid tag, expected: "+t.toString("hex")+", got: "+n.toString("hex"));return r}),(function(e){return{tag:t,data:e}}),r)},t.vecU8=d,t.str=function(t){return new u(d(),(function(t){return t.toString("utf-8")}),(function(t){return bc.from(t,"utf-8")}),t)},t.rustEnum=function(t,e,r){var i=n.union(null!=r?r:n.u8(),e);return t.forEach((function(t,e){return i.addVariant(e,t,t.property)})),i},t.array=function(t,e,r){var i=n.struct([n.seq(t,e,"values")]);return new u(i,(function(t){return t.values}),(function(t){return{values:t}}),r)};var f=function(t){pl(n,t);var e=Ll(n);function n(t,r,i){var o;return ll(this,n),(o=e.call(this,t.span+r.span,i)).keyLayout=t,o.valueLayout=r,o}return dl(n,[{key:"decode",value:function(t,e){return e=e||0,[this.keyLayout.decode(t,e),this.valueLayout.decode(t,e+this.keyLayout.getSpan(t,e))]}},{key:"encode",value:function(t,e,n){n=n||0;var r=this.keyLayout.encode(t[0],e,n);return r+this.valueLayout.encode(t[1],e,n+r)}},{key:"getSpan",value:function(t,e){return this.keyLayout.getSpan(t,e)+this.valueLayout.getSpan(t,e)}}]),n}(n.Layout);t.map=function(t,e,r){var i=n.u32("length"),o=n.struct([i,n.seq(new f(t,e),n.offset(i,-i.span),"values")]);return new u(o,(function(t){var e=t.values;return new Map(e)}),(function(t){return{values:Array.from(t.entries())}}),r)}}(QM);var FM=rl.Buffer,HM=Ol.exports,GM=QM.struct([QM.publicKey("mint"),QM.publicKey("owner"),QM.u64("amount"),QM.u32("delegateOption"),QM.publicKey("delegate"),QM.u8("state"),QM.u32("isNativeOption"),QM.u64("isNative"),QM.u64("delegatedAmount"),QM.u32("closeAuthorityOption"),QM.publicKey("closeAuthority")]);QM.array;var ZM=QM.bool,VM=QM.i128;QM.i16;var JM=QM.i32,qM=QM.i64;QM.i8,QM.map;var XM=QM.option,KM=QM.publicKey,$M=QM.rustEnum,tk=QM.str,ek=QM.struct;QM.tagged;var nk=QM.u128,rk=QM.u16,ik=QM.u32,ok=QM.u64,ak=QM.u8,sk=QM.vec;let uk;QM.vecU8;let ck=()=>uk||(uk="object"==typeof ge?ge:window,uk);const lk=()=>(void 0===ck()._Web3ClientConfiguration&&(ck()._Web3ClientConfiguration={}),ck()._Web3ClientConfiguration);class hk extends Hu{constructor(t,e,n,r){super(t),this._network=e,this._endpoint=t,this._endpoints=n,this._failover=r,this._pendingBatch=[]}detectNetwork(){return Promise.resolve(w.findByName(this._network).id)}requestChunk(t,e){const n=t.map((t=>t.request));return Js(e,JSON.stringify(n)).then((e=>{t.forEach(((t,n)=>{const r=e[n];if(r.error){const e=new Error(r.error.message);e.code=r.error.code,e.data=r.error.data,t.reject(e)}else t.resolve(r.result)}))})).catch((e=>{if(e&&"SERVER_ERROR"==e.code){const e=this._endpoints.indexOf(this._endpoint)+1;this._failover(),this._endpoint=e>=this._endpoints.length?this._endpoints[0]:this._endpoints[e],this.requestChunk(t,this._endpoint)}else t.forEach((t=>{t.reject(e)}))}))}send(t,e){const n={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);const r={request:n,resolve:null,reject:null},i=new Promise(((t,e)=>{r.resolve=t,r.reject=e}));return this._pendingBatch.push(r),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const t=this._pendingBatch;this._pendingBatch=[],this._pendingBatchAggregator=null;const e=[];for(let n=0;n(t.map((t=>t.request)),this.requestChunk(t,this._endpoint))))}),lk().batchInterval||10)),i}}const dk=()=>(null==ck()._Web3ClientProviders&&(ck()._Web3ClientProviders={}),ck()._Web3ClientProviders),fk=(t,e)=>{void 0===dk()[t]&&(dk()[t]=[]);const n=dk()[t].indexOf(e);n>-1&&dk()[t].splice(n,1),dk()[t].unshift(e)},pk=async(t,e,n=!0)=>{let r;dk()[t]=e.map(((r,i)=>new hk(r,t,e,(()=>{1===dk()[t].length?pk(t,e,n):dk()[t].splice(i,1)}))));let i=ck();if(null==i.fetch||void 0!==Ue&&Ue.env&&"test"==Ue.env.NODE_ENV||void 0!==i.cy||!1===n)r=dk()[t][0];else{let n=await Promise.all(e.map((t=>new Promise((async e=>{let n=(new Date).getTime();setTimeout((()=>e(900)),900);if(!(await fetch(t,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({method:"net_version",id:1,jsonrpc:"2.0"})})).ok)return e(999);let r=(new Date).getTime();e(r-n)})))));const i=Math.min(...n),o=n.indexOf(i);r=dk()[t][o]}fk(t,r)};var mk={getProvider:async t=>{let e=dk();if(e&&e[t])return e[t][0];let n=ck();return n._Web3ClientGetProviderPromise&&n._Web3ClientGetProviderPromise[t]||(n._Web3ClientGetProviderPromise||(n._Web3ClientGetProviderPromise={}),n._Web3ClientGetProviderPromise[t]=new Promise((async e=>{await pk(t,w[t].endpoints),e(ck()._Web3ClientProviders[t][0])}))),await n._Web3ClientGetProviderPromise[t]},getProviders:async t=>{let e=dk();if(e&&e[t])return e[t];let n=ck();return n._Web3ClientGetProvidersPromise&&n._Web3ClientGetProvidersPromise[t]||(n._Web3ClientGetProvidersPromise||(n._Web3ClientGetProvidersPromise={}),n._Web3ClientGetProvidersPromise[t]=new Promise((async e=>{await pk(t,w[t].endpoints),e(ck()._Web3ClientProviders[t])}))),await n._Web3ClientGetProvidersPromise[t]},setProviderEndpoints:pk,setProvider:fk};class gk extends Mw{constructor(t,e,n,r){super(t),this._provider=new Mw(t),this._network=e,this._endpoint=t,this._endpoints=n,this._failover=r,this._pendingBatch=[],this._rpcRequest=this._rpcRequestReplacement.bind(this)}requestChunk(t){const e=t.map((t=>t.request)),n=e=>{if(e&&["Failed to fetch","limit reached","504","503","502","500","429","426","422","413","409","408","406","405","404","403","402","401","400"].some((t=>e.toString().match(t)))){const e=this._endpoints.indexOf(this._endpoint)+1;this._endpoint=e>=this._endpoints.length?this._endpoints[0]:this._endpoints[e],this._provider=new Mw(this._endpoint),this.requestChunk(t)}else t.forEach((t=>{t.reject(e)}))};try{return this._provider._rpcBatchRequest(e).then((e=>{t.forEach(((t,n)=>{const r=e[n];if(r.error){const e=new Error(r.error.message);e.code=r.error.code,e.data=r.error.data,t.reject(e)}else t.resolve(r)}))})).catch(n)}catch(t){return n(t)}}_rpcRequestReplacement(t,e){const n={methodName:t,args:e};null==this._pendingBatch&&(this._pendingBatch=[]);const r={request:n,resolve:null,reject:null},i=new Promise(((t,e)=>{r.resolve=t,r.reject=e}));return this._pendingBatch.push(r),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const t=this._pendingBatch;this._pendingBatch=[],this._pendingBatchAggregator=null;const e=[];for(let n=0;n(t.map((t=>t.request)),this.requestChunk(t))))}),lk().batchInterval||10)),i}}const yk=()=>(null==ck()._Web3ClientProviders&&(ck()._Web3ClientProviders={}),ck()._Web3ClientProviders),vk=(t,e)=>{void 0===yk()[t]&&(yk()[t]=[]);const n=yk()[t].indexOf(e);n>-1&&yk()[t].splice(n,1),yk()[t].unshift(e)},bk=async(t,e,n=!0)=>{let r;yk()[t]=e.map(((r,i)=>new gk(r,t,e,(()=>{1===yk()[t].length?bk(t,e,n):yk()[t].splice(i,1)}))));let i=ck();if(null==i.fetch||void 0!==Ue&&Ue.env&&"test"==Ue.env.NODE_ENV||void 0!==i.cy||!1===n)r=yk()[t][0];else{let n=await Promise.all(e.map((t=>new Promise((async e=>{let n=(new Date).getTime();setTimeout((()=>e(900)),900);if(!(await fetch(t,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({method:"getIdentity",id:1,jsonrpc:"2.0"})})).ok)return e(999);let r=(new Date).getTime();e(r-n)})))));const i=Math.min(...n),o=n.indexOf(i);r=yk()[t][o]}vk(t,r)};var wk={getProvider:async t=>{let e=yk();if(e&&e[t])return e[t][0];let n=ck();return n._Web3ClientGetProviderPromise&&n._Web3ClientGetProviderPromise[t]||(n._Web3ClientGetProviderPromise||(n._Web3ClientGetProviderPromise={}),n._Web3ClientGetProviderPromise[t]=new Promise((async e=>{await bk(t,w[t].endpoints),e(ck()._Web3ClientProviders[t][0])}))),await n._Web3ClientGetProviderPromise[t]},getProviders:async t=>{let e=yk();if(e&&e[t])return e[t];let n=ck();return n._Web3ClientGetProvidersPromise&&n._Web3ClientGetProvidersPromise[t]||(n._Web3ClientGetProvidersPromise||(n._Web3ClientGetProvidersPromise={}),n._Web3ClientGetProvidersPromise[t]=new Promise((async e=>{await bk(t,w[t].endpoints),e(ck()._Web3ClientProviders[t])}))),await n._Web3ClientGetProvidersPromise[t]},setProviderEndpoints:bk,setProvider:vk};let Mk=["ethereum","bsc","polygon","solana","fantom","velas"];Mk.evm=["ethereum","bsc","polygon","fantom","velas"],Mk.solana=["solana"];let kk=()=>(null==ck()._Web3ClientCacheStore&&(ck()._Web3ClientCacheStore={}),ck()._Web3ClientCacheStore),Lk=()=>(null==ck()._Web3ClientPromiseStore&&(ck()._Web3ClientPromiseStore={}),ck()._Web3ClientPromiseStore),Ak=function({key:t}){Lk()[t]=void 0},xk=function({call:t,key:e,expires:n=0}){return new Promise(((r,i)=>{let o,a=function({key:t}){return Lk()[t]}({key:e=JSON.stringify(e)});if(a)return a.then(r).catch(i);(function({key:t,promise:e}){return Lk()[t]=e,e})({key:e,promise:new Promise(((a,s)=>0===n?t().then((t=>{r(t),a(t)})).catch((t=>{i(t),s(t)})):(o=function({key:t,expires:e}){let n=kk()[t];if(function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([n,"optionalAccess",t=>t.expiresAt])>Date.now())return n.value}({key:e,expires:n}),o?(r(o),a(o),o):void t().then((t=>{t&&function({key:t,value:e,expires:n}){kk()[t]={expiresAt:Date.now()+n,value:e}}({key:e,value:t,expires:n}),r(t),a(t)})).catch((t=>{i(t),s(t)})))))}).then((()=>{Ak({key:e})})).catch((()=>{Ak({key:e})}))}))};const Ek=async t=>{if(Mk.evm.includes(t))return await mk.getProvider(t);if(Mk.solana.includes(t))return await wk.getProvider(t);throw"Unknown blockchain: "+t};var Nk=({provider:t,from:e,to:n,value:r,method:i,api:o,params:a})=>{if(void 0===o)return t.estimateGas({from:e,to:n,value:r});{let s=new Cs(n,o,t),u=s.estimateGas[i],c=(({contract:t,method:e,params:n})=>{let r=t.interface.fragments.find((t=>t.name==e));return n instanceof Array?n:n instanceof Object?r.inputs.map((t=>n[t.name])):void 0})({contract:s,method:i,params:a});return c?u(...c,{from:e,value:r}):u({from:e,value:r})}};let Sk=async function({blockchain:t,from:e,to:n,value:r,method:i,api:o,params:a,cache:s}){if(!Mk.includes(t))throw"Unknown blockchain: "+t;void 0===r&&(r="0");const u=await Ek(t);return await xk({expires:s||0,key:[t,e,n,r,i,a],call:async()=>Nk({provider:u,from:e,to:n,value:r,method:i,api:o,params:a})})};const Ik=({address:t,api:e,method:n,params:r,provider:i,block:o})=>{let a=new Cs(t,e,i),s=(({contract:t,method:e,params:n})=>t.interface.fragments.find((t=>t.name==e)).inputs.map(((t,e)=>Array.isArray(n)?n[e]:n[t.name])))({contract:a,method:n,params:r});return a[n](...s,{blockTag:o})},Tk=({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:a})=>n?Ik({address:e,api:n,method:r,params:i,provider:a,block:o}):"latestBlockNumber"===r?a.getBlockNumber():"balance"===r?(({address:t,provider:e})=>e.getBalance(t))({address:e,provider:a}):"transactionCount"===r?(({address:t,provider:e})=>e.getTransactionCount(t))({address:e,provider:a}):void 0;const jk=async({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:a,providers:s})=>{try{if(null==r||"getAccountInfo"===r)return null==n&&(n=GM),await(async({address:t,api:e,method:n,params:r,provider:i,block:o})=>{const a=await i.getAccountInfo(new Ey(t));if(a&&a.data)return e.decode(a.data)})({address:e,api:n,method:r,params:i,provider:a,block:o});if("getProgramAccounts"===r)return await a.getProgramAccounts(new Ey(e),i).then((t=>n?t.map((t=>(t.data=n.decode(t.account.data),t))):t));if("getTokenAccountBalance"===r)return await a.getTokenAccountBalance(new Ey(e));if("latestBlockNumber"===r)return await a.getSlot(i||void 0);if("balance"===r)return await(({address:t,provider:e})=>e.getBalance(new Ey(t)))({address:e,provider:a})}catch(u){if(s&&u&&["Failed to fetch","limit reached","504","503","502","500","429","426","422","413","409","408","406","405","404","403","402","401","400"].some((t=>u.toString().match(t)))){let u=s[s.indexOf(a)+1]||s[0];return jk({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:u,providers:s})}throw u}};const Ck=async function(t,e){const{blockchain:n,address:r,method:i}=(t=>{if("object"==typeof t)return t;let e=t.match(/(?\w+):\/\/(?[\w\d]+)(\/(?[\w\d]+)*)?/);return null==e.groups.part2?e.groups.part1.match(/\d/)?{blockchain:e.groups.blockchain,address:e.groups.part1}:{blockchain:e.groups.blockchain,method:e.groups.part1}:{blockchain:e.groups.blockchain,address:e.groups.part1,method:e.groups.part2}})(t),{api:o,params:a,cache:s,block:u,timeout:c,strategy:l,cacheKey:h}=("object"==typeof t?t:e)||{};return await xk({expires:s||0,key:h||[n,r,i,a,u],call:async()=>{if(Mk.evm.includes(n))return await(async({blockchain:t,address:e,api:n,method:r,params:i,block:o,timeout:a,strategy:s})=>{if(s=s||lk().strategy||"failover",a=a||lk().timeout||void 0,"fastest"===s)return Promise.race((await mk.getProviders(t)).map((s=>{const u=Tk({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s});if(a){const t=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a)));return Promise.race([u,t])}return u})));{const s=await mk.getProvider(t),u=Tk({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s});return a?(a=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a))),Promise.race([u,a])):u}})({blockchain:n,address:r,api:o,method:i,params:a,block:u,strategy:l,timeout:c});if(Mk.solana.includes(n))return await(async({blockchain:t,address:e,api:n,method:r,params:i,block:o,timeout:a,strategy:s})=>{s=s||lk().strategy||"failover",a=a||lk().timeout||void 0;const u=await wk.getProviders(t);if("fastest"===s)return Promise.race(u.map((s=>{const u=new Promise((a=>{jk({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s}).then(a)})),c=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a||1e4)));return Promise.race([u,c])})));{const s=await wk.getProvider(t),c=jk({blockchain:t,address:e,api:n,method:r,params:i,block:o,provider:s,providers:u});return a?(a=new Promise(((t,e)=>setTimeout((()=>{e(new Error("Web3ClientTimeout"))}),a))),Promise.race([c,a])):c}})({blockchain:n,address:r,api:o,method:i,params:a,block:u,strategy:l,timeout:c});throw"Unknown blockchain: "+n}})};var Dk=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=92)}([function(t,e,n){(function(t){n.d(e,"f",(function(){return s})),n.d(e,"g",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"e",(function(){return f})),n.d(e,"d",(function(){return p})),n.d(e,"o",(function(){return m})),n.d(e,"n",(function(){return g})),n.d(e,"p",(function(){return y})),n.d(e,"A",(function(){return v})),n.d(e,"z",(function(){return b})),n.d(e,"B",(function(){return w})),n.d(e,"v",(function(){return M})),n.d(e,"u",(function(){return k})),n.d(e,"s",(function(){return x})),n.d(e,"r",(function(){return E})),n.d(e,"t",(function(){return N})),n.d(e,"q",(function(){return S})),n.d(e,"m",(function(){return I})),n.d(e,"l",(function(){return T})),n.d(e,"k",(function(){return j})),n.d(e,"j",(function(){return C})),n.d(e,"x",(function(){return O})),n.d(e,"a",(function(){return _})),n.d(e,"y",(function(){return z})),n.d(e,"w",(function(){return P}));var r=n(22),i=n.n(r),o=n(49),a=n.n(o);function s(t){return new Uint8Array(t)}function u(t,e=!1){const n=t.toString("hex");return e?_(n):n}function c(t){return t.toString("utf8")}function l(t){return t.readUIntBE(0,t.length)}function h(t){return a()(t)}function d(t,e=!1){return u(h(t),e)}function f(t){return c(h(t))}function p(t){return l(h(t))}function m(e){return t.from(O(e),"hex")}function g(t){return s(m(t))}function y(t){return c(m(t))}function v(e){return t.from(e,"utf8")}function b(t){return s(v(t))}function w(t,e=!1){return u(v(t),e)}function M(t){return h(A(L(t)))}function k(t){return A(L(t))}function L(t){return D((t>>>0).toString(2))}function A(t){return new Uint8Array(function(t,e=8){const n=D(t).match(new RegExp(`.{${e}}`,"gi"));return Array.from(n||[])}(t).map((t=>parseInt(t,2))))}function x(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}function E(e){return t.isBuffer(e)}function N(t){return i.a.strict(t)&&!E(t)}function S(t){return!N(t)&&!E(t)&&void 0!==t.byteLength}function I(t){return E(t)?"buffer":N(t)?"typed-array":S(t)?"array-buffer":Array.isArray(t)?"array":typeof t}function T(t){return function(t){return!("string"!=typeof t||!new RegExp(/^[01]+$/).test(t))&&t.length%8==0}(t)?"binary":x(t)?"hex":"utf8"}function j(...e){return t.concat(e)}function C(...t){let e=[];return t.forEach((t=>e=e.concat(Array.from(t)))),new Uint8Array([...e])}function D(t,e=8,n="0"){return function(t,e,n="0"){return function(t,e,n,r="0"){const i=e-t.length;let o=t;if(i>0){const e=r.repeat(i);o=n?e+t:t+e}return o}(t,e,!0,n)}(t,function(t,e=8){const n=t%e;return n?(t-n)/e*e+e:t}(t.length,e),n)}function O(t){return t.replace(/^0x/,"")}function _(t){return t.startsWith("0x")?t:"0x"+t}function z(t){return(t=D(t=O(t),2))&&(t=_(t)),t}function P(t){const e=t.startsWith("0x");return t=(t=O(t)).startsWith("0")?t.substring(1):t,e?_(t):t}}).call(this,n(18).Buffer)},function(t,e,n){n.d(e,"g",(function(){return r.detectEnv})),n.d(e,"r",(function(){return r.isMobile})),n.d(e,"m",(function(){return r.isBrowser})),n.d(e,"k",(function(){return r.getLocation})),n.d(e,"i",(function(){return r.getClientMeta})),n.d(e,"B",(function(){return r.setLocal})),n.d(e,"j",(function(){return r.getLocal})),n.d(e,"A",(function(){return r.removeLocal})),n.d(e,"v",(function(){return r.mobileLinkChoiceKey})),n.d(e,"C",(function(){return o})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"f",(function(){return f})),n.d(e,"w",(function(){return x})),n.d(e,"x",(function(){return E})),n.d(e,"z",(function(){return g})),n.d(e,"D",(function(){return y})),n.d(e,"h",(function(){return N})),n.d(e,"u",(function(){return C})),n.d(e,"y",(function(){return D})),n.d(e,"l",(function(){return I})),n.d(e,"a",(function(){return T})),n.d(e,"o",(function(){return b})),n.d(e,"q",(function(){return w})),n.d(e,"p",(function(){return M})),n.d(e,"n",(function(){return k})),n.d(e,"s",(function(){return L})),n.d(e,"t",(function(){return A}));var r=n(21);const i=["session_request","session_update","exchange_key","connect","disconnect","display_uri","modal_closed","transport_open","transport_close","transport_error"],o=["eth_sendTransaction","eth_signTransaction","eth_sign","eth_signTypedData","eth_signTypedData_v1","eth_signTypedData_v2","eth_signTypedData_v3","eth_signTypedData_v4","personal_sign","wallet_addEthereumChain","wallet_switchEthereumChain","wallet_getPermissions","wallet_requestPermissions","wallet_registerOnboarding","wallet_watchAsset","wallet_scanQRCode"];var a=n(16),s=n.n(a),u=n(0);function c(t){return u.b(new Uint8Array(t))}function l(t,e){return u.c(new Uint8Array(t),!e)}function h(t){return u.f(t).buffer}function d(t){return u.n(t).buffer}function f(t,e){const n=u.x(u.y(new s.a(t).toString(16)));return e?n:u.a(n)}var p=n(50);function m(t){return u.y(t)}const g=n(51).payloadId;function y(){return((t,e)=>{for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e})()}function v(t,e){return u.s(t,e)}function b(t){return void 0!==t.method}function w(t){return void 0!==t.result}function M(t){return void 0!==t.error}function k(t){return void 0!==t.event}function L(t){return i.includes(t)||t.startsWith("wc_")}function A(t){return!!t.method.startsWith("wc_")||!o.includes(t.method)}function x(t){var e,n;return(n=t)&&n.length&&!v(t[0])&&(t[0]=(e=t[0],u.B(e,!0))),t}function E(t){if(void 0!==t.type&&"0"!==t.type)return t;if(void 0===t.from||!(e=t.from)||"0x"!==e.toLowerCase().substring(0,2)||!/^(0x)?[0-9a-f]{40}$/i.test(e)||!/^(0x)?[0-9a-f]{40}$/.test(e)&&!/^(0x)?[0-9A-F]{40}$/.test(e)&&e!==function(t){t=Object(u.x)(t.toLowerCase());const e=Object(u.x)(Object(p.keccak_256)((n=t,u.A(n))));var n;let r="";for(let n=0;n7?r+=t[n].toUpperCase():r+=t[n];return Object(u.a)(r)}(e))throw new Error("Transaction object must include a valid 'from' value.");var e;function n(t){let e=t;var n;return("number"==typeof t||"string"==typeof t&&!function(t){return""===t||"string"==typeof t&&""===t.trim()}(t))&&(v(t)?"string"==typeof t&&(e=m(t)):e=f(t)),"string"==typeof e&&(n=e,e=u.w(u.a(n))),e}const r={from:m(t.from),to:void 0===t.to?void 0:m(t.to),gasPrice:void 0===t.gasPrice?"":n(t.gasPrice),gas:void 0===t.gas?void 0===t.gasLimit?"":n(t.gasLimit):n(t.gas),value:void 0===t.value?"":n(t.value),nonce:void 0===t.nonce?"":n(t.nonce),data:void 0===t.data?"":m(t.data)||"0x"},i=["gasPrice","gas","value","nonce"];return Object.keys(r).forEach((t=>{(void 0===r[t]||"string"==typeof r[t]&&!r[t].trim().length)&&i.includes(t)&&delete r[t]})),r}function N(t){const e=t.message||"Failed or Rejected Request";let n=-32e3;if(t&&!t.code)switch(e){case"Parse error":n=-32700;break;case"Invalid request":n=-32600;break;case"Method not found":n=-32601;break;case"Invalid params":n=-32602;break;case"Internal error":n=-32603;break;default:n=-32e3}const r={code:n,message:e};return t.data&&(r.data=t.data),r}var S=n(23);function I(t){const e=-1!==t.indexOf("?")?t.indexOf("?"):void 0;return void 0!==e?t.substr(e):""}function T(t,e){let n=j(t);return n=Object.assign(Object.assign({},n),e),function(t){return S.stringify(t)}(n)}function j(t){return S.parse(t)}function C(t){return void 0!==t.bridge}function D(t){const e=t.indexOf(":"),n=-1!==t.indexOf("?")?t.indexOf("?"):void 0,r=t.substring(0,e),i=function(t){const e=t.split("@");return{handshakeTopic:e[0],version:parseInt(e[1],10)}}(t.substring(e+1,n)),o=function(t){const e=j(t);return{key:e.key||"",bridge:e.bridge||""}}(void 0!==n?t.substr(n):"");return Object.assign(Object.assign({protocol:r},i),o)}},function(t,e,n){n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"j",(function(){return l})),n.d(e,"h",(function(){return r})),n.d(e,"d",(function(){return h})),n.d(e,"c",(function(){return d})),n.d(e,"k",(function(){return f})),n.d(e,"l",(function(){return p}));const r=512,i=256,o=256,a="AES-CBC",s="SHA-"+i,u="HMAC",c="SHA-256",l="SHA-512",h="encrypt",d="decrypt",f="sign",p="verify"},function(t,e,n){n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"a",(function(){return u}));const r="INTERNAL_ERROR",i="SERVER_ERROR",o=[-32700,-32600,-32601,-32602,-32603],a=[-32e3,-32099],s={PARSE_ERROR:{code:-32700,message:"Parse error"},INVALID_REQUEST:{code:-32600,message:"Invalid Request"},METHOD_NOT_FOUND:{code:-32601,message:"Method not found"},INVALID_PARAMS:{code:-32602,message:"Invalid params"},[r]:{code:-32603,message:"Internal error"},[i]:{code:-32e3,message:"Server error"}},u=i},function(t,e,n){function r(t){let e;return"undefined"!=typeof window&&void 0!==window[t]&&(e=window[t]),e}function i(t){const e=r(t);if(!e)throw new Error(t+" is not defined in Window");return e}Object.defineProperty(e,"__esModule",{value:!0}),e.getLocalStorage=e.getLocalStorageOrThrow=e.getCrypto=e.getCryptoOrThrow=e.getLocation=e.getLocationOrThrow=e.getNavigator=e.getNavigatorOrThrow=e.getDocument=e.getDocumentOrThrow=e.getFromWindowOrThrow=e.getFromWindow=void 0,e.getFromWindow=r,e.getFromWindowOrThrow=i,e.getDocumentOrThrow=function(){return i("document")},e.getDocument=function(){return r("document")},e.getNavigatorOrThrow=function(){return i("navigator")},e.getNavigator=function(){return r("navigator")},e.getLocationOrThrow=function(){return i("location")},e.getLocation=function(){return r("location")},e.getCryptoOrThrow=function(){return i("crypto")},e.getCrypto=function(){return r("crypto")},e.getLocalStorageOrThrow=function(){return i("localStorage")},e.getLocalStorage=function(){return r("localStorage")}},function(t,e,n){var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||e.hasOwnProperty(n)||r(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),i(n(67),e),i(n(68),e)},function(t,e,n){n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return h}));var r=n(5),i=n(2);async function o(t,e=i.a){return r.getSubtleCrypto().importKey("raw",t,function(t){return t===i.a?{length:i.b,name:i.a}:{hash:{name:i.f},name:i.e}}(e),!0,function(t){return t===i.a?[i.d,i.c]:[i.k,i.l]}(e))}async function a(t,e,n){const a=r.getSubtleCrypto(),s=await o(e,i.a),u=await a.encrypt({iv:t,name:i.a},s,n);return new Uint8Array(u)}async function s(t,e,n){const a=r.getSubtleCrypto(),s=await o(e,i.a),u=await a.decrypt({iv:t,name:i.a},s,n);return new Uint8Array(u)}async function u(t,e){const n=r.getSubtleCrypto(),a=await o(t,i.e),s=await n.sign({length:i.g,name:i.e},a,e);return new Uint8Array(s)}async function c(t,e){const n=r.getSubtleCrypto(),a=await o(t,i.e),s=await n.sign({length:i.h,name:i.e},a,e);return new Uint8Array(s)}async function l(t){const e=r.getSubtleCrypto(),n=await e.digest({name:i.i},t);return new Uint8Array(n)}async function h(t){const e=r.getSubtleCrypto(),n=await e.digest({name:i.j},t);return new Uint8Array(n)}},function(t,e){var n,r=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return r[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return void 0!==n},e.toSJIS=function(t){return n(t)}},function(t,e,n){var r=n(44),i=n(45);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!r.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return i.testNumeric(t)?e.NUMERIC:i.testAlphanumeric(t)?e.ALPHANUMERIC:i.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,n){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return n}}},function(t,e,n){n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n(3);function i(t){return r.c.includes(t)}function o(t){return Object.keys(r.f).includes(t)?r.f[t]:r.f[r.a]}function a(t){return Object.values(r.f).find((e=>e.code===t))||r.f[r.a]}},function(t,e,n){var r=n(19);o.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var i=o.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function o(t,e,n){return o.TYPED_ARRAY_SUPPORT||this instanceof o?"number"==typeof t?u(this,t):function(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(n<0||e.byteLength=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|t}function s(t,e){var n;return o.TYPED_ARRAY_SUPPORT?(n=new Uint8Array(e)).__proto__=o.prototype:(null===(n=t)&&(n=new o(e)),n.length=e),n}function u(t,e){var n=s(t,e<0?0:0|a(e));if(!o.TYPED_ARRAY_SUPPORT)for(var r=0;r55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function h(t){return o.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:l(t).length)}o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),o.prototype.write=function(t,e,n){void 0===e||void 0===n&&"string"==typeof e?(n=this.length,e=0):isFinite(e)&&(e|=0,isFinite(n)?n|=0:n=void 0);var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,n,r){return function(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}(l(e,t.length-n),t,n,r)}(this,t,e,n)},o.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i1)for(var n=1;n=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(t,e,n,r){for(var i=0,o=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(t){return t instanceof o||null!==t&&"object"==typeof t&&t.constructor.wordSize===o.wordSize&&Array.isArray(t.words)},o.max=function(t,e){return t.cmp(e)>0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&i++,16===e?this._parseHex(t,i):this._parseBase(t,e,i),"-"===t[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initNumber=function(t,e,n){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(r(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),e,n)},o.prototype._initArray=function(t,e,n){if(r("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=6)i=s(t,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==e&&(i=s(t,e,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,c=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n.strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var d=l[t],f=h[t];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(t);n=(p=p.idivn(f)).isZero()?m+n:c[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(t,e){return r(void 0!==a),this.toArrayLike(a,t,e)},o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===e,c=new t(o),l=this.clone();if(u){for(s=0;!l.isZero();s++)a=l.andln(255),l.iushrn(8),c[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function p(t,e,n){return(new m).mulp(t,e,n)}function m(t,e){this.x=t,this.y=e}Math.imul||(f=d),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?f(this,t,e):n<63?d(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,t,e):p(this,t,e)},m.prototype.makeRBT=function(t){for(var e=new Array(t),n=o.prototype._countBits(t)-1,r=0;r>=1;return r},m.prototype.permute=function(t,e,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*e;a>=26,e+=i/67108864|0,e+=o>>>26,this.words[n]=67108863&o}return 0!==e&&(this.words[n]=e,this.length++),this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,u=r.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,i=this.length-1;i>=0;i--)n=(e*n+(0|this.words[i]))%t;return n},o.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*e;this.words[n]=i/t|0,e=i%t}return this.strip()},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var l=n.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(u)):(n.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new k(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var g={k256:null,p224:null,p192:null,p25519:null};function y(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function L(t){k.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},y.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):n.strip(),n},y.prototype.split=function(t,e){t.iushrn(this.n,0,e)},y.prototype.imulK=function(t){return t.imul(this.k)},i(v,y),v.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r>>22,i=o}i>>>=22,t.words[r-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},v.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(g[t])return g[t];var e;if("k256"===t)e=new v;else if("p224"===t)e=new b;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new M}return g[t]=e,e},k.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},k.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},k.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},k.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},k.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},k.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},k.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},k.prototype.isqr=function(t){return this.imul(t,t.clone())},k.prototype.sqr=function(t){return this.mul(t,t)},k.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,i),d=this.pow(t,i.addn(1).iushrn(1)),f=this.pow(t,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}u=26}return i},k.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},k.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new L(t)},i(L,k),L.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},L.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},L.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},L.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},L.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(54)(t))},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});const r=n(60);r.__exportStar(n(61),e),r.__exportStar(n(62),e)},function(t,e,n){(function(t){ /*! * The buffer module from node.js, for the browser. * @@ -55,7 +36,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ -var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))}function h(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var t=[],e=0;e1||s(t,e)}))})}function s(t,e){try{(n=i[t](e)).value instanceof v?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(t){l(o[0][3],t)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:v(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function M(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){!function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}(r,i,(e=t[n](e)).done,e.value)}))}}}function k(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function L(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function A(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function E(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){(function(t){function n(){return(null==t?void 0:t.crypto)||(null==t?void 0:t.msCrypto)||{}}function r(){const t=n();return t.subtle||t.webkitSubtle}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowserCryptoAvailable=e.getSubtleCrypto=e.getBrowerCrypto=void 0,e.getBrowerCrypto=n,e.getSubtleCrypto=r,e.isBrowserCryptoAvailable=function(){return!!n()&&!!r()}}).call(this,n(13))},function(t,e,n){(function(t){function n(){return"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product}function r(){return void 0!==t&&void 0!==t.versions&&void 0!==t.versions.node}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowser=e.isNode=e.isReactNative=void 0,e.isReactNative=n,e.isNode=r,e.isBrowser=function(){return!n()&&!r()}}).call(this,n(12))},function(t,e,n){t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))},function(t,e,n){var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],o(n),o(r))}function a(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(r),n=1;n{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const n=t.indexOf(e);return-1===n?[t]:[t.slice(0,n),t.slice(n+e.length)]}},function(t,e,n){t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},function(t,e,n){(function(t){function n(){return(null==t?void 0:t.crypto)||(null==t?void 0:t.msCrypto)||{}}function r(){const t=n();return t.subtle||t.webkitSubtle}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowserCryptoAvailable=e.getSubtleCrypto=e.getBrowerCrypto=void 0,e.getBrowerCrypto=n,e.getSubtleCrypto=r,e.isBrowserCryptoAvailable=function(){return!!n()&&!!r()}}).call(this,n(13))},function(t,e,n){(function(t){function n(){return"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product}function r(){return void 0!==t&&void 0!==t.versions&&void 0!==t.versions.node}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowser=e.isNode=e.isReactNative=void 0,e.isReactNative=n,e.isNode=r,e.isBrowser=function(){return!n()&&!r()}}).call(this,n(12))},function(t,e,n){var r=n(70),i=n(71),o=n(88),a=n(89);function s(t,e,n,o,a){var s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!r())throw new Error("Callback required as last argument");if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(n=e,e=o=void 0):2!==u||e.getContext||(o=n,n=e,e=void 0),new Promise((function(r,a){try{var s=i.create(n,o);r(t(s,e,o))}catch(t){a(t)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=n,n=e,e=o=void 0):3===u&&(e.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=e,e=void 0));try{var l=i.create(n,o);a(null,t(l,e,o))}catch(t){a(t)}}e.create=i.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(t,e,n){return a.render(t,n)}))},function(t,e){t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},function(t,e,n){var r=n(10),i=n(7),o=n(20),a=n(72),s=n(73),u=n(74),c=n(75),l=n(76),h=n(43),d=n(77),f=n(80),p=n(81),m=n(8),g=n(82),y=n(19);function v(t,e,n){var r,i,o=t.size,a=p.getEncodedBits(e,n);for(r=0;r<15;r++)i=1==(a>>r&1),r<6?t.set(r,8,i,!0):r<8?t.set(r+1,8,i,!0):t.set(o-15+r,8,i,!0),r<8?t.set(8,o-r-1,i,!0):r<9?t.set(8,15-r-1+1,i,!0):t.set(8,15-r-1,i,!0);t.set(o-8,8,1,!0)}function b(t,e,n){var o=new a;n.forEach((function(e){o.put(e.mode.bit,4),o.put(e.getLength(),m.getCharCountIndicator(e.mode,t)),e.write(o)}));var s=8*(i.getSymbolTotalCodewords(t)-h.getTotalCodewordsCount(t,e));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);for(var u=(s-o.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(o+s,a+u,!0,!0):t.set(o+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,n=8;n=7&&function(t,e){for(var n,r,i,o=t.size,a=f.getEncodedBits(e),s=0;s<18;s++)n=Math.floor(s/3),r=s%3+o-8-3,i=1==(a>>s&1),t.set(n,r,i,!0),t.set(r,n,i,!0)}(w,e),function(t,e){for(var n=t.size,r=-1,i=n-1,o=7,a=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(i,s-u)){var c=!1;a>>o&1)),t.set(i,s-u,c),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(w,p),isNaN(r)&&(r=l.getBestMask(w,v.bind(null,w,n))),l.applyMask(r,w),v(w,n,r),{modules:w,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}(t,n,a,r)}},function(t,e){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=n},function(t,e,n){var r=n(10);function i(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=r.alloc(t*t),this.reservedBit=r.alloc(t*t)}i.prototype.set=function(t,e,n,r){var i=t*this.size+e;this.data[i]=n,r&&(this.reservedBit[i]=!0)},i.prototype.get=function(t,e){return this.data[t*this.size+e]},i.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},i.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=i},function(t,e,n){var r=n(7).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,n=r(t),i=145===n?26:2*Math.ceil((n-13)/(2*e-2)),o=[n-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,r=0,i=0,o=null,a=null,s=0;s=5&&(n+=r-5+3),o=c,r=1),(c=t.get(u,s))===a?i++:(i>=5&&(n+=i-5+3),a=c,i=1)}r>=5&&(n+=r-5+3),i>=5&&(n+=i-5+3)}return n},e.getPenaltyN2=function(t){for(var e=t.size,n=0,r=0;r=10&&(1488===r||93===r)&&n++,i=i<<1&2047|t.get(a,o),a>=10&&(1488===i||93===i)&&n++}return 40*n},e.getPenaltyN4=function(t){for(var e=0,n=t.data.length,r=0;r0){var u=r.alloc(this.degree);return a.copy(u,s),u}return a},t.exports=a},function(t,e,n){var r=n(10),i=n(79);e.mul=function(t,e){for(var n=r.alloc(t.length+e.length-1),o=0;o=0;){for(var o=n[0],a=0;a1)return function(t,n){for(var r=1;r<=40;r++)if(h(t,r)<=e.getCapacity(r,n,a.MIXED))return r}(t,i);if(0===t.length)return 1;r=t[0]}else r=t;return function(t,n,r){for(var i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}(r.mode,r.getLength(),i)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;r.getBCHDigit(e)-c>=0;)e^=7973<=0;)o^=1335<=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(f(t,c.isKanjiModeEnabled()))}},function(t,e,n){var r=n(8);function i(t){this.mode=r.NUMERIC,this.data=t.toString()}i.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e,n,r;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),r=parseInt(n,10),t.put(r,10);var i=this.data.length-e;i>0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*i+1))},t.exports=i},function(t,e,n){var r=n(8),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(t){this.mode=r.ALPHANUMERIC,this.data=t}o.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var n=45*i.indexOf(this.data[e]);n+=i.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},t.exports=o},function(t,e,n){var r=n(10),i=n(8);function o(t){this.mode=i.BYTE,this.data=r.from(t)}o.getBitsLength=function(t){return 8*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){for(var e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}},t.exports=o},function(t,e,n){var r={single_source_shortest_paths:function(t,e,n){var i={},o={};o[e]=0;var a,s,u,c,l,h,d,f=r.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(u in s=(a=f.pop()).value,c=a.cost,l=t[s]||{})l.hasOwnProperty(u)&&(h=c+l[u],d=o[u],(void 0===o[u]||d>h)&&(o[u]=h,f.push(u,h),i[u]=s));if(void 0!==n&&void 0===o[n]){var p=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(p)}return i},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var i=r.single_source_shortest_paths(t,e,n);return r.extract_shortest_path_from_predecessor_list(i,n)},PriorityQueue:{make:function(t){var e,n=r.PriorityQueue,i={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i.queue=[],i.sorter=t.sorter||n.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=r},function(t,e,n){var r=n(46);e.render=function(t,e,n){var i=n,o=e;void 0!==i||e&&e.getContext||(i=e,e=void 0),e||(o=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),i=r.getOptions(i);var a=r.getImageWidth(t.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return r.qrToImageData(u.data,t,i),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(s,o,a),s.putImageData(u,0,0),o},e.renderToDataURL=function(t,n,r){var i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});var o=e.render(t,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},function(t,e,n){var r=n(46);function i(t,e){var n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(t,e,n){var r=t+e;return void 0!==n&&(r+=" "+n),r}e.render=function(t,e,n){var a=r.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",h="0&&c>0&&t[u-1]||(r+=a?o("M",c+n,.5+l+n):o("m",i,0),i=0,a=!1),c+1',d='viewBox="0 0 '+c+" "+c+'"',f=''+l+h+"\n";return"function"==typeof n&&n(null,f),f}},function(t,e,n){var r=n(91),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,o,a,s,u,c,l=!1;e||(e={}),n=e.debug||!1;try{if(a=r(),s=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=t,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[e.format]||i.default;window.clipboardData.setData(o,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),l=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,t)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),c&&document.body.removeChild(c),a()}return l}},function(t,e){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r`https://${t}.bridge.walletconnect.org`));var s=n(11),u=n(0);async function c(t){const e=(t||256)/8,n=s.randomBytes(e);return Object(i.d)(u.b(n))}async function l(t,e){const n=u.n(t.data),r=u.n(t.iv),i=u.n(t.hmac),o=u.c(i,!1),a=u.j(n,r),c=await s.hmacSha256Sign(e,a),l=u.c(c,!1);return u.x(o)===u.x(l)}async function h(t,e,n){const r=u.f(Object(i.b)(e)),o=n||await c(128),a=u.f(Object(i.b)(o)),l=u.c(a,!1),h=JSON.stringify(t),d=u.z(h),f=await s.aesCbcEncrypt(a,r,d),p=u.c(f,!1),m=u.j(f,a),g=await s.hmacSha256Sign(r,m);return{data:p,hmac:u.c(g,!1),iv:l}}async function d(t,e){const n=u.f(Object(i.b)(e));if(!n)throw new Error("Missing key: required for decryption");if(!await l(t,n))return null;const r=u.n(t.data),o=u.n(t.iv),a=await s.aesCbcDecrypt(o,n,r),c=u.e(a);let h;try{h=JSON.parse(c)}catch(t){return null}return h}var f=class extends class{constructor(t){if(this.protocol="wc",this.version=1,this._bridge="",this._key=null,this._clientId="",this._clientMeta=null,this._peerId="",this._peerMeta=null,this._handshakeId=0,this._handshakeTopic="",this._connected=!1,this._accounts=[],this._chainId=0,this._networkId=0,this._rpcUrl="",this._eventManager=new class{constructor(){this._eventEmitters=[]}subscribe(t){this._eventEmitters.push(t)}unsubscribe(t){this._eventEmitters=this._eventEmitters.filter((e=>e.event!==t))}trigger(t){let e,n=[];e=Object(i.o)(t)?t.method:Object(i.q)(t)||Object(i.p)(t)?"response:"+t.id:Object(i.n)(t)?t.event:"",e&&(n=this._eventEmitters.filter((t=>t.event===e))),n&&n.length||Object(i.s)(e)||Object(i.n)(e)||(n=this._eventEmitters.filter((t=>"call_request"===t.event))),n.forEach((e=>{if(Object(i.p)(t)){const n=new Error(t.error.message);e.callback(n,null)}else e.callback(null,t)}))}},this._clientMeta=Object(i.i)()||t.connectorOpts.clientMeta||null,this._cryptoLib=t.cryptoLib,this._sessionStorage=t.sessionStorage||new class{constructor(t="walletconnect"){this.storageId=t}getSession(){let t=null;const e=Object(i.j)(this.storageId);return e&&Object(i.u)(e)&&(t=e),t}setSession(t){return Object(i.B)(this.storageId,t),t}removeSession(){Object(i.A)(this.storageId)}}(t.connectorOpts.storageId),this._qrcodeModal=t.connectorOpts.qrcodeModal,this._qrcodeModalOptions=t.connectorOpts.qrcodeModalOptions,this._signingMethods=[...i.C,...t.connectorOpts.signingMethods||[]],!t.connectorOpts.bridge&&!t.connectorOpts.uri&&!t.connectorOpts.session)throw new Error("Missing one of the required parameters: bridge / uri / session");var e;t.connectorOpts.bridge&&(this.bridge=function(t){return"walletconnect.org"===function(t){return function(t){let e=t.indexOf("//")>-1?t.split("/")[2]:t.split("/")[0];return e=e.split(":")[0],e=e.split("?")[0],e}(t).split(".").slice(-2).join(".")}(t)}(e=t.connectorOpts.bridge)?a[Math.floor(Math.random()*a.length)]:e),t.connectorOpts.uri&&(this.uri=t.connectorOpts.uri);const n=t.connectorOpts.session||this._getStorageSession();n&&(this.session=n),this.handshakeId&&this._subscribeToSessionResponse(this.handshakeId,"Session request rejected"),this._transport=t.transport||new o.a({protocol:this.protocol,version:this.version,url:this.bridge,subscriptions:[this.clientId]}),this._subscribeToInternalEvents(),this._initTransport(),t.connectorOpts.uri&&this._subscribeToSessionRequest(),t.pushServerOpts&&this._registerPushServer(t.pushServerOpts)}set bridge(t){t&&(this._bridge=t)}get bridge(){return this._bridge}set key(t){if(!t)return;const e=Object(i.e)(t);this._key=e}get key(){return this._key?Object(i.c)(this._key,!0):""}set clientId(t){t&&(this._clientId=t)}get clientId(){let t=this._clientId;return t||(t=this._clientId=Object(i.D)()),this._clientId}set peerId(t){t&&(this._peerId=t)}get peerId(){return this._peerId}set clientMeta(t){}get clientMeta(){let t=this._clientMeta;return t||(t=this._clientMeta=Object(i.i)()),t}set peerMeta(t){this._peerMeta=t}get peerMeta(){return this._peerMeta}set handshakeTopic(t){t&&(this._handshakeTopic=t)}get handshakeTopic(){return this._handshakeTopic}set handshakeId(t){t&&(this._handshakeId=t)}get handshakeId(){return this._handshakeId}get uri(){return this._formatUri()}set uri(t){if(!t)return;const{handshakeTopic:e,bridge:n,key:r}=this._parseUri(t);this.handshakeTopic=e,this.bridge=n,this.key=r}set chainId(t){this._chainId=t}get chainId(){return this._chainId}set networkId(t){this._networkId=t}get networkId(){return this._networkId}set accounts(t){this._accounts=t}get accounts(){return this._accounts}set rpcUrl(t){this._rpcUrl=t}get rpcUrl(){return this._rpcUrl}set connected(t){}get connected(){return this._connected}set pending(t){}get pending(){return!!this._handshakeTopic}get session(){return{connected:this.connected,accounts:this.accounts,chainId:this.chainId,bridge:this.bridge,key:this.key,clientId:this.clientId,clientMeta:this.clientMeta,peerId:this.peerId,peerMeta:this.peerMeta,handshakeId:this.handshakeId,handshakeTopic:this.handshakeTopic}}set session(t){t&&(this._connected=t.connected,this.accounts=t.accounts,this.chainId=t.chainId,this.bridge=t.bridge,this.key=t.key,this.clientId=t.clientId,this.clientMeta=t.clientMeta,this.peerId=t.peerId,this.peerMeta=t.peerMeta,this.handshakeId=t.handshakeId,this.handshakeTopic=t.handshakeTopic)}on(t,e){const n={event:t,callback:e};this._eventManager.subscribe(n)}off(t){this._eventManager.unsubscribe(t)}async createInstantRequest(t){this._key=await this._generateKey();const e=this._formatRequest({method:"wc_instantRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,request:this._formatRequest(t)}]});this.handshakeId=e.id,this.handshakeTopic=Object(i.D)(),this._eventManager.trigger({event:"display_uri",params:[this.uri]}),this.on("modal_closed",(()=>{throw new Error("User close QRCode Modal")}));const n=()=>{this.killSession()};try{const t=await this._sendCallRequest(e);return t&&n(),t}catch(t){throw n(),t}}async connect(t){if(!this._qrcodeModal)throw new Error("QRCode Modal not provided");return this.connected?{chainId:this.chainId,accounts:this.accounts}:(await this.createSession(t),new Promise((async(t,e)=>{this.on("modal_closed",(()=>e(new Error("User close QRCode Modal")))),this.on("connect",((n,r)=>{if(n)return e(n);t(r.params[0])}))})))}async createSession(t){if(this._connected)throw new Error("Session currently connected");if(this.pending)return;this._key=await this._generateKey();const e=this._formatRequest({method:"wc_sessionRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,chainId:t&&t.chainId?t.chainId:null}]});this.handshakeId=e.id,this.handshakeTopic=Object(i.D)(),this._sendSessionRequest(e,"Session update rejected",{topic:this.handshakeTopic}),this._eventManager.trigger({event:"display_uri",params:[this.uri]})}approveSession(t){if(this._connected)throw new Error("Session currently connected");this.chainId=t.chainId,this.accounts=t.accounts,this.networkId=t.networkId||0,this.rpcUrl=t.rpcUrl||"";const e={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl,peerId:this.clientId,peerMeta:this.clientMeta},n={id:this.handshakeId,jsonrpc:"2.0",result:e};this._sendResponse(n),this._connected=!0,this._setStorageSession(),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})}rejectSession(t){if(this._connected)throw new Error("Session currently connected");const e=t&&t.message?t.message:"Session Rejected",n=this._formatResponse({id:this.handshakeId,error:{message:e}});this._sendResponse(n),this._connected=!1,this._eventManager.trigger({event:"disconnect",params:[{message:e}]}),this._removeStorageSession()}updateSession(t){if(!this._connected)throw new Error("Session currently disconnected");this.chainId=t.chainId,this.accounts=t.accounts,this.networkId=t.networkId||0,this.rpcUrl=t.rpcUrl||"";const e={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl},n=this._formatRequest({method:"wc_sessionUpdate",params:[e]});this._sendSessionRequest(n,"Session update rejected"),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]}),this._manageStorageSession()}async killSession(t){const e=t?t.message:"Session Disconnected",n=this._formatRequest({method:"wc_sessionUpdate",params:[{approved:!1,chainId:null,networkId:null,accounts:null}]});await this._sendRequest(n),this._handleSessionDisconnect(e)}async sendTransaction(t){if(!this._connected)throw new Error("Session currently disconnected");const e=Object(i.x)(t),n=this._formatRequest({method:"eth_sendTransaction",params:[e]});return await this._sendCallRequest(n)}async signTransaction(t){if(!this._connected)throw new Error("Session currently disconnected");const e=Object(i.x)(t),n=this._formatRequest({method:"eth_signTransaction",params:[e]});return await this._sendCallRequest(n)}async signMessage(t){if(!this._connected)throw new Error("Session currently disconnected");const e=this._formatRequest({method:"eth_sign",params:t});return await this._sendCallRequest(e)}async signPersonalMessage(t){if(!this._connected)throw new Error("Session currently disconnected");t=Object(i.w)(t);const e=this._formatRequest({method:"personal_sign",params:t});return await this._sendCallRequest(e)}async signTypedData(t){if(!this._connected)throw new Error("Session currently disconnected");const e=this._formatRequest({method:"eth_signTypedData",params:t});return await this._sendCallRequest(e)}async updateChain(t){if(!this._connected)throw new Error("Session currently disconnected");const e=this._formatRequest({method:"wallet_updateChain",params:[t]});return await this._sendCallRequest(e)}unsafeSend(t,e){return this._sendRequest(t,e),this._eventManager.trigger({event:"call_request_sent",params:[{request:t,options:e}]}),new Promise(((e,n)=>{this._subscribeToResponse(t.id,((t,r)=>{if(t)n(t);else{if(!r)throw new Error("Missing JSON RPC response");e(r)}}))}))}async sendCustomRequest(t,e){if(!this._connected)throw new Error("Session currently disconnected");switch(t.method){case"eth_accounts":return this.accounts;case"eth_chainId":return Object(i.f)(this.chainId);case"eth_sendTransaction":case"eth_signTransaction":t.params&&(t.params[0]=Object(i.x)(t.params[0]));break;case"personal_sign":t.params&&(t.params=Object(i.w)(t.params))}const n=this._formatRequest(t);return await this._sendCallRequest(n,e)}approveRequest(t){if(!Object(i.q)(t))throw new Error('JSON-RPC success response must include "result" field');{const e=this._formatResponse(t);this._sendResponse(e)}}rejectRequest(t){if(!Object(i.p)(t))throw new Error('JSON-RPC error response must include "error" field');{const e=this._formatResponse(t);this._sendResponse(e)}}transportClose(){this._transport.close()}async _sendRequest(t,e){const n=this._formatRequest(t),r=await this._encrypt(n),o=void 0!==(null==e?void 0:e.topic)?e.topic:this.peerId,a=JSON.stringify(r),s=void 0!==(null==e?void 0:e.forcePushNotification)?!e.forcePushNotification:Object(i.t)(n);this._transport.send(a,o,s)}async _sendResponse(t){const e=await this._encrypt(t),n=this.peerId,r=JSON.stringify(e);this._transport.send(r,n,!0)}async _sendSessionRequest(t,e,n){this._sendRequest(t,n),this._subscribeToSessionResponse(t.id,e)}_sendCallRequest(t,e){return this._sendRequest(t,e),this._eventManager.trigger({event:"call_request_sent",params:[{request:t,options:e}]}),this._subscribeToCallResponse(t.id)}_formatRequest(t){if(void 0===t.method)throw new Error('JSON RPC request must have valid "method" value');return{id:void 0===t.id?Object(i.z)():t.id,jsonrpc:"2.0",method:t.method,params:void 0===t.params?[]:t.params}}_formatResponse(t){if(void 0===t.id)throw new Error('JSON RPC request must have valid "id" value');const e={id:t.id,jsonrpc:"2.0"};if(Object(i.p)(t)){const n=Object(i.h)(t.error);return Object.assign(Object.assign(Object.assign({},e),t),{error:n})}if(Object(i.q)(t))return Object.assign(Object.assign({},e),t);throw new Error("JSON RPC response format is invalid")}_handleSessionDisconnect(t){const e=t||"Session Disconnected";this._connected||(this._qrcodeModal&&this._qrcodeModal.close(),Object(i.A)(i.v)),this._connected&&(this._connected=!1),this._handshakeId&&(this._handshakeId=0),this._handshakeTopic&&(this._handshakeTopic=""),this._peerId&&(this._peerId=""),this._eventManager.trigger({event:"disconnect",params:[{message:e}]}),this._removeStorageSession(),this.transportClose()}_handleSessionResponse(t,e){e&&e.approved?(this._connected?(e.chainId&&(this.chainId=e.chainId),e.accounts&&(this.accounts=e.accounts),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]})):(this._connected=!0,e.chainId&&(this.chainId=e.chainId),e.accounts&&(this.accounts=e.accounts),e.peerId&&!this.peerId&&(this.peerId=e.peerId),e.peerMeta&&!this.peerMeta&&(this.peerMeta=e.peerMeta),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})),this._manageStorageSession()):this._handleSessionDisconnect(t)}async _handleIncomingMessages(t){if(![this.clientId,this.handshakeTopic].includes(t.topic))return;let e;try{e=JSON.parse(t.payload)}catch(t){return}const n=await this._decrypt(e);n&&this._eventManager.trigger(n)}_subscribeToSessionRequest(){this._transport.subscribe(this.handshakeTopic)}_subscribeToResponse(t,e){this.on("response:"+t,e)}_subscribeToSessionResponse(t,e){this._subscribeToResponse(t,((t,n)=>{t?this._handleSessionResponse(t.message):Object(i.q)(n)?this._handleSessionResponse(e,n.result):n.error&&n.error.message?this._handleSessionResponse(n.error.message):this._handleSessionResponse(e)}))}_subscribeToCallResponse(t){return new Promise(((e,n)=>{this._subscribeToResponse(t,((t,r)=>{t?n(t):Object(i.q)(r)?e(r.result):r.error&&r.error.message?n(r.error):n(new Error("JSON RPC response format is invalid"))}))}))}_subscribeToInternalEvents(){this.on("display_uri",(()=>{this._qrcodeModal&&this._qrcodeModal.open(this.uri,(()=>{this._eventManager.trigger({event:"modal_closed",params:[]})}),this._qrcodeModalOptions)})),this.on("connect",(()=>{this._qrcodeModal&&this._qrcodeModal.close()})),this.on("call_request_sent",((t,e)=>{const{request:n}=e.params[0];if(Object(i.r)()&&this._signingMethods.includes(n.method)){const t=Object(i.j)(i.v);t&&(window.location.href=t.href)}})),this.on("wc_sessionRequest",((t,e)=>{t&&this._eventManager.trigger({event:"error",params:[{code:"SESSION_REQUEST_ERROR",message:t.toString()}]}),this.handshakeId=e.id,this.peerId=e.params[0].peerId,this.peerMeta=e.params[0].peerMeta;const n=Object.assign(Object.assign({},e),{method:"session_request"});this._eventManager.trigger(n)})),this.on("wc_sessionUpdate",((t,e)=>{t&&this._handleSessionResponse(t.message),this._handleSessionResponse("Session disconnected",e.params[0])}))}_initTransport(){this._transport.on("message",(t=>this._handleIncomingMessages(t))),this._transport.on("open",(()=>this._eventManager.trigger({event:"transport_open",params:[]}))),this._transport.on("close",(()=>this._eventManager.trigger({event:"transport_close",params:[]}))),this._transport.on("error",(()=>this._eventManager.trigger({event:"transport_error",params:["Websocket connection failed"]}))),this._transport.open()}_formatUri(){return`${this.protocol}:${this.handshakeTopic}@${this.version}?bridge=${encodeURIComponent(this.bridge)}&key=${this.key}`}_parseUri(t){const e=Object(i.y)(t);if(e.protocol===this.protocol){if(!e.handshakeTopic)throw Error("Invalid or missing handshakeTopic parameter value");const t=e.handshakeTopic;if(!e.bridge)throw Error("Invalid or missing bridge url parameter value");const n=decodeURIComponent(e.bridge);if(!e.key)throw Error("Invalid or missing key parameter value");return{handshakeTopic:t,bridge:n,key:e.key}}throw new Error("URI format is invalid")}async _generateKey(){return this._cryptoLib?await this._cryptoLib.generateKey():null}async _encrypt(t){const e=this._key;return this._cryptoLib&&e?await this._cryptoLib.encrypt(t,e):null}async _decrypt(t){const e=this._key;return this._cryptoLib&&e?await this._cryptoLib.decrypt(t,e):null}_getStorageSession(){let t=null;return this._sessionStorage&&(t=this._sessionStorage.getSession()),t}_setStorageSession(){this._sessionStorage&&this._sessionStorage.setSession(this.session)}_removeStorageSession(){this._sessionStorage&&this._sessionStorage.removeSession()}_manageStorageSession(){this._connected?this._setStorageSession():this._removeStorageSession()}_registerPushServer(t){if(!t.url||"string"!=typeof t.url)throw Error("Invalid or missing pushServerOpts.url parameter value");if(!t.type||"string"!=typeof t.type)throw Error("Invalid or missing pushServerOpts.type parameter value");if(!t.token||"string"!=typeof t.token)throw Error("Invalid or missing pushServerOpts.token parameter value");const e={bridge:this.bridge,topic:this.clientId,type:t.type,token:t.token,peerName:"",language:t.language||""};this.on("connect",(async(n,r)=>{if(n)throw n;if(t.peerMeta){const t=r.params[0].peerMeta.name;e.peerName=t}try{const n=await fetch(t.url+"/new",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)});if(!(await n.json()).success)throw Error("Failed to register in Push Server")}catch(n){throw Error("Failed to register in Push Server")}}))}}{constructor(t,e){super({cryptoLib:r,connectorOpts:t,pushServerOpts:e})}},p=n(42),m=n.n(p)},function(t,e,n){n.r(e),n.d(e,"useState",(function(){return J})),n.d(e,"useReducer",(function(){return q})),n.d(e,"useEffect",(function(){return X})),n.d(e,"useLayoutEffect",(function(){return K})),n.d(e,"useRef",(function(){return $})),n.d(e,"useImperativeHandle",(function(){return tt})),n.d(e,"useMemo",(function(){return et})),n.d(e,"useCallback",(function(){return nt})),n.d(e,"useContext",(function(){return rt})),n.d(e,"useDebugValue",(function(){return it})),n.d(e,"useErrorBoundary",(function(){return ot})),n.d(e,"createElement",(function(){return m})),n.d(e,"createContext",(function(){return B})),n.d(e,"createRef",(function(){return y})),n.d(e,"Fragment",(function(){return v})),n.d(e,"Component",(function(){return b})),n.d(e,"version",(function(){return Pt})),n.d(e,"Children",(function(){return vt})),n.d(e,"render",(function(){return jt})),n.d(e,"hydrate",(function(){return Ct})),n.d(e,"unmountComponentAtNode",(function(){return Qt})),n.d(e,"createPortal",(function(){return St})),n.d(e,"createFactory",(function(){return Bt})),n.d(e,"cloneElement",(function(){return Ut})),n.d(e,"isValidElement",(function(){return Rt})),n.d(e,"findDOMNode",(function(){return Wt})),n.d(e,"PureComponent",(function(){return ft})),n.d(e,"memo",(function(){return pt})),n.d(e,"forwardRef",(function(){return gt})),n.d(e,"unstable_batchedUpdates",(function(){return Yt})),n.d(e,"Suspense",(function(){return Mt})),n.d(e,"SuspenseList",(function(){return At})),n.d(e,"lazy",(function(){return Lt}));var r,i,o,a,s,u,c,l={},h=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function f(t,e){for(var n in e)t[n]=e[n];return t}function p(t){var e=t.parentNode;e&&e.removeChild(t)}function m(t,e,n){var r,i=arguments,o={};for(r in e)"key"!==r&&"ref"!==r&&(o[r]=e[r]);if(arguments.length>3)for(n=[n],r=3;r2&&(e.children=h.slice.call(arguments,2)),n={},e)"key"!==r&&"ref"!==r&&(n[r]=e[r]);return g(t.type,n,e.key||t.key,e.ref||t.ref,null)}function B(t){var e={},n={__c:"__cC"+c++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var r,i=this;return this.getChildContext||(r=[],this.getChildContext=function(){return e[n.__c]=i,e},this.shouldComponentUpdate=function(t){i.props.value!==t.value&&r.some((function(e){e.context=t.value,k(e)}))},this.sub=function(t){r.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){r.splice(r.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Consumer.contextType=n,n.Provider.__=n,n}r={__e:function(t,e){for(var n,r;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(t))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(t)),r)return k(n.__E=n)}catch(e){t=e}throw t}},b.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&f(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),k(this))},b.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),k(this))},b.prototype.render=v,i=[],o=0,a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=l,c=0;var R,U,Q,W=0,Y=[],F=r.__r,H=r.diffed,G=r.__c,Z=r.unmount;function V(t,e){r.__h&&r.__h(U,t,W||e),W=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function J(t){return W=1,q(lt,t)}function q(t,e,n){var r=V(R++,2);return r.__c||(r.__c=U,r.__=[n?n(e):lt(void 0,e),function(e){var n=t(r.__[0],e);r.__[0]!==n&&(r.__[0]=n,r.__c.setState({}))}]),r.__}function X(t,e){var n=V(R++,3);!r.__s&&ct(n.__H,e)&&(n.__=t,n.__H=e,U.__H.__h.push(n))}function K(t,e){var n=V(R++,4);!r.__s&&ct(n.__H,e)&&(n.__=t,n.__H=e,U.__h.push(n))}function $(t){return W=5,et((function(){return{current:t}}),[])}function tt(t,e,n){W=6,K((function(){"function"==typeof t?t(e()):t&&(t.current=e())}),null==n?n:n.concat(t))}function et(t,e){var n=V(R++,7);return ct(n.__H,e)?(n.__H=e,n.__h=t,n.__=t()):n.__}function nt(t,e){return W=8,et((function(){return t}),e)}function rt(t){var e=U.context[t.__c],n=V(R++,9);return n.__c=t,e?(null==n.__&&(n.__=!0,e.sub(U)),e.props.value):t.__}function it(t,e){r.useDebugValue&&r.useDebugValue(e?e(t):t)}function ot(t){var e=V(R++,10),n=J();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(t){e.__&&e.__(t),n[1](t)}),[n[0],function(){n[1](void 0)}]}function at(){Y.some((function(t){if(t.__P)try{t.__H.__h.forEach(st),t.__H.__h.forEach(ut),t.__H.__h=[]}catch(e){return t.__H.__h=[],r.__e(e,t.__v),!0}})),Y=[]}function st(t){t.t&&t.t()}function ut(t){var e=t.__();"function"==typeof e&&(t.t=e)}function ct(t,e){return!t||e.some((function(e,n){return e!==t[n]}))}function lt(t,e){return"function"==typeof e?e(t):e}function ht(t,e){for(var n in e)t[n]=e[n];return t}function dt(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}r.__r=function(t){F&&F(t),R=0,(U=t.__c).__H&&(U.__H.__h.forEach(st),U.__H.__h.forEach(ut),U.__H.__h=[])},r.diffed=function(t){H&&H(t);var e=t.__c;if(e){var n=e.__H;n&&n.__h.length&&(1!==Y.push(e)&&Q===r.requestAnimationFrame||((Q=r.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);"undefined"!=typeof window&&(e=requestAnimationFrame(n))})(at))}},r.__c=function(t,e){e.some((function(t){try{t.__h.forEach(st),t.__h=t.__h.filter((function(t){return!t.__||ut(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],r.__e(n,t.__v)}})),G&&G(t,e)},r.unmount=function(t){Z&&Z(t);var e=t.__c;if(e){var n=e.__H;if(n)try{n.__.forEach((function(t){return t.t&&t.t()}))}catch(t){r.__e(t,e.__v)}}};var ft=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).isPureReactComponent=!0,n}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.shouldComponentUpdate=function(t,e){return dt(this.props,t)||dt(this.state,e)},r}(b);function pt(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:dt(this.props,t)}function r(e){return this.shouldComponentUpdate=n,m(t,ht({},e))}return r.prototype.isReactComponent=!0,r.displayName="Memo("+(t.displayName||t.name)+")",r.t=!0,r}var mt=r.__b;function gt(t){function e(e){var n=ht({},e);return delete n.ref,t(n,e.ref)}return e.prototype.isReactComponent=e.t=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}r.__b=function(t){t.type&&t.type.t&&t.ref&&(t.props.ref=t.ref,t.ref=null),mt&&mt(t)};var yt=function(t,e){return t?x(t).reduce((function(t,n,r){return t.concat(e(n,r))}),[]):null},vt={map:yt,forEach:yt,count:function(t){return t?x(t).length:0},only:function(t){if(1!==(t=x(t)).length)throw new Error("Children.only() expects only one child.");return t[0]},toArray:x},bt=r.__e;function wt(t){return t&&((t=ht({},t)).__c=null,t.__k=t.__k&&t.__k.map(wt)),t}function Mt(){this.__u=0,this.o=null,this.__b=null}function kt(t){var e=t.__.__c;return e&&e.u&&e.u(t)}function Lt(t){var e,n,r;function i(i){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return m(n,i)}return i.displayName="Lazy",i.t=!0,i}function At(){this.i=null,this.l=null}r.__e=function(t,e,n){if(t.then)for(var r,i=e;i=i.__;)if((r=i.__c)&&r.__c)return r.__c(t,e.__c);bt(t,e,n)},(Mt.prototype=new b).__c=function(t,e){var n=this;null==n.o&&(n.o=[]),n.o.push(e);var r=kt(n.__v),i=!1,o=function(){i||(i=!0,r?r(a):a())};e.__c=e.componentWillUnmount,e.componentWillUnmount=function(){o(),e.__c&&e.__c()};var a=function(){var t;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});t=n.o.pop();)t.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),t.then(o,o)},Mt.prototype.render=function(t,e){return this.__b&&(this.__v.__k[0]=wt(this.__b),this.__b=null),[m(b,null,e.u?null:t.children),e.u&&t.fallback]};var xt=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))}function h(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var t=[],e=0;e1||s(t,e)}))})}function s(t,e){try{(n=i[t](e)).value instanceof v?Promise.resolve(n.value.v).then(u,c):l(o[0][2],n)}catch(t){l(o[0][3],t)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function w(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:v(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function M(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=p(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){!function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}(r,i,(e=t[n](e)).done,e.value)}))}}}function k(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function L(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function A(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function E(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n}},function(t,e,n){(function(t){function n(){return(null==t?void 0:t.crypto)||(null==t?void 0:t.msCrypto)||{}}function r(){const t=n();return t.subtle||t.webkitSubtle}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowserCryptoAvailable=e.getSubtleCrypto=e.getBrowerCrypto=void 0,e.getBrowerCrypto=n,e.getSubtleCrypto=r,e.isBrowserCryptoAvailable=function(){return!!n()&&!!r()}}).call(this,n(13))},function(t,e,n){(function(t){function n(){return"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product}function r(){return void 0!==t&&void 0!==t.versions&&void 0!==t.versions.node}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowser=e.isNode=e.isReactNative=void 0,e.isReactNative=n,e.isNode=r,e.isBrowser=function(){return!n()&&!r()}}).call(this,n(12))},function(t,e,n){t.exports=t=>encodeURIComponent(t).replace(/[!'()*]/g,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))},function(t,e,n){var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],o(n),o(r))}function a(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(r),n=1;n{if("string"!=typeof t||"string"!=typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];const n=t.indexOf(e);return-1===n?[t]:[t.slice(0,n),t.slice(n+e.length)]}},function(t,e,n){t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},function(t,e,n){(function(t){function n(){return(null==t?void 0:t.crypto)||(null==t?void 0:t.msCrypto)||{}}function r(){const t=n();return t.subtle||t.webkitSubtle}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowserCryptoAvailable=e.getSubtleCrypto=e.getBrowerCrypto=void 0,e.getBrowerCrypto=n,e.getSubtleCrypto=r,e.isBrowserCryptoAvailable=function(){return!!n()&&!!r()}}).call(this,n(13))},function(t,e,n){(function(t){function n(){return"undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product}function r(){return void 0!==t&&void 0!==t.versions&&void 0!==t.versions.node}Object.defineProperty(e,"__esModule",{value:!0}),e.isBrowser=e.isNode=e.isReactNative=void 0,e.isReactNative=n,e.isNode=r,e.isBrowser=function(){return!n()&&!r()}}).call(this,n(12))},function(t,e,n){var r=n(70),i=n(71),o=n(88),a=n(89);function s(t,e,n,o,a){var s=[].slice.call(arguments,1),u=s.length,c="function"==typeof s[u-1];if(!c&&!r())throw new Error("Callback required as last argument");if(!c){if(u<1)throw new Error("Too few arguments provided");return 1===u?(n=e,e=o=void 0):2!==u||e.getContext||(o=n,n=e,e=void 0),new Promise((function(r,a){try{var s=i.create(n,o);r(t(s,e,o))}catch(t){a(t)}}))}if(u<2)throw new Error("Too few arguments provided");2===u?(a=n,n=e,e=o=void 0):3===u&&(e.getContext&&void 0===a?(a=o,o=void 0):(a=o,o=n,n=e,e=void 0));try{var l=i.create(n,o);a(null,t(l,e,o))}catch(t){a(t)}}e.create=i.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(t,e,n){return a.render(t,n)}))},function(t,e){t.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},function(t,e,n){var r=n(10),i=n(7),o=n(20),a=n(72),s=n(73),u=n(74),c=n(75),l=n(76),h=n(43),d=n(77),f=n(80),p=n(81),m=n(8),g=n(82),y=n(19);function v(t,e,n){var r,i,o=t.size,a=p.getEncodedBits(e,n);for(r=0;r<15;r++)i=1==(a>>r&1),r<6?t.set(r,8,i,!0):r<8?t.set(r+1,8,i,!0):t.set(o-15+r,8,i,!0),r<8?t.set(8,o-r-1,i,!0):r<9?t.set(8,15-r-1+1,i,!0):t.set(8,15-r-1,i,!0);t.set(o-8,8,1,!0)}function b(t,e,n){var o=new a;n.forEach((function(e){o.put(e.mode.bit,4),o.put(e.getLength(),m.getCharCountIndicator(e.mode,t)),e.write(o)}));var s=8*(i.getSymbolTotalCodewords(t)-h.getTotalCodewordsCount(t,e));for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(0);for(var u=(s-o.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(o+s,a+u,!0,!0):t.set(o+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,n=8;n=7&&function(t,e){for(var n,r,i,o=t.size,a=f.getEncodedBits(e),s=0;s<18;s++)n=Math.floor(s/3),r=s%3+o-8-3,i=1==(a>>s&1),t.set(n,r,i,!0),t.set(r,n,i,!0)}(w,e),function(t,e){for(var n=t.size,r=-1,i=n-1,o=7,a=0,s=n-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(i,s-u)){var c=!1;a>>o&1)),t.set(i,s-u,c),-1==--o&&(a++,o=7)}if((i+=r)<0||n<=i){i-=r,r=-r;break}}}(w,p),isNaN(r)&&(r=l.getBestMask(w,v.bind(null,w,n))),l.applyMask(r,w),v(w,n,r),{modules:w,version:e,errorCorrectionLevel:n,maskPattern:r,segments:o}}(t,n,a,r)}},function(t,e){function n(){this.buffer=[],this.length=0}n.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=n},function(t,e,n){var r=n(10);function i(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=r.alloc(t*t),this.reservedBit=r.alloc(t*t)}i.prototype.set=function(t,e,n,r){var i=t*this.size+e;this.data[i]=n,r&&(this.reservedBit[i]=!0)},i.prototype.get=function(t,e){return this.data[t*this.size+e]},i.prototype.xor=function(t,e,n){this.data[t*this.size+e]^=n},i.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=i},function(t,e,n){var r=n(7).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,n=r(t),i=145===n?26:2*Math.ceil((n-13)/(2*e-2)),o=[n-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,r=0,i=0,o=null,a=null,s=0;s=5&&(n+=r-5+3),o=c,r=1),(c=t.get(u,s))===a?i++:(i>=5&&(n+=i-5+3),a=c,i=1)}r>=5&&(n+=r-5+3),i>=5&&(n+=i-5+3)}return n},e.getPenaltyN2=function(t){for(var e=t.size,n=0,r=0;r=10&&(1488===r||93===r)&&n++,i=i<<1&2047|t.get(a,o),a>=10&&(1488===i||93===i)&&n++}return 40*n},e.getPenaltyN4=function(t){for(var e=0,n=t.data.length,r=0;r0){var u=r.alloc(this.degree);return a.copy(u,s),u}return a},t.exports=a},function(t,e,n){var r=n(10),i=n(79);e.mul=function(t,e){for(var n=r.alloc(t.length+e.length-1),o=0;o=0;){for(var o=n[0],a=0;a1)return function(t,n){for(var r=1;r<=40;r++)if(h(t,r)<=e.getCapacity(r,n,a.MIXED))return r}(t,i);if(0===t.length)return 1;r=t[0]}else r=t;return function(t,n,r){for(var i=1;i<=40;i++)if(n<=e.getCapacity(i,r,t))return i}(r.mode,r.getLength(),i)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;r.getBCHDigit(e)-c>=0;)e^=7973<=0;)o^=1335<=0?t[t.length-1]:null;return n&&n.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(f(t,c.isKanjiModeEnabled()))}},function(t,e,n){var r=n(8);function i(t){this.mode=r.NUMERIC,this.data=t.toString()}i.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e,n,r;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),r=parseInt(n,10),t.put(r,10);var i=this.data.length-e;i>0&&(n=this.data.substr(e),r=parseInt(n,10),t.put(r,3*i+1))},t.exports=i},function(t,e,n){var r=n(8),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(t){this.mode=r.ALPHANUMERIC,this.data=t}o.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var n=45*i.indexOf(this.data[e]);n+=i.indexOf(this.data[e+1]),t.put(n,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},t.exports=o},function(t,e,n){var r=n(10),i=n(8);function o(t){this.mode=i.BYTE,this.data=r.from(t)}o.getBitsLength=function(t){return 8*t},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){for(var e=0,n=this.data.length;e=33088&&n<=40956)n-=33088;else{if(!(n>=57408&&n<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13)}},t.exports=o},function(t,e,n){var r={single_source_shortest_paths:function(t,e,n){var i={},o={};o[e]=0;var a,s,u,c,l,h,d,f=r.PriorityQueue.make();for(f.push(e,0);!f.empty();)for(u in s=(a=f.pop()).value,c=a.cost,l=t[s]||{})l.hasOwnProperty(u)&&(h=c+l[u],d=o[u],(void 0===o[u]||d>h)&&(o[u]=h,f.push(u,h),i[u]=s));if(void 0!==n&&void 0===o[n]){var p=["Could not find a path from ",e," to ",n,"."].join("");throw new Error(p)}return i},extract_shortest_path_from_predecessor_list:function(t,e){for(var n=[],r=e;r;)n.push(r),t[r],r=t[r];return n.reverse(),n},find_path:function(t,e,n){var i=r.single_source_shortest_paths(t,e,n);return r.extract_shortest_path_from_predecessor_list(i,n)},PriorityQueue:{make:function(t){var e,n=r.PriorityQueue,i={};for(e in t=t||{},n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i.queue=[],i.sorter=t.sorter||n.default_sorter,i},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var n={value:t,cost:e};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=r},function(t,e,n){var r=n(46);e.render=function(t,e,n){var i=n,o=e;void 0!==i||e&&e.getContext||(i=e,e=void 0),e||(o=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),i=r.getOptions(i);var a=r.getImageWidth(t.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return r.qrToImageData(u.data,t,i),function(t,e,n){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=n,e.width=n,e.style.height=n+"px",e.style.width=n+"px"}(s,o,a),s.putImageData(u,0,0),o},e.renderToDataURL=function(t,n,r){var i=r;void 0!==i||n&&n.getContext||(i=n,n=void 0),i||(i={});var o=e.render(t,n,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},function(t,e,n){var r=n(46);function i(t,e){var n=t.a/255,r=e+'="'+t.hex+'"';return n<1?r+" "+e+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function o(t,e,n){var r=t+e;return void 0!==n&&(r+=" "+n),r}e.render=function(t,e,n){var a=r.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",h="0&&c>0&&t[u-1]||(r+=a?o("M",c+n,.5+l+n):o("m",i,0),i=0,a=!1),c+1',d='viewBox="0 0 '+c+" "+c+'"',f=''+l+h+"\n";return"function"==typeof n&&n(null,f),f}},function(t,e,n){var r=n(91),i={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,o,a,s,u,c,l=!1;e||(e={}),n=e.debug||!1;try{if(a=r(),s=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=t,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[e.format]||i.default;window.clipboardData.setData(o,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),l=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,t)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),c&&document.body.removeChild(c),a()}return l}},function(t,e){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r`https://${t}.bridge.walletconnect.org`));var s=n(11),u=n(0);async function c(t){const e=(t||256)/8,n=s.randomBytes(e);return Object(i.d)(u.b(n))}async function l(t,e){const n=u.n(t.data),r=u.n(t.iv),i=u.n(t.hmac),o=u.c(i,!1),a=u.j(n,r),c=await s.hmacSha256Sign(e,a),l=u.c(c,!1);return u.x(o)===u.x(l)}async function h(t,e,n){const r=u.f(Object(i.b)(e)),o=n||await c(128),a=u.f(Object(i.b)(o)),l=u.c(a,!1),h=JSON.stringify(t),d=u.z(h),f=await s.aesCbcEncrypt(a,r,d),p=u.c(f,!1),m=u.j(f,a),g=await s.hmacSha256Sign(r,m);return{data:p,hmac:u.c(g,!1),iv:l}}async function d(t,e){const n=u.f(Object(i.b)(e));if(!n)throw new Error("Missing key: required for decryption");if(!await l(t,n))return null;const r=u.n(t.data),o=u.n(t.iv),a=await s.aesCbcDecrypt(o,n,r),c=u.e(a);let h;try{h=JSON.parse(c)}catch(t){return null}return h}var f=class extends class{constructor(t){if(this.protocol="wc",this.version=1,this._bridge="",this._key=null,this._clientId="",this._clientMeta=null,this._peerId="",this._peerMeta=null,this._handshakeId=0,this._handshakeTopic="",this._connected=!1,this._accounts=[],this._chainId=0,this._networkId=0,this._rpcUrl="",this._eventManager=new class{constructor(){this._eventEmitters=[]}subscribe(t){this._eventEmitters.push(t)}unsubscribe(t){this._eventEmitters=this._eventEmitters.filter((e=>e.event!==t))}trigger(t){let e,n=[];e=Object(i.o)(t)?t.method:Object(i.q)(t)||Object(i.p)(t)?"response:"+t.id:Object(i.n)(t)?t.event:"",e&&(n=this._eventEmitters.filter((t=>t.event===e))),n&&n.length||Object(i.s)(e)||Object(i.n)(e)||(n=this._eventEmitters.filter((t=>"call_request"===t.event))),n.forEach((e=>{if(Object(i.p)(t)){const n=new Error(t.error.message);e.callback(n,null)}else e.callback(null,t)}))}},this._clientMeta=Object(i.i)()||t.connectorOpts.clientMeta||null,this._cryptoLib=t.cryptoLib,this._sessionStorage=t.sessionStorage||new class{constructor(t="walletconnect"){this.storageId=t}getSession(){let t=null;const e=Object(i.j)(this.storageId);return e&&Object(i.u)(e)&&(t=e),t}setSession(t){return Object(i.B)(this.storageId,t),t}removeSession(){Object(i.A)(this.storageId)}}(t.connectorOpts.storageId),this._qrcodeModal=t.connectorOpts.qrcodeModal,this._qrcodeModalOptions=t.connectorOpts.qrcodeModalOptions,this._signingMethods=[...i.C,...t.connectorOpts.signingMethods||[]],!t.connectorOpts.bridge&&!t.connectorOpts.uri&&!t.connectorOpts.session)throw new Error("Missing one of the required parameters: bridge / uri / session");var e;t.connectorOpts.bridge&&(this.bridge=function(t){return"walletconnect.org"===function(t){return function(t){let e=t.indexOf("//")>-1?t.split("/")[2]:t.split("/")[0];return e=e.split(":")[0],e=e.split("?")[0],e}(t).split(".").slice(-2).join(".")}(t)}(e=t.connectorOpts.bridge)?a[Math.floor(Math.random()*a.length)]:e),t.connectorOpts.uri&&(this.uri=t.connectorOpts.uri);const n=t.connectorOpts.session||this._getStorageSession();n&&(this.session=n),this.handshakeId&&this._subscribeToSessionResponse(this.handshakeId,"Session request rejected"),this._transport=t.transport||new o.a({protocol:this.protocol,version:this.version,url:this.bridge,subscriptions:[this.clientId]}),this._subscribeToInternalEvents(),this._initTransport(),t.connectorOpts.uri&&this._subscribeToSessionRequest(),t.pushServerOpts&&this._registerPushServer(t.pushServerOpts)}set bridge(t){t&&(this._bridge=t)}get bridge(){return this._bridge}set key(t){if(!t)return;const e=Object(i.e)(t);this._key=e}get key(){return this._key?Object(i.c)(this._key,!0):""}set clientId(t){t&&(this._clientId=t)}get clientId(){let t=this._clientId;return t||(t=this._clientId=Object(i.D)()),this._clientId}set peerId(t){t&&(this._peerId=t)}get peerId(){return this._peerId}set clientMeta(t){}get clientMeta(){let t=this._clientMeta;return t||(t=this._clientMeta=Object(i.i)()),t}set peerMeta(t){this._peerMeta=t}get peerMeta(){return this._peerMeta}set handshakeTopic(t){t&&(this._handshakeTopic=t)}get handshakeTopic(){return this._handshakeTopic}set handshakeId(t){t&&(this._handshakeId=t)}get handshakeId(){return this._handshakeId}get uri(){return this._formatUri()}set uri(t){if(!t)return;const{handshakeTopic:e,bridge:n,key:r}=this._parseUri(t);this.handshakeTopic=e,this.bridge=n,this.key=r}set chainId(t){this._chainId=t}get chainId(){return this._chainId}set networkId(t){this._networkId=t}get networkId(){return this._networkId}set accounts(t){this._accounts=t}get accounts(){return this._accounts}set rpcUrl(t){this._rpcUrl=t}get rpcUrl(){return this._rpcUrl}set connected(t){}get connected(){return this._connected}set pending(t){}get pending(){return!!this._handshakeTopic}get session(){return{connected:this.connected,accounts:this.accounts,chainId:this.chainId,bridge:this.bridge,key:this.key,clientId:this.clientId,clientMeta:this.clientMeta,peerId:this.peerId,peerMeta:this.peerMeta,handshakeId:this.handshakeId,handshakeTopic:this.handshakeTopic}}set session(t){t&&(this._connected=t.connected,this.accounts=t.accounts,this.chainId=t.chainId,this.bridge=t.bridge,this.key=t.key,this.clientId=t.clientId,this.clientMeta=t.clientMeta,this.peerId=t.peerId,this.peerMeta=t.peerMeta,this.handshakeId=t.handshakeId,this.handshakeTopic=t.handshakeTopic)}on(t,e){const n={event:t,callback:e};this._eventManager.subscribe(n)}off(t){this._eventManager.unsubscribe(t)}async createInstantRequest(t){this._key=await this._generateKey();const e=this._formatRequest({method:"wc_instantRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,request:this._formatRequest(t)}]});this.handshakeId=e.id,this.handshakeTopic=Object(i.D)(),this._eventManager.trigger({event:"display_uri",params:[this.uri]}),this.on("modal_closed",(()=>{throw new Error("User close QRCode Modal")}));const n=()=>{this.killSession()};try{const t=await this._sendCallRequest(e);return t&&n(),t}catch(t){throw n(),t}}async connect(t){if(!this._qrcodeModal)throw new Error("QRCode Modal not provided");return this.connected?{chainId:this.chainId,accounts:this.accounts}:(await this.createSession(t),new Promise((async(t,e)=>{this.on("modal_closed",(()=>e(new Error("User close QRCode Modal")))),this.on("connect",((n,r)=>{if(n)return e(n);t(r.params[0])}))})))}async createSession(t){if(this._connected)throw new Error("Session currently connected");if(this.pending)return;this._key=await this._generateKey();const e=this._formatRequest({method:"wc_sessionRequest",params:[{peerId:this.clientId,peerMeta:this.clientMeta,chainId:t&&t.chainId?t.chainId:null}]});this.handshakeId=e.id,this.handshakeTopic=Object(i.D)(),this._sendSessionRequest(e,"Session update rejected",{topic:this.handshakeTopic}),this._eventManager.trigger({event:"display_uri",params:[this.uri]})}approveSession(t){if(this._connected)throw new Error("Session currently connected");this.chainId=t.chainId,this.accounts=t.accounts,this.networkId=t.networkId||0,this.rpcUrl=t.rpcUrl||"";const e={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl,peerId:this.clientId,peerMeta:this.clientMeta},n={id:this.handshakeId,jsonrpc:"2.0",result:e};this._sendResponse(n),this._connected=!0,this._setStorageSession(),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})}rejectSession(t){if(this._connected)throw new Error("Session currently connected");const e=t&&t.message?t.message:"Session Rejected",n=this._formatResponse({id:this.handshakeId,error:{message:e}});this._sendResponse(n),this._connected=!1,this._eventManager.trigger({event:"disconnect",params:[{message:e}]}),this._removeStorageSession()}updateSession(t){if(!this._connected)throw new Error("Session currently disconnected");this.chainId=t.chainId,this.accounts=t.accounts,this.networkId=t.networkId||0,this.rpcUrl=t.rpcUrl||"";const e={approved:!0,chainId:this.chainId,networkId:this.networkId,accounts:this.accounts,rpcUrl:this.rpcUrl},n=this._formatRequest({method:"wc_sessionUpdate",params:[e]});this._sendSessionRequest(n,"Session update rejected"),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]}),this._manageStorageSession()}async killSession(t){const e=t?t.message:"Session Disconnected",n=this._formatRequest({method:"wc_sessionUpdate",params:[{approved:!1,chainId:null,networkId:null,accounts:null}]});await this._sendRequest(n),this._handleSessionDisconnect(e)}async sendTransaction(t){if(!this._connected)throw new Error("Session currently disconnected");const e=Object(i.x)(t),n=this._formatRequest({method:"eth_sendTransaction",params:[e]});return await this._sendCallRequest(n)}async signTransaction(t){if(!this._connected)throw new Error("Session currently disconnected");const e=Object(i.x)(t),n=this._formatRequest({method:"eth_signTransaction",params:[e]});return await this._sendCallRequest(n)}async signMessage(t){if(!this._connected)throw new Error("Session currently disconnected");const e=this._formatRequest({method:"eth_sign",params:t});return await this._sendCallRequest(e)}async signPersonalMessage(t){if(!this._connected)throw new Error("Session currently disconnected");t=Object(i.w)(t);const e=this._formatRequest({method:"personal_sign",params:t});return await this._sendCallRequest(e)}async signTypedData(t){if(!this._connected)throw new Error("Session currently disconnected");const e=this._formatRequest({method:"eth_signTypedData",params:t});return await this._sendCallRequest(e)}async updateChain(t){if(!this._connected)throw new Error("Session currently disconnected");const e=this._formatRequest({method:"wallet_updateChain",params:[t]});return await this._sendCallRequest(e)}unsafeSend(t,e){return this._sendRequest(t,e),this._eventManager.trigger({event:"call_request_sent",params:[{request:t,options:e}]}),new Promise(((e,n)=>{this._subscribeToResponse(t.id,((t,r)=>{if(t)n(t);else{if(!r)throw new Error("Missing JSON RPC response");e(r)}}))}))}async sendCustomRequest(t,e){if(!this._connected)throw new Error("Session currently disconnected");switch(t.method){case"eth_accounts":return this.accounts;case"eth_chainId":return Object(i.f)(this.chainId);case"eth_sendTransaction":case"eth_signTransaction":t.params&&(t.params[0]=Object(i.x)(t.params[0]));break;case"personal_sign":t.params&&(t.params=Object(i.w)(t.params))}const n=this._formatRequest(t);return await this._sendCallRequest(n,e)}approveRequest(t){if(!Object(i.q)(t))throw new Error('JSON-RPC success response must include "result" field');{const e=this._formatResponse(t);this._sendResponse(e)}}rejectRequest(t){if(!Object(i.p)(t))throw new Error('JSON-RPC error response must include "error" field');{const e=this._formatResponse(t);this._sendResponse(e)}}transportClose(){this._transport.close()}async _sendRequest(t,e){const n=this._formatRequest(t),r=await this._encrypt(n),o=void 0!==(null==e?void 0:e.topic)?e.topic:this.peerId,a=JSON.stringify(r),s=void 0!==(null==e?void 0:e.forcePushNotification)?!e.forcePushNotification:Object(i.t)(n);this._transport.send(a,o,s)}async _sendResponse(t){const e=await this._encrypt(t),n=this.peerId,r=JSON.stringify(e);this._transport.send(r,n,!0)}async _sendSessionRequest(t,e,n){this._sendRequest(t,n),this._subscribeToSessionResponse(t.id,e)}_sendCallRequest(t,e){return this._sendRequest(t,e),this._eventManager.trigger({event:"call_request_sent",params:[{request:t,options:e}]}),this._subscribeToCallResponse(t.id)}_formatRequest(t){if(void 0===t.method)throw new Error('JSON RPC request must have valid "method" value');return{id:void 0===t.id?Object(i.z)():t.id,jsonrpc:"2.0",method:t.method,params:void 0===t.params?[]:t.params}}_formatResponse(t){if(void 0===t.id)throw new Error('JSON RPC request must have valid "id" value');const e={id:t.id,jsonrpc:"2.0"};if(Object(i.p)(t)){const n=Object(i.h)(t.error);return Object.assign(Object.assign(Object.assign({},e),t),{error:n})}if(Object(i.q)(t))return Object.assign(Object.assign({},e),t);throw new Error("JSON RPC response format is invalid")}_handleSessionDisconnect(t){const e=t||"Session Disconnected";this._connected||(this._qrcodeModal&&this._qrcodeModal.close(),Object(i.A)(i.v)),this._connected&&(this._connected=!1),this._handshakeId&&(this._handshakeId=0),this._handshakeTopic&&(this._handshakeTopic=""),this._peerId&&(this._peerId=""),this._eventManager.trigger({event:"disconnect",params:[{message:e}]}),this._removeStorageSession(),this.transportClose()}_handleSessionResponse(t,e){e&&e.approved?(this._connected?(e.chainId&&(this.chainId=e.chainId),e.accounts&&(this.accounts=e.accounts),this._eventManager.trigger({event:"session_update",params:[{chainId:this.chainId,accounts:this.accounts}]})):(this._connected=!0,e.chainId&&(this.chainId=e.chainId),e.accounts&&(this.accounts=e.accounts),e.peerId&&!this.peerId&&(this.peerId=e.peerId),e.peerMeta&&!this.peerMeta&&(this.peerMeta=e.peerMeta),this._eventManager.trigger({event:"connect",params:[{peerId:this.peerId,peerMeta:this.peerMeta,chainId:this.chainId,accounts:this.accounts}]})),this._manageStorageSession()):this._handleSessionDisconnect(t)}async _handleIncomingMessages(t){if(![this.clientId,this.handshakeTopic].includes(t.topic))return;let e;try{e=JSON.parse(t.payload)}catch(t){return}const n=await this._decrypt(e);n&&this._eventManager.trigger(n)}_subscribeToSessionRequest(){this._transport.subscribe(this.handshakeTopic)}_subscribeToResponse(t,e){this.on("response:"+t,e)}_subscribeToSessionResponse(t,e){this._subscribeToResponse(t,((t,n)=>{t?this._handleSessionResponse(t.message):Object(i.q)(n)?this._handleSessionResponse(e,n.result):n.error&&n.error.message?this._handleSessionResponse(n.error.message):this._handleSessionResponse(e)}))}_subscribeToCallResponse(t){return new Promise(((e,n)=>{this._subscribeToResponse(t,((t,r)=>{t?n(t):Object(i.q)(r)?e(r.result):r.error&&r.error.message?n(r.error):n(new Error("JSON RPC response format is invalid"))}))}))}_subscribeToInternalEvents(){this.on("display_uri",(()=>{this._qrcodeModal&&this._qrcodeModal.open(this.uri,(()=>{this._eventManager.trigger({event:"modal_closed",params:[]})}),this._qrcodeModalOptions)})),this.on("connect",(()=>{this._qrcodeModal&&this._qrcodeModal.close()})),this.on("call_request_sent",((t,e)=>{const{request:n}=e.params[0];if(Object(i.r)()&&this._signingMethods.includes(n.method)){const t=Object(i.j)(i.v);t&&(window.location.href=t.href)}})),this.on("wc_sessionRequest",((t,e)=>{t&&this._eventManager.trigger({event:"error",params:[{code:"SESSION_REQUEST_ERROR",message:t.toString()}]}),this.handshakeId=e.id,this.peerId=e.params[0].peerId,this.peerMeta=e.params[0].peerMeta;const n=Object.assign(Object.assign({},e),{method:"session_request"});this._eventManager.trigger(n)})),this.on("wc_sessionUpdate",((t,e)=>{t&&this._handleSessionResponse(t.message),this._handleSessionResponse("Session disconnected",e.params[0])}))}_initTransport(){this._transport.on("message",(t=>this._handleIncomingMessages(t))),this._transport.on("open",(()=>this._eventManager.trigger({event:"transport_open",params:[]}))),this._transport.on("close",(()=>this._eventManager.trigger({event:"transport_close",params:[]}))),this._transport.on("error",(()=>this._eventManager.trigger({event:"transport_error",params:["Websocket connection failed"]}))),this._transport.open()}_formatUri(){return`${this.protocol}:${this.handshakeTopic}@${this.version}?bridge=${encodeURIComponent(this.bridge)}&key=${this.key}`}_parseUri(t){const e=Object(i.y)(t);if(e.protocol===this.protocol){if(!e.handshakeTopic)throw Error("Invalid or missing handshakeTopic parameter value");const t=e.handshakeTopic;if(!e.bridge)throw Error("Invalid or missing bridge url parameter value");const n=decodeURIComponent(e.bridge);if(!e.key)throw Error("Invalid or missing key parameter value");return{handshakeTopic:t,bridge:n,key:e.key}}throw new Error("URI format is invalid")}async _generateKey(){return this._cryptoLib?await this._cryptoLib.generateKey():null}async _encrypt(t){const e=this._key;return this._cryptoLib&&e?await this._cryptoLib.encrypt(t,e):null}async _decrypt(t){const e=this._key;return this._cryptoLib&&e?await this._cryptoLib.decrypt(t,e):null}_getStorageSession(){let t=null;return this._sessionStorage&&(t=this._sessionStorage.getSession()),t}_setStorageSession(){this._sessionStorage&&this._sessionStorage.setSession(this.session)}_removeStorageSession(){this._sessionStorage&&this._sessionStorage.removeSession()}_manageStorageSession(){this._connected?this._setStorageSession():this._removeStorageSession()}_registerPushServer(t){if(!t.url||"string"!=typeof t.url)throw Error("Invalid or missing pushServerOpts.url parameter value");if(!t.type||"string"!=typeof t.type)throw Error("Invalid or missing pushServerOpts.type parameter value");if(!t.token||"string"!=typeof t.token)throw Error("Invalid or missing pushServerOpts.token parameter value");const e={bridge:this.bridge,topic:this.clientId,type:t.type,token:t.token,peerName:"",language:t.language||""};this.on("connect",(async(n,r)=>{if(n)throw n;if(t.peerMeta){const t=r.params[0].peerMeta.name;e.peerName=t}try{const n=await fetch(t.url+"/new",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)});if(!(await n.json()).success)throw Error("Failed to register in Push Server")}catch(n){throw Error("Failed to register in Push Server")}}))}}{constructor(t,e){super({cryptoLib:r,connectorOpts:t,pushServerOpts:e})}},p=n(42),m=n.n(p)},function(t,e,n){n.r(e),n.d(e,"useState",(function(){return J})),n.d(e,"useReducer",(function(){return q})),n.d(e,"useEffect",(function(){return X})),n.d(e,"useLayoutEffect",(function(){return K})),n.d(e,"useRef",(function(){return $})),n.d(e,"useImperativeHandle",(function(){return tt})),n.d(e,"useMemo",(function(){return et})),n.d(e,"useCallback",(function(){return nt})),n.d(e,"useContext",(function(){return rt})),n.d(e,"useDebugValue",(function(){return it})),n.d(e,"useErrorBoundary",(function(){return ot})),n.d(e,"createElement",(function(){return m})),n.d(e,"createContext",(function(){return B})),n.d(e,"createRef",(function(){return y})),n.d(e,"Fragment",(function(){return v})),n.d(e,"Component",(function(){return b})),n.d(e,"version",(function(){return Pt})),n.d(e,"Children",(function(){return vt})),n.d(e,"render",(function(){return jt})),n.d(e,"hydrate",(function(){return Ct})),n.d(e,"unmountComponentAtNode",(function(){return Qt})),n.d(e,"createPortal",(function(){return St})),n.d(e,"createFactory",(function(){return Bt})),n.d(e,"cloneElement",(function(){return Ut})),n.d(e,"isValidElement",(function(){return Rt})),n.d(e,"findDOMNode",(function(){return Wt})),n.d(e,"PureComponent",(function(){return ft})),n.d(e,"memo",(function(){return pt})),n.d(e,"forwardRef",(function(){return gt})),n.d(e,"unstable_batchedUpdates",(function(){return Yt})),n.d(e,"Suspense",(function(){return Mt})),n.d(e,"SuspenseList",(function(){return At})),n.d(e,"lazy",(function(){return Lt}));var r,i,o,a,s,u,c,l={},h=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function f(t,e){for(var n in e)t[n]=e[n];return t}function p(t){var e=t.parentNode;e&&e.removeChild(t)}function m(t,e,n){var r,i=arguments,o={};for(r in e)"key"!==r&&"ref"!==r&&(o[r]=e[r]);if(arguments.length>3)for(n=[n],r=3;r2&&(e.children=h.slice.call(arguments,2)),n={},e)"key"!==r&&"ref"!==r&&(n[r]=e[r]);return g(t.type,n,e.key||t.key,e.ref||t.ref,null)}function B(t){var e={},n={__c:"__cC"+c++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var r,i=this;return this.getChildContext||(r=[],this.getChildContext=function(){return e[n.__c]=i,e},this.shouldComponentUpdate=function(t){i.props.value!==t.value&&r.some((function(e){e.context=t.value,k(e)}))},this.sub=function(t){r.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){r.splice(r.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Consumer.contextType=n,n.Provider.__=n,n}r={__e:function(t,e){for(var n,r;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(t))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(t)),r)return k(n.__E=n)}catch(e){t=e}throw t}},b.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&f(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),k(this))},b.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),k(this))},b.prototype.render=v,i=[],o=0,a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=l,c=0;var R,U,Q,W=0,Y=[],F=r.__r,H=r.diffed,G=r.__c,Z=r.unmount;function V(t,e){r.__h&&r.__h(U,t,W||e),W=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function J(t){return W=1,q(lt,t)}function q(t,e,n){var r=V(R++,2);return r.__c||(r.__c=U,r.__=[n?n(e):lt(void 0,e),function(e){var n=t(r.__[0],e);r.__[0]!==n&&(r.__[0]=n,r.__c.setState({}))}]),r.__}function X(t,e){var n=V(R++,3);!r.__s&&ct(n.__H,e)&&(n.__=t,n.__H=e,U.__H.__h.push(n))}function K(t,e){var n=V(R++,4);!r.__s&&ct(n.__H,e)&&(n.__=t,n.__H=e,U.__h.push(n))}function $(t){return W=5,et((function(){return{current:t}}),[])}function tt(t,e,n){W=6,K((function(){"function"==typeof t?t(e()):t&&(t.current=e())}),null==n?n:n.concat(t))}function et(t,e){var n=V(R++,7);return ct(n.__H,e)?(n.__H=e,n.__h=t,n.__=t()):n.__}function nt(t,e){return W=8,et((function(){return t}),e)}function rt(t){var e=U.context[t.__c],n=V(R++,9);return n.__c=t,e?(null==n.__&&(n.__=!0,e.sub(U)),e.props.value):t.__}function it(t,e){r.useDebugValue&&r.useDebugValue(e?e(t):t)}function ot(t){var e=V(R++,10),n=J();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(t){e.__&&e.__(t),n[1](t)}),[n[0],function(){n[1](void 0)}]}function at(){Y.some((function(t){if(t.__P)try{t.__H.__h.forEach(st),t.__H.__h.forEach(ut),t.__H.__h=[]}catch(e){return t.__H.__h=[],r.__e(e,t.__v),!0}})),Y=[]}function st(t){t.t&&t.t()}function ut(t){var e=t.__();"function"==typeof e&&(t.t=e)}function ct(t,e){return!t||e.some((function(e,n){return e!==t[n]}))}function lt(t,e){return"function"==typeof e?e(t):e}function ht(t,e){for(var n in e)t[n]=e[n];return t}function dt(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}r.__r=function(t){F&&F(t),R=0,(U=t.__c).__H&&(U.__H.__h.forEach(st),U.__H.__h.forEach(ut),U.__H.__h=[])},r.diffed=function(t){H&&H(t);var e=t.__c;if(e){var n=e.__H;n&&n.__h.length&&(1!==Y.push(e)&&Q===r.requestAnimationFrame||((Q=r.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);"undefined"!=typeof window&&(e=requestAnimationFrame(n))})(at))}},r.__c=function(t,e){e.some((function(t){try{t.__h.forEach(st),t.__h=t.__h.filter((function(t){return!t.__||ut(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],r.__e(n,t.__v)}})),G&&G(t,e)},r.unmount=function(t){Z&&Z(t);var e=t.__c;if(e){var n=e.__H;if(n)try{n.__.forEach((function(t){return t.t&&t.t()}))}catch(t){r.__e(t,e.__v)}}};var ft=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).isPureReactComponent=!0,n}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.shouldComponentUpdate=function(t,e){return dt(this.props,t)||dt(this.state,e)},r}(b);function pt(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:dt(this.props,t)}function r(e){return this.shouldComponentUpdate=n,m(t,ht({},e))}return r.prototype.isReactComponent=!0,r.displayName="Memo("+(t.displayName||t.name)+")",r.t=!0,r}var mt=r.__b;function gt(t){function e(e){var n=ht({},e);return delete n.ref,t(n,e.ref)}return e.prototype.isReactComponent=e.t=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}r.__b=function(t){t.type&&t.type.t&&t.ref&&(t.props.ref=t.ref,t.ref=null),mt&&mt(t)};var yt=function(t,e){return t?x(t).reduce((function(t,n,r){return t.concat(e(n,r))}),[]):null},vt={map:yt,forEach:yt,count:function(t){return t?x(t).length:0},only:function(t){if(1!==(t=x(t)).length)throw new Error("Children.only() expects only one child.");return t[0]},toArray:x},bt=r.__e;function wt(t){return t&&((t=ht({},t)).__c=null,t.__k=t.__k&&t.__k.map(wt)),t}function Mt(){this.__u=0,this.o=null,this.__b=null}function kt(t){var e=t.__.__c;return e&&e.u&&e.u(t)}function Lt(t){var e,n,r;function i(i){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return m(n,i)}return i.displayName="Lazy",i.t=!0,i}function At(){this.i=null,this.l=null}r.__e=function(t,e,n){if(t.then)for(var r,i=e;i=i.__;)if((r=i.__c)&&r.__c)return r.__c(t,e.__c);bt(t,e,n)},(Mt.prototype=new b).__c=function(t,e){var n=this;null==n.o&&(n.o=[]),n.o.push(e);var r=kt(n.__v),i=!1,o=function(){i||(i=!0,r?r(a):a())};e.__c=e.componentWillUnmount,e.componentWillUnmount=function(){o(),e.__c&&e.__c()};var a=function(){var t;if(!--n.__u)for(n.__v.__k[0]=n.state.u,n.setState({u:n.__b=null});t=n.o.pop();)t.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),t.then(o,o)},Mt.prototype.render=function(t,e){return this.__b&&(this.__v.__k[0]=wt(this.__b),this.__b=null),[m(b,null,e.u?null:t.children),e.u&&t.fallback]};var xt=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1] */ var r=n(19),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){(function(t){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.createQrUrl=e.getFavicon=e.range=e.isBigNumber=e.ensureParsedJSONObject=e.ensureBN=e.ensureRegExpString=e.ensureIntNumber=e.ensureBuffer=e.ensureAddressString=e.ensureEvenLengthHexString=e.ensureHexString=e.isHexString=e.prepend0x=e.strip0x=e.has0xPrefix=e.hexStringFromIntNumber=e.intNumberFromHexString=e.bigIntStringFromBN=e.hexStringFromBuffer=e.hexStringToUint8Array=e.uint8ArrayToHex=e.randomBytesHex=void 0;const i=r(n(66)),o=n(140),a=n(68),s=/^[0-9]*$/,u=/^[a-f0-9]*$/;function c(t){return[...t].map((t=>t.toString(16).padStart(2,"0"))).join("")}function l(t){return t.startsWith("0x")||t.startsWith("0X")}function h(t){return l(t)?t.slice(2):t}function d(t){return l(t)?"0x"+t.slice(2):"0x"+t}function f(t){if("string"!=typeof t)return!1;const e=h(t).toLowerCase();return u.test(e)}function p(t,e=!1){if("string"==typeof t){const n=h(t).toLowerCase();if(u.test(n))return(0,a.HexString)(e?"0x"+n:n)}throw new Error(`"${String(t)}" is not a hexadecimal string`)}function m(t,e=!1){let n=p(t,!1);return n.length%2==1&&(n=(0,a.HexString)("0"+n)),e?(0,a.HexString)("0x"+n):n}function g(t){if("number"==typeof t&&Number.isInteger(t))return(0,a.IntNumber)(t);if("string"==typeof t){if(s.test(t))return(0,a.IntNumber)(Number(t));if(f(t))return(0,a.IntNumber)(new i.default(m(t,!1),16).toNumber())}throw new Error("Not an integer: "+String(t))}function y(t){if(null==t||"function"!=typeof t.constructor)return!1;const{constructor:e}=t;return"function"==typeof e.config&&"number"==typeof e.EUCLID}e.randomBytesHex=function(t){return c(crypto.getRandomValues(new Uint8Array(t)))},e.uint8ArrayToHex=c,e.hexStringToUint8Array=function(t){return new Uint8Array(t.match(/.{1,2}/g).map((t=>parseInt(t,16))))},e.hexStringFromBuffer=function(t,e=!1){const n=t.toString("hex");return(0,a.HexString)(e?"0x"+n:n)},e.bigIntStringFromBN=function(t){return(0,a.BigIntString)(t.toString(10))},e.intNumberFromHexString=function(t){return(0,a.IntNumber)(new i.default(m(t,!1),16).toNumber())},e.hexStringFromIntNumber=function(t){return(0,a.HexString)("0x"+new i.default(t).toString(16))},e.has0xPrefix=l,e.strip0x=h,e.prepend0x=d,e.isHexString=f,e.ensureHexString=p,e.ensureEvenLengthHexString=m,e.ensureAddressString=function(t){if("string"==typeof t){const e=h(t).toLowerCase();if(f(e)&&40===e.length)return(0,a.AddressString)(d(e))}throw new Error("Invalid Ethereum address: "+String(t))},e.ensureBuffer=function(e){if(t.isBuffer(e))return e;if("string"==typeof e){if(f(e)){const n=m(e,!1);return t.from(n,"hex")}return t.from(e,"utf8")}throw new Error("Not binary data: "+String(e))},e.ensureIntNumber=g,e.ensureRegExpString=function(t){if(t instanceof RegExp)return(0,a.RegExpString)(t.toString());throw new Error("Not a RegExp: "+String(t))},e.ensureBN=function(t){if(null!==t&&(i.default.isBN(t)||y(t)))return new i.default(t.toString(10),10);if("number"==typeof t)return new i.default(g(t));if("string"==typeof t){if(s.test(t))return new i.default(t,10);if(f(t))return new i.default(m(t,!1),16)}throw new Error("Not an integer: "+String(t))},e.ensureParsedJSONObject=function(t){if("string"==typeof t)return JSON.parse(t);if("object"==typeof t)return t;throw new Error("Not a JSON string or an object: "+String(t))},e.isBigNumber=y,e.range=function(t,e){return Array.from({length:e-t},((e,n)=>t+n))},e.getFavicon=function(){const t=document.querySelector('link[sizes="192x192"]')||document.querySelector('link[sizes="180x180"]')||document.querySelector('link[rel="icon"]')||document.querySelector('link[rel="shortcut icon"]'),{protocol:e,host:n}=document.location,r=t?t.getAttribute("href"):null;return!r||r.startsWith("javascript:")?null:r.startsWith("http://")||r.startsWith("https://")||r.startsWith("data:")?r:r.startsWith("//")?e+r:`${e}//${n}${r}`},e.createQrUrl=function(t,e,n,r){const i=r?"parent-id":"id";return`${n}/#/link?${(0,o.stringify)({[i]:t,secret:e,server:n,v:"1"})}`}}).call(this,n(19).Buffer)},function(t,e,n){n.d(e,"a",(function(){return a}));var r=n(10),i=n(29),o=n(58);function a(){for(var t=[],e=0;e1)for(var n=1;n0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=function(t){var e=i++;return a[e]=!0,o.then((function(){return s(e)&&t()})),e}(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(function(t){s(t)}(n),e.scheduled=void 0)},e}(n(32).a),c=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.a(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,n){var r={};function i(t,e,n){n||(n=Error);var i=function(t){var n,r;function i(n,r,i){return t.call(this,function(t,n,r){return"string"==typeof e?e:e(t,n,r)}(n,r,i))||this}return r=t,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=t,r[t]=i}function o(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map((function(t){return String(t)})),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}i("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,i,a;if("string"==typeof e&&(i="not ",e.substr(0,i.length)===i)?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))a="The ".concat(t," ").concat(r," ").concat(o(e,"type"));else{var s=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+".".length>t.length)&&-1!==t.indexOf(".",n)}(t)?"property":"argument";a='The "'.concat(t,'" ').concat(s," ").concat(r," ").concat(o(e,"type"))}return a+". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r},function(t,e,n){(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=c;var i=n(110),o=n(114);n(24)(c,i);for(var a=r(o.prototype),s=0;s0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(m.a),y=n(30),v=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p.a(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++re.index?1:-1:t.delay>e.delay?1:-1},e}(m.a),k=n(62),L=n(4),A=n(1),x=n(18),E=n(41),N=n(21),S=n(15);function I(t){return!!t&&(t instanceof r.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var T=n(25),j=n(27),C=n(23),D=n(44),O=n(73),_=n(9),z=n(57),P=n(7),B=n(10);function R(t,e,n){if(e){if(!Object(B.a)(e))return function(){for(var r=[],i=0;i1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,n)}))}function nt(t,e,n){return n?nt(t,e).pipe(Object(_.a)((function(t){return Object(P.a)(t)?n.apply(void 0,t):n(t)}))):new r.a((function(n){var r,i=function(){for(var t=[],e=0;e=e){r.complete();break}if(r.next(o++),r.closed)break}}))}function kt(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;n>=r?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}var Lt=n(51),At=n(77);function xt(t,e){return new r.a((function(n){var r,i;try{r=t()}catch(t){return void n.error(t)}try{i=e(r)}catch(t){return void n.error(t)}var o=(i?Object(X.a)(i):J.a).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}}))}var Et=n(55),Nt=n(78),St=n(14)},function(t,e,n){n.d(e,"a",(function(){return o}));var r=n(0),i=n(1);function o(){return function(t){return t.lift(new a(t))}}var a=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new s(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.a(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.a)},function(t,e,n){n.d(e,"a",(function(){return l}));var r=n(0),i=n(5),o=n(61),a=n(4),s=n(72),u=n(23),c=n(79),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.a(e,t),e.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new h(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new u.a;if(this.isStopped||this.hasError?e=a.a.EMPTY:(this.observers.push(t),e=new c.a(this,t)),i&&t.add(t=new s.a(t,i)),n)for(var l=0;le&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.a),h=function(t,e){this.time=t,this.value=e}},function(t,e,n){n.d(e,"a",(function(){return i}));var r=n(3);function i(t,e){return e?new r.a((function(n){return e.schedule(o,0,{error:t,subscriber:n})})):new r.a((function(e){return e.error(t)}))}function o(t){var e=t.error;t.subscriber.error(e)}},function(t,e,n){n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return h}));var r=n(0),i=n(10),o=n(7),a=n(16),s=n(13),u=n(29),c={};function l(){for(var t=[],e=0;ethis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),p=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.a(e,t),e.prototype[s.a]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t){this.buffer.push(t),this.parent.checkIterators()},e.prototype.subscribe=function(){return Object(u.c)(this.observable,new u.a(this))},e}(u.b)},function(t,e,n){function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},function(t,e,n){n.d(e,"a",(function(){return i}));var r=n(1);function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.a?i:null}return!0}},function(t,e,n){n.d(e,"a",(function(){return o}));var r=n(3),i=n(4);function o(t,e){return new r.a((function(n){var r=new i.a,o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},function(t,e,n){n.d(e,"a",(function(){return o}));var r=n(14),i=n(36),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},function(t,e){function n(t){return t.sort(((t,e)=>"latest"===t||"earliest"===e?1:"latest"===e||"earliest"===t?-1:r(t)-r(e)))}function r(t){return null==t?t:Number.parseInt(t,16)}function i(t){if(null==t)return t;let e=t.toString(16);return e.length%2&&(e="0"+e),"0x"+e}function o(){return Math.floor(16*Math.random()).toString(16)}t.exports={minBlockRef:function(...t){return n(t)[0]},maxBlockRef:function(...t){const e=n(t);return e[e.length-1]},sortBlockRefs:n,bnToHex:function(t){return"0x"+t.toString(16)},blockRefIsNumber:function(t){return t&&!["earliest","latest","pending"].includes(t)},hexToInt:r,incrementHexInt:function(t){return null==t?t:i(r(t)+1)},intToHex:i,unsafeRandomBytes:function(t){let e="0x";for(let n=0;n0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n(32).a),o=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.a(e,t),e}(n(30).a))(i),a=o},function(t,e,n){n.d(e,"a",(function(){return r}));var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0});const r=n(65);function i(t,e,n){try{Reflect.apply(t,e,n)}catch(t){setTimeout((()=>{throw t}))}}class o extends r.EventEmitter{emit(t,...e){let n="error"===t;const r=this._events;if(void 0!==r)n=n&&void 0===r.error;else if(!n)return!1;if(n){let t;if(e.length>0&&([t]=e),t instanceof Error)throw t;const n=new Error("Unhandled error."+(t?` (${t.message})`:""));throw n.context=t,n}const o=r[t];if(void 0===o)return!1;if("function"==typeof o)i(o,this,e);else{const t=o.length,n=function(t){const e=t.length,n=new Array(e);for(let r=0;r0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(t,e,n){var r=t._events;if(void 0===r)return[];var i=r[e];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)o(u,this,e);else{var c=u.length,l=g(u,c);for(n=0;n=0;o--)if(n[o]===e||n[o].listener===e){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return p(this,t,!0)},s.prototype.rawListeners=function(t){return p(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){(function(t){!function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}function o(t,e,n){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(n=e,e=10),this._init(t||0,e||10,n||"be"))}var a;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n(133).Buffer}catch(t){}function s(t,e){var n=t.charCodeAt(e);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+t)}function u(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function c(t,e,n,i){for(var o=0,a=0,s=Math.min(t.length,n),u=e;u=49?c-49+10:c>=17?c-17+10:c,r(c>=0&&a0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,n){if("number"==typeof t)return this._initNumber(t,e,n);if("object"==typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)a=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)i=u(t,e,r)<=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(r=(t.length-e)%2==0?e+1:e;r=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=e)r++;r--,i=i/e|0;for(var o=t.length-n,a=o%r,s=Math.min(o,o-a)+n,u=0,l=n;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(t){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function m(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var c=1;c>>26,h=67108863&u,d=Math.min(c,e.length-1),f=Math.max(0,c-t.length+1);f<=d;f++){var p=c-f|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[f])+h)/67108864|0,h=67108863&a}n.words[c]=0|h,u=0|l}return 0!==u?n.words[c]=0|u:n.length--,n._strip()}o.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var i=0,o=0,a=0;a>>24-i&16777215)||a!==this.length-1?d[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var c=f[t],l=p[t];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(l).toString(t);n=(h=h.idivn(l)).isZero()?m+n:d[c-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%e!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(a,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},o.prototype.toArrayLike=function(t,e,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(t,e){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(t[n--]=a>>8&255),n>=0&&(t[n--]=a>>16&255),6===o?(n>=0&&(t[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0)for(t[n--]=r;n>=0;)t[n--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,n=0;return e>=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0==(8191&e)&&(n+=13,e>>>=13),0==(127&e)&&(n+=7,e>>>=7),0==(15&e)&&(n+=4,e>>>=4),0==(3&e)&&(n+=2,e>>>=2),0==(1&e)&&n++,n},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){r("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){r("number"==typeof t&&t>=0);var n=t/26|0,i=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=t):(n=t,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==o&&a>26,this.words[a]=67108863&e;if(0===o&&a>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],w=8191&b,M=b>>>13,k=0|a[4],L=8191&k,A=k>>>13,x=0|a[5],E=8191&x,N=x>>>13,S=0|a[6],I=8191&S,T=S>>>13,j=0|a[7],C=8191&j,D=j>>>13,O=0|a[8],_=8191&O,z=O>>>13,P=0|a[9],B=8191&P,R=P>>>13,U=0|s[0],Q=8191&U,W=U>>>13,Y=0|s[1],F=8191&Y,H=Y>>>13,G=0|s[2],Z=8191&G,V=G>>>13,J=0|s[3],q=8191&J,X=J>>>13,K=0|s[4],$=8191&K,tt=K>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191<,dt=lt>>>13,ft=0|s[9],pt=8191&ft,mt=ft>>>13;n.negative=t.negative^e.negative,n.length=19;var gt=(c+(r=Math.imul(h,Q))|0)+((8191&(i=(i=Math.imul(h,W))+Math.imul(d,Q)|0))<<13)|0;c=((o=Math.imul(d,W))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(p,Q),i=(i=Math.imul(p,W))+Math.imul(m,Q)|0,o=Math.imul(m,W);var yt=(c+(r=r+Math.imul(h,F)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(d,F)|0))<<13)|0;c=((o=o+Math.imul(d,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(y,Q),i=(i=Math.imul(y,W))+Math.imul(v,Q)|0,o=Math.imul(v,W),r=r+Math.imul(p,F)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,F)|0,o=o+Math.imul(m,H)|0;var vt=(c+(r=r+Math.imul(h,Z)|0)|0)+((8191&(i=(i=i+Math.imul(h,V)|0)+Math.imul(d,Z)|0))<<13)|0;c=((o=o+Math.imul(d,V)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(w,Q),i=(i=Math.imul(w,W))+Math.imul(M,Q)|0,o=Math.imul(M,W),r=r+Math.imul(y,F)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,F)|0,o=o+Math.imul(v,H)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,V)|0;var bt=(c+(r=r+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(d,q)|0))<<13)|0;c=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,W))+Math.imul(A,Q)|0,o=Math.imul(A,W),r=r+Math.imul(w,F)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(M,F)|0,o=o+Math.imul(M,H)|0,r=r+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,V)|0,r=r+Math.imul(p,q)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,X)|0;var wt=(c+(r=r+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(d,$)|0))<<13)|0;c=((o=o+Math.imul(d,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(E,Q),i=(i=Math.imul(E,W))+Math.imul(N,Q)|0,o=Math.imul(N,W),r=r+Math.imul(L,F)|0,i=(i=i+Math.imul(L,H)|0)+Math.imul(A,F)|0,o=o+Math.imul(A,H)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(y,q)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var Mt=(c+(r=r+Math.imul(h,nt)|0)|0)+((8191&(i=(i=i+Math.imul(h,rt)|0)+Math.imul(d,nt)|0))<<13)|0;c=((o=o+Math.imul(d,rt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(I,Q),i=(i=Math.imul(I,W))+Math.imul(T,Q)|0,o=Math.imul(T,W),r=r+Math.imul(E,F)|0,i=(i=i+Math.imul(E,H)|0)+Math.imul(N,F)|0,o=o+Math.imul(N,H)|0,r=r+Math.imul(L,Z)|0,i=(i=i+Math.imul(L,V)|0)+Math.imul(A,Z)|0,o=o+Math.imul(A,V)|0,r=r+Math.imul(w,q)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(M,q)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,r=r+Math.imul(p,nt)|0,i=(i=i+Math.imul(p,rt)|0)+Math.imul(m,nt)|0,o=o+Math.imul(m,rt)|0;var kt=(c+(r=r+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(d,ot)|0))<<13)|0;c=((o=o+Math.imul(d,at)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(C,Q),i=(i=Math.imul(C,W))+Math.imul(D,Q)|0,o=Math.imul(D,W),r=r+Math.imul(I,F)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(T,F)|0,o=o+Math.imul(T,H)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(N,Z)|0,o=o+Math.imul(N,V)|0,r=r+Math.imul(L,q)|0,i=(i=i+Math.imul(L,X)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,tt)|0,r=r+Math.imul(y,nt)|0,i=(i=i+Math.imul(y,rt)|0)+Math.imul(v,nt)|0,o=o+Math.imul(v,rt)|0,r=r+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var Lt=(c+(r=r+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(d,ut)|0))<<13)|0;c=((o=o+Math.imul(d,ct)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,r=Math.imul(_,Q),i=(i=Math.imul(_,W))+Math.imul(z,Q)|0,o=Math.imul(z,W),r=r+Math.imul(C,F)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,F)|0,o=o+Math.imul(D,H)|0,r=r+Math.imul(I,Z)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,V)|0,r=r+Math.imul(E,q)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,X)|0,r=r+Math.imul(L,$)|0,i=(i=i+Math.imul(L,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,r=r+Math.imul(w,nt)|0,i=(i=i+Math.imul(w,rt)|0)+Math.imul(M,nt)|0,o=o+Math.imul(M,rt)|0,r=r+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,r=r+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var At=(c+(r=r+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;c=((o=o+Math.imul(d,dt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(B,Q),i=(i=Math.imul(B,W))+Math.imul(R,Q)|0,o=Math.imul(R,W),r=r+Math.imul(_,F)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(z,F)|0,o=o+Math.imul(z,H)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,V)|0)+Math.imul(D,Z)|0,o=o+Math.imul(D,V)|0,r=r+Math.imul(I,q)|0,i=(i=i+Math.imul(I,X)|0)+Math.imul(T,q)|0,o=o+Math.imul(T,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,r=r+Math.imul(L,nt)|0,i=(i=i+Math.imul(L,rt)|0)+Math.imul(A,nt)|0,o=o+Math.imul(A,rt)|0,r=r+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,at)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,at)|0,r=r+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,r=r+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,dt)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,dt)|0;var xt=(c+(r=r+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(d,pt)|0))<<13)|0;c=((o=o+Math.imul(d,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(B,F),i=(i=Math.imul(B,H))+Math.imul(R,F)|0,o=Math.imul(R,H),r=r+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(z,Z)|0,o=o+Math.imul(z,V)|0,r=r+Math.imul(C,q)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(D,q)|0,o=o+Math.imul(D,X)|0,r=r+Math.imul(I,$)|0,i=(i=i+Math.imul(I,tt)|0)+Math.imul(T,$)|0,o=o+Math.imul(T,tt)|0,r=r+Math.imul(E,nt)|0,i=(i=i+Math.imul(E,rt)|0)+Math.imul(N,nt)|0,o=o+Math.imul(N,rt)|0,r=r+Math.imul(L,ot)|0,i=(i=i+Math.imul(L,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,r=r+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,ct)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,ct)|0,r=r+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,dt)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,dt)|0;var Et=(c+(r=r+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(B,Z),i=(i=Math.imul(B,V))+Math.imul(R,Z)|0,o=Math.imul(R,V),r=r+Math.imul(_,q)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(z,q)|0,o=o+Math.imul(z,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(D,$)|0,o=o+Math.imul(D,tt)|0,r=r+Math.imul(I,nt)|0,i=(i=i+Math.imul(I,rt)|0)+Math.imul(T,nt)|0,o=o+Math.imul(T,rt)|0,r=r+Math.imul(E,ot)|0,i=(i=i+Math.imul(E,at)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,at)|0,r=r+Math.imul(L,ut)|0,i=(i=i+Math.imul(L,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,r=r+Math.imul(w,ht)|0,i=(i=i+Math.imul(w,dt)|0)+Math.imul(M,ht)|0,o=o+Math.imul(M,dt)|0;var Nt=(c+(r=r+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,X))+Math.imul(R,q)|0,o=Math.imul(R,X),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(z,$)|0,o=o+Math.imul(z,tt)|0,r=r+Math.imul(C,nt)|0,i=(i=i+Math.imul(C,rt)|0)+Math.imul(D,nt)|0,o=o+Math.imul(D,rt)|0,r=r+Math.imul(I,ot)|0,i=(i=i+Math.imul(I,at)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,at)|0,r=r+Math.imul(E,ut)|0,i=(i=i+Math.imul(E,ct)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,ct)|0,r=r+Math.imul(L,ht)|0,i=(i=i+Math.imul(L,dt)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,dt)|0;var St=(c+(r=r+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(M,pt)|0))<<13)|0;c=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(B,$),i=(i=Math.imul(B,tt))+Math.imul(R,$)|0,o=Math.imul(R,tt),r=r+Math.imul(_,nt)|0,i=(i=i+Math.imul(_,rt)|0)+Math.imul(z,nt)|0,o=o+Math.imul(z,rt)|0,r=r+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(D,ot)|0,o=o+Math.imul(D,at)|0,r=r+Math.imul(I,ut)|0,i=(i=i+Math.imul(I,ct)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,ct)|0,r=r+Math.imul(E,ht)|0,i=(i=i+Math.imul(E,dt)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,dt)|0;var It=(c+(r=r+Math.imul(L,pt)|0)|0)+((8191&(i=(i=i+Math.imul(L,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,r=Math.imul(B,nt),i=(i=Math.imul(B,rt))+Math.imul(R,nt)|0,o=Math.imul(R,rt),r=r+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(z,ot)|0,o=o+Math.imul(z,at)|0,r=r+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(D,ut)|0,o=o+Math.imul(D,ct)|0,r=r+Math.imul(I,ht)|0,i=(i=i+Math.imul(I,dt)|0)+Math.imul(T,ht)|0,o=o+Math.imul(T,dt)|0;var Tt=(c+(r=r+Math.imul(E,pt)|0)|0)+((8191&(i=(i=i+Math.imul(E,mt)|0)+Math.imul(N,pt)|0))<<13)|0;c=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,r=Math.imul(B,ot),i=(i=Math.imul(B,at))+Math.imul(R,ot)|0,o=Math.imul(R,at),r=r+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(z,ut)|0,o=o+Math.imul(z,ct)|0,r=r+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,dt)|0)+Math.imul(D,ht)|0,o=o+Math.imul(D,dt)|0;var jt=(c+(r=r+Math.imul(I,pt)|0)|0)+((8191&(i=(i=i+Math.imul(I,mt)|0)+Math.imul(T,pt)|0))<<13)|0;c=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(jt>>>26)|0,jt&=67108863,r=Math.imul(B,ut),i=(i=Math.imul(B,ct))+Math.imul(R,ut)|0,o=Math.imul(R,ct),r=r+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,dt)|0)+Math.imul(z,ht)|0,o=o+Math.imul(z,dt)|0;var Ct=(c+(r=r+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(D,pt)|0))<<13)|0;c=((o=o+Math.imul(D,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(B,ht),i=(i=Math.imul(B,dt))+Math.imul(R,ht)|0,o=Math.imul(R,dt);var Dt=(c+(r=r+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(z,pt)|0))<<13)|0;c=((o=o+Math.imul(z,mt)|0)+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863;var Ot=(c+(r=Math.imul(B,pt))|0)+((8191&(i=(i=Math.imul(B,mt))+Math.imul(R,pt)|0))<<13)|0;return c=((o=Math.imul(R,mt))+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Mt,u[6]=kt,u[7]=Lt,u[8]=At,u[9]=xt,u[10]=Et,u[11]=Nt,u[12]=St,u[13]=It,u[14]=Tt,u[15]=jt,u[16]=Ct,u[17]=Dt,u[18]=Ot,0!==c&&(u[19]=c,n.length++),n};function y(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function v(t,e,n){return y(t,e,n)}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):n<63?m(this,t,e):n<1024?y(this,t,e):v(this,t,e)},o.prototype.mul=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},o.prototype.mulf=function(t){var e=new o(null);return e.words=new Array(this.length+t.length),v(this,t,e)},o.prototype.imul=function(t){return this.clone().mulTo(t,this)},o.prototype.imuln=function(t){var e=t<0;e&&(t=-t),r("number"==typeof t),r(t<67108864);for(var n=0,i=0;i>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>i&1}return e}(t);if(0===e.length)return new o(1);for(var n=this,r=0;r=0);var e,n=t%26,i=(t-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,c=0;c=0&&(0!==l||c>=i);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){r("number"==typeof t&&t>=0);var e=t%26,n=(t-e)/26,i=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(r("number"==typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),i=t,a=0|i.words[i.length-1];0!=(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,u=r.length-i.length;if("mod"!==e){(s=new o(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c=0;h--){var d=67108864*(0|r.words[i.length+h])+(0|r.words[i.length+h-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,h);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,h),r.isZero()||(r.negative^=1);s&&(s.words[h]=d)}return s&&s._strip(),r._strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(i=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:i,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,a,s},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),i=t.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),r(t<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/t|0,n=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),a=new o(0),s=new o(0),u=new o(1),c=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++c;for(var l=n.clone(),h=e.clone();!e.isZero();){for(var d=0,f=1;0==(e.words[0]&f)&&d<26;++d,f<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(l),a.isub(h)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(n)>=0?(e.isub(n),i.isub(s),a.isub(u)):(n.isub(e),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(c)}},o.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,a=new o(1),s=new o(0),u=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);for(var h=0,d=1;0==(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(i=0===e.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=e.cmp(n);if(i<0){var o=e;e=n,n=o}else if(0===i||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){r("number"==typeof t);var e=t%26,n=(t-e)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|t.words[n];if(r!==i){ri&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new x(t)},o.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function w(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function L(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function E(t){x.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}w.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},w.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(t,e){t.iushrn(this.n,0,e)},w.prototype.imulK=function(t){return t.imul(this.k)},i(M,w),M.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r>>22,i=o}i>>>=22,t.words[r-10]=i,0===i&&t.length>10?t.length-=10:t.length-=9},M.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=i,e=r}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new M;else if("p224"===t)e=new k;else if("p192"===t)e=new L;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new A}return b[t]=e,e},x.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},x.prototype._verify2=function(t,e){r(0==(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},x.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(l(t,t.umod(this.m)._forceRed(this)),t)},x.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},x.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},x.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},x.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},x.prototype.isqr=function(t){return this.imul(t,t.clone())},x.prototype.sqr=function(t){return this.mul(t,t)},x.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2==1),3===e){var n=this.m.add(new o(1)).iushrn(2);return this.pow(t,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new o(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,i),d=this.pow(t,i.addn(1).iushrn(1)),f=this.pow(t,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;r--){for(var c=e.words[r],l=u-1;l>=0;l--){var h=c>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==h||0!==a?(a<<=1,a|=h,(4==++s||0===r&&0===l)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}u=26}return i},x.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},x.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new E(t)},i(E,x),E.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},E.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},E.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(132)(t))},function(t,e,n){n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return d}));var r=n(0),i=n(1),o=n(4),a=n(3),s=n(5);function u(t,e,n,r){return function(i){return i.lift(new c(t,e,n,r))}}var c=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.keySelector=n,a.elementSelector=r,a.durationSelector=i,a.subjectSelector=o,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return r.a(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new s.a,n.set(e,i);var o=new d(e,i,this);if(this.destination.next(o),this.durationSelector){var a=void 0;try{a=this.durationSelector(new d(e,i))}catch(t){return void this.error(t)}this.add(a.subscribe(new h(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach((function(e,n){e.error(t)})),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach((function(t,e){t.complete()})),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.a),h=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.a(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.a),d=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.a(e,t),e.prototype._subscribe=function(t){var e=new o.a,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new f(n)),e.add(r.subscribe(t)),e},e}(a.a),f=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.a(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.a)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ProviderType=e.RegExpString=e.IntNumber=e.BigIntString=e.AddressString=e.HexString=e.OpaqueType=void 0,e.OpaqueType=function(){return t=>t},e.HexString=t=>t,e.AddressString=t=>t,e.BigIntString=t=>t,e.IntNumber=function(t){return Math.floor(t)},e.RegExpString=t=>t,function(t){t.CoinbaseWallet="CoinbaseWallet",t.MetaMask="MetaMask",t.Unselected=""}(e.ProviderType||(e.ProviderType={}))},function(t,e,n){n.r(e),n.d(e,"audit",(function(){return o})),n.d(e,"auditTime",(function(){return l})),n.d(e,"buffer",(function(){return h})),n.d(e,"bufferCount",(function(){return m})),n.d(e,"bufferTime",(function(){return w})),n.d(e,"bufferToggle",(function(){return T})),n.d(e,"bufferWhen",(function(){return D})),n.d(e,"catchError",(function(){return z})),n.d(e,"combineAll",(function(){return U})),n.d(e,"combineLatest",(function(){return Y})),n.d(e,"concat",(function(){return H})),n.d(e,"concatAll",(function(){return G.a})),n.d(e,"concatMap",(function(){return V})),n.d(e,"concatMapTo",(function(){return J})),n.d(e,"count",(function(){return q})),n.d(e,"debounce",(function(){return $})),n.d(e,"debounceTime",(function(){return nt})),n.d(e,"defaultIfEmpty",(function(){return at})),n.d(e,"delay",(function(){return ht})),n.d(e,"delayWhen",(function(){return gt})),n.d(e,"dematerialize",(function(){return Mt})),n.d(e,"distinct",(function(){return At})),n.d(e,"distinctUntilChanged",(function(){return Nt})),n.d(e,"distinctUntilKeyChanged",(function(){return Tt})),n.d(e,"elementAt",(function(){return Wt})),n.d(e,"endWith",(function(){return Ft})),n.d(e,"every",(function(){return Ht})),n.d(e,"exhaust",(function(){return Vt})),n.d(e,"exhaustMap",(function(){return Kt})),n.d(e,"expand",(function(){return ee})),n.d(e,"filter",(function(){return Ct.a})),n.d(e,"finalize",(function(){return ie})),n.d(e,"find",(function(){return se})),n.d(e,"findIndex",(function(){return le})),n.d(e,"first",(function(){return de})),n.d(e,"groupBy",(function(){return fe.b})),n.d(e,"ignoreElements",(function(){return pe})),n.d(e,"isEmpty",(function(){return ye})),n.d(e,"last",(function(){return Le})),n.d(e,"map",(function(){return Xt.a})),n.d(e,"mapTo",(function(){return Ae})),n.d(e,"materialize",(function(){return Ne})),n.d(e,"max",(function(){return _e})),n.d(e,"merge",(function(){return Pe})),n.d(e,"mergeAll",(function(){return Be.a})),n.d(e,"mergeMap",(function(){return Z.b})),n.d(e,"flatMap",(function(){return Z.a})),n.d(e,"mergeMapTo",(function(){return Re})),n.d(e,"mergeScan",(function(){return Ue})),n.d(e,"min",(function(){return Ye})),n.d(e,"multicast",(function(){return He})),n.d(e,"observeOn",(function(){return Ze.b})),n.d(e,"onErrorResumeNext",(function(){return Ve})),n.d(e,"pairwise",(function(){return Xe})),n.d(e,"partition",(function(){return en})),n.d(e,"pluck",(function(){return nn})),n.d(e,"publish",(function(){return an})),n.d(e,"publishBehavior",(function(){return un})),n.d(e,"publishLast",(function(){return ln})),n.d(e,"publishReplay",(function(){return dn})),n.d(e,"race",(function(){return pn})),n.d(e,"reduce",(function(){return Oe})),n.d(e,"repeat",(function(){return mn})),n.d(e,"repeatWhen",(function(){return vn})),n.d(e,"retry",(function(){return Mn})),n.d(e,"retryWhen",(function(){return An})),n.d(e,"refCount",(function(){return Nn.a})),n.d(e,"sample",(function(){return Sn})),n.d(e,"sampleTime",(function(){return jn})),n.d(e,"scan",(function(){return Te})),n.d(e,"sequenceEqual",(function(){return _n})),n.d(e,"share",(function(){return Un})),n.d(e,"shareReplay",(function(){return Qn})),n.d(e,"single",(function(){return Wn})),n.d(e,"skip",(function(){return Hn})),n.d(e,"skipLast",(function(){return Vn})),n.d(e,"skipUntil",(function(){return Xn})),n.d(e,"skipWhile",(function(){return tr})),n.d(e,"startWith",(function(){return rr})),n.d(e,"subscribeOn",(function(){return sr})),n.d(e,"switchAll",(function(){return dr})),n.d(e,"switchMap",(function(){return cr})),n.d(e,"switchMapTo",(function(){return fr})),n.d(e,"take",(function(){return Rt})),n.d(e,"takeLast",(function(){return we})),n.d(e,"takeUntil",(function(){return pr})),n.d(e,"takeWhile",(function(){return yr})),n.d(e,"tap",(function(){return kr})),n.d(e,"throttle",(function(){return Er})),n.d(e,"throttleTime",(function(){return Ir})),n.d(e,"throwIfEmpty",(function(){return Ot})),n.d(e,"timeInterval",(function(){return Or})),n.d(e,"timeout",(function(){return Qr})),n.d(e,"timeoutWith",(function(){return Pr})),n.d(e,"timestamp",(function(){return Wr})),n.d(e,"toArray",(function(){return Hr})),n.d(e,"window",(function(){return Gr})),n.d(e,"windowCount",(function(){return Jr})),n.d(e,"windowTime",(function(){return Kr})),n.d(e,"windowToggle",(function(){return oi})),n.d(e,"windowWhen",(function(){return ui})),n.d(e,"withLatestFrom",(function(){return hi})),n.d(e,"zip",(function(){return mi})),n.d(e,"zipAll",(function(){return gi}));var r=n(0),i=n(2);function o(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.a(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=Object(i.c)(e,new i.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.b),u=n(6),c=n(77);function l(t,e){return void 0===e&&(e=u.a),o((function(){return Object(c.a)(t,e)}))}function h(t){return function(e){return e.lift(new d(t))}}var d=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.closingNotifier))},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.buffer=[],r.add(Object(i.c)(n,new i.a(r))),r}return r.a(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(){var t=this.buffer;this.buffer=[],this.destination.next(t)},e}(i.b),p=n(1);function m(t,e){return void 0===e&&(e=null),function(n){return n.lift(new g(t,e))}}var g=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?v:y}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),y=function(t){function e(e,n){var r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return r.a(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(p.a),v=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.a(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%n==0&&r.push([]);for(var o=r.length;o--;){var a=r[o];a.push(t),a.length===e&&(r.splice(o,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(p.a),b=n(10);function w(t){var e=arguments.length,n=u.a;Object(b.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new M(t,r,i,n))}}var M=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new L(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),k=function(){this.buffer=[]},L=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;a.bufferTimeSpan=n,a.bufferCreationInterval=r,a.maxBufferSize=i,a.scheduler=o,a.contexts=[];var s=a.openContext();if(a.timespanOnly=null==r||r<0,a.timespanOnly){var u={subscriber:a,context:s,bufferTimeSpan:n};a.add(s.closeAction=o.schedule(A,n,u))}else{var c={subscriber:a,context:s},l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:a,scheduler:o};a.add(s.closeAction=o.schedule(E,n,c)),a.add(o.schedule(x,r,l))}return a}return r.a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(A,n,r))}},e.prototype.openContext=function(){var t=new k;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(p.a);function A(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function x(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(E,n,{subscriber:r,context:o})),this.schedule(t,e))}function E(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var N=n(4),S=n(13),I=n(16);function T(t,e){return function(n){return n.lift(new j(t,e))}}var j=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new C(t,this.openings,this.closingSelector))},t}(),C=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.closingSelector=r,i.contexts=[],i.add(Object(S.a)(i,n)),i}return r.a(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new N.a,r={buffer:[],subscription:n};e.push(r);var i=Object(S.a)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(I.a);function D(t){return function(e){return e.lift(new O(t))}}var O=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new _(t,this.closingSelector))},t}(),_=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.a(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=void 0,this.subscribing=!1},e.prototype.notifyNext=function(){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new N.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(i.c)(e,new i.a(this))),this.subscribing=!1},e}(i.b);function z(t){return function(e){var n=new P(t),r=e.lift(n);return n.caught=r}}var P=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new B(t,this.selector,this.caught))},t}(),B=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.a(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new i.a(this);this.add(r);var o=Object(i.c)(n,r);o!==r&&this.add(o)}},e}(i.b),R=n(52);function U(t){return function(e){return e.lift(new R.a(t))}}var Q=n(7),W=n(12);function Y(){for(var t=[],e=0;e0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new pt(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(lt.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(lt.a.createComplete()),this.unsubscribe()},e}(p.a),pt=function(t,e){this.time=t,this.notification=e},mt=n(3);function gt(t,e){return e?function(n){return new bt(n,e).lift(new yt(t))}:function(e){return e.lift(new yt(t))}}var yt=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vt(t,this.delayDurationSelector))},t}(),vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.a(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=Object(S.a)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(I.a),bt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return r.a(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new wt(t,this.source))},e}(mt.a),wt=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return r.a(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(p.a);function Mt(){return function(t){return t.lift(new kt)}}var kt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Lt(t))},t}(),Lt=function(t){function e(e){return t.call(this,e)||this}return r.a(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(p.a);function At(t,e){return function(n){return n.lift(new xt(t,e))}}var xt=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new Et(t,this.keySelector,this.flushes))},t}(),Et=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=n,o.values=new Set,r&&o.add(Object(i.c)(r,new i.a(o))),o}return r.a(e,t),e.prototype.notifyNext=function(){this.values.clear()},e.prototype.notifyError=function(t){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.b);function Nt(t,e){return function(n){return n.lift(new St(t,e))}}var St=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new It(t,this.compare,this.keySelector))},t}(),It=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.a(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(p.a);function Tt(t,e){return Nt((function(n,r){return e?e(n[t],r[t]):n[t]===r[t]}))}var jt=n(25),Ct=n(17),Dt=n(27);function Ot(t){return void 0===t&&(t=Pt),function(e){return e.lift(new _t(t))}}var _t=function(){function t(t){this.errorFactory=t}return t.prototype.call=function(t,e){return e.subscribe(new zt(t,this.errorFactory))},t}(),zt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.errorFactory=n,r.hasValue=!1,r}return r.a(e,t),e.prototype._next=function(t){this.hasValue=!0,this.destination.next(t)},e.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var t=void 0;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)},e}(p.a);function Pt(){return new Dt.a}var Bt=n(11);function Rt(t){return function(e){return 0===t?Object(Bt.b)():e.lift(new Ut(t))}}var Ut=function(){function t(t){if(this.total=t,this.total<0)throw new jt.a}return t.prototype.call=function(t,e){return e.subscribe(new Qt(t,this.total))},t}(),Qt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.a(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(p.a);function Wt(t,e){if(t<0)throw new jt.a;var n=arguments.length>=2;return function(r){return r.pipe(Object(Ct.a)((function(e,n){return n===t})),Rt(1),n?at(e):Ot((function(){return new jt.a})))}}var Yt=n(39);function Ft(){for(var t=[],e=0;e0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.b);function ie(t){return function(e){return e.lift(new oe(t))}}var oe=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new ae(t,this.callback))},t}(),ae=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new N.a(n)),r}return r.a(e,t),e}(p.a);function se(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new ue(t,n,!1,e))}}var ue=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new ce(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),ce=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.predicate=n,a.source=r,a.yieldIndex=i,a.thisArg=o,a.index=0,a}return r.a(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(p.a);function le(t,e){return function(n){return n.lift(new ue(t,n,!0,e))}}var he=n(15);function de(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(Ct.a)((function(e,n){return t(e,n,r)})):he.a,Rt(1),n?at(e):Ot((function(){return new Dt.a})))}}var fe=n(67);function pe(){return function(t){return t.lift(new me)}}var me=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ge(t))},t}(),ge=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.a(e,t),e.prototype._next=function(t){},e}(p.a);function ye(){return function(t){return t.lift(new ve)}}var ve=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new be(t))},t}(),be=function(t){function e(e){return t.call(this,e)||this}return r.a(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(p.a);function we(t){return function(e){return 0===t?Object(Bt.b)():e.lift(new Me(t))}}var Me=function(){function t(t){if(this.total=t,this.total<0)throw new jt.a}return t.prototype.call=function(t,e){return e.subscribe(new ke(t,this.total))},t}(),ke=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.a(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?Object(Ct.a)((function(e,n){return t(e,n,r)})):he.a,we(1),n?at(e):Ot((function(){return new Dt.a})))}}function Ae(t){return function(e){return e.lift(new xe(t))}}var xe=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new Ee(t,this.value))},t}(),Ee=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return r.a(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(p.a);function Ne(){return function(t){return t.lift(new Se)}}var Se=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Ie(t))},t}(),Ie=function(t){function e(e){return t.call(this,e)||this}return r.a(e,t),e.prototype._next=function(t){this.destination.next(lt.a.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(lt.a.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(lt.a.createComplete()),t.complete()},e}(p.a);function Te(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new je(t,e,n))}}var je=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Ce(t,this.accumulator,this.seed,this.hasSeed))},t}(),Ce=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.a(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(p.a),De=n(41);function Oe(t,e){return arguments.length>=2?function(n){return Object(De.a)(Te(t,e),we(1),at(e))(n)}:function(e){return Object(De.a)(Te((function(e,n,r){return t(e,n,r+1)})),we(1))(e)}}function _e(t){return Oe("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var ze=n(75);function Pe(){for(var t=[],e=0;e0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(i.b);function Ye(t){return Oe("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(p.a);function vn(t){return function(e){return e.lift(new bn(t))}}var bn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new wn(t,this.notifier,e))},t}(),wn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.a(e,t),e.prototype.notifyNext=function(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next(void 0)}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new on.a;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(i.c)(e,new i.a(this))},e}(i.b);function Mn(t){return void 0===t&&(t=-1),function(e){return e.lift(new kn(t,e))}}var kn=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Ln(t,this.count,this.source))},t}(),Ln=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.a(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(p.a);function An(t){return function(e){return e.lift(new xn(t,e))}}var xn=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new En(t,this.notifier,this.source))},t}(),En=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return r.a(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=void 0,this.retriesSubscription=void 0;else{n=new on.a;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}o=Object(i.c)(r,new i.a(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0},e.prototype.notifyNext=function(){var t=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)},e}(i.b),Nn=n(49);function Sn(t){return function(e){return e.lift(new In(t))}}var In=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Tn(t),r=e.subscribe(n);return r.add(Object(i.c)(this.notifier,new i.a(n))),r},t}(),Tn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.a(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.b);function jn(t,e){return void 0===e&&(e=u.a),function(n){return n.lift(new Cn(t,e))}}var Cn=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Dn(t,this.period,this.scheduler))},t}(),Dn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(On,n,{subscriber:i,period:n})),i}return r.a(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(p.a);function On(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function _n(t,e){return function(n){return n.lift(new zn(t,e))}}var zn=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new Pn(t,this.compareTo,this.comparator))},t}(),Pn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new Bn(e,i))),i}return r.a(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparator;t.length>0&&e.length>0;){var r=t.shift(),i=e.shift(),o=!1;try{o=n?n(r,i):r===i}catch(t){this.destination.error(t)}o||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(p.a),Bn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return r.a(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(p.a);function Rn(){return new on.a}function Un(){return function(t){return Object(Nn.a)()(He(Rn)(t))}}function Qn(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift(function(t){var e,n,r=t.bufferSize,i=void 0===r?Number.POSITIVE_INFINITY:r,o=t.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,s=t.refCount,u=t.scheduler,c=0,l=!1,h=!1;return function(t){var r;c++,!e||l?(l=!1,e=new hn.a(i,a,u),r=e.subscribe(this),n=t.subscribe({next:function(t){e.next(t)},error:function(t){l=!0,e.error(t)},complete:function(){h=!0,n=void 0,e.complete()}}),h&&(n=void 0)):r=e.subscribe(this),this.add((function(){c--,r.unsubscribe(),r=void 0,n&&!h&&s&&0===c&&(n.unsubscribe(),n=void 0,e=void 0)}))}}(r))}}function Wn(t){return function(e){return e.lift(new Yn(t,e))}}var Yn=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new Fn(t,this.predicate,this.source))},t}(),Fn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.a(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new Dt.a)},e}(p.a);function Hn(t){return function(e){return e.lift(new Gn(t))}}var Gn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new Zn(t,this.total))},t}(),Zn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.a(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(p.a);function Vn(t){return function(e){return e.lift(new Jn(t))}}var Jn=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new jt.a}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new p.a(t)):e.subscribe(new qn(t,this._skipCount))},t}(),qn=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.a(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a=0&&s%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var u=new on.a;i.push(u),n.next(u)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(p.a);function Kr(t){var e=u.a,n=null,r=Number.POSITIVE_INFINITY;return Object(b.a)(arguments[3])&&(e=arguments[3]),Object(b.a)(arguments[2])?e=arguments[2]:Object(or.a)(arguments[2])&&(r=Number(arguments[2])),Object(b.a)(arguments[1])?e=arguments[1]:Object(or.a)(arguments[1])&&(n=Number(arguments[1])),function(i){return i.lift(new $r(t,n,r,e))}}var $r=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new ei(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),ti=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.a(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(on.a),ei=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;a.destination=e,a.windowTimeSpan=n,a.windowCreationInterval=r,a.maxWindowSize=i,a.scheduler=o,a.windows=[];var s=a.openWindow();if(null!==r&&r>=0){var u={subscriber:a,window:s,context:null},c={windowTimeSpan:n,windowCreationInterval:r,subscriber:a,scheduler:o};a.add(o.schedule(ii,n,u)),a.add(o.schedule(ri,r,c))}else{var l={subscriber:a,window:s,windowTimeSpan:n};a.add(o.schedule(ni,n,l))}return a}return r.a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new ti;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(p.a);function ni(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function ri(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),a={action:this,subscription:null},s={subscriber:n,window:o,context:a};a.subscription=r.schedule(ii,e,s),this.add(a.subscription),this.schedule(t,i)}function ii(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function oi(t,e){return function(n){return n.lift(new ai(t,e))}}var ai=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new si(t,this.openings,this.closingSelector))},t}(),si=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=Object(S.a)(i,n,n)),i}return r.a(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r0){var i=r.indexOf(n);-1!==i&&r.splice(i,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(I.a),pi=n(55);function mi(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===s&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(a.a)(t,s))}},function(t,e,n){n.d(e,"a",(function(){return u}));var r=n(0),i=n(7),o=n(29),a=n(16),s=n(13);function u(){for(var t=[],e=0;e(0,l.ensureAddressString)(t))),this.emit("accountsChanged",t))}this._subscriptionManager.events.on("notification",(t=>{this.emit("message",{type:t.method,data:t.params})})),this._addresses.length>0&&this.initializeRelay(),window.addEventListener("message",(t=>{var e;if("walletLinkMessage"===t.data.type&&"defaultChainChanged"===t.data.data.action){const n=t.data.data.chainId,r=null!==(e=t.data.data.jsonRpcUrl)&&void 0!==e?e:this.jsonRpcUrl;this.updateProviderInfo(r,Number(n),!0)}}))}get selectedAddress(){return this._addresses[0]||void 0}get networkVersion(){return this.getChainId().toString(10)}get chainId(){return(0,l.prepend0x)(this.getChainId().toString(16))}get isWalletLink(){return!0}get isMetaMask(){return this._overrideIsMetaMask}get host(){return this.jsonRpcUrl}get connected(){return!0}isConnected(){return!0}get jsonRpcUrl(){var t;return null!==(t=this._storage.getItem("DefaultJsonRpcUrl"))&&void 0!==t?t:this._jsonRpcUrlFromOpts}set jsonRpcUrl(t){this._storage.setItem("DefaultJsonRpcUrl",t)}get isChainOverridden(){return"true"===this._storage.getItem("HasChainOverriddenFromRelay")}set isChainOverridden(t){this._storage.setItem("HasChainOverriddenFromRelay",t.toString())}disableReloadOnDisconnect(){this.reloadOnDisconnect=!1}setProviderInfo(t,e){this.isChainOverridden||this.updateProviderInfo(t,this.getChainId(),!1)}updateProviderInfo(t,e,n){if("true"===this._storage.getItem("HasChainBeenSwitched")&&n)return;n&&(this.isChainOverridden=!0),this.jsonRpcUrl=t;const r=this.getChainId();this._storage.setItem("DefaultChainId",e.toString(10)),(0,l.ensureIntNumber)(e)===r&&this.hasMadeFirstChainChangedEmission||(this.emit("chainChanged",this.getChainId()),this.hasMadeFirstChainChangedEmission=!0)}async watchAsset(t,e,n,r,i,o){const a=await this.initializeRelay();return!!(await a.watchAsset(t,e,n,r,i,null==o?void 0:o.toString()).promise).result}async addEthereumChain(t,e,n,r,i,o){var a,s;if((0,l.ensureIntNumber)(t)===this.getChainId())return!1;const u=await this.initializeRelay(),c=u.inlineAddEthereumChain(t.toString());this._isAuthorized()||c||await u.requestEthereumAccounts().promise;const h=await u.addEthereumChain(t.toString(),e,i,n,r,o).promise;return!0===(null===(a=h.result)||void 0===a?void 0:a.isApproved)&&(this._storage.setItem("HasChainBeenSwitched","true"),this.updateProviderInfo(e[0],t,!1)),!0===(null===(s=h.result)||void 0===s?void 0:s.isApproved)}async switchEthereumChain(t){if((0,l.ensureIntNumber)(t)===this.getChainId())return;const e=await this.initializeRelay(),n=await e.switchEthereumChain(t.toString(10)).promise;if(n.errorCode)throw a.ethErrors.provider.custom({code:n.errorCode});const r=n.result;r.isApproved&&r.rpcUrl.length>0&&(this._storage.setItem("HasChainBeenSwitched","true"),this.updateProviderInfo(r.rpcUrl,t,!1))}setAppInfo(t,e){this.initializeRelay().then((n=>n.setAppInfo(t,e)))}async enable(){var t;return null===(t=this.diagnostic)||void 0===t||t.log(s.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::enable",addresses_length:this._addresses.length,sessionIdHash:this._relay?u.Session.hash(this._relay.session.id):void 0}),this._addresses.length>0?[...this._addresses]:await this._send(f.JSONRPCMethod.eth_requestAccounts)}async close(){(await this.initializeRelay()).resetAndReload()}send(t,e){if("string"==typeof t){const n={jsonrpc:"2.0",id:0,method:t,params:Array.isArray(e)?e:void 0!==e?[e]:[]};return this._sendRequestAsync(n).then((t=>t.result))}if("function"==typeof e){const n=t,r=e;return this._sendAsync(n,r)}if(Array.isArray(t))return t.map((t=>this._sendRequest(t)));const n=t;return this._sendRequest(n)}async sendAsync(t,e){if("function"!=typeof e)throw new Error("callback is required");if(Array.isArray(t)){const n=e;return void this._sendMultipleRequestsAsync(t).then((t=>n(null,t))).catch((t=>n(t,null)))}const n=e;return this._sendRequestAsync(t).then((t=>n(null,t))).catch((t=>n(t,null)))}async request(t){if(!t||"object"!=typeof t||Array.isArray(t))throw a.ethErrors.rpc.invalidRequest({message:"Expected a single, non-array, object argument.",data:t});const{method:e,params:n}=t;if("string"!=typeof e||0===e.length)throw a.ethErrors.rpc.invalidRequest({message:"'args.method' must be a non-empty string.",data:t});if(void 0!==n&&!Array.isArray(n)&&("object"!=typeof n||null===n))throw a.ethErrors.rpc.invalidRequest({message:"'args.params' must be an object or array if provided.",data:t});const r=void 0===n?[]:n,i=this._relayEventManager.makeRequestId();return(await this._sendRequestAsync({method:e,params:r,jsonrpc:"2.0",id:i})).result}async scanQRCode(t){const e=await this.initializeRelay(),n=await e.scanQRCode((0,l.ensureRegExpString)(t)).promise;if("string"!=typeof n.result)throw new Error("result was not a string");return n.result}async genericRequest(t,e){const n=await this.initializeRelay(),r=await n.genericRequest(t,e).promise;if("string"!=typeof r.result)throw new Error("result was not a string");return r.result}async selectProvider(t){const e=await this.initializeRelay(),n=await e.selectProvider(t).promise;if("string"!=typeof n.result)throw new Error("result was not a string");return n.result}supportsSubscriptions(){return!1}subscribe(){throw new Error("Subscriptions are not supported")}unsubscribe(){throw new Error("Subscriptions are not supported")}disconnect(){return!0}_sendRequest(t){const e={jsonrpc:"2.0",id:t.id},{method:n}=t;if(e.result=this._handleSynchronousMethods(t),void 0===e.result)throw new Error(`Coinbase Wallet does not support calling ${n} synchronously without a callback. Please provide a callback parameter to call ${n} asynchronously.`);return e}_setAddresses(t,e){if(!Array.isArray(t))throw new Error("addresses is not an array");const n=t.map((t=>(0,l.ensureAddressString)(t)));JSON.stringify(n)!==JSON.stringify(this._addresses)&&(this._addresses.length>0&&!1===this.supportsAddressSwitching&&!e||(this._addresses=n,this.emit("accountsChanged",this._addresses),this._storage.setItem(c.LOCAL_STORAGE_ADDRESSES_KEY,n.join(" "))))}_sendRequestAsync(t){return new Promise(((e,n)=>{try{const r=this._handleSynchronousMethods(t);if(void 0!==r)return e({jsonrpc:"2.0",id:t.id,result:r});const i=this._handleAsynchronousFilterMethods(t);if(void 0!==i)return void i.then((n=>e(Object.assign(Object.assign({},n),{id:t.id})))).catch((t=>n(t)));const o=this._handleSubscriptionMethods(t);if(void 0!==o)return void o.then((n=>e({jsonrpc:"2.0",id:t.id,result:n.result}))).catch((t=>n(t)))}catch(t){return n(t)}this._handleAsynchronousMethods(t).then((n=>n&&e(Object.assign(Object.assign({},n),{id:t.id})))).catch((t=>n(t)))}))}_sendMultipleRequestsAsync(t){return Promise.all(t.map((t=>this._sendRequestAsync(t))))}_handleSynchronousMethods(t){const{method:e}=t,n=t.params||[];switch(e){case f.JSONRPCMethod.eth_accounts:return this._eth_accounts();case f.JSONRPCMethod.eth_coinbase:return this._eth_coinbase();case f.JSONRPCMethod.eth_uninstallFilter:return this._eth_uninstallFilter(n);case f.JSONRPCMethod.net_version:return this._net_version();case f.JSONRPCMethod.eth_chainId:return this._eth_chainId();default:return}}async _handleAsynchronousMethods(t){const{method:e}=t,n=t.params||[];switch(e){case f.JSONRPCMethod.eth_requestAccounts:return this._eth_requestAccounts();case f.JSONRPCMethod.eth_sign:return this._eth_sign(n);case f.JSONRPCMethod.eth_ecRecover:return this._eth_ecRecover(n);case f.JSONRPCMethod.personal_sign:return this._personal_sign(n);case f.JSONRPCMethod.personal_ecRecover:return this._personal_ecRecover(n);case f.JSONRPCMethod.eth_signTransaction:return this._eth_signTransaction(n);case f.JSONRPCMethod.eth_sendRawTransaction:return this._eth_sendRawTransaction(n);case f.JSONRPCMethod.eth_sendTransaction:return this._eth_sendTransaction(n);case f.JSONRPCMethod.eth_signTypedData_v1:return this._eth_signTypedData_v1(n);case f.JSONRPCMethod.eth_signTypedData_v2:return this._throwUnsupportedMethodError();case f.JSONRPCMethod.eth_signTypedData_v3:return this._eth_signTypedData_v3(n);case f.JSONRPCMethod.eth_signTypedData_v4:case f.JSONRPCMethod.eth_signTypedData:return this._eth_signTypedData_v4(n);case f.JSONRPCMethod.cbWallet_arbitrary:return this._cbwallet_arbitrary(n);case f.JSONRPCMethod.wallet_addEthereumChain:return this._wallet_addEthereumChain(n);case f.JSONRPCMethod.wallet_switchEthereumChain:return this._wallet_switchEthereumChain(n);case f.JSONRPCMethod.wallet_watchAsset:return this._wallet_watchAsset(n)}return(await this.initializeRelay()).makeEthereumJSONRPCRequest(t,this.jsonRpcUrl)}_handleAsynchronousFilterMethods(t){const{method:e}=t,n=t.params||[];switch(e){case f.JSONRPCMethod.eth_newFilter:return this._eth_newFilter(n);case f.JSONRPCMethod.eth_newBlockFilter:return this._eth_newBlockFilter();case f.JSONRPCMethod.eth_newPendingTransactionFilter:return this._eth_newPendingTransactionFilter();case f.JSONRPCMethod.eth_getFilterChanges:return this._eth_getFilterChanges(n);case f.JSONRPCMethod.eth_getFilterLogs:return this._eth_getFilterLogs(n)}}_handleSubscriptionMethods(t){switch(t.method){case f.JSONRPCMethod.eth_subscribe:case f.JSONRPCMethod.eth_unsubscribe:return this._subscriptionManager.handleRequest(t)}}_isKnownAddress(t){try{const e=(0,l.ensureAddressString)(t);return this._addresses.map((t=>(0,l.ensureAddressString)(t))).includes(e)}catch(t){}return!1}_ensureKnownAddress(t){var e;if(!this._isKnownAddress(t))throw null===(e=this.diagnostic)||void 0===e||e.log(s.EVENTS.UNKNOWN_ADDRESS_ENCOUNTERED),new Error("Unknown Ethereum address")}_prepareTransactionParams(e){const n=e.from?(0,l.ensureAddressString)(e.from):this.selectedAddress;if(!n)throw new Error("Ethereum address is unavailable");return this._ensureKnownAddress(n),{fromAddress:n,toAddress:e.to?(0,l.ensureAddressString)(e.to):null,weiValue:null!=e.value?(0,l.ensureBN)(e.value):new o.default(0),data:e.data?(0,l.ensureBuffer)(e.data):t.alloc(0),nonce:null!=e.nonce?(0,l.ensureIntNumber)(e.nonce):null,gasPriceInWei:null!=e.gasPrice?(0,l.ensureBN)(e.gasPrice):null,maxFeePerGas:null!=e.maxFeePerGas?(0,l.ensureBN)(e.maxFeePerGas):null,maxPriorityFeePerGas:null!=e.maxPriorityFeePerGas?(0,l.ensureBN)(e.maxPriorityFeePerGas):null,gasLimit:null!=e.gas?(0,l.ensureBN)(e.gas):null,chainId:this.getChainId()}}_isAuthorized(){return this._addresses.length>0}_requireAuthorization(){if(!this._isAuthorized())throw a.ethErrors.provider.unauthorized({})}_throwUnsupportedMethodError(){throw a.ethErrors.provider.unsupportedMethod({})}async _signEthereumMessage(t,e,n,r){this._ensureKnownAddress(e);try{const i=await this.initializeRelay();return{jsonrpc:"2.0",id:0,result:(await i.signEthereumMessage(t,e,n,r).promise).result}}catch(t){if("string"==typeof t.message&&t.message.match(/(denied|rejected)/i))throw a.ethErrors.provider.userRejectedRequest("User denied message signature");throw t}}async _ethereumAddressFromSignedMessage(t,e,n){const r=await this.initializeRelay();return{jsonrpc:"2.0",id:0,result:(await r.ethereumAddressFromSignedMessage(t,e,n).promise).result}}_eth_accounts(){return[...this._addresses]}_eth_coinbase(){return this.selectedAddress||null}_net_version(){return this.getChainId().toString(10)}_eth_chainId(){return(0,l.hexStringFromIntNumber)(this.getChainId())}getChainId(){const t=this._storage.getItem("DefaultChainId")||"1",e=parseInt(t,10);return(0,l.ensureIntNumber)(e)}async _eth_requestAccounts(){var t;if(null===(t=this.diagnostic)||void 0===t||t.log(s.EVENTS.ETH_ACCOUNTS_STATE,{method:"provider::_eth_requestAccounts",addresses_length:this._addresses.length,sessionIdHash:this._relay?u.Session.hash(this._relay.session.id):void 0}),this._addresses.length>0)return Promise.resolve({jsonrpc:"2.0",id:0,result:this._addresses});let e;try{const t=await this.initializeRelay();e=await t.requestEthereumAccounts().promise}catch(t){if("string"==typeof t.message&&t.message.match(/(denied|rejected)/i))throw a.ethErrors.provider.userRejectedRequest("User denied account authorization");throw t}if(!e.result)throw new Error("accounts received is empty");return this._setAddresses(e.result),{jsonrpc:"2.0",id:0,result:this._addresses}}_eth_sign(t){this._requireAuthorization();const e=(0,l.ensureAddressString)(t[0]),n=(0,l.ensureBuffer)(t[1]);return this._signEthereumMessage(n,e,!1)}_eth_ecRecover(t){const e=(0,l.ensureBuffer)(t[0]),n=(0,l.ensureBuffer)(t[1]);return this._ethereumAddressFromSignedMessage(e,n,!1)}_personal_sign(t){this._requireAuthorization();const e=(0,l.ensureBuffer)(t[0]),n=(0,l.ensureAddressString)(t[1]);return this._signEthereumMessage(e,n,!0)}_personal_ecRecover(t){const e=(0,l.ensureBuffer)(t[0]),n=(0,l.ensureBuffer)(t[1]);return this._ethereumAddressFromSignedMessage(e,n,!0)}async _eth_signTransaction(t){this._requireAuthorization();const e=this._prepareTransactionParams(t[0]||{});try{const t=await this.initializeRelay();return{jsonrpc:"2.0",id:0,result:(await t.signEthereumTransaction(e).promise).result}}catch(t){if("string"==typeof t.message&&t.message.match(/(denied|rejected)/i))throw a.ethErrors.provider.userRejectedRequest("User denied transaction signature");throw t}}async _eth_sendRawTransaction(t){const e=(0,l.ensureBuffer)(t[0]),n=await this.initializeRelay();return{jsonrpc:"2.0",id:0,result:(await n.submitEthereumTransaction(e,this.getChainId()).promise).result}}async _eth_sendTransaction(t){this._requireAuthorization();const e=this._prepareTransactionParams(t[0]||{});try{const t=await this.initializeRelay();return{jsonrpc:"2.0",id:0,result:(await t.signAndSubmitEthereumTransaction(e).promise).result}}catch(t){if("string"==typeof t.message&&t.message.match(/(denied|rejected)/i))throw a.ethErrors.provider.userRejectedRequest("User denied transaction signature");throw t}}async _eth_signTypedData_v1(t){this._requireAuthorization();const e=(0,l.ensureParsedJSONObject)(t[0]),n=(0,l.ensureAddressString)(t[1]);this._ensureKnownAddress(n);const r=h.default.hashForSignTypedDataLegacy({data:e}),i=JSON.stringify(e,null,2);return this._signEthereumMessage(r,n,!1,i)}async _eth_signTypedData_v3(t){this._requireAuthorization();const e=(0,l.ensureAddressString)(t[0]),n=(0,l.ensureParsedJSONObject)(t[1]);this._ensureKnownAddress(e);const r=h.default.hashForSignTypedData_v3({data:n}),i=JSON.stringify(n,null,2);return this._signEthereumMessage(r,e,!1,i)}async _eth_signTypedData_v4(t){this._requireAuthorization();const e=(0,l.ensureAddressString)(t[0]),n=(0,l.ensureParsedJSONObject)(t[1]);this._ensureKnownAddress(e);const r=h.default.hashForSignTypedData_v4({data:n}),i=JSON.stringify(n,null,2);return this._signEthereumMessage(r,e,!1,i)}async _cbwallet_arbitrary(t){const e=t[0],n=t[1];if("string"!=typeof n)throw new Error("parameter must be a string");if("object"!=typeof e||null===e)throw new Error("parameter must be an object");return{jsonrpc:"2.0",id:0,result:await this.genericRequest(e,n)}}async _wallet_addEthereumChain(t){var e,n,r,i;const o=t[0];if(0===(null===(e=o.rpcUrls)||void 0===e?void 0:e.length))return{jsonrpc:"2.0",id:0,error:{code:2,message:"please pass in at least 1 rpcUrl"}};if(!o.chainName||""===o.chainName.trim())throw a.ethErrors.provider.custom({code:0,message:"chainName is a required field"});if(!o.nativeCurrency)throw a.ethErrors.provider.custom({code:0,message:"nativeCurrency is a required field"});const s=parseInt(o.chainId,16);return await this.addEthereumChain(s,null!==(n=o.rpcUrls)&&void 0!==n?n:[],null!==(r=o.blockExplorerUrls)&&void 0!==r?r:[],o.chainName,null!==(i=o.iconUrls)&&void 0!==i?i:[],o.nativeCurrency)?{jsonrpc:"2.0",id:0,result:null}:{jsonrpc:"2.0",id:0,error:{code:2,message:"unable to add ethereum chain"}}}async _wallet_switchEthereumChain(t){const e=t[0];return await this.switchEthereumChain(parseInt(e.chainId,16)),{jsonrpc:"2.0",id:0,result:null}}async _wallet_watchAsset(t){const e=Array.isArray(t)?t[0]:t;if(!e.type)throw a.ethErrors.rpc.invalidParams({message:"Type is required"});if("ERC20"!==(null==e?void 0:e.type))throw a.ethErrors.rpc.invalidParams({message:`Asset of type '${e.type}' is not supported`});if(!(null==e?void 0:e.options))throw a.ethErrors.rpc.invalidParams({message:"Options are required"});if(!(null==e?void 0:e.options.address))throw a.ethErrors.rpc.invalidParams({message:"Address is required"});const n=this.getChainId(),{address:r,symbol:i,image:o,decimals:s}=e.options;return{jsonrpc:"2.0",id:0,result:await this.watchAsset(e.type,r,i,s,o,n)}}_eth_uninstallFilter(t){const e=(0,l.ensureHexString)(t[0]);return this._filterPolyfill.uninstallFilter(e)}async _eth_newFilter(t){const e=t[0];return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newFilter(e)}}async _eth_newBlockFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newBlockFilter()}}async _eth_newPendingTransactionFilter(){return{jsonrpc:"2.0",id:0,result:await this._filterPolyfill.newPendingTransactionFilter()}}_eth_getFilterChanges(t){const e=(0,l.ensureHexString)(t[0]);return this._filterPolyfill.getFilterChanges(e)}_eth_getFilterLogs(t){const e=(0,l.ensureHexString)(t[0]);return this._filterPolyfill.getFilterLogs(e)}initializeRelay(){return this._relay?Promise.resolve(this._relay):this._relayProvider().then((t=>(t.setAccountsCallback(((t,e)=>this._setAddresses(t,e))),t.setChainCallback(((t,e)=>{this.updateProviderInfo(e,parseInt(t,10),!0)})),this._relay=t,t)))}}e.CoinbaseWalletProvider=m}).call(this,n(19).Buffer)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getMessageFromCode=e.serializeError=e.EthereumProviderError=e.EthereumRpcError=e.ethErrors=e.errorCodes=void 0;const r=n(87);Object.defineProperty(e,"EthereumRpcError",{enumerable:!0,get:function(){return r.EthereumRpcError}}),Object.defineProperty(e,"EthereumProviderError",{enumerable:!0,get:function(){return r.EthereumProviderError}});const i=n(103);Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return i.serializeError}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}});const o=n(134);Object.defineProperty(e,"ethErrors",{enumerable:!0,get:function(){return o.ethErrors}});const a=n(88);Object.defineProperty(e,"errorCodes",{enumerable:!0,get:function(){return a.errorCodes}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.EthereumProviderError=e.EthereumRpcError=void 0;const r=n(102);class i extends Error{constructor(t,e,n){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!e||"string"!=typeof e)throw new Error('"message" must be a nonempty string.');super(e),this.code=t,void 0!==n&&(this.data=n)}serialize(){const t={code:this.code,message:this.message};return void 0!==this.data&&(t.data=this.data),this.stack&&(t.stack=this.stack),t}toString(){return r.default(this.serialize(),o,2)}}function o(t,e){if("[Circular]"!==e)return e}e.EthereumRpcError=i,e.EthereumProviderError=class extends i{constructor(t,e,n){if(!function(t){return Number.isInteger(t)&&t>=1e3&&t<=4999}(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,e,n)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.errorValues=e.errorCodes=void 0,e.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},e.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.EVENTS=void 0,e.EVENTS={STARTED_CONNECTING:"walletlink_sdk.started.connecting",CONNECTED_STATE_CHANGE:"walletlink_sdk.connected",DISCONNECTED:"walletlink_sdk.disconnected",METADATA_DESTROYED:"walletlink_sdk_metadata_destroyed",LINKED:"walletlink_sdk.linked",FAILURE:"walletlink_sdk.generic_failure",SESSION_CONFIG_RECEIVED:"walletlink_sdk.session_config_event_received",ETH_ACCOUNTS_STATE:"walletlink_sdk.eth_accounts_state",SESSION_STATE_CHANGE:"walletlink_sdk.session_state_change",UNLINKED_ERROR_STATE:"walletlink_sdk.unlinked_error_state",SKIPPED_CLEARING_SESSION:"walletlink_sdk.skipped_clearing_session",GENERAL_ERROR:"walletlink_sdk.general_error",WEB3_REQUEST:"walletlink_sdk.web3.request",WEB3_REQUEST_PUBLISHED:"walletlink_sdk.web3.request_published",WEB3_RESPONSE:"walletlink_sdk.web3.response",UNKNOWN_ADDRESS_ENCOUNTERED:"walletlink_sdk.unknown_address_encountered"}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Session=void 0;const r=n(48),i=n(69),o=n(135),a=n(38);class s{constructor(t,e,n,r){this._storage=t,this._id=e||(0,a.randomBytesHex)(16),this._secret=n||(0,a.randomBytesHex)(32),this._key=(new o.sha256).update(`${this._id}, ${this._secret} WalletLink`).digest("hex"),this._linked=!!r}static load(t){const e=t.getItem("session:id"),n=t.getItem("session:linked"),r=t.getItem("session:secret");return e&&r?new s(t,e,r,"1"===n):null}static get persistedSessionIdChange$(){return(0,r.fromEvent)(window,"storage").pipe((0,i.filter)((t=>"session:id"===t.key)),(0,i.map)((t=>({oldValue:t.oldValue||null,newValue:t.newValue||null}))))}static hash(t){return(new o.sha256).update(t).digest("hex")}get id(){return this._id}get secret(){return this._secret}get key(){return this._key}get linked(){return this._linked}set linked(t){this._linked=t,this.persistLinked()}save(){return this._storage.setItem("session:id",this._id),this._storage.setItem("session:secret",this._secret),this.persistLinked(),this}persistLinked(){this._storage.setItem("session:linked",this._linked?"1":"0")}}e.Session=s},function(t,e,n){var r=SyntaxError,i=Function,o=TypeError,a=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var u=function(){throw new o},c=s?function(){try{return u}catch(t){try{return s(arguments,"callee").get}catch(t){return u}}}():u,l=n(143)(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},f="undefined"==typeof Uint8Array?void 0:h(Uint8Array),p={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":l?h([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?h(h([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?h((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?h((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?h(""[Symbol.iterator]()):void 0,"%Symbol%":l?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n(92),y=n(146),v=g.call(Function.call,Array.prototype.concat),b=g.call(Function.apply,Array.prototype.splice),w=g.call(Function.call,String.prototype.replace),M=g.call(Function.call,String.prototype.slice),k=g.call(Function.call,RegExp.prototype.exec),L=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,x=function(t){var e=M(t,0,1),n=M(t,-1);if("%"===e&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new r("invalid intrinsic syntax, expected opening `%`");var i=[];return w(t,L,(function(t,e,n,r){i[i.length]=n?w(r,A,"$1"):e||t})),i},E=function(t,e){var n,i=t;if(y(m,i)&&(i="%"+(n=m[i])[0]+"%"),y(p,i)){var s=p[i];if(s===d&&(s=function t(e){var n;if("%AsyncFunction%"===e)n=a("async function () {}");else if("%GeneratorFunction%"===e)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=a("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=h(i.prototype))}return p[e]=n,n}(i)),void 0===s&&!e)throw new o("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:s}}throw new r("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new o('"allowMissing" argument must be a boolean');if(null===k(/^%?[^%]*%?$/g,t))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=x(t),i=n.length>0?n[0]:"",a=E("%"+i+"%",e),u=a.name,c=a.value,l=!1,h=a.alias;h&&(i=h[0],b(n,v([0,1],h)));for(var d=1,f=!0;d=n.length){var L=s(c,m);c=(f=!!L)&&"get"in L&&!("originalValue"in L.get)?L.get:c[m]}else f=y(c,m),c=c[m];f&&!l&&(p[u]=c)}}return c}},function(t,e,n){var r=n(145);t.exports=Function.prototype.bind||r},function(t,e,n){var r=String.prototype.replace,i=/%20/g,o="RFC3986";t.exports={default:o,formatters:{RFC1738:function(t){return r.call(t,i,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:o}},function(t,e,n){var r=n(46).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,n,o){if("function"==typeof n)return t(e,null,n);n||(n={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,r=new Array(n),i=0;i=1e3&&t<=4999}(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,e,n)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.errorValues=e.errorCodes=void 0,e.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},e.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}},function(t,e,n){const r=n(64).default;t.exports=class extends r{constructor(){super(),this.updates=[]}async initialize(){}async update(){throw new Error("BaseFilter - no update method specified")}addResults(t){this.updates=this.updates.concat(t),t.forEach((t=>this.emit("update",t)))}addInitialResults(t){}getChangesAndClear(){const t=this.updates;return this.updates=[],t}}},function(t,e){function n(t){return null==t?t:Number.parseInt(t,16)}function r(t){return null==t?t:"0x"+t.toString(16)}t.exports=async function({provider:t,fromBlock:e,toBlock:i}){e||(e=i);const o=n(e),a=n(i),s=Array(a-o+1).fill().map(((t,e)=>o+e)).map(r);return await Promise.all(s.map((e=>function(t,e,n){return new Promise(((e,r)=>{t.sendAsync({id:1,jsonrpc:"2.0",method:"eth_getBlockByNumber",params:n},((t,n)=>{if(t)return r(t);e(n.result)}))}))}(t,0,[e,!1]))))}},function(t,e,n){n.r(e),n.d(e,"useState",(function(){return m})),n.d(e,"useReducer",(function(){return g})),n.d(e,"useEffect",(function(){return y})),n.d(e,"useLayoutEffect",(function(){return v})),n.d(e,"useRef",(function(){return b})),n.d(e,"useImperativeHandle",(function(){return w})),n.d(e,"useMemo",(function(){return M})),n.d(e,"useCallback",(function(){return k})),n.d(e,"useContext",(function(){return L})),n.d(e,"useDebugValue",(function(){return A})),n.d(e,"useErrorBoundary",(function(){return x}));var r,i,o,a=n(8),s=0,u=[],c=a.options.__b,l=a.options.__r,h=a.options.diffed,d=a.options.__c,f=a.options.unmount;function p(t,e){a.options.__h&&a.options.__h(i,t,s||e),s=0;var n=i.__H||(i.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function m(t){return s=1,g(j,t)}function g(t,e,n){var o=p(r++,2);return o.t=t,o.__c||(o.__=[n?n(e):j(void 0,e),function(t){var e=o.t(o.__[0],t);o.__[0]!==e&&(o.__=[e,o.__[1]],o.__c.setState({}))}],o.__c=i),o.__}function y(t,e){var n=p(r++,3);!a.options.__s&&T(n.__H,e)&&(n.__=t,n.__H=e,i.__H.__h.push(n))}function v(t,e){var n=p(r++,4);!a.options.__s&&T(n.__H,e)&&(n.__=t,n.__H=e,i.__h.push(n))}function b(t){return s=5,M((function(){return{current:t}}),[])}function w(t,e,n){s=6,v((function(){"function"==typeof t?t(e()):t&&(t.current=e())}),null==n?n:n.concat(t))}function M(t,e){var n=p(r++,7);return T(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function k(t,e){return s=8,M((function(){return t}),e)}function L(t){var e=i.context[t.__c],n=p(r++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(i)),e.props.value):t.__}function A(t,e){a.options.useDebugValue&&a.options.useDebugValue(e?e(t):t)}function x(t){var e=p(r++,10),n=m();return e.__=t,i.componentDidCatch||(i.componentDidCatch=function(t){e.__&&e.__(t),n[1](t)}),[n[0],function(){n[1](void 0)}]}function E(){for(var t;t=u.shift();)if(t.__P)try{t.__H.__h.forEach(S),t.__H.__h.forEach(I),t.__H.__h=[]}catch(e){t.__H.__h=[],a.options.__e(e,t.__v)}}a.options.__b=function(t){i=null,c&&c(t)},a.options.__r=function(t){l&&l(t),r=0;var e=(i=t.__c).__H;e&&(e.__h.forEach(S),e.__h.forEach(I),e.__h=[])},a.options.diffed=function(t){h&&h(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(1!==u.push(e)&&o===a.options.requestAnimationFrame||((o=a.options.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(r),N&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);N&&(e=requestAnimationFrame(n))})(E)),i=null},a.options.__c=function(t,e){e.some((function(t){try{t.__h.forEach(S),t.__h=t.__h.filter((function(t){return!t.__||I(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],a.options.__e(n,t.__v)}})),d&&d(t,e)},a.options.unmount=function(t){f&&f(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{S(t)}catch(t){e=t}})),e&&a.options.__e(e,n.__v))};var N="function"==typeof requestAnimationFrame;function S(t){var e=i,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),i=e}function I(t){var e=i;t.__c=t.__(),i=e}function T(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function j(t,e){return"function"==typeof e?e(t):e}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.RelayMessageType=void 0,function(t){t.SESSION_ID_REQUEST="SESSION_ID_REQUEST",t.SESSION_ID_RESPONSE="SESSION_ID_RESPONSE",t.LINKED="LINKED",t.UNLINKED="UNLINKED",t.WEB3_REQUEST="WEB3_REQUEST",t.WEB3_REQUEST_CANCELED="WEB3_REQUEST_CANCELED",t.WEB3_RESPONSE="WEB3_RESPONSE"}(e.RelayMessageType||(e.RelayMessageType={}))},function(t,e,n){(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.CoinbaseWalletSDK=void 0;const r=n(127),i=n(128),o=n(85),a=n(193),s=n(210),u=n(222),c=n(38),l=t.env.LINK_API_URL||"https://www.walletlink.org",h=t.env.SDK_VERSION||n(223).version||"unknown";class d{constructor(t){var e,n,r;this._appName="",this._appLogoUrl=null,this._relay=null,this._relayEventManager=null;const o=t.linkAPIUrl||l;let c;if(c=t.uiConstructor?t.uiConstructor:t=>new a.WalletSDKUI(t),void 0===t.overrideIsMetaMask?this._overrideIsMetaMask=!1:this._overrideIsMetaMask=t.overrideIsMetaMask,this._overrideIsCoinbaseWallet=null===(e=t.overrideIsCoinbaseWallet)||void 0===e||e,this._overrideIsCoinbaseBrowser=null!==(n=t.overrideIsCoinbaseBrowser)&&void 0!==n&&n,t.diagnosticLogger&&t.eventListener)throw new Error("Can't have both eventListener and diagnosticLogger options, use only diagnosticLogger");t.eventListener?this._diagnosticLogger={log:t.eventListener.onEvent}:this._diagnosticLogger=t.diagnosticLogger,this._reloadOnDisconnect=null===(r=t.reloadOnDisconnect)||void 0===r||r;const f=new URL(o),p=`${f.protocol}//${f.host}`;this._storage=new i.ScopedLocalStorage("-walletlink:"+p),this._storage.setItem("version",d.VERSION),this.walletExtension||(this._relayEventManager=new u.WalletSDKRelayEventManager,this._relay=new s.WalletSDKRelay({linkAPIUrl:o,version:h,darkMode:!!t.darkMode,uiConstructor:c,storage:this._storage,relayEventManager:this._relayEventManager,diagnosticLogger:this._diagnosticLogger}),this.setAppInfo(t.appName,t.appLogoUrl),t.headlessMode||this._relay.attachUI())}makeWeb3Provider(t="",e=1){const n=this.walletExtension;if(n)return this.isCipherProvider(n)||n.setProviderInfo(t,e),!1===this._reloadOnDisconnect&&"function"==typeof n.disableReloadOnDisconnect&&n.disableReloadOnDisconnect(),n;const r=this._relay;if(!r||!this._relayEventManager||!this._storage)throw new Error("Relay not initialized, should never happen");return t||r.setConnectDisabled(!0),new o.CoinbaseWalletProvider({relayProvider:()=>Promise.resolve(r),relayEventManager:this._relayEventManager,storage:this._storage,jsonRpcUrl:t,chainId:e,qrUrl:this.getQrUrl(),diagnosticLogger:this._diagnosticLogger,overrideIsMetaMask:this._overrideIsMetaMask,overrideIsCoinbaseWallet:this._overrideIsCoinbaseWallet,overrideIsCoinbaseBrowser:this._overrideIsCoinbaseBrowser})}setAppInfo(t,e){var n;this._appName=t||"DApp",this._appLogoUrl=e||(0,c.getFavicon)();const r=this.walletExtension;r?this.isCipherProvider(r)||r.setAppInfo(this._appName,this._appLogoUrl):null===(n=this._relay)||void 0===n||n.setAppInfo(this._appName,this._appLogoUrl)}disconnect(){var t;const e=this.walletExtension;e?e.close():null===(t=this._relay)||void 0===t||t.resetAndReload()}getQrUrl(){var t,e;return null!==(e=null===(t=this._relay)||void 0===t?void 0:t.getQRCodeUrl())&&void 0!==e?e:null}getCoinbaseWalletLogo(t,e=240){return(0,r.walletLogo)(t,e)}get walletExtension(){var t;return null!==(t=window.coinbaseWalletExtension)&&void 0!==t?t:window.walletLinkExtension}isCipherProvider(t){return"boolean"==typeof t.isCipher&&t.isCipher}}e.CoinbaseWalletSDK=d,d.VERSION=h}).call(this,n(40))},function(t,e){t.exports=o,o.default=o,o.stable=u,o.stableStringify=u;var n=[],r=[];function i(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function o(t,e,o,s){var u;void 0===s&&(s=i()),function t(e,n,r,i,o,s,u){var c;if(s+=1,"object"==typeof e&&null!==e){for(c=0;cu.depthLimit)return void a("[...]",e,n,o);if(void 0!==u.edgesLimit&&r+1>u.edgesLimit)return void a("[...]",e,n,o);if(i.push(e),Array.isArray(e))for(c=0;ce?1:0}function u(t,e,o,u){void 0===u&&(u=i());var l,h=function t(e,r,i,o,u,c,l){var h;if(c+=1,"object"==typeof e&&null!==e){for(h=0;hl.depthLimit)return void a("[...]",e,r,u);if(void 0!==l.edgesLimit&&i+1>l.edgesLimit)return void a("[...]",e,r,u);if(o.push(e),Array.isArray(e))for(h=0;h0)for(var i=0;i=-32099&&t<=-32e3}function l(t){return t&&"object"==typeof t&&!Array.isArray(t)?Object.assign({},t):t}function h(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.",e.getMessageFromCode=s,e.isValidCode=u,e.serializeError=function(t,{fallbackError:e=a,shouldIncludeStack:n=!1}={}){var r,o;if(!e||!Number.isInteger(e.code)||"string"!=typeof e.message)throw new Error("Must provide fallback error with integer number code and string message.");if(t instanceof i.EthereumRpcError)return t.serialize();const c={};if(t&&"object"==typeof t&&!Array.isArray(t)&&h(t,"code")&&u(t.code)){const e=t;c.code=e.code,e.message&&"string"==typeof e.message?(c.message=e.message,h(e,"data")&&(c.data=e.data)):(c.message=s(c.code),c.data={originalError:l(t)})}else{c.code=e.code;const n=null===(r=t)||void 0===r?void 0:r.message;c.message=n&&"string"==typeof n?n:e.message,c.data={originalError:l(t)}}const d=null===(o=t)||void 0===o?void 0:o.stack;return n&&t&&d&&"string"==typeof d&&(c.stack=d),c}},function(t,e,n){var r=n(24),i=n(45),o=n(37).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t,e,n){return n^t&(e^n)}function l(t,e,n){return t&e|n&(t|e)}function h(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function d(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function f(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}r(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)n[y]=t.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((e=n[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+n[y-7]+f(n[y-15])+n[y-16];for(var v=0;v<64;++v){var b=g+d(u)+c(u,p,m)+a[v]+n[v]|0,w=h(r)+l(r,i,o)|0;g=m,m=p,p=u,u=s+b|0,s=o,o=i,i=r,r=b+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},u.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=u},function(t,e,n){var r=n(24),i=n(45),o=n(37).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function u(){this.init(),this._w=s,i.call(this,128,112)}function c(t,e,n){return n^t&(e^n)}function l(t,e,n){return t&e|n&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function d(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function f(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0>>0?1:0}r(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(t){for(var e=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,u=0|this._fh,v=0|this._gh,b=0|this._hh,w=0|this._al,M=0|this._bl,k=0|this._cl,L=0|this._dl,A=0|this._el,x=0|this._fl,E=0|this._gl,N=0|this._hl,S=0;S<32;S+=2)e[S]=t.readInt32BE(4*S),e[S+1]=t.readInt32BE(4*S+4);for(;S<160;S+=2){var I=e[S-30],T=e[S-30+1],j=f(I,T),C=p(T,I),D=m(I=e[S-4],T=e[S-4+1]),O=g(T,I),_=e[S-14],z=e[S-14+1],P=e[S-32],B=e[S-32+1],R=C+z|0,U=j+_+y(R,C)|0;U=(U=U+D+y(R=R+O|0,O)|0)+P+y(R=R+B|0,B)|0,e[S]=U,e[S+1]=R}for(var Q=0;Q<160;Q+=2){U=e[Q],R=e[Q+1];var W=l(n,r,i),Y=l(w,M,k),F=h(n,w),H=h(w,n),G=d(s,A),Z=d(A,s),V=a[Q],J=a[Q+1],q=c(s,u,v),X=c(A,x,E),K=N+Z|0,$=b+G+y(K,N)|0;$=($=($=$+q+y(K=K+X|0,X)|0)+V+y(K=K+J|0,J)|0)+U+y(K=K+R|0,R)|0;var tt=H+Y|0,et=F+W+y(tt,H)|0;b=v,N=E,v=u,E=x,u=s,x=A,s=o+$+y(A=L+K|0,L)|0,o=i,L=k,i=r,k=M,r=n,M=w,n=$+et+y(w=K+tt|0,K)|0}this._al=this._al+w|0,this._bl=this._bl+M|0,this._cl=this._cl+k|0,this._dl=this._dl+L|0,this._el=this._el+A|0,this._fl=this._fl+x|0,this._gl=this._gl+E|0,this._hl=this._hl+N|0,this._ah=this._ah+n+y(this._al,w)|0,this._bh=this._bh+r+y(this._bl,M)|0,this._ch=this._ch+i+y(this._cl,k)|0,this._dh=this._dh+o+y(this._dl,L)|0,this._eh=this._eh+s+y(this._el,A)|0,this._fh=this._fh+u+y(this._fl,x)|0,this._gh=this._gh+v+y(this._gl,E)|0,this._hh=this._hh+b+y(this._hl,N)|0},u.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=u},function(t,e,n){var r=n(93),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],r=0;rt.json())).then((t=>{if(!t)throw r.ethErrors.rpc.parse({});const e=t,{error:n}=e;if(n)throw(0,r.serializeError)(n);return e}))}}},function(t,e,n){(function(e){const r=n(153),i=n(66);function o(t){return e.allocUnsafe(t).fill(0)}function a(t,e,n){const r=o(e);return t=s(t),n?t.length0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),r)s.endEmitted?k(t,new M):N(t,s,e,!0);else if(s.ended)k(t,new b);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?N(t,s,e,!1):j(t,s)):N(t,s,e,!1)}else r||(s.reading=!1,j(t,s));return!s.ended&&(s.lengthe.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function I(t){var e=t._readableState;o("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(o("emitReadable",e.flowing),e.emittedReadable=!0,r.nextTick(T,t))}function T(t){var e=t._readableState;o("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,z(t)}function j(t,e){e.readingMore||(e.readingMore=!0,r.nextTick(C,t,e))}function C(t,e){for(;!e.reading&&!e.ended&&(e.length0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){o("readable nexttick read 0"),t.read(0)}function _(t,e){o("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),z(t),e.flowing&&!e.reading&&t.read(0)}function z(t){var e=t._readableState;for(o("flow",e.flowing);e.flowing&&null!==t.read(););}function P(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function B(t){var e=t._readableState;o("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,r.nextTick(R,e,t))}function R(t,e){if(o("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function U(t,e){for(var n=0,r=t.length;n=e.highWaterMark:e.length>0)||e.ended))return o("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):I(this),null;if(0===(t=S(t,e))&&e.ended)return 0===e.length&&B(this),null;var r,i=e.needReadable;return o("need readable",i),(0===e.length||e.length-t0?P(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&B(this)),null!==r&&this.emit("data",r),r},x.prototype._read=function(t){k(this,new w("_read()"))},x.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,o("pipe count=%d opts=%j",i.pipesCount,e);var s=e&&!1===e.end||t===r.stdout||t===r.stderr?m:u;function u(){o("onend"),t.end()}i.endEmitted?r.nextTick(s):n.once("end",s),t.on("unpipe",(function e(r,a){o("onunpipe"),r===n&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,o("cleanup"),t.removeListener("close",f),t.removeListener("finish",p),t.removeListener("drain",c),t.removeListener("error",d),t.removeListener("unpipe",e),n.removeListener("end",u),n.removeListener("end",m),n.removeListener("data",h),l=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||c())}));var c=function(t){return function(){var e=t._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,z(t))}}(n);t.on("drain",c);var l=!1;function h(e){o("ondata");var r=t.write(e);o("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==U(i.pipes,t))&&!l&&(o("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function d(e){o("onerror",e),m(),t.removeListener("error",d),0===a(t,"error")&&k(t,e)}function f(){t.removeListener("finish",p),m()}function p(){o("onfinish"),t.removeListener("close",f),m()}function m(){o("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",d),t.once("close",f),t.once("finish",p),t.emit("pipe",n),i.flowing||(o("pipe resume"),n.resume()),t},x.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,o("on readable",i.length,i.reading),i.length?I(this):i.reading||r.nextTick(O,this))),n},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(t,e){var n=s.prototype.removeListener.call(this,t,e);return"readable"===t&&r.nextTick(D,this),n},x.prototype.removeAllListeners=function(t){var e=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||r.nextTick(D,this),e},x.prototype.resume=function(){var t=this._readableState;return t.flowing||(o("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,r.nextTick(_,t,e))}(this,t)),t.paused=!1,this},x.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var i in t.on("end",(function(){if(o("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){o("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(e.push(i)||(r=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var a=0;a-1))throw new M(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(t,e,n){n(new m("_write()"))},x.prototype._writev=null,x.prototype.end=function(t,e,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,j(t,e),n&&(e.finished?r.nextTick(n):t.once("finish",n)),e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),x.prototype.destroy=h.destroy,x.prototype._undestroy=h.undestroy,x.prototype._destroy=function(t,e){e(t)}}).call(this,n(63),n(40))},function(t,e,n){var r=n(37).Buffer,i=r.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(r.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=h,e=3;break;default:return this.write=d,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function l(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(i>0&&(t.lastNeed=i-1),i):--r=0?(i>0&&(t.lastNeed=i-2),i):--r=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){t.exports=l;var r=n(46).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,u=n(47);function c(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.lengthfunction(){const n=e.promiseModule,r=new Array(arguments.length);for(let t=0;t{e.errorFirst?r.push((function(t,r){if(e.multiArgs){const e=new Array(arguments.length-1);for(let t=1;t{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);const n=t=>{const n=e=>"string"==typeof e?t===e:e.test(t);return e.include?e.include.some(n):!e.exclude.some(n)};let i;i="function"==typeof t?function(){return e.excludeMain?t.apply(this,arguments):r(t,e).apply(this,arguments)}:Object.create(Object.getPrototypeOf(t));for(const o in t){const a=t[o];i[o]="function"==typeof a&&n(o)?r(a,e):a}return i}},function(t,e,n){const r=n(173),i=n(174)();function o(t){this.currentProvider=t}function a(t){return function(){const e=this;var n=[].slice.call(arguments),r=n.pop();e.sendAsync({method:t,params:n},r)}}function s(t,e){return function(){const n=this;var r=[].slice.call(arguments),i=r.pop();r.length{try{const[i,o,s]=await a._runAllMiddleware(t,e,this._middleware);return o?(await a._runReturnHandlers(s),r(i)):n((async t=>{try{await a._runReturnHandlers(s)}catch(e){return t(e)}return t()}))}catch(t){return r(t)}}}async _handleBatch(t,e){try{const n=await Promise.all(t.map(this._promiseHandle.bind(this)));return e?e(null,n):n}catch(t){if(e)return e(t);throw t}}_promiseHandle(t){return new Promise((e=>{this._handle(t,((t,n)=>{e(n)}))}))}async _handle(t,e){if(!t||Array.isArray(t)||"object"!=typeof t){const n=new o.EthereumRpcError(o.errorCodes.rpc.invalidRequest,"Requests must be plain objects. Received: "+typeof t,{request:t});return e(n,{id:void 0,jsonrpc:"2.0",error:n})}if("string"!=typeof t.method){const n=new o.EthereumRpcError(o.errorCodes.rpc.invalidRequest,"Must specify a string method. Received: "+typeof t.method,{request:t});return e(n,{id:t.id,jsonrpc:"2.0",error:n})}const n=Object.assign({},t),r={id:n.id,jsonrpc:n.jsonrpc};let i=null;try{await this._processRequest(n,r)}catch(t){i=t}return i&&(delete r.result,r.error||(r.error=o.serializeError(i))),e(i,r)}async _processRequest(t,e){const[n,r,i]=await a._runAllMiddleware(t,e,this._middleware);if(a._checkForCompletion(t,e,r),await a._runReturnHandlers(i),n)throw n}static async _runAllMiddleware(t,e,n){const r=[];let i=null,o=!1;for(const s of n)if([i,o]=await a._runMiddleware(t,e,s,r),o)break;return[i,o,r.reverse()]}static _runMiddleware(t,e,n,r){return new Promise((i=>{const a=t=>{const n=t||e.error;n&&(e.error=o.serializeError(n)),i([n,!0])},u=n=>{e.error?a(e.error):(n&&("function"!=typeof n&&a(new o.EthereumRpcError(o.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof n}" for request:\n${s(t)}`,{request:t})),r.push(n)),i([null,!1]))};try{n(t,e,u,a)}catch(t){a(t)}}))}static async _runReturnHandlers(t){for(const e of t)await new Promise(((t,n)=>{e((e=>e?n(e):t()))}))}static _checkForCompletion(t,e,n){if(!("result"in e)&&!("error"in e))throw new o.EthereumRpcError(o.errorCodes.rpc.internal,"JsonRpcEngine: Response has no error or result for request:\n"+s(t),{request:t});if(!n)throw new o.EthereumRpcError(o.errorCodes.rpc.internal,"JsonRpcEngine: Nothing ended request:\n"+s(t),{request:t})}}function s(t){return JSON.stringify(t,null,2)}e.JsonRpcEngine=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.serializeError=e.isValidCode=e.getMessageFromCode=e.JSON_RPC_SERVER_ERROR_MESSAGE=void 0;const r=n(96),i=n(95),o=r.errorCodes.rpc.internal,a={code:o,message:s(o)};function s(t,n="Unspecified error message. This is a bug, please report it."){if(Number.isInteger(t)){const n=t.toString();if(h(r.errorValues,n))return r.errorValues[n].message;if(c(t))return e.JSON_RPC_SERVER_ERROR_MESSAGE}return n}function u(t){if(!Number.isInteger(t))return!1;const e=t.toString();return!!r.errorValues[e]||!!c(t)}function c(t){return t>=-32099&&t<=-32e3}function l(t){return t&&"object"==typeof t&&!Array.isArray(t)?Object.assign({},t):t}function h(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.JSON_RPC_SERVER_ERROR_MESSAGE="Unspecified server error.",e.getMessageFromCode=s,e.isValidCode=u,e.serializeError=function(t,{fallbackError:e=a,shouldIncludeStack:n=!1}={}){var r,o;if(!e||!Number.isInteger(e.code)||"string"!=typeof e.message)throw new Error("Must provide fallback error with integer number code and string message.");if(t instanceof i.EthereumRpcError)return t.serialize();const c={};if(t&&"object"==typeof t&&!Array.isArray(t)&&h(t,"code")&&u(t.code)){const e=t;c.code=e.code,e.message&&"string"==typeof e.message?(c.message=e.message,h(e,"data")&&(c.data=e.data)):(c.message=s(c.code),c.data={originalError:l(t)})}else{c.code=e.code;const n=null===(r=t)||void 0===r?void 0:r.message;c.message=n&&"string"==typeof n?n:e.message,c.data={originalError:l(t)}}const d=null===(o=t)||void 0===o?void 0:o.stack;return n&&t&&d&&"string"==typeof d&&(c.stack=d),c}},function(t,e,n){function r(t){var e,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e{let n;switch(t){case"standard":return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `;case"circle":return n=e,`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='${e}' height='${n}' viewBox='0 0 999.81 999.81'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052fe;%7D.cls-2%7Bfill:%23fefefe;%7D.cls-3%7Bfill:%230152fe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M655-115.9h56c.83,1.59,2.36.88,3.56,1a478,478,0,0,1,75.06,10.42C891.4-81.76,978.33-32.58,1049.19,44q116.7,126,131.94,297.61c.38,4.14-.34,8.53,1.78,12.45v59c-1.58.84-.91,2.35-1,3.56a482.05,482.05,0,0,1-10.38,74.05c-24,106.72-76.64,196.76-158.83,268.93s-178.18,112.82-287.2,122.6c-4.83.43-9.86-.25-14.51,1.77H654c-1-1.68-2.69-.91-4.06-1a496.89,496.89,0,0,1-105.9-18.59c-93.54-27.42-172.78-77.59-236.91-150.94Q199.34,590.1,184.87,426.58c-.47-5.19.25-10.56-1.77-15.59V355c1.68-1,.91-2.7,1-4.06a498.12,498.12,0,0,1,18.58-105.9c26-88.75,72.64-164.9,140.6-227.57q126-116.27,297.21-131.61C645.32-114.57,650.35-113.88,655-115.9Zm377.92,500c0-192.44-156.31-349.49-347.56-350.15-194.13-.68-350.94,155.13-352.29,347.42-1.37,194.55,155.51,352.1,348.56,352.47C876.15,734.23,1032.93,577.84,1032.93,384.11Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-2' d='M1032.93,384.11c0,193.73-156.78,350.12-351.29,349.74-193-.37-349.93-157.92-348.56-352.47C334.43,189.09,491.24,33.28,685.37,34,876.62,34.62,1032.94,191.67,1032.93,384.11ZM683,496.81q43.74,0,87.48,0c15.55,0,25.32-9.72,25.33-25.21q0-87.48,0-175c0-15.83-9.68-25.46-25.59-25.46H595.77c-15.88,0-25.57,9.64-25.58,25.46q0,87.23,0,174.45c0,16.18,9.59,25.7,25.84,25.71Z' transform='translate(-183.1 115.9)'/%3E%3Cpath class='cls-3' d='M683,496.81H596c-16.25,0-25.84-9.53-25.84-25.71q0-87.23,0-174.45c0-15.82,9.7-25.46,25.58-25.46H770.22c15.91,0,25.59,9.63,25.59,25.46q0,87.47,0,175c0,15.49-9.78,25.2-25.33,25.21Q726.74,496.84,683,496.81Z' transform='translate(-183.1 115.9)'/%3E%3C/svg%3E`;case"text":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogo":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%230052ff;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;case"textLight":return n=(.1*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 528.15 53.64'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3ECoinbase_Wordmark_SubBrands_ALL%3C/title%3E%3Cpath class='cls-1' d='M164.45,15a15,15,0,0,0-11.74,5.4V0h-8.64V52.92h8.5V48a15,15,0,0,0,11.88,5.62c10.37,0,18.21-8.21,18.21-19.3S174.67,15,164.45,15Zm-1.3,30.67c-6.19,0-10.73-4.83-10.73-11.31S157,23,163.22,23s10.66,4.82,10.66,11.37S169.34,45.65,163.15,45.65Zm83.31-14.91-6.34-.93c-3-.43-5.18-1.44-5.18-3.82,0-2.59,2.8-3.89,6.62-3.89,4.18,0,6.84,1.8,7.42,4.76h8.35c-.94-7.49-6.7-11.88-15.55-11.88-9.15,0-15.2,4.68-15.2,11.3,0,6.34,4,10,12,11.16l6.33.94c3.1.43,4.83,1.65,4.83,4,0,2.95-3,4.17-7.2,4.17-5.12,0-8-2.09-8.43-5.25h-8.49c.79,7.27,6.48,12.38,16.84,12.38,9.44,0,15.7-4.32,15.7-11.74C258.12,35.28,253.58,31.82,246.46,30.74Zm-27.65-2.3c0-8.06-4.9-13.46-15.27-13.46-9.79,0-15.26,5-16.34,12.6h8.57c.43-3,2.73-5.4,7.63-5.4,4.39,0,6.55,1.94,6.55,4.32,0,3.09-4,3.88-8.85,4.39-6.63.72-14.84,3-14.84,11.66,0,6.7,5,11,12.89,11,6.19,0,10.08-2.59,12-6.7.28,3.67,3,6.05,6.84,6.05h5v-7.7h-4.25Zm-8.5,9.36c0,5-4.32,8.64-9.57,8.64-3.24,0-6-1.37-6-4.25,0-3.67,4.39-4.68,8.42-5.11s6-1.22,7.13-2.88ZM281.09,15c-11.09,0-19.23,8.35-19.23,19.36,0,11.6,8.72,19.3,19.37,19.3,9,0,16.06-5.33,17.86-12.89h-9c-1.3,3.31-4.47,5.19-8.71,5.19-5.55,0-9.72-3.46-10.66-9.51H299.3V33.12C299.3,22.46,291.53,15,281.09,15Zm-9.87,15.26c1.37-5.18,5.26-7.7,9.72-7.7,4.9,0,8.64,2.8,9.51,7.7ZM19.3,23a9.84,9.84,0,0,1,9.5,7h9.14c-1.65-8.93-9-15-18.57-15A19,19,0,0,0,0,34.34c0,11.09,8.28,19.3,19.37,19.3,9.36,0,16.85-6,18.5-15H28.8a9.75,9.75,0,0,1-9.43,7.06c-6.27,0-10.66-4.83-10.66-11.31S13,23,19.3,23Zm41.11-8A19,19,0,0,0,41,34.34c0,11.09,8.28,19.3,19.37,19.3A19,19,0,0,0,79.92,34.27C79.92,23.33,71.64,15,60.41,15Zm.07,30.67c-6.19,0-10.73-4.83-10.73-11.31S54.22,23,60.41,23s10.8,4.89,10.8,11.37S66.67,45.65,60.48,45.65ZM123.41,15c-5.62,0-9.29,2.3-11.45,5.54V15.7h-8.57V52.92H112V32.69C112,27,115.63,23,121,23c5,0,8.06,3.53,8.06,8.64V52.92h8.64V31C137.66,21.6,132.84,15,123.41,15ZM92,.36a5.36,5.36,0,0,0-5.55,5.47,5.55,5.55,0,0,0,11.09,0A5.35,5.35,0,0,0,92,.36Zm-9.72,23h5.4V52.92h8.64V15.7h-14Zm298.17-7.7L366.2,52.92H372L375.29,44H392l3.33,8.88h6L386.87,15.7ZM377,39.23l6.45-17.56h.1l6.56,17.56ZM362.66,15.7l-7.88,29h-.11l-8.14-29H341l-8,28.93h-.1l-8-28.87H319L329.82,53h5.45l8.19-29.24h.11L352,53h5.66L368.1,15.7Zm135.25,0v4.86h12.32V52.92h5.6V20.56h12.32V15.7ZM467.82,52.92h25.54V48.06H473.43v-12h18.35V31.35H473.43V20.56h19.93V15.7H467.82ZM443,15.7h-5.6V52.92h24.32V48.06H443Zm-30.45,0h-5.61V52.92h24.32V48.06H412.52Z'/%3E%3C/svg%3E`;case"textWithLogoLight":return n=(.25*e).toFixed(2),`data:image/svg+xml,%3Csvg width='${e}' height='${n}' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 308.44 77.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fefefe;%7D%3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M142.94,20.2l-7.88,29H135l-8.15-29h-5.55l-8,28.93h-.11l-8-28.87H99.27l10.84,37.27h5.44l8.2-29.24h.1l8.41,29.24h5.66L148.39,20.2Zm17.82,0L146.48,57.42h5.82l3.28-8.88h16.65l3.34,8.88h6L167.16,20.2Zm-3.44,23.52,6.45-17.55h.11l6.56,17.55ZM278.2,20.2v4.86h12.32V57.42h5.6V25.06h12.32V20.2ZM248.11,57.42h25.54V52.55H253.71V40.61h18.35V35.85H253.71V25.06h19.94V20.2H248.11ZM223.26,20.2h-5.61V57.42H242V52.55H223.26Zm-30.46,0h-5.6V57.42h24.32V52.55H192.8Zm-154,38A19.41,19.41,0,1,1,57.92,35.57H77.47a38.81,38.81,0,1,0,0,6.47H57.92A19.39,19.39,0,0,1,38.81,58.21Z'/%3E%3C/svg%3E`;default:return n=e,`data:image/svg+xml,%3Csvg width='${e}' height='${n}' viewBox='0 0 1024 1024' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='1024' height='1024' fill='%230052FF'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z' fill='white'/%3E %3C/svg%3E `}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ScopedLocalStorage=void 0,e.ScopedLocalStorage=class{constructor(t){this.scope=t}setItem(t,e){localStorage.setItem(this.scopedKey(t),e)}getItem(t){return localStorage.getItem(this.scopedKey(t))}removeItem(t){localStorage.removeItem(this.scopedKey(t))}clear(){const t=this.scopedKey(""),e=[];for(let n=0;nlocalStorage.removeItem(t)))}scopedKey(t){return`${this.scope}:${t}`}}},function(t,e,n){e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),a=r[0],s=r[1],u=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),l=0,h=s>0?a-4:a;for(n=0;n>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,u[l++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;as?s:a+16383));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,n){for(var i,o,a=[],s=e;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ethErrors=void 0;const r=n(87),i=n(103),o=n(88);function a(t,e){const[n,o]=u(e);return new r.EthereumRpcError(t,n||i.getMessageFromCode(t),o)}function s(t,e){const[n,o]=u(e);return new r.EthereumProviderError(t,n||i.getMessageFromCode(t),o)}function u(t){if(t){if("string"==typeof t)return[t];if("object"==typeof t&&!Array.isArray(t)){const{message:e,data:n}=t;if(e&&"string"!=typeof e)throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}e.ethErrors={rpc:{parse:t=>a(o.errorCodes.rpc.parse,t),invalidRequest:t=>a(o.errorCodes.rpc.invalidRequest,t),invalidParams:t=>a(o.errorCodes.rpc.invalidParams,t),methodNotFound:t=>a(o.errorCodes.rpc.methodNotFound,t),internal:t=>a(o.errorCodes.rpc.internal,t),server:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(e,t)},invalidInput:t=>a(o.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>a(o.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>a(o.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>a(o.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>a(o.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>a(o.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>s(o.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>s(o.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>s(o.errorCodes.provider.unsupportedMethod,t),disconnected:t=>s(o.errorCodes.provider.disconnected,t),chainDisconnected:t=>s(o.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:e,message:n,data:i}=t;if(!n||"string"!=typeof n)throw new Error('"message" must be a nonempty string');return new r.EthereumProviderError(e,n,i)}}}},function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n(136),e.sha1=n(137),e.sha224=n(138),e.sha256=n(104),e.sha384=n(139),e.sha512=n(105)},function(t,e,n){var r=n(24),i=n(45),o=n(37).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function l(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,h=0;h<16;++h)n[h]=t.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var d=0;d<80;++d){var f=~~(d/20),p=0|((e=r)<<5|e>>>27)+l(f,i,o,s)+u+n[d]+a[f];u=s,s=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,n){var r=n(24),i=n(45),o=n(37).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=c(r)+h(p,i,o,s)+u+n[f]+a[p]|0;u=s,s=o,o=l(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,n){var r=n(24),i=n(104),o=n(45),a=n(37).Buffer,s=new Array(64);function u(){this.init(),this._w=s,o.call(this,64,56)}r(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=u},function(t,e,n){var r=n(24),i=n(105),o=n(45),a=n(37).Buffer,s=new Array(160);function u(){this.init(),this._w=s,o.call(this,128,112)}r(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=u},function(t,e,n){var r=n(141),i=n(151),o=n(93);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){var r=n(142),i=n(106),o=n(93),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=String.prototype.split,l=Array.prototype.push,h=function(t,e){l.apply(t,u(e)?e:[e])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return d.call(t)},skipNulls:!1,strictNullHandling:!1},m={},g=function t(e,n,o,a,s,l,d,f,g,y,v,b,w,M,k,L){for(var A,x=e,E=L,N=0,S=!1;void 0!==(E=E.get(m))&&!S;){var I=E.get(e);if(N+=1,void 0!==I){if(I===N)throw new RangeError("Cyclic object value");S=!0}void 0===E.get(m)&&(N=0)}if("function"==typeof f?x=f(n,x):x instanceof Date?x=v(x):"comma"===o&&u(x)&&(x=i.maybeMap(x,(function(t){return t instanceof Date?v(t):t}))),null===x){if(s)return d&&!M?d(n,p.encoder,k,"key",b):n;x=""}if("string"==typeof(A=x)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||i.isBuffer(x)){if(d){var T=M?n:d(n,p.encoder,k,"key",b);if("comma"===o&&M){for(var j=c.call(String(x),","),C="",D=0;D0?x.join(",")||null:void 0}];else if(u(f))O=f;else{var z=Object.keys(x);O=g?z.sort(g):z}for(var P=a&&u(x)&&1===x.length?n+"[]":n,B=0;B0?M+w:""}},function(t,e,n){var r=n(91),i=n(147),o=n(149),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(u){if(e)return d(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(u){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),l(t,r,i)):u?(e||(e=new u),f(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},function(t,e,n){var r="undefined"!=typeof Symbol&&Symbol,i=n(144);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},function(t,e,n){t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(t,e,n){var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==o.call(e))throw new TypeError(r+e);for(var n,a=i.call(arguments,1),s=function(){if(this instanceof n){var r=e.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,a.concat(i.call(arguments)))},u=Math.max(0,e.length-a.length),c=[],l=0;l-1?i(n):n}},function(t,e,n){var r=n(92),i=n(91),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(r,a,arguments);if(u&&c){var n=u(e,"length");n.configurable&&c(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var h=function(){return s(r,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},function(t,e,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,l=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,M=String.prototype.toLowerCase,k=RegExp.prototype.test,L=Array.prototype.concat,A=Array.prototype.join,x=Array.prototype.slice,E=Math.floor,N="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,j="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function O(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||k.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-E(-t):E(t);if(r!==t){var i=String(r),o=v.call(e,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,n,"$&_")}var _=n(150),z=_.custom,P=W(z)?z:null;function B(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function R(t){return b.call(String(t),/"/g,""")}function U(t){return!("[object Array]"!==H(t)||j&&"object"==typeof t&&j in t)}function Q(t){return!("[object RegExp]"!==H(t)||j&&"object"==typeof t&&j in t)}function W(t){if(T)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!I)return!1;try{return I.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(F(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!F(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength,i="... "+r+" more character"+(r>1?"s":"");return t(v.call(e,0,n.maxStringLength),n)+i}return B(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z),"single",n)}(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return m?O(e,w):w}if("bigint"==typeof e){var k=String(e)+"n";return m?O(e,k):k}var E=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=E&&E>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var S=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=A.call(Array(t.indent+1)," ")}return{base:n,prev:A.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(G(i,e)>=0)return"[Circular]";function z(e,n,o){if(n&&(i=x.call(i)).push(n),o){var a={depth:s.depth};return F(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e&&!Q(e)){var Y=function(t){if(t.name)return t.name;var e=y.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),$=K(e,z);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+($.length>0?" { "+A.call($,", ")+" }":"")}if(W(e)){var tt=T?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(e);return"object"!=typeof e||T?tt:V(tt)}if(function(t){return!(!t||"object"!=typeof t)&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var et="<"+M.call(String(e.nodeName)),nt=e.attributes||[],rt=0;rt"}if(U(e)){if(0===e.length)return"[]";var it=K(e,z);return S&&!function(t){for(var e=0;e=0)return!1;return!0}(it)?"["+X(it,S)+"]":"[ "+A.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==H(t)||j&&"object"==typeof t&&j in t)}(e)){var ot=K(e,z);return"cause"in Error.prototype||!("cause"in e)||C.call(e,"cause")?0===ot.length?"["+String(e)+"]":"{ ["+String(e)+"] "+A.call(ot,", ")+" }":"{ ["+String(e)+"] "+A.call(L.call("[cause]: "+z(e.cause),ot),", ")+" }"}if("object"==typeof e&&u){if(P&&"function"==typeof e[P]&&_)return _(e,{depth:E-r});if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var at=[];return a.call(e,(function(t,n){at.push(z(n,e,!0)+" => "+z(t,e))})),q("Map",o.call(e),at,S)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return l.call(e,(function(t){st.push(z(t,e))})),q("Set",c.call(e),st,S)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return!("[object Number]"!==H(t)||j&&"object"==typeof t&&j in t)}(e))return V(z(Number(e)));if(function(t){if(!t||"object"!=typeof t||!N)return!1;try{return N.call(t),!0}catch(t){}return!1}(e))return V(z(N.call(e)));if(function(t){return!("[object Boolean]"!==H(t)||j&&"object"==typeof t&&j in t)}(e))return V(p.call(e));if(function(t){return!("[object String]"!==H(t)||j&&"object"==typeof t&&j in t)}(e))return V(z(String(e)));if(!function(t){return!("[object Date]"!==H(t)||j&&"object"==typeof t&&j in t)}(e)&&!Q(e)){var ut=K(e,z),ct=D?D(e)===Object.prototype:e instanceof Object||e.constructor===Object,lt=e instanceof Object?"":"null prototype",ht=!ct&&j&&Object(e)===e&&j in e?v.call(H(e),8,-1):lt?"Object":"",dt=(ct||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ht||lt?"["+A.call(L.call([],ht||[],lt||[]),": ")+"] ":"");return 0===ut.length?dt+"{}":S?dt+"{"+X(ut,S)+"}":dt+"{ "+A.call(ut,", ")+" }"}return String(e)};var Y=Object.prototype.hasOwnProperty||function(t){return t in this};function F(t,e){return Y.call(t,e)}function H(t){return m.call(t)}function G(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n-1?t.split(","):t},c=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(l,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var n,c={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,d=l.split(e.delimiter,h),f=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(g=o(g)?[g]:g),i.call(c,m)?c[m]=r.combine(c[m],g):c[m]=g}return c}(t,n):t,h=n.plainObjects?Object.create(null):{},d=Object.keys(l),f=0;f{if(void 0!==o[n])return["bytes32",null==s?"0x0000000000000000000000000000000000000000000000000000000000000000":r.keccak(this.encodeData(n,s,o,a))];if(void 0===s)throw new Error(`missing value for field ${t} of type ${n}`);if("bytes"===n)return["bytes32",r.keccak(s)];if("string"===n)return"string"==typeof s&&(s=e.from(s,"utf8")),["bytes32",r.keccak(s)];if(n.lastIndexOf("]")===n.length-1){const e=n.slice(0,n.lastIndexOf("[")),o=s.map((n=>c(t,e,n)));return["bytes32",r.keccak(i.rawEncode(o.map((([t])=>t)),o.map((([,t])=>t))))]}return[n,s]};for(const e of o[t]){const[t,r]=c(e.name,e.type,n[e.name]);s.push(t),u.push(r)}}else for(const i of o[t]){let t=n[i.name];if(void 0!==t)if("bytes"===i.type)s.push("bytes32"),t=r.keccak(t),u.push(t);else if("string"===i.type)s.push("bytes32"),"string"==typeof t&&(t=e.from(t,"utf8")),t=r.keccak(t),u.push(t);else if(void 0!==o[i.type])s.push("bytes32"),t=r.keccak(this.encodeData(i.type,t,o,a)),u.push(t);else{if(i.type.lastIndexOf("]")===i.type.length-1)throw new Error("Arrays currently unimplemented in encodeData");s.push(i.type),u.push(t)}}return i.rawEncode(s,u)},encodeType(t,e){let n="",r=this.findTypeDependencies(t,e).filter((e=>e!==t));r=[t].concat(r.sort());for(const t of r){if(!e[t])throw new Error("No type definition specified: "+t);n+=t+"("+e[t].map((({name:t,type:e})=>e+" "+t)).join(",")+")"}return n},findTypeDependencies(t,e,n=[]){if(t=t.match(/^\w*/)[0],n.includes(t)||void 0===e[t])return n;n.push(t);for(const r of e[t])for(const t of this.findTypeDependencies(r.type,e,n))!n.includes(t)&&n.push(t);return n},hashStruct(t,e,n,i=!0){return r.keccak(this.encodeData(t,e,n,i))},hashType(t,e){return r.keccak(this.encodeType(t,e))},sanitizeData(t){const e={};for(const n in o.properties)t[n]&&(e[n]=t[n]);return e.types&&(e.types=Object.assign({EIP712Domain:[]},e.types)),e},hash(t,n=!0){const i=this.sanitizeData(t),o=[e.from("1901","hex")];return o.push(this.hashStruct("EIP712Domain",i.domain,i.types,n)),"EIP712Domain"!==i.primaryType&&o.push(this.hashStruct(i.primaryType,i.message,i.types,n)),r.keccak(e.concat(o))}};t.exports={TYPED_MESSAGE_SCHEMA:o,TypedDataUtils:a,hashForSignTypedDataLegacy:function(t){return function(t){const e=new Error("Expect argument to be non-empty array");if("object"!=typeof t||!t.length)throw e;const n=t.map((function(t){return"bytes"===t.type?r.toBuffer(t.value):t.value})),o=t.map((function(t){return t.type})),a=t.map((function(t){if(!t.name)throw e;return t.type+" "+t.name}));return i.soliditySHA3(["bytes32","bytes32"],[i.soliditySHA3(new Array(t.length).fill("string"),a),i.soliditySHA3(o,n)])}(t.data)},hashForSignTypedData_v3:function(t){return a.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return a.hash(t.data)}}}).call(this,n(19).Buffer)},function(t,e,n){t.exports=n(154)(n(165))},function(t,e,n){const r=n(155),i=n(164);t.exports=function(t){const e=r(t),n=i(t);return function(t,r){switch("string"==typeof t?t.toLowerCase():t){case"keccak224":return new e(1152,448,null,224,r);case"keccak256":return new e(1088,512,null,256,r);case"keccak384":return new e(832,768,null,384,r);case"keccak512":return new e(576,1024,null,512,r);case"sha3-224":return new e(1152,448,6,224,r);case"sha3-256":return new e(1088,512,6,256,r);case"sha3-384":return new e(832,768,6,384,r);case"sha3-512":return new e(576,1024,6,512,r);case"shake128":return new n(1344,256,31,r);case"shake256":return new n(1088,512,31,r);default:throw new Error("Invald algorithm: "+t)}}}},function(t,e,n){(function(e){const{Transform:r}=n(109);t.exports=t=>class n extends r{constructor(e,n,r,i,o){super(o),this._rate=e,this._capacity=n,this._delimitedSuffix=r,this._hashBitLength=i,this._options=o,this._state=new t,this._state.initialize(e,n),this._finalized=!1}_transform(t,e,n){let r=null;try{this.update(t,e)}catch(t){r=t}n(r)}_flush(t){let e=null;try{this.push(this.digest())}catch(t){e=t}t(e)}update(t,n){if(!e.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return e.isBuffer(t)||(t=e.from(t,n)),this._state.absorb(t),this}digest(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let e=this._state.squeeze(this._hashBitLength/8);return void 0!==t&&(e=e.toString(t)),this._resetState(),e}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const t=new n(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}}).call(this,n(19).Buffer)},function(t,e){},function(t,e,n){function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(19).Buffer,a=n(158).inspect,s=a&&a.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e;return(e=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return o.alloc(0);for(var e,n,r,i=o.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,n=i,r=s,o.prototype.copy.call(e,n,r),s+=a.data.length,a=a.next;return i}},{key:"consume",value:function(t,e){var n;return ti.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=o.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,a=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,a),0==(t-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,e}},{key:s,value:function(t,e){return a(this,function(t){for(var e=1;e0,(function(t){r||(r=t),t&&a.forEach(c),o||(a.forEach(c),i(r))}))}));return e.reduce(l)}},function(t,e,n){(function(e){const{Transform:r}=n(109);t.exports=t=>class n extends r{constructor(e,n,r,i){super(i),this._rate=e,this._capacity=n,this._delimitedSuffix=r,this._options=i,this._state=new t,this._state.initialize(e,n),this._finalized=!1}_transform(t,e,n){let r=null;try{this.update(t,e)}catch(t){r=t}n(r)}_flush(){}_read(t){this.push(this.squeeze(t))}update(t,n){if(!e.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return e.isBuffer(t)||(t=e.from(t,n)),this._state.absorb(t),this}squeeze(t,e){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let n=this._state.squeeze(t);return void 0!==e&&(n=n.toString(e)),n}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const t=new n(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}}).call(this,n(19).Buffer)},function(t,e,n){(function(e){const r=n(166);function i(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}i.prototype.initialize=function(t,e){for(let t=0;t<50;++t)this.state[t]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1},i.prototype.absorb=function(t){for(let e=0;e>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(r.p1600(this.state),this.count=0);return n},i.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing},t.exports=i}).call(this,n(19).Buffer)},function(t,e){const n=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];e.p1600=function(t){for(let e=0;e<24;++e){const r=t[0]^t[10]^t[20]^t[30]^t[40],i=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],s=t[4]^t[14]^t[24]^t[34]^t[44],u=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],l=t[7]^t[17]^t[27]^t[37]^t[47],h=t[8]^t[18]^t[28]^t[38]^t[48],d=t[9]^t[19]^t[29]^t[39]^t[49];let f=h^(o<<1|a>>>31),p=d^(a<<1|o>>>31);const m=t[0]^f,g=t[1]^p,y=t[10]^f,v=t[11]^p,b=t[20]^f,w=t[21]^p,M=t[30]^f,k=t[31]^p,L=t[40]^f,A=t[41]^p;f=r^(s<<1|u>>>31),p=i^(u<<1|s>>>31);const x=t[2]^f,E=t[3]^p,N=t[12]^f,S=t[13]^p,I=t[22]^f,T=t[23]^p,j=t[32]^f,C=t[33]^p,D=t[42]^f,O=t[43]^p;f=o^(c<<1|l>>>31),p=a^(l<<1|c>>>31);const _=t[4]^f,z=t[5]^p,P=t[14]^f,B=t[15]^p,R=t[24]^f,U=t[25]^p,Q=t[34]^f,W=t[35]^p,Y=t[44]^f,F=t[45]^p;f=s^(h<<1|d>>>31),p=u^(d<<1|h>>>31);const H=t[6]^f,G=t[7]^p,Z=t[16]^f,V=t[17]^p,J=t[26]^f,q=t[27]^p,X=t[36]^f,K=t[37]^p,$=t[46]^f,tt=t[47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Zt,t[3]=At^~zt&Vt,t[12]=$t^~mt&Nt,t[13]=te^~gt&St,t[22]=Dt^~Ht&re,t[23]=Ot^~Gt&ie,t[32]=ft^~xt&Pt,t[33]=pt^~Et&Bt,t[42]=Yt^~ee&yt,t[43]=Ft^~ne&vt,t[4]=_t^~Zt&oe,t[5]=zt^~Vt&ae,t[14]=mt^~Nt&Rt,t[15]=gt^~St&Ut,t[24]=Ht^~re&bt,t[25]=Gt^~ie&wt,t[34]=xt^~Pt&Jt,t[35]=Et^~Bt&qt,t[44]=ee^~yt&It,t[45]=ne^~vt&Tt,t[6]=Zt^~oe&ht,t[7]=Vt^~ae&dt,t[16]=Nt^~Rt&Qt,t[17]=St^~Ut&Wt,t[26]=re^~bt&Mt,t[27]=ie^~wt&kt,t[36]=Pt^~Jt&Xt,t[37]=Bt^~qt&Kt,t[46]=yt^~It&jt,t[47]=vt^~Tt&Ct,t[8]=oe^~ht&Lt,t[9]=ae^~dt&At,t[18]=Rt^~Qt&$t,t[19]=Ut^~Wt&te,t[28]=bt^~Mt&Dt,t[29]=wt^~kt&Ot,t[38]=Jt^~Xt&ft,t[39]=qt^~Kt&pt,t[48]=It^~jt&Yt,t[49]=Tt^~Ct&Ft,t[0]^=n[2*e],t[1]^=n[2*e+1]}}},function(t,e,n){(function(e){const r=n(108),i=n(66);function o(t){return t.startsWith("int[")?"int256"+t.slice(3):"int"===t?"int256":t.startsWith("uint[")?"uint256"+t.slice(4):"uint"===t?"uint256":t.startsWith("fixed[")?"fixed128x128"+t.slice(5):"fixed"===t?"fixed128x128":t.startsWith("ufixed[")?"ufixed128x128"+t.slice(6):"ufixed"===t?"ufixed128x128":t}function a(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function s(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function u(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?""===e[2]?"dynamic":parseInt(e[2],10):null}function c(t){var e=typeof t;if("string"===e)return r.isHexString(t)?new i(r.stripHexPrefix(t),16):new i(t,10);if("number"===e)return new i(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function l(t,n){var o,h,d,f;if("address"===t)return l("uint160",c(n));if("bool"===t)return l("uint8",n?1:0);if("string"===t)return l("bytes",new e(n,"utf8"));if(function(t){return t.lastIndexOf("]")===t.length-1}(t)){if(void 0===n.length)throw new Error("Not an array?");if("dynamic"!==(o=u(t))&&0!==o&&n.length>o)throw new Error("Elements exceed array size: "+o);for(f in d=[],t=t.slice(0,t.lastIndexOf("[")),"string"==typeof n&&(n=JSON.parse(n)),n)d.push(l(t,n[f]));if("dynamic"===o){var p=l("uint256",n.length);d.unshift(p)}return e.concat(d)}if("bytes"===t)return n=new e(n),d=e.concat([l("uint256",n.length),n]),n.length%32!=0&&(d=e.concat([d,r.zeros(32-n.length%32)])),d;if(t.startsWith("bytes")){if((o=a(t))<1||o>32)throw new Error("Invalid bytes width: "+o);return r.setLengthRight(n,32)}if(t.startsWith("uint")){if((o=a(t))%8||o<8||o>256)throw new Error("Invalid uint width: "+o);if((h=c(n)).bitLength()>o)throw new Error("Supplied uint exceeds width: "+o+" vs "+h.bitLength());if(h<0)throw new Error("Supplied uint is negative");return h.toArrayLike(e,"be",32)}if(t.startsWith("int")){if((o=a(t))%8||o<8||o>256)throw new Error("Invalid int width: "+o);if((h=c(n)).bitLength()>o)throw new Error("Supplied int exceeds width: "+o+" vs "+h.bitLength());return h.toTwos(256).toArrayLike(e,"be",32)}if(t.startsWith("ufixed")){if(o=s(t),(h=c(n))<0)throw new Error("Supplied ufixed is negative");return l("uint256",h.mul(new i(2).pow(new i(o[1]))))}if(t.startsWith("fixed"))return o=s(t),l("int256",c(n).mul(new i(2).pow(new i(o[1]))));throw new Error("Unsupported or invalid type: "+t)}function h(t){return"string"===t||"bytes"===t||"dynamic"===u(t)}function d(t,n){if(t.length!==n.length)throw new Error("Number of types are not matching the values");for(var i,s,u=[],l=0;l32)throw new Error("Invalid bytes width: "+i);u.push(r.setLengthRight(d,i))}else if(h.startsWith("uint")){if((i=a(h))%8||i<8||i>256)throw new Error("Invalid uint width: "+i);if((s=c(d)).bitLength()>i)throw new Error("Supplied uint exceeds width: "+i+" vs "+s.bitLength());u.push(s.toArrayLike(e,"be",i/8))}else{if(!h.startsWith("int"))throw new Error("Unsupported or invalid type: "+h);if((i=a(h))%8||i<8||i>256)throw new Error("Invalid int width: "+i);if((s=c(d)).bitLength()>i)throw new Error("Supplied int exceeds width: "+i+" vs "+s.bitLength());u.push(s.toTwos(i).toArrayLike(e,"be",i/8))}}return e.concat(u)}t.exports={rawEncode:function(t,n){var r=[],i=[],a=32*t.length;for(var s in t){var u=o(t[s]),c=l(u,n[s]);h(u)?(r.push(l("uint256",a)),i.push(c),a+=c.length):r.push(c)}return e.concat(r.concat(i))},solidityPack:d,soliditySHA3:function(t,e){return r.keccak(d(t,e))}}}).call(this,n(19).Buffer)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.filterFromParam=e.FilterPolyfill=void 0;const r=n(68),i=n(38),o={jsonrpc:"2.0",id:0};function a(t){return{fromBlock:u(t.fromBlock),toBlock:u(t.toBlock),addresses:void 0===t.address?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}function s(t){const e={fromBlock:c(t.fromBlock),toBlock:c(t.toBlock),topics:t.topics};return null!==t.addresses&&(e.address=t.addresses),e}function u(t){if(void 0===t||"latest"===t||"pending"===t)return"latest";if("earliest"===t)return(0,r.IntNumber)(0);if((0,i.isHexString)(t))return(0,i.intNumberFromHexString)(t);throw new Error("Invalid block option: "+String(t))}function c(t){return"latest"===t?t:(0,i.hexStringFromIntNumber)(t)}function l(){return Object.assign(Object.assign({},o),{error:{code:-32e3,message:"filter not found"}})}function h(){return Object.assign(Object.assign({},o),{result:[]})}e.FilterPolyfill=class{constructor(t){this.logFilters=new Map,this.blockFilters=new Set,this.pendingTransactionFilters=new Set,this.cursors=new Map,this.timeouts=new Map,this.nextFilterId=(0,r.IntNumber)(1),this.provider=t}async newFilter(t){const e=a(t),n=this.makeFilterId(),r=await this.setInitialCursorPosition(n,e.fromBlock);return console.log(`Installing new log filter(${n}):`,e,"initial cursor position:",r),this.logFilters.set(n,e),this.setFilterTimeout(n),(0,i.hexStringFromIntNumber)(n)}async newBlockFilter(){const t=this.makeFilterId(),e=await this.setInitialCursorPosition(t,"latest");return console.log(`Installing new block filter (${t}) with initial cursor position:`,e),this.blockFilters.add(t),this.setFilterTimeout(t),(0,i.hexStringFromIntNumber)(t)}async newPendingTransactionFilter(){const t=this.makeFilterId(),e=await this.setInitialCursorPosition(t,"latest");return console.log(`Installing new block filter (${t}) with initial cursor position:`,e),this.pendingTransactionFilters.add(t),this.setFilterTimeout(t),(0,i.hexStringFromIntNumber)(t)}uninstallFilter(t){const e=(0,i.intNumberFromHexString)(t);return console.log(`Uninstalling filter (${e})`),this.deleteFilter(e),!0}getFilterChanges(t){const e=(0,i.intNumberFromHexString)(t);return this.timeouts.has(e)&&this.setFilterTimeout(e),this.logFilters.has(e)?this.getLogFilterChanges(e):this.blockFilters.has(e)?this.getBlockFilterChanges(e):this.pendingTransactionFilters.has(e)?this.getPendingTransactionFilterChanges(e):Promise.resolve(l())}async getFilterLogs(t){const e=(0,i.intNumberFromHexString)(t),n=this.logFilters.get(e);return n?this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_getLogs",params:[s(n)]})):l()}makeFilterId(){return(0,r.IntNumber)(++this.nextFilterId)}sendAsyncPromise(t){return new Promise(((e,n)=>{this.provider.sendAsync(t,((t,r)=>t?n(t):Array.isArray(r)||null==r?n(new Error("unexpected response received: "+JSON.stringify(r))):void e(r)))}))}deleteFilter(t){console.log(`Deleting filter (${t})`),this.logFilters.delete(t),this.blockFilters.delete(t),this.pendingTransactionFilters.delete(t),this.cursors.delete(t),this.timeouts.delete(t)}async getLogFilterChanges(t){const e=this.logFilters.get(t),n=this.cursors.get(t);if(!n||!e)return l();const a=await this.getCurrentBlockHeight(),u="latest"===e.toBlock?a:e.toBlock;if(n>a)return h();if(n>e.toBlock)return h();console.log(`Fetching logs from ${n} to ${u} for filter ${t}`);const c=await this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_getLogs",params:[s(Object.assign(Object.assign({},e),{fromBlock:n,toBlock:u}))]}));if(Array.isArray(c.result)){const e=c.result.map((t=>(0,i.intNumberFromHexString)(t.blockNumber||"0x0"))),o=Math.max(...e);if(o&&o>n){const e=(0,r.IntNumber)(o+1);console.log(`Moving cursor position for filter (${t}) from ${n} to ${e}`),this.cursors.set(t,e)}}return c}async getBlockFilterChanges(t){const e=this.cursors.get(t);if(!e)return l();const n=await this.getCurrentBlockHeight();if(e>n)return h();console.log(`Fetching blocks from ${e} to ${n} for filter (${t})`);const a=(await Promise.all((0,i.range)(e,n+1).map((t=>this.getBlockHashByNumber((0,r.IntNumber)(t)))))).filter((t=>!!t)),s=(0,r.IntNumber)(e+a.length);return console.log(`Moving cursor position for filter (${t}) from ${e} to ${s}`),this.cursors.set(t,s),Object.assign(Object.assign({},o),{result:a})}async getPendingTransactionFilterChanges(t){return Promise.resolve(h())}async setInitialCursorPosition(t,e){const n=await this.getCurrentBlockHeight(),r="number"==typeof e&&e>n?e:n;return this.cursors.set(t,r),r}setFilterTimeout(t){const e=this.timeouts.get(t);e&&window.clearTimeout(e);const n=window.setTimeout((()=>{console.log(`Filter (${t}) timed out`),this.deleteFilter(t)}),3e5);this.timeouts.set(t,n)}async getCurrentBlockHeight(){const{result:t}=await this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_blockNumber",params:[]}));return(0,i.intNumberFromHexString)((0,i.ensureHexString)(t))}async getBlockHashByNumber(t){const e=await this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_getBlockByNumber",params:[(0,i.hexStringFromIntNumber)(t),!1]}));return e.result&&"string"==typeof e.result.hash?(0,i.ensureHexString)(e.result.hash):null}},e.filterFromParam=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.JSONRPCMethod=void 0,function(t){t.eth_accounts="eth_accounts",t.eth_coinbase="eth_coinbase",t.net_version="net_version",t.eth_chainId="eth_chainId",t.eth_uninstallFilter="eth_uninstallFilter",t.eth_requestAccounts="eth_requestAccounts",t.eth_sign="eth_sign",t.eth_ecRecover="eth_ecRecover",t.personal_sign="personal_sign",t.personal_ecRecover="personal_ecRecover",t.eth_signTransaction="eth_signTransaction",t.eth_sendRawTransaction="eth_sendRawTransaction",t.eth_sendTransaction="eth_sendTransaction",t.eth_signTypedData_v1="eth_signTypedData_v1",t.eth_signTypedData_v2="eth_signTypedData_v2",t.eth_signTypedData_v3="eth_signTypedData_v3",t.eth_signTypedData_v4="eth_signTypedData_v4",t.eth_signTypedData="eth_signTypedData",t.cbWallet_arbitrary="walletlink_arbitrary",t.wallet_addEthereumChain="wallet_addEthereumChain",t.wallet_switchEthereumChain="wallet_switchEthereumChain",t.wallet_watchAsset="wallet_watchAsset",t.eth_subscribe="eth_subscribe",t.eth_unsubscribe="eth_unsubscribe",t.eth_newFilter="eth_newFilter",t.eth_newBlockFilter="eth_newBlockFilter",t.eth_newPendingTransactionFilter="eth_newPendingTransactionFilter",t.eth_getFilterChanges="eth_getFilterChanges",t.eth_getFilterLogs="eth_getFilterLogs"}(e.JSONRPCMethod||(e.JSONRPCMethod={}))},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionManager=void 0;const r=n(171),i=n(179),o=()=>{};e.SubscriptionManager=class{constructor(t){const e=new r({provider:t,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:n,middleware:o}=i({blockTracker:e,provider:t});this.events=n,this.subscriptionMiddleware=o}async handleRequest(t){const e={};return await this.subscriptionMiddleware(t,e,o,o),e}destroy(){this.subscriptionMiddleware.destroy()}}},function(t,e,n){const r=n(117),i=n(172);function o(t,e){return new Promise((n=>{const r=setTimeout(n,t);r.unref&&e&&r.unref()}))}t.exports=class extends i{constructor(t={}){if(!t.provider)throw new Error("PollingBlockTracker - no provider specified.");const e=t.pollingInterval||2e4,n=t.retryTimeout||e/10,r=void 0===t.keepEventLoopActive||t.keepEventLoopActive,i=t.setSkipCacheFlag||!1;super(Object.assign({blockResetDuration:e},t)),this._provider=t.provider,this._pollingInterval=e,this._retryTimeout=n,this._keepEventLoopActive=r,this._setSkipCacheFlag=i}async checkForLatestBlock(){return await this._updateLatestBlock(),await this.getLatestBlock()}_start(){this._performSync().catch((t=>this.emit("error",t)))}async _performSync(){for(;this._isRunning;)try{await this._updateLatestBlock(),await o(this._pollingInterval,!this._keepEventLoopActive)}catch(t){const e=new Error("PollingBlockTracker - encountered an error while attempting to update latest block:\n"+t.stack);try{this.emit("error",e)}catch(t){console.error(e)}await o(this._retryTimeout,!this._keepEventLoopActive)}}async _updateLatestBlock(){const t=await this._fetchLatestBlock();this._newPotentialLatest(t)}async _fetchLatestBlock(){const t={jsonrpc:"2.0",id:1,method:"eth_blockNumber",params:[]};this._setSkipCacheFlag&&(t.skipCache=!0);const e=await r((e=>this._provider.sendAsync(t,e)))();if(e.error)throw new Error("PollingBlockTracker - encountered error fetching block:\n"+e.error);return e.result}}},function(t,e,n){n(118),n(117);const r=n(175),i=(t,e)=>t+e,o=["sync","latest"];function a(t){return Number.parseInt(t,16)}t.exports=class extends r{constructor(t={}){super(),this._blockResetDuration=t.blockResetDuration||2e4,this._blockResetTimeout,this._currentBlock=null,this._isRunning=!1,this._onNewListener=this._onNewListener.bind(this),this._onRemoveListener=this._onRemoveListener.bind(this),this._resetCurrentBlock=this._resetCurrentBlock.bind(this),this._setupInternalEvents()}isRunning(){return this._isRunning}getCurrentBlock(){return this._currentBlock}async getLatestBlock(){return this._currentBlock?this._currentBlock:await new Promise((t=>this.once("latest",t)))}removeAllListeners(t){t?super.removeAllListeners(t):super.removeAllListeners(),this._setupInternalEvents(),this._onRemoveListener()}_start(){}_end(){}_setupInternalEvents(){this.removeListener("newListener",this._onNewListener),this.removeListener("removeListener",this._onRemoveListener),this.on("newListener",this._onNewListener),this.on("removeListener",this._onRemoveListener)}_onNewListener(t,e){o.includes(t)&&this._maybeStart()}_onRemoveListener(t,e){this._getBlockTrackerEventCount()>0||this._maybeEnd()}_maybeStart(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),this._start())}_maybeEnd(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),this._end())}_getBlockTrackerEventCount(){return o.map((t=>this.listenerCount(t))).reduce(i)}_newPotentialLatest(t){const e=this._currentBlock;e&&a(t)<=a(e)||this._setCurrentBlock(t)}_setCurrentBlock(t){const e=this._currentBlock;this._currentBlock=t,this.emit("latest",t),this.emit("sync",{oldBlock:e,newBlock:t})}_setupBlockResetTimeout(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()}_cancelBlockResetTimeout(){clearTimeout(this._blockResetTimeout)}_resetCurrentBlock(){this._currentBlock=null}}},function(t,e){t.exports=function(){for(var t={},e=0;e{throw t}))}}function c(t,e){for(var n=new Array(e),r=0;r0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[t];if(void 0===s)return!1;if("function"==typeof s)u(s,this,e);else{var l=s.length,h=c(s,l);for(n=0;n=o)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&e._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),l(r,t,r.depth)}function u(t,e){var n=s.styles[e];return n?"["+s.colors[n][0]+"m"+t+"["+s.colors[n][1]+"m":t}function c(t,e){return t}function l(t,n,r){if(t.customInspect&&n&&L(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return y(i)||(i=l(t,i,r)),i}var o=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return g(e)?t.stylize(""+e,"number"):p(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(t,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(n);if(0===a.length){if(L(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(b(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(M(n))return t.stylize(Date.prototype.toString.call(n),"date");if(k(n))return h(n)}var c,w="",A=!1,x=["{","}"];return f(n)&&(A=!0,x=["[","]"]),L(n)&&(w=" [Function"+(n.name?": "+n.name:"")+"]"),b(n)&&(w=" "+RegExp.prototype.toString.call(n)),M(n)&&(w=" "+Date.prototype.toUTCString.call(n)),k(n)&&(w=" "+h(n)),0!==a.length||A&&0!=n.length?r<0?b(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=A?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(c,w,x)):x[0]+w+x[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),S(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=m(n)?l(t,u.value,null):l(t,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function f(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function m(t){return null===t}function g(t){return"number"==typeof t}function y(t){return"string"==typeof t}function v(t){return void 0===t}function b(t){return w(t)&&"[object RegExp]"===A(t)}function w(t){return"object"==typeof t&&null!==t}function M(t){return w(t)&&"[object Date]"===A(t)}function k(t){return w(t)&&("[object Error]"===A(t)||t instanceof Error)}function L(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function x(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(v(o)&&(o=t.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=t.pid;a[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else a[n]=function(){};return a[n]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=f,e.isBoolean=p,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=y,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=b,e.isObject=w,e.isDate=M,e.isError=k,e.isFunction=L,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(177);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var t=new Date,e=[x(t.getHours()),x(t.getMinutes()),x(t.getSeconds())].join(":");return[t.getDate(),E[t.getMonth()],e].join(" ")}function S(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",N(),e.format.apply(e,arguments))},e.inherits=n(178),e._extend=function(t,e){if(!e||!w(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(I&&t[I]){var e;if("function"!=typeof(e=t[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,I,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o{t.removeListener("sync",r.update)},update:async({oldBlock:t,newBlock:r})=>{const i=r,o=u(t);(await c({provider:e,fromBlock:o,toBlock:i})).map(l).forEach((t=>{m(n,t)}))}};return t.on("sync",r.update),r}({subId:a});break;case"logs":const n=r.params[1];f=function({subId:t,filter:e}){return e.on("update",(e=>m(t,e))),{type:o,destroy:async()=>await h.uninstallFilter(e.idHex)}}({subId:a,filter:await h.newLogFilter(n)});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${o}"`)}return n[a]=f,void(i.result=a)})),eth_unsubscribe:o((async function(t,e){if(d)throw new Error("SubscriptionManager - attempting to use after destroying");const r=t.params[0],i=n[r];i?(delete n[r],await i.destroy(),e.result=!0):e.result=!1}))});return p.destroy=function(){f.removeAllListeners();for(const t in n)n[t].destroy(),delete n[t];d=!0},{events:f,middleware:p};function m(t,e){f.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:t,result:e}})}}},function(t,e){t.exports=function(t){return(e,n,r,i)=>{const o=t[e.method];return void 0===o?r():"function"==typeof o?o(e,n,r,i):(n.result=o,i())}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createIdRemapMiddleware=void 0;const r=n(121);e.createIdRemapMiddleware=function(){return(t,e,n,i)=>{const o=t.id,a=r.getUniqueId();t.id=a,e.id=a,n((n=>{t.id=o,e.id=o,n()}))}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createAsyncMiddleware=void 0,e.createAsyncMiddleware=function(t){return async(e,n,r,i)=>{let o;const a=new Promise((t=>{o=t}));let s=null,u=!1;const c=async()=>{u=!0,r((t=>{s=t,o()})),await a};try{await t(e,n,c),u?(await a,s(null)):i(null)}catch(t){s?s(t):i(t)}}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createScaffoldMiddleware=void 0,e.createScaffoldMiddleware=function(t){return(e,n,r,i)=>{const o=t[e.method];return void 0===o?r():"function"==typeof o?o(e,n,r,i):(n.result=o,i())}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getMessageFromCode=e.serializeError=e.EthereumProviderError=e.EthereumRpcError=e.ethErrors=e.errorCodes=void 0;const r=n(95);Object.defineProperty(e,"EthereumRpcError",{enumerable:!0,get:function(){return r.EthereumRpcError}}),Object.defineProperty(e,"EthereumProviderError",{enumerable:!0,get:function(){return r.EthereumProviderError}});const i=n(123);Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return i.serializeError}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}});const o=n(185);Object.defineProperty(e,"ethErrors",{enumerable:!0,get:function(){return o.ethErrors}});const a=n(96);Object.defineProperty(e,"errorCodes",{enumerable:!0,get:function(){return a.errorCodes}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ethErrors=void 0;const r=n(95),i=n(123),o=n(96);function a(t,e){const[n,o]=u(e);return new r.EthereumRpcError(t,n||i.getMessageFromCode(t),o)}function s(t,e){const[n,o]=u(e);return new r.EthereumProviderError(t,n||i.getMessageFromCode(t),o)}function u(t){if(t){if("string"==typeof t)return[t];if("object"==typeof t&&!Array.isArray(t)){const{message:e,data:n}=t;if(e&&"string"!=typeof e)throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}e.ethErrors={rpc:{parse:t=>a(o.errorCodes.rpc.parse,t),invalidRequest:t=>a(o.errorCodes.rpc.invalidRequest,t),invalidParams:t=>a(o.errorCodes.rpc.invalidParams,t),methodNotFound:t=>a(o.errorCodes.rpc.methodNotFound,t),internal:t=>a(o.errorCodes.rpc.internal,t),server:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(e,t)},invalidInput:t=>a(o.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>a(o.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>a(o.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>a(o.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>a(o.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>a(o.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>s(o.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>s(o.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>s(o.errorCodes.provider.unsupportedMethod,t),disconnected:t=>s(o.errorCodes.provider.disconnected,t),chainDisconnected:t=>s(o.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:e,message:n,data:i}=t;if(!n||"string"!=typeof n)throw new Error('"message" must be a nonempty string');return new r.EthereumProviderError(e,n,i)}}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.mergeMiddleware=void 0;const r=n(122);e.mergeMiddleware=function(t){const e=new r.JsonRpcEngine;return t.forEach((t=>e.push(t))),e.asMiddleware()}},function(t,e,n){const r=n(224).Mutex,{createAsyncMiddleware:i}=n(120),o=n(119),a=n(188),s=n(191),u=n(192),{intToHex:c,hexToInt:l}=n(60);function h(t){return d((async(...e)=>{const n=await t(...e);return c(n.id)}))}function d(t){return i((async(e,n)=>{const r=await t.apply(null,e.params);n.result=r}))}function f(t,e){const n=[];for(let e in t)n.push(t[e]);return n}t.exports=function({blockTracker:t,provider:e}){let n=0,i={};const p=new r,m=function({mutex:t}){return e=>async(n,r,i,o)=>{(await t.acquire())(),e(n,r,i,o)}}({mutex:p}),g=o({eth_newFilter:m(h(v)),eth_newBlockFilter:m(h(b)),eth_newPendingTransactionFilter:m(h(w)),eth_uninstallFilter:m(d(L)),eth_getFilterChanges:m(d(M)),eth_getFilterLogs:m(d(k))}),y=async({oldBlock:t,newBlock:e})=>{if(0===i.length)return;const n=await p.acquire();try{await Promise.all(f(i).map((async n=>{try{await n.update({oldBlock:t,newBlock:e})}catch(t){console.error(t)}})))}catch(t){console.error(t)}n()};return g.newLogFilter=v,g.newBlockFilter=b,g.newPendingTransactionFilter=w,g.uninstallFilter=L,g.getFilterChanges=M,g.getFilterLogs=k,g.destroy=()=>{!async function(){const t=f(i).length;i={},x({prevFilterCount:t,newFilterCount:0})}()},g;async function v(t){const n=new a({provider:e,params:t});return await A(n),n}async function b(){const t=new s({provider:e});return await A(t),t}async function w(){const t=new u({provider:e});return await A(t),t}async function M(t){const e=l(t),n=i[e];if(!n)throw new Error(`No filter for index "${e}"`);return n.getChangesAndClear()}async function k(t){const e=l(t),n=i[e];if(!n)throw new Error(`No filter for index "${e}"`);return"log"===n.type?results=n.getAllResults():results=[],results}async function L(t){const e=l(t),n=i[e],r=Boolean(n);return r&&await async function(t){const e=f(i).length;delete i[t];x({prevFilterCount:e,newFilterCount:f(i).length})}(e),r}async function A(e){const r=f(i).length,o=await t.getLatestBlock();return await e.initialize({currentBlock:o}),n++,i[n]=e,e.id=n,e.idHex=c(n),x({prevFilterCount:r,newFilterCount:f(i).length}),n}function x({prevFilterCount:e,newFilterCount:n}){0===e&&n>0?t.on("sync",y):e>0&&0===n&&t.removeListener("sync",y)}}},function(t,e,n){const r=n(118),i=n(189),o=n(190),{bnToHex:a,hexToInt:s,incrementHexInt:u,minBlockRef:c,blockRefIsNumber:l}=n(60);t.exports=class extends o{constructor({provider:t,params:e}){super(),this.type="log",this.ethQuery=new r(t),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:void 0,topics:[]},e),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map((t=>t.toLowerCase())))}async initialize({currentBlock:t}){let e=this.params.fromBlock;["latest","pending"].includes(e)&&(e=t),"earliest"===e&&(e="0x0"),this.params.fromBlock=e;const n=c(this.params.toBlock,t),r=Object.assign({},this.params,{toBlock:n}),i=await this._fetchLogs(r);this.addInitialResults(i)}async update({oldBlock:t,newBlock:e}){const n=e;let r;r=t?u(t):e;const i=Object.assign({},this.params,{fromBlock:r,toBlock:n}),o=(await this._fetchLogs(i)).filter((t=>this.matchLog(t)));this.addResults(o)}async _fetchLogs(t){return await i((e=>this.ethQuery.getLogs(t,e)))()}matchLog(t){if(s(this.params.fromBlock)>=s(t.blockNumber))return!1;if(l(this.params.toBlock)&&s(this.params.toBlock)<=s(t.blockNumber))return!1;const e=t.address&&t.address.toLowerCase();return!(this.params.address&&e&&!this.params.address.includes(e))&&this.params.topics.every(((e,n)=>{let r=t.topics[n];if(!r)return!1;r=r.toLowerCase();let i=Array.isArray(e)?e:[e];return!!i.includes(null)||(i=i.map((t=>t.toLowerCase())),i.includes(r))}))}}},function(t,e,n){const r=(t,e,n,r)=>function(...i){return new e.promiseModule(((o,a)=>{e.multiArgs?i.push(((...t)=>{e.errorFirst?t[0]?a(t):(t.shift(),o(t)):o(t)})):e.errorFirst?i.push(((t,e)=>{t?a(t):o(e)})):i.push(o);const s=this===n?r:this;Reflect.apply(t,s,i)}))},i=new WeakMap;t.exports=(t,e)=>{e={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...e};const n=typeof t;if(null===t||"object"!==n&&"function"!==n)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===t?"null":n}\``);const o=new WeakMap,a=new Proxy(t,{apply(t,n,i){const s=o.get(t);if(s)return Reflect.apply(s,n,i);const u=e.excludeMain?t:r(t,e,a,t);return o.set(t,u),Reflect.apply(u,n,i)},get(t,n){const s=t[n];if(!((t,n)=>{let r=i.get(t);if(r||(r={},i.set(t,r)),n in r)return r[n];const o=t=>"string"==typeof t||"symbol"==typeof n?n===t:t.test(n),a=Reflect.getOwnPropertyDescriptor(t,n),s=void 0===a||a.writable||a.configurable,u=(e.include?e.include.some(o):!e.exclude.some(o))&&s;return r[n]=u,u})(t,n)||s===Function.prototype[n])return s;const u=o.get(s);if(u)return u;if("function"==typeof s){const n=r(s,e,a,t);return o.set(s,n),n}return s}});return a}},function(t,e,n){const r=n(97);t.exports=class extends r{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(t){this.allResults=this.allResults.concat(t),super.addResults(t)}addInitialResults(t){this.allResults=this.allResults.concat(t),super.addInitialResults(t)}getAllResults(){return this.allResults}}},function(t,e,n){const r=n(97),i=n(98),{incrementHexInt:o}=n(60);t.exports=class extends r{constructor({provider:t,params:e}){super(),this.type="block",this.provider=t}async update({oldBlock:t,newBlock:e}){const n=e,r=o(t),a=(await i({provider:this.provider,fromBlock:r,toBlock:n})).map((t=>t.hash));this.addResults(a)}}},function(t,e,n){const r=n(97),i=n(98),{incrementHexInt:o}=n(60);t.exports=class extends r{constructor({provider:t}){super(),this.type="tx",this.provider=t}async update({oldBlock:t}){const e=t,n=o(t),r=await i({provider:this.provider,fromBlock:n,toBlock:e}),a=[];for(const t of r)a.push(...t.transactions);this.addResults(a)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKUI=void 0;const r=n(194),i=n(206),o=n(208);e.WalletSDKUI=class{constructor(t){this.standalone=null,this.attached=!1,this.snackbar=new i.Snackbar({darkMode:t.darkMode}),this.linkFlow=new r.LinkFlow({darkMode:t.darkMode,version:t.version,sessionId:t.session.id,sessionSecret:t.session.secret,linkAPIUrl:t.linkAPIUrl,connected$:t.connected$,isParentConnection:!1})}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");const t=document.documentElement,e=document.createElement("div");e.className="-cbwsdk-css-reset",t.appendChild(e),this.linkFlow.attach(e),this.snackbar.attach(e),this.attached=!0,(0,o.injectCssReset)()}setConnectDisabled(t){this.linkFlow.setConnectDisabled(t)}addEthereumChain(t){}watchAsset(t){}switchEthereumChain(t){}requestEthereumAccounts(t){this.linkFlow.open({onCancel:t.onCancel})}hideRequestEthereumAccounts(){this.linkFlow.close()}signEthereumMessage(t){}signEthereumTransaction(t){}submitEthereumTransaction(t){}ethereumAddressFromSignedMessage(t){}showConnecting(t){let e;return e=t.isUnlinkedErrorState?{autoExpand:!0,message:"Connection lost",menuItems:[{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:t.onResetConnection}]}:{message:"Confirm on phone",menuItems:[{isRed:!0,info:"Cancel transaction",svgWidth:"11",svgHeight:"11",path:"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z",defaultFillRule:"inherit",defaultClipRule:"inherit",onClick:t.onCancel},{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:t.onResetConnection}]},this.snackbar.presentItem(e)}reloadUI(){document.location.reload()}inlineAccountsResponse(){return!1}inlineAddEthereumChain(t){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}setStandalone(t){this.standalone=t}isStandalone(){var t;return null!==(t=this.standalone)&&void 0!==t&&t}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LinkFlow=void 0;const r=n(8),i=n(48),o=n(195);e.LinkFlow=class{constructor(t){this.extensionUI$=new i.BehaviorSubject({}),this.subscriptions=new i.Subscription,this.isConnected=!1,this.isOpen=!1,this.onCancel=null,this.root=null,this.connectDisabled=!1,this.darkMode=t.darkMode,this.version=t.version,this.sessionId=t.sessionId,this.sessionSecret=t.sessionSecret,this.linkAPIUrl=t.linkAPIUrl,this.isParentConnection=t.isParentConnection,this.connected$=t.connected$}attach(t){this.root=document.createElement("div"),this.root.className="-cbwsdk-link-flow-root",t.appendChild(this.root),this.render(),this.subscriptions.add(this.connected$.subscribe((t=>{this.isConnected!==t&&(this.isConnected=t,this.render())})))}detach(){var t;this.root&&(this.subscriptions.unsubscribe(),(0,r.render)(null,this.root),null===(t=this.root.parentElement)||void 0===t||t.removeChild(this.root))}setConnectDisabled(t){this.connectDisabled=t}open(t){this.isOpen=!0,this.onCancel=t.onCancel,this.render()}close(){this.isOpen=!1,this.onCancel=null,this.render()}render(){if(!this.root)return;const t=this.extensionUI$.subscribe((()=>{this.root&&(0,r.render)((0,r.h)(o.TryExtensionLinkDialog,{darkMode:this.darkMode,version:this.version,sessionId:this.sessionId,sessionSecret:this.sessionSecret,linkAPIUrl:this.linkAPIUrl,isOpen:this.isOpen,isConnected:this.isConnected,isParentConnection:this.isParentConnection,onCancel:this.onCancel,connectDisabled:this.connectDisabled}),this.root)}));this.subscriptions.add(t)}}},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.TryExtensionLinkDialog=void 0;const i=r(n(124)),o=n(8),a=n(99),s=n(38),u=n(196),c=r(n(197)),l=r(n(198)),h=r(n(199)),d=r(n(200)),f=n(201),p=n(203),m=r(n(205));e.TryExtensionLinkDialog=t=>{const{isOpen:e,darkMode:n}=t,[r,s]=(0,a.useState)(!e),[u,c]=(0,a.useState)(!e);(0,a.useEffect)((()=>{const t=[window.setTimeout((()=>{c(!e)}),10)];return e?s(!1):t.push(window.setTimeout((()=>{s(!0)}),360)),()=>{t.forEach(window.clearTimeout)}}),[t.isOpen]);const l=n?"dark":"light";return(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-container",r&&"-cbwsdk-extension-dialog-container-hidden")},(0,o.h)("style",null,m.default),(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-backdrop",l,u&&"-cbwsdk-extension-dialog-backdrop-hidden")}),(0,o.h)("div",{class:"-cbwsdk-extension-dialog"},(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box",u&&"-cbwsdk-extension-dialog-box-hidden")},(0,o.h)(g,{darkMode:n,onInstallClick:()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")}}),t.connectDisabled?null:(0,o.h)(y,{darkMode:n,version:t.version,sessionId:t.sessionId,sessionSecret:t.sessionSecret,linkAPIUrl:t.linkAPIUrl,isConnected:t.isConnected,isParentConnection:t.isParentConnection}),t.onCancel&&(0,o.h)(b,{darkMode:n,onClick:t.onCancel}))))};const g=({darkMode:t,onInstallClick:e})=>{const[n,r]=(0,a.useState)(!1),s=(0,a.useCallback)((()=>{n?window.location.reload():(e(),r(!0))}),[e,n]),u=t?"dark":"light";return(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box-top",u)},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-install-region"},(0,o.h)("h2",{class:u},"Try the Coinbase Wallet extension"),n&&(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-subtext"},"After installing Coinbase Wallet, refresh the page and connect again."),(0,o.h)("button",{type:"button",onClick:s},n?"Refresh":"Install")),(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box-top-info-region",u)},(0,o.h)(v,{darkMode:t,icon:l.default,text:"Connect to crypto apps with one click"}),(0,o.h)(v,{darkMode:t,icon:h.default,text:"Your private key is stored securely"}),(0,o.h)(v,{darkMode:t,icon:c.default,text:"Works with Ethereum, Polygon, and more"})))},y=t=>{const e=(0,s.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection),n=t.darkMode?"dark":"light";return(0,o.h)("div",{"data-testid":"scan-qr-box",class:(0,i.default)("-cbwsdk-extension-dialog-box-bottom",n)},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-bottom-description-region"},(0,o.h)("h2",{class:n},"Or scan to connect"),(0,o.h)("body",{class:(0,i.default)("-cbwsdk-extension-dialog-box-bottom-description",n)},"Open"," ",(0,o.h)("a",{href:"https://wallet.coinbase.com/",target:"_blank",rel:"noopener noreferrer"},"Coinbase Wallet")," ","on your mobile phone and scan")),(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-bottom-qr-region"},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-bottom-qr-wrapper"},(0,o.h)(f.QRCode,{content:e,width:150,height:150,fgColor:"#000",bgColor:"transparent",image:{svg:d.default,width:34,height:34}})),(0,o.h)("input",{type:"hidden",name:"cbwsdk-version",value:u.LIB_VERSION}),(0,o.h)("input",{type:"hidden",value:e}),!t.isConnected&&(0,o.h)("div",{"data-testid":"connecting-spinner",class:(0,i.default)("-cbwsdk-extension-dialog-box-bottom-qr-connecting",n)},(0,o.h)(p.Spinner,{size:36,color:t.darkMode?"#FFF":"#000"}),(0,o.h)("p",null,"Connecting..."))))},v=t=>{const e=t.darkMode?"dark":"light";return(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-description"},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-description-icon-wrapper"},(0,o.h)("img",{src:t.icon})),(0,o.h)("body",{class:(0,i.default)("-cbwsdk-extension-dialog-box-top-description-text",e)},t.text))},b=t=>{const e=t.darkMode?"dark":"light";return(0,o.h)("button",{type:"button",class:(0,i.default)("-cbwsdk-extension-dialog-box-cancel",e),onClick:t.onClick},(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box-cancel-x",e)}))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LIB_VERSION=void 0,e.LIB_VERSION="3.4.0"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOHMzLjU4IDggOCA4IDgtMy41OCA4LTgtMy41OC04LTgtOFptNS45MSA3aC0xLjk0Yy0uMS0xLjU3LS40Mi0zLS45MS00LjE1IDEuNDguODggMi41NSAyLjM4IDIuODUgNC4xNVpNOCAxNGMtLjQ1IDAtMS43Mi0xLjc3LTEuOTUtNWgzLjljLS4yMyAzLjIzLTEuNSA1LTEuOTUgNVpNNi4wNSA3QzYuMjggMy43NyA3LjU1IDIgOCAyYy40NSAwIDEuNzIgMS43NyAxLjk1IDVoLTMuOVpNNC45NCAyLjg1QzQuNDYgNCA0LjEzIDUuNDMgNC4wMyA3SDIuMDljLjMtMS43NyAxLjM3LTMuMjcgMi44NS00LjE1Wk0yLjA5IDloMS45NGMuMSAxLjU3LjQyIDMgLjkxIDQuMTVBNS45OTggNS45OTggMCAwIDEgMi4wOSA5Wm04Ljk3IDQuMTVjLjQ4LTEuMTUuODEtMi41OC45MS00LjE1aDEuOTRhNS45OTggNS45OTggMCAwIDEtMi44NSA0LjE1WiIgZmlsbD0iIzE2NTJGMCIvPjwvc3ZnPg=="},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjYzNSAyLjExN2EzLjg4OSAzLjg4OSAwIDAgMC01LjUyMSAwTDYuODkgNS4zMzVBMy44OTQgMy44OTQgMCAwIDAgNS44IDguNzM5Yy4wODMuNTA2LjI2OCAxLjAxMS41NTMgMS40NjYuMTUxLjI1My4zMzYuNDcyLjUzNy42OTFsLjYyMS42MjQgMS4xNDEtMS4xNDYt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LS40NC0uMTktLjc1LS42My0uNzUtMS4xNGExLjI1IDEuMjUgMCAwIDEgMi41IDBjMCAuNTEtLjMxLjk1LS43NSAxLjE0Wk01LjY3IDZWNC4zM0M1LjY3IDMuMDUgNi43MSAyIDggMnMyLjMzIDEuMDUgMi4zMyAyLjMzVjZoMlY0LjMzQzEyLjMzIDEuOTQgMTAuMzkgMCA4IDBTMy42NyAxLjk0IDMuNjcgNC4zM1Y2aDJaIiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default='\n\n\n\n\n\n\n'},function(t,e,n){(function(t){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.QRCode=void 0;const i=n(8),o=n(99),a=r(n(202));e.QRCode=e=>{const[n,r]=(0,o.useState)("");return(0,o.useEffect)((()=>{var n,i;const o=new a.default({content:e.content,background:e.bgColor||"#ffffff",color:e.fgColor||"#000000",container:"svg",ecl:"M",width:null!==(n=e.width)&&void 0!==n?n:256,height:null!==(i=e.height)&&void 0!==i?i:256,padding:0,image:e.image}),s=t.from(o.svg(),"utf8").toString("base64");r("data:image/svg+xml;base64,"+s)})),n?(0,i.h)("img",{src:n,alt:"QR Code"}):null}}).call(this,n(19).Buffer)},function(t,e){function n(t){this.mode=i.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e65536?(r[0]=240|(1835008&o)>>>18,r[1]=128|(258048&o)>>>12,r[2]=128|(4032&o)>>>6,r[3]=128|63&o):o>2048?(r[0]=224|(61440&o)>>>12,r[1]=128|(4032&o)>>>6,r[2]=128|63&o):o>128?(r[0]=192|(1984&o)>>>6,r[1]=128|63&o):r[0]=o,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function r(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}n.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=o.getLostPoint(this);(0==n||t>r)&&(t=r,e=n)}return e},createMovieClip:function(t,e,n){var r=t.createEmptyMovieClip(e,n);this.make();for(var i=0;i>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!t&&1==(e>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,r=o.getBCHTypeInfo(n),i=0;i<15;i++){var a=!t&&1==(r>>i&1);i<6?this.modules[i][8]=a:i<8?this.modules[i+1][8]=a:this.modules[this.moduleCount-15+i][8]=a}for(i=0;i<15;i++)a=!t&&1==(r>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=a:i<9?this.modules[8][15-i-1+1]=a:this.modules[8][15-i-1]=a;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,i=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[r][s-u]){var c=!1;a>>i&1)),o.getMask(e,r,s-u)&&(c=!c),this.modules[r][s-u]=c,-1==--i&&(a++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},r.PAD0=236,r.PAD1=17,r.createData=function(t,e,n){for(var i=c.getRSBlocks(t,e),a=new l,s=0;s8*h)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*h+")");for(a.getLengthInBits()+4<=8*h&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*h||(a.put(r.PAD0,8),a.getLengthInBits()>=8*h));)a.put(r.PAD1,8);return r.createBytes(a,i)},r.createBytes=function(t,e){for(var n=0,r=0,i=0,a=new Array(e.length),s=new Array(e.length),c=0;c=0?p.get(m):0}}var g=0;for(d=0;d=0;)e^=o.G15<=0;)e^=o.G18<>>=1;return e},getPatternPosition:function(t){return o.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case 0:return(e+n)%2==0;case 1:return e%2==0;case 2:return n%3==0;case 3:return(e+n)%3==0;case 4:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case 5:return e*n%2+e*n%3==0;case 6:return(e*n%2+e*n%3)%2==0;case 7:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new u([1],0),n=0;n5&&(n+=3+o-5)}for(r=0;r=256;)t-=255;return a.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)a.EXP_TABLE[s]=1<>>7-t%8&1)},put:function(t,e){for(var n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var h=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function d(t){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M",image:{svg:"",width:0,height:0}},"string"==typeof t&&(t={content:t}),t)for(var e in t)this.options[e]=t[e];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0&&this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var n=this.options.content,i=function(t,e){for(var n=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),r=1,i=0,o=0,a=h.length;o<=a;o++){var s=h[o];if(!s)throw new Error("Content too long: expected "+i+" but got "+n);switch(e){case"L":i=s[0];break;case"M":i=s[1];break;case"Q":i=s[2];break;case"H":i=s[3];break;default:throw new Error("Unknwon error correction level: "+e)}if(n<=i)break;r++}if(r>h.length)throw new Error("Content too long");return r}(n,this.options.ecl),o=function(t){switch(t){case"L":return 1;case"M":return 0;case"Q":return 3;case"H":return 2;default:throw new Error("Unknwon error correction level: "+t)}}(this.options.ecl);this.qrcode=new r(i,o),this.qrcode.addData(n),this.qrcode.make()}d.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;void 0===t&&(t={container:e.container||"svg"});for(var r=void 0===e.pretty||!!e.pretty,i=r?" ":"",o=r?"\r\n":"",a=e.width,s=e.height,u=n.length,c=a/(u+2*e.padding),l=s/(u+2*e.padding),h=void 0!==e.join&&!!e.join,d=void 0!==e.swap&&!!e.swap,f=void 0===e.xmlDeclaration||!!e.xmlDeclaration,p=void 0!==e.predefined&&!!e.predefined,m=p?i+''+o:"",g=i+''+o,y="",v="",b=0;b'+o:i+''+o}h&&(y=i+'');let E="";if(void 0!==this.options.image&&this.options.image.svg){const t=a*this.options.image.width/100,e=s*this.options.image.height/100;E+=``,E+=this.options.image.svg+o,E+=""}var N="";switch(t.container){case"svg":f&&(N+=''+o),N+=''+o,N+=m+g+y,N+=E,N+="";break;case"svg-viewbox":f&&(N+=''+o),N+=''+o,N+=m+g+y,N+=E,N+="";break;case"g":N+=''+o,N+=m+g+y,N+=E,N+="";break;default:N+=(m+g+y+E).replace(/^\s+/,"")}return N},t.exports=d},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Spinner=void 0;const i=n(8),o=r(n(204));e.Spinner=t=>{var e;const n=null!==(e=t.size)&&void 0!==e?e:64,r=t.color||"#000";return(0,i.h)("div",{class:"-cbwsdk-spinner"},(0,i.h)("style",null,o.default),(0,i.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,i.h)("circle",{style:{cx:50,cy:50,r:45,stroke:r}})))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=".-cbwsdk-css-reset .-cbwsdk-spinner{display:inline-block}.-cbwsdk-css-reset .-cbwsdk-spinner svg{display:inline-block;animation:2s linear infinite -cbwsdk-spinner-svg}.-cbwsdk-css-reset .-cbwsdk-spinner svg circle{animation:1.9s ease-in-out infinite both -cbwsdk-spinner-circle;display:block;fill:rgba(0,0,0,0);stroke-dasharray:283;stroke-dashoffset:280;stroke-linecap:round;stroke-width:10px;transform-origin:50% 50%}@keyframes -cbwsdk-spinner-svg{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}@keyframes -cbwsdk-spinner-circle{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default='.-cbwsdk-css-reset .-cbwsdk-extension-dialog{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop.light{background-color:rgba(0,0,0,.5)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop.dark{background-color:rgba(50,53,61,.4)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box{display:flex;position:relative;max-width:500px;flex-direction:column;transform:scale(1);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-hidden{opacity:0;transform:scale(0.85)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top{display:flex;flex-direction:row;border-radius:8px;overflow:hidden;min-height:300px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top.dark{color:#fff;background-color:#000;box-shadow:0 4px 16px rgba(255,255,255,.05)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top.light{background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-subtext{margin-top:15px;font-size:12px;line-height:1.5}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-install-region{display:flex;flex-basis:50%;flex-direction:column;justify-content:center;padding:32px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-install-region button{display:block;border-radius:8px;background-color:#1652f0;color:#fff;width:90%;min-width:fit-content;height:44px;margin-top:16px;font-size:16px;padding-left:16px;padding-right:16px;cursor:pointer;font-weight:500;text-align:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-install-region button.dark{background-color:#3773f5}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-info-region{display:flex;flex-basis:50%;flex-direction:column;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-info-region.light{background-color:#fafbfc}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-info-region.dark{background-color:#141519}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description{display:flex;flex-direction:row;align-items:center;padding-top:14px;padding-bottom:14px;padding-left:24px;padding-right:32px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-icon-wrapper{display:block;position:relative;width:40px;height:40px;flex-shrink:0;flex-grow:0;border-radius:20px;background-color:#fff;box-shadow:0px 0px 8px rgba(0,0,0,.04),0px 16px 24px rgba(0,0,0,.06)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-icon-wrapper img{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-text{margin-left:16px;flex-grow:1;font-size:13px;line-height:19px;align-self:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-text.light{color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-text.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom{display:flex;flex-direction:row;overflow:hidden;border-radius:8px;margin-top:8px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom.light{background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom.dark{background-color:#000;box-shadow:0 4px 16px rgba(255,255,255,.05)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description-region{display:flex;flex-direction:column;justify-content:center;padding:32px;flex-grow:1}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description{font-size:13px;line-height:19px;margin-top:12px;color:#aaa}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description.dark a{color:#3773f5}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description a{font-size:inherit;line-height:inherit;color:#1652f0;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-region{position:relative;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;padding-left:24px;padding-right:24px;padding-top:16px;padding-bottom:16px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-wrapper{position:relative;display:block;padding:8px;border-radius:8px;box-shadow:0px 4px 12px rgba(0,0,0,.1);background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-wrapper img{display:block}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.light{background-color:rgba(255,255,255,.95)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.light>p{color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.dark{background-color:rgba(20,21,25,.9)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.dark>p{color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting>p{font-size:12px;font-weight:bold;margin-top:16px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel{position:absolute;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;top:16px;right:16px;width:24px;height:24px;border-radius:12px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel.light{background-color:#fafbfc}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel.dark{background-color:#141519}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x{position:relative;display:block;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.light::before,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.light::after{background-color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.dark::before,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.dark::after{background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::before,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::after{content:"";position:absolute;display:block;top:-1px;left:-7px;width:14px;height:1px;transition:background-color .2s}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::before{transform:rotate(45deg)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::after{transform:rotate(135deg)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel:hover .-cbwsdk-link-dialog-box-cancel-x-a,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel:hover .-cbwsdk-link-dialog-box-cancel-x-b{background-color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-container{display:block}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-container-hidden{display:none}.-cbwsdk-css-reset .-cbwsdk-extension-dialog h2{display:block;text-align:left;font-size:22px;font-weight:600;line-height:28px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog h2.light{color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog h2.dark{color:#fff}'},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.SnackbarInstance=e.SnackbarContainer=e.Snackbar=void 0;const i=r(n(124)),o=n(8),a=n(99),s=r(n(207));e.Snackbar=class{constructor(t){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=t.darkMode}attach(t){this.root=document.createElement("div"),this.root.className="-cbwsdk-snackbar-root",t.appendChild(this.root),this.render()}presentItem(t){const e=this.nextItemKey++;return this.items.set(e,t),this.render(),()=>{this.items.delete(e),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&(0,o.render)((0,o.h)("div",null,(0,o.h)(e.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map((([t,n])=>(0,o.h)(e.SnackbarInstance,Object.assign({},n,{key:t})))))),this.root)}},e.SnackbarContainer=t=>(0,o.h)("div",{class:(0,i.default)("-cbwsdk-snackbar-container")},(0,o.h)("style",null,s.default),(0,o.h)("div",{class:"-cbwsdk-snackbar"},t.children)),e.SnackbarInstance=({autoExpand:t,message:e,menuItems:n})=>{const[r,s]=(0,a.useState)(!0),[u,c]=(0,a.useState)(null!=t&&t);return(0,a.useEffect)((()=>{const t=[window.setTimeout((()=>{s(!1)}),1),window.setTimeout((()=>{c(!0)}),1e4)];return()=>{t.forEach(window.clearTimeout)}})),(0,o.h)("div",{class:(0,i.default)("-cbwsdk-snackbar-instance",r&&"-cbwsdk-snackbar-instance-hidden",u&&"-cbwsdk-snackbar-instance-expanded")},(0,o.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:()=>{c(!u)}},(0,o.h)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxOXoiIGZpbGw9IiMxNjUyRjAiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwLjQxOSAwSDIxLjU4QzI3LjMzNSAwIDMyIDQuNjY1IDMyIDEwLjQxOVYyMS41OEMzMiAyNy4zMzUgMjcuMzM1IDMyIDIxLjU4MSAzMkgxMC40MkM0LjY2NSAzMiAwIDI3LjMzNSAwIDIxLjU4MVYxMC40MkMwIDQuNjY1IDQuNjY1IDAgMTAuNDE5IDB6bTAgMS40ODhhOC45MyA4LjkzIDAgMDAtOC45MyA4LjkzdjExLjE2M2E4LjkzIDguOTMgMCAwMDguOTMgOC45M0gyMS41OGE4LjkzIDguOTMgMCAwMDguOTMtOC45M1YxMC40MmE4LjkzIDguOTMgMCAwMC04LjkzLTguOTNIMTAuNDJ6IiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNS45OTggMjYuMDQ5Yy01LjU0OSAwLTEwLjA0Ny00LjQ5OC0xMC4wNDctMTAuMDQ3IDAtNS41NDggNC40OTgtMTAuMDQ2IDEwLjA0Ny0xMC4wNDYgNS41NDggMCAxMC4wNDYgNC40OTggMTAuMDQ2IDEwLjA0NiAwIDUuNTQ5LTQuNDk4IDEwLjA0Ny0xMC4wNDYgMTAuMDQ3eiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0xMi43NjIgMTQuMjU0YzAtLjgyMi42NjctMS40ODkgMS40ODktMS40ODloMy40OTdjLjgyMiAwIDEuNDg4LjY2NiAxLjQ4OCAxLjQ4OXYzLjQ5N2MwIC44MjItLjY2NiAxLjQ4OC0xLjQ4OCAxLjQ4OGgtMy40OTdhMS40ODggMS40ODggMCAwMS0xLjQ4OS0xLjQ4OHYtMy40OTh6IiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+",class:"-cbwsdk-snackbar-instance-header-cblogo"}),(0,o.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,o.h)("div",{class:"-gear-container"},!u&&(0,o.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,o.h)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,o.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map(((t,e)=>(0,o.h)("div",{class:(0,i.default)("-cbwsdk-snackbar-instance-menu-item",t.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:t.onClick,key:e},(0,o.h)("svg",{width:t.svgWidth,height:t.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{"fill-rule":t.defaultFillRule,"clip-rule":t.defaultClipRule,d:t.path,fill:"#AAAAAA"})),(0,o.h)("span",{class:(0,i.default)("-cbwsdk-snackbar-instance-menu-item-info",t.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},t.info))))))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}"},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.injectCssReset=void 0;const i=r(n(209));e.injectCssReset=function(){const t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(i.default)),document.documentElement.appendChild(t)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default='@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;bottom:auto;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;content:normal;counter-increment:none;counter-reset:none;cursor:auto;direction:ltr;display:block;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;left:auto;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";right:auto;tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;width:auto;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset *{box-sizing:border-box;display:initial;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}'},function(t,e,n){var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKRelay=void 0;const u=s(n(211)),c=n(86),l=n(48),h=n(69),d=n(89),f=n(212),p=n(216),m=n(68),g=n(38),y=a(n(217)),v=n(90),b=n(107),w=n(125),M=n(218),k=n(219),L=n(220),A=n(221);class x extends b.WalletSDKRelayAbstract{constructor(t){var e;super(),this.accountsCallback=null,this.chainCallback=null,this.appName="",this.appLogoUrl=null,this.subscriptions=new l.Subscription,this.linkAPIUrl=t.linkAPIUrl,this.storage=t.storage,this.options=t;const{session:n,ui:r,connection:i}=this.subscribe();if(this._session=n,this.connection=i,this.relayEventManager=t.relayEventManager,t.diagnosticLogger&&t.eventListener)throw new Error("Can't have both eventListener and diagnosticLogger options, use only diagnosticLogger");t.eventListener?this.diagnostic={log:t.eventListener.onEvent}:this.diagnostic=t.diagnosticLogger,this._reloadOnDisconnect=null===(e=t.reloadOnDisconnect)||void 0===e||e,this.ui=r}subscribe(){const t=v.Session.load(this.storage)||new v.Session(this.storage).save(),e=new f.WalletSDKConnection(t.id,t.key,this.linkAPIUrl,this.diagnostic);this.subscriptions.add(e.sessionConfig$.subscribe({next:t=>{this.onSessionConfigChanged(t)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"error while invoking session config callback"})}})),this.subscriptions.add(e.incomingEvent$.pipe((0,h.filter)((t=>"Web3Response"===t.event))).subscribe({next:this.handleIncomingEvent})),this.subscriptions.add(e.linked$.pipe((0,h.skip)(1),(0,h.tap)((t=>{var e;this.isLinked=t;const n=this.storage.getItem(b.LOCAL_STORAGE_ADDRESSES_KEY);if(t&&(this.session.linked=t),this.isUnlinkedErrorState=!1,n){const r=n.split(" "),i="true"===this.storage.getItem("IsStandaloneSigning");if(""!==r[0]&&!t&&this.session.linked&&!i){this.isUnlinkedErrorState=!0;const t=this.getSessionIdHash();null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.UNLINKED_ERROR_STATE,{sessionIdHash:t})}}}))).subscribe()),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>!!t.metadata&&"1"===t.metadata.__destroyed))).subscribe((()=>{var t;const n=e.isDestroyed;return null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:n,sessionIdHash:this.getSessionIdHash()}),this.resetAndReload()}))),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.WalletUsername))).pipe((0,h.mergeMap)((e=>y.decrypt(e.metadata.WalletUsername,t.secret)))).subscribe({next:t=>{this.storage.setItem(b.WALLET_USER_NAME_KEY,t)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"username"})}})),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.AppVersion))).pipe((0,h.mergeMap)((e=>y.decrypt(e.metadata.AppVersion,t.secret)))).subscribe({next:t=>{this.storage.setItem(b.APP_VERSION_KEY,t)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"appversion"})}})),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.ChainId&&void 0!==t.metadata.JsonRpcUrl))).pipe((0,h.mergeMap)((e=>(0,l.zip)(y.decrypt(e.metadata.ChainId,t.secret),y.decrypt(e.metadata.JsonRpcUrl,t.secret))))).pipe((0,h.distinctUntilChanged)()).subscribe({next:([t,e])=>{this.chainCallback&&this.chainCallback(t,e)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}})),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.EthereumAddress))).pipe((0,h.mergeMap)((e=>y.decrypt(e.metadata.EthereumAddress,t.secret)))).subscribe({next:t=>{this.accountsCallback&&this.accountsCallback([t]),x.accountRequestCallbackIds.size>0&&(Array.from(x.accountRequestCallbackIds.values()).forEach((e=>{const n=(0,A.Web3ResponseMessage)({id:e,response:(0,L.RequestEthereumAccountsResponse)([t])});this.invokeCallback(Object.assign(Object.assign({},n),{id:e}))})),x.accountRequestCallbackIds.clear())},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"selectedAddress"})}}));const n=this.options.uiConstructor({linkAPIUrl:this.options.linkAPIUrl,version:this.options.version,darkMode:this.options.darkMode,session:t,connected$:e.connected$});return e.connect(),{session:t,ui:n,connection:e}}attachUI(){this.ui.attach()}resetAndReload(){this.connection.setSessionMetadata("__destroyed","1").pipe((0,h.timeout)(1e3),(0,h.catchError)((t=>(0,l.of)(null)))).subscribe((t=>{var e,n,r;const i=this.ui.isStandalone();try{this.subscriptions.unsubscribe()}catch(t){null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.GENERAL_ERROR,{message:"Had error unsubscribing"})}null===(n=this.diagnostic)||void 0===n||n.log(d.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();const o=v.Session.load(this.storage);if((null==o?void 0:o.id)===this._session.id?this.storage.clear():o&&(null===(r=this.diagnostic)||void 0===r||r.log(d.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:v.Session.hash(o.id)})),this._reloadOnDisconnect)return void this.ui.reloadUI();this.accountsCallback&&this.accountsCallback([],!0);const{session:a,ui:s,connection:u}=this.subscribe();this._session=a,this.connection=u,this.ui=s,i&&this.ui.setStandalone&&this.ui.setStandalone(!0),this.attachUI()}),(t=>{var e;null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.FAILURE,{method:"relay::resetAndReload",message:"failed to reset and reload with "+t,sessionIdHash:this.getSessionIdHash()})}))}setAppInfo(t,e){this.appName=t,this.appLogoUrl=e}getStorageItem(t){return this.storage.getItem(t)}get session(){return this._session}setStorageItem(t,e){this.storage.setItem(t,e)}signEthereumMessage(t,e,n,r){return this.sendRequest({method:w.Web3Method.signEthereumMessage,params:{message:(0,g.hexStringFromBuffer)(t,!0),address:e,addPrefix:n,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(t,e,n){return this.sendRequest({method:w.Web3Method.ethereumAddressFromSignedMessage,params:{message:(0,g.hexStringFromBuffer)(t,!0),signature:(0,g.hexStringFromBuffer)(e,!0),addPrefix:n}})}signEthereumTransaction(t){return this.sendRequest({method:w.Web3Method.signEthereumTransaction,params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:(0,g.bigIntStringFromBN)(t.weiValue),data:(0,g.hexStringFromBuffer)(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,maxFeePerGas:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,maxPriorityFeePerGas:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,gasLimit:t.gasLimit?(0,g.bigIntStringFromBN)(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(t){return this.sendRequest({method:w.Web3Method.signEthereumTransaction,params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:(0,g.bigIntStringFromBN)(t.weiValue),data:(0,g.hexStringFromBuffer)(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,maxFeePerGas:t.maxFeePerGas?(0,g.bigIntStringFromBN)(t.maxFeePerGas):null,maxPriorityFeePerGas:t.maxPriorityFeePerGas?(0,g.bigIntStringFromBN)(t.maxPriorityFeePerGas):null,gasLimit:t.gasLimit?(0,g.bigIntStringFromBN)(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!0}})}submitEthereumTransaction(t,e){return this.sendRequest({method:w.Web3Method.submitEthereumTransaction,params:{signedTransaction:(0,g.hexStringFromBuffer)(t,!0),chainId:e}})}scanQRCode(t){return this.sendRequest({method:w.Web3Method.scanQRCode,params:{regExp:t}})}getQRCodeUrl(){return(0,g.createQrUrl)(this._session.id,this._session.secret,this.linkAPIUrl,!1)}genericRequest(t,e){return this.sendRequest({method:w.Web3Method.generic,params:{action:e,data:t}})}sendGenericMessage(t){return this.sendRequest(t)}sendRequest(t){let e=null;const n=(0,g.randomBytesHex)(8),r=r=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,t.method,r),null==e||e()};return{promise:new Promise(((i,o)=>{this.ui.isStandalone()||(e=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:r,onResetConnection:this.resetAndReload})),this.relayEventManager.callbacks.set(n,(t=>{if(null==e||e(),t.errorMessage)return o(new Error(t.errorMessage));i(t)})),this.ui.isStandalone()?this.sendRequestStandalone(n,t):this.publishWeb3RequestEvent(n,t)})),cancel:r}}setConnectDisabled(t){this.ui.setConnectDisabled(t)}setAccountsCallback(t){this.accountsCallback=t}setChainCallback(t){this.chainCallback=t}publishWeb3RequestEvent(t,e){var n;const r=(0,k.Web3RequestMessage)({id:t,request:e}),i=v.Session.load(this.storage);null===(n=this.diagnostic)||void 0===n||n.log(d.EVENTS.WEB3_REQUEST,{eventId:r.id,method:"relay::"+r.request.method,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i?v.Session.hash(i.id):"",isSessionMismatched:((null==i?void 0:i.id)!==this._session.id).toString()}),this.subscriptions.add(this.publishEvent("Web3Request",r,!0).subscribe({next:t=>{var e;null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:"relay::"+r.request.method,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i?v.Session.hash(i.id):"",isSessionMismatched:((null==i?void 0:i.id)!==this._session.id).toString()})},error:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r.id,response:{method:r.request.method,errorMessage:t.message}}))}}))}publishWeb3RequestCanceledEvent(t){const e=(0,M.Web3RequestCanceledMessage)(t);this.subscriptions.add(this.publishEvent("Web3RequestCanceled",e,!1).subscribe())}publishEvent(t,e,n){const r=this.session.secret;return new l.Observable((t=>{y.encrypt(JSON.stringify(Object.assign(Object.assign({},e),{origin:location.origin})),r).then((e=>{t.next(e),t.complete()}))})).pipe((0,h.mergeMap)((e=>this.connection.publishEvent(t,e,n))))}handleIncomingEvent(t){try{this.subscriptions.add(y.decrypt(t.data,this.session.secret).pipe((0,h.map)((t=>JSON.parse(t)))).subscribe({next:t=>{const e=(0,A.isWeb3ResponseMessage)(t)?t:null;e&&this.handleWeb3ResponseMessage(e)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"incomingEvent"})}}))}catch(t){return}}handleWeb3ResponseMessage(t){var e;const{response:n}=t;if(null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.WEB3_RESPONSE,{eventId:t.id,method:"relay::"+n.method,sessionIdHash:this.getSessionIdHash()}),(0,L.isRequestEthereumAccountsResponse)(n))return x.accountRequestCallbackIds.forEach((e=>this.invokeCallback(Object.assign(Object.assign({},t),{id:e})))),void x.accountRequestCallbackIds.clear();this.invokeCallback(t)}handleErrorResponse(t,e,n,r){this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:t,response:(0,L.ErrorResponse)(e,(null!=n?n:p.WalletUIError.UserRejectedRequest).message,r)}))}invokeCallback(t){const e=this.relayEventManager.callbacks.get(t.id);e&&(e(t.response),this.relayEventManager.callbacks.delete(t.id))}requestEthereumAccounts(){const t={method:w.Web3Method.requestEthereumAccounts,params:{appName:this.appName,appLogoUrl:this.appLogoUrl||null}},e=(0,g.randomBytesHex)(8),n=n=>{this.publishWeb3RequestCanceledEvent(e),this.handleErrorResponse(e,t.method,n)};return{promise:new Promise(((r,i)=>{var o;this.relayEventManager.callbacks.set(e,(t=>{if(this.ui.hideRequestEthereumAccounts(),t.errorMessage)return i(new Error(t.errorMessage));r(t)}));const a=(null===(o=null===window||void 0===window?void 0:window.navigator)||void 0===o?void 0:o.userAgent)||null;if(a&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a))window.location.href="https://go.cb-w.com/xoXnYwQimhb?cb_url="+encodeURIComponent(window.location.href);else{if(this.ui.inlineAccountsResponse()){const t=t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:e,response:(0,L.RequestEthereumAccountsResponse)(t)}))};this.ui.requestEthereumAccounts({onCancel:n,onAccounts:t})}else{const t=c.ethErrors.provider.userRejectedRequest("User denied account authorization");this.ui.requestEthereumAccounts({onCancel:()=>n(t)})}x.accountRequestCallbackIds.add(e),this.ui.inlineAccountsResponse()||this.ui.isStandalone()||this.publishWeb3RequestEvent(e,t)}})),cancel:n}}selectProvider(t){const e={method:w.Web3Method.selectProvider,params:{providerOptions:t}},n=(0,g.randomBytesHex)(8);return{cancel:t=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,e.method,t)},promise:new Promise(((e,r)=>{this.relayEventManager.callbacks.set(n,(t=>{if(t.errorMessage)return r(new Error(t.errorMessage));e(t)})),this.ui.selectProvider&&this.ui.selectProvider({onApprove:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:n,response:(0,L.SelectProviderResponse)(t)}))},onCancel:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:n,response:(0,L.SelectProviderResponse)(m.ProviderType.Unselected)}))},providerOptions:t})}))}}watchAsset(t,e,n,r,i,o){const a={method:w.Web3Method.watchAsset,params:{type:t,options:{address:e,symbol:n,decimals:r,image:i},chainId:o}};let s=null;const u=(0,g.randomBytesHex)(8),c=t=>{this.publishWeb3RequestCanceledEvent(u),this.handleErrorResponse(u,a.method,t),null==s||s()};return this.ui.inlineWatchAsset()||(s=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:c,onResetConnection:this.resetAndReload})),{cancel:c,promise:new Promise(((c,l)=>{this.relayEventManager.callbacks.set(u,(t=>{if(null==s||s(),t.errorMessage)return l(new Error(t.errorMessage));c(t)}));this.ui.inlineWatchAsset()&&this.ui.watchAsset({onApprove:()=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.WatchAssetReponse)(!0)}))},onCancel:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.WatchAssetReponse)(!1)}))},type:t,address:e,symbol:n,decimals:r,image:i,chainId:o}),this.ui.inlineWatchAsset()||this.ui.isStandalone()||this.publishWeb3RequestEvent(u,a)}))}}addEthereumChain(t,e,n,r,i,o){const a={method:w.Web3Method.addEthereumChain,params:{chainId:t,rpcUrls:e,blockExplorerUrls:r,chainName:i,iconUrls:n,nativeCurrency:o}};let s=null;const u=(0,g.randomBytesHex)(8),c=t=>{this.publishWeb3RequestCanceledEvent(u),this.handleErrorResponse(u,a.method,t),null==s||s()};return this.ui.inlineAddEthereumChain(t)||(s=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:c,onResetConnection:this.resetAndReload})),{promise:new Promise(((e,n)=>{this.relayEventManager.callbacks.set(u,(t=>{if(null==s||s(),t.errorMessage)return n(new Error(t.errorMessage));e(t)}));this.ui.inlineAddEthereumChain(t)&&this.ui.addEthereumChain({onCancel:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.AddEthereumChainResponse)({isApproved:!1,rpcUrl:""})}))},onApprove:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.AddEthereumChainResponse)({isApproved:!0,rpcUrl:t})}))},chainId:a.params.chainId,rpcUrls:a.params.rpcUrls,blockExplorerUrls:a.params.blockExplorerUrls,chainName:a.params.chainName,iconUrls:a.params.iconUrls,nativeCurrency:a.params.nativeCurrency}),this.ui.inlineAddEthereumChain(t)||this.ui.isStandalone()||this.publishWeb3RequestEvent(u,a)})),cancel:c}}switchEthereumChain(t){const e={method:w.Web3Method.switchEthereumChain,params:{chainId:t}};let n=null;const r=(0,g.randomBytesHex)(8),i=t=>{this.publishWeb3RequestCanceledEvent(r),this.handleErrorResponse(r,e.method,t),null==n||n()};return this.ui.inlineSwitchEthereumChain()||(n=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:i,onResetConnection:this.resetAndReload})),{promise:new Promise(((t,i)=>{this.relayEventManager.callbacks.set(r,(e=>(null==n||n(),e.errorMessage&&e.errorCode?i(c.ethErrors.provider.custom({code:e.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."})):e.errorMessage?i(new Error(e.errorMessage)):void t(e)))),this.ui.switchEthereumChain({onCancel:t=>{if("number"==typeof t){const e=t;this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r,response:(0,L.ErrorResponse)(w.Web3Method.switchEthereumChain,p.WalletUIError.SwitchEthereumChainUnsupportedChainId.message,e)}))}else t instanceof p.WalletUIError?this.handleErrorResponse(r,w.Web3Method.switchEthereumChain,t,t.errorCode):this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r,response:(0,L.SwitchEthereumChainResponse)({isApproved:!1,rpcUrl:""})}))},onApprove:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r,response:(0,L.SwitchEthereumChainResponse)({isApproved:!0,rpcUrl:t})}))},chainId:e.params.chainId}),this.ui.inlineSwitchEthereumChain()||this.ui.isStandalone()||this.publishWeb3RequestEvent(r,e)})),cancel:i}}inlineAddEthereumChain(t){return this.ui.inlineAddEthereumChain(t)}getSessionIdHash(){return v.Session.hash(this._session.id)}sendRequestStandalone(t,e){const n=n=>{this.handleErrorResponse(t,e.method,n)},r=e=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:t,response:e}))};switch(e.method){case w.Web3Method.signEthereumMessage:this.ui.signEthereumMessage({request:e,onSuccess:r,onCancel:n});break;case w.Web3Method.signEthereumTransaction:this.ui.signEthereumTransaction({request:e,onSuccess:r,onCancel:n});break;case w.Web3Method.submitEthereumTransaction:this.ui.submitEthereumTransaction({request:e,onSuccess:r,onCancel:n});break;case w.Web3Method.ethereumAddressFromSignedMessage:this.ui.ethereumAddressFromSignedMessage({request:e,onSuccess:r});break;default:n()}}onSessionConfigChanged(t){}}x.accountRequestCallbackIds=new Set,o([u.default],x.prototype,"resetAndReload",null),o([u.default],x.prototype,"handleIncomingEvent",null),e.WalletSDKRelay=x},function(t,e,n){var r;function i(t,e,n){if(!n||typeof n.value!==r.typeOfFunction)throw new TypeError("Only methods can be decorated with @bind. <"+e+"> is not a method!");return{configurable:r.boolTrue,get:function(){var t=n.value.bind(this);return Object.defineProperty(this,e,{value:t,configurable:r.boolTrue,writable:r.boolTrue}),t}}}Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.typeOfFunction="function",t.boolTrue=!0}(r||(r={})),e.bind=i,e.default=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKConnection=void 0;const r=n(48),i=n(69),o=n(90),a=n(68),s=n(213),u=n(89),c=n(214),l=n(215);e.WalletSDKConnection=class{constructor(t,e,n,s,l=WebSocket){this.sessionId=t,this.sessionKey=e,this.diagnostic=s,this.subscriptions=new r.Subscription,this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,a.IntNumber)(1),this.connectedSubject=new r.BehaviorSubject(!1),this.linkedSubject=new r.BehaviorSubject(!1),this.sessionConfigSubject=new r.ReplaySubject(1);const h=new c.RxWebSocket(n+"/rpc",l);this.ws=h,this.subscriptions.add(h.connectionState$.pipe((0,i.tap)((e=>{var n;return null===(n=this.diagnostic)||void 0===n?void 0:n.log(u.EVENTS.CONNECTED_STATE_CHANGE,{state:e,sessionIdHash:o.Session.hash(t)})})),(0,i.skip)(1),(0,i.filter)((t=>t===c.ConnectionState.DISCONNECTED&&!this.destroyed)),(0,i.delay)(5e3),(0,i.filter)((t=>!this.destroyed)),(0,i.flatMap)((t=>h.connect())),(0,i.retry)()).subscribe()),this.subscriptions.add(h.connectionState$.pipe((0,i.skip)(2),(0,i.switchMap)((t=>(0,r.iif)((()=>t===c.ConnectionState.CONNECTED),this.authenticate().pipe((0,i.tap)((t=>this.sendIsLinked())),(0,i.tap)((t=>this.sendGetSessionConfig())),(0,i.map)((t=>!0))),(0,r.of)(!1)))),(0,i.distinctUntilChanged)(),(0,i.catchError)((t=>(0,r.of)(!1)))).subscribe((t=>this.connectedSubject.next(t)))),this.subscriptions.add(h.connectionState$.pipe((0,i.skip)(1),(0,i.switchMap)((t=>(0,r.iif)((()=>t===c.ConnectionState.CONNECTED),(0,r.timer)(0,1e4))))).subscribe((t=>0===t?this.updateLastHeartbeat():this.heartbeat()))),this.subscriptions.add(h.incomingData$.pipe((0,i.filter)((t=>"h"===t))).subscribe((t=>this.updateLastHeartbeat()))),this.subscriptions.add(h.incomingJSONData$.pipe((0,i.filter)((t=>["IsLinkedOK","Linked"].includes(t.type)))).subscribe((e=>{var n;const r=e;null===(n=this.diagnostic)||void 0===n||n.log(u.EVENTS.LINKED,{sessionIdHash:o.Session.hash(t),linked:r.linked,type:e.type,onlineGuests:r.onlineGuests}),this.linkedSubject.next(r.linked||r.onlineGuests>0)}))),this.subscriptions.add(h.incomingJSONData$.pipe((0,i.filter)((t=>["GetSessionConfigOK","SessionConfigUpdated"].includes(t.type)))).subscribe((e=>{var n;const r=e;null===(n=this.diagnostic)||void 0===n||n.log(u.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:o.Session.hash(t),metadata_keys:r&&r.metadata?Object.keys(r.metadata):void 0}),this.sessionConfigSubject.next({webhookId:r.webhookId,webhookUrl:r.webhookUrl,metadata:r.metadata})})))}connect(){var t;if(this.destroyed)throw new Error("instance is destroyed");null===(t=this.diagnostic)||void 0===t||t.log(u.EVENTS.STARTED_CONNECTING,{sessionIdHash:o.Session.hash(this.sessionId)}),this.ws.connect().subscribe()}destroy(){var t;this.subscriptions.unsubscribe(),this.ws.disconnect(),null===(t=this.diagnostic)||void 0===t||t.log(u.EVENTS.DISCONNECTED,{sessionIdHash:o.Session.hash(this.sessionId)}),this.destroyed=!0}get isDestroyed(){return this.destroyed}get connected$(){return this.connectedSubject.asObservable()}get onceConnected$(){return this.connected$.pipe((0,i.filter)((t=>t)),(0,i.take)(1),(0,i.map)((()=>{})))}get linked$(){return this.linkedSubject.asObservable()}get onceLinked$(){return this.linked$.pipe((0,i.filter)((t=>t)),(0,i.take)(1),(0,i.map)((()=>{})))}get sessionConfig$(){return this.sessionConfigSubject.asObservable()}get incomingEvent$(){return this.ws.incomingJSONData$.pipe((0,i.filter)((t=>{if("Event"!==t.type)return!1;const e=t;return"string"==typeof e.sessionId&&"string"==typeof e.eventId&&"string"==typeof e.event&&"string"==typeof e.data})),(0,i.map)((t=>t)))}setSessionMetadata(t,e){const n=(0,s.ClientMessageSetSessionConfig)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId,metadata:{[t]:e}});return this.onceConnected$.pipe((0,i.flatMap)((t=>this.makeRequest(n))),(0,i.map)((t=>{if((0,l.isServerMessageFail)(t))throw new Error(t.error||"failed to set session metadata")})))}publishEvent(t,e,n=!1){const r=(0,s.ClientMessagePublishEvent)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId,event:t,data:e,callWebhook:n});return this.onceLinked$.pipe((0,i.flatMap)((t=>this.makeRequest(r))),(0,i.map)((t=>{if((0,l.isServerMessageFail)(t))throw new Error(t.error||"failed to publish event");return t.eventId})))}sendData(t){this.ws.sendData(JSON.stringify(t))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>2e4)this.ws.disconnect();else try{this.ws.sendData("h")}catch(t){}}makeRequest(t,e=6e4){const n=t.id;try{this.sendData(t)}catch(t){return(0,r.throwError)(t)}return this.ws.incomingJSONData$.pipe((0,i.timeoutWith)(e,(0,r.throwError)(new Error(`request ${n} timed out`))),(0,i.filter)((t=>t.id===n)),(0,i.take)(1))}authenticate(){const t=(0,s.ClientMessageHostSession)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId,sessionKey:this.sessionKey});return this.makeRequest(t).pipe((0,i.map)((t=>{if((0,l.isServerMessageFail)(t))throw new Error(t.error||"failed to authentcate")})))}sendIsLinked(){const t=(0,s.ClientMessageIsLinked)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId});this.sendData(t)}sendGetSessionConfig(){const t=(0,s.ClientMessageGetSessionConfig)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId});this.sendData(t)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ClientMessagePublishEvent=e.ClientMessageSetSessionConfig=e.ClientMessageGetSessionConfig=e.ClientMessageIsLinked=e.ClientMessageHostSession=void 0,e.ClientMessageHostSession=function(t){return Object.assign({type:"HostSession"},t)},e.ClientMessageIsLinked=function(t){return Object.assign({type:"IsLinked"},t)},e.ClientMessageGetSessionConfig=function(t){return Object.assign({type:"GetSessionConfig"},t)},e.ClientMessageSetSessionConfig=function(t){return Object.assign({type:"SetSessionConfig"},t)},e.ClientMessagePublishEvent=function(t){return Object.assign({type:"PublishEvent"},t)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.RxWebSocket=e.ConnectionState=void 0;const r=n(48),i=n(69);var o;!function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"}(o=e.ConnectionState||(e.ConnectionState={})),e.RxWebSocket=class{constructor(t,e=WebSocket){this.WebSocketClass=e,this.webSocket=null,this.connectionStateSubject=new r.BehaviorSubject(o.DISCONNECTED),this.incomingDataSubject=new r.Subject,this.url=t.replace(/^http/,"ws")}connect(){return this.webSocket?(0,r.throwError)(new Error("webSocket object is not null")):new r.Observable((t=>{let e;try{this.webSocket=e=new this.WebSocketClass(this.url)}catch(e){return void t.error(e)}this.connectionStateSubject.next(o.CONNECTING),e.onclose=e=>{this.clearWebSocket(),t.error(new Error(`websocket error ${e.code}: ${e.reason}`)),this.connectionStateSubject.next(o.DISCONNECTED)},e.onopen=e=>{t.next(),t.complete(),this.connectionStateSubject.next(o.CONNECTED)},e.onmessage=t=>{this.incomingDataSubject.next(t.data)}})).pipe((0,i.take)(1))}disconnect(){const{webSocket:t}=this;if(t){this.clearWebSocket(),this.connectionStateSubject.next(o.DISCONNECTED);try{t.close()}catch(t){}}}get connectionState$(){return this.connectionStateSubject.asObservable()}get incomingData$(){return this.incomingDataSubject.asObservable()}get incomingJSONData$(){return this.incomingData$.pipe((0,i.flatMap)((t=>{let e;try{e=JSON.parse(t)}catch(t){return(0,r.empty)()}return(0,r.of)(e)})))}sendData(t){const{webSocket:e}=this;if(!e)throw new Error("websocket is not connected");e.send(t)}clearWebSocket(){const{webSocket:t}=this;t&&(this.webSocket=null,t.onclose=null,t.onerror=null,t.onmessage=null,t.onopen=null)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.isServerMessageFail=void 0,e.isServerMessageFail=function(t){return t&&"Fail"===t.type&&"number"==typeof t.id&&"string"==typeof t.sessionId&&"string"==typeof t.error}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletUIError=void 0;class r extends Error{constructor(t,e){super(t),this.message=t,this.errorCode=e}}e.WalletUIError=r,r.UserRejectedRequest=new r("User rejected request"),r.SwitchEthereumChainUnsupportedChainId=new r("Unsupported chainId",4902)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt=e.encrypt=void 0;const r=n(48),i=n(38);e.encrypt=async function(t,e){if(64!==e.length)throw Error("secret must be 256 bits");const n=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.importKey("raw",(0,i.hexStringToUint8Array)(e),{name:"aes-gcm"},!1,["encrypt","decrypt"]),o=new TextEncoder,a=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:n},r,o.encode(t)),s=a.slice(a.byteLength-16),u=a.slice(0,a.byteLength-16),c=new Uint8Array(s),l=new Uint8Array(u),h=new Uint8Array([...n,...c,...l]);return(0,i.uint8ArrayToHex)(h)},e.decrypt=function(t,e){if(64!==e.length)throw Error("secret must be 256 bits");return new r.Observable((n=>{!async function(){const r=await crypto.subtle.importKey("raw",(0,i.hexStringToUint8Array)(e),{name:"aes-gcm"},!1,["encrypt","decrypt"]),o=(0,i.hexStringToUint8Array)(t),a=o.slice(0,12),s=o.slice(12,28),u=o.slice(28),c=new Uint8Array([...u,...s]),l={name:"AES-GCM",iv:new Uint8Array(a)};try{const t=await window.crypto.subtle.decrypt(l,r,c),e=new TextDecoder;n.next(e.decode(t)),n.complete()}catch(t){n.error(t)}}()}))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Web3RequestCanceledMessage=void 0;const r=n(100);e.Web3RequestCanceledMessage=function(t){return{type:r.RelayMessageType.WEB3_REQUEST_CANCELED,id:t}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Web3RequestMessage=void 0;const r=n(100);e.Web3RequestMessage=function(t){return Object.assign({type:r.RelayMessageType.WEB3_REQUEST},t)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.EthereumAddressFromSignedMessageResponse=e.SubmitEthereumTransactionResponse=e.SignEthereumTransactionResponse=e.SignEthereumMessageResponse=e.isRequestEthereumAccountsResponse=e.SelectProviderResponse=e.WatchAssetReponse=e.RequestEthereumAccountsResponse=e.SwitchEthereumChainResponse=e.AddEthereumChainResponse=e.ErrorResponse=void 0;const r=n(125);e.ErrorResponse=function(t,e,n){return{method:t,errorMessage:e,errorCode:n}},e.AddEthereumChainResponse=function(t){return{method:r.Web3Method.addEthereumChain,result:t}},e.SwitchEthereumChainResponse=function(t){return{method:r.Web3Method.switchEthereumChain,result:t}},e.RequestEthereumAccountsResponse=function(t){return{method:r.Web3Method.requestEthereumAccounts,result:t}},e.WatchAssetReponse=function(t){return{method:r.Web3Method.watchAsset,result:t}},e.SelectProviderResponse=function(t){return{method:r.Web3Method.selectProvider,result:t}},e.isRequestEthereumAccountsResponse=function(t){return t&&t.method===r.Web3Method.requestEthereumAccounts},e.SignEthereumMessageResponse=function(t){return{method:r.Web3Method.signEthereumMessage,result:t}},e.SignEthereumTransactionResponse=function(t){return{method:r.Web3Method.signEthereumTransaction,result:t}},e.SubmitEthereumTransactionResponse=function(t){return{method:r.Web3Method.submitEthereumTransaction,result:t}},e.EthereumAddressFromSignedMessageResponse=function(t){return{method:r.Web3Method.ethereumAddressFromSignedMessage,result:t}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.isWeb3ResponseMessage=e.Web3ResponseMessage=void 0;const r=n(100);e.Web3ResponseMessage=function(t){return Object.assign({type:r.RelayMessageType.WEB3_RESPONSE},t)},e.isWeb3ResponseMessage=function(t){return t&&t.type===r.RelayMessageType.WEB3_RESPONSE}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKRelayEventManager=void 0;const r=n(38);e.WalletSDKRelayEventManager=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;const t=this._nextRequestId,e=(0,r.prepend0x)(t.toString(16));return this.callbacks.get(e)&&this.callbacks.delete(e),t}}},function(t){t.exports=JSON.parse('{"name":"@coinbase/wallet-sdk","version":"3.4.0","description":"Coinbase Wallet JavaScript SDK","keywords":["cipher","cipherbrowser","coinbase","coinbasewallet","eth","ether","ethereum","etherium","injection","toshi","wallet","walletlink","web3"],"main":"dist/index.js","types":"dist/index.d.ts","repository":"https://github.com/coinbase/coinbase-wallet-sdk.git","author":"Coinbase, Inc.","license":"Apache-2.0","scripts":{"pretest:unit":"node compile-assets.js","test:unit":"jest","test:unit:coverage":"yarn test:unit && open coverage/lcov-report/index.html","test:karma":"yarn build-npm && karma start","prebuild":"node -p \\"\'export const LIB_VERSION = \' + JSON.stringify(require(\'./package.json\').version) + \';\'\\" > src/version.ts","build":"node compile-assets.js && webpack --config webpack.config.js","build-npm":"tsc -p ./tsconfig.build.json","build:dev":"export LINK_API_URL=\'http://localhost:3000\'; yarn build","build:dev:watch":"nodemon -e \'ts,tsx,js,json,css,scss,svg\' --ignore \'src/**/*-css.ts\' --ignore \'src/**/*-svg.ts\' --watch src/ --exec \'yarn build:dev\'","build:prod":"yarn prebuild && yarn build && yarn build-npm && cp ./package.json ./README.md ./LICENSE build/npm && cp -a src/vendor-js build/npm/dist && sed -i.bak \'s| \\"private\\": true,||g\' build/npm/package.json && rm -f build/npm/package.json.bak","lint:types":"tsc --noEmit","lint:prettier":"prettier --check \\"{src,__tests__}/**/*.(js|ts|tsx)\\"","lint:eslint":"eslint ./src --ext .ts,.tsx","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"prettier . --write","release":"./scripts/release.sh"},"dependencies":{"@metamask/safe-event-emitter":"2.0.0","bind-decorator":"^1.0.11","bn.js":"^5.1.1","buffer":"^6.0.3","clsx":"^1.1.0","eth-block-tracker":"4.4.3","eth-json-rpc-filters":"4.2.2","eth-rpc-errors":"4.0.2","json-rpc-engine":"6.1.0","keccak":"^3.0.1","preact":"^10.5.9","qs":"^6.10.3","rxjs":"^6.6.3","sha.js":"^2.4.11","stream-browserify":"^3.0.0","util":"^0.12.4"},"devDependencies":{"@babel/core":"^7.17.9","@babel/plugin-proposal-decorators":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@peculiar/webcrypto":"^1.3.3","@testing-library/jest-dom":"^5.16.4","@testing-library/preact":"^2.0.1","@types/bn.js":"^4.11.6","@types/jest":"^27.4.1","@types/node":"^14.14.20","@types/qs":"^6.9.7","@types/sha.js":"^2.4.0","@typescript-eslint/eslint-plugin":"^5.7.0","@typescript-eslint/eslint-plugin-tslint":"^5.7.0","@typescript-eslint/parser":"^5.7.0","babel-jest":"^27.5.1","browserify":"17.0.0","copy-webpack-plugin":"^6.4.1","core-js":"^3.8.2","eslint":"^8.4.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-preact":"^0.1.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-simple-import-sort":"^7.0.0","jasmine":"3.8.0","jest":"^27.5.1","jest-chrome":"^0.7.2","jest-websocket-mock":"^2.3.0","karma":"^6.3.15","karma-browserify":"8.1.0","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","nodemon":"^2.0.6","prettier":"^2.5.1","raw-loader":"^4.0.2","regenerator-runtime":"^0.13.7","sass":"^1.50.0","svgo":"^2.8.0","ts-jest":"^27.1.4","ts-loader":"^8.0.13","ts-node":"^10.7.0","tslib":"^2.0.3","typescript":"^4.1.3","watchify":"4.0.0","webpack":"^5.72.0","webpack-cli":"^4.9.2","whatwg-fetch":"^3.5.0"},"engines":{"node":">= 10.0.0"}}')},function(t,e,n){function r(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))}function i(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var t=this._currentReleaser;this._currentReleaser=void 0,t()}},t.prototype._dispatch=function(){var t=this,e=this._queue.shift();if(e){var n=!1;this._currentReleaser=function(){n||(n=!0,t._value++,t._dispatch())},e([this._value--,this._currentReleaser])}},t}(),a=function(){function t(){this._semaphore=new o(1)}return t.prototype.acquire=function(){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this._semaphore.acquire()];case 1:return[2,t.sent()[1]]}}))}))},t.prototype.runExclusive=function(t){return this._semaphore.runExclusive((function(){return t()}))},t.prototype.isLocked=function(){return this._semaphore.isLocked()},t.prototype.release=function(){this._semaphore.release()},t}();function s(t,e,n){var o=this;return void 0===n&&(n=new Error("timeout")),{acquire:function(){return new Promise((function(a,s){return r(o,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:return r=!1,setTimeout((function(){r=!0,s(n)}),e),[4,t.acquire()];case 1:return o=i.sent(),r?(Array.isArray(o)?o[1]:o)():a(o),[2]}}))}))}))},runExclusive:function(t){return r(this,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:e=function(){},r.label=1;case 1:return r.trys.push([1,,7,8]),[4,this.acquire()];case 2:return n=r.sent(),Array.isArray(n)?(e=n[1],[4,t(n[0])]):[3,4];case 3:return[2,r.sent()];case 4:return e=n,[4,t()];case 5:return[2,r.sent()];case 6:return[3,8];case 7:return e(),[7];case 8:return[2]}}))}))},release:function(){t.release()},isLocked:function(){return t.isLocked()}}}}]);void 0===kL&&console.error("esm-webpack-plugin: nothing exported!"),kL.CoinbaseWalletProvider;const LL=kL.CoinbaseWalletSDK;let AL=["ethereum","bsc","polygon","solana","fantom","velas"];AL.evm=["ethereum","bsc","polygon","fantom","velas"],AL.solana=["solana"];class xL{constructor({blockchain:t,from:e,to:n,value:r,api:i,method:o,params:a,instructions:s,signers:u,alts:c,sent:l,succeeded:h,failed:d}){this.blockchain=t,this.from=e&&e.match("0x")?Yn(e):e,this.to=n&&n.match("0x")?Yn(n):n,this.value=function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([xL,"access",t=>t.bigNumberify,"call",e=>e(r,t),"optionalAccess",t=>t.toString,"call",t=>t()]),this.api=i,this.method=o,this.params=a,this.sent=l,this.succeeded=h,this.failed=d,this.instructions=s,this.signers=u,this.alts=c,this._succeeded=!1,this._failed=!1}async prepare({wallet:t}){this.from=await t.account(this.blockchain)}static bigNumberify(t,e){return"number"==typeof t?Uc(t.toString(),st[e].currency.decimals):t&&t.toString?ee.from(t.toString()):t}getContractArguments(){let t=this.getContract().interface.fragments.find((t=>t.name==this.method));return this.params instanceof Array?this.params:this.params instanceof Object?t.inputs.map((t=>this.params[t.name])):void 0}getContract(){return new bu(this.to,this.api)}async getData(){let t,e=this.getContractArguments();return t=e?await this.getContract().populateTransaction[this.method].apply(null,e):await this.getContract().populateTransaction[this.method].apply(null),t.data}success(){return this._succeeded?Promise.resolve(this):new Promise(((t,e)=>{let n=this.succeeded;this.succeeded=e=>{n&&n(e),t(e)}}))}failure(){return this._failed?Promise.resolve(this):new Promise(((t,e)=>{let n=this.failed;this.failed=(e,r)=>{n&&n(e,r),t(e,r)}}))}}const EL=({transaction:t,provider:e,signer:n})=>t.method?NL({transaction:t,signer:n,provider:e}):SL({transaction:t,signer:n}),NL=({transaction:t,signer:e,provider:n})=>{let r=new bu(t.to,t.api,n),i=t.getContractArguments({contract:r}),o=r.connect(e)[t.method];return i?o(...i,{value:xL.bigNumberify(t.value,t.blockchain)}):o({value:xL.bigNumberify(t.value,t.blockchain)})},SL=({transaction:t,signer:e})=>e.sendTransaction({to:t.to,value:xL.bigNumberify(t.value,t.blockchain)});function IL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}class TL{static __initStatic(){this.info={name:"Wallet (Ethereum)",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0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MTg1LjIgCQkJIi8+CgkJCTxwb2x5Z29uIGNsYXNzPSJzdDMiIHBvaW50cz0iMTI5LDIwNC43IDEyOC44LDIwNC45IDEyOC44LDIxNyAxMjksMjE3LjYgMTQ0LjgsMTk1LjQgCQkJIi8+CgkJCTxwb2x5Z29uIGNsYXNzPSJzdDIiIHBvaW50cz0iMTI5LDIxNy42IDEyOSwyMDQuNyAxMTMuMiwxOTUuNCAJCQkiLz4KCQkJPHBvbHlnb24gY2xhc3M9InN0NCIgcG9pbnRzPSIxMjksMjAxLjcgMTQ0LjgsMTkyLjQgMTI5LDE4NS4yIAkJCSIvPgoJCQk8cG9seWdvbiBjbGFzcz0ic3Q1IiBwb2ludHM9IjExMy4yLDE5Mi40IDEyOSwyMDEuNyAxMjksMTg1LjIgCQkJIi8+CgkJPC9nPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>IL([window,"optionalAccess",t=>t.ethereum])&&1!=Object.keys(window.ethereum).filter((t=>t.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/))).length&&!IL([window,"optionalAccess",t=>t.coin98])&&!(IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrust])||IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrustWallet]))&&!IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isDeficonnectProvider])&&!IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isHyperPay])&&!IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isPhantom])&&!IL([window,"optionalAccess",t=>t.solana,"optionalAccess",t=>t.isPhantom])&&!IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isRabby])&&!IL([window,"optionalAccess",t=>t.backpack,"optionalAccess",t=>t.isBackpack])&&!(IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isCoinbaseWallet])||IL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isWalletLink]))}constructor(){this.name=this.constructor.info.name,this.logo=this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.sendTransaction=t=>(async({transaction:t,wallet:e})=>{if(t=new xL(t),0==await e.connectedTo(t.blockchain)&&await e.switchTo(t.blockchain),0==await e.connectedTo(t.blockchain))throw{code:"WRONG_NETWORK"};await t.prepare({wallet:e});let n=await bL({blockchain:t.blockchain,method:"transactionCount",address:t.from});t.nonce=n;let r=new zc(e.getProvider(),"any"),i=r.getSigner(0);return await EL({transaction:t,provider:r,signer:i}).then((e=>{if(!e)throw"Submitting transaction failed!";t.id=e.hash,t.nonce=e.nonce||n,t.url=st.findByName(t.blockchain).explorerUrlFor({transaction:t}),t.sent&&t.sent(t),e.wait(1).then((()=>{t._succeeded=!0,t.succeeded&&t.succeeded(t)})).catch((e=>{e&&e.code&&"TRANSACTION_REPLACED"==e.code?(e.replacement&&e.replacement.hash&&(t.id=e.replacement.hash,t.url=st.findByName(t.blockchain).explorerUrlFor({transaction:t})),e.replacement&&e.replacement.hash&&e.receipt&&1==e.receipt.status?(t._succeeded=!0,t.succeeded&&t.succeeded(t)):e.replacement&&e.replacement.hash&&e.receipt&&0==e.receipt.status&&(t._failed=!0,t.failed&&t.failed(t,e))):(t._failed=!0,t.failed&&t.failed(t,e))}))})),t})({wallet:this,transaction:t})}getProvider(){return window.ethereum}async account(){if(!this.getProvider())return;return(await this.getProvider().request({method:"eth_accounts"})).map((t=>Yn(t)))[0]}async connect(){if(!this.getProvider())return;return(await this.getProvider().request({method:"eth_requestAccounts"})).map((t=>Yn(t)))[0]}on(t,e){let n;switch(t){case"account":n=t=>e(Yn(t[0])),this.getProvider().on("accountsChanged",n)}return n}off(t,e){switch(t){case"account":this.getProvider().removeListener("accountsChanged",e)}return e}async connectedTo(t){const e=st.findById(await this.getProvider().request({method:"eth_chainId"}));return t?t===e.name:e.name}addNetwork(t){return new Promise(((e,n)=>{const r=st.findByName(t);this.getProvider().request({method:"wallet_addEthereumChain",params:[{chainId:r.id,chainName:r.fullName,nativeCurrency:{name:r.currency.name,symbol:r.currency.symbol,decimals:r.currency.decimals},rpcUrls:[r.rpc],blockExplorerUrls:[r.explorer],iconUrls:[r.logo]}]}).then(e).catch(n)}))}switchTo(t){return new Promise(((e,n)=>{const r=st.findByName(t);this.getProvider().request({method:"wallet_switchEthereumChain",params:[{chainId:r.id}]}).then(e).catch((r=>{4902===r.code?this.addNetwork(t).then((()=>this.switchTo(t).then(e))).catch(n):n(r)}))}))}transactionCount({blockchain:t,address:e}){return bL({blockchain:t,method:"transactionCount",address:e})}async sign(t){await this.account();let e=new zc(this.getProvider(),"any").getSigner(0);return await e.signMessage(t)}}TL.__initStatic(),TL.__initStatic2();class jL extends TL{static __initStatic(){this.info={name:"Binance Wallet",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIgMTkzLjY4Ij48cmVjdCB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5My42OCIgZmlsbD0iIzFlMjAyNCIvPjxwYXRoIGQ9Im01Ni45Miw0Ni41M2wzOS4wOC0yMi41NCwzOS4wOCwyMi41NC0xNC4zNSw4LjM2LTI0LjczLTE0LjE4LTI0LjczLDE0LjE4LTE0LjM1LTguMzZabTc4LjE3LDI4LjUzbC0xNC4zNS04LjM2LTI0LjczLDE0LjI3LTI0LjczLTE0LjI3LTE0LjM1LDguMzZ2MTYuNzFsMjQuNzMsMTQuMTh2MjguNDVsMTQuMzUsOC4zNiwxNC4zNS04LjM2di0yOC40NWwyNC43My0xNC4yN3YtMTYuNjNabTAsNDUuMTZ2LTE2LjcxbC0xNC4zNSw4LjM2djE2LjcxbDE0LjM1LTguMzZabTEwLjIxLDUuODJsLTI0LjczLDE0LjI3djE2LjcxbDM5LjA4LTIyLjU0di00NS4yNWwtMTQuMzUsOC4zNnYyOC40NVptLTE0LjM1LTY1LjI1bDE0LjM1LDguMzZ2MTYuNzFsMTQuMzUtOC4zNnYtMTYuNzFsLTE0LjM1LTguMzYtMTQuMzUsOC4zNlptLTQ5LjMsODUuNnYxNi43MWwxNC4zNSw4LjM2LDE0LjM1LTguMzZ2LTE2LjcxbC0xNC4zNSw4LjM2LTE0LjM1LTguMzZabS0yNC43My0yNi4xN2wxNC4zNSw4LjM2di0xNi43MWwtMTQuMzUtOC4zNnYxNi43MVptMjQuNzMtNTkuNDNsMTQuMzUsOC4zNiwxNC4zNS04LjM2LTE0LjM1LTguMzYtMTQuMzUsOC4zNlptLTM0Ljk1LDguMzZsMTQuMzUtOC4zNi0xNC4zNS04LjM2LTE0LjM1LDguMzZ2MTYuNzFsMTQuMzUsOC4zNnYtMTYuNzFabTAsMjguNDVsLTE0LjM1LTguMzZ2NDUuMTZsMzkuMDgsMjIuNTR2LTE2LjcxbC0yNC43My0xNC4yN3MwLTI4LjM2LDAtMjguMzZaIiBmaWxsPSIjZjBiOTBiIi8+PC9zdmc+",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.BinanceChain])&&!window.coin98}getProvider(){return window.BinanceChain}}jL.__initStatic(),jL.__initStatic2();class CL extends TL{static __initStatic(){this.info={name:"Brave",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNTYgMzAxIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyNTYgMzAxIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoKCTxwYXRoIGZpbGw9IiNGMTVBMjI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4K",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isBraveWallet])}}CL.__initStatic(),CL.__initStatic2();class DL extends TL{static __initStatic(){this.info={name:"Coin98",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA0MC43IDQwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA0MC43IDQwIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsPSIjRDlCNDMyIiBkPSJtMzMuMyAwaC0yNS45Yy00LjEgMC03LjQgMy4zLTcuNCA3LjN2MjUuNGMwIDQgMy4zIDcuMyA3LjQgNy4zaDI1LjljNC4xIDAgNy40LTMuMyA3LjQtNy4zdi0yNS40YzAtNC0zLjMtNy4zLTcuNC03LjN6Ii8+CjxwYXRoIGZpbGw9IiMyNTI1MjUiIGQ9Im0zMy4zIDBoLTI1LjljLTQuMSAwLTcuNCAzLjMtNy40IDcuM3YyNS40YzAgNCAzLjMgNy4zIDcuNCA3LjNoMjUuOWM0LjEgMCA3LjQtMy4zIDcuNC03LjN2LTI1LjRjMC00LTMuMy03LjMtNy40LTcuM3ptLTYuMyAxMGMzIDAgNS41IDIuNCA1LjUgNS40IDAgMC45LTAuMiAxLjgtMC42IDIuNi0wLjctMC41LTEuNS0xLTIuMy0xLjMgMC4yLTAuNCAwLjMtMC45IDAuMy0xLjMgMC0xLjUtMS4zLTIuOC0yLjgtMi44LTEuNiAwLTIuOCAxLjMtMi44IDIuOCAwIDAuNSAwLjEgMC45IDAuMyAxLjMtMC44IDAuMy0xLjYgMC43LTIuMyAxLjMtMC41LTAuOC0wLjYtMS43LTAuNi0yLjYtMC4xLTMgMi4zLTUuNCA1LjMtNS40em0tMTMuMyAyMGMtMyAwLTUuNS0yLjQtNS41LTUuNGgyLjZjMCAxLjUgMS4zIDIuOCAyLjggMi44czIuOC0xLjMgMi44LTIuOGgyLjZjMC4yIDMtMi4zIDUuNC01LjMgNS40em0wLTcuNWMtMy41IDAtNi4zLTIuOC02LjMtNi4yczIuOC02LjMgNi4zLTYuMyA2LjQgMi44IDYuNCA2LjNjMCAzLjQtMi45IDYuMi02LjQgNi4yem0xMy4zIDcuNWMtMy41IDAtNi40LTIuOC02LjQtNi4yIDAtMy41IDIuOC02LjMgNi40LTYuMyAzLjUgMCA2LjMgMi44IDYuMyA2LjMgMC4xIDMuNC0yLjggNi4yLTYuMyA2LjJ6bTMuOC02LjNjMCAyLjEtMS43IDMuNy0zLjggMy43cy0zLjgtMS43LTMuOC0zLjdjMC0yLjEgMS43LTMuNyAzLjgtMy43IDIuMSAwLjEgMy44IDEuNyAzLjggMy43em0tMTMuNC03LjRjMCAyLjEtMS43IDMuNy0zLjggMy43cy0zLjgtMS43LTMuOC0zLjdjMC0yLjEgMS43LTMuNyAzLjgtMy43IDIuMiAwIDMuOCAxLjYgMy44IDMuN3oiLz4KPC9zdmc+Cg==",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.coin98])}}function OL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}DL.__initStatic(),DL.__initStatic2();class _L extends TL{static __initStatic(){this.info={name:"Coinbase",logo:"data:image/svg+xml;base64,PHN2ZyBpZD0nTGF5ZXJfMScgZGF0YS1uYW1lPSdMYXllciAxJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2aWV3Qm94PScwIDAgNDg4Ljk2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L3N2Zz4=",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>OL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isCoinbaseWallet])||OL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isWalletLink])}}_L.__initStatic(),_L.__initStatic2();class zL extends TL{static __initStatic(){this.info={name:"Crypto.com | DeFi Wallet",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4OS45IDEwMi44IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA4OS45IDEwMi44IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQoJLnN0MXtmaWxsOiMwMzMxNkM7fQo8L3N0eWxlPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUuMzc1MSAtMTEzLjYxKSI+Cgk8ZyB0cmFuc2Zvcm09Im1hdHJpeCguMzE3OTQgMCAwIC4zMTQ2NSAtMS4wNDczIDMwLjQ0NykiPgoJCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Im0xNjEuNiAyNjQuMy0xNDEuNCA4MS42djE2My4zbDE0MS40IDgxLjYgMTQxLjQtODEuNnYtMTYzLjNsLTE0MS40LTgxLjZ6bTAgMC0xNDEuNCA4MS42djE2My4zbDE0MS40IDgxLjYgMTQxLjQtODEuNnYtMTYzLjNsLTE0MS40LTgxLjZ6Ii8+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0ibTIxNy41IDUyNy4xaC0yMC4xbC0yNC4xLTIyLjF2LTExLjNsMjQuOS0yMy44di0zNy43bDMyLjYtMjEuMyAzNy4xIDI4LjEtNTAuNCA4OC4xem0tODMuMy01OS42IDMuNy0zNS40LTEyLjItMzEuN2g3MmwtMTEuOSAzMS43IDMuNCAzNS40aC01NXptMTYuNCAzNy41LTI0LjEgMjIuNGgtMjAuNGwtNTAuNy04OC40IDM3LjQtMjcuOCAzMi45IDIxdjM3LjdsMjQuOSAyMy44djExLjN6bS00NC44LTE3MC4xaDExMS40bDEzLjMgNTYuN2gtMTM3LjdsMTMtNTYuN3ptNTUuOC03MC42LTE0MS40IDgxLjZ2MTYzLjNsMTQxLjQgODEuNiAxNDEuNC04MS42di0xNjMuM2wtMTQxLjQtODEuNnoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isDeficonnectProvider])}}zL.__initStatic(),zL.__initStatic2();class PL extends TL{static __initStatic(){this.info={name:"HyperPay",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjA0LjcgMjAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMDQuNyAyMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0iIzFBNzJGRSIgZD0iTTEwMi41LDUuMkM1MC44LDUuMiw4LjgsNDcuMiw4LjgsOTlzNDIsOTMuNSw5My44LDkzLjVzOTMuOC00Miw5My44LTkzLjhTMTU0LjIsNS4yLDEwMi41LDUuMnogTTEyNy4yLDExOS4yCgljLTYuMiwwLTIxLjcsMC4zLTIxLjcsMC4zbC03LDI3aC0yOWw2LjgtMjYuNUgzMWw3LjItMjEuOGMwLDAsNzguOCwwLjIsODUuMiwwYzYuNS0wLjIsMTYuNS0xLjgsMTYuOC0xNC44YzAuMy0xNy44LTI3LTE2LjgtMjkuMi0xCgljLTEuNSwxMC0xLjUsMTIuNS0xLjUsMTIuNUg4My44bDUtMjMuNUg0N2w2LjMtMjJjMCwwLDYxLjIsMC4yLDcyLjgsMC4yczQyLjIsMyw0Mi4yLDMxLjJDMTY4LjIsMTEyLDEzOC41LDExOS4zLDEyNy4yLDExOS4yCglMMTI3LjIsMTE5LjJ6Ii8+Cjwvc3ZnPgo=",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isHyperPay])}}PL.__initStatic(),PL.__initStatic2();class BL extends TL{static __initStatic(){this.info={name:"MetaMask",logo:"data:image/svg+xml;base64,PHN2ZyBpZD0nTGF5ZXJfMScgZGF0YS1uYW1lPSdMYXllciAxJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA0ODUuOTMgNDUwLjU2Jz48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzgyODQ4Nzt9LmNscy0ye2ZpbGw6I2UyNzcyNjtzdHJva2U6I2UyNzcyNjt9LmNscy0xMCwuY2xzLTExLC5jbHMtMiwuY2xzLTMsLmNscy00LC5jbHMtNSwuY2xzLTYsLmNscy03LC5jbHMtOCwuY2xzLTl7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO30uY2xzLTN7ZmlsbDojZTM3NzI1O3N0cm9rZTojZTM3NzI1O30uY2xzLTR7ZmlsbDojZDZjMGIzO3N0cm9rZTojZDZjMGIzO30uY2xzLTV7ZmlsbDojMjQzNDQ3O3N0cm9rZToj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yA0NjAuNzEgMTkyLjM4IDQ3NS45MiAxNzguNSA0NjQuMTMgMTY5LjM3IDQ3OS4zNSAxNTcuNzcgNDY5LjI3IDE1MC4xNicvPjxwb2x5Z29uIGNsYXNzPSdjbHMtMTEnIHBvaW50cz0nMC41IDcyLjU3IDE2LjY2IDE1MC4xNiA2LjM5IDE1Ny43NyAyMS42MSAxNjkuMzcgMTAuMDEgMTc4LjUgMjUuMjIgMTkyLjM4IDE1LjcxIDE5OS4yMyAzNy41OCAyMjQuOSAxMzcuMDQgMTk1LjggMjA3LjQxIDEzNi4yOCAyNC40NiAwLjUgMC41IDcyLjU3Jy8+PHBvbHlnb24gY2xhc3M9J2Nscy04JyBwb2ludHM9JzQ0OC4xNiAyMjQuOSAzNDguNyAxOTUuOCAzNzguOTQgMjQxLjI1IDMzMy44NyAzMjguNzMgMzkzLjIgMzI3Ljk3IDQ4MS42MyAzMjcuOTcgNDQ4LjE2IDIyNC45Jy8+PHBvbHlnb24gY2xhc3M9J2Nscy04JyBwb2ludHM9JzEzNy4wNCAxOTUuOCAzNy41OCAyMjQuOSA0LjQ5IDMyNy45NyA5Mi43MyAzMjcuOTcgMTUxLjg4IDMyOC43MyAxMDcgMjQxLjI1IDEzNy4wNCAxOTUuOCcvPjxwb2x5Z29uIGNsYXNzPSdjbHMtOCcgcG9pbnRzPScyNzIuMDYgMjQ2LjAxIDI3OC4zNCAxMzYuMjggMzA3LjI0IDU4LjEyIDE3OC44OCA1OC4xMiAyMDcuNDEgMTM2LjI4IDIxNC4wNiAyNDYuMDEgMjE2LjM0IDI4MC42MiAyMTYuNTMgMzY1LjgyIDI2OS4yMSAzNjUuODIgMjY5LjU5IDI4MC42MiAyNzIuMDYgMjQ2LjAxJy8+PC9zdmc+",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isMetaMask])&&1==Object.keys(window.ethereum).filter((t=>t.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/))).length}}BL.__initStatic(),BL.__initStatic2();class RL extends TL{static __initStatic(){this.info={name:"Opera",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA3NS42IDc1LjYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIHRyYW5zZm9ybT0ibWF0cml4KDEuMzMzMyAwIDAgLTEuMzMzMyAwIDEwNy4yKSI+CiAgCiAgPGxpbmVhckdyYWRpZW50IGlkPSJvcGVyYUxvZ28wMDAwMDAxMjM1MTEiIHgxPSItMTA3LjM0IiB4Mj0iLTEwNi4zNCIgeTE9Ii0xMzcuODUiIHkyPSItMTM3Ljg1IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgLTczLjI1NyAtNzMuMjU3IDAgLTEwMDc1IC03Nzg0LjEpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRkYxQjJEIiBvZmZzZXQ9IjAiLz4KICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRjFCMkQiIG9mZnNldD0iLjMiLz4KICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRjFCMkQiIG9mZnNldD0iLjYxNCIvPgogICAgPHN0b3Agc3RvcC1jb2xvcj0iI0E3MDAxNCIgb2Zmc2V0PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICAKICA8cGF0aCBmaWxsPSJ1cmwoI29wZXJhTG9nbzAwMDAwMDEyMzUxMSkiIGQ9Im0yOC4zIDgwLjRjLTE1LjYgMC0yOC4zLTEyLjctMjguMy0yOC4zIDAtMTUuMiAxMi0yNy42IDI3LTI4LjNoMS40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sbD0idXJsKCNiKSIvPgo8L2c+Cjwvc3ZnPgo=",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isOpera])}}function UL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}RL.__initStatic(),RL.__initStatic2();const QL=async({transaction:t,wallet:e})=>{let n,r=await YL({transaction:t,wallet:e});return"object"==typeof r&&r.signatures&&r.message?n=await WL(r,await e.account()):"object"==typeof r&&r.signature&&r.signature.length?n=r.signature:"string"==typeof r&&r.length&&(n=r),n},WL=async(t,e)=>{let n=await fL("solana");return await n.sendRawTransaction(t.serialize())},YL=async({transaction:t,wallet:e})=>t.instructions?HL({transaction:t,wallet:e}):FL({transaction:t,wallet:e}),FL=async({transaction:t,wallet:e})=>{let n=new fv(await e.account()),r=new fv(t.to);const i=await fL(t.blockchain);let o=(await i.getLatestBlockhash()).blockhash;const a=[ob.transfer({fromPubkey:n,toPubkey:r,lamports:parseInt(xL.bigNumberify(t.value,t.blockchain),10)})],s=new _v({payerKey:n,recentBlockhash:o,instructions:a}).compileToV0Message(),u=new zv(s);return e._sendTransaction(u)},HL=async({transaction:t,wallet:e})=>{let n=new fv(await e.account());const r=await fL(t.blockchain);let i=(await r.getLatestBlockhash()).blockhash;const o=new _v({payerKey:n,recentBlockhash:i,instructions:t.instructions}).compileToV0Message(t.alts?await Promise.all(t.alts.map((async t=>(await fL("solana")).getAddressLookupTable(new fv(t)).then((t=>t.value))))):void 0),a=new zv(o);return t.signers&&t.signers.length&&a.sign(Array.from(new Set(t.signers))),e._sendTransaction(a)};function GL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}class ZL{static __initStatic(){this.info={name:"Wallet (Solana)",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLS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MzguOGMtMC43LDAtMS4xLTAuOS0wLjYtMS40TDExMi43LDE3NC45eiIvPgo8bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzAwMDAwMDIyNTU3MTYwNTg5MTY1MTU3NTIwMDAwMDE1NDYyNjI0Mjk4Nzk4NTYzMjYxXyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIxNDMuMDkyOSIgeTE9IjEzNi4yMjEyIiB4Mj0iMTE2LjIwODIiIHkyPSIxODcuNzE2MiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDAgMzAuNTM1NCkiPgoJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6IzAwRkZBMyIvPgoJPHN0b3AgIG9mZnNldD0iMSIgc3R5bGU9InN0b3AtY29sb3I6I0RDMUZGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cGF0aCBzdHlsZT0iZmlsbDp1cmwoI1NWR0lEXzAwMDAwMDIyNTU3MTYwNTg5MTY1MTU3NTIwMDAwMDE1NDYyNjI0Mjk4Nzk4NTYzMjYxXyk7IiBkPSJNMTQ1LjYsMTg5LjFjLTAuMy0wLjMtMC43LTAuNS0xLjEtMC41CgloLTM4LjhjLTAuNywwLTEuMSwwLjktMC42LDEuNGw3LjcsNy43YzAuMywwLjMsMC43LDAuNSwxLjEsMC41aDM4LjhjMC43LDAsMS4xLTAuOSwwLjYtMS40TDE0NS42LDE4OS4xeiIvPgo8L3N2Zz4K",blockchains:AL.solana}}static __initStatic2(){this.isAvailable=async()=>GL([window,"optionalAccess",t=>t.solana])&&!(window.solana.isPhantom&&1==Object.keys(window.solana).filter((t=>t.match(/^is(?!Connected)/))).length)&&!window.coin98&&!window.solana.isGlow}constructor(){this.name=this.constructor.info.name,this.logo=this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.sendTransaction=t=>(async({transaction:t,wallet:e})=>(t=new xL(t),await t.prepare({wallet:e}),await QL({transaction:t,wallet:e}).then((e=>{if(!e)throw"Submitting transaction failed!";{t.id=e,t.url=st.findByName(t.blockchain).explorerUrlFor({transaction:t}),t.sent&&t.sent(t);let n=0;const r=setInterval((async()=>{if(n++,n>=240)return clearInterval(r);const i=await fL(t.blockchain),{value:o}=await i.getSignatureStatus(e),a=UL([o,"optionalAccess",t=>t.confirmationStatus]);if(a&&("confirmed"===a||"finalized"===a)){if(o.err){t._failed=!0;const n=await i.getConfirmedTransaction(e),r=UL([n,"optionalAccess",t=>t.meta,"optionalAccess",t=>t.logMessages])?n.meta.logMessages[n.meta.logMessages.length-1]:null;t.failed&&t.failed(t,r)}else t._succeeded=!0,t.succeeded&&t.succeeded(t);return clearInterval(r)}}),500)}})),t))({wallet:this,transaction:t})}getProvider(){return window.solana}async account(){const t=this.getProvider();if(null!=t){if(t.publicKey)return t.publicKey.toString();if(1!=t.isBraveWallet){let t;try{({publicKey:t}=await window.solana.connect({onlyIfTrusted:!0}))}catch(t){}if(t)return t.toString()}}}async connect(){const t=this.getProvider();if(!t)return;let e;try{e=await t.connect()}catch(t){}return e&&e.publicKey?e.publicKey.toString():t.publicKey.toString()}on(t,e){let n;switch(t){case"account":n=t=>e(GL([t,"optionalAccess",t=>t.toString,"call",t=>t()])),this.getProvider().on("accountChanged",n)}return n}off(t,e){switch(t){case"account":this.getProvider().removeListener("accountChanged",e)}return e}async connectedTo(t){return t?"solana"==t:"solana"}switchTo(t){return new Promise(((t,e)=>{e({code:"NOT_SUPPORTED"})}))}addNetwork(t){return new Promise(((t,e)=>{e({code:"NOT_SUPPORTED"})}))}async sign(t){const e=(new TextEncoder).encode(t),n=await this.getProvider().signMessage(e);if(n&&n.signature)return Array.from(n.signature)}_sendTransaction(t){return this.getProvider().signAndSendTransaction(t)}}ZL.__initStatic(),ZL.__initStatic2();class VL extends ZL{static __initStatic(){this.info={name:"Phantom",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRm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=",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.solana])&&window.solana.isPhantom&&1==Object.keys(window.solana).filter((t=>t.match(/^is(?!Connected)/))).length}}function JL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}VL.__initStatic(),VL.__initStatic2();class qL extends TL{static __initStatic(){this.info={name:"Trust Wallet",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA5Ni41IDk2LjUiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDk2LjUgOTYuNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9Ijk2LjUiIGhlaWdodD0iOTYuNSIvPgo8cGF0aCBzdHJva2U9IiMzMzc1QkIiIHN0cm9rZS13aWR0aD0iNi4wNjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQgPSIxMCIgZmlsbD0ibm9uZSIgZD0ibTQ4LjUgMjAuMWM5LjYgOCAyMC42IDcuNSAyMy43IDcuNS0wLjcgNDUuNS01LjkgMzYuNS0yMy43IDQ5LjMtMTcuOC0xMi44LTIzLTMuNy0yMy43LTQ5LjMgMy4yIDAgMTQuMSAwLjUgMjMuNy03LjV6Ii8+Cjwvc3ZnPgo=",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>JL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrust])||JL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrustWallet])}}qL.__initStatic(),qL.__initStatic2();class XL extends ZL{static __initStatic(){this.info={name:"Glow",logo:"data:image/webp;base64,UklGRkbpAQBXRUJQVlA4TDrpAQAv38F3EBGJbRsJkgS7p0rtwm3+AXfP/IcQ0f8JWLIkdFr/iEgkyRI0SHyCgCXu4pZI4gxw6U7EeRDYruJd9wYSAXYCoeH3+5uZqVI3QbHhQMVaNVVzVj8594ZNoNaamem6zPNEERADrHo63XMthUfhSEhW7e7Wa7Kf/UKRqu3u/jC1dSk42t0S4jbbMSSJq6oMIFnCVVXGOBAXUz8bQJJdpByHJNg7ZYcoSo6xIb7UrrIBJMvedDlmJ2DXjHMQ5eeZsRMIsb2PoCiJnZQdIIHtPThZS1jCU3GSUDHsXZUgSUjsXUkMJDlI9N6988X086ylzFRNlfpZK7GNbdP9wFRNd1XVWisJQGynW09318x0tNaSXmJD33VfWR+4d+t9KSQY9KXfIoHCR4E+cgoC+wICBALqgCr+Zzf9NmHTNpIg66sthz/dmT8MkhRJkiRZkfQsiZM4jh7z2LIk2XbbVlIr4OG8gMerZOMT/Z8AHh6cm5ubx/yaMkUpAhHVIRMiEKEo6vya29w+YgAQw4QIFAJDBYFAwAMeIgJABCIwEbNgAPAJCiAABSNKRAAJgExAROADCAiBAALANHMY3uld3mmHOxwIIACgnFACiCHwNE9jAvDLb8FdarrQIhCKAkRB8JQHHt3UEACGADwAfASe5fnCJAQCOG4BIgJQBgzAv+b58rzMBQi2W2657ToEAEUgBjyf/m14Lv+Y01zey37Dsl92uaWyXIeLGiCAbiKAZwAwX4bgczi22U8fH9ECoA6IgBiAUWZDBALLxxDXy3UIAATKvADAG0AEsHx8oAEAbooIKApiNijAWzQAAgSIG+UCwwAgMBvtumCLDIEBykRg5vBOQCAATKzyxguAigi8V9kvtAiC2FE2AgEEht1l5wKAYQdEYIjAfboNwI0SERhwA4CNBQMAROAKEAUiIhw6YEBLAmwoUQ1Aw55QRNMtTc3zYthhux1asLHsaQNDBAIYgMqVe+nSBnAAgJ22u86y3VKJUgIAb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+Oq9v+1il4O1rlgKZTDI1+a5YgOi7PJZnj/Xrjcu/VIiagDmiRcejjRVCV7TQ8vqGZz8HGJCrZEbxI1rce8/E2oPg8qZdZ0QGL2aaQr1efuiK6B8H33k1w8GIHj7BsYNhef15eAD+mFlFxmOVjBC+3+wG02R6K9y7jcAMI16/mkZglHFz/eCDB6Zb8WkDhADBKfiUNg/KVGv0Un11/+qEx//6p7SmHbtSdPXfvXS6l/YH",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>window.solana&&window.solana.isGlow}}XL.__initStatic(),XL.__initStatic2();class KL extends ZL{static __initStatic(){this.info={name:"Solflare",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAgNTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDp1cmwoI1NWR0lEXzFfKTt9Cgkuc3Qxe2ZpbGw6dXJsKCNTVkdJRF8wMDAwMDA0MTI1OTU5ODg4MjM0NDgzNTI5MDAwMDAxMjg1ODg4NTIyOTkwNzM1MjI0MF8pO30KPC9zdHlsZT4KPGxpbmVhckdyYWRpZW50IGlkPSJTVkdJRF8xXyIgZ3JhZGllb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BzdHlsZT0ic3RvcC1jb2xvcjojRkZDMTBCIi8+Cgk8c3RvcCAgb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojRkIzRjJFIi8+CjwvcmFkaWFsR3JhZGllbnQ+CjxwYXRoIHN0eWxlPSJmaWxsOnVybCgjU1ZHSURfMDAwMDAxMDAzNTM3NjAxMTAwMjExMTQ0NDAwMDAwMDg4MDc5Mzk1MzE2NjY5Njc5MzhfKTsiIGQ9Ik0yNC42LDMwLjljMy44LDAsNi44LTMsNi44LTYuNwoJYzAtMy43LTMuMS02LjctNi44LTYuN3MtNi44LDMtNi44LDYuN0MxNy44LDI3LjksMjAuOSwzMC45LDI0LjYsMzAuOXoiLz4KPC9zdmc+Cg==",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.solflare])&&window.solflare.isSolflare}getProvider(){return window.solflare}_sendTransaction(t){return this.getProvider().signTransaction(t)}}KL.__initStatic(),KL.__initStatic2();class $L extends ZL{static __initStatic(){this.info={name:"Backpack",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMDAgMTAwOyIgeG1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LjEKCQkJSDQ0LjR6IE01MCw0NS4xYzQuNiwwLDguMy0zLjcsOC4zLTguM3MtMy43LTguMy04LjMtOC4zcy04LjMsMy43LTguMyw4LjNTNDUuNCw0NS4xLDUwLDQ1LjF6IE0yMy44LDY4LjFjMC0xLjMsMS4xLTIuMywyLjQtMi4zCgkJCWg0Ny42YzEuMywwLDIuNCwxLDIuNCwyLjNWODJjMCwyLjYtMi4xLDQuNi00LjgsNC42SDI4LjZjLTIuNiwwLTQuOC0yLjEtNC44LTQuNlY2OC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.backpack])&&window.backpack.isBackpack}getProvider(){return window.backpack}async sign(t){const e=(new TextEncoder).encode(t),n=await this.getProvider().signMessage(e);return Object.values(n)}_sendTransaction(t){return this.getProvider().sendAndConfirm(t)}}$L.__initStatic(),$L.__initStatic2();class tA extends TL{static __initStatic(){this.info={name:"Rabby",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9ImthdG1hbl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjA0IDE1MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjA0IDE1MjsiIHhtbDpzcGFjZT0icHJlc2VydmUi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jNC4xLDEuMSw4LjEsMi4xLDEyLjEsMy4yCglDMTA2LjEsMTIwLjYsMTExLjgsMTE1LjgsMTE2LjcsMTExLjJ6Ii8+CjxsaW5lYXJHcmFkaWVudCBpZD0iU1ZHSURfMDAwMDAxMjg0NzQ1MTgwNjUxMjc5MDc2OTAwMDAwMDg3OTM1NDY5MjM0OTg1OTA4NjFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjY2LjM2MDQiIHkxPSI0MjcuNjAyIiB4Mj0iMTE1LjA1OTMiIHkyPSI0ODkuNDc5MiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAxIDAgLTM0NikiPgoJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9InN0b3AtY29sb3I6Izg4OThGRiIvPgoJPHN0b3AgIG9mZnNldD0iMC45ODM5IiBzdHlsZT0ic3RvcC1jb2xvcjojNUY0N0YxIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxwYXRoIHN0eWxlPSJmaWxsOnVybCgjU1ZHSURfMDAwMDAxMjg0NzQ1MTgwNjUxMjc5MDc2OTAwMDAwMDg3OTM1NDY5MjM0OTg1OTA4NjFfKTsiIGQ9Ik0zOS43LDkzLjljMS43LDE1LjIsMTAuNSwyMS4zLDI4LjIsMjMKCWMxNy44LDEuNywyNy45LDAuNiw0MS40LDEuN2MxMS4zLDEsMjEuNCw2LjgsMjUuMSw0LjhjMy4zLTEuNywxLjQtOC4yLTMtMTIuNGMtNS45LTUuNC0xNC05LTI4LjEtMTAuNWMyLjktNy44LDIuMS0xOC43LTIuNC0yNC42CgljLTYuMy04LjYtMTguMS0xMi40LTMzLTEwLjhDNTIuMyw2Ny4xLDM3LjQsNzQuOSwzOS43LDkzLjl6Ii8+Cjwvc3ZnPgo=",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isRabby])}}tA.__initStatic(),tA.__initStatic2();const eA={ethereum:"mainnet",bsc:"bsc",polygon:"polygon"},nA={ethereum:"eth",bsc:"bnb",polygon:"matic"};class rA{constructor({address:t,blockchain:e}){this.address=t,this.blockchain=e}async transactionCount(){let t,e=await fetch(`https://safe-transaction-${eA[this.blockchain]}.safe.global/api/v1/safes/${this.address}/all-transactions/`).then((t=>t.json())).catch((t=>{console.error("Error:",t)}));return t=e&&e.results&&e.results.length?e.results[0].nonce+1:parseInt((await bL({blockchain:this.blockchain,address:this.address,api:[{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],method:"nonce"})).toString(),10),t}async retrieveTransaction({blockchain:t,tx:e}){const n=await fL(t);let r=await fetch(`https://safe-transaction-${eA[t]}.safe.global/api/v1/multisig-transactions/${e}/`).then((t=>t.json())).catch((t=>{console.error("Error:",t)}));return r&&r.isExecuted&&r.transactionHash?await n.getTransaction(r.transactionHash):void 0}explorerUrlFor({transaction:t}){if(t)return`https://app.safe.global/${nA[t.blockchain]}:${t.from}/transactions/tx?id=multisig_${t.from}_${t.id}`}}const iA=async(t,e)=>{if(!await(async(t,e)=>{const n=await fL(t);return"0x"!=await n.getCode(e)})(t,e))return;const n=await(async(t,e)=>{let n;try{n=await bL({blockchain:t,address:e,api:[{constant:!0,inputs:[],name:"NAME",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"}],method:"NAME"})}catch(t){}if("Default Callback Handler"==n)return"Safe"})(t,e);if("Safe"==n)return new rA({blockchain:t,address:e});if("Argent"==n)return new Argent({blockchain:t,address:e});if(smartContractWallet)throw{message:"Unrecognized smart contract wallet not supported!",code:"SMART_CONTRACT_WALLET_NOT_SUPPORTED"}},oA=async({blockchain:t,tx:e,smartContractWallet:n})=>{const r=await fL(t);let i,o=async()=>{try{return n&&n.retrieveTransaction?await n.retrieveTransaction({blockchain:t,tx:e}):await r.getTransaction(e)}catch(t){}};for(i=await o();!i;)await new Promise((t=>setTimeout(t,3e3))),i=await o();return i},aA=({transaction:t,wallet:e})=>t.method?sA({transaction:t,wallet:e}):uA({transaction:t,wallet:e}),sA=async({transaction:t,wallet:e})=>{const n=await fL(t.blockchain),r=await n.getGasPrice();let i=await mL(t);const o=await t.getData(),a=t.value?Ft(ee.from(t.value)):void 0,s=Ft(t.nonce);return i=i.add(i.div(10)),e.connector.sendTransaction({from:t.from,to:t.to,value:a,data:o,gas:i.toHexString(),gasPrice:r.toHexString(),nonce:s})},uA=async({transaction:t,wallet:e})=>{const n=await fL(t.blockchain),r=await n.getGasPrice(),i=await mL(t),o=Ft(ee.from(t.value)),a=Ft(t.nonce);return e.connector.sendTransaction({from:t.from,to:t.to,value:o,data:"0x",gas:i.toHexString(),gasPrice:r.toHexString(),nonce:a})};function cA(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}const lA="_DePayWeb3WalletsConnectedWalletConnectV1Instance";let hA;const dA=()=>hA||(hA=gA((()=>{})),hA),fA=()=>new Promise((async(t,e)=>{if(setTimeout((()=>{delete localStorage.walletconnect,t(!1)}),5e3),!localStorage.walletconnect||0==JSON.parse(localStorage.walletconnect).handshakeTopic.length)return delete localStorage.walletconnect,t(!1);let n,r=dA();try{await r.sendCustomRequest({method:"eth_blockNumber"})?n=await r.sendCustomRequest({method:"eth_accounts"}):delete localStorage.walletconnect}catch(e){delete localStorage.walletconnect,t(!1)}return t(n&&n.length)})),pA=async()=>window[lA]?window[lA]:await fA()?new yA:void 0,mA=t=>{window[lA]=t},gA=t=>new ML({bridge:"https://walletconnect.depay.com",qrcodeModal:{open:async e=>t({uri:e}),close:()=>{}}});class yA{static __initStatic(){this.info={name:"WalletConnect",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz48IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjUuNC4xLC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C41LDAtMTQuNGwyOS45LTI5LjIgYzQuMS00LDEwLjctNCwxNC44LDBsOTUuNSw5My41YzEsMSwyLjcsMSwzLjcsMGMwLDAsMCwwLDAsMGw5NS41LTkzLjVjNC4xLTQsMTAuNy00LDE0LjgsMGMwLDAsMCwwLDAsMGw5NS41LDkzLjUgYzEsMSwyLjcsMSwzLjcsMGw5NS41LTkzLjVDNDU2LjQsMjI1LjksNDYzLDIyNS45LDQ2Ny4xLDIyOS45eicvPjwvZz48L2c+PC9zdmc+Cg==",blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>null!=await pA()}constructor(){this.name=localStorage[lA+"_name"]&&"undefined"!=localStorage[lA+"_name"]?localStorage[lA+"_name"]:this.constructor.info.name,this.logo=localStorage[lA+"_logo"]&&"undefined"!=localStorage[lA+"_logo"]?localStorage[lA+"_logo"]:this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.sendTransaction=t=>(async({transaction:t,wallet:e})=>{if(t=new xL(t),0==await e.connectedTo(t.blockchain))throw{code:"WRONG_NETWORK"};await t.prepare({wallet:e});const n=await iA(t.blockchain,t.from);let r=await e.transactionCount({blockchain:t.blockchain,address:t.from});return t.nonce=r,await aA({transaction:t,wallet:e}).then((e=>{if(!e)throw"Submitting transaction failed!";{let i=st.findByName(t.blockchain);t.id=e,t.url=n&&n.explorerUrlFor?n.explorerUrlFor({transaction:t}):i.explorerUrlFor({transaction:t}),t.sent&&t.sent(t),oA({blockchain:t.blockchain,tx:e,smartContractWallet:n}).then((e=>{t.id=e.hash||t.id,t.url=i.explorerUrlFor({transaction:t}),t.nonce=e.nonce||r,e.wait(1).then((()=>{t._succeeded=!0,t.succeeded&&t.succeeded(t)})).catch((e=>{e&&e.code&&"TRANSACTION_REPLACED"==e.code?e.replacement&&e.replacement.hash&&e.receipt&&1==e.receipt.status?(t.id=e.replacement.hash,t._succeeded=!0,t.succeeded&&t.succeeded(t)):e.replacement&&e.replacement.hash&&e.receipt&&0==e.receipt.status&&(t.id=e.replacement.hash,t._failed=!0,t.failed&&t.failed(t,e)):(t._failed=!0,t.failed&&t.failed(t,e))}))}))}})),t})({wallet:this,transaction:t})}disconnect(){mA(void 0),localStorage[lA+"_name"]=void 0,localStorage[lA+"_logo"]=void 0,hA=void 0}newWalletConnectInstance(t){let e=gA(t);return e.on("disconnect",((t,e)=>{if(this.disconnect(),t)throw t})),e.on("modal_closed",(()=>{mA(void 0),this.connector=void 0})),e}async account(){let t;this.connector||(this.connector=dA());try{t=await this.connector.sendCustomRequest({method:"eth_accounts"})}catch(t){}if(t&&t.length)return Yn(t[0])}async connect(t){let e=t&&t.connect?t.connect:({uri:t})=>{};try{if(this.connector=yA.instance,null==this.connector&&(this.connector=this.newWalletConnectInstance(e)),t&&t.reconnect&&this.connector){try{await this.connector.killSession()}catch(t){}this.disconnect()}if(await fA())return await this.account();{let{accounts:e,chainId:n}=await this.connector.connect();return cA([t,"optionalAccess",t=>t.name])&&(localStorage[lA+"_name"]=this.name=t.name),cA([t,"optionalAccess",t=>t.logo])&&(localStorage[lA+"_logo"]=this.logo=t.logo),e instanceof Array&&e.length?(mA(this),e=e.map((t=>Yn(t))),e[0]):void 0}}catch(t){return void console.log("WALLETCONNECT ERROR",t)}}async connectedTo(t){let e=await this.connector.sendCustomRequest({method:"eth_chainId"});const n=st.findById(e);return t?t===n.name:n.name}switchTo(t){return new Promise(((e,n)=>{let r,i;const o=st.findByName(t);setTimeout((async()=>{await this.connectedTo(t)||r||i?e():n({code:"NOT_SUPPORTED"})}),3e3),this.connector.sendCustomRequest({method:"wallet_switchEthereumChain",params:[{chainId:o.id}]}).then((()=>{r=!0,e()})).catch((o=>{o&&"string"==typeof o.message&&o.message.match("addEthereumChain")?this.addNetwork(t).then((()=>this.switchTo(t).then((()=>{r=!0,e()})))).catch((()=>{i=!0,n({code:"NOT_SUPPORTED"})})):(i=!0,n({code:"NOT_SUPPORTED"}))}))}))}addNetwork(t){return new Promise(((e,n)=>{const r=st.findByName(t);this.connector.sendCustomRequest({method:"wallet_addEthereumChain",params:[{chainId:r.id,chainName:r.fullName,nativeCurrency:{name:r.currency.name,symbol:r.currency.symbol,decimals:r.currency.decimals},rpcUrls:[r.rpc],blockExplorerUrls:[r.explorer],iconUrls:[r.logo]}]}).then(e).catch(n)}))}on(t,e){let n;switch(t){case"account":n=(t,n)=>{if(n&&n.params&&n.params[0].accounts&&n.params[0].accounts instanceof Array){const t=n.params[0].accounts.map((t=>Yn(t)));e(t[0])}},this.connector.on("session_update",n)}return n}off(t,e){switch(t){case"account":this.connector.off("session_update")}}async transactionCount({blockchain:t,address:e}){const n=await iA(t,e);return n?await n.transactionCount():await bL({blockchain:t,method:"transactionCount",address:e})}async sign(t){let e=await this.connectedTo(),n=await this.account();if(await iA(e,n))throw{message:"Smart contract wallets are not supported for signing!",code:"SMART_CONTRACT_WALLET_NOT_SUPPORTED"};var r=[fr(t),n];return await this.connector.signPersonalMessage(r)}}yA.__initStatic(),yA.__initStatic2(),yA.getConnectedInstance=pA,yA.setConnectedInstance=mA;const vA=({transaction:t,provider:e,signer:n})=>t.method?bA({transaction:t,signer:n,provider:e}):wA({transaction:t,signer:n}),bA=({transaction:t,signer:e,provider:n})=>{let r=new bu(t.to,t.api,n),i=t.getContractArguments({contract:r}),o=r.connect(e)[t.method];return i?o(...i,{value:xL.bigNumberify(t.value,t.blockchain)}):o({value:xL.bigNumberify(t.value,t.blockchain)})},wA=({transaction:t,signer:e})=>e.sendTransaction({to:t.to,value:xL.bigNumberify(t.value,t.blockchain)}),MA=()=>window._connectedWalletLinkInstance,kA=t=>{window._connectedWalletLinkInstance=t};class LA{static __initStatic(){this.info={name:"Coinbase",logo:_L.info.logo,blockchains:AL.evm}}static __initStatic2(){this.isAvailable=async()=>null!=MA()}constructor(){this.name=this.constructor.info.name,this.logo=this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.connector=LA.instance||this.newWalletLinkInstance(),this.sendTransaction=t=>(async({transaction:t,wallet:e})=>{if(t=new xL(t),0==await e.connectedTo(t.blockchain)&&await e.switchTo(t.blockchain),0==await e.connectedTo(t.blockchain))throw{code:"WRONG_NETWORK"};await t.prepare({wallet:e});let n=new zc(e.connector,"any"),r=n.getSigner(0);return await vA({transaction:t,provider:n,signer:r}).then((e=>{if(!e)throw"Submitting transaction failed!";t.id=e.hash,t.nonce=e.nonce,t.url=st.findByName(t.blockchain).explorerUrlFor({transaction:t}),t.sent&&t.sent(t),e.wait(1).then((()=>{t._succeeded=!0,t.succeeded&&t.succeeded(t)})).catch((e=>{e&&e.code&&"TRANSACTION_REPLACED"==e.code?(e.replacement&&e.replacement.hash&&(t.id=e.replacement.hash,t.url=st.findByName(t.blockchain).explorerUrlFor({transaction:t})),e.replacement&&e.replacement.hash&&e.receipt&&1==e.receipt.status?(t._succeeded=!0,t.succeeded&&t.succeeded(t)):e.replacement&&e.replacement.hash&&e.receipt&&0==e.receipt.status&&(t._failed=!0,t.failed&&t.failed(t,e))):(t._failed=!0,t.failed&&t.failed(t,e))}))})),t})({wallet:this,transaction:t})}newWalletLinkInstance(){return new LL({}).makeWeb3Provider()}async account(){if(null!=this.connectedAccounts)return Yn(this.connectedAccounts[0])}async connect(t){(await this.connector._relayProvider()).setConnectDisabled(!1);let e=await this.connector.enable();return e instanceof Array&&e.length&&kA(this),e=e.map((t=>Yn(t))),this.connectedAccounts=e,this.connectedChainId=await this.connector.getChainId(),e[0]}async connectedTo(t){let e=await this.connector.getChainId();const n=st.findByNetworkId(e);return t?t===n.name:n.name}switchTo(t){return new Promise(((e,n)=>{const r=st.findByName(t);this.connector.request({method:"wallet_switchEthereumChain",params:[{chainId:r.id}]}).then(e).catch((r=>{4902===r.code?this.addNetwork(t).then((()=>this.switchTo(t).then(e))).catch(n):n(r)}))}))}addNetwork(t){return new Promise(((e,n)=>{const r=st.findByName(t);this.connector.request({method:"wallet_addEthereumChain",params:[{chainId:r.id,chainName:r.fullName,nativeCurrency:{name:r.currency.name,symbol:r.currency.symbol,decimals:r.currency.decimals},rpcUrls:[r.rpc],blockExplorerUrls:[r.explorer],iconUrls:[r.logo]}]}).then(e).catch(n)}))}on(t,e){let n;switch(t){case"account":n=t=>e(Yn(t[0])),this.connector.on("accountsChanged",n)}return n}off(t,e){switch(t){case"account":this.connector.removeListener("accountsChanged",e)}return e}transactionCount({blockchain:t,address:e}){return bL({blockchain:t,method:"transactionCount",address:e})}async sign(t){await this.account();let e=new zc(this.connector,"any").getSigner(0);return await e.signMessage(t)}}LA.__initStatic(),LA.__initStatic2(),LA.getConnectedInstance=MA,LA.setConnectedInstance=kA;var AA={MetaMask:BL,Phantom:VL,Coinbase:_L,Binance:jL,Trust:qL,Backpack:$L,Glow:XL,Solflare:KL,Rabby:tA,Brave:CL,Opera:RL,Coin98:DL,CryptoCom:zL,HyperPay:PL,WindowEthereum:TL,WindowSolana:ZL,WalletConnectV1:yA,WalletLink:LA};const xA=async t=>{let e=t&&"function"==typeof t.drip?t.drip:void 0;return(await Promise.all(Object.keys(AA).map((async t=>{let n=AA[t];if(await n.isAvailable()){let t;return n.getConnectedInstance?(t=await n.getConnectedInstance(),e&&e(t),t):(e&&e(n),new n)}})))).filter(Boolean)};AA.MetaMask,AA.Phantom,AA.Coinbase,AA.Binance,AA.Trust,AA.Backpack,AA.Glow,AA.Solflare,AA.Rabby,AA.Brave,AA.Opera,AA.Coin98,AA.CryptoCom,AA.HyperPay,AA.WalletConnectV1,AA.WalletLink,AA.WindowEthereum;var EA=["ethereum","bsc","polygon","solana"];EA.evm=["ethereum","bsc","polygon"],EA.solana=["solana"];var NA=[{name:"Coinbase",extension:"Coinbase",link:"WalletLink",mobile:{ios:{native:"cbwallet://dapp",universal:"https://go.cb-w.com/dapp"},android:{native:"cbwallet://dapp",universal:"https://go.cb-w.com/dapp"}},logo:AA.Coinbase.info.logo,blockchains:Z(EA.evm)},{name:"MetaMask",extension:"MetaMask",link:"WalletConnectV1",mobile:{ios:{native:"metamask:",encoded:!1,universal:"https://metamask.app.link"},android:{native:"metamask:",encoded:!1,universal:"https://metamask.app.link"}},logo:AA.MetaMask.info.logo,blockchains:Z(EA.evm)},{name:"Phantom",extension:"Phantom",logo:AA.Phantom.info.logo,blockchains:Z(EA.solana)},{name:"Trust Wallet",extension:"Trust",link:"WalletConnectV1",mobile:{ios:{native:"trust:",universal:"https://link.trustwallet.com"},android:{native:"trust:",universal:"https://link.trustwallet.com"}},logo:AA.Trust.info.logo,blockchains:Z(EA.evm)},{name:"Binance Wallet",extension:"Binance",link:"WalletConnectV1",logo:AA.Binance.info.logo,blockchains:Z(EA.evm)},{name:"Crypto.com | DeFi Wallet",extension:"CryptoCom",link:"WalletConnectV1",desktop:{native:"cryptowallet:"},mobile:{ios:{native:"cryptowallet:",universal:"https://wallet.crypto.com"},android:{native:"wc:",universal:"https://wallet.crypto.com"}},logo:AA.CryptoCom.info.logo,blockchains:Z(EA.evm)},{name:"Coin98",extension:"Coin98",link:"WalletConnectV1",mobile:{ios:{native:"coin98:",universal:"https://coin98.com"},android:{native:"coin98:",universal:"https://coin98.com"}},logo:AA.Coin98.info.logo,blockchains:Z(EA.evm)},{name:"Brave",extension:"Brave",logo:AA.Brave.info.logo,blockchains:Z(EA.evm)},{name:"Rainbow",link:"WalletConnectV1",mobile:{ios:{universal:"https://rnbwapp.com"},android:{native:"rainbow:",universal:"https://rnbwapp.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7a33d7f1-3d12-4b5c-f3ee-5cd83cb1b500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Uniswap Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://uniswap.org/app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/bff9cf1f-df19-42ce-f62a-87f04df13c00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Safe",link:"WalletConnectV1",mobile:{ios:{native:"gnosissafe:",universal:"https://gnosis-safe.io/"},android:{native:"gnosissafe:",universal:"https://gnosis-safe.io/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a1cb2777-f8f9-49b0-53fd-443d20ee0b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Rabby",extension:"Rabby",link:"WalletConnectV1",logo:AA.Rabby.info.logo,blockchains:Z(EA.evm)},{name:"Backpack",extension:"Backpack",logo:AA.Backpack.info.logo,blockchains:Z(EA.solana)},{name:"Glow",extension:"Glow",logo:AA.Glow.info.logo,blockchains:Z(EA.solana)},{name:"Solflare",extension:"Solflare",logo:AA.Solflare.info.logo,blockchains:Z(EA.solana)},{name:"imToken",link:"WalletConnectV1",mobile:{ios:{native:"imtokenv2:"},android:{native:"imtokenv2:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1991f85d-43d4-4165-3502-cd6ef8312b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"MEW wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://mewwallet.com"},android:{universal:"https://mewwallet.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e2024511-2c9b-46d7-3111-52df3d241700?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"ONTO",link:"WalletConnectV1",mobile:{ios:{native:"ontoprovider:"},android:{native:"ontoprovider:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d22b2a4b-5562-49ba-506b-6d5986914600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Zerion",link:"WalletConnectV1",desktop:{native:"zerion://"},mobile:{ios:{native:"zerion://",universal:"https://wallet.zerion.io"},android:{native:"zerion://",universal:"https://wallet.zerion.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f216b371-96cf-409a-9d88-296392b85800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Spot",link:"WalletConnectV1",mobile:{ios:{native:"spot://",universal:"https://spot.so"},android:{native:"spot://",universal:"https://spot.so"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1bf33a89-b049-4a1c-d1f6-4dd7419ee400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"BitKeep",link:"WalletConnectV1",mobile:{ios:{native:"bitkeep://",universal:"https://bkapp.vip"},android:{native:"bitkeep://",universal:"https://bkapp.vip"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3f7075d0-4ab7-4db5-404d-3e4c05e6fe00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Unstoppable Domains",link:"WalletConnectV1",mobile:{ios:{universal:"https://unstoppabledomains.com/mobile"},android:{universal:"https://unstoppabledomains.com/mobile"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4725dda0-4471-4d0f-7adf-6bbe8b929c00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Omni",link:"WalletConnectV1",mobile:{ios:{native:"omni",universal:"https://links.omni.app"},android:{native:"omni",universal:"https://links.omni.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2cd67b4c-282b-4809-e7c0-a88cd5116f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"KEYRING PRO",link:"WalletConnectV1",mobile:{ios:{native:"keyring:",universal:"https://keyring.app"},android:{native:"keyring:",universal:"https://keyring.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/dda0f0fb-34e8-4a57-dcea-b008e7d1ff00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"TokenPocket",link:"WalletConnectV1",mobile:{ios:{native:"tpoutside:"},android:{native:"tpoutside:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f3119826-4ef5-4d31-4789-d4ae5c18e400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"BitPay",link:"WalletConnectV1",mobile:{ios:{native:"bitpay:",universal:"https://link.bitpay.com/wallet"},android:{native:"bitpay:",universal:"https://link.bitpay.com/wallet"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/97d4429f-eaf0-4302-87f5-9d26d46fe700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"MathWallet",link:"WalletConnectV1",mobile:{ios:{native:"mathwallet:",universal:"https://www.mathwallet.org"},android:{native:"mathwallet:",universal:"https://www.mathwallet.org"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/26a8f588-3231-4411-60ce-5bb6b805a700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"WallETH",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8b59dafd-9150-46be-9793-34e6d3298100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Ledger Live",link:"WalletConnectV1",desktop:{native:"ledgerlive:"},mobile:{ios:{native:"ledgerlive:"},android:{native:"ledgerlive:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a7f416de-aa03-4c5e-3280-ab49269aef00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",connectionLink:!0,blockchains:Z(EA.evm)},{name:"Authereum",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/deb6ec25-fcec-4b1b-c536-df3b4fb92b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"1inch Wallet",link:"WalletConnectV1",mobile:{ios:{native:"1inch:",universal:"https://wallet.1inch.io"},android:{native:"1inch:",universal:"https://wallet.1inch.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/dce1ee99-403f-44a9-9f94-20de30616500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"iToken Wallet",link:"WalletConnectV1",mobile:{ios:{native:"huobiwallet:"},android:{native:"huobiwallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/5cd60c34-038d-470c-c024-d58f64260200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Eidoo",link:"WalletConnectV1",mobile:{ios:{native:"eidoo:",universal:"https://eidoo.io/crypto-wallet"},android:{native:"eidoo:",universal:"https://eidoo.io/crypto-wallet"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ef5b8bcf-00d5-457d-e161-9911e4788700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"TrustVault",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/fc5e0354-cc1e-490d-fb62-477e83148000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Atomic",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/adb1ed3f-722c-48a0-441f-c75038a9a300?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"CoolWallet",link:"WalletConnectV1",mobile:{ios:{native:"coolwallet:"},android:{native:"coolwallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f581365d-e844-4d21-8e35-44a755a32d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Unstoppable Wallet",link:"WalletConnectV1",mobile:{ios:{native:"moneyunstoppable:",universal:"https://unstoppable.money"},android:{native:"moneyunstoppable:",universal:"https://unstoppable.money"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/5c38b22c-adb9-4899-3252-6e3d71458500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Alice",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/bd1ce165-9b3a-4925-73c1-b329ca13e900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"AlphaWallet",link:"WalletConnectV1",mobile:{ios:{native:"awallet:",universal:"https://aw.app"},android:{native:"awallet:",universal:"https://aw.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/5b1cddfb-056e-4e78-029a-54de5d70c500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Pillar",link:"WalletConnectV1",mobile:{ios:{native:"pillarwallet:"},android:{native:"pillarwallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/0eb8230d-ce4c-42fb-2a57-a84a6eb7ea00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"D'CENT Wallet",link:"WalletConnectV1",mobile:{ios:{native:"dcent:",universal:"https://link.dcentwallet.com"},android:{native:"dcent:",universal:"https://link.dcentwallet.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1efb49ec-2bab-4fa1-f2f2-4392c64ed000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ZelCore",link:"WalletConnectV1",mobile:{ios:{native:"zel:",universal:"https://link.zel.network"},android:{native:"zel:",universal:"https://link.zel.network"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/97d45a92-a1f0-46da-95a6-ad5db99f3500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Nash",link:"WalletConnectV1",mobile:{ios:{native:"nash:",universal:"https://nash.io/walletconnect"},android:{native:"nash:",universal:"https://nash.io/walletconnect"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/12f981b1-bb0a-4115-009f-317255979600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Coinomi",link:"WalletConnectV1",mobile:{ios:{universal:"https://coinomi.page.link"},android:{universal:"https://coinomi.page.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3b446d16-a908-40c8-5835-9a6efe90dd00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"GridPlus",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3c928cbd-39dc-4090-c372-d4dcb3c89500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"CYBAVO Wallet",link:"WalletConnectV1",mobile:{ios:{native:"cybavowallet:",universal:"https://cdn.cybavo.com"},android:{native:"cybavowallet:",universal:"https://cdn.cybavo.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3117d3ce-b973-4cfd-8fb5-f5d72ed3c200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Tokenary",link:"WalletConnectV1",desktop:{native:"tokenary:",universal:"https://tokenary.io"},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/5e481041-dc3c-4a81-373a-76bbde91b800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Torus",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/47d03b65-6be7-4004-5dba-7dadef6e6000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Spatium",link:"WalletConnectV1",mobile:{ios:{universal:"https://caspiantechnologies.bitbucket.io"},android:{universal:"https://caspiantechnologies.bitbucket.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e85caf96-8e6c-4ac5-5bb3-c13ac7edc700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"SafePal",link:"WalletConnectV1",mobile:{ios:{universal:"https://link.safepal.io"},android:{universal:"https://link.safepal.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/14096232-7483-425b-f9a9-658f94fe7100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Infinito",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b07624f3-fb36-45a4-200c-6cb2a930ef00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"wallet.io",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/82cdf116-4355-4e07-88e4-63dc2e253500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Infinity Wallet",link:"WalletConnectV1",desktop:{native:"infinity:",universal:"https://infinitywallet.io/"},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/9f259366-0bcd-4817-0af9-f78773e41900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Ownbit",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/83b291fa-1a08-4871-3ddb-8faa8be6f200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bridge Wallet",link:"WalletConnectV1",mobile:{ios:{native:"bridgewallet:",universal:"https://bridge.mtpelerin.com"},android:{native:"bridgewallet:",universal:"https://bridge.mtpelerin.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/989d504f-93db-4ca6-c00a-9d1faf177d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"SparkPoint",link:"WalletConnectV1",mobile:{ios:{native:"sparkpoint:",universal:"https://sparkpoint.io"},android:{native:"sparkpoint:",universal:"https://sparkpoint.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/34c4f901-70de-4507-e7a0-bc7887843000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ViaWallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ffc3ba49-2e6b-4baa-304d-ebb253f74700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Vision",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c279537a-920d-422c-6a65-8b3bd524c300?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"PEAKDEFI Wallet",link:"WalletConnectV1",mobile:{ios:{native:"peakdefiwallet:",universal:"https://peakdefi.com/download"},android:{native:"peakdefiwallet:",universal:"https://peakdefi.com/download"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/744a3fbe-4261-4148-133e-49c5b58cb400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Dok Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/6886f45d-1451-41ec-ebc7-b18bebfc3c00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"AT.Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a5b7369b-d92c-41a4-0263-ca28f4597600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Midas Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4b7268e6-47fb-46bc-6f3c-424f44695f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Ellipal",link:"WalletConnectV1",mobile:{ios:{native:"ellipal:",universal:"https://www.ellipal.com/"},android:{native:"ellipal:",universal:"https://www.ellipal.com/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/0a805e10-bfc0-4d02-d9c1-8cec88f0dc00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Aktionariat",link:"WalletConnectV1",mobile:{ios:{native:"aktionariat:",universal:"https://app.aktionariat.com"},android:{native:"aktionariat:",universal:"https://app.aktionariat.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/6d18e8ea-b536-4038-c5bf-94a499d5a400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Talken Wallet",link:"WalletConnectV1",mobile:{ios:{native:"talken-wallet:",universal:"https://talken.io"},android:{native:"talken-wallet:",universal:"https://talken.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1afb5a3a-2da3-40ce-baf9-b416e7510600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"XinFin XDC Network",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/bee71890-cdbe-4a9a-0d51-6cc75078f600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"KyberSwap",link:"WalletConnectV1",mobile:{ios:{native:"kyberswap:",universal:"https://kyberswapnew.app.link"},android:{native:"kyberswap:",universal:"https://kyberswapnew.app.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3abd1720-260e-495a-2e31-3d0b349e0d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Tongue Wallet",link:"WalletConnectV1",mobile:{ios:{native:"tongue:",universal:"https://www.tongue.fi"},android:{native:"tongue:",universal:"https://www.tongue.fi"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/20bc4fdb-b9e6-429a-8cba-c233b3273000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"RWallet",link:"WalletConnectV1",mobile:{ios:{native:"rwallet:",universal:"https://www.rwallet.app"},android:{native:"rwallet:",universal:"https://www.rwallet.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a883229c-26cb-4c19-9b34-1f0ed4012a00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"PlasmaPay",link:"WalletConnectV1",mobile:{ios:{native:"plasmapay:",universal:"https://plasmapay.com/"},android:{native:"plasmapay:",universal:"https://plasmapay.com/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/466c8fd0-fcec-4621-b94f-e91ce1439f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"O3Wallet",link:"WalletConnectV1",mobile:{ios:{native:"o3wallet:",universal:"https://o3.network"},android:{native:"o3wallet:",universal:"https://o3.network"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e1c7c6af-c731-463e-55f0-5e686e9f6200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"HashKey Me",link:"WalletConnectV1",mobile:{ios:{native:"hashme:",universal:"https://me.hashkey.com"},android:{native:"hashme:",universal:"https://me.hashkey.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/72734fac-9500-4c2c-81ba-678f7fc32700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Jade Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8a6f6b6f-9e25-43d2-6cb8-42013579bd00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Guarda Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/0142b5f2-2006-465f-fe0e-2021225d8c00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Defiant",link:"WalletConnectV1",mobile:{ios:{native:"defiantapp:",universal:"https://defiantapp.tech"},android:{native:"defiantapp:",universal:"https://defiantapp.tech"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/026462e7-09a3-47f6-6b46-49df18133b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Trustee Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2432f3c2-83f1-486b-6081-d03acc33e000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"CoinUs",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1f92f9f9-08b9-4eca-4d75-425ce3d50100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"cmorq",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4e9f4558-32a2-46c9-be37-4926a6e95100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Valora",link:"WalletConnectV1",mobile:{ios:{native:"celo://wallet",universal:"https://valoraapp.com"},android:{native:"celo://wallet",universal:"https://valoraapp.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a03bfa44-ce98-4883-9b2a-75e2b68f5700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"QuiverX",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/67acf8ad-da61-4b7f-609b-57224fb8b100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Celo Wallet",link:"WalletConnectV1",mobile:{ios:{native:"celowallet:"},android:{native:"celowallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/482c9981-61c0-4782-84ec-c80fd997da00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Elastos Essentials",link:"WalletConnectV1",mobile:{ios:{native:"essentials:",universal:"https://essentials.elastos.net"},android:{native:"essentials:",universal:"https://essentials.elastos.net"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/04a6bfed-d80e-4f7b-0516-261f86aa4000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"fuse.cash",link:"WalletConnectV1",mobile:{ios:{native:"fuse.cash:",universal:"https://app.fuse.cash/"},android:{native:"fuse.cash:",universal:"https://app.fuse.cash/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/71828267-72d6-4680-e144-265e6dc1e400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Stasis",link:"WalletConnectV1",mobile:{ios:{native:"stasis:",universal:"https://app.stasis.net"},android:{native:"stasis:",universal:"https://app.stasis.net"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7ae753bc-a754-450c-2d90-2c5521734400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"JulWallet",link:"WalletConnectV1",mobile:{ios:{native:"julwallet:",universal:"https://justliquidity.org"},android:{native:"julwallet:",universal:"https://justliquidity.org"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/cabd50de-22fa-487b-ce68-2c63de8bb800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"f(x) Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4d5c5c70-5abb-43ba-fc5e-577b6e403300?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bull App",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b3c42bfd-5078-4616-a2ad-e4e322bbf600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Anybit",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/6aac5fb1-d400-4e81-4709-bef8b2c00900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bitpie",link:"WalletConnectV1",mobile:{ios:{native:"bitpie:"},android:{native:"bitpie:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f9b7c668-ed26-47f7-d8c9-7eadc7114800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Minerva Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7d5f3710-7c2c-49fc-7893-bacd3f384000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ArchiPage",link:"WalletConnectV1",mobile:{ios:{native:"archipage:"},android:{native:"archipage:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b62c4f22-e781-4ca9-5c01-ef7cd9d23400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Tangem",link:"WalletConnectV1",mobile:{ios:{native:"tangem:",universal:"https://app.tangem.com"},android:{native:"tangem:",universal:"https://app.tangem.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8a5b6e94-e378-458d-bf2e-017cc7958e00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Chainge Finance",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/addaaf64-cf13-46ef-a022-d97189156f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ioPay",link:"WalletConnectV1",mobile:{ios:{native:"iopay:"},android:{native:"iopay:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/aa40d575-f7f4-4aa6-12c4-c8f055ad0800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Coinhub",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/cd7d6974-739b-46d7-bd10-604222e16e00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Go Pocket",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2494a686-3e07-4e9b-15ef-3605dca32a00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Wallet 3",link:"WalletConnectV1",desktop:{native:"wallet3:"},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d740b48c-2b55-4a27-b5f5-d2188200ca00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"yiToken",link:"WalletConnectV1",mobile:{ios:{native:"yitoken:"},android:{native:"yitoken:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b5cc13d4-2a58-4142-08dd-5596ab253800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"DID Wallet",link:"WalletConnectV1",mobile:{ios:{native:"abt:"},android:{native:"abt:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/673b7f3b-a555-4327-f9b7-fefa535bc500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"StarBase",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2bd78dfd-37d9-4334-8afb-17544b85f200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Shinobi Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f5cf868c-5347-4d5e-e80f-c6ece8fcb600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"AirGap Wallet",link:"WalletConnectV1",mobile:{ios:{native:"airgap-wallet://"},android:{native:"airgap-wallet://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/76bfe8cd-cf3f-4341-c33c-60da01065000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"PayTube",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/58230f60-6c7b-400c-ab96-cb1fd0391700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"SecuX",link:"WalletConnectV1",mobile:{ios:{native:"secux://",universal:"https://wsweb.secuxtech.com"},android:{native:"secux://",universal:"https://wsweb.secuxtech.com"}},logo:"https://explorer-api.walletconnect.com/w3m/v1/getWalletImage/6013a9a1-4a67-45bb-fc24-27c11eb13900?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"BlockBank",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/5b2cc39f-bc4f-4ac1-b6d7-08bcc9066a00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Orange",link:"WalletConnectV1",mobile:{ios:{native:"orangewallet:",universal:"https://link.orangewallet.app"},android:{native:"orangewallet:",universal:"https://link.orangewallet.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7fcbf9f0-0c0b-439d-3fdb-31b32c28df00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"NEFTiPEDiA",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3f503c40-d5f0-4430-b996-3126a9968c00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Krystal",link:"WalletConnectV1",mobile:{ios:{native:"krystalWallet:"},android:{native:"krystalWallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/91449cb2-57b0-4bb6-481b-47d489f7a800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Ambire Wallet",link:"WalletConnectV1",mobile:{ios:{native:"ambire:",universal:"https://mobile.ambire.com"},android:{native:"ambire:",universal:"https://mobile.ambire.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c39b3a16-1a38-4588-f089-cb7aeb584700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"PayBolt",link:"WalletConnectV1",mobile:{ios:{native:"paybolt://Wallet"},android:{native:"paybolt://Wallet"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/cc8f4e0c-56a8-465a-6cb6-3e9d60846500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"OKX Wallet",link:"WalletConnectV1",mobile:{ios:{native:"okex://main"},android:{native:"okex://main"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/45f2f08e-fc0c-4d62-3e63-404e72170500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Backpack",link:"WalletConnectV1",mobile:{ios:{native:"ndj-backpack:",universal:"https://jxndao.com"},android:{native:"ndj-backpack:",universal:"https://jxndao.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e46f132d-6e05-4d51-8720-43727446e600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Mask Network",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/51fa27fd-8a21-4de0-c084-528e4a37ad00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Uniblow",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3aa86daa-b885-4686-c443-83355e1b3b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Autonomy: Digital Art Wallet",link:"WalletConnectV1",mobile:{ios:{native:"autonomy-wc",universal:"https://autonomy.io/apps/wc"},android:{native:"autonomy-wc",universal:"https://autonomy.io/apps/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2ee7c9db-9a86-4cd6-0d32-5053b4636100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Lilico",link:"WalletConnectV1",mobile:{ios:{native:"lilico://",universal:"https://link.lilico.app/wc"},android:{native:"lilico://",universal:"https://link.lilico.app/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/70c0bc88-7bb1-4c1f-3531-9a5f799fb100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Fireblocks",link:"WalletConnectV1",desktop:{universal:"https://console.fireblocks.io/v2"},mobile:{ios:{native:"fireblocks-wc://"},android:{native:"fireblocks-wc://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7e1514ba-932d-415d-1bdb-bccb6c2cbc00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"WATT ME",link:"WalletConnectV1",mobile:{ios:{native:"wattwallet://wallet-connect/"},android:{native:"wattwallet://wallet-connect/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/38c619c4-5365-4de5-09b2-cdde8caf3600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Coingrig",link:"WalletConnectV1",mobile:{ios:{native:"coingrig://",universal:"https://link.coingrig.com"},android:{native:"coingrig://",universal:"https://link.coingrig.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/18e38e41-a387-4402-ca31-6d2d5eb91100?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Cryptnox Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2947b7c8-8966-4485-a98d-25fe43c16700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"bobablocks",link:"WalletConnectV1",desktop:{native:"bobablocks://"},mobile:{ios:{native:"bobablocks://",universal:"https://app.bobablocks.io"},android:{native:"bobablocks://",universal:"https://app.bobablocks.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/aff8973b-e093-45b5-4858-c01dd043bc00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Plasma Wallet",link:"WalletConnectV1",mobile:{ios:{native:"plasmawallet:",universal:"https://plasma-wallet.com"},android:{native:"plasmawallet:",universal:"https://plasma-wallet.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c268e78d-ffb0-4c8b-5cad-04c3add48500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Holdstation Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/27553327-b647-4bfb-8524-b7558e804400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"FirstWallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/864565a8-66ab-4b50-fda6-1c29128f6b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"HUMBL WALLET",link:"WalletConnectV1",mobile:{ios:{native:"humblwallet:",universal:"https://wallet.search3.com"},android:{native:"humblwallet:",universal:"https://wallet.search3.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1ac55ba2-aa98-4ed0-59b3-b3155dea4200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Zelus",link:"WalletConnectV1",mobile:{ios:{native:"zeluswallet://"},android:{native:"zeluswallet://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/aeba2105-6c84-4642-f441-b3f5817ac400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Earth Wallet",link:"WalletConnectV1",mobile:{ios:{native:"earthwallet:"},android:{native:"earthwallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d3f724c4-f99b-476f-10f8-12aa4af13800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Boba Multisig",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/5acb31bf-151e-4ae6-02bd-f109ca47b600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"EASY",link:"WalletConnectV1",mobile:{ios:{native:"co.theeasy.app://",universal:"https://link.easy.me"},android:{native:"co.theeasy.app://",universal:"https://link.easy.me"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/62feb41a-be1f-4b1c-e089-27f97c0e8d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ISLAMIwallet",link:"WalletConnectV1",mobile:{ios:{native:"poc://islamiwallet.com",universal:"https://islamiwallet.com"},android:{native:"poc://islamiwallet.com",universal:"https://islamiwallet.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8d723c78-28ad-4610-901f-ea391d7e8d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Card Wallet",link:"WalletConnectV1",mobile:{ios:{native:"cardwallet://",universal:"https://wallet.cardstack.com"},android:{native:"cardwallet://",universal:"https://wallet.cardstack.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/325428cf-c212-4d83-a434-7f48902d2c00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"GameStop Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c12536e0-dff1-4a1a-6c8f-c7247d6aa200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"RealT Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/bf1f251b-08a5-4b27-ae4a-201a5f698900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"PLTwallet",link:"WalletConnectV1",mobile:{ios:{native:"pltwallet:",universal:"https://pltwallet.io/"},android:{native:"pltwallet:",universal:"https://pltwallet.io/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a5d9dd15-8cef-42de-8bed-09e01a8b0200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Avacus",link:"WalletConnectV1",mobile:{ios:{native:"avacus://",universal:"https://avacus.app.link"},android:{native:"avacus://",universal:"https://avacus.app.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a7106965-91cc-4a73-4688-c5c72ae0ed00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"StrikeX Wallet",link:"WalletConnectV1",mobile:{ios:{native:"strikex://"},android:{native:"strikex://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/cae46de2-b432-4002-8bc8-1f0e7380b200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"BCERTin wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e321346d-5ce7-4e75-371e-e4f0bf923900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bycoin",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/980b0c5f-353d-4643-1ee8-d9264ec30000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Edge Wallet",link:"WalletConnectV1",mobile:{ios:{native:"edge://",universal:"https://deep.edge.app/wc"},android:{native:"edge://",universal:"https://deep.edge.app/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f601bc29-4298-422f-dbf7-34dac2884f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Freedom Wallet",link:"WalletConnectV1",mobile:{ios:{native:"freedom-wallet://"},android:{native:"freedom-wallet://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/42a6f275-96c8-4cd0-9b7a-acc5f054a800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Assure",link:"WalletConnectV1",mobile:{ios:{native:"assure://",universal:"https://www.assure.pro/Official"},android:{native:"assure://",universal:"https://www.assure.pro/Official"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/64db7104-c8b7-44ea-e102-11ce87124200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Cosmostation",link:"WalletConnectV1",mobile:{ios:{native:"cosmostation://"},android:{native:"cosmostation://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ea26c3c8-adb6-4dc4-ee02-35d6eee02800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"THORWallet",link:"WalletConnectV1",mobile:{ios:{native:"thorwallet:"},android:{native:"thorwallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/19a02756-462c-4e8a-2d32-af0f9bcf3d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"DeFi Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/017d9dc4-dd04-4934-5be8-1d564e924a00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Gryfyn",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/51bb1507-45a1-4d21-15f2-1cc2ebe69400?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"CoinStats",link:"WalletConnectV1",mobile:{ios:{native:"coinstats:",universal:"https://coinstats.app"},android:{native:"coinstats:",universal:"https://coinstats.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f989ab84-650b-4ad5-c342-77f3334f1b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Abra Wallet",link:"WalletConnectV1",mobile:{ios:{native:"abra:"},android:{native:"abra:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2219db01-e0c9-471c-5def-fd3b4e7a7a00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Opera Crypto Browser",link:"WalletConnectV1",mobile:{ios:{native:"cryptobrowser://"},android:{native:"cryptobrowser://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/877fa1a4-304d-4d45-ca8e-f76d1a556f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Pera Wallet",link:"WalletConnectV1",mobile:{ios:{native:"algorand://"},android:{native:"algorand://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d4a1258e-d154-4885-0489-856c33e91e00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Keywallet Touch",link:"WalletConnectV1",mobile:{ios:{native:"keywalletTouch://"},android:{native:"keywalletTouch://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ceefb75b-2632-40c6-7471-ea23d3d49800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Enno Wallet",link:"WalletConnectV1",mobile:{ios:{native:"ennowallet:"},android:{native:"ennowallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ae4f5167-0b61-43bd-7d76-1f8579271000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"SoCap Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/99c0152b-1001-4f24-3293-a9125374f900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Talk+",link:"WalletConnectV1",mobile:{ios:{native:"talkapp:"},android:{native:"talkapp:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d24cdd56-6f55-42da-631b-c25974c36f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"A4 Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7a788c03-daf7-4d93-fa3a-f94e2b719900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bitcoin.com Wallet",link:"WalletConnectV1",mobile:{ios:{native:"bitcoincom://",universal:"https://wallet.bitcoin.com/"},android:{native:"bitcoincom://",universal:"https://wallet.bitcoin.com/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/0d7938e1-9b3b-4d8b-177b-98188c4cf400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Defiant",link:"WalletConnectV1",mobile:{ios:{native:"defiantapp://",universal:"https://defiantapp.tech/"},android:{native:"defiantapp://",universal:"https://defiantapp.tech/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/11a96ca4-3592-42ae-c781-2b7265ec9200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Chain",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f9f3d8da-e791-47d2-98c2-031712617e00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Verso",link:"WalletConnectV1",desktop:{native:"verso"},mobile:{ios:{native:"verso"},android:{native:"verso"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/109d7c90-86ed-4ee0-e17d-3c87624ddf00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"LOBSTR Wallet",link:"WalletConnectV1",mobile:{ios:{native:"lobstr://",universal:"https://lobstr.co/uni/wc"},android:{native:"lobstr://",universal:"https://lobstr.co/uni/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/0dafcaab-0852-47f7-85dd-436b86491d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bifrost Wallet",link:"WalletConnectV1",mobile:{ios:{native:"bifrostwallet:",universal:"https://app.bifrostwallet.com"},android:{native:"bifrostwallet:",universal:"https://app.bifrostwallet.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/86be07e2-6652-4fd1-5f33-651682c95400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Okse Wallet",link:"WalletConnectV1",mobile:{ios:{native:"oksewallet:"},android:{native:"oksewallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8a1b36d5-7f40-403a-7000-5d30f9181200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"BRISE Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/09a4e1d9-e4de-44fa-f248-5495ba9ab300?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"LZ Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e3272444-3876-49d3-2f84-004b818d3800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"HyperPay",extension:"HyperPay",link:"WalletConnectV1",logo:AA.HyperPay.info.logo,blockchains:Z(EA.evm)},{name:"ATON",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2e85f1d1-f498-4cae-bb54-1d40614ee300?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Frontier",link:"WalletConnectV1",mobile:{ios:{native:"frontier://"},android:{native:"frontier://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a78c4d48-32c1-4a9d-52f2-ec7ee08ce200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"MDAO Wallet",link:"WalletConnectV1",mobile:{ios:{native:"ttmwalletapp://"},android:{native:"ttmwalletapp://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/82014e92-838b-4e75-e77e-76cdc5539d00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"TTM Wallet",link:"WalletConnectV1",mobile:{ios:{native:"ttmwalletapp:"},android:{native:"ttmwalletapp:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/82014e92-838b-4e75-e77e-76cdc5539d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Dentacoin Wallet",link:"WalletConnectV1",mobile:{ios:{native:"dentacoin-wallet://"},android:{native:"dentacoin-wallet://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/34910dc0-9f3b-4407-115d-673707602900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Opto Wallet",link:"WalletConnectV1",mobile:{ios:{native:"opto://"},android:{native:"opto://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3df102e4-e435-49dd-d4b1-5ea74ebed500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"XFUN Wallet",link:"WalletConnectV1",mobile:{ios:{native:"xfunwallet://",universal:"https://xfun.io"},android:{native:"xfunwallet://",universal:"https://xfun.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a665f8f3-09ef-4d17-2bd0-26dca4518400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Exodus",link:"WalletConnectV1",desktop:{native:"exodus://"},mobile:{ios:{universal:"https://exodus.com/m"},android:{native:"wc://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4c16cad4-cac9-4643-6726-c696efaf5200?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Uvtoken",link:"WalletConnectV1",mobile:{ios:{native:"UvToken://"},android:{native:"UvToken://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/52b9a9fc-caff-469e-033b-6d6f14e41800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"S-ONE Wallet",link:"WalletConnectV1",mobile:{ios:{native:"sone://",universal:"https://sonewallet.app"},android:{native:"sone://",universal:"https://sonewallet.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b3562637-a407-4035-6fa5-a70ff2050400?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"PREMA Wallet",link:"WalletConnectV1",desktop:{native:"premawallet:"},mobile:{ios:{native:"premawallet:",universal:"https://premanft.com"},android:{native:"premawallet:",universal:"https://premanft.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/6487869b-1165-4f30-aa3a-115665be8300?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Shinobi-Wallet",link:"WalletConnectV1",mobile:{ios:{native:"shinobi-wallet://"},android:{native:"shinobi-wallet://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/685c986c-3e80-4701-cec6-cd247ba1a700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ByteBank",link:"WalletConnectV1",mobile:{ios:{native:"hideoutWallet:"},android:{native:"hideoutWallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/bc7aacd6-b2e2-4146-7d21-06e0c5d44f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Ancrypto Wallet",link:"WalletConnectV1",mobile:{ios:{native:"ancrypto://app"},android:{native:"ancrypto://app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d4382329-e288-4d7a-0ac8-3eb0facfb900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bee Wallet",link:"WalletConnectV1",mobile:{ios:{native:"beewallet.app://",universal:"https://beewallet.app/wc"},android:{native:"beewallet.app://",universal:"https://beewallet.app/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f90bc33f-f085-40cf-7538-fae5ae84f900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"LATOKEN Multichain DeFi Wallet",link:"WalletConnectV1",mobile:{ios:{native:"dfwallet:"},android:{native:"dfwallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ff858a37-cbcb-413d-c1ed-917a444bea00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"TK Finance",link:"WalletConnectV1",mobile:{ios:{native:"tk://",universal:"https://trustkeys.network"},android:{native:"tk://",universal:"https://trustkeys.network"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c4066f68-2247-49bf-ac8a-a677bfa81800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Oxalus Wallet",link:"WalletConnectV1",mobile:{ios:{native:"oxalus://",universal:"https://deeplink.oxalus.io"},android:{native:"oxalus://",universal:"https://deeplink.oxalus.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a6e22fcb-6b69-45d2-b52d-a4a347a21e00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"3S Wallet",link:"WalletConnectV1",mobile:{ios:{native:"bhcwallet://"},android:{native:"bhcwallet://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f3b6a89d-ec8f-49dc-e07f-6bf723e1e500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Klever Wallet",link:"WalletConnectV1",mobile:{ios:{native:"kleverwallet:",universal:"https://klever.page.link"},android:{native:"kleverwallet:",universal:"https://klever.page.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8f5bbad8-6a14-4b2c-5343-cc1fca6e4d00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"OneKey",link:"WalletConnectV1",desktop:{native:"onekey-wallet://"},mobile:{ios:{native:"onekey-wallet://",universal:"https://app.onekey.so/wc/connect"},android:{native:"onekey-wallet://",universal:"https://app.onekey.so/wc/connect"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/12bebb3f-8030-4892-8452-c60a6bac1500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"helix id",link:"WalletConnectV1",mobile:{ios:{native:"helix-id://helix-id.com"},android:{native:"helix-id://helix-id.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4083ef71-8389-4682-ded6-0099236d2e00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"CeloDance",link:"WalletConnectV1",mobile:{ios:{native:"celo://wallet/dappkit/celodance"},android:{native:"celo://wallet/dappkit/celodance"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/47c8ab7b-a66c-4949-f0fe-b0c2c169ee00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Volt: DeFi",link:"WalletConnectV1",mobile:{ios:{native:"volt:",universal:"https://get.voltage.finance"},android:{native:"volt:",universal:"https://get.voltage.finance"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/51d783cb-0686-4ffa-e661-edca0c380000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Wirex Wallet",link:"WalletConnectV1",mobile:{ios:{native:"wirexwallet://",universal:"https://wwallet.app.link"},android:{native:"wirexwallet://",universal:"https://wwallet.app.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/769739aa-ff45-4db5-c6e6-70590741ec00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Robinhood Wallet",link:"WalletConnectV1",mobile:{ios:{native:"robinhood-wallet:"},android:{native:"robinhood-wallet:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/dfe0e3e3-5746-4e2b-12ad-704608531500?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"RiceWallet",link:"WalletConnectV1",mobile:{ios:{native:"ricewallet",universal:"https://ricewallet.io"},android:{native:"ricewallet",universal:"https://ricewallet.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/df94578e-19be-4f00-258f-2470343e7b00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"SafeMoon",link:"WalletConnectV1",mobile:{ios:{native:"safemoon:",universal:"https://safemoon.net/"},android:{native:"safemoon:",universal:"https://safemoon.net/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ecc31a8e-0ee9-49db-cc59-0876b7c35600?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"SimpleHold",link:"WalletConnectV1",mobile:{ios:{native:"simplehold://",universal:"https://simplehold.io"},android:{native:"simplehold://",universal:"https://simplehold.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a9f1ba96-b658-4d13-f71f-226b6389f000?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"GoldBit",link:"WalletConnectV1",mobile:{ios:{native:"goldbit://"},android:{native:"goldbit://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/11974ef1-21ab-4806-a2b1-362c31499900?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"ioPay",link:"WalletConnectV1",mobile:{ios:{native:"iopay:"},android:{native:"iopay:"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/18891f5a-fd0f-4126-7d1a-452be6714700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Bitizen",link:"WalletConnectV1",mobile:{ios:{native:"bitizen://wallet",universal:"https://bitizen.org/wallet"},android:{native:"bitizen://wallet",universal:"https://bitizen.org/wallet"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/75dd1471-77e9-4811-ce57-ec8fc980ec00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Slavi Wallet",link:"WalletConnectV1",mobile:{ios:{native:"slaviwallet:",universal:"https://www.slaviwallet.io"},android:{native:"slaviwallet:",universal:"https://www.slaviwallet.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/282ce060-0beb-4236-b7b0-1b34cc6c8f00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Nufinetes",link:"WalletConnectV1",desktop:{native:"vimwallet:/"},mobile:{ios:{native:"vimwallet:/",universal:"https://apple.vimworld.org"},android:{native:"vimwallet:/",universal:"https://apple.vimworld.org"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/70080bd7-9858-4720-cf74-8f74cd74cb00?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Arianee Wallet",link:"WalletConnectV1",mobile:{ios:{native:"com.arianee.wallet",universal:"https://arianee.net"},android:{native:"com.arianee.wallet",universal:"https://arianee.net"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ace938a9-c906-4b9e-f683-b85f1ab72800?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"NOW Wallet",link:"WalletConnectV1",mobile:{ios:{native:"walletnow://",universal:"https://walletnow.app.link"},android:{native:"walletnow://",universal:"https://walletnow.app.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b6ee4efc-f53e-475b-927b-a7ded6211700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Arculus Wallet",link:"WalletConnectV1",mobile:{ios:{native:"arculuswc:",universal:"https://gw.arculus.co/app"},android:{native:"arculuswc:",universal:"https://gw.arculus.co/app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f78dab27-7165-4a3d-fdb1-fcff06c0a700?projectId=ec576959c7769a8b4dbbb3da3f12fef4",blockchains:Z(EA.evm)},{name:"Binana",link:"WalletConnectV1",mobile:{ios:{universal:"https://master.tokenone.app"},android:{universal:"https://master.tokenone.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/65a60845-8fe3-4146-2688-586e4dc68a00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Fundamenta Mobile",link:"WalletConnectV1",mobile:{ios:{universal:"https://app.civiport.online"},android:{universal:"https://app.civiport.online"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/79797f9e-a6c7-4284-1a1c-88332f11ea00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Nitrogen Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://nitrogen.org/wc"},android:{universal:"https://nitrogen.org/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/af185895-cda5-4eaf-e31b-28b6fe4b0800?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"ApolloX",link:"WalletConnectV1",mobile:{ios:{universal:"https://app.apollox.finance"},android:{universal:"https://app.apollox.finance"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/80ab63a2-1b32-4140-3577-9fbc8ea82e00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"ID Pocket",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c227ee0a-5127-4707-ded9-c3cd81348d00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"CoinCircle",link:"WalletConnectV1",mobile:{ios:{universal:"https://coincircle.com/app/walletconnect"},android:{universal:"https://coincircle.com/app/walletconnect"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/eae63a23-c7ba-4f7e-24b3-e6fc69215d00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Dracula Metaverse",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/7259499f-3a9c-4905-d881-19944500d000?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"SahalWallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d29d6426-b6f2-481b-12d8-7b20ec82af00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"UPBOND Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/698e08f3-b452-4c91-9f65-299939396a00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Sequence Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://sequence.app"},android:{universal:"https://sequence.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/b2d5c39c-a485-4efa-5736-a782204e4a00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"LocalTrade Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://ws.lab.localtrade.cc"},android:{universal:"https://ws.lab.localtrade.cc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/fcc60983-74ae-484a-4242-87cb6f05f100?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Loopring Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/2103feda-4fc8-4635-76a7-02a4ed998000?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Vision: Crypto Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://app.vision-crypto.com"},android:{universal:"https://app.vision-crypto.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/64ccf07c-1fba-4473-49e8-dc446e5a5000?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Ballet Crypto",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/542094e6-70d6-4b0d-4c8f-b61cc2c38500?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Pitaka",link:"WalletConnectV1",mobile:{ios:{native:"pitaka://",universal:"https://app.pitaka.io"},android:{native:"pitaka://",universal:"https://app.pitaka.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/691c0716-5213-4b99-e837-079268313800?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"AbsoluteWallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/03797059-fc49-4adc-7b93-503290b62300?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"The Parallel",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/de73fe0b-0244-4373-dea4-bef78ca82e00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"CypherD Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/6dfec0f3-2cbb-4300-b049-d66d28fcf400?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Keplr",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/527324b0-3849-462b-9a1a-72b53bdfea00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"MyWalliD",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e6cff623-9671-4a39-acc7-1c2292d7e100?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Status",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/e131fa98-8c4f-4680-f5b6-6fb77189c900?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Monarch Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://monarchwallet.com"},android:{universal:"https://monarchwallet.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/c664d955-8a1e-4460-3917-4cfcf198f000?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Marble",link:"WalletConnectV1",mobile:{ios:{universal:"https://app.marblewallet.com/"},android:{universal:"https://app.marblewallet.com/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/eb6de921-6824-4f35-6331-8a8b031e7100?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Flooz",link:"WalletConnectV1",mobile:{ios:{universal:"https://wallet.flooz.trade/wc"},android:{universal:"https://wallet.flooz.trade/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/0a04f368-4f56-4c12-0bfa-93b14bb20800?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Blockchain.com",link:"WalletConnectV1",mobile:{ios:{universal:"https://login.blockchain.com/deeplink/login/wallet-connect"},android:{universal:"https://login.blockchain.com/deeplink/login/wallet-connect"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/fc282669-2dbe-44d5-33fc-9168fcf08600?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Dohrnii Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/1bb51ed9-68ed-4012-3082-72dcb7754300?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"UniPass",link:"WalletConnectV1",mobile:{ios:{universal:"https://wallet.unipass.id"},android:{universal:"https://wallet.unipass.id"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/77865965-4322-4ac4-5049-b2af11bf8300?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"ZenGo",link:"WalletConnectV1",mobile:{ios:{universal:"https://get.zengo.com"},android:{universal:"https://get.zengo.com"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/d1794d97-ea1f-4966-be42-9f614bb5d800?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Locker Token",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/37401d35-3fa1-451c-802d-604940315800?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Keeper",link:"WalletConnectV1",mobile:{ios:{universal:"https://link.keeper-wallet.app"},android:{universal:"https://link.keeper-wallet.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/41f6ac85-8f4e-4d9f-b37b-92b43fa7f400?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"XDEFI Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/efec6318-7f96-4b30-9287-6c287660cd00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"BeeWallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/ae53ba0b-4d01-42f6-53d8-cc568409b700?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Numio",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/416ee463-6699-43f7-c0e3-396f0ad3d300?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"UvToken",link:"WalletConnectV1",mobile:{ios:{native:"UvToken://"},android:{native:"UvToken://"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/a0057241-cd91-4a53-7175-016b76bfd900?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Neon Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/322bd6f0-09b5-4595-cb15-0dfab8054800?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Nabox",link:"WalletConnectV1",mobile:{ios:{universal:"https://nabox.io/app/"},android:{universal:"https://nabox.io/app/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3b75e9f7-2ca8-4a33-ed2b-4e8a0c048d00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Snowball",link:"WalletConnectV1",mobile:{ios:{universal:"https://app.snowball.exchange/app"},android:{universal:"https://app.snowball.exchange/app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/313faea4-af8c-41f4-0ed8-98be5d048e00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"KryptoGO Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://kryptogo.page.link"},android:{universal:"https://kryptogo.page.link"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/3ccbd966-97e8-45a0-1ceb-6141a8978e00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Payperless",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4a867e30-44c9-4627-6281-33457b8e2100?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Brave Wallet",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8cecad66-73e3-46ee-f45f-01503c032f00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Crossmint",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/8ad627ec-cbcd-4878-ec5c-3df588055200?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Safematrix",link:"WalletConnectV1",mobile:{ios:{universal:"https://safematrix.io/"},android:{universal:"https://safematrix.io/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/48ea5de9-869a-4994-2402-97afba060900?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"pier",link:"WalletConnectV1",mobile:{ios:{universal:"https://pierwallet.com/wc"},android:{universal:"https://pierwallet.com/wc"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/cf3f0da1-40ec-4940-aebe-df075513d100?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"FILWallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://h5.filwallet.co"},android:{universal:"https://h5.filwallet.co"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f400f6c2-ca6c-487b-654d-e119af247500?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"ParaSwap Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://wallet.paraswap.io/#/"},android:{universal:"https://wallet.paraswap.io/#/"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/73dc6b30-b644-46e6-020c-5926851df600?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Bitski",link:"WalletConnectV1",mobile:{ios:{universal:"https://wallet.bitski.com/walletconnect"},android:{universal:"https://wallet.bitski.com/walletconnect"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/94d94cb5-a94f-47cf-70e6-fe8d3f1c3700?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Hippo Wallet",link:"WalletConnectV1",mobile:{ios:{native:"hippowallet://",universal:"https://hippowallet.io"},android:{native:"hippowallet://",universal:"https://hippowallet.io"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/f9570968-45f7-47c1-3189-98cf60e25c00?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Core",link:"WalletConnectV1",mobile:{ios:{universal:"https://core.app"},android:{universal:"https://core.app"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/35f9c46e-cc57-4aa7-315d-e6ccb2a1d600?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Xcapit",link:"WalletConnectV1",mobile:{ios:{universal:"https://app.xcapit.com/links"},android:{universal:"https://app.xcapit.com/links"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/17f59b75-21b0-4b3f-b024-fe4b9b8d2300?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Paper Wallet",link:"WalletConnectV1",mobile:{ios:{universal:"https://paper.xyz"},android:{universal:"https://paper.xyz"}},logo:"https://explorer-api.walletconnect.com/v3/logo/lg/37d7a10f-d94d-4a56-c30e-267e8afbd500?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"BC Vault",link:"WalletConnectV1",logo:"https://explorer-api.walletconnect.com/v3/logo/lg/4d7bf99f-b2d9-48b0-5d7e-7d64f9a4f700?projectId=a8d876c6f91c3748db621583fad358f1",blockchains:Z(EA.evm)},{name:"Wallet (Ethereum)",extension:"WindowEthereum",logo:AA.WindowEthereum.info.logo,blockchains:Z(EA.evm)},{name:"Wallet (Solana)",extension:"WindowSolana",logo:AA.WindowSolana.info.logo,blockchains:Z(EA.evm)},{name:"WalletConnect",link:"WalletConnectV1",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz48IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjUuNC4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAtLT48c3ZnIHZlcnNpb249JzEuMScgaWQ9J0xheWVyXzEnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycgeG1sbnM6eGxpbms9J2h0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsnIHg9JzBweCcgeT0nMHB4J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NS45LDQ2Ny4xLDIyOS45eicvPjwvZz48L2c+PC9zdmc+Cg==",blockchains:Z(EA.evm)}]; +e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-l)-1,f>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+h],h+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=c}return(f?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?d/u:d*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*m}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ethErrors=void 0;const r=n(87),i=n(103),o=n(88);function a(t,e){const[n,o]=u(e);return new r.EthereumRpcError(t,n||i.getMessageFromCode(t),o)}function s(t,e){const[n,o]=u(e);return new r.EthereumProviderError(t,n||i.getMessageFromCode(t),o)}function u(t){if(t){if("string"==typeof t)return[t];if("object"==typeof t&&!Array.isArray(t)){const{message:e,data:n}=t;if(e&&"string"!=typeof e)throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}e.ethErrors={rpc:{parse:t=>a(o.errorCodes.rpc.parse,t),invalidRequest:t=>a(o.errorCodes.rpc.invalidRequest,t),invalidParams:t=>a(o.errorCodes.rpc.invalidParams,t),methodNotFound:t=>a(o.errorCodes.rpc.methodNotFound,t),internal:t=>a(o.errorCodes.rpc.internal,t),server:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(e,t)},invalidInput:t=>a(o.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>a(o.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>a(o.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>a(o.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>a(o.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>a(o.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>s(o.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>s(o.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>s(o.errorCodes.provider.unsupportedMethod,t),disconnected:t=>s(o.errorCodes.provider.disconnected,t),chainDisconnected:t=>s(o.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:e,message:n,data:i}=t;if(!n||"string"!=typeof n)throw new Error('"message" must be a nonempty string');return new r.EthereumProviderError(e,n,i)}}}},function(t,e,n){(e=t.exports=function(t){t=t.toLowerCase();var n=e[t];if(!n)throw new Error(t+" is not supported (we accept pull requests)");return new n}).sha=n(136),e.sha1=n(137),e.sha224=n(138),e.sha256=n(104),e.sha384=n(139),e.sha512=n(105)},function(t,e,n){var r=n(24),i=n(45),o=n(37).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function l(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,h=0;h<16;++h)n[h]=t.readInt32BE(4*h);for(;h<80;++h)n[h]=n[h-3]^n[h-8]^n[h-14]^n[h-16];for(var d=0;d<80;++d){var f=~~(d/20),p=0|((e=r)<<5|e>>>27)+l(f,i,o,s)+u+n[d]+a[f];u=s,s=o,o=c(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,n){var r=n(24),i=n(45),o=n(37).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function h(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var f=0;f<80;++f){var p=~~(f/20),m=c(r)+h(p,i,o,s)+u+n[f]+a[p]|0;u=s,s=o,o=l(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,n){var r=n(24),i=n(104),o=n(45),a=n(37).Buffer,s=new Array(64);function u(){this.init(),this._w=s,o.call(this,64,56)}r(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=u},function(t,e,n){var r=n(24),i=n(105),o=n(45),a=n(37).Buffer,s=new Array(160);function u(){this.init(),this._w=s,o.call(this,128,112)}r(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,n,r){t.writeInt32BE(e,r),t.writeInt32BE(n,r+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=u},function(t,e,n){var r=n(141),i=n(151),o=n(93);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){var r=n(142),i=n(106),o=n(93),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,c=String.prototype.split,l=Array.prototype.push,h=function(t,e){l.apply(t,u(e)?e:[e])},d=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(t){return d.call(t)},skipNulls:!1,strictNullHandling:!1},m={},g=function t(e,n,o,a,s,l,d,f,g,y,v,b,w,M,k,L){for(var A,x=e,E=L,N=0,S=!1;void 0!==(E=E.get(m))&&!S;){var I=E.get(e);if(N+=1,void 0!==I){if(I===N)throw new RangeError("Cyclic object value");S=!0}void 0===E.get(m)&&(N=0)}if("function"==typeof f?x=f(n,x):x instanceof Date?x=v(x):"comma"===o&&u(x)&&(x=i.maybeMap(x,(function(t){return t instanceof Date?v(t):t}))),null===x){if(s)return d&&!M?d(n,p.encoder,k,"key",b):n;x=""}if("string"==typeof(A=x)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||i.isBuffer(x)){if(d){var T=M?n:d(n,p.encoder,k,"key",b);if("comma"===o&&M){for(var j=c.call(String(x),","),C="",D=0;D0?x.join(",")||null:void 0}];else if(u(f))O=f;else{var z=Object.keys(x);O=g?z.sort(g):z}for(var P=a&&u(x)&&1===x.length?n+"[]":n,B=0;B0?M+w:""}},function(t,e,n){var r=n(91),i=n(147),o=n(149),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),f=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+o(t))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return c(t,r)}else if(u){if(e)return d(e,r)}else if(n)return function(t,e){var n=m(t,e);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(t)return h(t,r)}else if(u){if(e)return p(e,r)}else if(n)return function(t,e){return!!m(t,e)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new s),l(t,r,i)):u?(e||(e=new u),f(e,r,i)):(n||(n={key:{},next:null}),function(t,e,n){var r=m(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,i))}};return r}},function(t,e,n){var r="undefined"!=typeof Symbol&&Symbol,i=n(144);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},function(t,e,n){t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(t,e,n){var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==o.call(e))throw new TypeError(r+e);for(var n,a=i.call(arguments,1),s=function(){if(this instanceof n){var r=e.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,a.concat(i.call(arguments)))},u=Math.max(0,e.length-a.length),c=[],l=0;l-1?i(n):n}},function(t,e,n){var r=n(92),i=n(91),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(r,a,arguments);if(u&&c){var n=u(e,"length");n.configurable&&c(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var h=function(){return s(r,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},function(t,e,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&u&&"function"==typeof u.get?u.get:null,l=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,M=String.prototype.toLowerCase,k=RegExp.prototype.test,L=Array.prototype.concat,A=Array.prototype.join,x=Array.prototype.slice,E=Math.floor,N="function"==typeof BigInt?BigInt.prototype.valueOf:null,S=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,j="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function O(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||k.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-E(-t):E(t);if(r!==t){var i=String(r),o=v.call(e,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,n,"$&_")}var _=n(150),z=_.custom,P=W(z)?z:null;function B(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function R(t){return b.call(String(t),/"/g,""")}function U(t){return!("[object Array]"!==H(t)||j&&"object"==typeof t&&j in t)}function Q(t){return!("[object RegExp]"!==H(t)||j&&"object"==typeof t&&j in t)}function W(t){if(T)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!I)return!1;try{return I.call(t),!0}catch(t){}return!1}t.exports=function t(e,n,r,i){var s=n||{};if(F(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!F(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=s.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var r=e.length-n.maxStringLength,i="... "+r+" more character"+(r>1?"s":"");return t(v.call(e,0,n.maxStringLength),n)+i}return B(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z),"single",n)}(e,s);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var w=String(e);return m?O(e,w):w}if("bigint"==typeof e){var k=String(e)+"n";return m?O(e,k):k}var E=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=E&&E>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var S=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=A.call(Array(t.indent+1)," ")}return{base:n,prev:A.call(Array(e+1),n)}}(s,r);if(void 0===i)i=[];else if(G(i,e)>=0)return"[Circular]";function z(e,n,o){if(n&&(i=x.call(i)).push(n),o){var a={depth:s.depth};return F(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,r+1,i)}return t(e,s,r+1,i)}if("function"==typeof e&&!Q(e)){var Y=function(t){if(t.name)return t.name;var e=y.call(g.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),$=K(e,z);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+($.length>0?" { "+A.call($,", ")+" }":"")}if(W(e)){var tt=T?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(e);return"object"!=typeof e||T?tt:V(tt)}if(function(t){return!(!t||"object"!=typeof t)&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)}(e)){for(var et="<"+M.call(String(e.nodeName)),nt=e.attributes||[],rt=0;rt"}if(U(e)){if(0===e.length)return"[]";var it=K(e,z);return S&&!function(t){for(var e=0;e=0)return!1;return!0}(it)?"["+X(it,S)+"]":"[ "+A.call(it,", ")+" ]"}if(function(t){return!("[object Error]"!==H(t)||j&&"object"==typeof t&&j in t)}(e)){var ot=K(e,z);return"cause"in Error.prototype||!("cause"in e)||C.call(e,"cause")?0===ot.length?"["+String(e)+"]":"{ ["+String(e)+"] "+A.call(ot,", ")+" }":"{ ["+String(e)+"] "+A.call(L.call("[cause]: "+z(e.cause),ot),", ")+" }"}if("object"==typeof e&&u){if(P&&"function"==typeof e[P]&&_)return _(e,{depth:E-r});if("symbol"!==u&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var at=[];return a.call(e,(function(t,n){at.push(z(n,e,!0)+" => "+z(t,e))})),q("Map",o.call(e),at,S)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return l.call(e,(function(t){st.push(z(t,e))})),q("Set",c.call(e),st,S)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return J("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return J("WeakSet");if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{return f.call(t),!0}catch(t){}return!1}(e))return J("WeakRef");if(function(t){return!("[object Number]"!==H(t)||j&&"object"==typeof t&&j in t)}(e))return V(z(Number(e)));if(function(t){if(!t||"object"!=typeof t||!N)return!1;try{return N.call(t),!0}catch(t){}return!1}(e))return V(z(N.call(e)));if(function(t){return!("[object Boolean]"!==H(t)||j&&"object"==typeof t&&j in t)}(e))return V(p.call(e));if(function(t){return!("[object String]"!==H(t)||j&&"object"==typeof t&&j in t)}(e))return V(z(String(e)));if(!function(t){return!("[object Date]"!==H(t)||j&&"object"==typeof t&&j in t)}(e)&&!Q(e)){var ut=K(e,z),ct=D?D(e)===Object.prototype:e instanceof Object||e.constructor===Object,lt=e instanceof Object?"":"null prototype",ht=!ct&&j&&Object(e)===e&&j in e?v.call(H(e),8,-1):lt?"Object":"",dt=(ct||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(ht||lt?"["+A.call(L.call([],ht||[],lt||[]),": ")+"] ":"");return 0===ut.length?dt+"{}":S?dt+"{"+X(ut,S)+"}":dt+"{ "+A.call(ut,", ")+" }"}return String(e)};var Y=Object.prototype.hasOwnProperty||function(t){return t in this};function F(t,e){return Y.call(t,e)}function H(t){return m.call(t)}function G(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n-1?t.split(","):t},c=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(l,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var n,c={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,d=l.split(e.delimiter,h),f=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n-1&&(g=o(g)?[g]:g),i.call(c,m)?c[m]=r.combine(c[m],g):c[m]=g}return c}(t,n):t,h=n.plainObjects?Object.create(null):{},d=Object.keys(l),f=0;f{if(void 0!==o[n])return["bytes32",null==s?"0x0000000000000000000000000000000000000000000000000000000000000000":r.keccak(this.encodeData(n,s,o,a))];if(void 0===s)throw new Error(`missing value for field ${t} of type ${n}`);if("bytes"===n)return["bytes32",r.keccak(s)];if("string"===n)return"string"==typeof s&&(s=e.from(s,"utf8")),["bytes32",r.keccak(s)];if(n.lastIndexOf("]")===n.length-1){const e=n.slice(0,n.lastIndexOf("[")),o=s.map((n=>c(t,e,n)));return["bytes32",r.keccak(i.rawEncode(o.map((([t])=>t)),o.map((([,t])=>t))))]}return[n,s]};for(const e of o[t]){const[t,r]=c(e.name,e.type,n[e.name]);s.push(t),u.push(r)}}else for(const i of o[t]){let t=n[i.name];if(void 0!==t)if("bytes"===i.type)s.push("bytes32"),t=r.keccak(t),u.push(t);else if("string"===i.type)s.push("bytes32"),"string"==typeof t&&(t=e.from(t,"utf8")),t=r.keccak(t),u.push(t);else if(void 0!==o[i.type])s.push("bytes32"),t=r.keccak(this.encodeData(i.type,t,o,a)),u.push(t);else{if(i.type.lastIndexOf("]")===i.type.length-1)throw new Error("Arrays currently unimplemented in encodeData");s.push(i.type),u.push(t)}}return i.rawEncode(s,u)},encodeType(t,e){let n="",r=this.findTypeDependencies(t,e).filter((e=>e!==t));r=[t].concat(r.sort());for(const t of r){if(!e[t])throw new Error("No type definition specified: "+t);n+=t+"("+e[t].map((({name:t,type:e})=>e+" "+t)).join(",")+")"}return n},findTypeDependencies(t,e,n=[]){if(t=t.match(/^\w*/)[0],n.includes(t)||void 0===e[t])return n;n.push(t);for(const r of e[t])for(const t of this.findTypeDependencies(r.type,e,n))!n.includes(t)&&n.push(t);return n},hashStruct(t,e,n,i=!0){return r.keccak(this.encodeData(t,e,n,i))},hashType(t,e){return r.keccak(this.encodeType(t,e))},sanitizeData(t){const e={};for(const n in o.properties)t[n]&&(e[n]=t[n]);return e.types&&(e.types=Object.assign({EIP712Domain:[]},e.types)),e},hash(t,n=!0){const i=this.sanitizeData(t),o=[e.from("1901","hex")];return o.push(this.hashStruct("EIP712Domain",i.domain,i.types,n)),"EIP712Domain"!==i.primaryType&&o.push(this.hashStruct(i.primaryType,i.message,i.types,n)),r.keccak(e.concat(o))}};t.exports={TYPED_MESSAGE_SCHEMA:o,TypedDataUtils:a,hashForSignTypedDataLegacy:function(t){return function(t){const e=new Error("Expect argument to be non-empty array");if("object"!=typeof t||!t.length)throw e;const n=t.map((function(t){return"bytes"===t.type?r.toBuffer(t.value):t.value})),o=t.map((function(t){return t.type})),a=t.map((function(t){if(!t.name)throw e;return t.type+" "+t.name}));return i.soliditySHA3(["bytes32","bytes32"],[i.soliditySHA3(new Array(t.length).fill("string"),a),i.soliditySHA3(o,n)])}(t.data)},hashForSignTypedData_v3:function(t){return a.hash(t.data,!1)},hashForSignTypedData_v4:function(t){return a.hash(t.data)}}}).call(this,n(19).Buffer)},function(t,e,n){t.exports=n(154)(n(165))},function(t,e,n){const r=n(155),i=n(164);t.exports=function(t){const e=r(t),n=i(t);return function(t,r){switch("string"==typeof t?t.toLowerCase():t){case"keccak224":return new e(1152,448,null,224,r);case"keccak256":return new e(1088,512,null,256,r);case"keccak384":return new e(832,768,null,384,r);case"keccak512":return new e(576,1024,null,512,r);case"sha3-224":return new e(1152,448,6,224,r);case"sha3-256":return new e(1088,512,6,256,r);case"sha3-384":return new e(832,768,6,384,r);case"sha3-512":return new e(576,1024,6,512,r);case"shake128":return new n(1344,256,31,r);case"shake256":return new n(1088,512,31,r);default:throw new Error("Invald algorithm: "+t)}}}},function(t,e,n){(function(e){const{Transform:r}=n(109);t.exports=t=>class n extends r{constructor(e,n,r,i,o){super(o),this._rate=e,this._capacity=n,this._delimitedSuffix=r,this._hashBitLength=i,this._options=o,this._state=new t,this._state.initialize(e,n),this._finalized=!1}_transform(t,e,n){let r=null;try{this.update(t,e)}catch(t){r=t}n(r)}_flush(t){let e=null;try{this.push(this.digest())}catch(t){e=t}t(e)}update(t,n){if(!e.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return e.isBuffer(t)||(t=e.from(t,n)),this._state.absorb(t),this}digest(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);let e=this._state.squeeze(this._hashBitLength/8);return void 0!==t&&(e=e.toString(t)),this._resetState(),e}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const t=new n(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}}).call(this,n(19).Buffer)},function(t,e){},function(t,e,n){function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(19).Buffer,a=n(158).inspect,s=a&&a.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e;return(e=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return o.alloc(0);for(var e,n,r,i=o.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,n=i,r=s,o.prototype.copy.call(e,n,r),s+=a.data.length,a=a.next;return i}},{key:"consume",value:function(t,e){var n;return ti.length?i.length:t;if(o===i.length?r+=i:r+=i.slice(0,t),0==(t-=o)){o===i.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(t){var e=o.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var i=n.data,a=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,a),0==(t-=a)){a===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,e}},{key:s,value:function(t,e){return a(this,function(t){for(var e=1;e0,(function(t){r||(r=t),t&&a.forEach(c),o||(a.forEach(c),i(r))}))}));return e.reduce(l)}},function(t,e,n){(function(e){const{Transform:r}=n(109);t.exports=t=>class n extends r{constructor(e,n,r,i){super(i),this._rate=e,this._capacity=n,this._delimitedSuffix=r,this._options=i,this._state=new t,this._state.initialize(e,n),this._finalized=!1}_transform(t,e,n){let r=null;try{this.update(t,e)}catch(t){r=t}n(r)}_flush(){}_read(t){this.push(this.squeeze(t))}update(t,n){if(!e.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return e.isBuffer(t)||(t=e.from(t,n)),this._state.absorb(t),this}squeeze(t,e){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));let n=this._state.squeeze(t);return void 0!==e&&(n=n.toString(e)),n}_resetState(){return this._state.initialize(this._rate,this._capacity),this}_clone(){const t=new n(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}}).call(this,n(19).Buffer)},function(t,e,n){(function(e){const r=n(166);function i(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}i.prototype.initialize=function(t,e){for(let t=0;t<50;++t)this.state[t]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1},i.prototype.absorb=function(t){for(let e=0;e>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(r.p1600(this.state),this.count=0);return n},i.prototype.copy=function(t){for(let e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing},t.exports=i}).call(this,n(19).Buffer)},function(t,e){const n=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];e.p1600=function(t){for(let e=0;e<24;++e){const r=t[0]^t[10]^t[20]^t[30]^t[40],i=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],s=t[4]^t[14]^t[24]^t[34]^t[44],u=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],l=t[7]^t[17]^t[27]^t[37]^t[47],h=t[8]^t[18]^t[28]^t[38]^t[48],d=t[9]^t[19]^t[29]^t[39]^t[49];let f=h^(o<<1|a>>>31),p=d^(a<<1|o>>>31);const m=t[0]^f,g=t[1]^p,y=t[10]^f,v=t[11]^p,b=t[20]^f,w=t[21]^p,M=t[30]^f,k=t[31]^p,L=t[40]^f,A=t[41]^p;f=r^(s<<1|u>>>31),p=i^(u<<1|s>>>31);const x=t[2]^f,E=t[3]^p,N=t[12]^f,S=t[13]^p,I=t[22]^f,T=t[23]^p,j=t[32]^f,C=t[33]^p,D=t[42]^f,O=t[43]^p;f=o^(c<<1|l>>>31),p=a^(l<<1|c>>>31);const _=t[4]^f,z=t[5]^p,P=t[14]^f,B=t[15]^p,R=t[24]^f,U=t[25]^p,Q=t[34]^f,W=t[35]^p,Y=t[44]^f,F=t[45]^p;f=s^(h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>,t[20]=Mt^~Dt&Ht,t[21]=kt^~Ot&Gt,t[30]=Xt^~ft&xt,t[31]=Kt^~pt&Et,t[40]=jt^~Yt&ee,t[41]=Ct^~Ft&ne,t[2]=Lt^~_t&Zt,t[3]=At^~zt&Vt,t[12]=$t^~mt&Nt,t[13]=te^~gt&St,t[22]=Dt^~Ht&re,t[23]=Ot^~Gt&ie,t[32]=ft^~xt&Pt,t[33]=pt^~Et&Bt,t[42]=Yt^~ee&yt,t[43]=Ft^~ne&vt,t[4]=_t^~Zt&oe,t[5]=zt^~Vt&ae,t[14]=mt^~Nt&Rt,t[15]=gt^~St&Ut,t[24]=Ht^~re&bt,t[25]=Gt^~ie&wt,t[34]=xt^~Pt&Jt,t[35]=Et^~Bt&qt,t[44]=ee^~yt&It,t[45]=ne^~vt&Tt,t[6]=Zt^~oe&ht,t[7]=Vt^~ae&dt,t[16]=Nt^~Rt&Qt,t[17]=St^~Ut&Wt,t[26]=re^~bt&Mt,t[27]=ie^~wt&kt,t[36]=Pt^~Jt&Xt,t[37]=Bt^~qt&Kt,t[46]=yt^~It&jt,t[47]=vt^~Tt&Ct,t[8]=oe^~ht&Lt,t[9]=ae^~dt&At,t[18]=Rt^~Qt&$t,t[19]=Ut^~Wt&te,t[28]=bt^~Mt&Dt,t[29]=wt^~kt&Ot,t[38]=Jt^~Xt&ft,t[39]=qt^~Kt&pt,t[48]=It^~jt&Yt,t[49]=Tt^~Ct&Ft,t[0]^=n[2*e],t[1]^=n[2*e+1]}}},function(t,e,n){(function(e){const r=n(108),i=n(66);function o(t){return t.startsWith("int[")?"int256"+t.slice(3):"int"===t?"int256":t.startsWith("uint[")?"uint256"+t.slice(4):"uint"===t?"uint256":t.startsWith("fixed[")?"fixed128x128"+t.slice(5):"fixed"===t?"fixed128x128":t.startsWith("ufixed[")?"ufixed128x128"+t.slice(6):"ufixed"===t?"ufixed128x128":t}function a(t){return parseInt(/^\D+(\d+)$/.exec(t)[1],10)}function s(t){var e=/^\D+(\d+)x(\d+)$/.exec(t);return[parseInt(e[1],10),parseInt(e[2],10)]}function u(t){var e=t.match(/(.*)\[(.*?)\]$/);return e?""===e[2]?"dynamic":parseInt(e[2],10):null}function c(t){var e=typeof t;if("string"===e)return r.isHexString(t)?new i(r.stripHexPrefix(t),16):new i(t,10);if("number"===e)return new i(t);if(t.toArray)return t;throw new Error("Argument is not a number")}function l(t,n){var o,h,d,f;if("address"===t)return l("uint160",c(n));if("bool"===t)return l("uint8",n?1:0);if("string"===t)return l("bytes",new e(n,"utf8"));if(function(t){return t.lastIndexOf("]")===t.length-1}(t)){if(void 0===n.length)throw new Error("Not an array?");if("dynamic"!==(o=u(t))&&0!==o&&n.length>o)throw new Error("Elements exceed array size: "+o);for(f in d=[],t=t.slice(0,t.lastIndexOf("[")),"string"==typeof n&&(n=JSON.parse(n)),n)d.push(l(t,n[f]));if("dynamic"===o){var p=l("uint256",n.length);d.unshift(p)}return e.concat(d)}if("bytes"===t)return n=new e(n),d=e.concat([l("uint256",n.length),n]),n.length%32!=0&&(d=e.concat([d,r.zeros(32-n.length%32)])),d;if(t.startsWith("bytes")){if((o=a(t))<1||o>32)throw new Error("Invalid bytes width: "+o);return r.setLengthRight(n,32)}if(t.startsWith("uint")){if((o=a(t))%8||o<8||o>256)throw new Error("Invalid uint width: "+o);if((h=c(n)).bitLength()>o)throw new Error("Supplied uint exceeds width: "+o+" vs "+h.bitLength());if(h<0)throw new Error("Supplied uint is negative");return h.toArrayLike(e,"be",32)}if(t.startsWith("int")){if((o=a(t))%8||o<8||o>256)throw new Error("Invalid int width: "+o);if((h=c(n)).bitLength()>o)throw new Error("Supplied int exceeds width: "+o+" vs "+h.bitLength());return h.toTwos(256).toArrayLike(e,"be",32)}if(t.startsWith("ufixed")){if(o=s(t),(h=c(n))<0)throw new Error("Supplied ufixed is negative");return l("uint256",h.mul(new i(2).pow(new i(o[1]))))}if(t.startsWith("fixed"))return o=s(t),l("int256",c(n).mul(new i(2).pow(new i(o[1]))));throw new Error("Unsupported or invalid type: "+t)}function h(t){return"string"===t||"bytes"===t||"dynamic"===u(t)}function d(t,n){if(t.length!==n.length)throw new Error("Number of types are not matching the values");for(var i,s,u=[],l=0;l32)throw new Error("Invalid bytes width: "+i);u.push(r.setLengthRight(d,i))}else if(h.startsWith("uint")){if((i=a(h))%8||i<8||i>256)throw new Error("Invalid uint width: "+i);if((s=c(d)).bitLength()>i)throw new Error("Supplied uint exceeds width: "+i+" vs "+s.bitLength());u.push(s.toArrayLike(e,"be",i/8))}else{if(!h.startsWith("int"))throw new Error("Unsupported or invalid type: "+h);if((i=a(h))%8||i<8||i>256)throw new Error("Invalid int width: "+i);if((s=c(d)).bitLength()>i)throw new Error("Supplied int exceeds width: "+i+" vs "+s.bitLength());u.push(s.toTwos(i).toArrayLike(e,"be",i/8))}}return e.concat(u)}t.exports={rawEncode:function(t,n){var r=[],i=[],a=32*t.length;for(var s in t){var u=o(t[s]),c=l(u,n[s]);h(u)?(r.push(l("uint256",a)),i.push(c),a+=c.length):r.push(c)}return e.concat(r.concat(i))},solidityPack:d,soliditySHA3:function(t,e){return r.keccak(d(t,e))}}}).call(this,n(19).Buffer)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.filterFromParam=e.FilterPolyfill=void 0;const r=n(68),i=n(38),o={jsonrpc:"2.0",id:0};function a(t){return{fromBlock:u(t.fromBlock),toBlock:u(t.toBlock),addresses:void 0===t.address?null:Array.isArray(t.address)?t.address:[t.address],topics:t.topics||[]}}function s(t){const e={fromBlock:c(t.fromBlock),toBlock:c(t.toBlock),topics:t.topics};return null!==t.addresses&&(e.address=t.addresses),e}function u(t){if(void 0===t||"latest"===t||"pending"===t)return"latest";if("earliest"===t)return(0,r.IntNumber)(0);if((0,i.isHexString)(t))return(0,i.intNumberFromHexString)(t);throw new Error("Invalid block option: "+String(t))}function c(t){return"latest"===t?t:(0,i.hexStringFromIntNumber)(t)}function l(){return Object.assign(Object.assign({},o),{error:{code:-32e3,message:"filter not found"}})}function h(){return Object.assign(Object.assign({},o),{result:[]})}e.FilterPolyfill=class{constructor(t){this.logFilters=new Map,this.blockFilters=new Set,this.pendingTransactionFilters=new Set,this.cursors=new Map,this.timeouts=new Map,this.nextFilterId=(0,r.IntNumber)(1),this.provider=t}async newFilter(t){const e=a(t),n=this.makeFilterId(),r=await this.setInitialCursorPosition(n,e.fromBlock);return console.log(`Installing new log filter(${n}):`,e,"initial cursor position:",r),this.logFilters.set(n,e),this.setFilterTimeout(n),(0,i.hexStringFromIntNumber)(n)}async newBlockFilter(){const t=this.makeFilterId(),e=await this.setInitialCursorPosition(t,"latest");return console.log(`Installing new block filter (${t}) with initial cursor position:`,e),this.blockFilters.add(t),this.setFilterTimeout(t),(0,i.hexStringFromIntNumber)(t)}async newPendingTransactionFilter(){const t=this.makeFilterId(),e=await this.setInitialCursorPosition(t,"latest");return console.log(`Installing new block filter (${t}) with initial cursor position:`,e),this.pendingTransactionFilters.add(t),this.setFilterTimeout(t),(0,i.hexStringFromIntNumber)(t)}uninstallFilter(t){const e=(0,i.intNumberFromHexString)(t);return console.log(`Uninstalling filter (${e})`),this.deleteFilter(e),!0}getFilterChanges(t){const e=(0,i.intNumberFromHexString)(t);return this.timeouts.has(e)&&this.setFilterTimeout(e),this.logFilters.has(e)?this.getLogFilterChanges(e):this.blockFilters.has(e)?this.getBlockFilterChanges(e):this.pendingTransactionFilters.has(e)?this.getPendingTransactionFilterChanges(e):Promise.resolve(l())}async getFilterLogs(t){const e=(0,i.intNumberFromHexString)(t),n=this.logFilters.get(e);return n?this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_getLogs",params:[s(n)]})):l()}makeFilterId(){return(0,r.IntNumber)(++this.nextFilterId)}sendAsyncPromise(t){return new Promise(((e,n)=>{this.provider.sendAsync(t,((t,r)=>t?n(t):Array.isArray(r)||null==r?n(new Error("unexpected response received: "+JSON.stringify(r))):void e(r)))}))}deleteFilter(t){console.log(`Deleting filter (${t})`),this.logFilters.delete(t),this.blockFilters.delete(t),this.pendingTransactionFilters.delete(t),this.cursors.delete(t),this.timeouts.delete(t)}async getLogFilterChanges(t){const e=this.logFilters.get(t),n=this.cursors.get(t);if(!n||!e)return l();const a=await this.getCurrentBlockHeight(),u="latest"===e.toBlock?a:e.toBlock;if(n>a)return h();if(n>e.toBlock)return h();console.log(`Fetching logs from ${n} to ${u} for filter ${t}`);const c=await this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_getLogs",params:[s(Object.assign(Object.assign({},e),{fromBlock:n,toBlock:u}))]}));if(Array.isArray(c.result)){const e=c.result.map((t=>(0,i.intNumberFromHexString)(t.blockNumber||"0x0"))),o=Math.max(...e);if(o&&o>n){const e=(0,r.IntNumber)(o+1);console.log(`Moving cursor position for filter (${t}) from ${n} to ${e}`),this.cursors.set(t,e)}}return c}async getBlockFilterChanges(t){const e=this.cursors.get(t);if(!e)return l();const n=await this.getCurrentBlockHeight();if(e>n)return h();console.log(`Fetching blocks from ${e} to ${n} for filter (${t})`);const a=(await Promise.all((0,i.range)(e,n+1).map((t=>this.getBlockHashByNumber((0,r.IntNumber)(t)))))).filter((t=>!!t)),s=(0,r.IntNumber)(e+a.length);return console.log(`Moving cursor position for filter (${t}) from ${e} to ${s}`),this.cursors.set(t,s),Object.assign(Object.assign({},o),{result:a})}async getPendingTransactionFilterChanges(t){return Promise.resolve(h())}async setInitialCursorPosition(t,e){const n=await this.getCurrentBlockHeight(),r="number"==typeof e&&e>n?e:n;return this.cursors.set(t,r),r}setFilterTimeout(t){const e=this.timeouts.get(t);e&&window.clearTimeout(e);const n=window.setTimeout((()=>{console.log(`Filter (${t}) timed out`),this.deleteFilter(t)}),3e5);this.timeouts.set(t,n)}async getCurrentBlockHeight(){const{result:t}=await this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_blockNumber",params:[]}));return(0,i.intNumberFromHexString)((0,i.ensureHexString)(t))}async getBlockHashByNumber(t){const e=await this.sendAsyncPromise(Object.assign(Object.assign({},o),{method:"eth_getBlockByNumber",params:[(0,i.hexStringFromIntNumber)(t),!1]}));return e.result&&"string"==typeof e.result.hash?(0,i.ensureHexString)(e.result.hash):null}},e.filterFromParam=a},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.JSONRPCMethod=void 0,function(t){t.eth_accounts="eth_accounts",t.eth_coinbase="eth_coinbase",t.net_version="net_version",t.eth_chainId="eth_chainId",t.eth_uninstallFilter="eth_uninstallFilter",t.eth_requestAccounts="eth_requestAccounts",t.eth_sign="eth_sign",t.eth_ecRecover="eth_ecRecover",t.personal_sign="personal_sign",t.personal_ecRecover="personal_ecRecover",t.eth_signTransaction="eth_signTransaction",t.eth_sendRawTransaction="eth_sendRawTransaction",t.eth_sendTransaction="eth_sendTransaction",t.eth_signTypedData_v1="eth_signTypedData_v1",t.eth_signTypedData_v2="eth_signTypedData_v2",t.eth_signTypedData_v3="eth_signTypedData_v3",t.eth_signTypedData_v4="eth_signTypedData_v4",t.eth_signTypedData="eth_signTypedData",t.cbWallet_arbitrary="walletlink_arbitrary",t.wallet_addEthereumChain="wallet_addEthereumChain",t.wallet_switchEthereumChain="wallet_switchEthereumChain",t.wallet_watchAsset="wallet_watchAsset",t.eth_subscribe="eth_subscribe",t.eth_unsubscribe="eth_unsubscribe",t.eth_newFilter="eth_newFilter",t.eth_newBlockFilter="eth_newBlockFilter",t.eth_newPendingTransactionFilter="eth_newPendingTransactionFilter",t.eth_getFilterChanges="eth_getFilterChanges",t.eth_getFilterLogs="eth_getFilterLogs"}(e.JSONRPCMethod||(e.JSONRPCMethod={}))},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.SubscriptionManager=void 0;const r=n(171),i=n(179),o=()=>{};e.SubscriptionManager=class{constructor(t){const e=new r({provider:t,pollingInterval:15e3,setSkipCacheFlag:!0}),{events:n,middleware:o}=i({blockTracker:e,provider:t});this.events=n,this.subscriptionMiddleware=o}async handleRequest(t){const e={};return await this.subscriptionMiddleware(t,e,o,o),e}destroy(){this.subscriptionMiddleware.destroy()}}},function(t,e,n){const r=n(117),i=n(172);function o(t,e){return new Promise((n=>{const r=setTimeout(n,t);r.unref&&e&&r.unref()}))}t.exports=class extends i{constructor(t={}){if(!t.provider)throw new Error("PollingBlockTracker - no provider specified.");const e=t.pollingInterval||2e4,n=t.retryTimeout||e/10,r=void 0===t.keepEventLoopActive||t.keepEventLoopActive,i=t.setSkipCacheFlag||!1;super(Object.assign({blockResetDuration:e},t)),this._provider=t.provider,this._pollingInterval=e,this._retryTimeout=n,this._keepEventLoopActive=r,this._setSkipCacheFlag=i}async checkForLatestBlock(){return await this._updateLatestBlock(),await this.getLatestBlock()}_start(){this._performSync().catch((t=>this.emit("error",t)))}async _performSync(){for(;this._isRunning;)try{await this._updateLatestBlock(),await o(this._pollingInterval,!this._keepEventLoopActive)}catch(t){const e=new Error("PollingBlockTracker - encountered an error while attempting to update latest block:\n"+t.stack);try{this.emit("error",e)}catch(t){console.error(e)}await o(this._retryTimeout,!this._keepEventLoopActive)}}async _updateLatestBlock(){const t=await this._fetchLatestBlock();this._newPotentialLatest(t)}async _fetchLatestBlock(){const t={jsonrpc:"2.0",id:1,method:"eth_blockNumber",params:[]};this._setSkipCacheFlag&&(t.skipCache=!0);const e=await r((e=>this._provider.sendAsync(t,e)))();if(e.error)throw new Error("PollingBlockTracker - encountered error fetching block:\n"+e.error);return e.result}}},function(t,e,n){n(118),n(117);const r=n(175),i=(t,e)=>t+e,o=["sync","latest"];function a(t){return Number.parseInt(t,16)}t.exports=class extends r{constructor(t={}){super(),this._blockResetDuration=t.blockResetDuration||2e4,this._blockResetTimeout,this._currentBlock=null,this._isRunning=!1,this._onNewListener=this._onNewListener.bind(this),this._onRemoveListener=this._onRemoveListener.bind(this),this._resetCurrentBlock=this._resetCurrentBlock.bind(this),this._setupInternalEvents()}isRunning(){return this._isRunning}getCurrentBlock(){return this._currentBlock}async getLatestBlock(){return this._currentBlock?this._currentBlock:await new Promise((t=>this.once("latest",t)))}removeAllListeners(t){t?super.removeAllListeners(t):super.removeAllListeners(),this._setupInternalEvents(),this._onRemoveListener()}_start(){}_end(){}_setupInternalEvents(){this.removeListener("newListener",this._onNewListener),this.removeListener("removeListener",this._onRemoveListener),this.on("newListener",this._onNewListener),this.on("removeListener",this._onRemoveListener)}_onNewListener(t,e){o.includes(t)&&this._maybeStart()}_onRemoveListener(t,e){this._getBlockTrackerEventCount()>0||this._maybeEnd()}_maybeStart(){this._isRunning||(this._isRunning=!0,this._cancelBlockResetTimeout(),this._start())}_maybeEnd(){this._isRunning&&(this._isRunning=!1,this._setupBlockResetTimeout(),this._end())}_getBlockTrackerEventCount(){return o.map((t=>this.listenerCount(t))).reduce(i)}_newPotentialLatest(t){const e=this._currentBlock;e&&a(t)<=a(e)||this._setCurrentBlock(t)}_setCurrentBlock(t){const e=this._currentBlock;this._currentBlock=t,this.emit("latest",t),this.emit("sync",{oldBlock:e,newBlock:t})}_setupBlockResetTimeout(){this._cancelBlockResetTimeout(),this._blockResetTimeout=setTimeout(this._resetCurrentBlock,this._blockResetDuration),this._blockResetTimeout.unref&&this._blockResetTimeout.unref()}_cancelBlockResetTimeout(){clearTimeout(this._blockResetTimeout)}_resetCurrentBlock(){this._currentBlock=null}}},function(t,e){t.exports=function(){for(var t={},e=0;e{throw t}))}}function c(t,e){for(var n=new Array(e),r=0;r0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[t];if(void 0===s)return!1;if("function"==typeof s)u(s,this,e);else{var l=s.length,h=c(s,l);for(n=0;n=o)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&e._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),l(r,t,r.depth)}function u(t,e){var n=s.styles[e];return n?"["+s.colors[n][0]+"m"+t+"["+s.colors[n][1]+"m":t}function c(t,e){return t}function l(t,n,r){if(t.customInspect&&n&&L(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return y(i)||(i=l(t,i,r)),i}var o=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return g(e)?t.stylize(""+e,"number"):p(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(t,n);if(o)return o;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),k(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(n);if(0===a.length){if(L(n)){var u=n.name?": "+n.name:"";return t.stylize("[Function"+u+"]","special")}if(b(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(M(n))return t.stylize(Date.prototype.toString.call(n),"date");if(k(n))return h(n)}var c,w="",A=!1,x=["{","}"];return f(n)&&(A=!0,x=["[","]"]),L(n)&&(w=" [Function"+(n.name?": "+n.name:"")+"]"),b(n)&&(w=" "+RegExp.prototype.toString.call(n)),M(n)&&(w=" "+Date.prototype.toUTCString.call(n)),k(n)&&(w=" "+h(n)),0!==a.length||A&&0!=n.length?r<0?b(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=A?function(t,e,n,r,i){for(var o=[],a=0,s=e.length;a60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}(c,w,x)):x[0]+w+x[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),S(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=m(n)?l(t,u.value,null):l(t,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function f(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function m(t){return null===t}function g(t){return"number"==typeof t}function y(t){return"string"==typeof t}function v(t){return void 0===t}function b(t){return w(t)&&"[object RegExp]"===A(t)}function w(t){return"object"==typeof t&&null!==t}function M(t){return w(t)&&"[object Date]"===A(t)}function k(t){return w(t)&&("[object Error]"===A(t)||t instanceof Error)}function L(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function x(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(v(o)&&(o=t.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=t.pid;a[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else a[n]=function(){};return a[n]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=f,e.isBoolean=p,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=y,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=b,e.isObject=w,e.isDate=M,e.isError=k,e.isFunction=L,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n(177);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function N(){var t=new Date,e=[x(t.getHours()),x(t.getMinutes()),x(t.getSeconds())].join(":");return[t.getDate(),E[t.getMonth()],e].join(" ")}function S(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",N(),e.format.apply(e,arguments))},e.inherits=n(178),e._extend=function(t,e){if(!e||!w(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(I&&t[I]){var e;if("function"!=typeof(e=t[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,I,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),i=[],o=0;o{t.removeListener("sync",r.update)},update:async({oldBlock:t,newBlock:r})=>{const i=r,o=u(t);(await c({provider:e,fromBlock:o,toBlock:i})).map(l).forEach((t=>{m(n,t)}))}};return t.on("sync",r.update),r}({subId:a});break;case"logs":const n=r.params[1];f=function({subId:t,filter:e}){return e.on("update",(e=>m(t,e))),{type:o,destroy:async()=>await h.uninstallFilter(e.idHex)}}({subId:a,filter:await h.newLogFilter(n)});break;default:throw new Error(`SubscriptionManager - unsupported subscription type "${o}"`)}return n[a]=f,void(i.result=a)})),eth_unsubscribe:o((async function(t,e){if(d)throw new Error("SubscriptionManager - attempting to use after destroying");const r=t.params[0],i=n[r];i?(delete n[r],await i.destroy(),e.result=!0):e.result=!1}))});return p.destroy=function(){f.removeAllListeners();for(const t in n)n[t].destroy(),delete n[t];d=!0},{events:f,middleware:p};function m(t,e){f.emit("notification",{jsonrpc:"2.0",method:"eth_subscription",params:{subscription:t,result:e}})}}},function(t,e){t.exports=function(t){return(e,n,r,i)=>{const o=t[e.method];return void 0===o?r():"function"==typeof o?o(e,n,r,i):(n.result=o,i())}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createIdRemapMiddleware=void 0;const r=n(121);e.createIdRemapMiddleware=function(){return(t,e,n,i)=>{const o=t.id,a=r.getUniqueId();t.id=a,e.id=a,n((n=>{t.id=o,e.id=o,n()}))}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createAsyncMiddleware=void 0,e.createAsyncMiddleware=function(t){return async(e,n,r,i)=>{let o;const a=new Promise((t=>{o=t}));let s=null,u=!1;const c=async()=>{u=!0,r((t=>{s=t,o()})),await a};try{await t(e,n,c),u?(await a,s(null)):i(null)}catch(t){s?s(t):i(t)}}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createScaffoldMiddleware=void 0,e.createScaffoldMiddleware=function(t){return(e,n,r,i)=>{const o=t[e.method];return void 0===o?r():"function"==typeof o?o(e,n,r,i):(n.result=o,i())}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getMessageFromCode=e.serializeError=e.EthereumProviderError=e.EthereumRpcError=e.ethErrors=e.errorCodes=void 0;const r=n(95);Object.defineProperty(e,"EthereumRpcError",{enumerable:!0,get:function(){return r.EthereumRpcError}}),Object.defineProperty(e,"EthereumProviderError",{enumerable:!0,get:function(){return r.EthereumProviderError}});const i=n(123);Object.defineProperty(e,"serializeError",{enumerable:!0,get:function(){return i.serializeError}}),Object.defineProperty(e,"getMessageFromCode",{enumerable:!0,get:function(){return i.getMessageFromCode}});const o=n(185);Object.defineProperty(e,"ethErrors",{enumerable:!0,get:function(){return o.ethErrors}});const a=n(96);Object.defineProperty(e,"errorCodes",{enumerable:!0,get:function(){return a.errorCodes}})},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ethErrors=void 0;const r=n(95),i=n(123),o=n(96);function a(t,e){const[n,o]=u(e);return new r.EthereumRpcError(t,n||i.getMessageFromCode(t),o)}function s(t,e){const[n,o]=u(e);return new r.EthereumProviderError(t,n||i.getMessageFromCode(t),o)}function u(t){if(t){if("string"==typeof t)return[t];if("object"==typeof t&&!Array.isArray(t)){const{message:e,data:n}=t;if(e&&"string"!=typeof e)throw new Error("Must specify string message.");return[e||void 0,n]}}return[]}e.ethErrors={rpc:{parse:t=>a(o.errorCodes.rpc.parse,t),invalidRequest:t=>a(o.errorCodes.rpc.invalidRequest,t),invalidParams:t=>a(o.errorCodes.rpc.invalidParams,t),methodNotFound:t=>a(o.errorCodes.rpc.methodNotFound,t),internal:t=>a(o.errorCodes.rpc.internal,t),server:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:e}=t;if(!Number.isInteger(e)||e>-32005||e<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(e,t)},invalidInput:t=>a(o.errorCodes.rpc.invalidInput,t),resourceNotFound:t=>a(o.errorCodes.rpc.resourceNotFound,t),resourceUnavailable:t=>a(o.errorCodes.rpc.resourceUnavailable,t),transactionRejected:t=>a(o.errorCodes.rpc.transactionRejected,t),methodNotSupported:t=>a(o.errorCodes.rpc.methodNotSupported,t),limitExceeded:t=>a(o.errorCodes.rpc.limitExceeded,t)},provider:{userRejectedRequest:t=>s(o.errorCodes.provider.userRejectedRequest,t),unauthorized:t=>s(o.errorCodes.provider.unauthorized,t),unsupportedMethod:t=>s(o.errorCodes.provider.unsupportedMethod,t),disconnected:t=>s(o.errorCodes.provider.disconnected,t),chainDisconnected:t=>s(o.errorCodes.provider.chainDisconnected,t),custom:t=>{if(!t||"object"!=typeof t||Array.isArray(t))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:e,message:n,data:i}=t;if(!n||"string"!=typeof n)throw new Error('"message" must be a nonempty string');return new r.EthereumProviderError(e,n,i)}}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.mergeMiddleware=void 0;const r=n(122);e.mergeMiddleware=function(t){const e=new r.JsonRpcEngine;return t.forEach((t=>e.push(t))),e.asMiddleware()}},function(t,e,n){const r=n(224).Mutex,{createAsyncMiddleware:i}=n(120),o=n(119),a=n(188),s=n(191),u=n(192),{intToHex:c,hexToInt:l}=n(60);function h(t){return d((async(...e)=>{const n=await t(...e);return c(n.id)}))}function d(t){return i((async(e,n)=>{const r=await t.apply(null,e.params);n.result=r}))}function f(t,e){const n=[];for(let e in t)n.push(t[e]);return n}t.exports=function({blockTracker:t,provider:e}){let n=0,i={};const p=new r,m=function({mutex:t}){return e=>async(n,r,i,o)=>{(await t.acquire())(),e(n,r,i,o)}}({mutex:p}),g=o({eth_newFilter:m(h(v)),eth_newBlockFilter:m(h(b)),eth_newPendingTransactionFilter:m(h(w)),eth_uninstallFilter:m(d(L)),eth_getFilterChanges:m(d(M)),eth_getFilterLogs:m(d(k))}),y=async({oldBlock:t,newBlock:e})=>{if(0===i.length)return;const n=await p.acquire();try{await Promise.all(f(i).map((async n=>{try{await n.update({oldBlock:t,newBlock:e})}catch(t){console.error(t)}})))}catch(t){console.error(t)}n()};return g.newLogFilter=v,g.newBlockFilter=b,g.newPendingTransactionFilter=w,g.uninstallFilter=L,g.getFilterChanges=M,g.getFilterLogs=k,g.destroy=()=>{!async function(){const t=f(i).length;i={},x({prevFilterCount:t,newFilterCount:0})}()},g;async function v(t){const n=new a({provider:e,params:t});return await A(n),n}async function b(){const t=new s({provider:e});return await A(t),t}async function w(){const t=new u({provider:e});return await A(t),t}async function M(t){const e=l(t),n=i[e];if(!n)throw new Error(`No filter for index "${e}"`);return n.getChangesAndClear()}async function k(t){const e=l(t),n=i[e];if(!n)throw new Error(`No filter for index "${e}"`);return"log"===n.type?results=n.getAllResults():results=[],results}async function L(t){const e=l(t),n=i[e],r=Boolean(n);return r&&await async function(t){const e=f(i).length;delete i[t];x({prevFilterCount:e,newFilterCount:f(i).length})}(e),r}async function A(e){const r=f(i).length,o=await t.getLatestBlock();return await e.initialize({currentBlock:o}),n++,i[n]=e,e.id=n,e.idHex=c(n),x({prevFilterCount:r,newFilterCount:f(i).length}),n}function x({prevFilterCount:e,newFilterCount:n}){0===e&&n>0?t.on("sync",y):e>0&&0===n&&t.removeListener("sync",y)}}},function(t,e,n){const r=n(118),i=n(189),o=n(190),{bnToHex:a,hexToInt:s,incrementHexInt:u,minBlockRef:c,blockRefIsNumber:l}=n(60);t.exports=class extends o{constructor({provider:t,params:e}){super(),this.type="log",this.ethQuery=new r(t),this.params=Object.assign({fromBlock:"latest",toBlock:"latest",address:void 0,topics:[]},e),this.params.address&&(Array.isArray(this.params.address)||(this.params.address=[this.params.address]),this.params.address=this.params.address.map((t=>t.toLowerCase())))}async initialize({currentBlock:t}){let e=this.params.fromBlock;["latest","pending"].includes(e)&&(e=t),"earliest"===e&&(e="0x0"),this.params.fromBlock=e;const n=c(this.params.toBlock,t),r=Object.assign({},this.params,{toBlock:n}),i=await this._fetchLogs(r);this.addInitialResults(i)}async update({oldBlock:t,newBlock:e}){const n=e;let r;r=t?u(t):e;const i=Object.assign({},this.params,{fromBlock:r,toBlock:n}),o=(await this._fetchLogs(i)).filter((t=>this.matchLog(t)));this.addResults(o)}async _fetchLogs(t){return await i((e=>this.ethQuery.getLogs(t,e)))()}matchLog(t){if(s(this.params.fromBlock)>=s(t.blockNumber))return!1;if(l(this.params.toBlock)&&s(this.params.toBlock)<=s(t.blockNumber))return!1;const e=t.address&&t.address.toLowerCase();return!(this.params.address&&e&&!this.params.address.includes(e))&&this.params.topics.every(((e,n)=>{let r=t.topics[n];if(!r)return!1;r=r.toLowerCase();let i=Array.isArray(e)?e:[e];return!!i.includes(null)||(i=i.map((t=>t.toLowerCase())),i.includes(r))}))}}},function(t,e,n){const r=(t,e,n,r)=>function(...i){return new e.promiseModule(((o,a)=>{e.multiArgs?i.push(((...t)=>{e.errorFirst?t[0]?a(t):(t.shift(),o(t)):o(t)})):e.errorFirst?i.push(((t,e)=>{t?a(t):o(e)})):i.push(o);const s=this===n?r:this;Reflect.apply(t,s,i)}))},i=new WeakMap;t.exports=(t,e)=>{e={exclude:[/.+(?:Sync|Stream)$/],errorFirst:!0,promiseModule:Promise,...e};const n=typeof t;if(null===t||"object"!==n&&"function"!==n)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===t?"null":n}\``);const o=new WeakMap,a=new Proxy(t,{apply(t,n,i){const s=o.get(t);if(s)return Reflect.apply(s,n,i);const u=e.excludeMain?t:r(t,e,a,t);return o.set(t,u),Reflect.apply(u,n,i)},get(t,n){const s=t[n];if(!((t,n)=>{let r=i.get(t);if(r||(r={},i.set(t,r)),n in r)return r[n];const o=t=>"string"==typeof t||"symbol"==typeof n?n===t:t.test(n),a=Reflect.getOwnPropertyDescriptor(t,n),s=void 0===a||a.writable||a.configurable,u=(e.include?e.include.some(o):!e.exclude.some(o))&&s;return r[n]=u,u})(t,n)||s===Function.prototype[n])return s;const u=o.get(s);if(u)return u;if("function"==typeof s){const n=r(s,e,a,t);return o.set(s,n),n}return s}});return a}},function(t,e,n){const r=n(97);t.exports=class extends r{constructor(){super(),this.allResults=[]}async update(){throw new Error("BaseFilterWithHistory - no update method specified")}addResults(t){this.allResults=this.allResults.concat(t),super.addResults(t)}addInitialResults(t){this.allResults=this.allResults.concat(t),super.addInitialResults(t)}getAllResults(){return this.allResults}}},function(t,e,n){const r=n(97),i=n(98),{incrementHexInt:o}=n(60);t.exports=class extends r{constructor({provider:t,params:e}){super(),this.type="block",this.provider=t}async update({oldBlock:t,newBlock:e}){const n=e,r=o(t),a=(await i({provider:this.provider,fromBlock:r,toBlock:n})).map((t=>t.hash));this.addResults(a)}}},function(t,e,n){const r=n(97),i=n(98),{incrementHexInt:o}=n(60);t.exports=class extends r{constructor({provider:t}){super(),this.type="tx",this.provider=t}async update({oldBlock:t}){const e=t,n=o(t),r=await i({provider:this.provider,fromBlock:n,toBlock:e}),a=[];for(const t of r)a.push(...t.transactions);this.addResults(a)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKUI=void 0;const r=n(194),i=n(206),o=n(208);e.WalletSDKUI=class{constructor(t){this.standalone=null,this.attached=!1,this.snackbar=new i.Snackbar({darkMode:t.darkMode}),this.linkFlow=new r.LinkFlow({darkMode:t.darkMode,version:t.version,sessionId:t.session.id,sessionSecret:t.session.secret,linkAPIUrl:t.linkAPIUrl,connected$:t.connected$,isParentConnection:!1})}attach(){if(this.attached)throw new Error("Coinbase Wallet SDK UI is already attached");const t=document.documentElement,e=document.createElement("div");e.className="-cbwsdk-css-reset",t.appendChild(e),this.linkFlow.attach(e),this.snackbar.attach(e),this.attached=!0,(0,o.injectCssReset)()}setConnectDisabled(t){this.linkFlow.setConnectDisabled(t)}addEthereumChain(t){}watchAsset(t){}switchEthereumChain(t){}requestEthereumAccounts(t){this.linkFlow.open({onCancel:t.onCancel})}hideRequestEthereumAccounts(){this.linkFlow.close()}signEthereumMessage(t){}signEthereumTransaction(t){}submitEthereumTransaction(t){}ethereumAddressFromSignedMessage(t){}showConnecting(t){let e;return e=t.isUnlinkedErrorState?{autoExpand:!0,message:"Connection lost",menuItems:[{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:t.onResetConnection}]}:{message:"Confirm on phone",menuItems:[{isRed:!0,info:"Cancel transaction",svgWidth:"11",svgHeight:"11",path:"M10.3711 1.52346L9.21775 0.370117L5.37109 4.21022L1.52444 0.370117L0.371094 1.52346L4.2112 5.37012L0.371094 9.21677L1.52444 10.3701L5.37109 6.53001L9.21775 10.3701L10.3711 9.21677L6.53099 5.37012L10.3711 1.52346Z",defaultFillRule:"inherit",defaultClipRule:"inherit",onClick:t.onCancel},{isRed:!1,info:"Reset connection",svgWidth:"10",svgHeight:"11",path:"M5.00008 0.96875C6.73133 0.96875 8.23758 1.94375 9.00008 3.375L10.0001 2.375V5.5H9.53133H7.96883H6.87508L7.80633 4.56875C7.41258 3.3875 6.31258 2.53125 5.00008 2.53125C3.76258 2.53125 2.70633 3.2875 2.25633 4.36875L0.812576 3.76875C1.50008 2.125 3.11258 0.96875 5.00008 0.96875ZM2.19375 6.43125C2.5875 7.6125 3.6875 8.46875 5 8.46875C6.2375 8.46875 7.29375 7.7125 7.74375 6.63125L9.1875 7.23125C8.5 8.875 6.8875 10.0312 5 10.0312C3.26875 10.0312 1.7625 9.05625 1 7.625L0 8.625V5.5H0.46875H2.03125H3.125L2.19375 6.43125Z",defaultFillRule:"evenodd",defaultClipRule:"evenodd",onClick:t.onResetConnection}]},this.snackbar.presentItem(e)}reloadUI(){document.location.reload()}inlineAccountsResponse(){return!1}inlineAddEthereumChain(t){return!1}inlineWatchAsset(){return!1}inlineSwitchEthereumChain(){return!1}setStandalone(t){this.standalone=t}isStandalone(){var t;return null!==(t=this.standalone)&&void 0!==t&&t}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LinkFlow=void 0;const r=n(8),i=n(48),o=n(195);e.LinkFlow=class{constructor(t){this.extensionUI$=new i.BehaviorSubject({}),this.subscriptions=new i.Subscription,this.isConnected=!1,this.isOpen=!1,this.onCancel=null,this.root=null,this.connectDisabled=!1,this.darkMode=t.darkMode,this.version=t.version,this.sessionId=t.sessionId,this.sessionSecret=t.sessionSecret,this.linkAPIUrl=t.linkAPIUrl,this.isParentConnection=t.isParentConnection,this.connected$=t.connected$}attach(t){this.root=document.createElement("div"),this.root.className="-cbwsdk-link-flow-root",t.appendChild(this.root),this.render(),this.subscriptions.add(this.connected$.subscribe((t=>{this.isConnected!==t&&(this.isConnected=t,this.render())})))}detach(){var t;this.root&&(this.subscriptions.unsubscribe(),(0,r.render)(null,this.root),null===(t=this.root.parentElement)||void 0===t||t.removeChild(this.root))}setConnectDisabled(t){this.connectDisabled=t}open(t){this.isOpen=!0,this.onCancel=t.onCancel,this.render()}close(){this.isOpen=!1,this.onCancel=null,this.render()}render(){if(!this.root)return;const t=this.extensionUI$.subscribe((()=>{this.root&&(0,r.render)((0,r.h)(o.TryExtensionLinkDialog,{darkMode:this.darkMode,version:this.version,sessionId:this.sessionId,sessionSecret:this.sessionSecret,linkAPIUrl:this.linkAPIUrl,isOpen:this.isOpen,isConnected:this.isConnected,isParentConnection:this.isParentConnection,onCancel:this.onCancel,connectDisabled:this.connectDisabled}),this.root)}));this.subscriptions.add(t)}}},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.TryExtensionLinkDialog=void 0;const i=r(n(124)),o=n(8),a=n(99),s=n(38),u=n(196),c=r(n(197)),l=r(n(198)),h=r(n(199)),d=r(n(200)),f=n(201),p=n(203),m=r(n(205));e.TryExtensionLinkDialog=t=>{const{isOpen:e,darkMode:n}=t,[r,s]=(0,a.useState)(!e),[u,c]=(0,a.useState)(!e);(0,a.useEffect)((()=>{const t=[window.setTimeout((()=>{c(!e)}),10)];return e?s(!1):t.push(window.setTimeout((()=>{s(!0)}),360)),()=>{t.forEach(window.clearTimeout)}}),[t.isOpen]);const l=n?"dark":"light";return(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-container",r&&"-cbwsdk-extension-dialog-container-hidden")},(0,o.h)("style",null,m.default),(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-backdrop",l,u&&"-cbwsdk-extension-dialog-backdrop-hidden")}),(0,o.h)("div",{class:"-cbwsdk-extension-dialog"},(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box",u&&"-cbwsdk-extension-dialog-box-hidden")},(0,o.h)(g,{darkMode:n,onInstallClick:()=>{window.open("https://api.wallet.coinbase.com/rpc/v2/desktop/chrome","_blank")}}),t.connectDisabled?null:(0,o.h)(y,{darkMode:n,version:t.version,sessionId:t.sessionId,sessionSecret:t.sessionSecret,linkAPIUrl:t.linkAPIUrl,isConnected:t.isConnected,isParentConnection:t.isParentConnection}),t.onCancel&&(0,o.h)(b,{darkMode:n,onClick:t.onCancel}))))};const g=({darkMode:t,onInstallClick:e})=>{const[n,r]=(0,a.useState)(!1),s=(0,a.useCallback)((()=>{n?window.location.reload():(e(),r(!0))}),[e,n]),u=t?"dark":"light";return(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box-top",u)},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-install-region"},(0,o.h)("h2",{class:u},"Try the Coinbase Wallet extension"),n&&(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-subtext"},"After installing Coinbase Wallet, refresh the page and connect again."),(0,o.h)("button",{type:"button",onClick:s},n?"Refresh":"Install")),(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box-top-info-region",u)},(0,o.h)(v,{darkMode:t,icon:l.default,text:"Connect to crypto apps with one click"}),(0,o.h)(v,{darkMode:t,icon:h.default,text:"Your private key is stored securely"}),(0,o.h)(v,{darkMode:t,icon:c.default,text:"Works with Ethereum, Polygon, and more"})))},y=t=>{const e=(0,s.createQrUrl)(t.sessionId,t.sessionSecret,t.linkAPIUrl,t.isParentConnection),n=t.darkMode?"dark":"light";return(0,o.h)("div",{"data-testid":"scan-qr-box",class:(0,i.default)("-cbwsdk-extension-dialog-box-bottom",n)},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-bottom-description-region"},(0,o.h)("h2",{class:n},"Or scan to connect"),(0,o.h)("body",{class:(0,i.default)("-cbwsdk-extension-dialog-box-bottom-description",n)},"Open"," ",(0,o.h)("a",{href:"https://wallet.coinbase.com/",target:"_blank",rel:"noopener noreferrer"},"Coinbase Wallet")," ","on your mobile phone and scan")),(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-bottom-qr-region"},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-bottom-qr-wrapper"},(0,o.h)(f.QRCode,{content:e,width:150,height:150,fgColor:"#000",bgColor:"transparent",image:{svg:d.default,width:34,height:34}})),(0,o.h)("input",{type:"hidden",name:"cbwsdk-version",value:u.LIB_VERSION}),(0,o.h)("input",{type:"hidden",value:e}),!t.isConnected&&(0,o.h)("div",{"data-testid":"connecting-spinner",class:(0,i.default)("-cbwsdk-extension-dialog-box-bottom-qr-connecting",n)},(0,o.h)(p.Spinner,{size:36,color:t.darkMode?"#FFF":"#000"}),(0,o.h)("p",null,"Connecting..."))))},v=t=>{const e=t.darkMode?"dark":"light";return(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-description"},(0,o.h)("div",{class:"-cbwsdk-extension-dialog-box-top-description-icon-wrapper"},(0,o.h)("img",{src:t.icon})),(0,o.h)("body",{class:(0,i.default)("-cbwsdk-extension-dialog-box-top-description-text",e)},t.text))},b=t=>{const e=t.darkMode?"dark":"light";return(0,o.h)("button",{type:"button",class:(0,i.default)("-cbwsdk-extension-dialog-box-cancel",e),onClick:t.onClick},(0,o.h)("div",{class:(0,i.default)("-cbwsdk-extension-dialog-box-cancel-x",e)}))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.LIB_VERSION=void 0,e.LIB_VERSION="3.4.0"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOHMzLjU4IDggOCA4IDgtMy41OCA4LTgtMy41OC04LTgtOFptNS45MSA3aC0xLjk0Yy0uMS0xLjU3LS40Mi0zLS45MS00LjE1IDEuNDguODggMi41NSAyLjM4IDIuODUgNC4xNVpNOCAxNGMtLjQ1IDAtMS43Mi0xLjc3LTEuOTUtNWgzLjljLS4yMyAzLjIzLTEuNSA1LTEuOTUgNVpNNi4wNSA3QzYuMjggMy43NyA3LjU1IDIgOCAyYy40NSAwIDEuNzIgMS43NyAxLjk1IDVoLTMuOVpNNC45NCAyLjg1QzQuNDYgNCA0LjEzIDUuNDMgNC4wMyA3SDIuMDljLjMtMS43NyAxLjM3LTMuMjcgMi44NS00LjE1Wk0yLjA5IDloMS45NGMuMSAxLjU3LjQyIDMgLjkxIDQuMTVBNS45OTggNS45OTggMCAwIDEgMi4wOSA5Wm04Ljk3IDQuMTVjLjQ4LTEuMTUuODEtMi41OC45MS00LjE1aDEuOTRhNS45OTggNS45OTggMCAwIDEtMi44NSA0LjE1WiIgZmlsbD0iIzE2NTJGMCIvPjwvc3ZnPg=="},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjYzNSAyLjExN2EzLjg4OSAzLjg4OSAwIDAgMC01LjUyMSAwTDYuODkgNS4zMzVBMy44OTQgMy44OT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w9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgN3Y5aDE0VjdIMVptNy41IDQuMzlWMTRoLTF2LTIuNjFjLS40NC0uMTktLjc1LS42My0uNzUtMS4xNGExLjI1IDEuMjUgMCAwIDEgMi41IDBjMCAuNTEtLjMxLjk1LS43NSAxLjE0Wk01LjY3IDZWNC4zM0M1LjY3IDMuMDUgNi43MSAyIDggMnMyLjMzIDEuMDUgMi4zMyAyLjMzVjZoMlY0LjMzQzEyLjMzIDEuOTQgMTAuMzkgMCA4IDBTMy42NyAxLjk0IDMuNjcgNC4zM1Y2aDJaIiBmaWxsPSIjMTY1MkYwIi8+PC9zdmc+"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default='\n\n\n\n\n\n\n'},function(t,e,n){(function(t){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.QRCode=void 0;const i=n(8),o=n(99),a=r(n(202));e.QRCode=e=>{const[n,r]=(0,o.useState)("");return(0,o.useEffect)((()=>{var n,i;const o=new a.default({content:e.content,background:e.bgColor||"#ffffff",color:e.fgColor||"#000000",container:"svg",ecl:"M",width:null!==(n=e.width)&&void 0!==n?n:256,height:null!==(i=e.height)&&void 0!==i?i:256,padding:0,image:e.image}),s=t.from(o.svg(),"utf8").toString("base64");r("data:image/svg+xml;base64,"+s)})),n?(0,i.h)("img",{src:n,alt:"QR Code"}):null}}).call(this,n(19).Buffer)},function(t,e){function n(t){this.mode=i.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e65536?(r[0]=240|(1835008&o)>>>18,r[1]=128|(258048&o)>>>12,r[2]=128|(4032&o)>>>6,r[3]=128|63&o):o>2048?(r[0]=224|(61440&o)>>>12,r[1]=128|(4032&o)>>>6,r[2]=128|63&o):o>128?(r[0]=192|(1984&o)>>>6,r[1]=128|63&o):r[0]=o,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function r(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}n.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+n][e+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=o.getLostPoint(this);(0==n||t>r)&&(t=r,e=n)}return e},createMovieClip:function(t,e,n){var r=t.createEmptyMovieClip(e,n);this.make();for(var i=0;i>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!t&&1==(e>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,r=o.getBCHTypeInfo(n),i=0;i<15;i++){var a=!t&&1==(r>>i&1);i<6?this.modules[i][8]=a:i<8?this.modules[i+1][8]=a:this.modules[this.moduleCount-15+i][8]=a}for(i=0;i<15;i++)a=!t&&1==(r>>i&1),i<8?this.modules[8][this.moduleCount-i-1]=a:i<9?this.modules[8][15-i-1+1]=a:this.modules[8][15-i-1]=a;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,r=this.moduleCount-1,i=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[r][s-u]){var c=!1;a>>i&1)),o.getMask(e,r,s-u)&&(c=!c),this.modules[r][s-u]=c,-1==--i&&(a++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},r.PAD0=236,r.PAD1=17,r.createData=function(t,e,n){for(var i=c.getRSBlocks(t,e),a=new l,s=0;s8*h)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*h+")");for(a.getLengthInBits()+4<=8*h&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*h||(a.put(r.PAD0,8),a.getLengthInBits()>=8*h));)a.put(r.PAD1,8);return r.createBytes(a,i)},r.createBytes=function(t,e){for(var n=0,r=0,i=0,a=new Array(e.length),s=new Array(e.length),c=0;c=0?p.get(m):0}}var g=0;for(d=0;d=0;)e^=o.G15<=0;)e^=o.G18<>>=1;return e},getPatternPosition:function(t){return o.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case 0:return(e+n)%2==0;case 1:return e%2==0;case 2:return n%3==0;case 3:return(e+n)%3==0;case 4:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case 5:return e*n%2+e*n%3==0;case 6:return(e*n%2+e*n%3)%2==0;case 7:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new u([1],0),n=0;n5&&(n+=3+o-5)}for(r=0;r=256;)t-=255;return a.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)a.EXP_TABLE[s]=1<>>7-t%8&1)},put:function(t,e){for(var n=0;n>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var h=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function d(t){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M",image:{svg:"",width:0,height:0}},"string"==typeof t&&(t={content:t}),t)for(var e in t)this.options[e]=t[e];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0&&this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var n=this.options.content,i=function(t,e){for(var n=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),r=1,i=0,o=0,a=h.length;o<=a;o++){var s=h[o];if(!s)throw new Error("Content too long: expected "+i+" but got "+n);switch(e){case"L":i=s[0];break;case"M":i=s[1];break;case"Q":i=s[2];break;case"H":i=s[3];break;default:throw new Error("Unknwon error correction level: "+e)}if(n<=i)break;r++}if(r>h.length)throw new Error("Content too long");return r}(n,this.options.ecl),o=function(t){switch(t){case"L":return 1;case"M":return 0;case"Q":return 3;case"H":return 2;default:throw new Error("Unknwon error correction level: "+t)}}(this.options.ecl);this.qrcode=new r(i,o),this.qrcode.addData(n),this.qrcode.make()}d.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;void 0===t&&(t={container:e.container||"svg"});for(var r=void 0===e.pretty||!!e.pretty,i=r?" ":"",o=r?"\r\n":"",a=e.width,s=e.height,u=n.length,c=a/(u+2*e.padding),l=s/(u+2*e.padding),h=void 0!==e.join&&!!e.join,d=void 0!==e.swap&&!!e.swap,f=void 0===e.xmlDeclaration||!!e.xmlDeclaration,p=void 0!==e.predefined&&!!e.predefined,m=p?i+''+o:"",g=i+''+o,y="",v="",b=0;b'+o:i+''+o}h&&(y=i+'');let E="";if(void 0!==this.options.image&&this.options.image.svg){const t=a*this.options.image.width/100,e=s*this.options.image.height/100;E+=``,E+=this.options.image.svg+o,E+=""}var N="";switch(t.container){case"svg":f&&(N+=''+o),N+=''+o,N+=m+g+y,N+=E,N+="";break;case"svg-viewbox":f&&(N+=''+o),N+=''+o,N+=m+g+y,N+=E,N+="";break;case"g":N+=''+o,N+=m+g+y,N+=E,N+="";break;default:N+=(m+g+y+E).replace(/^\s+/,"")}return N},t.exports=d},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Spinner=void 0;const i=n(8),o=r(n(204));e.Spinner=t=>{var e;const n=null!==(e=t.size)&&void 0!==e?e:64,r=t.color||"#000";return(0,i.h)("div",{class:"-cbwsdk-spinner"},(0,i.h)("style",null,o.default),(0,i.h)("svg",{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",style:{width:n,height:n}},(0,i.h)("circle",{style:{cx:50,cy:50,r:45,stroke:r}})))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=".-cbwsdk-css-reset .-cbwsdk-spinner{display:inline-block}.-cbwsdk-css-reset .-cbwsdk-spinner svg{display:inline-block;animation:2s linear infinite -cbwsdk-spinner-svg}.-cbwsdk-css-reset .-cbwsdk-spinner svg circle{animation:1.9s ease-in-out infinite both -cbwsdk-spinner-circle;display:block;fill:rgba(0,0,0,0);stroke-dasharray:283;stroke-dashoffset:280;stroke-linecap:round;stroke-width:10px;transform-origin:50% 50%}@keyframes -cbwsdk-spinner-svg{0%{transform:rotateZ(0deg)}100%{transform:rotateZ(360deg)}}@keyframes -cbwsdk-spinner-circle{0%,25%{stroke-dashoffset:280;transform:rotate(0)}50%,75%{stroke-dashoffset:75;transform:rotate(45deg)}100%{stroke-dashoffset:280;transform:rotate(360deg)}}"},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default='.-cbwsdk-css-reset .-cbwsdk-extension-dialog{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop{z-index:2147483647;position:fixed;top:0;left:0;right:0;bottom:0;transition:opacity .25s}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop.light{background-color:rgba(0,0,0,.5)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop.dark{background-color:rgba(50,53,61,.4)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-backdrop-hidden{opacity:0}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box{display:flex;position:relative;max-width:500px;flex-direction:column;transform:scale(1);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-hidden{opacity:0;transform:scale(0.85)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top{display:flex;flex-direction:row;border-radius:8px;overflow:hidden;min-height:300px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top.dark{color:#fff;background-color:#000;box-shadow:0 4px 16px rgba(255,255,255,.05)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top.light{background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-subtext{margin-top:15px;font-size:12px;line-height:1.5}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-install-region{display:flex;flex-basis:50%;flex-direction:column;justify-content:center;padding:32px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-install-region button{display:block;border-radius:8px;background-color:#1652f0;color:#fff;width:90%;min-width:fit-content;height:44px;margin-top:16px;font-size:16px;padding-left:16px;padding-right:16px;cursor:pointer;font-weight:500;text-align:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-install-region button.dark{background-color:#3773f5}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-info-region{display:flex;flex-basis:50%;flex-direction:column;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-info-region.light{background-color:#fafbfc}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-info-region.dark{background-color:#141519}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description{display:flex;flex-direction:row;align-items:center;padding-top:14px;padding-bottom:14px;padding-left:24px;padding-right:32px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-icon-wrapper{display:block;position:relative;width:40px;height:40px;flex-shrink:0;flex-grow:0;border-radius:20px;background-color:#fff;box-shadow:0px 0px 8px rgba(0,0,0,.04),0px 16px 24px rgba(0,0,0,.06)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-icon-wrapper img{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-text{margin-left:16px;flex-grow:1;font-size:13px;line-height:19px;align-self:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-text.light{color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-top-description-text.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom{display:flex;flex-direction:row;overflow:hidden;border-radius:8px;margin-top:8px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom.light{background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom.dark{background-color:#000;box-shadow:0 4px 16px rgba(255,255,255,.05)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description-region{display:flex;flex-direction:column;justify-content:center;padding:32px;flex-grow:1}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description{font-size:13px;line-height:19px;margin-top:12px;color:#aaa}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description.dark{color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description.dark a{color:#3773f5}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-description a{font-size:inherit;line-height:inherit;color:#1652f0;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-region{position:relative;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;padding-left:24px;padding-right:24px;padding-top:16px;padding-bottom:16px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-wrapper{position:relative;display:block;padding:8px;border-radius:8px;box-shadow:0px 4px 12px rgba(0,0,0,.1);background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-wrapper img{display:block}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.light{background-color:rgba(255,255,255,.95)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.light>p{color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.dark{background-color:rgba(20,21,25,.9)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting.dark>p{color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-bottom-qr-connecting>p{font-size:12px;font-weight:bold;margin-top:16px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel{position:absolute;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;top:16px;right:16px;width:24px;height:24px;border-radius:12px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel.light{background-color:#fafbfc}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel.dark{background-color:#141519}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x{position:relative;display:block;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.light::before,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.light::after{background-color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.dark::before,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x.dark::after{background-color:#fff}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::before,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::after{content:"";position:absolute;display:block;top:-1px;left:-7px;width:14px;height:1px;transition:background-color .2s}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::before{transform:rotate(45deg)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel-x::after{transform:rotate(135deg)}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel:hover .-cbwsdk-link-dialog-box-cancel-x-a,.-cbwsdk-css-reset .-cbwsdk-extension-dialog-box-cancel:hover .-cbwsdk-link-dialog-box-cancel-x-b{background-color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-container{display:block}.-cbwsdk-css-reset .-cbwsdk-extension-dialog-container-hidden{display:none}.-cbwsdk-css-reset .-cbwsdk-extension-dialog h2{display:block;text-align:left;font-size:22px;font-weight:600;line-height:28px}.-cbwsdk-css-reset .-cbwsdk-extension-dialog h2.light{color:#000}.-cbwsdk-css-reset .-cbwsdk-extension-dialog h2.dark{color:#fff}'},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.SnackbarInstance=e.SnackbarContainer=e.Snackbar=void 0;const i=r(n(124)),o=n(8),a=n(99),s=r(n(207));e.Snackbar=class{constructor(t){this.items=new Map,this.nextItemKey=0,this.root=null,this.darkMode=t.darkMode}attach(t){this.root=document.createElement("div"),this.root.className="-cbwsdk-snackbar-root",t.appendChild(this.root),this.render()}presentItem(t){const e=this.nextItemKey++;return this.items.set(e,t),this.render(),()=>{this.items.delete(e),this.render()}}clear(){this.items.clear(),this.render()}render(){this.root&&(0,o.render)((0,o.h)("div",null,(0,o.h)(e.SnackbarContainer,{darkMode:this.darkMode},Array.from(this.items.entries()).map((([t,n])=>(0,o.h)(e.SnackbarInstance,Object.assign({},n,{key:t})))))),this.root)}},e.SnackbarContainer=t=>(0,o.h)("div",{class:(0,i.default)("-cbwsdk-snackbar-container")},(0,o.h)("style",null,s.default),(0,o.h)("div",{class:"-cbwsdk-snackbar"},t.children)),e.SnackbarInstance=({autoExpand:t,message:e,menuItems:n})=>{const[r,s]=(0,a.useState)(!0),[u,c]=(0,a.useState)(null!=t&&t);return(0,a.useEffect)((()=>{const t=[window.setTimeout((()=>{s(!1)}),1),window.setTimeout((()=>{c(!0)}),1e4)];return()=>{t.forEach(window.clearTimeout)}})),(0,o.h)("div",{class:(0,i.default)("-cbwsdk-snackbar-instance",r&&"-cbwsdk-snackbar-instance-hidden",u&&"-cbwsdk-snackbar-instance-expanded")},(0,o.h)("div",{class:"-cbwsdk-snackbar-instance-header",onClick:()=>{c(!u)}},(0,o.h)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDkyIDEwLjQxOWE4LjkzIDguOTMgMCAwMTguOTMtOC45M2gxMS4xNjNhOC45MyA4LjkzIDAgMDE4LjkzIDguOTN2MTEuMTYzYTguOTMgOC45MyAwIDAxLTguOTMgOC45M0gxMC40MjJhOC45MyA4LjkzIDAgMDEtOC45My04LjkzVjEwLjQxO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-header-cblogo"}),(0,o.h)("div",{class:"-cbwsdk-snackbar-instance-header-message"},e),(0,o.h)("div",{class:"-gear-container"},!u&&(0,o.h)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5F7F8"})),(0,o.h)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyIDYuNzV2LTEuNWwtMS43Mi0uNTdjLS4wOC0uMjctLjE5LS41Mi0uMzItLjc3bC44MS0xLjYyLTEuMDYtMS4wNi0xLjYyLjgxYy0uMjQtLjEzLS41LS4yNC0uNzctLjMyTDYuNzUgMGgtMS41bC0uNTcgMS43MmMtLjI3LjA4LS41My4xOS0uNzcuMzJsLTEuNjItLjgxLTEuMDYgMS4wNi44MSAxLjYyYy0uMTMuMjQtLjI0LjUtLjMyLjc3TDAgNS4yNXYxLjVsMS43Mi41N2MuMDguMjcuMTkuNTMuMzIuNzdsLS44MSAxLjYyIDEuMDYgMS4wNiAxLjYyLS44MWMuMjQuMTMuNS4yMy43Ny4zMkw1LjI1IDEyaDEuNWwuNTctMS43MmMuMjctLjA4LjUyLS4xOS43Ny0uMzJsMS42Mi44MSAxLjA2LTEuMDYtLjgxLTEuNjJjLjEzLS4yNC4yMy0uNS4zMi0uNzdMMTIgNi43NXpNNiA4LjVhMi41IDIuNSAwIDAxMC01IDIuNSAyLjUgMCAwMTAgNXoiIGZpbGw9IiMwNTBGMTkiLz48L3N2Zz4=",class:"-gear-icon",title:"Expand"}))),n&&n.length>0&&(0,o.h)("div",{class:"-cbwsdk-snackbar-instance-menu"},n.map(((t,e)=>(0,o.h)("div",{class:(0,i.default)("-cbwsdk-snackbar-instance-menu-item",t.isRed&&"-cbwsdk-snackbar-instance-menu-item-is-red"),onClick:t.onClick,key:e},(0,o.h)("svg",{width:t.svgWidth,height:t.svgHeight,viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,o.h)("path",{"fill-rule":t.defaultFillRule,"clip-rule":t.defaultClipRule,d:t.path,fill:"#AAAAAA"})),(0,o.h)("span",{class:(0,i.default)("-cbwsdk-snackbar-instance-menu-item-info",t.isRed&&"-cbwsdk-snackbar-instance-menu-item-info-is-red")},t.info))))))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=".-cbwsdk-css-reset .-gear-container{margin-left:16px !important;margin-right:9px !important;display:flex;align-items:center;justify-content:center;width:24px;height:24px;transition:opacity .25s}.-cbwsdk-css-reset .-gear-container *{user-select:none}.-cbwsdk-css-reset .-gear-container svg{opacity:0;position:absolute}.-cbwsdk-css-reset .-gear-icon{height:12px;width:12px;z-index:10000}.-cbwsdk-css-reset .-cbwsdk-snackbar{align-items:flex-end;display:flex;flex-direction:column;position:fixed;right:0;top:0;z-index:2147483647}.-cbwsdk-css-reset .-cbwsdk-snackbar *{user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance{display:flex;flex-direction:column;margin:8px 16px 0 16px;overflow:visible;text-align:left;transform:translateX(0);transition:opacity .25s,transform .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header:hover .-gear-container svg{opacity:1}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header{display:flex;align-items:center;background:#fff;overflow:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-cblogo{margin:8px 8px 8px 8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-header-message{color:#000;font-size:13px;line-height:1.5;user-select:none}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu{background:#fff;transition:opacity .25s ease-in-out,transform .25s linear,visibility 0s;visibility:hidden;border:1px solid #e7ebee;box-sizing:border-box;border-radius:8px;opacity:0;flex-direction:column;padding-left:8px;padding-right:8px}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:last-child{margin-bottom:8px !important}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover{background:#f5f7f8;border-radius:6px;transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover span{color:#050f19;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item:hover svg path{fill:#000;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item{visibility:inherit;height:35px;margin-top:8px;margin-bottom:0;display:flex;flex-direction:row;align-items:center;padding:8px;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item *{visibility:inherit;cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover{background:rgba(223,95,103,.2);transition:background .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover *{cursor:pointer}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover svg path{fill:#df5f67;transition:fill .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-is-red:hover span{color:#df5f67;transition:color .25s}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-menu-item-info{color:#aaa;font-size:13px;margin:0 8px 0 32px;position:absolute}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-hidden{opacity:0;text-align:left;transform:translateX(25%);transition:opacity .5s linear}.-cbwsdk-css-reset .-cbwsdk-snackbar-instance-expanded .-cbwsdk-snackbar-instance-menu{opacity:1;display:flex;transform:translateY(8px);visibility:visible}"},function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.injectCssReset=void 0;const i=r(n(209));e.injectCssReset=function(){const t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(i.default)),document.documentElement.appendChild(t)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default='@namespace svg "http://www.w3.org/2000/svg";.-cbwsdk-css-reset,.-cbwsdk-css-reset *{animation:none;animation-delay:0;animation-direction:normal;animation-duration:0;animation-fill-mode:none;animation-iteration-count:1;animation-name:none;animation-play-state:running;animation-timing-function:ease;backface-visibility:visible;background:0;background-attachment:scroll;background-clip:border-box;background-color:rgba(0,0,0,0);background-image:none;background-origin:padding-box;background-position:0 0;background-position-x:0;background-position-y:0;background-repeat:repeat;background-size:auto auto;border:0;border-style:none;border-width:medium;border-color:inherit;border-bottom:0;border-bottom-color:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-style:none;border-bottom-width:medium;border-collapse:separate;border-image:none;border-left:0;border-left-color:inherit;border-left-style:none;border-left-width:medium;border-radius:0;border-right:0;border-right-color:inherit;border-right-style:none;border-right-width:medium;border-spacing:0;border-top:0;border-top-color:inherit;border-top-left-radius:0;border-top-right-radius:0;border-top-style:none;border-top-width:medium;bottom:auto;box-shadow:none;box-sizing:border-box;caption-side:top;clear:none;clip:auto;color:inherit;columns:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium none currentColor;column-rule-color:currentColor;column-rule-style:none;column-rule-width:none;column-span:1;column-width:auto;content:normal;counter-increment:none;counter-reset:none;cursor:auto;direction:ltr;display:block;empty-cells:show;float:none;font:normal;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;height:auto;hyphens:none;left:auto;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;margin:0;margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;orphans:0;outline:0;outline-color:invert;outline-style:none;outline-width:medium;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:"\\201C" "\\201D" "\\2018" "\\2019";right:auto;tab-size:8;table-layout:auto;text-align:inherit;text-align-last:auto;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-style:flat;transition:none;transition-delay:0s;transition-duration:0s;transition-property:none;transition-timing-function:ease;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;widows:0;width:auto;word-spacing:normal;z-index:auto}.-cbwsdk-css-reset *{box-sizing:border-box;display:initial;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;line-height:1}.-cbwsdk-css-reset [class*=container]{margin:0;padding:0}.-cbwsdk-css-reset style{display:none}'},function(t,e,n){var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n),Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a},a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKRelay=void 0;const u=s(n(211)),c=n(86),l=n(48),h=n(69),d=n(89),f=n(212),p=n(216),m=n(68),g=n(38),y=a(n(217)),v=n(90),b=n(107),w=n(125),M=n(218),k=n(219),L=n(220),A=n(221);class x extends b.WalletSDKRelayAbstract{constructor(t){var e;super(),this.accountsCallback=null,this.chainCallback=null,this.appName="",this.appLogoUrl=null,this.subscriptions=new l.Subscription,this.linkAPIUrl=t.linkAPIUrl,this.storage=t.storage,this.options=t;const{session:n,ui:r,connection:i}=this.subscribe();if(this._session=n,this.connection=i,this.relayEventManager=t.relayEventManager,t.diagnosticLogger&&t.eventListener)throw new Error("Can't have both eventListener and diagnosticLogger options, use only diagnosticLogger");t.eventListener?this.diagnostic={log:t.eventListener.onEvent}:this.diagnostic=t.diagnosticLogger,this._reloadOnDisconnect=null===(e=t.reloadOnDisconnect)||void 0===e||e,this.ui=r}subscribe(){const t=v.Session.load(this.storage)||new v.Session(this.storage).save(),e=new f.WalletSDKConnection(t.id,t.key,this.linkAPIUrl,this.diagnostic);this.subscriptions.add(e.sessionConfig$.subscribe({next:t=>{this.onSessionConfigChanged(t)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"error while invoking session config callback"})}})),this.subscriptions.add(e.incomingEvent$.pipe((0,h.filter)((t=>"Web3Response"===t.event))).subscribe({next:this.handleIncomingEvent})),this.subscriptions.add(e.linked$.pipe((0,h.skip)(1),(0,h.tap)((t=>{var e;this.isLinked=t;const n=this.storage.getItem(b.LOCAL_STORAGE_ADDRESSES_KEY);if(t&&(this.session.linked=t),this.isUnlinkedErrorState=!1,n){const r=n.split(" "),i="true"===this.storage.getItem("IsStandaloneSigning");if(""!==r[0]&&!t&&this.session.linked&&!i){this.isUnlinkedErrorState=!0;const t=this.getSessionIdHash();null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.UNLINKED_ERROR_STATE,{sessionIdHash:t})}}}))).subscribe()),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>!!t.metadata&&"1"===t.metadata.__destroyed))).subscribe((()=>{var t;const n=e.isDestroyed;return null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.METADATA_DESTROYED,{alreadyDestroyed:n,sessionIdHash:this.getSessionIdHash()}),this.resetAndReload()}))),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.WalletUsername))).pipe((0,h.mergeMap)((e=>y.decrypt(e.metadata.WalletUsername,t.secret)))).subscribe({next:t=>{this.storage.setItem(b.WALLET_USER_NAME_KEY,t)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"username"})}})),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.AppVersion))).pipe((0,h.mergeMap)((e=>y.decrypt(e.metadata.AppVersion,t.secret)))).subscribe({next:t=>{this.storage.setItem(b.APP_VERSION_KEY,t)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"appversion"})}})),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.ChainId&&void 0!==t.metadata.JsonRpcUrl))).pipe((0,h.mergeMap)((e=>(0,l.zip)(y.decrypt(e.metadata.ChainId,t.secret),y.decrypt(e.metadata.JsonRpcUrl,t.secret))))).pipe((0,h.distinctUntilChanged)()).subscribe({next:([t,e])=>{this.chainCallback&&this.chainCallback(t,e)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"chainId|jsonRpcUrl"})}})),this.subscriptions.add(e.sessionConfig$.pipe((0,h.filter)((t=>t.metadata&&void 0!==t.metadata.EthereumAddress))).pipe((0,h.mergeMap)((e=>y.decrypt(e.metadata.EthereumAddress,t.secret)))).subscribe({next:t=>{this.accountsCallback&&this.accountsCallback([t]),x.accountRequestCallbackIds.size>0&&(Array.from(x.accountRequestCallbackIds.values()).forEach((e=>{const n=(0,A.Web3ResponseMessage)({id:e,response:(0,L.RequestEthereumAccountsResponse)([t])});this.invokeCallback(Object.assign(Object.assign({},n),{id:e}))})),x.accountRequestCallbackIds.clear())},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"selectedAddress"})}}));const n=this.options.uiConstructor({linkAPIUrl:this.options.linkAPIUrl,version:this.options.version,darkMode:this.options.darkMode,session:t,connected$:e.connected$});return e.connect(),{session:t,ui:n,connection:e}}attachUI(){this.ui.attach()}resetAndReload(){this.connection.setSessionMetadata("__destroyed","1").pipe((0,h.timeout)(1e3),(0,h.catchError)((t=>(0,l.of)(null)))).subscribe((t=>{var e,n,r;const i=this.ui.isStandalone();try{this.subscriptions.unsubscribe()}catch(t){null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.GENERAL_ERROR,{message:"Had error unsubscribing"})}null===(n=this.diagnostic)||void 0===n||n.log(d.EVENTS.SESSION_STATE_CHANGE,{method:"relay::resetAndReload",sessionMetadataChange:"__destroyed, 1",sessionIdHash:this.getSessionIdHash()}),this.connection.destroy();const o=v.Session.load(this.storage);if((null==o?void 0:o.id)===this._session.id?this.storage.clear():o&&(null===(r=this.diagnostic)||void 0===r||r.log(d.EVENTS.SKIPPED_CLEARING_SESSION,{sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:v.Session.hash(o.id)})),this._reloadOnDisconnect)return void this.ui.reloadUI();this.accountsCallback&&this.accountsCallback([],!0);const{session:a,ui:s,connection:u}=this.subscribe();this._session=a,this.connection=u,this.ui=s,i&&this.ui.setStandalone&&this.ui.setStandalone(!0),this.attachUI()}),(t=>{var e;null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.FAILURE,{method:"relay::resetAndReload",message:"failed to reset and reload with "+t,sessionIdHash:this.getSessionIdHash()})}))}setAppInfo(t,e){this.appName=t,this.appLogoUrl=e}getStorageItem(t){return this.storage.getItem(t)}get session(){return this._session}setStorageItem(t,e){this.storage.setItem(t,e)}signEthereumMessage(t,e,n,r){return this.sendRequest({method:w.Web3Method.signEthereumMessage,params:{message:(0,g.hexStringFromBuffer)(t,!0),address:e,addPrefix:n,typedDataJson:r||null}})}ethereumAddressFromSignedMessage(t,e,n){return this.sendRequest({method:w.Web3Method.ethereumAddressFromSignedMessage,params:{message:(0,g.hexStringFromBuffer)(t,!0),signature:(0,g.hexStringFromBuffer)(e,!0),addPrefix:n}})}signEthereumTransaction(t){return this.sendRequest({method:w.Web3Method.signEthereumTransaction,params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:(0,g.bigIntStringFromBN)(t.weiValue),data:(0,g.hexStringFromBuffer)(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,maxFeePerGas:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,maxPriorityFeePerGas:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,gasLimit:t.gasLimit?(0,g.bigIntStringFromBN)(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!1}})}signAndSubmitEthereumTransaction(t){return this.sendRequest({method:w.Web3Method.signEthereumTransaction,params:{fromAddress:t.fromAddress,toAddress:t.toAddress,weiValue:(0,g.bigIntStringFromBN)(t.weiValue),data:(0,g.hexStringFromBuffer)(t.data,!0),nonce:t.nonce,gasPriceInWei:t.gasPriceInWei?(0,g.bigIntStringFromBN)(t.gasPriceInWei):null,maxFeePerGas:t.maxFeePerGas?(0,g.bigIntStringFromBN)(t.maxFeePerGas):null,maxPriorityFeePerGas:t.maxPriorityFeePerGas?(0,g.bigIntStringFromBN)(t.maxPriorityFeePerGas):null,gasLimit:t.gasLimit?(0,g.bigIntStringFromBN)(t.gasLimit):null,chainId:t.chainId,shouldSubmit:!0}})}submitEthereumTransaction(t,e){return this.sendRequest({method:w.Web3Method.submitEthereumTransaction,params:{signedTransaction:(0,g.hexStringFromBuffer)(t,!0),chainId:e}})}scanQRCode(t){return this.sendRequest({method:w.Web3Method.scanQRCode,params:{regExp:t}})}getQRCodeUrl(){return(0,g.createQrUrl)(this._session.id,this._session.secret,this.linkAPIUrl,!1)}genericRequest(t,e){return this.sendRequest({method:w.Web3Method.generic,params:{action:e,data:t}})}sendGenericMessage(t){return this.sendRequest(t)}sendRequest(t){let e=null;const n=(0,g.randomBytesHex)(8),r=r=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,t.method,r),null==e||e()};return{promise:new Promise(((i,o)=>{this.ui.isStandalone()||(e=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:r,onResetConnection:this.resetAndReload})),this.relayEventManager.callbacks.set(n,(t=>{if(null==e||e(),t.errorMessage)return o(new Error(t.errorMessage));i(t)})),this.ui.isStandalone()?this.sendRequestStandalone(n,t):this.publishWeb3RequestEvent(n,t)})),cancel:r}}setConnectDisabled(t){this.ui.setConnectDisabled(t)}setAccountsCallback(t){this.accountsCallback=t}setChainCallback(t){this.chainCallback=t}publishWeb3RequestEvent(t,e){var n;const r=(0,k.Web3RequestMessage)({id:t,request:e}),i=v.Session.load(this.storage);null===(n=this.diagnostic)||void 0===n||n.log(d.EVENTS.WEB3_REQUEST,{eventId:r.id,method:"relay::"+r.request.method,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i?v.Session.hash(i.id):"",isSessionMismatched:((null==i?void 0:i.id)!==this._session.id).toString()}),this.subscriptions.add(this.publishEvent("Web3Request",r,!0).subscribe({next:t=>{var e;null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.WEB3_REQUEST_PUBLISHED,{eventId:r.id,method:"relay::"+r.request.method,sessionIdHash:this.getSessionIdHash(),storedSessionIdHash:i?v.Session.hash(i.id):"",isSessionMismatched:((null==i?void 0:i.id)!==this._session.id).toString()})},error:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r.id,response:{method:r.request.method,errorMessage:t.message}}))}}))}publishWeb3RequestCanceledEvent(t){const e=(0,M.Web3RequestCanceledMessage)(t);this.subscriptions.add(this.publishEvent("Web3RequestCanceled",e,!1).subscribe())}publishEvent(t,e,n){const r=this.session.secret;return new l.Observable((t=>{y.encrypt(JSON.stringify(Object.assign(Object.assign({},e),{origin:location.origin})),r).then((e=>{t.next(e),t.complete()}))})).pipe((0,h.mergeMap)((e=>this.connection.publishEvent(t,e,n))))}handleIncomingEvent(t){try{this.subscriptions.add(y.decrypt(t.data,this.session.secret).pipe((0,h.map)((t=>JSON.parse(t)))).subscribe({next:t=>{const e=(0,A.isWeb3ResponseMessage)(t)?t:null;e&&this.handleWeb3ResponseMessage(e)},error:()=>{var t;null===(t=this.diagnostic)||void 0===t||t.log(d.EVENTS.GENERAL_ERROR,{message:"Had error decrypting",value:"incomingEvent"})}}))}catch(t){return}}handleWeb3ResponseMessage(t){var e;const{response:n}=t;if(null===(e=this.diagnostic)||void 0===e||e.log(d.EVENTS.WEB3_RESPONSE,{eventId:t.id,method:"relay::"+n.method,sessionIdHash:this.getSessionIdHash()}),(0,L.isRequestEthereumAccountsResponse)(n))return x.accountRequestCallbackIds.forEach((e=>this.invokeCallback(Object.assign(Object.assign({},t),{id:e})))),void x.accountRequestCallbackIds.clear();this.invokeCallback(t)}handleErrorResponse(t,e,n,r){this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:t,response:(0,L.ErrorResponse)(e,(null!=n?n:p.WalletUIError.UserRejectedRequest).message,r)}))}invokeCallback(t){const e=this.relayEventManager.callbacks.get(t.id);e&&(e(t.response),this.relayEventManager.callbacks.delete(t.id))}requestEthereumAccounts(){const t={method:w.Web3Method.requestEthereumAccounts,params:{appName:this.appName,appLogoUrl:this.appLogoUrl||null}},e=(0,g.randomBytesHex)(8),n=n=>{this.publishWeb3RequestCanceledEvent(e),this.handleErrorResponse(e,t.method,n)};return{promise:new Promise(((r,i)=>{var o;this.relayEventManager.callbacks.set(e,(t=>{if(this.ui.hideRequestEthereumAccounts(),t.errorMessage)return i(new Error(t.errorMessage));r(t)}));const a=(null===(o=null===window||void 0===window?void 0:window.navigator)||void 0===o?void 0:o.userAgent)||null;if(a&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a))window.location.href="https://go.cb-w.com/xoXnYwQimhb?cb_url="+encodeURIComponent(window.location.href);else{if(this.ui.inlineAccountsResponse()){const t=t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:e,response:(0,L.RequestEthereumAccountsResponse)(t)}))};this.ui.requestEthereumAccounts({onCancel:n,onAccounts:t})}else{const t=c.ethErrors.provider.userRejectedRequest("User denied account authorization");this.ui.requestEthereumAccounts({onCancel:()=>n(t)})}x.accountRequestCallbackIds.add(e),this.ui.inlineAccountsResponse()||this.ui.isStandalone()||this.publishWeb3RequestEvent(e,t)}})),cancel:n}}selectProvider(t){const e={method:w.Web3Method.selectProvider,params:{providerOptions:t}},n=(0,g.randomBytesHex)(8);return{cancel:t=>{this.publishWeb3RequestCanceledEvent(n),this.handleErrorResponse(n,e.method,t)},promise:new Promise(((e,r)=>{this.relayEventManager.callbacks.set(n,(t=>{if(t.errorMessage)return r(new Error(t.errorMessage));e(t)})),this.ui.selectProvider&&this.ui.selectProvider({onApprove:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:n,response:(0,L.SelectProviderResponse)(t)}))},onCancel:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:n,response:(0,L.SelectProviderResponse)(m.ProviderType.Unselected)}))},providerOptions:t})}))}}watchAsset(t,e,n,r,i,o){const a={method:w.Web3Method.watchAsset,params:{type:t,options:{address:e,symbol:n,decimals:r,image:i},chainId:o}};let s=null;const u=(0,g.randomBytesHex)(8),c=t=>{this.publishWeb3RequestCanceledEvent(u),this.handleErrorResponse(u,a.method,t),null==s||s()};return this.ui.inlineWatchAsset()||(s=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:c,onResetConnection:this.resetAndReload})),{cancel:c,promise:new Promise(((c,l)=>{this.relayEventManager.callbacks.set(u,(t=>{if(null==s||s(),t.errorMessage)return l(new Error(t.errorMessage));c(t)}));this.ui.inlineWatchAsset()&&this.ui.watchAsset({onApprove:()=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.WatchAssetReponse)(!0)}))},onCancel:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.WatchAssetReponse)(!1)}))},type:t,address:e,symbol:n,decimals:r,image:i,chainId:o}),this.ui.inlineWatchAsset()||this.ui.isStandalone()||this.publishWeb3RequestEvent(u,a)}))}}addEthereumChain(t,e,n,r,i,o){const a={method:w.Web3Method.addEthereumChain,params:{chainId:t,rpcUrls:e,blockExplorerUrls:r,chainName:i,iconUrls:n,nativeCurrency:o}};let s=null;const u=(0,g.randomBytesHex)(8),c=t=>{this.publishWeb3RequestCanceledEvent(u),this.handleErrorResponse(u,a.method,t),null==s||s()};return this.ui.inlineAddEthereumChain(t)||(s=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:c,onResetConnection:this.resetAndReload})),{promise:new Promise(((e,n)=>{this.relayEventManager.callbacks.set(u,(t=>{if(null==s||s(),t.errorMessage)return n(new Error(t.errorMessage));e(t)}));this.ui.inlineAddEthereumChain(t)&&this.ui.addEthereumChain({onCancel:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.AddEthereumChainResponse)({isApproved:!1,rpcUrl:""})}))},onApprove:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:u,response:(0,L.AddEthereumChainResponse)({isApproved:!0,rpcUrl:t})}))},chainId:a.params.chainId,rpcUrls:a.params.rpcUrls,blockExplorerUrls:a.params.blockExplorerUrls,chainName:a.params.chainName,iconUrls:a.params.iconUrls,nativeCurrency:a.params.nativeCurrency}),this.ui.inlineAddEthereumChain(t)||this.ui.isStandalone()||this.publishWeb3RequestEvent(u,a)})),cancel:c}}switchEthereumChain(t){const e={method:w.Web3Method.switchEthereumChain,params:{chainId:t}};let n=null;const r=(0,g.randomBytesHex)(8),i=t=>{this.publishWeb3RequestCanceledEvent(r),this.handleErrorResponse(r,e.method,t),null==n||n()};return this.ui.inlineSwitchEthereumChain()||(n=this.ui.showConnecting({isUnlinkedErrorState:this.isUnlinkedErrorState,onCancel:i,onResetConnection:this.resetAndReload})),{promise:new Promise(((t,i)=>{this.relayEventManager.callbacks.set(r,(e=>(null==n||n(),e.errorMessage&&e.errorCode?i(c.ethErrors.provider.custom({code:e.errorCode,message:"Unrecognized chain ID. Try adding the chain using addEthereumChain first."})):e.errorMessage?i(new Error(e.errorMessage)):void t(e)))),this.ui.switchEthereumChain({onCancel:t=>{if("number"==typeof t){const e=t;this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r,response:(0,L.ErrorResponse)(w.Web3Method.switchEthereumChain,p.WalletUIError.SwitchEthereumChainUnsupportedChainId.message,e)}))}else t instanceof p.WalletUIError?this.handleErrorResponse(r,w.Web3Method.switchEthereumChain,t,t.errorCode):this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r,response:(0,L.SwitchEthereumChainResponse)({isApproved:!1,rpcUrl:""})}))},onApprove:t=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:r,response:(0,L.SwitchEthereumChainResponse)({isApproved:!0,rpcUrl:t})}))},chainId:e.params.chainId}),this.ui.inlineSwitchEthereumChain()||this.ui.isStandalone()||this.publishWeb3RequestEvent(r,e)})),cancel:i}}inlineAddEthereumChain(t){return this.ui.inlineAddEthereumChain(t)}getSessionIdHash(){return v.Session.hash(this._session.id)}sendRequestStandalone(t,e){const n=n=>{this.handleErrorResponse(t,e.method,n)},r=e=>{this.handleWeb3ResponseMessage((0,A.Web3ResponseMessage)({id:t,response:e}))};switch(e.method){case w.Web3Method.signEthereumMessage:this.ui.signEthereumMessage({request:e,onSuccess:r,onCancel:n});break;case w.Web3Method.signEthereumTransaction:this.ui.signEthereumTransaction({request:e,onSuccess:r,onCancel:n});break;case w.Web3Method.submitEthereumTransaction:this.ui.submitEthereumTransaction({request:e,onSuccess:r,onCancel:n});break;case w.Web3Method.ethereumAddressFromSignedMessage:this.ui.ethereumAddressFromSignedMessage({request:e,onSuccess:r});break;default:n()}}onSessionConfigChanged(t){}}x.accountRequestCallbackIds=new Set,o([u.default],x.prototype,"resetAndReload",null),o([u.default],x.prototype,"handleIncomingEvent",null),e.WalletSDKRelay=x},function(t,e,n){var r;function i(t,e,n){if(!n||typeof n.value!==r.typeOfFunction)throw new TypeError("Only methods can be decorated with @bind. <"+e+"> is not a method!");return{configurable:r.boolTrue,get:function(){var t=n.value.bind(this);return Object.defineProperty(this,e,{value:t,configurable:r.boolTrue,writable:r.boolTrue}),t}}}Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.typeOfFunction="function",t.boolTrue=!0}(r||(r={})),e.bind=i,e.default=i},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKConnection=void 0;const r=n(48),i=n(69),o=n(90),a=n(68),s=n(213),u=n(89),c=n(214),l=n(215);e.WalletSDKConnection=class{constructor(t,e,n,s,l=WebSocket){this.sessionId=t,this.sessionKey=e,this.diagnostic=s,this.subscriptions=new r.Subscription,this.destroyed=!1,this.lastHeartbeatResponse=0,this.nextReqId=(0,a.IntNumber)(1),this.connectedSubject=new r.BehaviorSubject(!1),this.linkedSubject=new r.BehaviorSubject(!1),this.sessionConfigSubject=new r.ReplaySubject(1);const h=new c.RxWebSocket(n+"/rpc",l);this.ws=h,this.subscriptions.add(h.connectionState$.pipe((0,i.tap)((e=>{var n;return null===(n=this.diagnostic)||void 0===n?void 0:n.log(u.EVENTS.CONNECTED_STATE_CHANGE,{state:e,sessionIdHash:o.Session.hash(t)})})),(0,i.skip)(1),(0,i.filter)((t=>t===c.ConnectionState.DISCONNECTED&&!this.destroyed)),(0,i.delay)(5e3),(0,i.filter)((t=>!this.destroyed)),(0,i.flatMap)((t=>h.connect())),(0,i.retry)()).subscribe()),this.subscriptions.add(h.connectionState$.pipe((0,i.skip)(2),(0,i.switchMap)((t=>(0,r.iif)((()=>t===c.ConnectionState.CONNECTED),this.authenticate().pipe((0,i.tap)((t=>this.sendIsLinked())),(0,i.tap)((t=>this.sendGetSessionConfig())),(0,i.map)((t=>!0))),(0,r.of)(!1)))),(0,i.distinctUntilChanged)(),(0,i.catchError)((t=>(0,r.of)(!1)))).subscribe((t=>this.connectedSubject.next(t)))),this.subscriptions.add(h.connectionState$.pipe((0,i.skip)(1),(0,i.switchMap)((t=>(0,r.iif)((()=>t===c.ConnectionState.CONNECTED),(0,r.timer)(0,1e4))))).subscribe((t=>0===t?this.updateLastHeartbeat():this.heartbeat()))),this.subscriptions.add(h.incomingData$.pipe((0,i.filter)((t=>"h"===t))).subscribe((t=>this.updateLastHeartbeat()))),this.subscriptions.add(h.incomingJSONData$.pipe((0,i.filter)((t=>["IsLinkedOK","Linked"].includes(t.type)))).subscribe((e=>{var n;const r=e;null===(n=this.diagnostic)||void 0===n||n.log(u.EVENTS.LINKED,{sessionIdHash:o.Session.hash(t),linked:r.linked,type:e.type,onlineGuests:r.onlineGuests}),this.linkedSubject.next(r.linked||r.onlineGuests>0)}))),this.subscriptions.add(h.incomingJSONData$.pipe((0,i.filter)((t=>["GetSessionConfigOK","SessionConfigUpdated"].includes(t.type)))).subscribe((e=>{var n;const r=e;null===(n=this.diagnostic)||void 0===n||n.log(u.EVENTS.SESSION_CONFIG_RECEIVED,{sessionIdHash:o.Session.hash(t),metadata_keys:r&&r.metadata?Object.keys(r.metadata):void 0}),this.sessionConfigSubject.next({webhookId:r.webhookId,webhookUrl:r.webhookUrl,metadata:r.metadata})})))}connect(){var t;if(this.destroyed)throw new Error("instance is destroyed");null===(t=this.diagnostic)||void 0===t||t.log(u.EVENTS.STARTED_CONNECTING,{sessionIdHash:o.Session.hash(this.sessionId)}),this.ws.connect().subscribe()}destroy(){var t;this.subscriptions.unsubscribe(),this.ws.disconnect(),null===(t=this.diagnostic)||void 0===t||t.log(u.EVENTS.DISCONNECTED,{sessionIdHash:o.Session.hash(this.sessionId)}),this.destroyed=!0}get isDestroyed(){return this.destroyed}get connected$(){return this.connectedSubject.asObservable()}get onceConnected$(){return this.connected$.pipe((0,i.filter)((t=>t)),(0,i.take)(1),(0,i.map)((()=>{})))}get linked$(){return this.linkedSubject.asObservable()}get onceLinked$(){return this.linked$.pipe((0,i.filter)((t=>t)),(0,i.take)(1),(0,i.map)((()=>{})))}get sessionConfig$(){return this.sessionConfigSubject.asObservable()}get incomingEvent$(){return this.ws.incomingJSONData$.pipe((0,i.filter)((t=>{if("Event"!==t.type)return!1;const e=t;return"string"==typeof e.sessionId&&"string"==typeof e.eventId&&"string"==typeof e.event&&"string"==typeof e.data})),(0,i.map)((t=>t)))}setSessionMetadata(t,e){const n=(0,s.ClientMessageSetSessionConfig)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId,metadata:{[t]:e}});return this.onceConnected$.pipe((0,i.flatMap)((t=>this.makeRequest(n))),(0,i.map)((t=>{if((0,l.isServerMessageFail)(t))throw new Error(t.error||"failed to set session metadata")})))}publishEvent(t,e,n=!1){const r=(0,s.ClientMessagePublishEvent)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId,event:t,data:e,callWebhook:n});return this.onceLinked$.pipe((0,i.flatMap)((t=>this.makeRequest(r))),(0,i.map)((t=>{if((0,l.isServerMessageFail)(t))throw new Error(t.error||"failed to publish event");return t.eventId})))}sendData(t){this.ws.sendData(JSON.stringify(t))}updateLastHeartbeat(){this.lastHeartbeatResponse=Date.now()}heartbeat(){if(Date.now()-this.lastHeartbeatResponse>2e4)this.ws.disconnect();else try{this.ws.sendData("h")}catch(t){}}makeRequest(t,e=6e4){const n=t.id;try{this.sendData(t)}catch(t){return(0,r.throwError)(t)}return this.ws.incomingJSONData$.pipe((0,i.timeoutWith)(e,(0,r.throwError)(new Error(`request ${n} timed out`))),(0,i.filter)((t=>t.id===n)),(0,i.take)(1))}authenticate(){const t=(0,s.ClientMessageHostSession)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId,sessionKey:this.sessionKey});return this.makeRequest(t).pipe((0,i.map)((t=>{if((0,l.isServerMessageFail)(t))throw new Error(t.error||"failed to authentcate")})))}sendIsLinked(){const t=(0,s.ClientMessageIsLinked)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId});this.sendData(t)}sendGetSessionConfig(){const t=(0,s.ClientMessageGetSessionConfig)({id:(0,a.IntNumber)(this.nextReqId++),sessionId:this.sessionId});this.sendData(t)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ClientMessagePublishEvent=e.ClientMessageSetSessionConfig=e.ClientMessageGetSessionConfig=e.ClientMessageIsLinked=e.ClientMessageHostSession=void 0,e.ClientMessageHostSession=function(t){return Object.assign({type:"HostSession"},t)},e.ClientMessageIsLinked=function(t){return Object.assign({type:"IsLinked"},t)},e.ClientMessageGetSessionConfig=function(t){return Object.assign({type:"GetSessionConfig"},t)},e.ClientMessageSetSessionConfig=function(t){return Object.assign({type:"SetSessionConfig"},t)},e.ClientMessagePublishEvent=function(t){return Object.assign({type:"PublishEvent"},t)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.RxWebSocket=e.ConnectionState=void 0;const r=n(48),i=n(69);var o;!function(t){t[t.DISCONNECTED=0]="DISCONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.CONNECTED=2]="CONNECTED"}(o=e.ConnectionState||(e.ConnectionState={})),e.RxWebSocket=class{constructor(t,e=WebSocket){this.WebSocketClass=e,this.webSocket=null,this.connectionStateSubject=new r.BehaviorSubject(o.DISCONNECTED),this.incomingDataSubject=new r.Subject,this.url=t.replace(/^http/,"ws")}connect(){return this.webSocket?(0,r.throwError)(new Error("webSocket object is not null")):new r.Observable((t=>{let e;try{this.webSocket=e=new this.WebSocketClass(this.url)}catch(e){return void t.error(e)}this.connectionStateSubject.next(o.CONNECTING),e.onclose=e=>{this.clearWebSocket(),t.error(new Error(`websocket error ${e.code}: ${e.reason}`)),this.connectionStateSubject.next(o.DISCONNECTED)},e.onopen=e=>{t.next(),t.complete(),this.connectionStateSubject.next(o.CONNECTED)},e.onmessage=t=>{this.incomingDataSubject.next(t.data)}})).pipe((0,i.take)(1))}disconnect(){const{webSocket:t}=this;if(t){this.clearWebSocket(),this.connectionStateSubject.next(o.DISCONNECTED);try{t.close()}catch(t){}}}get connectionState$(){return this.connectionStateSubject.asObservable()}get incomingData$(){return this.incomingDataSubject.asObservable()}get incomingJSONData$(){return this.incomingData$.pipe((0,i.flatMap)((t=>{let e;try{e=JSON.parse(t)}catch(t){return(0,r.empty)()}return(0,r.of)(e)})))}sendData(t){const{webSocket:e}=this;if(!e)throw new Error("websocket is not connected");e.send(t)}clearWebSocket(){const{webSocket:t}=this;t&&(this.webSocket=null,t.onclose=null,t.onerror=null,t.onmessage=null,t.onopen=null)}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.isServerMessageFail=void 0,e.isServerMessageFail=function(t){return t&&"Fail"===t.type&&"number"==typeof t.id&&"string"==typeof t.sessionId&&"string"==typeof t.error}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletUIError=void 0;class r extends Error{constructor(t,e){super(t),this.message=t,this.errorCode=e}}e.WalletUIError=r,r.UserRejectedRequest=new r("User rejected request"),r.SwitchEthereumChainUnsupportedChainId=new r("Unsupported chainId",4902)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.decrypt=e.encrypt=void 0;const r=n(48),i=n(38);e.encrypt=async function(t,e){if(64!==e.length)throw Error("secret must be 256 bits");const n=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.importKey("raw",(0,i.hexStringToUint8Array)(e),{name:"aes-gcm"},!1,["encrypt","decrypt"]),o=new TextEncoder,a=await window.crypto.subtle.encrypt({name:"AES-GCM",iv:n},r,o.encode(t)),s=a.slice(a.byteLength-16),u=a.slice(0,a.byteLength-16),c=new Uint8Array(s),l=new Uint8Array(u),h=new Uint8Array([...n,...c,...l]);return(0,i.uint8ArrayToHex)(h)},e.decrypt=function(t,e){if(64!==e.length)throw Error("secret must be 256 bits");return new r.Observable((n=>{!async function(){const r=await crypto.subtle.importKey("raw",(0,i.hexStringToUint8Array)(e),{name:"aes-gcm"},!1,["encrypt","decrypt"]),o=(0,i.hexStringToUint8Array)(t),a=o.slice(0,12),s=o.slice(12,28),u=o.slice(28),c=new Uint8Array([...u,...s]),l={name:"AES-GCM",iv:new Uint8Array(a)};try{const t=await window.crypto.subtle.decrypt(l,r,c),e=new TextDecoder;n.next(e.decode(t)),n.complete()}catch(t){n.error(t)}}()}))}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Web3RequestCanceledMessage=void 0;const r=n(100);e.Web3RequestCanceledMessage=function(t){return{type:r.RelayMessageType.WEB3_REQUEST_CANCELED,id:t}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.Web3RequestMessage=void 0;const r=n(100);e.Web3RequestMessage=function(t){return Object.assign({type:r.RelayMessageType.WEB3_REQUEST},t)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.EthereumAddressFromSignedMessageResponse=e.SubmitEthereumTransactionResponse=e.SignEthereumTransactionResponse=e.SignEthereumMessageResponse=e.isRequestEthereumAccountsResponse=e.SelectProviderResponse=e.WatchAssetReponse=e.RequestEthereumAccountsResponse=e.SwitchEthereumChainResponse=e.AddEthereumChainResponse=e.ErrorResponse=void 0;const r=n(125);e.ErrorResponse=function(t,e,n){return{method:t,errorMessage:e,errorCode:n}},e.AddEthereumChainResponse=function(t){return{method:r.Web3Method.addEthereumChain,result:t}},e.SwitchEthereumChainResponse=function(t){return{method:r.Web3Method.switchEthereumChain,result:t}},e.RequestEthereumAccountsResponse=function(t){return{method:r.Web3Method.requestEthereumAccounts,result:t}},e.WatchAssetReponse=function(t){return{method:r.Web3Method.watchAsset,result:t}},e.SelectProviderResponse=function(t){return{method:r.Web3Method.selectProvider,result:t}},e.isRequestEthereumAccountsResponse=function(t){return t&&t.method===r.Web3Method.requestEthereumAccounts},e.SignEthereumMessageResponse=function(t){return{method:r.Web3Method.signEthereumMessage,result:t}},e.SignEthereumTransactionResponse=function(t){return{method:r.Web3Method.signEthereumTransaction,result:t}},e.SubmitEthereumTransactionResponse=function(t){return{method:r.Web3Method.submitEthereumTransaction,result:t}},e.EthereumAddressFromSignedMessageResponse=function(t){return{method:r.Web3Method.ethereumAddressFromSignedMessage,result:t}}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.isWeb3ResponseMessage=e.Web3ResponseMessage=void 0;const r=n(100);e.Web3ResponseMessage=function(t){return Object.assign({type:r.RelayMessageType.WEB3_RESPONSE},t)},e.isWeb3ResponseMessage=function(t){return t&&t.type===r.RelayMessageType.WEB3_RESPONSE}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.WalletSDKRelayEventManager=void 0;const r=n(38);e.WalletSDKRelayEventManager=class{constructor(){this._nextRequestId=0,this.callbacks=new Map}makeRequestId(){this._nextRequestId=(this._nextRequestId+1)%2147483647;const t=this._nextRequestId,e=(0,r.prepend0x)(t.toString(16));return this.callbacks.get(e)&&this.callbacks.delete(e),t}}},function(t){t.exports=JSON.parse('{"name":"@coinbase/wallet-sdk","version":"3.4.0","description":"Coinbase Wallet JavaScript SDK","keywords":["cipher","cipherbrowser","coinbase","coinbasewallet","eth","ether","ethereum","etherium","injection","toshi","wallet","walletlink","web3"],"main":"dist/index.js","types":"dist/index.d.ts","repository":"https://github.com/coinbase/coinbase-wallet-sdk.git","author":"Coinbase, Inc.","license":"Apache-2.0","scripts":{"pretest:unit":"node compile-assets.js","test:unit":"jest","test:unit:coverage":"yarn test:unit && open coverage/lcov-report/index.html","test:karma":"yarn build-npm && karma start","prebuild":"node -p \\"\'export const LIB_VERSION = \' + JSON.stringify(require(\'./package.json\').version) + \';\'\\" > src/version.ts","build":"node compile-assets.js && webpack --config webpack.config.js","build-npm":"tsc -p ./tsconfig.build.json","build:dev":"export LINK_API_URL=\'http://localhost:3000\'; yarn build","build:dev:watch":"nodemon -e \'ts,tsx,js,json,css,scss,svg\' --ignore \'src/**/*-css.ts\' --ignore \'src/**/*-svg.ts\' --watch src/ --exec \'yarn build:dev\'","build:prod":"yarn prebuild && yarn build && yarn build-npm && cp ./package.json ./README.md ./LICENSE build/npm && cp -a src/vendor-js build/npm/dist && sed -i.bak \'s| \\"private\\": true,||g\' build/npm/package.json && rm -f build/npm/package.json.bak","lint:types":"tsc --noEmit","lint:prettier":"prettier --check \\"{src,__tests__}/**/*.(js|ts|tsx)\\"","lint:eslint":"eslint ./src --ext .ts,.tsx","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"prettier . --write","release":"./scripts/release.sh"},"dependencies":{"@metamask/safe-event-emitter":"2.0.0","bind-decorator":"^1.0.11","bn.js":"^5.1.1","buffer":"^6.0.3","clsx":"^1.1.0","eth-block-tracker":"4.4.3","eth-json-rpc-filters":"4.2.2","eth-rpc-errors":"4.0.2","json-rpc-engine":"6.1.0","keccak":"^3.0.1","preact":"^10.5.9","qs":"^6.10.3","rxjs":"^6.6.3","sha.js":"^2.4.11","stream-browserify":"^3.0.0","util":"^0.12.4"},"devDependencies":{"@babel/core":"^7.17.9","@babel/plugin-proposal-decorators":"^7.17.9","@babel/plugin-transform-react-jsx":"^7.17.3","@babel/preset-env":"^7.16.11","@babel/preset-typescript":"^7.16.7","@peculiar/webcrypto":"^1.3.3","@testing-library/jest-dom":"^5.16.4","@testing-library/preact":"^2.0.1","@types/bn.js":"^4.11.6","@types/jest":"^27.4.1","@types/node":"^14.14.20","@types/qs":"^6.9.7","@types/sha.js":"^2.4.0","@typescript-eslint/eslint-plugin":"^5.7.0","@typescript-eslint/eslint-plugin-tslint":"^5.7.0","@typescript-eslint/parser":"^5.7.0","babel-jest":"^27.5.1","browserify":"17.0.0","copy-webpack-plugin":"^6.4.1","core-js":"^3.8.2","eslint":"^8.4.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.25.3","eslint-plugin-preact":"^0.1.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-simple-import-sort":"^7.0.0","jasmine":"3.8.0","jest":"^27.5.1","jest-chrome":"^0.7.2","jest-websocket-mock":"^2.3.0","karma":"^6.3.15","karma-browserify":"8.1.0","karma-chrome-launcher":"^3.1.0","karma-jasmine":"^4.0.1","nodemon":"^2.0.6","prettier":"^2.5.1","raw-loader":"^4.0.2","regenerator-runtime":"^0.13.7","sass":"^1.50.0","svgo":"^2.8.0","ts-jest":"^27.1.4","ts-loader":"^8.0.13","ts-node":"^10.7.0","tslib":"^2.0.3","typescript":"^4.1.3","watchify":"4.0.0","webpack":"^5.72.0","webpack-cli":"^4.9.2","whatwg-fetch":"^3.5.0"},"engines":{"node":">= 10.0.0"}}')},function(t,e,n){function r(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))}function i(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var t=this._currentReleaser;this._currentReleaser=void 0,t()}},t.prototype._dispatch=function(){var t=this,e=this._queue.shift();if(e){var n=!1;this._currentReleaser=function(){n||(n=!0,t._value++,t._dispatch())},e([this._value--,this._currentReleaser])}},t}(),a=function(){function t(){this._semaphore=new o(1)}return t.prototype.acquire=function(){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this._semaphore.acquire()];case 1:return[2,t.sent()[1]]}}))}))},t.prototype.runExclusive=function(t){return this._semaphore.runExclusive((function(){return t()}))},t.prototype.isLocked=function(){return this._semaphore.isLocked()},t.prototype.release=function(){this._semaphore.release()},t}();function s(t,e,n){var o=this;return void 0===n&&(n=new Error("timeout")),{acquire:function(){return new Promise((function(a,s){return r(o,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:return r=!1,setTimeout((function(){r=!0,s(n)}),e),[4,t.acquire()];case 1:return o=i.sent(),r?(Array.isArray(o)?o[1]:o)():a(o),[2]}}))}))}))},runExclusive:function(t){return r(this,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:e=function(){},r.label=1;case 1:return r.trys.push([1,,7,8]),[4,this.acquire()];case 2:return n=r.sent(),Array.isArray(n)?(e=n[1],[4,t(n[0])]):[3,4];case 3:return[2,r.sent()];case 4:return e=n,[4,t()];case 5:return[2,r.sent()];case 6:return[3,8];case 7:return e(),[7];case 8:return[2]}}))}))},release:function(){t.release()},isLocked:function(){return t.isLocked()}}}}]);void 0===_k&&console.error("esm-webpack-plugin: nothing exported!"),_k.CoinbaseWalletProvider;const zk=_k.CoinbaseWalletSDK;let Pk=["ethereum","bsc","polygon","solana","fantom","velas"];Pk.evm=["ethereum","bsc","polygon","fantom","velas"],Pk.solana=["solana"];class Bk{constructor({blockchain:t,from:e,to:n,value:r,api:i,method:o,params:a,instructions:s,signers:u,alts:c,sent:l,succeeded:h,failed:d}){this.blockchain=t,this.from=e&&e.match("0x")?en(e):e,this.to=n&&n.match("0x")?en(n):n,this.value=function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([Bk,"access",t=>t.bigNumberify,"call",e=>e(r,t),"optionalAccess",t=>t.toString,"call",t=>t()]),this.api=i,this.method=o,this.params=a,this.sent=l,this.succeeded=h,this.failed=d,this.instructions=s,this.signers=u,this.alts=c,this._succeeded=!1,this._failed=!1}async prepare({wallet:t}){this.from=await t.account(this.blockchain)}static bigNumberify(t,e){return"number"==typeof t?$u(t.toString(),w[e].currency.decimals):t&&t.toString?pt.from(t.toString()):t}getContractArguments(){let t=this.getContract().interface.fragments.find((t=>t.name==this.method));return this.params instanceof Array?this.params:this.params instanceof Object?t.inputs.map((t=>this.params[t.name])):void 0}getContract(){return new Cs(this.to,this.api)}async getData(){let t,e=this.getContractArguments();return t=e?await this.getContract().populateTransaction[this.method].apply(null,e):await this.getContract().populateTransaction[this.method].apply(null),t.data}success(){return this._succeeded?Promise.resolve(this):new Promise(((t,e)=>{let n=this.succeeded;this.succeeded=e=>{n&&n(e),t(e)}}))}failure(){return this._failed?Promise.resolve(this):new Promise(((t,e)=>{let n=this.failed;this.failed=(e,r)=>{n&&n(e,r),t(e,r)}}))}}const Rk=({transaction:t,provider:e,signer:n})=>t.method?Uk({transaction:t,signer:n,provider:e}):Qk({transaction:t,signer:n}),Uk=({transaction:t,signer:e,provider:n})=>{let r=new Cs(t.to,t.api,n),i=t.getContractArguments({contract:r}),o=r.connect(e)[t.method];return i?o(...i,{value:Bk.bigNumberify(t.value,t.blockchain)}):o({value:Bk.bigNumberify(t.value,t.blockchain)})},Qk=({transaction:t,signer:e})=>e.sendTransaction({to:t.to,value:Bk.bigNumberify(t.value,t.blockchain)});function Wk(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}class Yk{static __initStatic(){this.info={name:"Wallet (Ethereum)",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0NDYuNCAzNzYuOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDQ2LjQgMzc2Ljg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojODI4NDg3O30KCS5zdDF7ZmlsbDojMzQzNDM0O30KCS5zdDJ7ZmlsbDojOEM4QzhDO30KCS5zdDN7ZmlsbDojM0MzQzNCO30KCS5zdDR7ZmlsbDojMTQxNDE0O30KCS5zdDV7ZmlsbDojMzkzOTM5O30KPC9zdHlsZT4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTM4MS43LDExMC4yaDY0LjdWNDYuNWMwLTI1LjctMjAuOC00Ni41LTQ2LjUtNDYuNUg0Ni41QzIwLjgsMCwwLDIwLjgsMCw0Ni41djY1LjFoMzUuN2wyNi45LTI2LjkKCWMxLjUtMS41LDMuNi0yLjUsNS43LTIuN2wwLDBoMC40aDc4LjZjNS4zLTI1LjUsMzAuMi00Miw1NS43LTM2LjdjMjUuNSw1LjMsND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xMjksMjAxLjcgMTQ0LjgsMTkyLjQgCQkJIi8+CgkJCTxwb2x5Z29uIGNsYXNzPSJzdDIiIHBvaW50cz0iMTI5LDE2Ni4yIDExMy4yLDE5Mi40IDEyOSwyMDEuNyAxMjksMTg1LjIgCQkJIi8+CgkJCTxwb2x5Z29uIGNsYXNzPSJzdDMiIHBvaW50cz0iMTI5LDIwNC43IDEyOC44LDIwNC45IDEyOC44LDIxNyAxMjksMjE3LjYgMTQ0LjgsMTk1LjQgCQkJIi8+CgkJCTxwb2x5Z29uIGNsYXNzPSJzdDIiIHBvaW50cz0iMTI5LDIxNy42IDEyOSwyMDQuNyAxMTMuMiwxOTUuNCAJCQkiLz4KCQkJPHBvbHlnb24gY2xhc3M9InN0NCIgcG9pbnRzPSIxMjksMjAxLjcgMTQ0LjgsMTkyLjQgMTI5LDE4NS4yIAkJCSIvPgoJCQk8cG9seWdvbiBjbGFzcz0ic3Q1IiBwb2ludHM9IjExMy4yLDE5Mi40IDEyOSwyMDEuNyAxMjksMTg1LjIgCQkJIi8+CgkJPC9nPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>Wk([window,"optionalAccess",t=>t.ethereum])&&1!=Object.keys(window.ethereum).filter((t=>t.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/))).length&&!Wk([window,"optionalAccess",t=>t.coin98])&&!(Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrust])||Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrustWallet]))&&!Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isDeficonnectProvider])&&!Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isHyperPay])&&!Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isPhantom])&&!Wk([window,"optionalAccess",t=>t.solana,"optionalAccess",t=>t.isPhantom])&&!Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isRabby])&&!Wk([window,"optionalAccess",t=>t.backpack,"optionalAccess",t=>t.isBackpack])&&!(Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isCoinbaseWallet])||Wk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isWalletLink]))}constructor(){this.name=this.constructor.info.name,this.logo=this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.sendTransaction=t=>(async({transaction:t,wallet:e})=>{if(t=new Bk(t),0==await e.connectedTo(t.blockchain)&&await e.switchTo(t.blockchain),0==await e.connectedTo(t.blockchain))throw{code:"WRONG_NETWORK"};await t.prepare({wallet:e});let n=await Ck({blockchain:t.blockchain,method:"transactionCount",address:t.from});t.nonce=n;let r=new Ju(e.getProvider(),"any"),i=r.getSigner(0);return await Rk({transaction:t,provider:r,signer:i}).then((e=>{if(!e)throw"Submitting transaction failed!";t.id=e.hash,t.nonce=e.nonce||n,t.url=w.findByName(t.blockchain).explorerUrlFor({transaction:t}),t.sent&&t.sent(t),e.wait(1).then((()=>{t._succeeded=!0,t.succeeded&&t.succeeded(t)})).catch((e=>{e&&e.code&&"TRANSACTION_REPLACED"==e.code?(e.replacement&&e.replacement.hash&&(t.id=e.replacement.hash,t.url=w.findByName(t.blockchain).explorerUrlFor({transaction:t})),e.replacement&&e.replacement.hash&&e.receipt&&1==e.receipt.status?(t._succeeded=!0,t.succeeded&&t.succeeded(t)):e.replacement&&e.replacement.hash&&e.receipt&&0==e.receipt.status&&(t._failed=!0,t.failed&&t.failed(t,e))):(t._failed=!0,t.failed&&t.failed(t,e))}))})),t})({wallet:this,transaction:t})}getProvider(){return window.ethereum}async account(){if(!this.getProvider())return;return(await this.getProvider().request({method:"eth_accounts"})).map((t=>en(t)))[0]}async connect(){if(!this.getProvider())return;return(await this.getProvider().request({method:"eth_requestAccounts"})).map((t=>en(t)))[0]}on(t,e){let n;switch(t){case"account":n=t=>e(en(t[0])),this.getProvider().on("accountsChanged",n)}return n}off(t,e){switch(t){case"account":this.getProvider().removeListener("accountsChanged",e)}return e}async connectedTo(t){const e=w.findById(await this.getProvider().request({method:"eth_chainId"}));return t?t===e.name:e.name}addNetwork(t){return new Promise(((e,n)=>{const r=w.findByName(t);this.getProvider().request({method:"wallet_addEthereumChain",params:[{chainId:r.id,chainName:r.fullName,nativeCurrency:{name:r.currency.name,symbol:r.currency.symbol,decimals:r.currency.decimals},rpcUrls:[r.rpc],blockExplorerUrls:[r.explorer],iconUrls:[r.logo]}]}).then(e).catch(n)}))}switchTo(t){return new Promise(((e,n)=>{const r=w.findByName(t);this.getProvider().request({method:"wallet_switchEthereumChain",params:[{chainId:r.id}]}).then(e).catch((r=>{4902===r.code?this.addNetwork(t).then((()=>this.switchTo(t).then(e))).catch(n):n(r)}))}))}transactionCount({blockchain:t,address:e}){return Ck({blockchain:t,method:"transactionCount",address:e})}async sign(t){await this.account();let e=new Ju(this.getProvider(),"any").getSigner(0);return await e.signMessage(t)}}Yk.__initStatic(),Yk.__initStatic2();class Fk extends Yk{static __initStatic(){this.info={name:"Binance Wallet",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTIgMTkzLjY4Ij48cmVjdCB3aWR0aD0iMTkyIiBoZWlnaHQ9IjE5My42OCIgZmlsbD0iIzFlMjAyNCIvPjxwYXRoIGQ9Im01Ni45Miw0Ni41M2wzOS4wOC0yMi41NCwzOS4wOCwyMi41NC0xNC4zNSw4LjM2LTI0LjczLTE0LjE4LTI0LjczLDE0LjE4LTE0LjM1LTguMzZabTc4LjE3LDI4LjUzbC0xNC4zNS04LjM2LTI0LjczLDE0LjI3LTI0LjczLTE0LjI3LTE0LjM1LDguMzZ2MTYuNzFsMjQuNzMsMTQuMTh2MjguNDVsMTQuMzUsOC4zNiwxNC4zNS04LjM2di0yOC40NWwyNC43My0xNC4yN3YtMTYuNjNabTAsNDUuMTZ2LTE2LjcxbC0xNC4zNSw4LjM2djE2LjcxbDE0LjM1LTguMzZabTEwLjIxLDUuODJsLTI0LjczLDE0LjI3djE2LjcxbDM5LjA4LTIyLjU0di00NS4yNWwtMTQuMzUsOC4zNnYyOC40NVptLTE0LjM1LTY1LjI1bDE0LjM1LDguMzZ2MTYuNzFsMTQuMzUtOC4zNnYtMTYuNzFsLTE0LjM1LTguMzYtMTQuMzUsOC4zNlptLTQ5LjMsODUuNnYxNi43MWwxNC4zNSw4LjM2LDE0LjM1LTguMzZ2LTE2LjcxbC0xNC4zNSw4LjM2LTE0LjM1LTguMzZabS0yNC43My0yNi4xN2wxNC4zNSw4LjM2di0xNi43MWwtMTQuMzUtOC4zNnYxNi43MVptMjQuNzMtNTkuNDNsMTQuMzUsOC4zNiwxNC4zNS04LjM2LTE0LjM1LTguMzYtMTQuMzUsOC4zNlptLTM0Ljk1LDguMzZsMTQuMzUtOC4zNi0xNC4zNS04LjM2LTE0LjM1LDguMzZ2MTYuNzFsMTQuMzUsOC4zNnYtMTYuNzFabTAsMjguNDVsLTE0LjM1LTguMzZ2NDUuMTZsMzkuMDgsMjIuNTR2LTE2LjcxbC0yNC43My0xNC4yN3MwLTI4LjM2LDAtMjguMzZaIiBmaWxsPSIjZjBiOTBiIi8+PC9zdmc+",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.BinanceChain])&&!window.coin98}getProvider(){return window.BinanceChain}}Fk.__initStatic(),Fk.__initStatic2();class Hk extends Yk{static __initStatic(){this.info={name:"Brave",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyNTYgMzAx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gMC4zLTIuOC0wLjEtMy44bC01LjgtMTMuOGMtMC40LTEtMC4yLTIuNSAwLjYtMy40bDI3LjktMjkuN2MwLjgtMC44IDEuOS0yLjIgMi43LTMtMC40LTAuMyAxLjEtMi4xIDEuNi00LjF6Ii8+Cgo8L3N2Zz4K",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isBraveWallet])}}Hk.__initStatic(),Hk.__initStatic2();class Gk extends Yk{static __initStatic(){this.info={name:"Coin98",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA0MC43IDQwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA0MC43IDQwIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsPSIjRDlCNDMyIiBkPSJtMzMuMyAwaC0yNS45Yy00LjEgMC03LjQgMy4zLTcuNCA3LjN2MjUuNGMwIDQgMy4zIDcuMyA3LjQgNy4zaDI1LjljNC4xIDAgNy40LTMuMyA3LjQtNy4zdi0yNS40YzAtNC0zLjMtNy4zLTcuNC03LjN6Ii8+CjxwYXRoIGZpbGw9IiMyNTI1MjUiIGQ9Im0zMy4zIDBoLTI1LjljLTQuMSAwLTcuNCAzLjMtNy40IDcuM3YyNS40YzAgNCAzLjMgNy4zIDcuNCA3LjNoMjUuOWM0LjEgMCA3LjQtMy4zIDcuNC03LjN2LTI1LjRjMC00LTMuMy03LjMtNy40LTcuM3ptLTYuMyAxMGMzIDAgNS41IDIuNCA1LjUgNS40IDAgMC45LTAuMiAxLjgtMC42IDIuNi0wLjctMC41LTEuNS0xLTIuMy0xLjMgMC4yLTAuNCAwLjMtMC45IDAuMy0xLjMgMC0xLjUtMS4zLTIuOC0yLjgtMi44LTEuNiAwLTIuOCAxLjMtMi44IDIuOCAwIDAuNSAwLjEgMC45IDAuMyAxLjMtMC44IDAuMy0xLjYgMC43LTIuMyAxLjMtMC41LTAuOC0wLjYtMS43LTAuNi0yLjYtMC4xLTMgMi4zLTUuNCA1LjMtNS40em0tMTMuMyAyMGMtMyAwLTUuNS0yLjQtNS41LTUuNGgyLjZjMCAxLjUgMS4zIDIuOCAyLjggMi44czIuOC0xLjMgMi44LTIuOGgyLjZjMC4yIDMtMi4zIDUuNC01LjMgNS40em0wLTcuNWMtMy41IDAtNi4zLTIuOC02LjMtNi4yczIuOC02LjMgNi4zLTYuMyA2LjQgMi44IDYuNCA2LjNjMCAzLjQtMi45IDYuMi02LjQgNi4yem0xMy4zIDcuNWMtMy41IDAtNi40LTIuOC02LjQtNi4yIDAtMy41IDIuOC02LjMgNi40LTYuMyAzLjUgMCA2LjMgMi44IDYuMyA2LjMgMC4xIDMuNC0yLjggNi4yLTYuMyA2LjJ6bTMuOC02LjNjMCAyLjEtMS43IDMuNy0zLjggMy43cy0zLjgtMS43LTMuOC0zLjdjMC0yLjEgMS43LTMuNyAzLjgtMy43IDIuMSAwLjEgMy44IDEuNyAzLjggMy43em0tMTMuNC03LjRjMCAyLjEtMS43IDMuNy0zLjggMy43cy0zLjgtMS43LTMuOC0zLjdjMC0yLjEgMS43LTMuNyAzLjgtMy43IDIuMiAwIDMuOCAxLjYgMy44IDMuN3oiLz4KPC9zdmc+Cg==",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.coin98])}}function Zk(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}Gk.__initStatic(),Gk.__initStatic2();class Vk extends Yk{static __initStatic(){this.info={name:"Coinbase",logo:"data:image/svg+xml;base64,PHN2ZyBpZD0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ExMSwxMSwwLDAsMSwxMC45LTEwLjkxSDI4NWExMSwxMSwwLDAsMSwxMC45LDEwLjkxdjY5LjcxQTExLjA3LDExLjA3LDAsMCwxLDI4NC42OSwyOTYuMDlaJyB0cmFuc2Zvcm09J3RyYW5zbGF0ZSgtNS41MiAtNS42OCknLz48L3N2Zz4=",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>Zk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isCoinbaseWallet])||Zk([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isWalletLink])}}Vk.__initStatic(),Vk.__initStatic2();class Jk extends Yk{static __initStatic(){this.info={name:"Crypto.com | DeFi Wallet",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4OS45IDEwMi44IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA4OS45IDEwMi44IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQoJLnN0MXtmaWxsOiMwMzMxNkM7fQo8L3N0eWxlPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTUuMzc1MSAtMTEzLjYxKSI+Cgk8ZyB0cmFuc2Zvcm09Im1hdHJpeCguMzE3OTQgMCAwIC4zMTQ2NSAtMS4wNDczIDMwLjQ0NykiPgoJCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Im0xNjEuNiAyNjQuMy0xNDEuNCA4MS42djE2My4zbDE0MS40IDgxLjYgMTQxLjQtODEuNnYtMTYzLjNsLTE0MS40LTgxLjZ6bTAgMC0xNDEuNCA4MS42djE2My4zbDE0MS40IDgxLjYgMTQxLjQtODEuNnYtMTYzLjNsLTE0MS40LTgxLjZ6Ii8+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0ibTIxNy41IDUyNy4xaC0yMC4xbC0yNC4xLTIyLjF2LTExLjNsMjQuOS0yMy44di0zNy43bDMyLjYtMjEuMyAzNy4xIDI4LjEtNTAuNCA4OC4xem0tODMuMy01OS42IDMuNy0zNS40LTEyLjItMzEuN2g3MmwtMTEuOSAzMS43IDMuNCAzNS40aC01NXptMTYuNCAzNy41LTI0LjEgMjIuNGgtMjAuNGwtNTAuNy04OC40IDM3LjQtMjcuOCAzMi45IDIxdjM3LjdsMjQuOSAyMy44djExLjN6bS00NC44LTE3MC4xaDExMS40bDEzLjMgNTYuN2gtMTM3LjdsMTMtNTYuN3ptNTUuOC03MC42LTE0MS40IDgxLjZ2MTYzLjNsMTQxLjQgODEuNiAxNDEuNC04MS42di0xNjMuM2wtMTQxLjQtODEuNnoiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isDeficonnectProvider])}}Jk.__initStatic(),Jk.__initStatic2();class qk extends Yk{static __initStatic(){this.info={name:"HyperPay",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjA0LjcgMjAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMDQuNyAyMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHBhdGggZmlsbD0iIzFBNzJGRSIgZD0iTTEwMi41LDUuMkM1MC44LDUuMiw4LjgsNDcuMiw4LjgsOTlzNDIsOTMuNSw5My44LDkzLjVzOTMuOC00Miw5My44LTkzLjhTMTU0LjIsNS4yLDEwMi41LDUuMnogTTEyNy4yLDExOS4yCgljLTYuMiwwLTIxLjcsMC4zLTIxLjcsMC4zbC03LDI3aC0yOWw2LjgtMjYuNUgzMWw3LjItMjEuOGMwLDAsNzguOCwwLjIsODUuMiwwYzYuNS0wLjIsMTYuNS0xLjgsMTYuOC0xNC44YzAuMy0xNy44LTI3LTE2LjgtMjkuMi0xCgljLTEuNSwxMC0xLjUsMTIuNS0xLjUsMTIuNUg4My44bDUtMjMuNUg0N2w2LjMtMjJjMCwwLDYxLjIsMC4yLDcyLjgsMC4yczQyLjIsMyw0Mi4yLDMxLjJDMTY4LjIsMTEyLDEzOC41LDExOS4zLDEyNy4yLDExOS4yCglMMTI3LjIsMTE5LjJ6Ii8+Cjwvc3ZnPgo=",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isHyperPay])}}qk.__initStatic(),qk.__initStatic2();class Xk extends Yk{static __initStatic(){this.info={name:"MetaMask",logo:"data:image/svg+xml;base64,PHN2ZyBpZD0nTGF5ZXJfMScgZGF0YS1uYW1lPSdMYXllciAxJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA0ODUuOTMgNDUwLjU2Jz48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6IzgyODQ4Nzt9LmNscy0ye2ZpbGw6I2UyNzcyNjtzdHJva2U6I2UyNzcyNjt9LmNscy0xMCwuY2xzLTExLC5jbHMtMiwuY2xzLTMsLmNscy00LC5jbHMtNSwuY2xzLTYsLmNscy03LC5jbHMtOCwuY2xzLTl7c3Ryb2tlLWxpb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gMjY5LjU5IDI4MC42MiAyNzIuMDYgMjQ2LjAxJy8+PC9zdmc+",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isMetaMask])&&1==Object.keys(window.ethereum).filter((t=>t.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/))).length}}Xk.__initStatic(),Xk.__initStatic2();class Kk extends Yk{static __initStatic(){this.info={name:"Opera",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA3NS42IDc1LjYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIHRyYW5zZm9ybT0ibWF0cml4KDEuMzMzMyAwIDAgLTEuMzMzMyAwIDEwNy4yKSI+CiAgCiAgPGxpbmVhckdyYWRpZW50IGlkPSJvcGVyYUxvZ28wMDAwMDAxMjM1MTEiIHgxPSItMTA3LjM0IiB4Mj0iLTEwNi4zNCIgeTE9Ii0xMzcuODUiIHkyPSItMTM3Ljg1IiBncmFkaWVudFRyYW5zZm9ybT0ibWF0cml4KDAgLTczLjI1NyAtNzMuMjU3IDAgLTEwMDc1IC03Nzg0LjEpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CiAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRkYxQjJEIiBvZmZzZXQ9IjAiLz4KICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRjFCMkQiIG9mZnNldD0iLjMiLz4KICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRjFCMkQiIG9mZnNldD0iLjYxNCIvPgogICAgPHN0b3Agc3RvcC1jb2xvcj0iI0E3MDAxNCIgb2Zmc2V0PS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tNS4zIDEwLjEtOC42IDE2LjktOC42IDQuMiAwIDggMS4zIDExLjQgMy41IDUuOCA1LjIgOS41IDEyLjcgOS41IDIxLjFzLTMuNyAxNS45LTkuNSAyMS4xYy0zLjMgMi4yLTcuMiAzLjUtMTEuNCAzLjUtNi44IDAuMS0xMi44LTMuMy0xNi45LTguNiIgZmlsbD0idXJsKCNiKSIvPgo8L2c+Cjwvc3ZnPgo=",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isOpera])}}function $k(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}Kk.__initStatic(),Kk.__initStatic2();const tL=async({transaction:t,wallet:e})=>{let n,r=await nL({transaction:t,wallet:e});return"object"==typeof r&&r.signatures&&r.message?n=await eL(r,await e.account()):"object"==typeof r&&r.signature&&r.signature.length?n=r.signature:"string"==typeof r&&r.length&&(n=r),n},eL=async(t,e)=>{let n=await Ek("solana");return await n.sendRawTransaction(t.serialize())},nL=async({transaction:t,wallet:e})=>t.instructions?iL({transaction:t,wallet:e}):rL({transaction:t,wallet:e}),rL=async({transaction:t,wallet:e})=>{let n=new Ey(await e.account()),r=new Ey(t.to);const i=await Ek(t.blockchain);let o=(await i.getLatestBlockhash()).blockhash;const a=[vv.transfer({fromPubkey:n,toPubkey:r,lamports:parseInt(Bk.bigNumberify(t.value,t.blockchain),10)})],s=new Vy({payerKey:n,recentBlockhash:o,instructions:a}).compileToV0Message(),u=new Jy(s);return e._sendTransaction(u)},iL=async({transaction:t,wallet:e})=>{let n=new Ey(await e.account());const r=await Ek(t.blockchain);let i=(await r.getLatestBlockhash()).blockhash;const o=new Vy({payerKey:n,recentBlockhash:i,instructions:t.instructions}).compileToV0Message(t.alts?await Promise.all(t.alts.map((async t=>(await Ek("solana")).getAddressLookupTable(new Ey(t)).then((t=>t.value))))):void 0),a=new Jy(o);return t.signers&&t.signers.length&&a.sign(Array.from(new Set(t.signers))),e._sendTransaction(a)};function oL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}class aL{static __initStatic(){this.info={name:"Wallet (Solana)",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0NDYuNCAzNzYuOCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDQ2LjQgMzc2Ljg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7ZmlsbDojODI4NDg3O30KCS5zdDF7ZmlsbDp1cmwoI1NWR0lEXzFfKTt9Cgkuc3Qye2ZpbGw6dXJsKCNTVkdJRF8wMDAwMDE2NTIzNDE5NTQ5NTc2MDU4MDgwMDAwMDAwNjMwMzAwNDA2OTM1MjExODk1MV8pO30KCS5zdDN7ZmlsbDp1cmwoI1NWR0lEXzAwMDAwMDkyNDIyMzgxNjc5OTg1OTI5MTcwMDAwMDA2ODU0NzIyMTYxOTE4MTIzNjUzXyk7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNMzgxLjcsMTEwLjJoNjQuN1Y0Ni41YzAtMjUuNy0yMC44LTQ2LjUtNDYuNS00Ni41SDQ2LjVDMjAuO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alAccess",t=>t.solana])&&!(window.solana.isPhantom&&1==Object.keys(window.solana).filter((t=>t.match(/^is(?!Connected)/))).length)&&!window.coin98&&!window.solana.isGlow}constructor(){this.name=this.constructor.info.name,this.logo=this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.sendTransaction=t=>(async({transaction:t,wallet:e})=>(t=new Bk(t),await t.prepare({wallet:e}),await tL({transaction:t,wallet:e}).then((e=>{if(!e)throw"Submitting transaction failed!";{t.id=e,t.url=w.findByName(t.blockchain).explorerUrlFor({transaction:t}),t.sent&&t.sent(t);let n=0;const r=setInterval((async()=>{if(n++,n>=240)return clearInterval(r);const i=await Ek(t.blockchain),{value:o}=await i.getSignatureStatus(e),a=$k([o,"optionalAccess",t=>t.confirmationStatus]);if(a&&("confirmed"===a||"finalized"===a)){if(o.err){t._failed=!0;const n=await i.getConfirmedTransaction(e),r=$k([n,"optionalAccess",t=>t.meta,"optionalAccess",t=>t.logMessages])?n.meta.logMessages[n.meta.logMessages.length-1]:null;t.failed&&t.failed(t,r)}else t._succeeded=!0,t.succeeded&&t.succeeded(t);return clearInterval(r)}}),500)}})),t))({wallet:this,transaction:t})}getProvider(){return window.solana}async account(){const t=this.getProvider();if(null!=t){if(t.publicKey)return t.publicKey.toString();if(1!=t.isBraveWallet){let t;try{({publicKey:t}=await window.solana.connect({onlyIfTrusted:!0}))}catch(t){}if(t)return t.toString()}}}async connect(){const t=this.getProvider();if(!t)return;let e;try{e=await t.connect()}catch(t){}return e&&e.publicKey?e.publicKey.toString():t.publicKey.toString()}on(t,e){let n;switch(t){case"account":n=t=>e(oL([t,"optionalAccess",t=>t.toString,"call",t=>t()])),this.getProvider().on("accountChanged",n)}return n}off(t,e){switch(t){case"account":this.getProvider().removeListener("accountChanged",e)}return e}async connectedTo(t){return t?"solana"==t:"solana"}switchTo(t){return new Promise(((t,e)=>{e({code:"NOT_SUPPORTED"})}))}addNetwork(t){return new Promise(((t,e)=>{e({code:"NOT_SUPPORTED"})}))}async sign(t){const e=(new TextEncoder).encode(t),n=await this.getProvider().signMessage(e);if(n&&n.signature)return Array.from(n.signature)}_sendTransaction(t){return this.getProvider().signAndSendTransaction(t)}}aL.__initStatic(),aL.__initStatic2();class sL extends aL{static __initStatic(){this.info={name:"Phantom",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMjggMTI4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMjggMTI4OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6dXJsKCNTVkdJRF8xXyk7fQoJLnN0MXtmaWxsOnVybCgjU1ZHSURfMDAwMDAwMjU0MzQ3Mjk4MTg1NjMwMDE0MzAwMDAwMDA4MDkyOTcxNTA5NTE0Njc2NTdfKTt9Cjwvc3R5bGU+CjxsaW5lYXJHcmFkaWVudCBpZD0iU1ZHSURfMV8iIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iNjQiIHkxPSIxMTguNTk1NCIgeDI9IjY0IiB5Mj0iMTMuNDA0NiIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxIDAgMCAtMSAwIDEzMCkiPgoJPHN0b3AgIG9mZnNldD0iMCIgc3R5bGU9In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iw0LjctNC42czQuNywyLjEsNC43LDQuNlY2NS42eiBNNjAuMyw2NS42CgljMCwyLjUtMi4xLDQuNi00LjcsNC42Yy0yLjYsMC00LjctMi4xLTQuNy00LjZ2LTcuNWMwLTIuNSwyLjEtNC42LDQuNy00LjZjMi42LDAsNC43LDIuMSw0LjcsNC42VjY1LjZ6Ii8+Cjwvc3ZnPgo=",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.solana])&&window.solana.isPhantom&&1==Object.keys(window.solana).filter((t=>t.match(/^is(?!Connected)/))).length}}function uL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}sL.__initStatic(),sL.__initStatic2();class cL extends Yk{static __initStatic(){this.info={name:"Trust Wallet",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA5Ni41IDk2LjUiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDk2LjUgOTYuNSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3QgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9Ijk2LjUiIGhlaWdodD0iOTYuNSIvPgo8cGF0aCBzdHJva2U9IiMzMzc1QkIiIHN0cm9rZS13aWR0aD0iNi4wNjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQgPSIxMCIgZmlsbD0ibm9uZSIgZD0ibTQ4LjUgMjAuMWM5LjYgOCAyMC42IDcuNSAyMy43IDcuNS0wLjcgNDUuNS01LjkgMzYuNS0yMy43IDQ5LjMtMTcuOC0xMi44LTIzLTMuNy0yMy43LTQ5LjMgMy4yIDAgMTQuMSAwLjUgMjMuNy03LjV6Ii8+Cjwvc3ZnPgo=",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>uL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrust])||uL([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isTrustWallet])}}cL.__initStatic(),cL.__initStatic2();class lL extends aL{static __initStatic(){this.info={name:"Glow",logo:"data:image/webp;base64,UklGRkbpAQBXRUJQVlA4TDrpAQAv38F3EBGJbRsJkgS7p0rtwm3+AXfP/IcQ0f8JWLIkdFr/iEgkyRI0SHyCgCXu4pZI4gxw6U7EeRDYruJd9wYSAXYCoeH3+5uZqVI3QbHhQMVaNVVzVj8594ZNoNaamem6zPNEERADrHo63XMthUfhSEhW7e7Wa7Kf/UKRqu3u/jC1dSk42t0S4jbbMSSJq6oMIFnCVVXGOBAXUz8bQJJdpByHJNg7ZYcoSo6xIb7UrrIBJMvedDlmJ2DXjHMQ5eeZsRMIsb2PoCiJnZQdIIHtPThZS1jCU3GSUDHsXZUgSUjsXUkMJDlI9N6988X086ylzFRNlfpZK7GNbdP9wFRNd1XVWisJQGynW09318x0tNaSXmJD33VfWR+4d+t9KSQY9KXfIoHCR4E+cgoC+wICBALqgCr+Zzf9NmHTNpIg66sthz/dmT8MkhRJkiRZkfQsiZM4jh7z2LIk2XbbVlIr4OG8gMerZOMT/Z8AHh6cm5ubx/yaMkUpAhHVIRMiEKEo6vya29w+YgAQw4QIFAJDBYFAwAMeIgJABCIwEbNgAPAJCiAABSNKRAAJgExAROADCAiBAALANHMY3uld3mmHOxwIIACgnFACiCHwNE9jAvDLb8FdarrQIhCKAkRB8JQHHt3UEACGADwAfASe5fnCJAQCOG4BIgJQBgzAv+b58rzMBQi2W2657ToEAEUgBjyf/m14Lv+Y01zey37Dsl92uaWyXIeLGiCAbiKAZwAwX4bgczi22U8fH9ECoA6IgBiAUWZDBALLxxDXy3UIAATKvADAG0A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pp/ceCyI/ptUtixoMNY/LjW3y6NrV7wsW8YU77Yt1cfOhz5gR8QhNcUyntOKVrWrCqdf/p7zaU1tUa9YdfeCw/UQMHcyCRPRhEcCLcssTlLxSsRIPLB02U+aAvwUAtXt8Kn3qOff/LVg2NJtxm0x1pjM0ahHXrIyZFgdUsC8TueY9OANz7AQOwfe0vH7To0Q3LuT7+5vd+Oq9v+1il4O1rlgKZTDI1+a5YgOi7PJZnj/Xrjcu/VIiagDmiRcejjRVCV7TQ8vqGZz8HGJCrZEbxI1rce8/E2oPg8qZdZ0QGL2aaQr1efuiK6B8H33k1w8GIHj7BsYNhef15eAD+mFlFxmOVjBC+3+wG02R6K9y7jcAMI16/mkZglHFz/eCDB6Zb8WkDhADBKfiUNg/KVGv0Un11/+qEx//6p7SmHbtSdPXfvXS6l/YH",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>window.solana&&window.solana.isGlow}}lL.__initStatic(),lL.__initStatic2();class hL extends aL{static __initStatic(){this.info={name:"Solflare",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAgNTA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7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jIxMTkiIHI9IjAuNzU5NyIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCg0Ljk5MjIgMTIuMDYzOSAxMi4xODExIC01LjA0MDcgLTI0NDUuMjIzNCAzODkwLjE2MzYpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+Cgk8c3RvcCAgb2Zmc2V0PSIwIiBzdHlsZT0ic3RvcC1jb2xvcjojRkZDMTBCIi8+Cgk8c3RvcCAgb2Zmc2V0PSIxIiBzdHlsZT0ic3RvcC1jb2xvcjojRkIzRjJFIi8+CjwvcmFkaWFsR3JhZGllbnQ+CjxwYXRoIHN0eWxlPSJmaWxsOnVybCgjU1ZHSURfMDAwMDAxMDAzNTM3NjAxMTAwMjExMTQ0NDAwMDAwMDg4MDc5Mzk1MzE2NjY5Njc5MzhfKTsiIGQ9Ik0yNC42LDMwLjljMy44LDAsNi44LTMsNi44LTYuNwoJYzAtMy43LTMuMS02LjctNi44LTYuN3MtNi44LDMtNi44LDYuN0MxNy44LDI3LjksMjAuOSwzMC45LDI0LjYsMzAuOXoiLz4KPC9zdmc+Cg==",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.solflare])&&window.solflare.isSolflare}getProvider(){return window.solflare}_sendTransaction(t){return this.getProvider().signTransaction(t)}}hL.__initStatic(),hL.__initStatic2();class dL extends aL{static __initStatic(){this.info={name:"Backpack",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8v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jFjMi40LTAuNyw1LTEuMSw3LjctMS4xCgkJCUg1NXogTTQ0LjQsMjEuOWMtMTMuMiwwLTIwLjcsMTAuNC0yMC43LDIzLjF2MTMuMWMwLDEuMywxLjEsMi4zLDIuNCwyLjNoNDcuNmMxLjMsMCwyLjQtMSwyLjQtMi4zVjQ1YzAtMTIuOC04LjctMjMuMS0yMS45LTIzLjEKCQkJSDQ0LjR6IE01MCw0NS4xYzQuNiwwLDguMy0zLjcsOC4zLTguM3MtMy43LTguMy04LjMtOC4zcy04LjMsMy43LTguMyw4LjNTNDUuNCw0NS4xLDUwLDQ1LjF6IE0yMy44LDY4LjFjMC0xLjMsMS4xLTIuMywyLjQtMi4zCgkJCWg0Ny42YzEuMywwLDIuNCwxLDIuNCwyLjNWODJjMCwyLjYtMi4xLDQuNi00LjgsNC42SDI4LjZjLTIuNiwwLTQuOC0yLjEtNC44LTQuNlY2OC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=",blockchains:["solana"]}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.backpack])&&window.backpack.isBackpack}getProvider(){return window.backpack}async sign(t){const e=(new TextEncoder).encode(t),n=await this.getProvider().signMessage(e);return Object.values(n)}_sendTransaction(t){return this.getProvider().sendAndConfirm(t)}}dL.__initStatic(),dL.__initStatic2();class fL extends Yk{static __initStatic(){this.info={name:"Rabby",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI3LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9ImthdG1hbl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zd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uNC0yNC42CgljLTYuMy04LjYtMTguMS0xMi40LTMzLTEwLjhDNTIuMyw2Ny4xLDM3LjQsNzQuOSwzOS43LDkzLjl6Ii8+Cjwvc3ZnPgo=",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>function(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}([window,"optionalAccess",t=>t.ethereum,"optionalAccess",t=>t.isRabby])}}fL.__initStatic(),fL.__initStatic2();const pL={ethereum:"mainnet",bsc:"bsc",polygon:"polygon"},mL={ethereum:"eth",bsc:"bnb",polygon:"matic"};class gL{constructor({address:t,blockchain:e}){this.address=t,this.blockchain=e}async transactionCount(){let t,e=await fetch(`https://safe-transaction-${pL[this.blockchain]}.safe.global/api/v1/safes/${this.address}/all-transactions/`).then((t=>t.json())).catch((t=>{console.error("Error:",t)}));return t=e&&e.results&&e.results.length?e.results[0].nonce+1:parseInt((await Ck({blockchain:this.blockchain,address:this.address,api:[{inputs:[],name:"nonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"}],method:"nonce"})).toString(),10),t}async retrieveTransaction({blockchain:t,tx:e}){const n=await Ek(t);let r=await fetch(`https://safe-transaction-${pL[t]}.safe.global/api/v1/multisig-transactions/${e}/`).then((t=>t.json())).catch((t=>{console.error("Error:",t)}));return r&&r.isExecuted&&r.transactionHash?await n.getTransaction(r.transactionHash):void 0}explorerUrlFor({transaction:t}){if(t)return`https://app.safe.global/${mL[t.blockchain]}:${t.from}/transactions/tx?id=multisig_${t.from}_${t.id}`}}const yL=async(t,e)=>{if(!await(async(t,e)=>{const n=await Ek(t);return"0x"!=await n.getCode(e)})(t,e))return;const n=await(async(t,e)=>{let n;try{n=await Ck({blockchain:t,address:e,api:[{constant:!0,inputs:[],name:"NAME",outputs:[{internalType:"string",name:"",type:"string"}],payable:!1,stateMutability:"view",type:"function"}],method:"NAME"})}catch(t){}if("Default Callback Handler"==n)return"Safe"})(t,e);if("Safe"==n)return new gL({blockchain:t,address:e});if("Argent"==n)return new Argent({blockchain:t,address:e});if(smartContractWallet)throw{message:"Unrecognized smart contract wallet not supported!",code:"SMART_CONTRACT_WALLET_NOT_SUPPORTED"}},vL=async({blockchain:t,tx:e,smartContractWallet:n})=>{const r=await Ek(t);let i,o=async()=>{try{return n&&n.retrieveTransaction?await n.retrieveTransaction({blockchain:t,tx:e}):await r.getTransaction(e)}catch(t){}};for(i=await o();!i;)await new Promise((t=>setTimeout(t,3e3))),i=await o();return i},bL=({transaction:t,wallet:e})=>t.method?wL({transaction:t,wallet:e}):ML({transaction:t,wallet:e}),wL=async({transaction:t,wallet:e})=>{const n=await Ek(t.blockchain),r=await n.getGasPrice();let i=await Sk(t);const o=await t.getData(),a=t.value?rt(pt.from(t.value)):void 0,s=rt(t.nonce);return i=i.add(i.div(10)),e.connector.sendTransaction({from:t.from,to:t.to,value:a,data:o,gas:i.toHexString(),gasPrice:r.toHexString(),nonce:s})},ML=async({transaction:t,wallet:e})=>{const n=await Ek(t.blockchain),r=await n.getGasPrice(),i=await Sk(t),o=rt(pt.from(t.value)),a=rt(t.nonce);return e.connector.sendTransaction({from:t.from,to:t.to,value:o,data:"0x",gas:i.toHexString(),gasPrice:r.toHexString(),nonce:a})};function kL(t){let e,n=t[0],r=1;for(;rn.call(e,...t))),e=void 0)}return n}const LL="_DePayWeb3WalletsConnectedWalletConnectV1Instance";let AL;const xL=()=>AL||(AL=IL((()=>{})),AL),EL=()=>new Promise((async(t,e)=>{if(setTimeout((()=>{delete localStorage.walletconnect,t(!1)}),5e3),!localStorage.walletconnect||0==JSON.parse(localStorage.walletconnect).handshakeTopic.length)return delete localStorage.walletconnect,t(!1);let n,r=xL();try{await r.sendCustomRequest({method:"eth_blockNumber"})?n=await r.sendCustomRequest({method:"eth_accounts"}):delete localStorage.walletconnect}catch(e){delete localStorage.walletconnect,t(!1)}return t(n&&n.length)})),NL=async()=>window[LL]?window[LL]:await EL()?new TL:void 0,SL=t=>{window[LL]=t},IL=t=>new Ok({bridge:"https://walletconnect.depay.com",qrcodeModal:{open:async e=>t({uri:e}),close:()=>{}}});class TL{static __initStatic(){this.info={name:"WalletConnect",logo:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0ndXRmLTgnPz48IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjUuNC4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAtLT48c3ZnIHZlcnNpb249JzEuMScgaWQ9J0xheWVyXzEnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycgeG1sbnM6eGxpbms9J2h0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsnIHg9JzBweCcgeT0nMHB4JyB2aWV3Qm94PScwIDAgNTAwIDUwMCcgc3R5bGU9J2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTAwIDUwMDsnIHhtbDpzcGFjZT0ncHJlc2VydmUnPjxzdHlsZSB0eXBlPSd0ZXh0L2Nzcyc+IC5zdDB7ZmlsbDojNTk5MUNEO30KPC9zdHlsZT48ZyBpZD0nUGFnZS0xJz48ZyBpZD0nd2FsbGV0Y29ubmVjdC1sb2dvLWFsdCc+PHBhdGggaWQ9J1dhbGxldENvbm5lY3QnIGNsYXNzPSdzdDAnIGQ9J00xMDIuNywxNjJjODEuNS03OS44LDIxMy42LTc5LjgsMjk1LjEsMGw5LjgsOS42YzQuMSw0LDQuMSwxMC41LDAsMTQuNEwzNzQsMjE4LjkgYy0yLDItNS4zLDItNy40LDBsLTEzLjUtMTMuMmMtNTYuOC01NS43LTE0OS01NS43LTIwNS44LDBsLTE0LjUsMTQuMWMtMiwyLTUuMywyLTcuNCwwTDkxLjksMTg3Yy00LjEtNC00LjEtMTAuNSwwLTE0LjQgTDEwMi43LDE2MnogTTQ2Ny4xLDIyOS45bDI5LjksMjkuMmM0LjEsNCw0LjEsMTAuNSwwLDE0LjRMMzYyLjMsNDA1LjRjLTQuMSw0LTEwLjcsNC0xNC44LDBjMCwwLDAsMCwwLDBMMjUyLDMxMS45IGMtMS0xLTIuNy0xLTMuNywwaDBsLTk1LjUsOTMuNWMtNC4xLDQtMTAuNyw0LTE0LjgsMGMwLDAsMCwwLDAsMEwzLjQsMjczLjZjLTQuMS00LTQuMS0xMC41LDAtMTQuNGwyOS45LTI5LjIgYzQuMS00LDEwLjctNCwxNC44LDBsOTUuNSw5My41YzEsMSwyLjcsMSwzLjcsMGMwLDAsMCwwLDAsMGw5NS41LTkzLjVjNC4xLTQsMTAuNy00LDE0LjgsMGMwLDAsMCwwLDAsMGw5NS41LDkzLjUgYzEsMSwyLjcsMSwzLjcsMGw5NS41LTkzLjVDNDU2LjQsMjI1LjksNDYzLDIyNS45LDQ2Ny4xLDIyOS45eicvPjwvZz48L2c+PC9zdmc+Cg==",blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>null!=await NL()}constructor(){this.name=localStorage[LL+"_name"]&&"undefined"!=localStorage[LL+"_name"]?localStorage[LL+"_name"]:this.constructor.info.name,this.logo=localStorage[LL+"_logo"]&&"undefined"!=localStorage[LL+"_logo"]?localStorage[LL+"_logo"]:this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.sendTransaction=t=>(async({transaction:t,wallet:e})=>{if(t=new Bk(t),0==await e.connectedTo(t.blockchain))throw{code:"WRONG_NETWORK"};await t.prepare({wallet:e});const n=await yL(t.blockchain,t.from);let r=await e.transactionCount({blockchain:t.blockchain,address:t.from});return t.nonce=r,await bL({transaction:t,wallet:e}).then((e=>{if(!e)throw"Submitting transaction failed!";{let i=w.findByName(t.blockchain);t.id=e,t.url=n&&n.explorerUrlFor?n.explorerUrlFor({transaction:t}):i.explorerUrlFor({transaction:t}),t.sent&&t.sent(t),vL({blockchain:t.blockchain,tx:e,smartContractWallet:n}).then((e=>{t.id=e.hash||t.id,t.url=i.explorerUrlFor({transaction:t}),t.nonce=e.nonce||r,e.wait(1).then((()=>{t._succeeded=!0,t.succeeded&&t.succeeded(t)})).catch((e=>{e&&e.code&&"TRANSACTION_REPLACED"==e.code?e.replacement&&e.replacement.hash&&e.receipt&&1==e.receipt.status?(t.id=e.replacement.hash,t._succeeded=!0,t.succeeded&&t.succeeded(t)):e.replacement&&e.replacement.hash&&e.receipt&&0==e.receipt.status&&(t.id=e.replacement.hash,t._failed=!0,t.failed&&t.failed(t,e)):(t._failed=!0,t.failed&&t.failed(t,e))}))}))}})),t})({wallet:this,transaction:t})}disconnect(){SL(void 0),localStorage[LL+"_name"]=void 0,localStorage[LL+"_logo"]=void 0,AL=void 0}newWalletConnectInstance(t){let e=IL(t);return e.on("disconnect",((t,e)=>{if(this.disconnect(),t)throw t})),e.on("modal_closed",(()=>{SL(void 0),this.connector=void 0})),e}async account(){let t;this.connector||(this.connector=xL());try{t=await this.connector.sendCustomRequest({method:"eth_accounts"})}catch(t){}if(t&&t.length)return en(t[0])}async connect(t){let e=t&&t.connect?t.connect:({uri:t})=>{};try{if(this.connector=TL.instance,null==this.connector&&(this.connector=this.newWalletConnectInstance(e)),t&&t.reconnect&&this.connector){try{await this.connector.killSession()}catch(t){}this.disconnect()}if(await EL())return await this.account();{let{accounts:e,chainId:n}=await this.connector.connect();return kL([t,"optionalAccess",t=>t.name])&&(localStorage[LL+"_name"]=this.name=t.name),kL([t,"optionalAccess",t=>t.logo])&&(localStorage[LL+"_logo"]=this.logo=t.logo),e instanceof Array&&e.length?(SL(this),e=e.map((t=>en(t))),e[0]):void 0}}catch(t){return void console.log("WALLETCONNECT ERROR",t)}}async connectedTo(t){let e=await this.connector.sendCustomRequest({method:"eth_chainId"});const n=w.findById(e);return t?t===n.name:n.name}switchTo(t){return new Promise(((e,n)=>{let r,i;const o=w.findByName(t);setTimeout((async()=>{await this.connectedTo(t)||r||i?e():n({code:"NOT_SUPPORTED"})}),3e3),this.connector.sendCustomRequest({method:"wallet_switchEthereumChain",params:[{chainId:o.id}]}).then((()=>{r=!0,e()})).catch((o=>{o&&"string"==typeof o.message&&o.message.match("addEthereumChain")?this.addNetwork(t).then((()=>this.switchTo(t).then((()=>{r=!0,e()})))).catch((()=>{i=!0,n({code:"NOT_SUPPORTED"})})):(i=!0,n({code:"NOT_SUPPORTED"}))}))}))}addNetwork(t){return new Promise(((e,n)=>{const r=w.findByName(t);this.connector.sendCustomRequest({method:"wallet_addEthereumChain",params:[{chainId:r.id,chainName:r.fullName,nativeCurrency:{name:r.currency.name,symbol:r.currency.symbol,decimals:r.currency.decimals},rpcUrls:[r.rpc],blockExplorerUrls:[r.explorer],iconUrls:[r.logo]}]}).then(e).catch(n)}))}on(t,e){let n;switch(t){case"account":n=(t,n)=>{if(n&&n.params&&n.params[0].accounts&&n.params[0].accounts instanceof Array){const t=n.params[0].accounts.map((t=>en(t)));e(t[0])}},this.connector.on("session_update",n)}return n}off(t,e){switch(t){case"account":this.connector.off("session_update")}}async transactionCount({blockchain:t,address:e}){const n=await yL(t,e);return n?await n.transactionCount():await Ck({blockchain:t,method:"transactionCount",address:e})}async sign(t){let e=await this.connectedTo(),n=await this.account();if(await yL(e,n))throw{message:"Smart contract wallets are not supported for signing!",code:"SMART_CONTRACT_WALLET_NOT_SUPPORTED"};var r=[En(t),n];return await this.connector.signPersonalMessage(r)}}TL.__initStatic(),TL.__initStatic2(),TL.getConnectedInstance=NL,TL.setConnectedInstance=SL;const jL=({transaction:t,provider:e,signer:n})=>t.method?CL({transaction:t,signer:n,provider:e}):DL({transaction:t,signer:n}),CL=({transaction:t,signer:e,provider:n})=>{let r=new Cs(t.to,t.api,n),i=t.getContractArguments({contract:r}),o=r.connect(e)[t.method];return i?o(...i,{value:Bk.bigNumberify(t.value,t.blockchain)}):o({value:Bk.bigNumberify(t.value,t.blockchain)})},DL=({transaction:t,signer:e})=>e.sendTransaction({to:t.to,value:Bk.bigNumberify(t.value,t.blockchain)}),OL=()=>window._connectedWalletLinkInstance,_L=t=>{window._connectedWalletLinkInstance=t};class zL{static __initStatic(){this.info={name:"Coinbase",logo:Vk.info.logo,blockchains:Pk.evm}}static __initStatic2(){this.isAvailable=async()=>null!=OL()}constructor(){this.name=this.constructor.info.name,this.logo=this.constructor.info.logo,this.blockchains=this.constructor.info.blockchains,this.connector=zL.instance||this.newWalletLinkInstance(),this.sendTransaction=t=>(async({transaction:t,wallet:e})=>{if(t=new Bk(t),0==await e.connectedTo(t.blockchain)&&await e.switchTo(t.blockchain),0==await e.connectedTo(t.blockchain))throw{code:"WRONG_NETWORK"};await t.prepare({wallet:e});let n=new Ju(e.connector,"any"),r=n.getSigner(0);return await jL({transaction:t,provider:n,signer:r}).then((e=>{if(!e)throw"Submitting transaction failed!";t.id=e.hash,t.nonce=e.nonce,t.url=w.findByName(t.blockchain).explorerUrlFor({transaction:t}),t.sent&&t.sent(t),e.wait(1).then((()=>{t._succeeded=!0,t.succeeded&&t.succeeded(t)})).catch((e=>{e&&e.code&&"TRANSACTION_REPLACED"==e.code?(e.replacement&&e.replacement.hash&&(t.id=e.replacement.hash,t.url=w.findByName(t.blockchain).explorerUrlFor({transaction:t})),e.replacement&&e.replacement.hash&&e.receipt&&1==e.receipt.status?(t._succeeded=!0,t.succeeded&&t.succeeded(t)):e.replacement&&e.replacement.hash&&e.receipt&&0==e.receipt.status&&(t._failed=!0,t.failed&&t.failed(t,e))):(t._failed=!0,t.failed&&t.failed(t,e))}))})),t})({wallet:this,transaction:t})}newWalletLinkInstance(){return new zk({}).makeWeb3Provider()}async account(){if(null!=this.connectedAccounts)return en(this.connectedAccounts[0])}async connect(t){(await this.connector._relayProvider()).setConnectDisabled(!1);let e=await this.connector.enable();return e instanceof Array&&e.length&&_L(this),e=e.map((t=>en(t))),this.connectedAccounts=e,this.connectedChainId=await this.connector.getChainId(),e[0]}async connectedTo(t){let e=await this.connector.getChainId();const n=w.findByNetworkId(e);return t?t===n.name:n.name}switchTo(t){return new Promise(((e,n)=>{const r=w.findByName(t);this.connector.request({method:"wallet_switchEthereumChain",params:[{chainId:r.id}]}).then(e).catch((r=>{4902===r.code?this.addNetwork(t).then((()=>this.switchTo(t).then(e))).catch(n):n(r)}))}))}addNetwork(t){return new Promise(((e,n)=>{const r=w.findByName(t);this.connector.request({method:"wallet_addEthereumChain",params:[{chainId:r.id,chainName:r.fullName,nativeCurrency:{name:r.currency.name,symbol:r.currency.symbol,decimals:r.currency.decimals},rpcUrls:[r.rpc],blockExplorerUrls:[r.explorer],iconUrls:[r.logo]}]}).then(e).catch(n)}))}on(t,e){let n;switch(t){case"account":n=t=>e(en(t[0])),this.connector.on("accountsChanged",n)}return n}off(t,e){switch(t){case"account":this.connector.removeListener("accountsChanged",e)}return e}transactionCount({blockchain:t,address:e}){return Ck({blockchain:t,method:"transactionCount",address:e})}async sign(t){await this.account();let e=new Ju(this.connector,"any").getSigner(0);return await e.signMessage(t)}}zL.__initStatic(),zL.__initStatic2(),zL.getConnectedInstance=OL,zL.setConnectedInstance=_L;var PL={MetaMask:Xk,Phantom:sL,Coinbase:Vk,Binance:Fk,Trust:cL,Backpack:dL,Glow:lL,Solflare:hL,Rabby:fL,Brave:Hk,Opera:Kk,Coin98:Gk,CryptoCom:Jk,HyperPay:qk,WindowEthereum:Yk,WindowSolana:aL,WalletConnectV1:TL,WalletLink:zL};const BL=async t=>{let e=t&&"function"==typeof t.drip?t.drip:void 0;return(await Promise.all(Object.keys(PL).map((async t=>{let n=PL[t];if(await n.isAvailable()){let t;return n.getConnectedInstance?(t=await n.getConnectedInstance(),e&&e(t),t):(e&&e(n),new n)}})))).filter(Boolean)};function RL(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0})); /**! * @uiw/copy-to-clipboard v1.0.14 * Copy to clipboard. @@ -92,7 +92,7 @@ e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,l=-7,h=n?i-1:0,d= * @website: https://uiwjs.github.io/copy-to-clipboard * Licensed under the MIT license - */var SA=function(){return Y.createElement("svg",{className:"ChevronLeft Icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},Y.createElement("path",{strokeWidth:"1",fillRule:"evenodd",d:"M10.4,1.6c0.2,0.2,0.2,0.5,0,0.7L4.7,8l5.6,5.6c0.2,0.2,0.2,0.5,0,0.7s-0.5,0.2-0.7,0l-6-6l0,0,c-0.2-0.2-0.2-0.5,0-0.7l6-6l0,0C9.8,1.5,10.2,1.5,10.4,1.6L10.4,1.6z"}))},IA=function(){return Y.createElement("svg",{className:"CloseIcon Icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},Y.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Y.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))},TA=o((function(t,e){function n(t,e){var n=t.length;t.push(e);t:for(;0>>1,i=t[r];if(!(0>>1;ro(u,n))co(l,u)?(t[r]=l,t[c]=n,r=c):(t[r]=u,t[s]=n,r=s);else{if(!(co(l,n)))break t;t[r]=l,t[c]=n,r=c}}}return e}function o(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],l=[],h=1,d=null,f=3,p=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(t){for(var e=r(l);null!==e;){if(null===e.callback)i(l);else{if(!(e.startTime<=t))break;i(l),e.sortIndex=e.expirationTime,n(c,e)}e=r(l)}}function M(t){if(g=!1,w(t),!m)if(null!==r(c))m=!0,D(k);else{var e=r(l);null!==e&&O(M,e.startTime-t)}}function k(t,n){m=!1,g&&(g=!1,v(E),E=-1),p=!0;var o=f;try{for(w(n),d=r(c);null!==d&&(!(d.expirationTime>n)||t&&!I());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?d.callback=s:d===r(c)&&i(c),w(n)}else i(c);d=r(c)}if(null!==d)var u=!0;else{var h=r(l);null!==h&&O(M,h.startTime-n),u=!1}return u}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var L,A=!1,x=null,E=-1,N=5,S=-1;function I(){return!(e.unstable_now()-St||125a?(t.sortIndex=o,n(l,t),null===r(c)&&t===r(l)&&(g?(v(E),E=-1):g=!0,O(M,o-a))):(t.sortIndex=s,n(c,t),m||p||(m=!0,D(k))),t},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(t){var e=f;return function(){var n=f;f=e;try{return t.apply(this,arguments)}finally{f=n}}}})); + */var SA=function(){return MA.createElement("svg",{className:"ChevronLeft Icon",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},MA.createElement("path",{strokeWidth:"1",fillRule:"evenodd",d:"M10.4,1.6c0.2,0.2,0.2,0.5,0,0.7L4.7,8l5.6,5.6c0.2,0.2,0.2,0.5,0,0.7s-0.5,0.2-0.7,0l-6-6l0,0,c-0.2-0.2-0.2-0.5,0-0.7l6-6l0,0C9.8,1.5,10.2,1.5,10.4,1.6L10.4,1.6z"}))},IA=function(){return MA.createElement("svg",{className:"CloseIcon Icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},MA.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),MA.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))},TA=o((function(t,e){function n(t,e){var n=t.length;t.push(e);t:for(;0>>1,i=t[r];if(!(0>>1;ro(u,n))co(l,u)?(t[r]=l,t[c]=n,r=c):(t[r]=u,t[s]=n,r=s);else{if(!(co(l,n)))break t;t[r]=l,t[c]=n,r=c}}}return e}function o(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],l=[],h=1,d=null,f=3,p=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(t){for(var e=r(l);null!==e;){if(null===e.callback)i(l);else{if(!(e.startTime<=t))break;i(l),e.sortIndex=e.expirationTime,n(c,e)}e=r(l)}}function M(t){if(g=!1,w(t),!m)if(null!==r(c))m=!0,D(k);else{var e=r(l);null!==e&&O(M,e.startTime-t)}}function k(t,n){m=!1,g&&(g=!1,v(E),E=-1),p=!0;var o=f;try{for(w(n),d=r(c);null!==d&&(!(d.expirationTime>n)||t&&!I());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?d.callback=s:d===r(c)&&i(c),w(n)}else i(c);d=r(c)}if(null!==d)var u=!0;else{var h=r(l);null!==h&&O(M,h.startTime-n),u=!1}return u}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var L,A=!1,x=null,E=-1,N=5,S=-1;function I(){return!(e.unstable_now()-St||125a?(t.sortIndex=o,n(l,t),null===r(c)&&t===r(l)&&(g?(v(E),E=-1):g=!0,O(M,o-a))):(t.sortIndex=s,n(c,t),m||p||(m=!0,D(k))),t},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(t){var e=f;return function(){var n=f;f=e;try{return t.apply(this,arguments)}finally{f=n}}}})); /** * @license React * scheduler.development.js @@ -111,7 +111,7 @@ o((function(t,e){}));var jA=o((function(t){t.exports=TA})); * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function CA(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n