diff --git a/.eslintignore b/.eslintignore index 5093a29b85..5ba9f5090f 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,22 @@ -scripts/ +# General Ignores +.gitignore +.prettierignore +.eslintcache +node_modules/ +public/ + +# Artifacts +.next/ +out/ +src/locales/ + +# IDE +.vscode + +# Specific Ignores +*.svg +*.ico +*.json +*.md +*.log +*.lock diff --git a/.eslintrc.js b/.eslintrc.js index 9e5283b35a..8327a84f6a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,15 +6,15 @@ module.exports = { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', ], - plugins: ['prettier', 'import', /* 'simple-import-sort', */ '@typescript-eslint'], + plugins: ['prettier', 'import', 'simple-import-sort', '@typescript-eslint'], rules: { '@typescript-eslint/no-empty-interface': 'off', '@typescript-eslint/no-explicit-any': 'error', 'prettier/prettier': 'warn', 'react-hooks/rules-of-hooks': 'error', 'react-hooks/exhaustive-deps': 'warn', - // 'simple-import-sort/imports': 'error', - // 'simple-import-sort/exports': 'warn', + 'simple-import-sort/imports': 'error', + 'simple-import-sort/exports': 'warn', 'import/first': 'error', 'import/newline-after-import': 'error', 'import/no-duplicates': 'error', diff --git a/.github/ISSUE_TEMPLATE/bug-report---.md b/.github/ISSUE_TEMPLATE/bug-report---.md index adf13608e2..06253939a2 100644 --- a/.github/ISSUE_TEMPLATE/bug-report---.md +++ b/.github/ISSUE_TEMPLATE/bug-report---.md @@ -1,10 +1,7 @@ --- name: "Bug report \U0001F41B" about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - +labels: 'new issue, bug' --- **Describe the bug** diff --git a/.github/ISSUE_TEMPLATE/feature-request---.md b/.github/ISSUE_TEMPLATE/feature-request---.md index f5f168c58a..2d2cf9bae6 100644 --- a/.github/ISSUE_TEMPLATE/feature-request---.md +++ b/.github/ISSUE_TEMPLATE/feature-request---.md @@ -1,10 +1,7 @@ --- name: "Feature request \U0001F47B" about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - +labels: 'new issue, feature' --- **Is your feature request related to a problem? Please describe.** diff --git a/.github/actions/analyze-comment/action.yml b/.github/actions/analyze-comment/action.yml index 29c162660c..3f30c3f60c 100644 --- a/.github/actions/analyze-comment/action.yml +++ b/.github/actions/analyze-comment/action.yml @@ -4,9 +4,9 @@ inputs: PULL_REQUEST_NUMBER: description: Pull request id in case it does not exist in the context by default required: false - default: "0" + default: '0' runs: - using: "composite" + using: 'composite' steps: - name: Download PR bundle stats if: github.event.workflow_run.id diff --git a/.github/actions/cypress/action.yml b/.github/actions/cypress/action.yml index 8786e2d25b..fd296972d9 100644 --- a/.github/actions/cypress/action.yml +++ b/.github/actions/cypress/action.yml @@ -14,7 +14,7 @@ inputs: description: yarn command to run test required: true runs: - using: "composite" + using: 'composite' steps: - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1 with: diff --git a/.github/actions/fork-result-comment/action.yml b/.github/actions/fork-result-comment/action.yml index ff473c882d..5f46abeacd 100644 --- a/.github/actions/fork-result-comment/action.yml +++ b/.github/actions/fork-result-comment/action.yml @@ -4,12 +4,12 @@ inputs: PULL_REQUEST_NUMBER: description: Pull request id required: false - default: "0" + default: '0' COMMENT_BODY: description: Text of the comment required: true runs: - using: "composite" + using: 'composite' steps: - name: Find Comment uses: peter-evans/find-comment@1769778a0c5bd330272d749d12c036d65e70d39d # v2.0.0 diff --git a/.github/actions/private-ipfs-pin/action.yml b/.github/actions/private-ipfs-pin/action.yml index 931cba11e2..4033262074 100644 --- a/.github/actions/private-ipfs-pin/action.yml +++ b/.github/actions/private-ipfs-pin/action.yml @@ -1,8 +1,8 @@ name: Pin to private cluster -description: Upload build to ipfs nodes runnning in GKE +description: Upload build to ipfs nodes running in GKE inputs: DOMAIN: - description: Domain to unpin + description: Domain to unpin required: true GCP_SA_KEY: description: '' @@ -16,7 +16,7 @@ inputs: BUILD_PATH: description: path to the build directory required: true - PINATA_HASH: + PINATA_HASH: description: '' required: true runs: diff --git a/.github/actions/upload-artifacts/action.yml b/.github/actions/upload-artifacts/action.yml index 966cb7bbd9..57547d6ec9 100644 --- a/.github/actions/upload-artifacts/action.yml +++ b/.github/actions/upload-artifacts/action.yml @@ -6,15 +6,15 @@ inputs: required: false default: out PR_INFO: - description: shoud this artifact be uploaded + description: should this artifact be uploaded required: false - default: "true" + default: 'true' NEXTJS_BUILD: - description: shoud this artifact be uploaded + description: should this artifact be uploaded required: false - default: "true" + default: 'true' runs: - using: "composite" + using: 'composite' steps: - name: Save PR number if: github.event.number && inputs.PR_INFO == 'true' diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000000..d4425f733d --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,29 @@ +## General Changes + +- Fixes XYZ bug +- Adds XYZ feature +- … + +## Developer Notes + +Add any notes here that may be helpful for reviewers. + +## Author Checklist + +- [ ] The base branch is set to `main` +- [ ] The title is using [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/) formatting +- [ ] The Github issue has been linked to the PR in the Development section +- [ ] The General Changes section has been filled out +- [ ] Developer Notes have been added (optional) + +## Reviewer Checklist + +- [ ] End-to-end tests are passing without any errors +- [ ] Code style generally follows existing patterns +- [ ] Code changes do not significantly increase the application bundle size +- [ ] New third-party packages, if any, do not introduce potential security threats +- [ ] There are no CI changes, or they have been OK’d by the devops team +- [ ] Code changes have been quality checked in the ephemeral URL +- [ ] QA verification has been completed +- [ ] There are two or more approvals from the core team +- [ ] Squash and merge has been checked diff --git a/.github/workflows/build-fork.yml b/.github/workflows/build-fork.yml index 4a8e2132a1..0f8ee0b92b 100644 --- a/.github/workflows/build-fork.yml +++ b/.github/workflows/build-fork.yml @@ -6,7 +6,7 @@ concurrency: on: pull_request: - branches: ["main"] + branches: ['main'] jobs: build: @@ -21,7 +21,7 @@ jobs: - name: Build App uses: ./.github/actions/build with: - NEXT_PUBLIC_ENV: "prod" + NEXT_PUBLIC_ENV: 'prod' - name: Upload artifacts uses: ./.github/actions/upload-artifacts diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 5cf45f3920..bb4a1fb548 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -84,7 +84,6 @@ jobs: fail-fast: false matrix: market: - - fantom - polygon - avalanche - optimism @@ -181,7 +180,6 @@ jobs: fail-fast: false matrix: market: - - fantom - polygon - avalanche - optimism @@ -232,7 +230,6 @@ jobs: fail-fast: false matrix: market: - - fantom - polygon - avalanche - optimism diff --git a/.github/workflows/i18n-check.yml b/.github/workflows/i18n-check.yml index 406c2e9b9f..01e55df016 100644 --- a/.github/workflows/i18n-check.yml +++ b/.github/workflows/i18n-check.yml @@ -6,9 +6,9 @@ concurrency: on: pull_request: - branches: ["main"] + branches: ['main'] push: - branches: ["main"] + branches: ['main'] jobs: i18n-check: diff --git a/.github/workflows/test-deploy-fork.yml b/.github/workflows/test-deploy-fork.yml index 25fd9cc87b..b6365b24de 100644 --- a/.github/workflows/test-deploy-fork.yml +++ b/.github/workflows/test-deploy-fork.yml @@ -6,8 +6,8 @@ concurrency: on: workflow_run: - workflows: ["Build PR From Fork"] - types: ["completed"] + workflows: ['Build PR From Fork'] + types: ['completed'] jobs: prepare_jobs: @@ -22,7 +22,7 @@ jobs: uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0 with: workflow: build-fork.yml - run_id: "${{ github.event.workflow_run.id }}" + run_id: '${{ github.event.workflow_run.id }}' workflow_conclusion: success name: pr path: ./ @@ -46,7 +46,7 @@ jobs: next_js_analyze: runs-on: ubuntu-latest - needs: ["prepare_jobs"] + needs: ['prepare_jobs'] env: PR_NUMBER: ${{ needs.prepare_jobs.outputs.pr_number }} steps: @@ -56,11 +56,11 @@ jobs: - uses: ./.github/actions/analyze-comment with: - PULL_REQUEST_NUMBER: "${{ env.PR_NUMBER }}" + PULL_REQUEST_NUMBER: '${{ env.PR_NUMBER }}' cypress_smoke_v2: runs-on: ubuntu-latest - needs: ["prepare_jobs"] + needs: ['prepare_jobs'] strategy: fail-fast: false matrix: @@ -82,12 +82,11 @@ jobs: cypress_smoke_v3: runs-on: ubuntu-latest - needs: ["prepare_jobs"] + needs: ['prepare_jobs'] strategy: fail-fast: false matrix: market: - - fantom - polygon - avalanche - optimism @@ -147,7 +146,7 @@ jobs: cypress_full_v2: runs-on: ubuntu-latest - needs: ["deploy_fork"] + needs: ['deploy_fork'] strategy: fail-fast: false matrix: @@ -169,12 +168,11 @@ jobs: cypress_full_v3: runs-on: ubuntu-latest - needs: ["deploy_fork"] + needs: ['deploy_fork'] strategy: fail-fast: false matrix: market: - - fantom - polygon - avalanche - optimism @@ -191,7 +189,7 @@ jobs: cypress_additional_v2: runs-on: ubuntu-latest - needs: ["deploy_fork"] + needs: ['deploy_fork'] strategy: fail-fast: false matrix: @@ -212,12 +210,11 @@ jobs: cypress_additional_v3: runs-on: ubuntu-latest - needs: ["deploy_fork"] + needs: ['deploy_fork'] strategy: fail-fast: false matrix: market: - - fantom - polygon - avalanche - optimism @@ -234,7 +231,7 @@ jobs: cypress_app_functionality: runs-on: ubuntu-latest - needs: ["deploy_fork"] + needs: ['deploy_fork'] strategy: fail-fast: false matrix: @@ -251,7 +248,6 @@ jobs: CYPRESS_TENDERLY_PROJECT: ${{ secrets.TENDERLY_PROJECT }} YARN_TEST_COMMAND: npx cypress-repeat run -n 2 --rerun-failed-only --config-file ./cypress/configs/${{ matrix.scoupe }}.config.ts - notify_failure: runs-on: ubuntu-latest if: failure() @@ -293,5 +289,5 @@ jobs: with: PULL_REQUEST_NUMBER: '${{ env.PR_NUMBER }}' COMMENT_BODY: | - ✅ CI run has succeded! - You can find tests and deployment logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}' + ✅ CI run has succeded! + You can find tests and deployment logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}' diff --git a/.github/workflows/update-prod-staging.yml b/.github/workflows/update-prod-staging.yml index 11371f166c..36d26bd277 100644 --- a/.github/workflows/update-prod-staging.yml +++ b/.github/workflows/update-prod-staging.yml @@ -84,7 +84,7 @@ jobs: with: PINATA_API_KEY: '${{ secrets.PINATA_API_KEY }}' PINATA_SECRET_KEY: '${{ secrets.PINATA_SECRET_KEY }}' - PIN_ALIAS: "app-aave-staging" + PIN_ALIAS: 'app-aave-staging' BUILD_LOCATION: './out_staging' CID_VERSION: 1 diff --git a/.husky/pre-commit b/.husky/pre-commit index 3c8d0633f5..995462acff 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -3,3 +3,4 @@ npx lint-staged yarn i18n +git add ./src/locales diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000000..06fd49d9bb --- /dev/null +++ b/.prettierignore @@ -0,0 +1,22 @@ +# General Ignores +.gitignore +.eslintcache +.eslintignore +node_modules/ +public/ + +# Artifacts +.next/ +out/ +src/locales/ + +# IDE +.vscode + +# Specific Ignores +*.svg +*.ico +*.json +*.md +*.log +*.lock diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4533890ca5..37a4cd1110 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,109 +1,156 @@ # Contributing -## Initial setup +We use Github issues for tracking new features, bug fixes, and enhancements related to the Aave Interface. We are currently working on a UI/UX Integrations framework for integrating third-party services and entities within the Aave Interface. Please stay tuned for new information around this. -```sh -# potentially you can user other node versions, but it's only tested on what's currently listed in nvmrc +## Pre-Requisites + +### Install Node + +We are using a Next.js application, which relies on Node. You must have Node installed and set to use the specified version in `.nvmrc`. You can potentially use other versions, but we don’t recommend differing here. + +You can download from the [NodeJS website](https://nodejs.org/en/download/), but we recommend installing nvm and running the following command at root, after cloning or downloading the repo. + +```bash nvm use +``` + +### Install Dependencies + +Download [Yarn Package Manager](https://yarnpkg.com/) and install the dependencies. + +```bash yarn install +``` + +### Setup Environment Variables + +There are a few environment variables that we store for the interface. Before starting development, copy over the environment variables from the provided dummy file to a local copy. + +```bash cp .env.example .env.local ``` -## Running the interface +## Get Up & Running Locally + +Once you’ve completed the pre-requisites above, you should be able to start running the interface locally. There are several variations of running locally. -```sh +### Development Mode + +Development builds are run with a watcher and an open server listening on `localhost:3000`. + +```bash yarn dev ``` -## Build +### Production Mode -```sh -# builds the app for usage on serverless & containered hosting platforms like vercel +Production-based builds are great for usage on serverless & container-based hosting platforms like [Vercel](https://vercel.com) or [Heroku](https://heroku.com). To compile the source files into minified, production-ready asset bundles, run the build command. + +```bash yarn build -# builds the app as a static bundle to be hosted on ipfs -yarn build:static ``` -### Environment +There is also the option to build the application for usages as a static site on platforms like IPFS, AWS, Vercel, etc. This essentially builds the application as above and additionally uses the `next export` command. More information around Next’s export command can be found [here](https://nextjs.org/docs/advanced-features/static-html-export). -```sh -# setting the environment to 'staging' will enable testnet markets, disabling governance, staking, and production markets -NEXT_PUBLIC_ENV=prod -# you can also disable staking & governance by altering -NEXT_PUBLIC_ENABLE_GOVERNANCE=true -NEXT_PUBLIC_ENABLE_STAKING=true +```bash +yarn build:static ``` -## Test +To start the server in production mode and use these bundled, minified assets, run the following command. This will start the web server listening on `localhost:3000`. -The integration test suite runs against tenderly forks of various networks. To setup the local environment you need to add environment variables accordingly: - -```sh -TENDERLY_KEY= -TENDERLY_ACCOUNT= -TENDERLY_PROJECT= +```bash +yarn start ``` -For setup env with staking page (to get positive result for staking test coverage), need to execute: +You can also serve up the static site assets with the following command, which can be viewable on `localhost:3000`. + +```bash +yarn serve:static ``` -cp .env.example .env.local + +### Test Mode + +The integration test suite runs against [Tenderly](https://tenderly.co/) forks of various networks. To setup the local environment, you’ll first need to create an account and obtain an access key. Then fill in the three environment variables accordingly: + +```bash +TENDERLY_KEY= +TENDERLY_ACCOUNT= +TENDERLY_PROJECT= ``` -For running the integration test suite you need to run the app. You can either run again `yarn dev` which will be a bit more resource intensive as the app will be build on the fly or run against a static build via `yarn build:static` & `yarn serve:static`. +For running the integration test suite, you’ll need to have the application running locally in a separate terminal. You may choose to either run it in development mode via `yarn dev` or against a static production build via `yarn build:static` & `yarn serve:static`. The caveat to running in development mode is that it will be more resource-intensive, since the application will be built on the fly. -```sh +```bash # open interactive cypress test suite yarn test:open + # run all tests in headless mode yarn test:headless ``` -## Run on a fork +## Environment Variables + +Some environment variables can be adjusted to suite your needs during development, depending on the scenarios you want to test or build in. + +```bash +# setting the environment to 'staging' will enable testnet markets, disabling governance, staking, and production markets +NEXT_PUBLIC_ENV=prod + +# you can also disable staking & governance by altering +NEXT_PUBLIC_ENABLE_GOVERNANCE=true +NEXT_PUBLIC_ENABLE_STAKING=true +``` -You can run the ui against a forked network similar to what the tests do which allows you to play around on the ui without spending actual funds. -To enable forks in the ui, you have to run the following commands in console. +## Running Against a Chain Fork + +You can run the UI locally against a forked chain network, similar to what the tests do with Tenderly. This will allow you to build and interact with the UI without spending actual funds. This is very useful for testing many protocol scenarios. + +First, you’ll need to create a fork of a network, which can be done with a few different tools. We suggest using the one created by Bored Ghost Labs, where you can follow the steps and get set up [here](https://github.com/bgd-labs/aave-tenderly-cli). + +Second, you’ll need to tell the local application which fork to run against. The easiest way to do this is to copy/paste the following statements. With the application running locally, open up the console in the browser and copy/paste the following with the appropriate values. ```js localStorage.setItem('forkEnabled', 'true'); -localStorage.setItem('forkBaseChainId', 1); // the networkId you are forking -localStorage.setItem('forkNetworkId', '3030'); // the networkId on the fork -localStorage.setItem('forkRPCUrl', ); +localStorage.setItem('forkBaseChainId', ); // the ID for the chain you are forking, in numeric format +localStorage.setItem('forkNetworkId', '3030'); // the ID of the new forked network +localStorage.setItem('forkRPCUrl', ); ``` -As localeStorage is not observed you need to **reload** after setting the parameters. -Now the market selection should show forked markets for all the markets that run on `forkBaseChainId`. -To do actual transactions on the fork you need to setup your wallet to use the same `rpcurl` you provided as `forkRPCUrl`. +Since `localStorage` changes are not not observed, _you’ll need to reload after setting the parameters_. After reloading, the market selection should show forked markets for all the markets that run on `forkBaseChainId`. To make actual transactions on the fork, you’ll need to setup your wallet to use the same `rpcUrl` you provided as `forkRPCUrl`. This will require you to setup your wallet by adding in the new fork network and connecting to the app with it. -## Token addition +If you are using MetaMask, make sure to configure the Tenderly fork RPC URL into a new network configuration. Give it a network name, and you'll want to use the same values that you copied into `localStorage` for the other fields. See below as an example: -To add a new token to the app, all you have to do is adding a svg token icon inside `public/icons/tokens` please make sure the svg name equals the `lowercase` onchain `symbol`. -If you want a custom name to appear alongside the icon you can alter `src/ui-config/reservePatches.ts` accordingly. +![MetaMask Forked Network Setup](/public/fork-config-example.png) -## Translations +Once you have both copied over the values into `localStorage` and have saved the new network configuration in MetaMask (or any other browser wallet), switch to the network in your wallet. -Aave uses [Crowdin](https://crowdin.com/project/aave-interface) for translation management. +Next, reload the page. The new forked network should appear in the dropdown list for markets in the application. -Feel free to reach out to us on discord to become a translator! +Finally, switch to the market pertaining to the fork in the dropdown list. Now you are able to interact with the Aave Protocol via the UI without spending any real funds! -We only update strings within the app. Everything else is downloaded from crowdin. +__NOTE:__ _Always double check the selected network in your wallet provider to make sure transactions are executed only on the fork network_. -[Crowdin Docs](https://support.crowdin.com/enterprise/cli/) for installation of the cli -To upload strings +## Token Additions -```sh +To add a new token to the app, the process is pretty simple. All you’ll need to do is add a new token icon SVG to the `public/icons/tokens` directory. The only requirement is that the name of the SVG file is equal to the asset’s `symbol` in all lowercase. If you want a custom name to appear alongside the icon, you can alter `src/ui-config/reservePatches.ts` accordingly. -crowdin upload sources +## Translations -``` +Aave uses [Crowdin](https://crowdin.com/) for translation management and internationalization. We only update strings within the app. Everything else is downloaded from Crowdin. For more information, such as installing their CLI tool, read their [documentation](https://developer.crowdin.com/api/v2/). + +To upload strings: -To download strings +```bash +crowdin upload sources +``` -```sh +To download strings: +```bash crowdin download - ``` -To add a new language first start an issue to check for public interest. -If the community decides to go forward with your preferred language follow [this pr](https://github.com/aave/interface/pull/447#issue-1165545965) to add support for a new language. +If you would like to add support for a new language across the app, please [open up an issue](https://github.com/aave/interface/issues/new/choose) and add the `i18n` label to it. This helps us categorize, and it will also help to gauge public interest for the new language. If the community decides to go forward with your preferred language, you may open up a pull request. Please follow the template of [this PR](https://github.com/aave/interface/pull/447#issue-1165545965). + +**Feel free to reach out to us on [Discord](https://discord.gg/aave) to become a translator!** diff --git a/cypress/configs/settings.config.ts b/cypress/configs/settings.config.ts index 733f2ebc1b..724d5e2f1f 100644 --- a/cypress/configs/settings.config.ts +++ b/cypress/configs/settings.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from './base.cypress'; const folder = `./cypress/e2e/2-settings/`; diff --git a/cypress/configs/v2-markets/amm-v2-full.config.ts b/cypress/configs/v2-markets/amm-v2-full.config.ts index 5b14d4e8df..8ff0031332 100644 --- a/cypress/configs/v2-markets/amm-v2-full.config.ts +++ b/cypress/configs/v2-markets/amm-v2-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/1-amm-v2-market/`; diff --git a/cypress/configs/v2-markets/amm-v2-smoke.config.ts b/cypress/configs/v2-markets/amm-v2-smoke.config.ts index a1910e5d70..e090262645 100644 --- a/cypress/configs/v2-markets/amm-v2-smoke.config.ts +++ b/cypress/configs/v2-markets/amm-v2-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/1-amm-v2-market/`; diff --git a/cypress/configs/v2-markets/avalanche-v2-additional.config.ts b/cypress/configs/v2-markets/avalanche-v2-additional.config.ts index bbf8e26480..f7e4bdd735 100644 --- a/cypress/configs/v2-markets/avalanche-v2-additional.config.ts +++ b/cypress/configs/v2-markets/avalanche-v2-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/3-avalanche-v2-market/`; diff --git a/cypress/configs/v2-markets/avalanche-v2-full.config.ts b/cypress/configs/v2-markets/avalanche-v2-full.config.ts index d19d2055cf..d8fd9061b9 100644 --- a/cypress/configs/v2-markets/avalanche-v2-full.config.ts +++ b/cypress/configs/v2-markets/avalanche-v2-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/3-avalanche-v2-market/`; diff --git a/cypress/configs/v2-markets/avalanche-v2-smoke.config.ts b/cypress/configs/v2-markets/avalanche-v2-smoke.config.ts index 6bf8be9f0f..fa4fb00a31 100644 --- a/cypress/configs/v2-markets/avalanche-v2-smoke.config.ts +++ b/cypress/configs/v2-markets/avalanche-v2-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/3-avalanche-v2-market/`; diff --git a/cypress/configs/v2-markets/ethereum-v2-additional.config.ts b/cypress/configs/v2-markets/ethereum-v2-additional.config.ts index da2a805f9e..01d0514dff 100644 --- a/cypress/configs/v2-markets/ethereum-v2-additional.config.ts +++ b/cypress/configs/v2-markets/ethereum-v2-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/0-main-v2-market/`; diff --git a/cypress/configs/v2-markets/ethereum-v2-full.config.ts b/cypress/configs/v2-markets/ethereum-v2-full.config.ts index 256344c507..cfb35497ca 100644 --- a/cypress/configs/v2-markets/ethereum-v2-full.config.ts +++ b/cypress/configs/v2-markets/ethereum-v2-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/0-main-v2-market/`; diff --git a/cypress/configs/v2-markets/ethereum-v2-smoke.config.ts b/cypress/configs/v2-markets/ethereum-v2-smoke.config.ts index eb9351bd22..644df84ec2 100644 --- a/cypress/configs/v2-markets/ethereum-v2-smoke.config.ts +++ b/cypress/configs/v2-markets/ethereum-v2-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/0-v2-markets/0-main-v2-market/`; diff --git a/cypress/configs/v2-markets/polygon-v2-additional.config.ts b/cypress/configs/v2-markets/polygon-v2-additional.config.ts index 5ea10bdcbe..a596a74e7e 100644 --- a/cypress/configs/v2-markets/polygon-v2-additional.config.ts +++ b/cypress/configs/v2-markets/polygon-v2-additional.config.ts @@ -1,6 +1,7 @@ -import { defaultConfig } from '../base.cypress'; import { defineConfig } from 'cypress'; +import { defaultConfig } from '../base.cypress'; + const folder = `./cypress/e2e/0-v2-markets/2-polygon-v2-market/`; export default defineConfig({ diff --git a/cypress/configs/v2-markets/polygon-v2-full.config.ts b/cypress/configs/v2-markets/polygon-v2-full.config.ts index 137120891c..1dcc71e517 100644 --- a/cypress/configs/v2-markets/polygon-v2-full.config.ts +++ b/cypress/configs/v2-markets/polygon-v2-full.config.ts @@ -1,6 +1,7 @@ -import { defaultConfig } from '../base.cypress'; import { defineConfig } from 'cypress'; +import { defaultConfig } from '../base.cypress'; + const folder = `./cypress/e2e/0-v2-markets/2-polygon-v2-market/`; export default defineConfig({ diff --git a/cypress/configs/v2-markets/polygon-v2-smoke.config.ts b/cypress/configs/v2-markets/polygon-v2-smoke.config.ts index 891ace02e7..d525204308 100644 --- a/cypress/configs/v2-markets/polygon-v2-smoke.config.ts +++ b/cypress/configs/v2-markets/polygon-v2-smoke.config.ts @@ -1,6 +1,7 @@ -import { defaultConfig } from '../base.cypress'; import { defineConfig } from 'cypress'; +import { defaultConfig } from '../base.cypress'; + const folder = `./cypress/e2e/0-v2-markets/2-polygon-v2-market/`; export default defineConfig({ diff --git a/cypress/configs/v3-markets/arbitrum-v3-additional.config.ts b/cypress/configs/v3-markets/arbitrum-v3-additional.config.ts index bee5dc391d..fcfb8fdb6a 100644 --- a/cypress/configs/v3-markets/arbitrum-v3-additional.config.ts +++ b/cypress/configs/v3-markets/arbitrum-v3-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/1-arbitrum-v3-market/`; diff --git a/cypress/configs/v3-markets/arbitrum-v3-full.config.ts b/cypress/configs/v3-markets/arbitrum-v3-full.config.ts index 90d6b171a9..e915f418a8 100644 --- a/cypress/configs/v3-markets/arbitrum-v3-full.config.ts +++ b/cypress/configs/v3-markets/arbitrum-v3-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/1-arbitrum-v3-market/`; diff --git a/cypress/configs/v3-markets/arbitrum-v3-smoke.config.ts b/cypress/configs/v3-markets/arbitrum-v3-smoke.config.ts index 20b02c8469..cb51b05512 100644 --- a/cypress/configs/v3-markets/arbitrum-v3-smoke.config.ts +++ b/cypress/configs/v3-markets/arbitrum-v3-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/1-arbitrum-v3-market/`; diff --git a/cypress/configs/v3-markets/avalanche-v3-additional.config.ts b/cypress/configs/v3-markets/avalanche-v3-additional.config.ts index f0ec57c11a..acfc5e0f89 100644 --- a/cypress/configs/v3-markets/avalanche-v3-additional.config.ts +++ b/cypress/configs/v3-markets/avalanche-v3-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/2-avalanche-v3-market/`; diff --git a/cypress/configs/v3-markets/avalanche-v3-full.config.ts b/cypress/configs/v3-markets/avalanche-v3-full.config.ts index a8721905a7..f2d2dfaa74 100644 --- a/cypress/configs/v3-markets/avalanche-v3-full.config.ts +++ b/cypress/configs/v3-markets/avalanche-v3-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/2-avalanche-v3-market/`; diff --git a/cypress/configs/v3-markets/avalanche-v3-smoke.config.ts b/cypress/configs/v3-markets/avalanche-v3-smoke.config.ts index 8ec99c62cc..ec6a53ae59 100644 --- a/cypress/configs/v3-markets/avalanche-v3-smoke.config.ts +++ b/cypress/configs/v3-markets/avalanche-v3-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/2-avalanche-v3-market/`; diff --git a/cypress/configs/v3-markets/fantom-v3-additional.config.ts b/cypress/configs/v3-markets/fantom-v3-additional.config.ts index 925aca37c7..4480e0215d 100644 --- a/cypress/configs/v3-markets/fantom-v3-additional.config.ts +++ b/cypress/configs/v3-markets/fantom-v3-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/5-fantom-v3-market/`; diff --git a/cypress/configs/v3-markets/fantom-v3-full.config.ts b/cypress/configs/v3-markets/fantom-v3-full.config.ts index d83db5c0c9..fc9e8cbb5c 100644 --- a/cypress/configs/v3-markets/fantom-v3-full.config.ts +++ b/cypress/configs/v3-markets/fantom-v3-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/5-fantom-v3-market/`; diff --git a/cypress/configs/v3-markets/fantom-v3-smoke.config.ts b/cypress/configs/v3-markets/fantom-v3-smoke.config.ts index 7aadd7210c..ef1d66ea01 100644 --- a/cypress/configs/v3-markets/fantom-v3-smoke.config.ts +++ b/cypress/configs/v3-markets/fantom-v3-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/5-fantom-v3-market/`; diff --git a/cypress/configs/v3-markets/optimism-v3-additional.config.ts b/cypress/configs/v3-markets/optimism-v3-additional.config.ts index cbc5f8f2e5..b675e73668 100644 --- a/cypress/configs/v3-markets/optimism-v3-additional.config.ts +++ b/cypress/configs/v3-markets/optimism-v3-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/4-optimism-v3-market/`; diff --git a/cypress/configs/v3-markets/optimism-v3-full.config.ts b/cypress/configs/v3-markets/optimism-v3-full.config.ts index 2b82f1ae32..9c300c7257 100644 --- a/cypress/configs/v3-markets/optimism-v3-full.config.ts +++ b/cypress/configs/v3-markets/optimism-v3-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/4-optimism-v3-market/`; diff --git a/cypress/configs/v3-markets/optimism-v3-smoke.config.ts b/cypress/configs/v3-markets/optimism-v3-smoke.config.ts index b80fa0b03d..373e643573 100644 --- a/cypress/configs/v3-markets/optimism-v3-smoke.config.ts +++ b/cypress/configs/v3-markets/optimism-v3-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/4-optimism-v3-market/`; diff --git a/cypress/configs/v3-markets/polygon-v3-additional.config.ts b/cypress/configs/v3-markets/polygon-v3-additional.config.ts index 148db0240c..0d15c6809d 100644 --- a/cypress/configs/v3-markets/polygon-v3-additional.config.ts +++ b/cypress/configs/v3-markets/polygon-v3-additional.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/3-polygon-v3-market/`; diff --git a/cypress/configs/v3-markets/polygon-v3-full.config.ts b/cypress/configs/v3-markets/polygon-v3-full.config.ts index 38e4ca3ff8..87a3a9d099 100644 --- a/cypress/configs/v3-markets/polygon-v3-full.config.ts +++ b/cypress/configs/v3-markets/polygon-v3-full.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/3-polygon-v3-market/`; diff --git a/cypress/configs/v3-markets/polygon-v3-smoke.config.ts b/cypress/configs/v3-markets/polygon-v3-smoke.config.ts index 492ae8828e..04fc0ba96c 100644 --- a/cypress/configs/v3-markets/polygon-v3-smoke.config.ts +++ b/cypress/configs/v3-markets/polygon-v3-smoke.config.ts @@ -1,4 +1,5 @@ import { defineConfig } from 'cypress'; + import { defaultConfig } from '../base.cypress'; const folder = `./cypress/e2e/1-v3-markets/3-polygon-v3-market/`; diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/bat.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/bat.aave-v2.cy.ts index 30e9737edb..13e1160c25 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/bat.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/bat.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/dai.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/dai.aave-v2.cy.ts index dd5e61cf3c..1eb495a42c 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/dai.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/dai.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/eth.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/eth.aave-v2.cy.ts index aeda27d9c6..c352cd3e36 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/eth.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/eth.aave-v2.cy.ts @@ -1,12 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; -import { supply, withdraw, changeCollateral } from '../../../../support/steps/main.steps'; +import { + borrow, + changeCollateral, + changeCollateralNegative, + repay, + supply, + withdraw, +} from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { @@ -70,14 +77,13 @@ const testData = { collateralType: constants.collateralType.isCollateral, isCollateral: true, }, - // SKIP while eth borrow blocked - // { - // type: constants.dashboardTypes.borrow, - // assetName: assets.aaveMarket.ETH.shortName, - // wrapped: assets.aaveMarket.ETH.wrapped, - // amount: 0.03, - // apyType: constants.borrowAPYType.variable, - // }, + { + type: constants.dashboardTypes.borrow, + assetName: assets.aaveMarket.ETH.shortName, + wrapped: assets.aaveMarket.ETH.wrapped, + amount: 0.03, + apyType: constants.borrowAPYType.variable, + }, ], }, }; @@ -92,10 +98,9 @@ describe('ETH INTEGRATION SPEC, AAVE V2 MARKET', () => { borrowsUnavailable(skipTestState); changeCollateral(testData.testCases.collateral.switchOn, skipTestState, false); }); - // SKIP, while eth borrow blocked - // borrow(testData.testCases.borrow, skipTestState, true); - // changeCollateralNegative(testData.testCases.collateral.switchNegative, skipTestState, false); - // repay(testData.testCases.repay, skipTestState, false); + borrow(testData.testCases.borrow, skipTestState, true); + changeCollateralNegative(testData.testCases.collateral.switchNegative, skipTestState, false); + repay(testData.testCases.repay, skipTestState, false); testData.testCases.withdraw.forEach((withdrawCase) => { withdraw(withdrawCase, skipTestState, false); }); diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mana.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mana.aave-v2.cy.ts index 8f41f23e05..625a70f12d 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mana.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mana.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mkr.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mkr.aave-v2.cy.ts index 80df395376..bb0e5356b2 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mkr.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/mkr.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/ren.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/ren.aave-v2.cy.ts index 3e405ab336..df91b694ee 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/ren.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/ren.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/tusd.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/tusd.aave-v2.cy.ts index 833670afaa..a932392319 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/tusd.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/tusd.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdc.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdc.aave-v2.cy.ts index 4228ba36fd..c5d22718f7 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdc.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdc.aave-v2.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdt.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdt.aave-v2.cy.ts index 75fe5ffda4..90779a4569 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdt.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/0-assets/usdt.aave-v2.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; import { borrow, - repay, - withdraw, changeBorrowType, + repay, supply, + withdraw, } from '../../../../support/steps/main.steps'; import { changeBorrowTypeBlocked, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositETH: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/critical-conditions.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/critical-conditions.aave-v2.cy.ts index 22a94dd0da..2305b018e6 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/critical-conditions.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/critical-conditions.aave-v2.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/reward.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/reward.aave-v2.cy.ts index bf9d2d25c1..6285dcf674 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/reward.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/reward.aave-v2.cy.ts @@ -1,8 +1,8 @@ +import assets from '../../../fixtures/assets.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; import { claimReward, supply, withdraw } from '../../../support/steps/main.steps'; import { rewardIsNotAvailable } from '../../../support/steps/verification.steps'; -import assets from '../../../fixtures/assets.json'; const testData = { deposit: { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/stake.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/stake.aave-v2.cy.ts index 7925e1ae8c..d34e3c3ecc 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/stake.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/stake.aave-v2.cy.ts @@ -1,6 +1,6 @@ -import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; -import { doCloseModal, doConfirm, setAmount } from '../../../support/steps/actions.steps'; import assets from '../../../fixtures/assets.json'; +import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; +import { doCloseModal } from '../../../support/steps/main.steps'; const testCases = [ { @@ -46,14 +46,8 @@ testCases.forEach( .click(); }); it(`Set amount`, () => { - setAmount({ - amount: testCase.amount, - max: false, - }); - doConfirm({ - hasApproval: false, - actionName: 'Stake', - }); + cy.setAmount(testCase.amount, false); + cy.doConfirm(false, 'Stake'); }); doCloseModal(); it(`Check staked amount`, () => { @@ -77,10 +71,7 @@ testCases.forEach( cy.get(`[data-cy="claimBtn_${testCase.assetName.shortName}"]`).click(); }); it(`Confirm`, () => { - doConfirm({ - hasApproval: true, - actionName: `STAKE ${testCase.assetName.shortName}`, - }); + cy.doConfirm(true, `STAKE ${testCase.assetName.shortName}`); }); doCloseModal(); }); @@ -90,10 +81,7 @@ testCases.forEach( }); it(`Confirm`, () => { cy.get(`[data-cy="cooldownAcceptCheckbox"]`).click(); - doConfirm({ - hasApproval: true, - actionName: 'Cooldown to unstake', - }); + cy.doConfirm(true, 'Cooldown to unstake'); }); doCloseModal(); it(`Check cooldown activation`, () => { diff --git a/cypress/e2e/0-v2-markets/0-main-v2-market/swap.aave-v2.cy.ts b/cypress/e2e/0-v2-markets/0-main-v2-market/swap.aave-v2.cy.ts index 1bd4a72aae..374e65c6ee 100644 --- a/cypress/e2e/0-v2-markets/0-main-v2-market/swap.aave-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/0-main-v2-market/swap.aave-v2.cy.ts @@ -1,9 +1,9 @@ +import assets from '../../../fixtures/assets.json'; +import constants from '../../../fixtures/constans.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; import { supply, swap } from '../../../support/steps/main.steps'; -import assets from '../../../fixtures/assets.json'; import { dashboardAssetValuesVerification } from '../../../support/steps/verification.steps'; -import constants from '../../../fixtures/constans.json'; const testData = { deposit: { diff --git a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/dai.amm-v2.cy.ts b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/dai.amm-v2.cy.ts index cadefc6294..ce98307020 100644 --- a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/dai.amm-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/dai.amm-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/eth.amm-v2.cy.ts b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/eth.amm-v2.cy.ts index e1c77ad03e..215ade2abd 100644 --- a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/eth.amm-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/eth.amm-v2.cy.ts @@ -1,12 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; -import { supply, withdraw, changeCollateral } from '../../../../support/steps/main.steps'; +import { + borrow, + changeCollateral, + changeCollateralNegative, + repay, + supply, + withdraw, +} from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { @@ -70,14 +77,13 @@ const testData = { collateralType: constants.collateralType.isCollateral, isCollateral: true, }, - // SKIP while eth borrow blocked - // { - // type: constants.dashboardTypes.borrow, - // assetName: assets.ammMarket.ETH.shortName, - // wrapped: assets.ammMarket.ETH.wrapped, - // amount: 0.03, - // apyType: constants.borrowAPYType.variable, - // }, + { + type: constants.dashboardTypes.borrow, + assetName: assets.ammMarket.ETH.shortName, + wrapped: assets.ammMarket.ETH.wrapped, + amount: 0.03, + apyType: constants.borrowAPYType.variable, + }, ], }, }; @@ -92,10 +98,9 @@ describe('ETH INTEGRATION SPEC, AMM V2 MARKET', () => { borrowsUnavailable(skipTestState); changeCollateral(testData.testCases.collateral.switchOn, skipTestState, false); }); - // SKIP while eth borrow blocked - // borrow(testData.testCases.borrow, skipTestState, true); - // changeCollateralNegative(testData.testCases.collateral.switchNegative, skipTestState, false); - // repay(testData.testCases.repay, skipTestState, false); + borrow(testData.testCases.borrow, skipTestState, true); + changeCollateralNegative(testData.testCases.collateral.switchNegative, skipTestState, false); + repay(testData.testCases.repay, skipTestState, false); testData.testCases.withdraw.forEach((withdrawCase) => { withdraw(withdrawCase, skipTestState, false); }); diff --git a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdc.amm-v2.cy.ts b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdc.amm-v2.cy.ts index e80734cc22..206cf3c5a1 100644 --- a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdc.amm-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdc.amm-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdt.amm-v2.cy.ts b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdt.amm-v2.cy.ts index c7a66f3e71..62bf728334 100644 --- a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdt.amm-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/usdt.amm-v2.cy.ts @@ -1,13 +1,13 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { changeBorrowTypeBlocked, dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/wbtc.amm-v2.cy.ts b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/wbtc.amm-v2.cy.ts index 33a9e96bae..f9bcb85245 100644 --- a/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/wbtc.amm-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/1-amm-v2-market/0-assets/wbtc.amm-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyMainnetFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/1-amm-v2-market/critical-conditions.amm-v2.cy.ts b/cypress/e2e/0-v2-markets/1-amm-v2-market/critical-conditions.amm-v2.cy.ts index 566e603050..aaf65b697d 100644 --- a/cypress/e2e/0-v2-markets/1-amm-v2-market/critical-conditions.amm-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/1-amm-v2-market/critical-conditions.amm-v2.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyMainnetFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/bal.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/bal.polygon-v2.cy.ts index 172d84b60d..96f625165b 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/bal.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/bal.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/crv.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/crv.polygon-v2.cy.ts index 8cf417d85c..8cdee08db0 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/crv.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/crv.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dai.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dai.polygon-v2.cy.ts index 5de87fe022..bec093abdf 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dai.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dai.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dpi.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dpi.polygon-v2.cy.ts index 070025ed14..743693b6f9 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dpi.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/dpi.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/ghst.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/ghst.polygon-v2.cy.ts index 399b14dfc0..af3c3c9de1 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/ghst.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/ghst.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/link.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/link.polygon-v2.cy.ts index 37d1cb137e..4fe0472db4 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/link.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/link.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/matic.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/matic.polygon-v2.cy.ts index 358b28406a..bec3370721 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/matic.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/matic.polygon-v2.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/sushi.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/sushi.polygon-v2.cy.ts index 5a8db0a0e6..7a7483ef60 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/sushi.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/sushi.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdc.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdc.polygon-v2.cy.ts index 7bb26e43b8..edbcbfc6e1 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdc.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdc.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdt.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdt.polygon-v2.cy.ts index d619712941..bda9fd6c8e 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdt.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/usdt.polygon-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { changeBorrowTypeBlocked, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/wbtc.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/wbtc.polygon-v2.cy.ts index 361a45a4b1..2df8ad9dd5 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/wbtc.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/wbtc.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/weth.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/weth.polygon-v2.cy.ts index 9c38037d42..23f7ea7e64 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/weth.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/0-assets/weth.polygon-v2.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/critical-conditions.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/critical-conditions.polygon-v2.cy.ts index 041ce6b187..253e8a69be 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/critical-conditions.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/critical-conditions.polygon-v2.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/0-v2-markets/2-polygon-v2-market/swap.polygon-v2.cy.ts b/cypress/e2e/0-v2-markets/2-polygon-v2-market/swap.polygon-v2.cy.ts index 639148d712..1d29711f3b 100644 --- a/cypress/e2e/0-v2-markets/2-polygon-v2-market/swap.polygon-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/2-polygon-v2-market/swap.polygon-v2.cy.ts @@ -1,9 +1,9 @@ +import assets from '../../../fixtures/assets.json'; +import constants from '../../../fixtures/constans.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; import { supply, swap } from '../../../support/steps/main.steps'; -import assets from '../../../fixtures/assets.json'; import { dashboardAssetValuesVerification } from '../../../support/steps/verification.steps'; -import constants from '../../../fixtures/constans.json'; const testData = { deposit: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/avax.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/avax.avalanche-v2.cy.ts index a0586bf1cf..bf39a8f908 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/avax.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/avax.avalanche-v2.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/dai.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/dai.avalanche-v2.cy.ts index 4dd48e719b..bffd07c5f9 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/dai.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/dai.avalanche-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdc.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdc.avalanche-v2.cy.ts index 57bf51e0fa..44ef49fec1 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdc.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdc.avalanche-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdt.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdt.avalanche-v2.cy.ts index 82d1e6ea9c..792537669f 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdt.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/usdt.avalanche-v2.cy.ts @@ -1,13 +1,13 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { changeBorrowTypeBlocked, dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/wbtc.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/wbtc.avalanche-v2.cy.ts index 383aced091..10a2089fff 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/wbtc.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/wbtc.avalanche-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/weth.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/weth.avalanche-v2.cy.ts index c4dbb29ff1..dad5fe7b6e 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/weth.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/0-assets/weth.avalanche-v2.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/critical-conditions.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/critical-conditions.avalanche-v2.cy.ts index 03e4a13f87..f1d75f22cf 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/critical-conditions.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/critical-conditions.avalanche-v2.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/reward.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/reward.avalanche-v2.cy.ts index 0d15e4b790..b500af555e 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/reward.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/reward.avalanche-v2.cy.ts @@ -1,8 +1,8 @@ +import assets from '../../../fixtures/assets.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; import { claimReward, supply, withdraw } from '../../../support/steps/main.steps'; import { rewardIsNotAvailable } from '../../../support/steps/verification.steps'; -import assets from '../../../fixtures/assets.json'; const testData = { deposit: { diff --git a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/swap.avalanche-v2.cy.ts b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/swap.avalanche-v2.cy.ts index 26b180d64b..052f3ae5ba 100644 --- a/cypress/e2e/0-v2-markets/3-avalanche-v2-market/swap.avalanche-v2.cy.ts +++ b/cypress/e2e/0-v2-markets/3-avalanche-v2-market/swap.avalanche-v2.cy.ts @@ -1,9 +1,9 @@ +import assets from '../../../fixtures/assets.json'; +import constants from '../../../fixtures/constans.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; import { supply, swap } from '../../../support/steps/main.steps'; -import assets from '../../../fixtures/assets.json'; import { dashboardAssetValuesVerification } from '../../../support/steps/verification.steps'; -import constants from '../../../fixtures/constans.json'; const testData = { deposit: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/dai.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/dai.arbitrum-v3.cy.ts index 0270434b54..c7087a3aed 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/dai.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/dai.arbitrum-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyArbitrumFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/eth.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/eth.arbitrum-v3.cy.ts index e781d7927a..3d6c4d3066 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/eth.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/eth.arbitrum-v3.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyArbitrumFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/link.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/link.arbitrum-v3.cy.ts index 908eb4299f..88f0216b88 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/link.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/link.arbitrum-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyArbitrumFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdc.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdc.arbitrum-v3.cy.ts index 4cacc4c72c..01592b4272 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdc.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdc.arbitrum-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyArbitrumFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdt.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdt.arbitrum-v3.cy.ts index 291340dd11..6d8528bff4 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdt.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/usdt.arbitrum-v3.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyArbitrumFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchCollateralBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/wbtc.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/wbtc.arbitrum-v3.cy.ts index 38cb5a8361..3ca5852ec4 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/wbtc.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/0-assets/wbtc.arbitrum-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyArbitrumFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/critical-conditions.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/critical-conditions.arbitrum-v3.cy.ts index ca8a377c60..13b80a1451 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/critical-conditions.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/critical-conditions.arbitrum-v3.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyArbitrumFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyArbitrumFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/e-mode.arbitrum-v3.cy.ts b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/e-mode.arbitrum-v3.cy.ts index 3c817cce64..09abd95b88 100644 --- a/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/e-mode.arbitrum-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/1-arbitrum-v3-market/e-mode.arbitrum-v3.cy.ts @@ -1,11 +1,11 @@ -import { configEnvWithTenderlyArbitrumFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, emodeActivating } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyArbitrumFork } from '../../../support/steps/configuration.steps'; +import { borrow, emodeActivating, supply } from '../../../support/steps/main.steps'; import { - checkDashboardHealthFactor, borrowsAvailable, + checkDashboardHealthFactor, } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/avax.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/avax.avalanche-v3.cy.ts index 210366ebe9..19d8ca02c0 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/avax.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/avax.avalanche-v3.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/dai.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/dai.avalanche-v3.cy.ts index db3845561d..a474a50bb8 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/dai.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/dai.avalanche-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/link.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/link.avalanche-v3.cy.ts index f3f6c42a6c..99211f3209 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/link.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/link.avalanche-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdc.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdc.avalanche-v3.cy.ts index a6504cb500..eb69809d30 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdc.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdc.avalanche-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdt.avalacnhe-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdt.avalacnhe-v3.cy.ts index 38c12a4abc..e9cc302a5a 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdt.avalacnhe-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/usdt.avalacnhe-v3.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchCollateralBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/wbtc.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/wbtc.avalanche-v3.cy.ts index 040f4f0e35..910ebbc8d4 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/wbtc.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/wbtc.avalanche-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/weth.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/weth.avalanche-v3.cy.ts index 2a002ba4ef..2876f0619f 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/weth.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/0-assets/weth.avalanche-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/critical-conditions.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/critical-conditions.avalanche-v3.cy.ts index d338b40836..81c77fae03 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/critical-conditions.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/critical-conditions.avalanche-v3.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/e-mode.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/e-mode.avalanche-v3.cy.ts index 53f4fe6e07..14d973975d 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/e-mode.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/e-mode.avalanche-v3.cy.ts @@ -1,11 +1,11 @@ -import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, emodeActivating } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; +import { borrow, emodeActivating, supply } from '../../../support/steps/main.steps'; import { - checkDashboardHealthFactor, borrowsAvailable, + checkDashboardHealthFactor, checkEmodeActivatingDisabled, verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; @@ -42,6 +42,8 @@ const testData = { assets.avalancheV3Market.DAI, // assets.avalancheV3Market.USDT, assets.avalancheV3Market.USDC, + assets.avalancheV3Market.FRAX, + assets.avalancheV3Market.MAI, ], }, }; diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/isolated-mode.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/isolated-mode.avalanche-v3.cy.ts index 25a0e73732..fb5b0efecf 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/isolated-mode.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/isolated-mode.avalanche-v3.cy.ts @@ -1,14 +1,14 @@ -import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, swap, repay, changeCollateral } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; +import { borrow, changeCollateral, repay, supply, swap } from '../../../support/steps/main.steps'; import { - verifyCountOfBorrowAssets, + borrowsUnavailable, dashboardAssetValuesVerification, switchCollateralBlocked, - borrowsUnavailable, switchCollateralBlockedInModal, + verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/reward.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/reward.avalanche-v3.cy.ts index 85fcafbda7..0e0a756ee4 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/reward.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/reward.avalanche-v3.cy.ts @@ -1,8 +1,8 @@ +import assets from '../../../fixtures/assets.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; import { claimReward, supply, withdraw } from '../../../support/steps/main.steps'; import { rewardIsNotAvailable } from '../../../support/steps/verification.steps'; -import assets from '../../../fixtures/assets.json'; const testData = { deposit: { diff --git a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/swap.avalanche-v3.cy.ts b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/swap.avalanche-v3.cy.ts index b6ac4ca276..43a6be5236 100644 --- a/cypress/e2e/1-v3-markets/2-avalanche-v3-market/swap.avalanche-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/2-avalanche-v3-market/swap.avalanche-v3.cy.ts @@ -1,9 +1,9 @@ +import assets from '../../../fixtures/assets.json'; +import constants from '../../../fixtures/constans.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyAvalancheFork } from '../../../support/steps/configuration.steps'; import { supply, swap } from '../../../support/steps/main.steps'; -import assets from '../../../fixtures/assets.json'; import { dashboardAssetValuesVerification } from '../../../support/steps/verification.steps'; -import constants from '../../../fixtures/constans.json'; const testData = { deposit: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/dai.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/dai.polygon-v3.cy.ts index 65ed41005e..82cebbcce3 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/dai.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/dai.polygon-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/eurs.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/eurs.polygon-v3.cy.ts index 0a160bf853..0101a2b831 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/eurs.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/eurs.polygon-v3.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchCollateralBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/link.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/link.polygon-v3.cy.ts index 33f21068f8..48e3176798 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/link.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/link.polygon-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/matic.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/matic.polygon-v3.cy.ts index b220133aa8..445da53fef 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/matic.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/matic.polygon-v3.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdc.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdc.polygon-v3.cy.ts index 59ad0b35fa..279af0965a 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdc.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdc.polygon-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdt.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdt.polygon-v3.cy.ts index dff2cfaf28..fdce66bf7c 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdt.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/usdt.polygon-v3.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchCollateralBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/wbtc.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/wbtc.polygon-v3.cy.ts index 2e53b9fc43..e8819aa4e1 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/wbtc.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/wbtc.polygon-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/weth.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/weth.polygon-v3.cy.ts index f702a55a7b..44337a1ee6 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/weth.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/0-assets/weth.polygon-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/critical-conditions.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/critical-conditions.polygon-v3.cy.ts index 01eff894e1..7efe15add0 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/critical-conditions.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/critical-conditions.polygon-v3.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/e-mode.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/e-mode.polygon-v3.cy.ts index 2119913b2e..7edac00438 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/e-mode.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/e-mode.polygon-v3.cy.ts @@ -1,13 +1,13 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, emodeActivating } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; +import { borrow, emodeActivating, supply } from '../../../support/steps/main.steps'; import { - checkDashboardHealthFactor, borrowsAvailable, - verifyCountOfBorrowAssets, + checkDashboardHealthFactor, checkEmodeActivatingDisabled, + verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; const testData = { @@ -61,17 +61,25 @@ describe('E-MODE SPEC, POLYGON V3 MARKET', () => { checkDashboardHealthFactor({ valueFrom: 1.0, valueTo: 1.07 }, skipTestState); }); describe('Turn on E-Mode and verify increase of health factor', () => { - emodeActivating({ turnOn: true }, skipTestState, true); + emodeActivating( + { turnOn: true, multipleEmodes: true, emodeOption: 'Stablecoin' }, + skipTestState, + true + ); checkDashboardHealthFactor({ valueFrom: 1.07, valueTo: 1000 }, skipTestState); borrowsAvailable(skipTestState); verifyCountOfBorrowAssets({ assets: testData.testCases.eModeAssets }, skipTestState); }); describe('Turn off E-mode and verify decrease of health factor', () => { - emodeActivating({ turnOn: false }, skipTestState, true); + emodeActivating({ turnOn: false, multipleEmodes: true }, skipTestState, true); checkDashboardHealthFactor({ valueFrom: 1.0, valueTo: 1.07 }, skipTestState); }); describe('Turn off E-mode blocked with low health factor', () => { - emodeActivating({ turnOn: true }, skipTestState, true); + emodeActivating( + { turnOn: true, multipleEmodes: true, emodeOption: 'Stablecoin' }, + skipTestState, + true + ); borrow(testData.testCases.borrow, skipTestState, true); checkEmodeActivatingDisabled({ turnOn: false }, skipTestState); }); diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-and-emode.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-and-emode.polygon-v3.cy.ts index dc19b692d6..6e14bdc331 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-and-emode.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-and-emode.polygon-v3.cy.ts @@ -1,14 +1,14 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, swap, emodeActivating } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; +import { borrow, emodeActivating, supply, swap } from '../../../support/steps/main.steps'; import { - verifyCountOfBorrowAssets, + borrowsAvailable, + checkDashboardHealthFactor, dashboardAssetValuesVerification, switchCollateralBlockedInModal, - checkDashboardHealthFactor, - borrowsAvailable, + verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; const testData = { @@ -72,7 +72,11 @@ describe('ISOLATED MODE with EMODE SPEC, POLYGON V3 MARKET', () => { switchCollateralBlockedInModal(testData.testCases.checkBorrowTypeBlocked1, skipTestState); }); describe('Turn on E-Mode and verify increase of health factor', () => { - emodeActivating({ turnOn: true }, skipTestState, true); + emodeActivating( + { turnOn: true, multipleEmodes: true, emodeOption: 'Stablecoin' }, + skipTestState, + true + ); checkDashboardHealthFactor({ valueFrom: 1.07, valueTo: 1000 }, skipTestState); borrowsAvailable(skipTestState); verifyCountOfBorrowAssets({ assets: testData.IsolatedModeAssets }, skipTestState); diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-mode.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-mode.polygon-v3.cy.ts index 9600abced0..1b75b38d98 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-mode.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/isolated-mode.polygon-v3.cy.ts @@ -1,14 +1,14 @@ -import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, swap, repay, changeCollateral } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; +import { borrow, changeCollateral, repay, supply, swap } from '../../../support/steps/main.steps'; import { - verifyCountOfBorrowAssets, + borrowsUnavailable, dashboardAssetValuesVerification, switchCollateralBlocked, - borrowsUnavailable, switchCollateralBlockedInModal, + verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/3-polygon-v3-market/swap.polygon-v3.cy.ts b/cypress/e2e/1-v3-markets/3-polygon-v3-market/swap.polygon-v3.cy.ts index 976dcea20f..af821cedbb 100644 --- a/cypress/e2e/1-v3-markets/3-polygon-v3-market/swap.polygon-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/3-polygon-v3-market/swap.polygon-v3.cy.ts @@ -1,9 +1,9 @@ +import assets from '../../../fixtures/assets.json'; +import constants from '../../../fixtures/constans.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyPolygonFork } from '../../../support/steps/configuration.steps'; import { supply, swap } from '../../../support/steps/main.steps'; -import assets from '../../../fixtures/assets.json'; import { dashboardAssetValuesVerification } from '../../../support/steps/verification.steps'; -import constants from '../../../fixtures/constans.json'; const testData = { deposit: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/dai.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/dai.optimism-v3.cy.ts index e5518b33b0..01081e32bc 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/dai.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/dai.optimism-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/eth.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/eth.optimism-v3.cy.ts index 401d265c96..ae616c802b 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/eth.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/eth.optimism-v3.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/link.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/link.optimism-v3.cy.ts index 7cff7003a4..50acb3769d 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/link.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/link.optimism-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/susd.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/susd.optimism-v3.cy.ts index a03e7820ff..1bd3e863d2 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/susd.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/susd.optimism-v3.cy.ts @@ -1,9 +1,9 @@ -import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; -import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; import assets from '../../../../fixtures/assets.json'; import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; +import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; +import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdc.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdc.optimism-v3.cy.ts index 1baba45683..bb4d57065b 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdc.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdc.optimism-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdt.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdt.optimism-v3.cy.ts index 258a1acd10..6c350ca133 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdt.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/usdt.optimism-v3.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchCollateralBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/wbtc.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/wbtc.optimism-v3.cy.ts index 64e16092b8..27a77acb2c 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/wbtc.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/0-assets/wbtc.optimism-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyOptimismFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/critical-conditions.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/critical-conditions.optimism-v3.cy.ts index 7032dca1c1..9531aabc73 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/critical-conditions.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/critical-conditions.optimism-v3.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyOptimismFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyOptimismFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/4-optimism-v3-market/e-mode.optimism-v3.cy.ts b/cypress/e2e/1-v3-markets/4-optimism-v3-market/e-mode.optimism-v3.cy.ts index b52eedaf2f..8d4560b8c9 100644 --- a/cypress/e2e/1-v3-markets/4-optimism-v3-market/e-mode.optimism-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/4-optimism-v3-market/e-mode.optimism-v3.cy.ts @@ -1,13 +1,13 @@ -import { configEnvWithTenderlyOptimismFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, emodeActivating } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyOptimismFork } from '../../../support/steps/configuration.steps'; +import { borrow, emodeActivating, supply } from '../../../support/steps/main.steps'; import { - checkDashboardHealthFactor, borrowsAvailable, - verifyCountOfBorrowAssets, + checkDashboardHealthFactor, checkEmodeActivatingDisabled, + verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/dai.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/dai.fantom-v3.cy.ts index 7d5e228328..fe22618e02 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/dai.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/dai.fantom-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/ftm.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/ftm.fantom-v3.cy.ts index 7e90a293b9..5afdf164b9 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/ftm.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/ftm.fantom-v3.cy.ts @@ -1,19 +1,19 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, - repay, - withdraw, changeCollateral, changeCollateralNegative, + repay, + supply, + withdraw, } from '../../../../support/steps/main.steps'; import { borrowsUnavailable, dashboardAssetValuesVerification, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { testCases: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/link.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/link.fantom-v3.cy.ts index 8a9e9da231..64c2bfd4c8 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/link.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/link.fantom-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdc.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdc.fantom-v3.cy.ts index 826eb85b4f..216acb955e 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdc.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdc.fantom-v3.cy.ts @@ -1,15 +1,15 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdt.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdt.fantom-v3.cy.ts index a2f0c7a950..468d7f7621 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdt.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/usdt.fantom-v3.cy.ts @@ -1,18 +1,18 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; import { - supply, borrow, + changeBorrowType, repay, + supply, withdraw, - changeBorrowType, } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchCollateralBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/wbtc.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/wbtc.fantom-v3.cy.ts index a6a4179333..9b770b7d4d 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/wbtc.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/wbtc.fantom-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/weth.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/weth.fantom-v3.cy.ts index 2255d9db00..7277e266ce 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/weth.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/0-assets/weth.fantom-v3.cy.ts @@ -1,12 +1,12 @@ +import assets from '../../../../fixtures/assets.json'; +import constants from '../../../../fixtures/constans.json'; +import { skipState } from '../../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../../support/steps/configuration.steps'; -import { supply, borrow, repay, withdraw } from '../../../../support/steps/main.steps'; +import { borrow, repay, supply, withdraw } from '../../../../support/steps/main.steps'; import { dashboardAssetValuesVerification, switchApyBlocked, } from '../../../../support/steps/verification.steps'; -import { skipState } from '../../../../support/steps/common'; -import assets from '../../../../fixtures/assets.json'; -import constants from '../../../../fixtures/constans.json'; const testData = { depositBaseAmount: { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/critical-conditions.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/critical-conditions.fantom-v3.cy.ts index 6556f1d13c..78d2a74c18 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/critical-conditions.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/critical-conditions.fantom-v3.cy.ts @@ -1,8 +1,8 @@ -import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, withdraw } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; +import { borrow, supply, withdraw } from '../../../support/steps/main.steps'; import { checkDashboardHealthFactor } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/e-mode.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/e-mode.fantom-v3.cy.ts index 4755eb6ccc..9f9784344a 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/e-mode.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/e-mode.fantom-v3.cy.ts @@ -1,11 +1,11 @@ -import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, emodeActivating } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; +import { borrow, emodeActivating, supply } from '../../../support/steps/main.steps'; import { - checkDashboardHealthFactor, borrowsAvailable, + checkDashboardHealthFactor, verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/isolated-mode.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/isolated-mode.fantom-v3.cy.ts index e643ccf0d3..9ec0537ebe 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/isolated-mode.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/isolated-mode.fantom-v3.cy.ts @@ -1,14 +1,14 @@ -import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; -import { supply, borrow, swap, repay, changeCollateral } from '../../../support/steps/main.steps'; -import { skipState } from '../../../support/steps/common'; import assets from '../../../fixtures/assets.json'; import constants from '../../../fixtures/constans.json'; +import { skipState } from '../../../support/steps/common'; +import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; +import { borrow, changeCollateral, repay, supply, swap } from '../../../support/steps/main.steps'; import { - verifyCountOfBorrowAssets, + borrowsUnavailable, dashboardAssetValuesVerification, switchCollateralBlocked, - borrowsUnavailable, switchCollateralBlockedInModal, + verifyCountOfBorrowAssets, } from '../../../support/steps/verification.steps'; const testData = { diff --git a/cypress/e2e/1-v3-markets/5-fantom-v3-market/swap.fantom-v3.cy.ts b/cypress/e2e/1-v3-markets/5-fantom-v3-market/swap.fantom-v3.cy.ts index b910423a50..78431542fa 100644 --- a/cypress/e2e/1-v3-markets/5-fantom-v3-market/swap.fantom-v3.cy.ts +++ b/cypress/e2e/1-v3-markets/5-fantom-v3-market/swap.fantom-v3.cy.ts @@ -1,9 +1,9 @@ +import assets from '../../../fixtures/assets.json'; +import constants from '../../../fixtures/constans.json'; import { skipState } from '../../../support/steps/common'; import { configEnvWithTenderlyFantomFork } from '../../../support/steps/configuration.steps'; import { supply, swap } from '../../../support/steps/main.steps'; -import assets from '../../../fixtures/assets.json'; import { dashboardAssetValuesVerification } from '../../../support/steps/verification.steps'; -import constants from '../../../fixtures/constans.json'; const testData = { deposit: { diff --git a/cypress/e2e/2-settings/details.page.aave-v2.cy.ts b/cypress/e2e/2-settings/details.page.aave-v2.cy.ts index fcf8d98429..2e5c31edb9 100644 --- a/cypress/e2e/2-settings/details.page.aave-v2.cy.ts +++ b/cypress/e2e/2-settings/details.page.aave-v2.cy.ts @@ -1,11 +1,11 @@ +import assets from '../../fixtures/assets.json'; +import constants from '../../fixtures/constans.json'; +import { skipState } from '../../support/steps/common'; import { configEnvWithTenderlyMainnetFork, configEnvWithTenderlyOptimismFork, } from '../../support/steps/configuration.steps'; -import { skipState } from '../../support/steps/common'; -import { supply, borrow } from '../../support/steps/main.steps'; -import constants from '../../fixtures/constans.json'; -import assets from '../../fixtures/assets.json'; +import { borrow, supply } from '../../support/steps/main.steps'; const testData = { depositETH: { diff --git a/cypress/e2e/2-settings/switch-market.cy.ts b/cypress/e2e/2-settings/switch-market.cy.ts index 3416a9c9aa..89fc1f9b7e 100644 --- a/cypress/e2e/2-settings/switch-market.cy.ts +++ b/cypress/e2e/2-settings/switch-market.cy.ts @@ -1,5 +1,5 @@ -import { configEnvWithTenderlyMainnetFork } from '../../support/steps/configuration.steps'; import markets from '../../fixtures/markets.json'; +import { configEnvWithTenderlyMainnetFork } from '../../support/steps/configuration.steps'; const switchToTestNet = () => { cy.get('#settings-button').click(); diff --git a/cypress/fixtures/assets.json b/cypress/fixtures/assets.json index b0e373cec4..74e2239e1a 100644 --- a/cypress/fixtures/assets.json +++ b/cypress/fixtures/assets.json @@ -881,6 +881,18 @@ "shortName": "aWETH.e", "collateral": true, "wrapped": false + }, + "MAI": { + "fullName": "MAI", + "shortName": "MAI", + "collateral": true, + "wrapped": false + }, + "FRAX": { + "fullName": "FRAX", + "shortName": "FRAX", + "collateral": true, + "wrapped": false } } } diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 537240c307..26fe85e926 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -1,28 +1,120 @@ import 'cypress-wait-until'; -// import { ChainId } from '@aave/contract-helpers'; -// import { MARKETS } from './steps/common'; -// import { configEnvWithTenderly } from './steps/configuration.steps'; - -// https://github.com/quasarframework/quasar/issues/2233 -const resizeObserverLoopErrRe = /^[^(ResizeObserver loop limit exceeded)]/; -Cypress.on('uncaught:exception', (err) => { - /* returning false here prevents Cypress from failing the test */ - if (resizeObserverLoopErrRe.test(err.message)) { - return false; +declare global { + namespace Cypress { + interface Chainable { + /** + * This will set amount in Modal + * @param amount number + * @param max boolean optional + * @example cy.setAmount('137') + */ + setAmount(amount: number, max?: boolean): void; + /** + * This will make confirmation in Modal + * @param hasApproval boolean + * @param actionName string optional, verification button text + * @param assetName string optional, verification asset name + * @example cy.doConfirm(true) + */ + doConfirm(hasApproval: boolean, actionName?: string, assetName?: string): void; + /** + * This will return borrowed asset row from Dashboard + * @param assetName string + * @param apyType string + * @example cy.getDashBoardBorrowRow('ETH',constants.borrowAPYType.default) + */ + getDashBoardBorrowedRow( + assetName: string, + apyType: string + ): Cypress.Chainable>; + /** + * This will return supplied asset row from Dashboard + * @param assetName string + * @param isCollateralType boolean optional + * @example cy.getDashBoardSuppliedRow('ETH') + */ + getDashBoardSuppliedRow( + assetName: string, + isCollateralType?: boolean + ): Cypress.Chainable>; + /** + * This will switch dashboard view to Borrow + */ + doSwitchToDashboardBorrowView(): void; + /** + * This will switch dashboard view to Supply + */ + doSwitchToDashboardSupplyView(): void; + } + } +} + +Cypress.Commands.add('setAmount', (amount: number, max?: boolean) => { + cy.get('[data-cy=Modal]').find('button:contains("Enter an amount")').should('be.disabled'); + if (max) { + cy.wait(2000); //there is no way to know when real max amount will upload by UI + cy.get('[data-cy=Modal]').find('button:contains("Max")').click(); + } else { + cy.get('[data-cy=Modal] input').first().type(amount.toString()); } }); -// Cypress.Commands.add('initFork', (market, tokens = []) => { -// if (!Object.keys(MARKETS).includes(market)) throw new Error(`not sure how to setup ${market}`); -// if (market === MARKETS.fork_proto_mainnet) -// configEnvWithTenderly({ chainId: ChainId.mainnet, market, tokens }); -// if (market === MARKETS.fork_amm_mainnet) -// configEnvWithTenderly({ chainId: ChainId.mainnet, market, tokens }); -// if (market === MARKETS.fork_proto_avalanche) -// configEnvWithTenderly({ chainId: ChainId.avalanche, market, tokens }); -// if (market === MARKETS.fork_proto_matic) -// configEnvWithTenderly({ chainId: ChainId.polygon, market, tokens }); -// }); +Cypress.Commands.add( + 'doConfirm', + (hasApproval: boolean, actionName?: string, assetName?: string) => { + cy.log(`${hasApproval ? 'One step process' : 'Two step process'}`); + if (!hasApproval) { + cy.get(`[data-cy=approvalButton]`, { timeout: 20000 }).should('not.be.disabled').click(); + } + cy.get('[data-cy=actionButton]', { timeout: 30000 }) + .should('not.be.disabled') + .then(($btn) => { + if (assetName && actionName) { + expect($btn.first()).to.contain(`${actionName} ${assetName}`); + } + if (assetName && !actionName) { + expect($btn.first()).to.contain(`${actionName}`); + } + }) + .click(); + cy.get("[data-cy=Modal] h2:contains('All done!')").should('be.visible'); + } +); + +Cypress.Commands.add('getDashBoardBorrowedRow', (assetName: string, apyType: string) => { + return cy + .get(`[data-cy='dashboardBorrowedListItem_${assetName.toUpperCase()}_${apyType}']`) + .first(); +}); + +Cypress.Commands.add('getDashBoardSuppliedRow', (assetName: string, isCollateralType?: boolean) => { + if (isCollateralType) { + return cy + .get(`[data-cy='dashboardSuppliedListItem_${assetName.toUpperCase()}_Collateral']`) + .first(); + } else { + return cy.get(`[data-cy='dashboardSuppliedListItem_${assetName.toUpperCase()}_NoCollateral']`); + } +}); + +const switchDashboardView = (value: string, dashboardTitle: string) => { + cy.get('[role=group]') + .contains(value) + .then(($btn) => { + if (!$btn.is('disabled')) { + $btn.click(); + } + }); + cy.get(`*:contains("Your ${dashboardTitle.toLowerCase()}")`).should('be.visible'); +}; + +Cypress.Commands.add('doSwitchToDashboardBorrowView', () => { + switchDashboardView('Borrow', 'borrows'); +}); + +Cypress.Commands.add('doSwitchToDashboardSupplyView', () => { + switchDashboardView('Supply', 'supplies'); +}); export {}; diff --git a/cypress/support/cypress.d.ts b/cypress/support/cypress.d.ts deleted file mode 100644 index 76b38b8971..0000000000 --- a/cypress/support/cypress.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare namespace Cypress { - interface Chainable { - /** - * Custom command to select DOM element by data-cy attribute. - * @example cy.dataCy('greeting') - */ - getBySel(value: string): Chainable; - // initFork(market: string, tokens?: { address: string }[]): Promise; - } -} diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts index 84ba745e4d..1221b17e09 100644 --- a/cypress/support/e2e.ts +++ b/cypress/support/e2e.ts @@ -1,33 +1 @@ -// *********************************************************** -// This example support/index.js is processed and -// loaded automatically before your test files. -// -// This is a great place to put global configuration and -// behavior that modifies Cypress. -// -// You can change the location of this file or turn off -// automatically serving support files with the -// 'supportFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/configuration -// *********************************************************** - -// Import commands.js using ES2015 syntax: import './commands'; - -afterEach(function onAfterEach() { - if ((this.currentTest as Mocha.Test).state === 'failed') { - cy.setCookie('shouldSkip', 'true'); - Cypress.Cookies.defaults({ - preserve: 'shouldSkip', - }); - //set cookie to skip tests for further specs - // this.skip() - // Cypress.runner.stop(); - //this will skip tests only for current spec - } -}); - -// Alternatively you can use CommonJS syntax: -// require('./commands') diff --git a/cypress/support/steps/actions.steps.ts b/cypress/support/steps/actions.steps.ts deleted file mode 100644 index f879ff4077..0000000000 --- a/cypress/support/steps/actions.steps.ts +++ /dev/null @@ -1,119 +0,0 @@ -type SetAmount = { - amount: number; - max?: boolean; -}; - -export const setAmount = ({ amount, max }: SetAmount) => { - cy.get('[data-cy=Modal]').find('button:contains("Enter an amount")').should('be.disabled'); - if (max) { - cy.get('[data-cy=Modal]').find('button:contains("Max")').click(); - } else { - cy.get('[data-cy=Modal] input').first().type(amount.toString()); - } -}; - -type ConfirmAction = { - hasApproval: boolean; - actionName?: string; - assetName?: string; -}; - -export const doConfirm = ({ hasApproval, actionName, assetName }: ConfirmAction) => { - cy.log(`${hasApproval ? 'One step process' : 'Two step process'}`); - if (!hasApproval) { - cy.get(`[data-cy=approvalButton]`, { timeout: 20000 }) - .should('not.be.disabled') - .wait(1000) - .click(); - } - cy.get('[data-cy=actionButton]', { timeout: 30000 }) - .should('not.be.disabled') - .then(($btn) => { - if (assetName && actionName) { - expect($btn.first()).to.contain(`${actionName} ${assetName}`); - } - if (assetName && !actionName) { - expect($btn.first()).to.contain(`${actionName}`); - } - }) - .wait(3000) - .click(); - cy.get("[data-cy=Modal] h2:contains('All done!')").should('be.visible'); -}; - -export const doCloseModal = () => { - return it(`Close modal popup`, () => { - cy.get('[data-cy=CloseModalIcon]').should('not.be.disabled').click(); - cy.get('[data-cy=Modal]').should('not.exist'); - }); -}; - -function doChooseSwapToOption(assetName: string) { - cy.get('.AssetSelect__reverse .AssetSelect__button').click(); - cy.get('.AssetSelect__reverse .TokenIcon__name').contains(assetName).click(); -} - -type SwapForRepayAction = { - amount: number; - assetName?: string; -}; - -export const doSwapForRepay = ({ amount, assetName }: SwapForRepayAction) => { - cy.log('assetName,' + assetName); - cy.get(':nth-child(1) > .AmountFieldWithSelect__field-inner [data-cy=amountInput]').type( - amount.toString(), - { delay: 0 } - ); - if (assetName) { - doChooseSwapToOption(assetName); - } - cy.get('.Button').contains('Continue').parents('.Button').should('not.be.disabled').click(); -}; - -type GetDashBoardBorrowRow = { - assetName: string; - apyType: string; -}; - -export const getDashBoardBorrowRow = ({ assetName, apyType }: GetDashBoardBorrowRow) => { - return cy - .get(`[data-cy='dashboardBorrowedListItem_${assetName.toUpperCase()}_${apyType}']`) - .first(); -}; - -type GetDashBoardDepositRow = { - assetName: string; - isCollateralType?: boolean; -}; - -export const getDashBoardDepositRow = ({ assetName, isCollateralType }: GetDashBoardDepositRow) => { - if (isCollateralType) { - return cy - .get(`[data-cy='dashboardSuppliedListItem_${assetName.toUpperCase()}_Collateral']`) - .first(); - } else { - return cy.get(`[data-cy='dashboardSuppliedListItem_${assetName.toUpperCase()}_NoCollateral']`); - } -}; - -export const doSwitchToDashboardBorrowView = () => { - cy.get('[role=group]') - .contains('Borrow') - .then(($btn) => { - if (!$btn.is('disabled')) { - $btn.click(); - } - }); - cy.get(`*:contains("Your borrows")`).should('be.visible'); -}; - -export const doSwitchToDashboardSupplyView = () => { - cy.get('[role=group]') - .contains('Supply') - .then(($btn) => { - if (!$btn.is('disabled')) { - $btn.click(); - } - }); - cy.get(`*:contains("Your supplies")`).should('be.visible'); -}; diff --git a/cypress/support/steps/configuration.steps.ts b/cypress/support/steps/configuration.steps.ts index 514b904134..93c7908182 100644 --- a/cypress/support/steps/configuration.steps.ts +++ b/cypress/support/steps/configuration.steps.ts @@ -1,8 +1,9 @@ -import { TenderlyFork, DEFAULT_TEST_ACCOUNT } from '../tools/tenderly'; +import { ChainId } from '@aave/contract-helpers'; import { JsonRpcProvider } from '@ethersproject/providers'; import { Wallet } from '@ethersproject/wallet'; + import { CustomizedBridge } from '../tools/bridge'; -import { ChainId } from '@aave/contract-helpers'; +import { DEFAULT_TEST_ACCOUNT, TenderlyFork } from '../tools/tenderly'; const URL = Cypress.env('URL'); const PERSIST_FORK_AFTER_RUN = Cypress.env('PERSIST_FORK_AFTER_RUN') || false; diff --git a/cypress/support/steps/main.steps.ts b/cypress/support/steps/main.steps.ts index ad9b8faaa9..24a72b0839 100644 --- a/cypress/support/steps/main.steps.ts +++ b/cypress/support/steps/main.steps.ts @@ -1,13 +1,3 @@ -/// -import { - setAmount, - doConfirm, - getDashBoardBorrowRow, - getDashBoardDepositRow, - doCloseModal, - doSwitchToDashboardBorrowView, - doSwitchToDashboardSupplyView, -} from './actions.steps'; import constants from '../../fixtures/constans.json'; type SkipType = { @@ -15,13 +5,15 @@ type SkipType = { get: () => boolean; }; +/** + * This skip all test steps if previous one was failed + */ const skipSetup = ({ skip, updateSkipStatus }: { skip: SkipType; updateSkipStatus: boolean }) => { before(function () { if (skip.get()) { this.skip(); } }); - afterEach(function onAfterEach() { if ((this.currentTest as Mocha.Test).state === 'failed' && updateSkipStatus) { skip.set(true); @@ -29,6 +21,21 @@ const skipSetup = ({ skip, updateSkipStatus }: { skip: SkipType; updateSkipStatu }); }; +/** + * This full step for supply any available asset from Dashboard view + * @example + *``` + * // Supply ETH + * supply({ + * asset:{shortName:'ETH', fullName:'Ethereum'}, + * amount:10, + * hasApproval:true + * }, + * skipTestState, + * false + * ) + * ``` + */ export const supply = ( { asset, @@ -50,27 +57,36 @@ export const supply = ( return describe(`Supply process for ${_shortName}`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open ${_shortName} supply popup view`, () => { - doSwitchToDashboardSupplyView(); + cy.doSwitchToDashboardSupplyView(); cy.get(`[data-cy='dashboardSupplyListItem_${_shortName.toUpperCase()}']`) .find('button:contains("Supply")') .click(); cy.get(`[data-cy=Modal] h2:contains("Supply ${_shortName}")`).should('be.visible'); }); it(`Supply ${isMaxAmount ? 'MAX' : amount} amount for ${_shortName}`, () => { - setAmount({ - amount, - max: isMaxAmount, - }); - doConfirm({ - hasApproval, - actionName: _actionName, - assetName: _shortName, - }); + cy.setAmount(amount, isMaxAmount); + cy.doConfirm(hasApproval, _actionName, _shortName); }); doCloseModal(); }); }; +/** + * This full step for borrow any available asset from Dashboard view + * @example + *``` + * // Borrow ETH + * // apyType options: Variable, Stable, Default + * borrow({ + * asset:{shortName:'ETH', fullName:'Ethereum'}, + * amount:10, + * hasApproval:true + * }, + * skipTestState, + * false + * ) + * ``` + */ export const borrow = ( { asset, @@ -82,8 +98,8 @@ export const borrow = ( }: { asset: { shortName: string; fullName: string }; amount: number; - apyType?: string; hasApproval: boolean; + apyType?: string; isRisk?: boolean; isMaxAmount?: boolean; }, @@ -96,8 +112,7 @@ export const borrow = ( return describe(`Borrow process for ${_shortName}`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open ${_shortName} borrow popup view`, () => { - doSwitchToDashboardBorrowView(); - cy.wait(4000); + cy.doSwitchToDashboardBorrowView(); cy.get(`[data-cy='dashboardBorrowListItem_${_shortName.toUpperCase()}']`) .contains('Borrow') .should('not.be.disabled') @@ -119,10 +134,7 @@ export const borrow = ( } }); it(`Borrow ${isMaxAmount ? 'MAX' : amount} amount for ${_shortName}`, () => { - setAmount({ - amount, - max: isMaxAmount, - }); + cy.setAmount(amount, isMaxAmount); }); if (isRisk) { it(`Click risk checkbox`, () => { @@ -130,32 +142,48 @@ export const borrow = ( }); } it(`Confirmation process`, () => { - doConfirm({ - hasApproval, - actionName: _actionName, - assetName: _shortName, - }); + cy.doConfirm(hasApproval, _actionName, _shortName); }); doCloseModal(); }); }; +/** + * This full step for repay one asset by another asset + * @example + *``` + * // Repay ETH by USDC + * // apyType options: Variable, Stable, Default + * // repayOption options: collateral, wallet, default + * repay({ + * asset:{shortName:'ETH', fullName:'Ethereum'}, + * apyType:'Variable', + * amount:10, + * repayOption:'collateral', + * hasApproval:true, + * repayableAsset:{shortName:'USDC'} + * }, + * skipTestState, + * false + * ) + * ``` + */ export const repay = ( { asset, apyType, amount, repayOption, - repayableAsset, hasApproval = false, + repayableAsset, isMaxAmount = false, }: { asset: { shortName: string; fullName: string }; apyType: string; amount: number; repayOption: string; - repayableAsset?: { shortName: string }; hasApproval: boolean; + repayableAsset?: { shortName: string }; isMaxAmount?: boolean; }, skip: SkipType, @@ -169,10 +197,8 @@ export const repay = ( }`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open ${_shortName} repay popup view`, () => { - doSwitchToDashboardBorrowView(); - getDashBoardBorrowRow({ assetName: _shortName, apyType }) - .find(`button:contains("Repay")`) - .click(); + cy.doSwitchToDashboardBorrowView(); + cy.getDashBoardBorrowedRow(_shortName, apyType).find(`button:contains("Repay")`).click(); cy.get(`[data-cy=Modal] h2:contains("Repay ${_shortName}")`).should('be.visible'); }); it(`Choose ${repayOption} repay option`, () => { @@ -209,20 +235,30 @@ export const repay = ( it(`Repay ${ isMaxAmount ? 'MAX' : amount } amount for ${_shortName}, with ${repayOption} repay option`, () => { - setAmount({ - amount, - max: isMaxAmount, - }); - doConfirm({ - hasApproval, - actionName: _actionName, - assetName: _shortName, - }); + cy.setAmount(amount, isMaxAmount); + cy.doConfirm(hasApproval, _actionName, _shortName); }); doCloseModal(); }); }; +/** + * This full step for withdraw any availble assets + * @example + *``` + * // Withdraw ETH + * // apyType options: Variable, Stable, Default + * withdraw({ + * asset:{shortName:'ETH', fullName:'Ethereum'}, + * isCollateral:true, + * amount: 10, + * hasApproval:true + * }, + * skipTestState, + * false + * ) + * ``` + */ export const withdraw = ( { asset, @@ -250,8 +286,8 @@ export const withdraw = ( return describe(`Withdraw process for ${_shortName}`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open ${_shortName} Withdraw popup view`, () => { - doSwitchToDashboardSupplyView(); - getDashBoardDepositRow({ assetName: _shortName, isCollateralType: isCollateral }) + cy.doSwitchToDashboardSupplyView(); + cy.getDashBoardSuppliedRow(_shortName, isCollateral) .find(`button:contains("Withdraw")`) .click(); cy.get(`[data-cy=Modal] h2:contains("Withdraw ${_shortName}")`).should('be.visible'); @@ -266,10 +302,7 @@ export const withdraw = ( }); it(`Withdraw ${isMaxAmount ? 'MAX' : amount} amount for ${_shortName}`, () => { if (isMaxAmount) cy.wait(2000); - setAmount({ - amount, - max: isMaxAmount, - }); + cy.setAmount(amount, isMaxAmount); }); if (isRisk) { it(`Click risk checkbox`, () => { @@ -277,16 +310,29 @@ export const withdraw = ( }); } it(`Confirmation process`, () => { - doConfirm({ - hasApproval, - actionName: _actionName, - assetName: forWrapped ? 'W' + _shortName : _shortName, - }); + cy.doConfirm(hasApproval, _actionName, forWrapped ? 'W' + _shortName : _shortName); }); doCloseModal(); }); }; +/** + * This full step to change borrow apy from Dashboard view + * @example + *``` + * // Change borrow type for ETH from Stable to Variable + * // apyType options: Variable, Stable + * changeBorrowType({ + * asset:{shortName:'ETH', fullName:'Ethereum'}, + * apyType:'Stable', + * newAPY:'Variable', + * hasApproval:true + * }, + * skipTestState, + * false + * ) + * ``` + */ export const changeBorrowType = ( { asset, @@ -308,8 +354,8 @@ export const changeBorrowType = ( describe('Change APY of borrowing', () => { skipSetup({ skip, updateSkipStatus }); it(`Open change apy popup`, () => { - doSwitchToDashboardBorrowView(); - getDashBoardBorrowRow({ assetName: _shortName, apyType }) + cy.doSwitchToDashboardBorrowView(); + cy.getDashBoardBorrowedRow(_shortName, apyType) .find(`[data-cy="apyButton_${apyType}"]`) .click(); }); @@ -317,15 +363,30 @@ export const changeBorrowType = ( cy.get(`[data-cy="apyMenu_${apyType}"]`).contains(`APY, ${newAPY.toLowerCase()}`).click(); }); it(`Make approve for ${_shortName}, on confirmation page`, () => { - doConfirm({ - hasApproval, - actionName: _actionName, - }); + cy.doConfirm(hasApproval, _actionName); }); doCloseModal(); }); }; +/** + * This full step to swap assets from Dashboard view + * @example + *``` + * // Swap from ETH to USDC + * // apyType options: Variable, Stable + * swap({ + * fromAsset:{shortName:'ETH', fullName:'Ethereum'}, + * toAsset:{shortName:'USDC', fullName:'USDC'}, + * isCollateralFromAsset: false, + * amount: 1.137, + * hasApproval: true + * }, + * skipTestState, + * false + * ) + * ``` + */ export const swap = ( { fromAsset, @@ -352,8 +413,8 @@ export const swap = ( describe(`Swap ${amount} ${_shortNameFrom} to ${_shortNameTo}`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open Swap modal for ${_shortNameFrom}`, () => { - doSwitchToDashboardSupplyView(); - getDashBoardDepositRow({ assetName: _shortNameFrom, isCollateralType: isCollateralFromAsset }) + cy.doSwitchToDashboardSupplyView(); + cy.getDashBoardSuppliedRow(_shortNameFrom, isCollateralFromAsset) .find(`[data-cy=swapButton]`) .click(); cy.get(`[data-cy=Modal] h2:contains("Swap ${_shortNameFrom}")`).should('be.visible'); @@ -369,19 +430,28 @@ export const swap = ( }).should('be.visible', { timeout: 10000 }); }); it(`Make approve for ${isMaxAmount ? 'MAX' : amount} amount`, () => { - setAmount({ - amount, - max: isMaxAmount, - }); - doConfirm({ - hasApproval, - actionName: _actionName, - }); + cy.setAmount(amount, isMaxAmount); + cy.wait(2000); + cy.doConfirm(hasApproval, _actionName); }); doCloseModal(); }); }; +/** + * This full step to change collateral for any assets from Dashboard view with positive result + * @example + *``` + * // Change collateral status for ETH + * changeCollateral ({ + * asset:{shortName:'ETH', fullName:'Ethereum'}, + * isCollateralFromAsset: false, + * }, + * skipTestState, + * false + * ) + * ``` + */ export const changeCollateral = ( { asset, @@ -397,12 +467,10 @@ export const changeCollateral = ( return describe(`Switch collateral type from ${isCollateralType}`, () => { skipSetup({ skip, updateSkipStatus }); it('Open dashboard', () => { - doSwitchToDashboardSupplyView(); + cy.doSwitchToDashboardSupplyView(); }); it('Open Switch type Modal', () => { - getDashBoardDepositRow({ assetName: _shortName, isCollateralType }) - .find('.MuiSwitch-input ') - .click(); + cy.getDashBoardSuppliedRow(_shortName, isCollateralType).find('.MuiSwitch-input ').click(); cy.get('[data-cy=Modal]').should('be.visible'); cy.get(`[data-cy=Modal] h2:contains('Review tx ${_shortName}')`).should('be.visible'); }); @@ -424,6 +492,19 @@ export const changeCollateral = ( }); }; +/** + * This full step to claim reward from Dashboard + * @example + *``` + * // Claim reward of Matic + * claimReward ({ + * asset:{shortName:'MATIC', fullName:'Matic'}, + * }, + * skipTestState, + * false + * ) + * ``` + */ export const claimReward = ( { asset, @@ -436,23 +517,33 @@ export const claimReward = ( return describe(`Claim reward`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open dashboard`, () => { - doSwitchToDashboardSupplyView(); + cy.doSwitchToDashboardSupplyView(); }); it(`Open claim modal`, () => { cy.get('[data-cy=Claim_Box]').should('be.visible'); cy.get('[data-cy=Dashboard_Claim_Button]').click(); }); it('Confirm claim', () => { - doConfirm({ - hasApproval: true, - actionName: 'Claim', - assetName: asset.shortName, - }); + cy.doConfirm(true, 'Claim', asset.shortName); }); doCloseModal(); }); }; +/** + * This full step to change collateral with negative result from Dashboard + * @example + *``` + * // Change collateral have to blocked for Matic + * changeCollateralNegative ({ + * asset:{shortName:'MATIC', fullName:'Matic'}, + * isCollateralType + * }, + * skipTestState, + * false + * ) + * ``` + */ export const changeCollateralNegative = ( { asset, @@ -468,10 +559,8 @@ export const changeCollateralNegative = ( return describe(`Switch collateral type negative`, () => { skipSetup({ skip, updateSkipStatus }); it('Switch type', () => { - doSwitchToDashboardSupplyView(); - getDashBoardDepositRow({ assetName: _shortName, isCollateralType }) - .find('.MuiSwitch-input ') - .click(); + cy.doSwitchToDashboardSupplyView(); + cy.getDashBoardSuppliedRow(_shortName, isCollateralType).find('.MuiSwitch-input ').click(); }); it(`Check that switch type unavailable`, () => { cy.get('[data-cy=Modal]').contains( @@ -485,6 +574,19 @@ export const changeCollateralNegative = ( }); }; +/** + * This full step to activate emode from Dashboard + * @example + *``` + * // Turn on e-mode + * emodeActivating ({ + * turnOn: true + * }, + * skipTestState, + * false + * ) + * ``` + */ export const emodeActivating = ( { turnOn, @@ -501,17 +603,17 @@ export const emodeActivating = ( return describe(`${turnOn ? 'Turn on E-mode' : 'Turn off E-mode'}`, () => { skipSetup({ skip, updateSkipStatus }); it(`Open e-mode switcher`, () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); cy.get('[data-cy=emode-open]').click(); }); if (turnOn) { it(`Turn on e-mode`, () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); cy.get(`[data-cy="emode-enable"]`).click(); }); } else { it(`Turn off e-mode`, () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); cy.get(`[data-cy="emode-disable"]`).click(); }); } @@ -526,10 +628,7 @@ export const emodeActivating = ( } it(`Sign ${turnOn ? 'Turn on E-mode' : 'Turn off E-mode'}`, () => { const actionName = turnOn ? 'Enable E-Mode' : 'Disable E-Mode'; - doConfirm({ - hasApproval: true, - actionName, - }); + cy.doConfirm(true, actionName); }); doCloseModal(); it(`Check that E-mode was ${turnOn ? 'on' : 'off'}`, () => { @@ -537,3 +636,13 @@ export const emodeActivating = ( }); }); }; + +/** + * This step to close any modal + */ +export const doCloseModal = () => { + return it(`Close modal popup`, () => { + cy.get('[data-cy=CloseModalIcon]').should('not.be.disabled').click(); + cy.get('[data-cy=Modal]').should('not.exist'); + }); +}; diff --git a/cypress/support/steps/verification.steps.ts b/cypress/support/steps/verification.steps.ts index c332693c1d..77390f99b5 100644 --- a/cypress/support/steps/verification.steps.ts +++ b/cypress/support/steps/verification.steps.ts @@ -1,11 +1,3 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -/// -import { - doSwitchToDashboardBorrowView, - doSwitchToDashboardSupplyView, - getDashBoardBorrowRow, - getDashBoardDepositRow, -} from './actions.steps'; import constants from '../../fixtures/constans.json'; type SkipType = { @@ -21,12 +13,29 @@ const skipSetup = (skip: any) => { }); }; +/** + * This full step to verification any values from Dashboard, for supplied assets and for borrowed assets + * @example + *``` + * // Verify ETH supplied asset with amount = 10 + * // type can be 'deposit' or 'borrow' + * dashboardAssetValuesVerification ([{ + * type: 'deposit', + * assetName: 'ETH', + * isCollateral: true + * amount: 10 + * }], + * skipTestState, + * false + * ) + * ``` + */ export const dashboardAssetValuesVerification = ( estimatedCases: { - apyType?: string; + type: string; assetName: string; + apyType?: string; isCollateral?: boolean; - type: string; amount?: number; collateralType?: string; }[], @@ -42,10 +51,7 @@ export const dashboardAssetValuesVerification = ( it(`Check that asset name is ${estimatedCase.assetName}, with collateral type ${estimatedCase.collateralType} ${estimatedCase.amount ? ' and amount ' + estimatedCase.amount : ''}`, () => { - getDashBoardDepositRow({ - assetName: _assetName, - isCollateralType: estimatedCase.isCollateral, - }).within(($row) => { + cy.getDashBoardSuppliedRow(_assetName, estimatedCase.isCollateral).within(($row) => { expect($row.find(`[data-cy="assetName"]`)).to.contain(estimatedCase.assetName); if (estimatedCase.isCollateral) { expect($row.find('.MuiSwitch-input')).to.have.attr('checked'); @@ -62,12 +68,8 @@ export const dashboardAssetValuesVerification = ( it(`Check that asset name is ${estimatedCase.assetName}, with apy type ${estimatedCase.apyType} ${estimatedCase.amount ? ' and amount ' + estimatedCase.amount : ''}`, () => { - getDashBoardBorrowRow({ - assetName: _assetName, - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - apyType: estimatedCase.apyType, - }).within(($row) => { + // @ts-ignore + cy.getDashBoardBorrowedRow(_assetName, estimatedCase.apyType).within(($row) => { expect($row.find(`[data-cy="assetName"]`)).to.contain(estimatedCase.assetName); expect($row.find(`[data-cy="apyButton_${estimatedCase.apyType}"]`)).to.exist; if (estimatedCase.amount) { @@ -84,11 +86,15 @@ export const dashboardAssetValuesVerification = ( }); }; +/** + * This full step to verification that borrowing unavailable + * @example borrowsUnavailable(skipTestState) + */ export const borrowsUnavailable = (skip: SkipType) => { return describe('Check that borrowing unavailable', () => { skipSetup(skip); it('Open Dashboard', () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); }); it('Check that Borrow unavailable', () => { cy.get('[data-cy^="dashboardBorrowListItem_"]') @@ -99,11 +105,15 @@ export const borrowsUnavailable = (skip: SkipType) => { }); }; +/** + * This full step to verification that borrowing unavailable + * @example borrowsAvailable(skipTestState) + */ export const borrowsAvailable = (skip: SkipType) => { return describe('Check that borrowing available', () => { skipSetup(skip); it('Open Dashboard', () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); }); it('Check that Borrow available', () => { cy.get('[data-cy^="dashboardBorrowListItem_"]') @@ -114,16 +124,24 @@ export const borrowsAvailable = (skip: SkipType) => { }); }; +/** + * This full step to verification that reward on dashboard not available + * @example rewardIsNotAvailable(skipTestState) + */ export const rewardIsNotAvailable = (skip: SkipType) => { return describe('Check that reward not available', () => { skipSetup(skip); it('Check that reward not exist on dashboard page', () => { - doSwitchToDashboardSupplyView(); + cy.doSwitchToDashboardSupplyView(); cy.get('[data-cy=Claim_Box]').should('not.exist'); }); }); }; +/** + * This full step to verification that switch collateral blocked + * @example switchCollateralBlocked({{ shortName: 'ETH'; fullName: 'Ethereum' }}, skipTestState) + */ export const switchCollateralBlocked = ( { asset, @@ -136,16 +154,16 @@ export const switchCollateralBlocked = ( return describe('Check that collateral switcher disabled', () => { skipSetup(skip); it(`Check that collateral switcher for ${_shortName} disabled`, () => { - doSwitchToDashboardSupplyView(); - getDashBoardDepositRow({ - assetName: _shortName, - }) - .find('input[type="checkbox"]') - .should('be.disabled'); + cy.doSwitchToDashboardSupplyView(); + cy.getDashBoardSuppliedRow(_shortName).find('input[type="checkbox"]').should('be.disabled'); }); }); }; +/** + * This full step to verification that switch collateral blocked in Modal view + * @example switchCollateralBlockedInModal({{ shortName: 'ETH'; fullName: 'Ethereum' }, true}, skipTestState) + */ export const switchCollateralBlockedInModal = ( { asset, @@ -160,11 +178,8 @@ export const switchCollateralBlockedInModal = ( return describe('Check that collateral switcher disabled', () => { skipSetup(skip); it(`Check that collateral switching blocked in popup`, () => { - doSwitchToDashboardSupplyView(); - getDashBoardDepositRow({ - assetName: _shortName, - isCollateralType, - }) + cy.doSwitchToDashboardSupplyView(); + cy.getDashBoardSuppliedRow(_shortName, isCollateralType) .find('input[type="checkbox"]') .should('be.enabled') .click(); @@ -174,6 +189,10 @@ export const switchCollateralBlockedInModal = ( }); }; +/** + * This full step to verification that switch apy blocked blocked + * @example switchApyBlocked({{ shortName: 'ETH'; fullName: 'Ethereum' }, apyType:'Variable'}, skipTestState) + */ export const switchApyBlocked = ( { asset, @@ -188,10 +207,10 @@ export const switchApyBlocked = ( return describe('Check that apy switcher disabled', () => { skipSetup(skip); it(`Open dashboard`, () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); }); it(`Verify that switching button disabled with APY ${apyType}`, () => { - getDashBoardBorrowRow({ assetName: _shortName, apyType }) + cy.getDashBoardBorrowedRow(_shortName, apyType) .find(`[data-cy='apyButton_${apyType}']`) .should('be.disabled') .should('have.text', `${apyType}`); @@ -199,6 +218,10 @@ export const switchApyBlocked = ( }); }; +/** + * This full step to verification that switch apy blocked blocked + * @example changeBorrowTypeBlocked({{ shortName: 'ETH'; fullName: 'Ethereum' }, isCollateralType: true}, skipTestState) + */ export const changeBorrowTypeBlocked = ( { asset, @@ -214,16 +237,25 @@ export const changeBorrowTypeBlocked = ( return describe(`Verify that Switch borrow is unavailable`, () => { skipSetup(skip); it('Open dashboard page', () => { - doSwitchToDashboardSupplyView(); + cy.doSwitchToDashboardSupplyView(); }); it('Try to change apy type', () => { - getDashBoardDepositRow({ assetName: _shortName, isCollateralType }) + cy.getDashBoardSuppliedRow(_shortName, isCollateralType) .find('.MuiSwitch-input ') .should('be.disabled'); }); }); }; +/** + * This full step to verification dashboard health factor + * + * Could be use one value by 'value' - varibale + * + * Could be use range by valueFrom and valueTo + * + * @example checkDashboardHealthFactor({value: 10.2, isCollateralType: true}, skipTestState) + */ export const checkDashboardHealthFactor = ( { value, @@ -241,7 +273,7 @@ export const checkDashboardHealthFactor = ( }`, () => { skipSetup(skip); it('Open dashboard page', () => { - doSwitchToDashboardSupplyView(); + cy.doSwitchToDashboardSupplyView(); }); it('Check value', () => { cy.get(`[data-cy=HealthFactorTopPannel]`).then(($health) => { @@ -264,6 +296,10 @@ export const checkDashboardHealthFactor = ( }); }; +/** + * This full step to verification that e-mode activating disabled + * @example checkEmodeActivatingDisabled({turnOn: true}, skipTestState) + */ export const checkEmodeActivatingDisabled = ( { turnOn, @@ -275,7 +311,7 @@ export const checkEmodeActivatingDisabled = ( return describe(`${turnOn ? 'Turn on E-mode' : 'Turn off E-mode'}`, () => { skipSetup(skip); it('Open E-mode switcher modal', () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); cy.get('[data-cy=emode-open]').click(); if (turnOn) cy.get(`[data-cy="emode-enable"]`).should('have.class', 'MuiButton-disableElevation'); @@ -284,6 +320,10 @@ export const checkEmodeActivatingDisabled = ( }); }; +/** + * This full step to verification available to borrow assets, usable with e-mode tests + * @example verifyCountOfBorrowAssets([{ shortName: 'ETH'; fullName: 'Ethereum' }, { shortName: 'USDC'; fullName: 'Usdc' }], skipTestState) + */ export const verifyCountOfBorrowAssets = ( { assets, @@ -295,7 +335,7 @@ export const verifyCountOfBorrowAssets = ( return describe(`Verify that count available borrowed assets is ${assets.length}`, () => { skipSetup(skip); it(`Open Borrow dashboard part`, () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); }); assets.forEach(($asset) => { it(`Verifying that ${$asset.shortName} is exist`, () => { @@ -305,7 +345,7 @@ export const verifyCountOfBorrowAssets = ( }); }); it('Verifying length', () => { - doSwitchToDashboardBorrowView(); + cy.doSwitchToDashboardBorrowView(); cy.get('[data-cy*=dashboardBorrowListItem_]').should('have.length', assets.length); }); }); diff --git a/cypress/support/tools/tenderly.ts b/cypress/support/tools/tenderly.ts index 006dc7d28a..048621051e 100644 --- a/cypress/support/tools/tenderly.ts +++ b/cypress/support/tools/tenderly.ts @@ -1,7 +1,8 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ import { JsonRpcProvider } from '@ethersproject/providers'; import axios from 'axios'; -import { getDefaultProvider, Contract, utils, Wallet } from 'ethers'; +import { Contract, getDefaultProvider, utils, Wallet } from 'ethers'; + import ERC20_ABI from '../../fixtures/erc20_abi.json'; import POOL_CONFIG_ABI from '../../fixtures/poolConfig.json'; diff --git a/package.json b/package.json index 7472f94e69..0a44335f81 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "aave-ui", "version": "1.0.0", "private": true, + "license": "BSD-3-Clause", "scripts": { "dev": "next dev", "build": "next build", @@ -13,13 +14,16 @@ "serve:static": "npx serve out", "export": "next export", "start": "next start", - "lint": "next lint", - "lint:fix": "next lint --fix", + "lint:code": "next lint", + "lint:code:fix": "next lint --fix", + "lint:formatting": "prettier src pages scripts cypress . --check", + "lint:formatting:fix": "prettier src pages scripts cypress . --write", + "lint": "yarn lint:code && yarn lint:formatting", + "lint:fix": "yarn lint:code:fix && yarn lint:formatting:fix", "post-update": "echo \"codesandbox preview only, need an update\" && yarn upgrade --latest", "i18n:extract": "NODE_ENV=development lingui extract --clean --overwrite --locale en", "i18n:compile": "lingui compile", "i18n": "yarn i18n:extract && yarn i18n:compile", - "pre-commit": "lint-staged && yarn i18n && git add ./src/locales", "prepare": "husky install", "gql-gen": "graphql-codegen --config codegen.yml", "test:open": "DOTENV_CONFIG_PATH='.env.local' cypress open", @@ -43,7 +47,7 @@ "@heroicons/react": "^1.0.6", "@lingui/react": "^3.13.2", "@mui/icons-material": "^5.8.4", - "@mui/material": "^5.9.1", + "@mui/material": "^5.10.5", "@paraswap/sdk": "5.6.0-alpha.3", "@visx/axis": "^2.6.0", "@visx/curve": "^2.1.0", @@ -81,7 +85,8 @@ "react-number-format": "^4.9.1", "reflect-metadata": "^0.1.13", "remark-gfm": "^3.0.1", - "subscriptions-transport-ws": "^0.11.0" + "subscriptions-transport-ws": "^0.11.0", + "web3-ledgerhq-frame-connector": "^1.0.1" }, "devDependencies": { "@babel/core": "^7.18.9", @@ -106,10 +111,10 @@ "babel-loader": "^8.2.5", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-macros": "^3.1.0", - "cypress": "10.7.0", + "cypress": "10.8.0", "cypress-repeat": "^2.3.1", "cypress-wait-until": "^1.7.2", - "dotenv": "^16.0.0", + "dotenv": "^16.0.2", "eslint": "^8.10.0", "eslint-config-next": "12.1.0", "eslint-config-prettier": "^8.5.0", @@ -128,21 +133,22 @@ "@web3-react/walletlink-connector/@coinbase/wallet-sdk": "3.1.0" }, "contributors": [ - "Pol Sendra ", - "Lukas Strassel ", - "Oleksandr Tkach ", - "David Racero ", + "Anastasia Khovaeva ", "Andrew Schmidt ", + "Bojan Kopunovic Legetin ", + "David Racero ", + "Diego Prudencio ", + "Drew Cook ", + "Lukas Strassel ", + "Mark Grothe ", "Nikita Bokarev ", - "Anastasia Khovaeva ", - "Diego Prudencio diego@aave.com" + "Oleksandr Tkach ", + "Pol Sendra ", + "Vladimir Konstantinovich Yumatov " ], "lint-staged": { - "*.{js,jsx,ts,tsx}": [ - "eslint --cache --fix", - "prettier --write" - ], + "!(.prettierignore)*.*": "yarn lint:fix", "*.svg": "npx svgo --final-newline" }, "nextBundleAnalysis": { diff --git a/pages/404.page.tsx b/pages/404.page.tsx new file mode 100644 index 0000000000..56737edb15 --- /dev/null +++ b/pages/404.page.tsx @@ -0,0 +1,56 @@ +import { Trans } from '@lingui/macro'; +import { Box, Button, Paper, Typography, useTheme } from '@mui/material'; +import Link from 'next/link'; +import { ContentContainer } from 'src/components/ContentContainer'; +import { TopInfoPanel } from 'src/components/TopInfoPanel/TopInfoPanel'; +import { MainLayout } from 'src/layouts/MainLayout'; + +export default function Aave404Page() { + const theme = useTheme(); + + return ( + <> + + + + + 404 - Page not found + + + Page not found + + + Sorry, we couldn't find the page you were looking for. +
+ We suggest you go back to the Dashboard. +
+ + + +
+
+ + ); +} + +Aave404Page.getLayout = function getLayout(page: React.ReactElement) { + return {page}; +}; diff --git a/pages/500.page.tsx b/pages/500.page.tsx new file mode 100644 index 0000000000..e5beba1e7f --- /dev/null +++ b/pages/500.page.tsx @@ -0,0 +1,90 @@ +import { DuplicateIcon, RefreshIcon } from '@heroicons/react/outline'; +import { Trans } from '@lingui/macro'; +import { Box, Button, Link, Paper, SvgIcon, Typography, useTheme } from '@mui/material'; +import { ContentContainer } from 'src/components/ContentContainer'; +import { TopInfoPanel } from 'src/components/TopInfoPanel/TopInfoPanel'; +import { MainLayout } from 'src/layouts/MainLayout'; + +export default function Aave500Page() { + const theme = useTheme(); + + const handleCopyError = () => { + console.log('copying error to clipboard'); + }; + + return ( + <> + + + + + Something went wrong + + + + Sorry, an unexpected error happened. In the meantime you may try reloading the page, + or come back later. + + + + + + + If the error continues to happen, +
you may report it to this +
{' '} + + Discord channel + + . +
+ +
+
+
+ + ); +} + +Aave500Page.getLayout = function getLayout(page: React.ReactElement) { + return {page}; +}; diff --git a/pages/_app.page.tsx b/pages/_app.page.tsx index 105a1e87bf..eda6600d0d 100644 --- a/pages/_app.page.tsx +++ b/pages/_app.page.tsx @@ -2,25 +2,33 @@ import '/public/fonts/inter/inter.css'; import { ApolloProvider } from '@apollo/client'; import { CacheProvider, EmotionCache } from '@emotion/react'; +import { Web3ReactProvider } from '@web3-react/core'; +import { providers } from 'ethers'; import { NextPage } from 'next'; import { AppProps } from 'next/app'; import Head from 'next/head'; +import AaveMetaImage from 'public/aaveMetaLogo-min.jpg'; import * as React from 'react'; +import { AddressBlocked } from 'src/components/AddressBlocked'; import { Meta } from 'src/components/Meta'; import { BorrowModal } from 'src/components/transactions/Borrow/BorrowModal'; import { ClaimRewardsModal } from 'src/components/transactions/ClaimRewards/ClaimRewardsModal'; import { CollateralChangeModal } from 'src/components/transactions/CollateralChange/CollateralChangeModal'; import { EmodeModal } from 'src/components/transactions/Emode/EmodeModal'; +import { FaucetModal } from 'src/components/transactions/Faucet/FaucetModal'; import { GasStationProvider } from 'src/components/transactions/GasStation/GasStationProvider'; import { RateSwitchModal } from 'src/components/transactions/RateSwitch/RateSwitchModal'; import { RepayModal } from 'src/components/transactions/Repay/RepayModal'; import { SupplyModal } from 'src/components/transactions/Supply/SupplyModal'; +import { SwapModal } from 'src/components/transactions/Swap/SwapModal'; import { WithdrawModal } from 'src/components/transactions/Withdraw/WithdrawModal'; import { BackgroundDataProvider } from 'src/hooks/app-data-provider/BackgroundDataProvider'; import { AppDataProvider } from 'src/hooks/app-data-provider/useAppDataProvider'; import { ConnectionStatusProvider } from 'src/hooks/useConnectionStatusContext'; import { ModalContextProvider } from 'src/hooks/useModal'; -// import { Web3ContextProvider } from 'src/libs/web3-data-provider/Web3ContextProvider'; +import { PermissionProvider } from 'src/hooks/usePermissions'; +import { WalletModalContextProvider } from 'src/hooks/useWalletModal'; +import { Web3ContextProvider } from 'src/libs/web3-data-provider/Web3Provider'; import { TxBuilderProvider } from 'src/providers/TxBuilderProvider'; import { apolloClient } from 'src/utils/apolloClient'; @@ -28,15 +36,6 @@ import createEmotionCache from '../src/createEmotionCache'; import { ProtocolDataProvider } from '../src/hooks/useProtocolDataContext'; import { AppGlobalStyles } from '../src/layouts/AppGlobalStyles'; import { LanguageProvider } from '../src/libs/LanguageProvider'; -import { SwapModal } from 'src/components/transactions/Swap/SwapModal'; -import { Web3ContextProvider } from 'src/libs/web3-data-provider/Web3Provider'; -import { Web3ReactProvider } from '@web3-react/core'; -import { providers } from 'ethers'; -import { WalletModalContextProvider } from 'src/hooks/useWalletModal'; -import { PermissionProvider } from 'src/hooks/usePermissions'; -import AaveMetaImage from 'public/aaveMetaLogo-min.jpg'; -import { FaucetModal } from 'src/components/transactions/Faucet/FaucetModal'; -import { AddressBlocked } from 'src/components/AddressBlocked'; // Client-side cache, shared for the whole session of the user in the browser. const clientSideEmotionCache = createEmotionCache(); diff --git a/pages/_error.page.tsx b/pages/_error.page.tsx new file mode 100644 index 0000000000..2031b8e5f8 --- /dev/null +++ b/pages/_error.page.tsx @@ -0,0 +1,20 @@ +import type { NextPageContext } from 'next'; +import Error from 'next/error'; + +type ErrorPageProps = { + statusCode: number; +}; + +function ErrorPage({ statusCode }: ErrorPageProps) { + return ; +} + +ErrorPage.getInitialProps = (ctx: NextPageContext) => { + const { res, err } = ctx; + // Inspect the status code and show the given template based off of it + // Default to 404 page + const statusCode = res ? res.statusCode : err ? err.statusCode : 404; + return { statusCode }; +}; + +export default ErrorPage; diff --git a/pages/faucet.page.tsx b/pages/faucet.page.tsx index a998117408..2ad8de1f39 100644 --- a/pages/faucet.page.tsx +++ b/pages/faucet.page.tsx @@ -3,6 +3,7 @@ import { FaucetModal } from 'src/components/transactions/Faucet/FaucetModal'; import { MainLayout } from 'src/layouts/MainLayout'; import FaucetAssetsList from 'src/modules/faucet/FaucetAssetsList'; import { FaucetTopPanel } from 'src/modules/faucet/FaucetTopPanel'; + import { ContentContainer } from '../src/components/ContentContainer'; export default function Faucet() { diff --git a/pages/governance/ipfs-preview.governance.tsx b/pages/governance/ipfs-preview.governance.tsx index 9ca729400b..7a45190516 100644 --- a/pages/governance/ipfs-preview.governance.tsx +++ b/pages/governance/ipfs-preview.governance.tsx @@ -6,6 +6,7 @@ import { MainLayout } from 'src/layouts/MainLayout'; import { getProposalMetadata } from 'src/modules/governance/utils/getProposalMetadata'; import { IpfsType } from 'src/static-build/ipfs'; import { governanceConfig } from 'src/ui-config/governanceConfig'; + import ProposalPage from './proposal/[proposalId].governance'; export default function IpfsPreview() { diff --git a/pages/governance/proposal/[proposalId].governance.tsx b/pages/governance/proposal/[proposalId].governance.tsx index e31b8e3915..dad7e3c64b 100644 --- a/pages/governance/proposal/[proposalId].governance.tsx +++ b/pages/governance/proposal/[proposalId].governance.tsx @@ -15,16 +15,20 @@ import { useTheme, } from '@mui/material'; import dayjs from 'dayjs'; +import AaveMetaImage from 'public/aaveMetaLogo-min.jpg'; import { useEffect, useState } from 'react'; import ReactMarkdown from 'react-markdown'; import remarkGfm from 'remark-gfm'; import { Meta } from 'src/components/Meta'; import { CheckBadge } from 'src/components/primitives/CheckBadge'; import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; +import { Link } from 'src/components/primitives/Link'; import { Row } from 'src/components/primitives/Row'; +import { GovVoteModal } from 'src/components/transactions/GovVote/GovVoteModal'; import { GovernanceDataProvider } from 'src/hooks/governance-data-provider/GovernanceDataProvider'; import { usePolling } from 'src/hooks/usePolling'; import { MainLayout } from 'src/layouts/MainLayout'; +import { FormattedProposalTime } from 'src/modules/governance/FormattedProposalTime'; import { ProposalTopPanel } from 'src/modules/governance/proposal/ProposalTopPanel'; import { VoteInfo } from 'src/modules/governance/proposal/VoteInfo'; import { StateBadge } from 'src/modules/governance/StateBadge'; @@ -38,12 +42,8 @@ import { VoteBar } from 'src/modules/governance/VoteBar'; import { Ipfs, IpfsType } from 'src/static-build/ipfs'; import { CustomProposalType, Proposal } from 'src/static-build/proposal'; import { governanceConfig } from 'src/ui-config/governanceConfig'; -import { Link } from 'src/components/primitives/Link'; -import AaveMetaImage from 'public/aaveMetaLogo-min.jpg'; import { ContentContainer } from '../../../src/components/ContentContainer'; -import { GovVoteModal } from 'src/components/transactions/GovVote/GovVoteModal'; -import { FormattedProposalTime } from 'src/modules/governance/FormattedProposalTime'; // import { Vote } from 'src/static-build/vote'; export async function getStaticPaths() { diff --git a/pages/governance/proposal/index.governance.tsx b/pages/governance/proposal/index.governance.tsx index 5be8da2cbe..d53428b854 100644 --- a/pages/governance/proposal/index.governance.tsx +++ b/pages/governance/proposal/index.governance.tsx @@ -9,6 +9,7 @@ import { governanceContract } from 'src/modules/governance/utils/governanceProvi import { IpfsType } from 'src/static-build/ipfs'; import { CustomProposalType } from 'src/static-build/proposal'; import { governanceConfig } from 'src/ui-config/governanceConfig'; + import ProposalPage from './[proposalId].governance'; export default function DynamicProposal() { diff --git a/pages/index.page.tsx b/pages/index.page.tsx index 48a8229488..f08d8e3265 100644 --- a/pages/index.page.tsx +++ b/pages/index.page.tsx @@ -1,14 +1,10 @@ import { Trans } from '@lingui/macro'; -import { - Box, - ToggleButton, - ToggleButtonGroup, - Typography, - useMediaQuery, - useTheme, -} from '@mui/material'; +import { Box, Typography, useMediaQuery, useTheme } from '@mui/material'; import { useEffect, useState } from 'react'; +import StyledToggleButton from 'src/components/StyledToggleButton'; +import StyledToggleButtonGroup from 'src/components/StyledToggleButtonGroup'; import { usePermissions } from 'src/hooks/usePermissions'; + import { ConnectWalletPaper } from '../src/components/ConnectWalletPaper'; import { ContentContainer } from '../src/components/ContentContainer'; import { MainLayout } from '../src/layouts/MainLayout'; @@ -43,24 +39,24 @@ export default function Home() { mb: { xs: 3, xsm: 4 }, }} > - setMode(value)} sx={{ width: { xs: '100%', xsm: '359px' }, height: '44px' }} > - + Supply - - + + Borrow - - + + )} diff --git a/pages/reserve-overview.page.tsx b/pages/reserve-overview.page.tsx index 504b17e577..e81a03531d 100644 --- a/pages/reserve-overview.page.tsx +++ b/pages/reserve-overview.page.tsx @@ -1,14 +1,9 @@ import { Trans } from '@lingui/macro'; -import { - Box, - ToggleButton, - ToggleButtonGroup, - Typography, - useMediaQuery, - useTheme, -} from '@mui/material'; +import { Box, Typography, useMediaQuery, useTheme } from '@mui/material'; import { useRouter } from 'next/router'; import { useEffect, useState } from 'react'; +import StyledToggleButton from 'src/components/StyledToggleButton'; +import StyledToggleButtonGroup from 'src/components/StyledToggleButtonGroup'; import { ComputedReserveData, useAppDataContext, @@ -18,6 +13,7 @@ import { MainLayout } from 'src/layouts/MainLayout'; import { ReserveActions } from 'src/modules/reserve-overview/ReserveActions'; import { ReserveConfiguration } from 'src/modules/reserve-overview/ReserveConfiguration'; import { ReserveTopDetails } from 'src/modules/reserve-overview/ReserveTopDetails'; + import { ContentContainer } from '../src/components/ContentContainer'; export default function ReserveOverview() { @@ -52,24 +48,24 @@ export default function ReserveOverview() { mb: { xs: 3, xsm: 4 }, }} > - setMode(value)} sx={{ width: { xs: '100%', xsm: '359px' }, height: '44px' }} > - + Overview - - + + Your info - - + + diff --git a/pages/staking.staking.tsx b/pages/staking.staking.tsx index c531376a90..8206461782 100644 --- a/pages/staking.staking.tsx +++ b/pages/staking.staking.tsx @@ -1,18 +1,11 @@ import { Trans } from '@lingui/macro'; -import { - Box, - Grid, - ToggleButton, - ToggleButtonGroup, - Typography, - useMediaQuery, - useTheme, -} from '@mui/material'; +import { Box, Grid, Typography, useMediaQuery, useTheme } from '@mui/material'; import { BigNumber } from 'ethers/lib/ethers'; import { formatEther } from 'ethers/lib/utils'; import { useEffect, useState } from 'react'; import { ContentContainer } from 'src/components/ContentContainer'; -import { GetABPToken } from 'src/modules/staking/GetABPToken'; +import StyledToggleButton from 'src/components/StyledToggleButton'; +import StyledToggleButtonGroup from 'src/components/StyledToggleButtonGroup'; import { StakeModal } from 'src/components/transactions/Stake/StakeModal'; import { StakeCooldownModal } from 'src/components/transactions/StakeCooldown/StakeCooldownModal'; import { StakeRewardClaimModal } from 'src/components/transactions/StakeRewardClaim/StakeRewardClaimModal'; @@ -20,6 +13,7 @@ import { UnStakeModal } from 'src/components/transactions/UnStake/UnStakeModal'; import { StakeDataProvider, useStakeData } from 'src/hooks/stake-data-provider/StakeDataProvider'; import { useModalContext } from 'src/hooks/useModal'; import { MainLayout } from 'src/layouts/MainLayout'; +import { GetABPToken } from 'src/modules/staking/GetABPToken'; import { StakingHeader } from 'src/modules/staking/StakingHeader'; import { StakingPanel } from 'src/modules/staking/StakingPanel'; import { StakeTxBuilderProvider } from 'src/providers/StakeTxBuilderProvider'; @@ -77,24 +71,24 @@ export default function Staking() { mb: { xs: 3, xsm: 4 }, }} > - setMode(value)} sx={{ width: { xs: '100%', xsm: '359px' } }} > - + Stake AAVE - - + + Stake ABPT - - + + diff --git a/public/404/404DarkMode.svg b/public/404/404DarkMode.svg new file mode 100644 index 0000000000..9b68af07d0 --- /dev/null +++ b/public/404/404DarkMode.svg @@ -0,0 +1 @@ + diff --git a/public/404/404LightMode.svg b/public/404/404LightMode.svg new file mode 100644 index 0000000000..0866d0aa7d --- /dev/null +++ b/public/404/404LightMode.svg @@ -0,0 +1 @@ + diff --git a/public/fork-config-example.png b/public/fork-config-example.png new file mode 100644 index 0000000000..dc0d316fe6 Binary files /dev/null and b/public/fork-config-example.png differ diff --git a/public/icons/tokens/maticx.svg b/public/icons/tokens/maticx.svg new file mode 100644 index 0000000000..f08573f675 --- /dev/null +++ b/public/icons/tokens/maticx.svg @@ -0,0 +1 @@ + diff --git a/scripts/populate-cache.js b/scripts/populate-cache.js index 8dd3980028..22b0d1d64c 100644 --- a/scripts/populate-cache.js +++ b/scripts/populate-cache.js @@ -1,4 +1,4 @@ -"use strict"; +'use strict'; var __create = Object.create; var __defProp = Object.defineProperty; var __defProps = Object.defineProperties; @@ -9,15 +9,15 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __propIsEnum = Object.prototype.propertyIsEnumerable; -var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __defNormalProp = (obj, key, value) => + key in obj + ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) + : (obj[key] = value); var __spreadValues = (a, b) => { - for (var prop in b || (b = {})) - if (__hasOwnProp.call(b, prop)) - __defNormalProp(a, prop, b[prop]); + for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]); if (__getOwnPropSymbols) for (var prop of __getOwnPropSymbols(b)) { - if (__propIsEnum.call(b, prop)) - __defNormalProp(a, prop, b[prop]); + if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]); } return a; }; @@ -25,35 +25,43 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); var __objRest = (source, exclude) => { var target = {}; for (var prop in source) - if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) - target[prop] = source[prop]; + if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop]; if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) { - if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) - target[prop] = source[prop]; + if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop]; } return target; }; -var __commonJS = (cb, mod) => function __require() { - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; -}; +var __commonJS = (cb, mod) => + function __require() { + return ( + mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports + ); + }; var __export = (target, all) => { - for (var name2 in all) - __defProp(target, name2, { get: all[name2], enumerable: true }); + for (var name2 in all) __defProp(target, name2, { get: all[name2], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { + if ((from && typeof from === 'object') || typeof from === 'function') { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + __defProp(to, key, { + get: () => from[key], + enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable, + }); } return to; }; -var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, - mod -)); -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var __toESM = (mod, isNodeMode, target) => ( + (target = mod != null ? __create(__getProtoOf(mod)) : {}), + __copyProps( + isNodeMode || !mod || !mod.__esModule + ? __defProp(target, 'default', { value: mod, enumerable: true }) + : target, + mod + ) +); +var __toCommonJS = (mod) => __copyProps(__defProp({}, '__esModule', { value: true }), mod); var __async = (__this, __arguments, generator) => { return new Promise((resolve, reject) => { var fulfilled = (value) => { @@ -70,14 +78,15 @@ var __async = (__this, __arguments, generator) => { reject(e); } }; - var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); + var step = (x) => + x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); step((generator = generator.apply(__this, __arguments)).next()); }); }; // node_modules/tslib/tslib.js var require_tslib = __commonJS({ - "node_modules/tslib/tslib.js"(exports2, module2) { + 'node_modules/tslib/tslib.js'(exports2, module2) { var __extends; var __assign; var __rest; @@ -102,93 +111,110 @@ var require_tslib = __commonJS({ var __classPrivateFieldGet4; var __classPrivateFieldSet4; var __createBinding; - (function(factory) { - var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; - if (typeof define === "function" && define.amd) { - define("tslib", ["exports"], function(exports3) { + (function (factory) { + var root = + typeof global === 'object' + ? global + : typeof self === 'object' + ? self + : typeof this === 'object' + ? this + : {}; + if (typeof define === 'function' && define.amd) { + define('tslib', ['exports'], function (exports3) { factory(createExporter(root, createExporter(exports3))); }); - } else if (typeof module2 === "object" && typeof module2.exports === "object") { + } else if (typeof module2 === 'object' && typeof module2.exports === 'object') { factory(createExporter(root, createExporter(module2.exports))); } else { factory(createExporter(root)); } function createExporter(exports3, previous) { if (exports3 !== root) { - if (typeof Object.create === "function") { - Object.defineProperty(exports3, "__esModule", { value: true }); + if (typeof Object.create === 'function') { + Object.defineProperty(exports3, '__esModule', { value: true }); } else { exports3.__esModule = true; } } - return function(id, v) { - return exports3[id] = previous ? previous(id, v) : v; + return function (id, v) { + return (exports3[id] = previous ? previous(id, v) : v); }; } - })(function(exporter) { - var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) { - d.__proto__ = b; - } || function(d, b) { - for (var p in b) - if (Object.prototype.hasOwnProperty.call(b, p)) - d[p] = b[p]; - }; - __extends = function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + })(function (exporter) { + var extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d, b) { + d.__proto__ = b; + }) || + function (d, b) { + for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; + }; + __extends = function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError('Class extends value ' + String(b) + ' is not a constructor or null'); extendStatics(d, b); function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); }; - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) - if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - __rest = function(s, e) { + __assign = + Object.assign || + function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + __rest = function (s, e) { var t = {}; for (var p in s) - if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") + if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === 'function') for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; } return t; }; - __decorate = function(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, + r = + c < 3 + ? target + : desc === null + ? (desc = Object.getOwnPropertyDescriptor(target, key)) + : desc, + d; + if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function') r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) - if (d = decorators[i]) + if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; - __param = function(paramIndex, decorator) { - return function(target, key) { + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); }; }; - __metadata = function(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function') return Reflect.metadata(metadataKey, metadataValue); }; - __awaiter = function(thisArg, _arguments, P, generator) { + __awaiter = function (thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - return new (P || (P = Promise))(function(resolve, reject) { + return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -198,7 +224,7 @@ var require_tslib = __commonJS({ } function rejected(value) { try { - step(generator["throw"](value)); + step(generator['throw'](value)); } catch (e) { reject(e); } @@ -209,29 +235,50 @@ var require_tslib = __commonJS({ step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; - __generator = function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; + __generator = function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); function verb(n) { - return function(v) { + return function (v) { return step([n, v]); }; } function step(op) { - if (f) - throw new TypeError("Generator is already executing."); + if (f) throw new TypeError('Generator is already executing.'); while (_) try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; + if (((y = 0), t)) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: @@ -250,11 +297,14 @@ var require_tslib = __commonJS({ _.trys.pop(); continue; default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { _ = 0; continue; } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } @@ -268,8 +318,7 @@ var require_tslib = __commonJS({ _.ops.push(op); break; } - if (t[2]) - _.ops.pop(); + if (t[2]) _.ops.pop(); _.trys.pop(); continue; } @@ -280,100 +329,105 @@ var require_tslib = __commonJS({ } finally { f = t = 0; } - if (op[0] & 5) - throw op[1]; + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; - __exportStar = function(m, o) { + __exportStar = function (m, o) { for (var p in m) - if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) + if (p !== 'default' && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); }; - __createBinding = Object.create ? function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m[k]; - } }); - } : function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; - }; - __values = function(o) { - var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; - if (m) - return m.call(o); - if (o && typeof o.length === "number") + __createBinding = Object.create + ? function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + Object.defineProperty(o, k2, { + enumerable: true, + get: function () { + return m[k]; + }, + }); + } + : function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }; + __values = function (o) { + var s = typeof Symbol === 'function' && Symbol.iterator, + m = s && o[s], + i = 0; + if (m) return m.call(o); + if (o && typeof o.length === 'number') return { - next: function() { - if (o && i >= o.length) - o = void 0; + next: function () { + if (o && i >= o.length) o = void 0; return { value: o && o[i++], done: !o }; - } + }, }; - throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); - }; - __read = function(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) - return o; - var i = m.call(o), r, ar = [], e; + throw new TypeError(s ? 'Object is not iterable.' : 'Symbol.iterator is not defined.'); + }; + __read = function (o, n) { + var m = typeof Symbol === 'function' && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), + r, + ar = [], + e; try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) - ar.push(r.value); + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); } catch (error) { e = { error }; } finally { try { - if (r && !r.done && (m = i["return"])) - m.call(i); + if (r && !r.done && (m = i['return'])) m.call(i); } finally { - if (e) - throw e.error; + if (e) throw e.error; } } return ar; }; - __spread = function() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i])); return ar; }; - __spreadArrays = function() { - for (var s = 0, i = 0, il = arguments.length; i < il; i++) - s += arguments[i].length; + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; for (var r = Array(s), k = 0, i = 0; i < il; i++) - for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) - r[k] = a[j]; + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j]; return r; }; - __spreadArray = function(to, from, pack) { + __spreadArray = function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { - if (!ar) - ar = Array.prototype.slice.call(from, 0, i); + if (!ar) ar = Array.prototype.slice.call(from, 0, i); ar[i] = from[i]; } } return to.concat(ar || Array.prototype.slice.call(from)); }; - __await = function(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); - }; - __asyncGenerator = function(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() { - return this; - }, i; + __await = function (v) { + return this instanceof __await ? ((this.v = v), this) : new __await(v); + }; + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError('Symbol.asyncIterator is not defined.'); + var g = generator.apply(thisArg, _arguments || []), + i, + q = []; + return ( + (i = {}), + verb('next'), + verb('throw'), + verb('return'), + (i[Symbol.asyncIterator] = function () { + return this; + }), + i + ); function verb(n) { if (g[n]) - i[n] = function(v) { - return new Promise(function(a, b) { + i[n] = function (v) { + return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; @@ -386,137 +440,172 @@ var require_tslib = __commonJS({ } } function step(r) { - r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); + r.value instanceof __await + ? Promise.resolve(r.value.v).then(fulfill, reject) + : settle(q[0][2], r); } function fulfill(value) { - resume("next", value); + resume('next', value); } function reject(value) { - resume("throw", value); + resume('throw', value); } function settle(f, v) { - if (f(v), q.shift(), q.length) - resume(q[0][0], q[0][1]); + if ((f(v), q.shift(), q.length)) resume(q[0][0], q[0][1]); } }; - __asyncDelegator = function(o) { + __asyncDelegator = function (o) { var i, p; - return i = {}, verb("next"), verb("throw", function(e) { - throw e; - }), verb("return"), i[Symbol.iterator] = function() { - return this; - }, i; + return ( + (i = {}), + verb('next'), + verb('throw', function (e) { + throw e; + }), + verb('return'), + (i[Symbol.iterator] = function () { + return this; + }), + i + ); function verb(n, f) { - i[n] = o[n] ? function(v) { - return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; - } : f; - } - }; - __asyncValues = function(o) { - if (!Symbol.asyncIterator) - throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator], i; - return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() { - return this; - }, i); + i[n] = o[n] + ? function (v) { + return (p = !p) ? { value: __await(o[n](v)), done: n === 'return' } : f ? f(v) : v; + } + : f; + } + }; + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError('Symbol.asyncIterator is not defined.'); + var m = o[Symbol.asyncIterator], + i; + return m + ? m.call(o) + : ((o = typeof __values === 'function' ? __values(o) : o[Symbol.iterator]()), + (i = {}), + verb('next'), + verb('throw'), + verb('return'), + (i[Symbol.asyncIterator] = function () { + return this; + }), + i); function verb(n) { - i[n] = o[n] && function(v) { - return new Promise(function(resolve, reject) { - v = o[n](v), settle(resolve, reject, v.done, v.value); - }); - }; + i[n] = + o[n] && + function (v) { + return new Promise(function (resolve, reject) { + (v = o[n](v)), settle(resolve, reject, v.done, v.value); + }); + }; } function settle(resolve, reject, d, v) { - Promise.resolve(v).then(function(v2) { + Promise.resolve(v).then(function (v2) { resolve({ value: v2, done: d }); }, reject); } }; - __makeTemplateObject = function(cooked, raw) { + __makeTemplateObject = function (cooked, raw) { if (Object.defineProperty) { - Object.defineProperty(cooked, "raw", { value: raw }); + Object.defineProperty(cooked, 'raw', { value: raw }); } else { cooked.raw = raw; } return cooked; }; - var __setModuleDefault = Object.create ? function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - } : function(o, v) { - o["default"] = v; - }; - __importStar = function(mod) { - if (mod && mod.__esModule) - return mod; + var __setModuleDefault = Object.create + ? function (o, v) { + Object.defineProperty(o, 'default', { enumerable: true, value: v }); + } + : function (o, v) { + o['default'] = v; + }; + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) { for (var k in mod) - if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) + if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); } __setModuleDefault(result, mod); return result; }; - __importDefault = function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - __classPrivateFieldGet4 = function(receiver, state, kind, f) { - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); - }; - __classPrivateFieldSet4 = function(receiver, state, value, kind, f) { - if (kind === "m") - throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value; - }; - exporter("__extends", __extends); - exporter("__assign", __assign); - exporter("__rest", __rest); - exporter("__decorate", __decorate); - exporter("__param", __param); - exporter("__metadata", __metadata); - exporter("__awaiter", __awaiter); - exporter("__generator", __generator); - exporter("__exportStar", __exportStar); - exporter("__createBinding", __createBinding); - exporter("__values", __values); - exporter("__read", __read); - exporter("__spread", __spread); - exporter("__spreadArrays", __spreadArrays); - exporter("__spreadArray", __spreadArray); - exporter("__await", __await); - exporter("__asyncGenerator", __asyncGenerator); - exporter("__asyncDelegator", __asyncDelegator); - exporter("__asyncValues", __asyncValues); - exporter("__makeTemplateObject", __makeTemplateObject); - exporter("__importStar", __importStar); - exporter("__importDefault", __importDefault); - exporter("__classPrivateFieldGet", __classPrivateFieldGet4); - exporter("__classPrivateFieldSet", __classPrivateFieldSet4); + __importDefault = function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + __classPrivateFieldGet4 = function (receiver, state, kind, f) { + if (kind === 'a' && !f) + throw new TypeError('Private accessor was defined without a getter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError( + 'Cannot read private member from an object whose class did not declare it' + ); + return kind === 'm' + ? f + : kind === 'a' + ? f.call(receiver) + : f + ? f.value + : state.get(receiver); + }; + __classPrivateFieldSet4 = function (receiver, state, value, kind, f) { + if (kind === 'm') throw new TypeError('Private method is not writable'); + if (kind === 'a' && !f) + throw new TypeError('Private accessor was defined without a setter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError( + 'Cannot write private member to an object whose class did not declare it' + ); + return ( + kind === 'a' + ? f.call(receiver, value) + : f + ? (f.value = value) + : state.set(receiver, value), + value + ); + }; + exporter('__extends', __extends); + exporter('__assign', __assign); + exporter('__rest', __rest); + exporter('__decorate', __decorate); + exporter('__param', __param); + exporter('__metadata', __metadata); + exporter('__awaiter', __awaiter); + exporter('__generator', __generator); + exporter('__exportStar', __exportStar); + exporter('__createBinding', __createBinding); + exporter('__values', __values); + exporter('__read', __read); + exporter('__spread', __spread); + exporter('__spreadArrays', __spreadArrays); + exporter('__spreadArray', __spreadArray); + exporter('__await', __await); + exporter('__asyncGenerator', __asyncGenerator); + exporter('__asyncDelegator', __asyncDelegator); + exporter('__asyncValues', __asyncValues); + exporter('__makeTemplateObject', __makeTemplateObject); + exporter('__importStar', __importStar); + exporter('__importDefault', __importDefault); + exporter('__classPrivateFieldGet', __classPrivateFieldGet4); + exporter('__classPrivateFieldSet', __classPrivateFieldSet4); }); - } + }, }); // node_modules/bn.js/lib/bn.js var require_bn = __commonJS({ - "node_modules/bn.js/lib/bn.js"(exports2, module2) { - (function(module3, exports3) { - "use strict"; + 'node_modules/bn.js/lib/bn.js'(exports2, module2) { + (function (module3, exports3) { + 'use strict'; function assert(val, msg) { - if (!val) - throw new Error(msg || "Assertion failed"); + if (!val) throw new Error(msg || 'Assertion failed'); } function inherits(ctor, superCtor) { ctor.super_ = superCtor; - var TempCtor = function() { - }; + var TempCtor = function () {}; TempCtor.prototype = superCtor.prototype; ctor.prototype = new TempCtor(); ctor.prototype.constructor = ctor; @@ -530,14 +619,14 @@ var require_bn = __commonJS({ this.length = 0; this.red = null; if (number !== null) { - if (base === "le" || base === "be") { + if (base === 'le' || base === 'be') { endian = base; base = 10; } - this._init(number || 0, base || 10, endian || "be"); + this._init(number || 0, base || 10, endian || 'be'); } } - if (typeof module3 === "object") { + if (typeof module3 === 'object') { module3.exports = BN; } else { exports3.BN = BN; @@ -546,43 +635,45 @@ var require_bn = __commonJS({ BN.wordSize = 26; var Buffer2; try { - if (typeof window !== "undefined" && typeof window.Buffer !== "undefined") { + if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') { Buffer2 = window.Buffer; } else { - Buffer2 = require("buffer").Buffer; + Buffer2 = require('buffer').Buffer; } - } catch (e) { - } + } catch (e) {} BN.isBN = function isBN(num) { if (num instanceof BN) { return true; } - return num !== null && typeof num === "object" && num.constructor.wordSize === BN.wordSize && Array.isArray(num.words); + return ( + num !== null && + typeof num === 'object' && + num.constructor.wordSize === BN.wordSize && + Array.isArray(num.words) + ); }; BN.max = function max(left, right) { - if (left.cmp(right) > 0) - return left; + if (left.cmp(right) > 0) return left; return right; }; BN.min = function min(left, right) { - if (left.cmp(right) < 0) - return left; + if (left.cmp(right) < 0) return left; return right; }; BN.prototype._init = function init(number, base, endian) { - if (typeof number === "number") { + if (typeof number === 'number') { return this._initNumber(number, base, endian); } - if (typeof number === "object") { + if (typeof number === 'object') { return this._initArray(number, base, endian); } - if (base === "hex") { + if (base === 'hex') { base = 16; } assert(base === (base | 0) && base >= 2 && base <= 36); - number = number.toString().replace(/\s+/g, ""); + number = number.toString().replace(/\s+/g, ''); var start = 0; - if (number[0] === "-") { + if (number[0] === '-') { start++; this.negative = 1; } @@ -591,7 +682,7 @@ var require_bn = __commonJS({ this._parseHex(number, start, endian); } else { this._parseBase(number, base, start); - if (endian === "le") { + if (endian === 'le') { this._initArray(this.toArray(), base, endian); } } @@ -606,26 +697,18 @@ var require_bn = __commonJS({ this.words = [number & 67108863]; this.length = 1; } else if (number < 4503599627370496) { - this.words = [ - number & 67108863, - number / 67108864 & 67108863 - ]; + this.words = [number & 67108863, (number / 67108864) & 67108863]; this.length = 2; } else { assert(number < 9007199254740992); - this.words = [ - number & 67108863, - number / 67108864 & 67108863, - 1 - ]; + this.words = [number & 67108863, (number / 67108864) & 67108863, 1]; this.length = 3; } - if (endian !== "le") - return; + if (endian !== 'le') return; this._initArray(this.toArray(), base, endian); }; BN.prototype._initArray = function _initArray(number, base, endian) { - assert(typeof number.length === "number"); + assert(typeof number.length === 'number'); if (number.length <= 0) { this.words = [0]; this.length = 1; @@ -638,22 +721,22 @@ var require_bn = __commonJS({ } var j, w; var off = 0; - if (endian === "be") { + if (endian === 'be') { for (i = number.length - 1, j = 0; i >= 0; i -= 3) { - w = number[i] | number[i - 1] << 8 | number[i - 2] << 16; - this.words[j] |= w << off & 67108863; - this.words[j + 1] = w >>> 26 - off & 67108863; + w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16); + this.words[j] |= (w << off) & 67108863; + this.words[j + 1] = (w >>> (26 - off)) & 67108863; off += 24; if (off >= 26) { off -= 26; j++; } } - } else if (endian === "le") { + } else if (endian === 'le') { for (i = 0, j = 0; i < number.length; i += 3) { - w = number[i] | number[i + 1] << 8 | number[i + 2] << 16; - this.words[j] |= w << off & 67108863; - this.words[j + 1] = w >>> 26 - off & 67108863; + w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16); + this.words[j] |= (w << off) & 67108863; + this.words[j + 1] = (w >>> (26 - off)) & 67108863; off += 24; if (off >= 26) { off -= 26; @@ -670,7 +753,7 @@ var require_bn = __commonJS({ } else if (c >= 97 && c <= 102) { return c - 87; } else { - return c - 48 & 15; + return (c - 48) & 15; } } function parseHexByte(string, lowerBound, index) { @@ -689,7 +772,7 @@ var require_bn = __commonJS({ var off = 0; var j = 0; var w; - if (endian === "be") { + if (endian === 'be') { for (i = number.length - 1; i >= start; i -= 2) { w = parseHexByte(number, start, i) << off; this.words[j] |= w & 67108863; @@ -740,7 +823,7 @@ var require_bn = __commonJS({ limbLen++; } limbLen--; - limbPow = limbPow / base | 0; + limbPow = (limbPow / base) | 0; var total = number.length - start; var mod = total % limbLen; var end = Math.min(total, total - mod) + start; @@ -802,126 +885,58 @@ var require_bn = __commonJS({ return this; }; BN.prototype.inspect = function inspect() { - return (this.red ? ""; + return (this.red ? ''; }; var zeros = [ - "", - "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" + '', + '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', ]; var groupSizes = [ - 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 + 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, ]; var groupBases = [ - 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 + 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, ]; BN.prototype.toString = function toString(base, padding) { base = base || 10; padding = padding | 0 || 1; var out; - if (base === 16 || base === "hex") { - out = ""; + if (base === 16 || base === 'hex') { + out = ''; var off = 0; var carry = 0; for (var i = 0; i < this.length; i++) { var w = this.words[i]; - var word = ((w << off | carry) & 16777215).toString(16); - carry = w >>> 24 - off & 16777215; + var word = (((w << off) | carry) & 16777215).toString(16); + carry = (w >>> (24 - off)) & 16777215; if (carry !== 0 || i !== this.length - 1) { out = zeros[6 - word.length] + word + out; } else { @@ -937,17 +952,17 @@ var require_bn = __commonJS({ out = carry.toString(16) + out; } while (out.length % padding !== 0) { - out = "0" + out; + out = '0' + out; } if (this.negative !== 0) { - out = "-" + out; + out = '-' + out; } return out; } if (base === (base | 0) && base >= 2 && base <= 36) { var groupSize = groupSizes[base]; var groupBase = groupBases[base]; - out = ""; + out = ''; var c = this.clone(); c.negative = 0; while (!c.isZero()) { @@ -960,17 +975,17 @@ var require_bn = __commonJS({ } } if (this.isZero()) { - out = "0" + out; + out = '0' + out; } while (out.length % padding !== 0) { - out = "0" + out; + out = '0' + out; } if (this.negative !== 0) { - out = "-" + out; + out = '-' + out; } return out; } - assert(false, "Base should be between 2 and 36"); + assert(false, 'Base should be between 2 and 36'); }; BN.prototype.toNumber = function toNumber() { var ret = this.words[0]; @@ -979,7 +994,7 @@ var require_bn = __commonJS({ } else if (this.length === 3 && this.words[2] === 1) { ret += 4503599627370496 + this.words[1] * 67108864; } else if (this.length > 2) { - assert(false, "Number can only safely store up to 53 bits"); + assert(false, 'Number can only safely store up to 53 bits'); } return this.negative !== 0 ? -ret : ret; }; @@ -987,7 +1002,7 @@ var require_bn = __commonJS({ return this.toString(16); }; BN.prototype.toBuffer = function toBuffer(endian, length) { - assert(typeof Buffer2 !== "undefined"); + assert(typeof Buffer2 !== 'undefined'); return this.toArrayLike(Buffer2, endian, length); }; BN.prototype.toArray = function toArray(endian, length) { @@ -996,10 +1011,10 @@ var require_bn = __commonJS({ BN.prototype.toArrayLike = function toArrayLike(ArrayType, endian, length) { var byteLength = this.byteLength(); var reqLength = length || Math.max(1, byteLength); - assert(byteLength <= reqLength, "byte array longer than desired length"); - assert(reqLength > 0, "Requested array length <= 0"); + assert(byteLength <= reqLength, 'byte array longer than desired length'); + assert(reqLength > 0, 'Requested array length <= 0'); this.strip(); - var littleEndian = endian === "le"; + var littleEndian = endian === 'le'; var res = new ArrayType(reqLength); var b, i; var q = this.clone(); @@ -1052,8 +1067,7 @@ var require_bn = __commonJS({ }; } BN.prototype._zeroBits = function _zeroBits(w) { - if (w === 0) - return 26; + if (w === 0) return 26; var t = w; var r = 0; if ((t & 8191) === 0) { @@ -1085,21 +1099,19 @@ var require_bn = __commonJS({ function toBitArray(num) { var w = new Array(num.bitLength()); for (var bit = 0; bit < w.length; bit++) { - var off = bit / 26 | 0; + var off = (bit / 26) | 0; var wbit = bit % 26; - w[bit] = (num.words[off] & 1 << wbit) >>> wbit; + w[bit] = (num.words[off] & (1 << wbit)) >>> wbit; } return w; } BN.prototype.zeroBits = function zeroBits() { - if (this.isZero()) - return 0; + if (this.isZero()) return 0; var r = 0; for (var i = 0; i < this.length; i++) { var b = this._zeroBits(this.words[i]); r += b; - if (b !== 26) - break; + if (b !== 26) break; } return r; }; @@ -1144,13 +1156,11 @@ var require_bn = __commonJS({ return this.iuor(num); }; BN.prototype.or = function or(num) { - if (this.length > num.length) - return this.clone().ior(num); + if (this.length > num.length) return this.clone().ior(num); return num.clone().ior(this); }; BN.prototype.uor = function uor(num) { - if (this.length > num.length) - return this.clone().iuor(num); + if (this.length > num.length) return this.clone().iuor(num); return num.clone().iuor(this); }; BN.prototype.iuand = function iuand(num) { @@ -1171,13 +1181,11 @@ var require_bn = __commonJS({ return this.iuand(num); }; BN.prototype.and = function and(num) { - if (this.length > num.length) - return this.clone().iand(num); + if (this.length > num.length) return this.clone().iand(num); return num.clone().iand(this); }; BN.prototype.uand = function uand(num) { - if (this.length > num.length) - return this.clone().iuand(num); + if (this.length > num.length) return this.clone().iuand(num); return num.clone().iuand(this); }; BN.prototype.iuxor = function iuxor(num) { @@ -1206,17 +1214,15 @@ var require_bn = __commonJS({ return this.iuxor(num); }; BN.prototype.xor = function xor(num) { - if (this.length > num.length) - return this.clone().ixor(num); + if (this.length > num.length) return this.clone().ixor(num); return num.clone().ixor(this); }; BN.prototype.uxor = function uxor(num) { - if (this.length > num.length) - return this.clone().iuxor(num); + if (this.length > num.length) return this.clone().iuxor(num); return num.clone().iuxor(this); }; BN.prototype.inotn = function inotn(width) { - assert(typeof width === "number" && width >= 0); + assert(typeof width === 'number' && width >= 0); var bytesNeeded = Math.ceil(width / 26) | 0; var bitsLeft = width % 26; this._expand(bytesNeeded); @@ -1227,7 +1233,7 @@ var require_bn = __commonJS({ this.words[i] = ~this.words[i] & 67108863; } if (bitsLeft > 0) { - this.words[i] = ~this.words[i] & 67108863 >> 26 - bitsLeft; + this.words[i] = ~this.words[i] & (67108863 >> (26 - bitsLeft)); } return this.strip(); }; @@ -1235,12 +1241,12 @@ var require_bn = __commonJS({ return this.clone().inotn(width); }; BN.prototype.setn = function setn(bit, val) { - assert(typeof bit === "number" && bit >= 0); - var off = bit / 26 | 0; + assert(typeof bit === 'number' && bit >= 0); + var off = (bit / 26) | 0; var wbit = bit % 26; this._expand(off + 1); if (val) { - this.words[off] = this.words[off] | 1 << wbit; + this.words[off] = this.words[off] | (1 << wbit); } else { this.words[off] = this.words[off] & ~(1 << wbit); } @@ -1302,8 +1308,7 @@ var require_bn = __commonJS({ this.negative = 1; return res; } - if (this.length > num.length) - return this.clone().iadd(num); + if (this.length > num.length) return this.clone().iadd(num); return num.clone().iadd(this); }; BN.prototype.isub = function isub(num) { @@ -1360,25 +1365,25 @@ var require_bn = __commonJS({ }; function smallMulTo(self2, num, out) { out.negative = num.negative ^ self2.negative; - var len = self2.length + num.length | 0; + var len = (self2.length + num.length) | 0; out.length = len; - len = len - 1 | 0; + len = (len - 1) | 0; var a = self2.words[0] | 0; var b = num.words[0] | 0; var r = a * b; var lo = r & 67108863; - var carry = r / 67108864 | 0; + var carry = (r / 67108864) | 0; out.words[0] = lo; for (var k = 1; k < len; k++) { var ncarry = carry >>> 26; var rword = carry & 67108863; var maxJ = Math.min(k, num.length - 1); for (var j = Math.max(0, k - self2.length + 1); j <= maxJ; j++) { - var i = k - j | 0; + var i = (k - j) | 0; a = self2.words[i] | 0; b = num.words[j] | 0; r = a * b + rword; - ncarry += r / 67108864 | 0; + ncarry += (r / 67108864) | 0; rword = r & 67108863; } out.words[k] = rword | 0; @@ -1463,460 +1468,460 @@ var require_bn = __commonJS({ out.length = 19; lo = Math.imul(al0, bl0); mid = Math.imul(al0, bh0); - mid = mid + Math.imul(ah0, bl0) | 0; + mid = (mid + Math.imul(ah0, bl0)) | 0; hi = Math.imul(ah0, bh0); - var w0 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w0 >>> 26) | 0; + var w0 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0; w0 &= 67108863; lo = Math.imul(al1, bl0); mid = Math.imul(al1, bh0); - mid = mid + Math.imul(ah1, bl0) | 0; + mid = (mid + Math.imul(ah1, bl0)) | 0; hi = Math.imul(ah1, bh0); - lo = lo + Math.imul(al0, bl1) | 0; - mid = mid + Math.imul(al0, bh1) | 0; - mid = mid + Math.imul(ah0, bl1) | 0; - hi = hi + Math.imul(ah0, bh1) | 0; - var w1 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w1 >>> 26) | 0; + lo = (lo + Math.imul(al0, bl1)) | 0; + mid = (mid + Math.imul(al0, bh1)) | 0; + mid = (mid + Math.imul(ah0, bl1)) | 0; + hi = (hi + Math.imul(ah0, bh1)) | 0; + var w1 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0; w1 &= 67108863; lo = Math.imul(al2, bl0); mid = Math.imul(al2, bh0); - mid = mid + Math.imul(ah2, bl0) | 0; + mid = (mid + Math.imul(ah2, bl0)) | 0; hi = Math.imul(ah2, bh0); - lo = lo + Math.imul(al1, bl1) | 0; - mid = mid + Math.imul(al1, bh1) | 0; - mid = mid + Math.imul(ah1, bl1) | 0; - hi = hi + Math.imul(ah1, bh1) | 0; - lo = lo + Math.imul(al0, bl2) | 0; - mid = mid + Math.imul(al0, bh2) | 0; - mid = mid + Math.imul(ah0, bl2) | 0; - hi = hi + Math.imul(ah0, bh2) | 0; - var w2 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w2 >>> 26) | 0; + lo = (lo + Math.imul(al1, bl1)) | 0; + mid = (mid + Math.imul(al1, bh1)) | 0; + mid = (mid + Math.imul(ah1, bl1)) | 0; + hi = (hi + Math.imul(ah1, bh1)) | 0; + lo = (lo + Math.imul(al0, bl2)) | 0; + mid = (mid + Math.imul(al0, bh2)) | 0; + mid = (mid + Math.imul(ah0, bl2)) | 0; + hi = (hi + Math.imul(ah0, bh2)) | 0; + var w2 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0; w2 &= 67108863; lo = Math.imul(al3, bl0); mid = Math.imul(al3, bh0); - mid = mid + Math.imul(ah3, bl0) | 0; + mid = (mid + Math.imul(ah3, bl0)) | 0; hi = Math.imul(ah3, bh0); - lo = lo + Math.imul(al2, bl1) | 0; - mid = mid + Math.imul(al2, bh1) | 0; - mid = mid + Math.imul(ah2, bl1) | 0; - hi = hi + Math.imul(ah2, bh1) | 0; - lo = lo + Math.imul(al1, bl2) | 0; - mid = mid + Math.imul(al1, bh2) | 0; - mid = mid + Math.imul(ah1, bl2) | 0; - hi = hi + Math.imul(ah1, bh2) | 0; - lo = lo + Math.imul(al0, bl3) | 0; - mid = mid + Math.imul(al0, bh3) | 0; - mid = mid + Math.imul(ah0, bl3) | 0; - hi = hi + Math.imul(ah0, bh3) | 0; - var w3 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w3 >>> 26) | 0; + lo = (lo + Math.imul(al2, bl1)) | 0; + mid = (mid + Math.imul(al2, bh1)) | 0; + mid = (mid + Math.imul(ah2, bl1)) | 0; + hi = (hi + Math.imul(ah2, bh1)) | 0; + lo = (lo + Math.imul(al1, bl2)) | 0; + mid = (mid + Math.imul(al1, bh2)) | 0; + mid = (mid + Math.imul(ah1, bl2)) | 0; + hi = (hi + Math.imul(ah1, bh2)) | 0; + lo = (lo + Math.imul(al0, bl3)) | 0; + mid = (mid + Math.imul(al0, bh3)) | 0; + mid = (mid + Math.imul(ah0, bl3)) | 0; + hi = (hi + Math.imul(ah0, bh3)) | 0; + var w3 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0; w3 &= 67108863; lo = Math.imul(al4, bl0); mid = Math.imul(al4, bh0); - mid = mid + Math.imul(ah4, bl0) | 0; + mid = (mid + Math.imul(ah4, bl0)) | 0; hi = Math.imul(ah4, bh0); - lo = lo + Math.imul(al3, bl1) | 0; - mid = mid + Math.imul(al3, bh1) | 0; - mid = mid + Math.imul(ah3, bl1) | 0; - hi = hi + Math.imul(ah3, bh1) | 0; - lo = lo + Math.imul(al2, bl2) | 0; - mid = mid + Math.imul(al2, bh2) | 0; - mid = mid + Math.imul(ah2, bl2) | 0; - hi = hi + Math.imul(ah2, bh2) | 0; - lo = lo + Math.imul(al1, bl3) | 0; - mid = mid + Math.imul(al1, bh3) | 0; - mid = mid + Math.imul(ah1, bl3) | 0; - hi = hi + Math.imul(ah1, bh3) | 0; - lo = lo + Math.imul(al0, bl4) | 0; - mid = mid + Math.imul(al0, bh4) | 0; - mid = mid + Math.imul(ah0, bl4) | 0; - hi = hi + Math.imul(ah0, bh4) | 0; - var w4 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w4 >>> 26) | 0; + lo = (lo + Math.imul(al3, bl1)) | 0; + mid = (mid + Math.imul(al3, bh1)) | 0; + mid = (mid + Math.imul(ah3, bl1)) | 0; + hi = (hi + Math.imul(ah3, bh1)) | 0; + lo = (lo + Math.imul(al2, bl2)) | 0; + mid = (mid + Math.imul(al2, bh2)) | 0; + mid = (mid + Math.imul(ah2, bl2)) | 0; + hi = (hi + Math.imul(ah2, bh2)) | 0; + lo = (lo + Math.imul(al1, bl3)) | 0; + mid = (mid + Math.imul(al1, bh3)) | 0; + mid = (mid + Math.imul(ah1, bl3)) | 0; + hi = (hi + Math.imul(ah1, bh3)) | 0; + lo = (lo + Math.imul(al0, bl4)) | 0; + mid = (mid + Math.imul(al0, bh4)) | 0; + mid = (mid + Math.imul(ah0, bl4)) | 0; + hi = (hi + Math.imul(ah0, bh4)) | 0; + var w4 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0; w4 &= 67108863; lo = Math.imul(al5, bl0); mid = Math.imul(al5, bh0); - mid = mid + Math.imul(ah5, bl0) | 0; + mid = (mid + Math.imul(ah5, bl0)) | 0; hi = Math.imul(ah5, bh0); - lo = lo + Math.imul(al4, bl1) | 0; - mid = mid + Math.imul(al4, bh1) | 0; - mid = mid + Math.imul(ah4, bl1) | 0; - hi = hi + Math.imul(ah4, bh1) | 0; - lo = lo + Math.imul(al3, bl2) | 0; - mid = mid + Math.imul(al3, bh2) | 0; - mid = mid + Math.imul(ah3, bl2) | 0; - hi = hi + Math.imul(ah3, bh2) | 0; - lo = lo + Math.imul(al2, bl3) | 0; - mid = mid + Math.imul(al2, bh3) | 0; - mid = mid + Math.imul(ah2, bl3) | 0; - hi = hi + Math.imul(ah2, bh3) | 0; - lo = lo + Math.imul(al1, bl4) | 0; - mid = mid + Math.imul(al1, bh4) | 0; - mid = mid + Math.imul(ah1, bl4) | 0; - hi = hi + Math.imul(ah1, bh4) | 0; - lo = lo + Math.imul(al0, bl5) | 0; - mid = mid + Math.imul(al0, bh5) | 0; - mid = mid + Math.imul(ah0, bl5) | 0; - hi = hi + Math.imul(ah0, bh5) | 0; - var w5 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w5 >>> 26) | 0; + lo = (lo + Math.imul(al4, bl1)) | 0; + mid = (mid + Math.imul(al4, bh1)) | 0; + mid = (mid + Math.imul(ah4, bl1)) | 0; + hi = (hi + Math.imul(ah4, bh1)) | 0; + lo = (lo + Math.imul(al3, bl2)) | 0; + mid = (mid + Math.imul(al3, bh2)) | 0; + mid = (mid + Math.imul(ah3, bl2)) | 0; + hi = (hi + Math.imul(ah3, bh2)) | 0; + lo = (lo + Math.imul(al2, bl3)) | 0; + mid = (mid + Math.imul(al2, bh3)) | 0; + mid = (mid + Math.imul(ah2, bl3)) | 0; + hi = (hi + Math.imul(ah2, bh3)) | 0; + lo = (lo + Math.imul(al1, bl4)) | 0; + mid = (mid + Math.imul(al1, bh4)) | 0; + mid = (mid + Math.imul(ah1, bl4)) | 0; + hi = (hi + Math.imul(ah1, bh4)) | 0; + lo = (lo + Math.imul(al0, bl5)) | 0; + mid = (mid + Math.imul(al0, bh5)) | 0; + mid = (mid + Math.imul(ah0, bl5)) | 0; + hi = (hi + Math.imul(ah0, bh5)) | 0; + var w5 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0; w5 &= 67108863; lo = Math.imul(al6, bl0); mid = Math.imul(al6, bh0); - mid = mid + Math.imul(ah6, bl0) | 0; + mid = (mid + Math.imul(ah6, bl0)) | 0; hi = Math.imul(ah6, bh0); - lo = lo + Math.imul(al5, bl1) | 0; - mid = mid + Math.imul(al5, bh1) | 0; - mid = mid + Math.imul(ah5, bl1) | 0; - hi = hi + Math.imul(ah5, bh1) | 0; - lo = lo + Math.imul(al4, bl2) | 0; - mid = mid + Math.imul(al4, bh2) | 0; - mid = mid + Math.imul(ah4, bl2) | 0; - hi = hi + Math.imul(ah4, bh2) | 0; - lo = lo + Math.imul(al3, bl3) | 0; - mid = mid + Math.imul(al3, bh3) | 0; - mid = mid + Math.imul(ah3, bl3) | 0; - hi = hi + Math.imul(ah3, bh3) | 0; - lo = lo + Math.imul(al2, bl4) | 0; - mid = mid + Math.imul(al2, bh4) | 0; - mid = mid + Math.imul(ah2, bl4) | 0; - hi = hi + Math.imul(ah2, bh4) | 0; - lo = lo + Math.imul(al1, bl5) | 0; - mid = mid + Math.imul(al1, bh5) | 0; - mid = mid + Math.imul(ah1, bl5) | 0; - hi = hi + Math.imul(ah1, bh5) | 0; - lo = lo + Math.imul(al0, bl6) | 0; - mid = mid + Math.imul(al0, bh6) | 0; - mid = mid + Math.imul(ah0, bl6) | 0; - hi = hi + Math.imul(ah0, bh6) | 0; - var w6 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w6 >>> 26) | 0; + lo = (lo + Math.imul(al5, bl1)) | 0; + mid = (mid + Math.imul(al5, bh1)) | 0; + mid = (mid + Math.imul(ah5, bl1)) | 0; + hi = (hi + Math.imul(ah5, bh1)) | 0; + lo = (lo + Math.imul(al4, bl2)) | 0; + mid = (mid + Math.imul(al4, bh2)) | 0; + mid = (mid + Math.imul(ah4, bl2)) | 0; + hi = (hi + Math.imul(ah4, bh2)) | 0; + lo = (lo + Math.imul(al3, bl3)) | 0; + mid = (mid + Math.imul(al3, bh3)) | 0; + mid = (mid + Math.imul(ah3, bl3)) | 0; + hi = (hi + Math.imul(ah3, bh3)) | 0; + lo = (lo + Math.imul(al2, bl4)) | 0; + mid = (mid + Math.imul(al2, bh4)) | 0; + mid = (mid + Math.imul(ah2, bl4)) | 0; + hi = (hi + Math.imul(ah2, bh4)) | 0; + lo = (lo + Math.imul(al1, bl5)) | 0; + mid = (mid + Math.imul(al1, bh5)) | 0; + mid = (mid + Math.imul(ah1, bl5)) | 0; + hi = (hi + Math.imul(ah1, bh5)) | 0; + lo = (lo + Math.imul(al0, bl6)) | 0; + mid = (mid + Math.imul(al0, bh6)) | 0; + mid = (mid + Math.imul(ah0, bl6)) | 0; + hi = (hi + Math.imul(ah0, bh6)) | 0; + var w6 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0; w6 &= 67108863; lo = Math.imul(al7, bl0); mid = Math.imul(al7, bh0); - mid = mid + Math.imul(ah7, bl0) | 0; + mid = (mid + Math.imul(ah7, bl0)) | 0; hi = Math.imul(ah7, bh0); - lo = lo + Math.imul(al6, bl1) | 0; - mid = mid + Math.imul(al6, bh1) | 0; - mid = mid + Math.imul(ah6, bl1) | 0; - hi = hi + Math.imul(ah6, bh1) | 0; - lo = lo + Math.imul(al5, bl2) | 0; - mid = mid + Math.imul(al5, bh2) | 0; - mid = mid + Math.imul(ah5, bl2) | 0; - hi = hi + Math.imul(ah5, bh2) | 0; - lo = lo + Math.imul(al4, bl3) | 0; - mid = mid + Math.imul(al4, bh3) | 0; - mid = mid + Math.imul(ah4, bl3) | 0; - hi = hi + Math.imul(ah4, bh3) | 0; - lo = lo + Math.imul(al3, bl4) | 0; - mid = mid + Math.imul(al3, bh4) | 0; - mid = mid + Math.imul(ah3, bl4) | 0; - hi = hi + Math.imul(ah3, bh4) | 0; - lo = lo + Math.imul(al2, bl5) | 0; - mid = mid + Math.imul(al2, bh5) | 0; - mid = mid + Math.imul(ah2, bl5) | 0; - hi = hi + Math.imul(ah2, bh5) | 0; - lo = lo + Math.imul(al1, bl6) | 0; - mid = mid + Math.imul(al1, bh6) | 0; - mid = mid + Math.imul(ah1, bl6) | 0; - hi = hi + Math.imul(ah1, bh6) | 0; - lo = lo + Math.imul(al0, bl7) | 0; - mid = mid + Math.imul(al0, bh7) | 0; - mid = mid + Math.imul(ah0, bl7) | 0; - hi = hi + Math.imul(ah0, bh7) | 0; - var w7 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w7 >>> 26) | 0; + lo = (lo + Math.imul(al6, bl1)) | 0; + mid = (mid + Math.imul(al6, bh1)) | 0; + mid = (mid + Math.imul(ah6, bl1)) | 0; + hi = (hi + Math.imul(ah6, bh1)) | 0; + lo = (lo + Math.imul(al5, bl2)) | 0; + mid = (mid + Math.imul(al5, bh2)) | 0; + mid = (mid + Math.imul(ah5, bl2)) | 0; + hi = (hi + Math.imul(ah5, bh2)) | 0; + lo = (lo + Math.imul(al4, bl3)) | 0; + mid = (mid + Math.imul(al4, bh3)) | 0; + mid = (mid + Math.imul(ah4, bl3)) | 0; + hi = (hi + Math.imul(ah4, bh3)) | 0; + lo = (lo + Math.imul(al3, bl4)) | 0; + mid = (mid + Math.imul(al3, bh4)) | 0; + mid = (mid + Math.imul(ah3, bl4)) | 0; + hi = (hi + Math.imul(ah3, bh4)) | 0; + lo = (lo + Math.imul(al2, bl5)) | 0; + mid = (mid + Math.imul(al2, bh5)) | 0; + mid = (mid + Math.imul(ah2, bl5)) | 0; + hi = (hi + Math.imul(ah2, bh5)) | 0; + lo = (lo + Math.imul(al1, bl6)) | 0; + mid = (mid + Math.imul(al1, bh6)) | 0; + mid = (mid + Math.imul(ah1, bl6)) | 0; + hi = (hi + Math.imul(ah1, bh6)) | 0; + lo = (lo + Math.imul(al0, bl7)) | 0; + mid = (mid + Math.imul(al0, bh7)) | 0; + mid = (mid + Math.imul(ah0, bl7)) | 0; + hi = (hi + Math.imul(ah0, bh7)) | 0; + var w7 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0; w7 &= 67108863; lo = Math.imul(al8, bl0); mid = Math.imul(al8, bh0); - mid = mid + Math.imul(ah8, bl0) | 0; + mid = (mid + Math.imul(ah8, bl0)) | 0; hi = Math.imul(ah8, bh0); - lo = lo + Math.imul(al7, bl1) | 0; - mid = mid + Math.imul(al7, bh1) | 0; - mid = mid + Math.imul(ah7, bl1) | 0; - hi = hi + Math.imul(ah7, bh1) | 0; - lo = lo + Math.imul(al6, bl2) | 0; - mid = mid + Math.imul(al6, bh2) | 0; - mid = mid + Math.imul(ah6, bl2) | 0; - hi = hi + Math.imul(ah6, bh2) | 0; - lo = lo + Math.imul(al5, bl3) | 0; - mid = mid + Math.imul(al5, bh3) | 0; - mid = mid + Math.imul(ah5, bl3) | 0; - hi = hi + Math.imul(ah5, bh3) | 0; - lo = lo + Math.imul(al4, bl4) | 0; - mid = mid + Math.imul(al4, bh4) | 0; - mid = mid + Math.imul(ah4, bl4) | 0; - hi = hi + Math.imul(ah4, bh4) | 0; - lo = lo + Math.imul(al3, bl5) | 0; - mid = mid + Math.imul(al3, bh5) | 0; - mid = mid + Math.imul(ah3, bl5) | 0; - hi = hi + Math.imul(ah3, bh5) | 0; - lo = lo + Math.imul(al2, bl6) | 0; - mid = mid + Math.imul(al2, bh6) | 0; - mid = mid + Math.imul(ah2, bl6) | 0; - hi = hi + Math.imul(ah2, bh6) | 0; - lo = lo + Math.imul(al1, bl7) | 0; - mid = mid + Math.imul(al1, bh7) | 0; - mid = mid + Math.imul(ah1, bl7) | 0; - hi = hi + Math.imul(ah1, bh7) | 0; - lo = lo + Math.imul(al0, bl8) | 0; - mid = mid + Math.imul(al0, bh8) | 0; - mid = mid + Math.imul(ah0, bl8) | 0; - hi = hi + Math.imul(ah0, bh8) | 0; - var w8 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w8 >>> 26) | 0; + lo = (lo + Math.imul(al7, bl1)) | 0; + mid = (mid + Math.imul(al7, bh1)) | 0; + mid = (mid + Math.imul(ah7, bl1)) | 0; + hi = (hi + Math.imul(ah7, bh1)) | 0; + lo = (lo + Math.imul(al6, bl2)) | 0; + mid = (mid + Math.imul(al6, bh2)) | 0; + mid = (mid + Math.imul(ah6, bl2)) | 0; + hi = (hi + Math.imul(ah6, bh2)) | 0; + lo = (lo + Math.imul(al5, bl3)) | 0; + mid = (mid + Math.imul(al5, bh3)) | 0; + mid = (mid + Math.imul(ah5, bl3)) | 0; + hi = (hi + Math.imul(ah5, bh3)) | 0; + lo = (lo + Math.imul(al4, bl4)) | 0; + mid = (mid + Math.imul(al4, bh4)) | 0; + mid = (mid + Math.imul(ah4, bl4)) | 0; + hi = (hi + Math.imul(ah4, bh4)) | 0; + lo = (lo + Math.imul(al3, bl5)) | 0; + mid = (mid + Math.imul(al3, bh5)) | 0; + mid = (mid + Math.imul(ah3, bl5)) | 0; + hi = (hi + Math.imul(ah3, bh5)) | 0; + lo = (lo + Math.imul(al2, bl6)) | 0; + mid = (mid + Math.imul(al2, bh6)) | 0; + mid = (mid + Math.imul(ah2, bl6)) | 0; + hi = (hi + Math.imul(ah2, bh6)) | 0; + lo = (lo + Math.imul(al1, bl7)) | 0; + mid = (mid + Math.imul(al1, bh7)) | 0; + mid = (mid + Math.imul(ah1, bl7)) | 0; + hi = (hi + Math.imul(ah1, bh7)) | 0; + lo = (lo + Math.imul(al0, bl8)) | 0; + mid = (mid + Math.imul(al0, bh8)) | 0; + mid = (mid + Math.imul(ah0, bl8)) | 0; + hi = (hi + Math.imul(ah0, bh8)) | 0; + var w8 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0; w8 &= 67108863; lo = Math.imul(al9, bl0); mid = Math.imul(al9, bh0); - mid = mid + Math.imul(ah9, bl0) | 0; + mid = (mid + Math.imul(ah9, bl0)) | 0; hi = Math.imul(ah9, bh0); - lo = lo + Math.imul(al8, bl1) | 0; - mid = mid + Math.imul(al8, bh1) | 0; - mid = mid + Math.imul(ah8, bl1) | 0; - hi = hi + Math.imul(ah8, bh1) | 0; - lo = lo + Math.imul(al7, bl2) | 0; - mid = mid + Math.imul(al7, bh2) | 0; - mid = mid + Math.imul(ah7, bl2) | 0; - hi = hi + Math.imul(ah7, bh2) | 0; - lo = lo + Math.imul(al6, bl3) | 0; - mid = mid + Math.imul(al6, bh3) | 0; - mid = mid + Math.imul(ah6, bl3) | 0; - hi = hi + Math.imul(ah6, bh3) | 0; - lo = lo + Math.imul(al5, bl4) | 0; - mid = mid + Math.imul(al5, bh4) | 0; - mid = mid + Math.imul(ah5, bl4) | 0; - hi = hi + Math.imul(ah5, bh4) | 0; - lo = lo + Math.imul(al4, bl5) | 0; - mid = mid + Math.imul(al4, bh5) | 0; - mid = mid + Math.imul(ah4, bl5) | 0; - hi = hi + Math.imul(ah4, bh5) | 0; - lo = lo + Math.imul(al3, bl6) | 0; - mid = mid + Math.imul(al3, bh6) | 0; - mid = mid + Math.imul(ah3, bl6) | 0; - hi = hi + Math.imul(ah3, bh6) | 0; - lo = lo + Math.imul(al2, bl7) | 0; - mid = mid + Math.imul(al2, bh7) | 0; - mid = mid + Math.imul(ah2, bl7) | 0; - hi = hi + Math.imul(ah2, bh7) | 0; - lo = lo + Math.imul(al1, bl8) | 0; - mid = mid + Math.imul(al1, bh8) | 0; - mid = mid + Math.imul(ah1, bl8) | 0; - hi = hi + Math.imul(ah1, bh8) | 0; - lo = lo + Math.imul(al0, bl9) | 0; - mid = mid + Math.imul(al0, bh9) | 0; - mid = mid + Math.imul(ah0, bl9) | 0; - hi = hi + Math.imul(ah0, bh9) | 0; - var w9 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w9 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl1)) | 0; + mid = (mid + Math.imul(al8, bh1)) | 0; + mid = (mid + Math.imul(ah8, bl1)) | 0; + hi = (hi + Math.imul(ah8, bh1)) | 0; + lo = (lo + Math.imul(al7, bl2)) | 0; + mid = (mid + Math.imul(al7, bh2)) | 0; + mid = (mid + Math.imul(ah7, bl2)) | 0; + hi = (hi + Math.imul(ah7, bh2)) | 0; + lo = (lo + Math.imul(al6, bl3)) | 0; + mid = (mid + Math.imul(al6, bh3)) | 0; + mid = (mid + Math.imul(ah6, bl3)) | 0; + hi = (hi + Math.imul(ah6, bh3)) | 0; + lo = (lo + Math.imul(al5, bl4)) | 0; + mid = (mid + Math.imul(al5, bh4)) | 0; + mid = (mid + Math.imul(ah5, bl4)) | 0; + hi = (hi + Math.imul(ah5, bh4)) | 0; + lo = (lo + Math.imul(al4, bl5)) | 0; + mid = (mid + Math.imul(al4, bh5)) | 0; + mid = (mid + Math.imul(ah4, bl5)) | 0; + hi = (hi + Math.imul(ah4, bh5)) | 0; + lo = (lo + Math.imul(al3, bl6)) | 0; + mid = (mid + Math.imul(al3, bh6)) | 0; + mid = (mid + Math.imul(ah3, bl6)) | 0; + hi = (hi + Math.imul(ah3, bh6)) | 0; + lo = (lo + Math.imul(al2, bl7)) | 0; + mid = (mid + Math.imul(al2, bh7)) | 0; + mid = (mid + Math.imul(ah2, bl7)) | 0; + hi = (hi + Math.imul(ah2, bh7)) | 0; + lo = (lo + Math.imul(al1, bl8)) | 0; + mid = (mid + Math.imul(al1, bh8)) | 0; + mid = (mid + Math.imul(ah1, bl8)) | 0; + hi = (hi + Math.imul(ah1, bh8)) | 0; + lo = (lo + Math.imul(al0, bl9)) | 0; + mid = (mid + Math.imul(al0, bh9)) | 0; + mid = (mid + Math.imul(ah0, bl9)) | 0; + hi = (hi + Math.imul(ah0, bh9)) | 0; + var w9 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0; w9 &= 67108863; lo = Math.imul(al9, bl1); mid = Math.imul(al9, bh1); - mid = mid + Math.imul(ah9, bl1) | 0; + mid = (mid + Math.imul(ah9, bl1)) | 0; hi = Math.imul(ah9, bh1); - lo = lo + Math.imul(al8, bl2) | 0; - mid = mid + Math.imul(al8, bh2) | 0; - mid = mid + Math.imul(ah8, bl2) | 0; - hi = hi + Math.imul(ah8, bh2) | 0; - lo = lo + Math.imul(al7, bl3) | 0; - mid = mid + Math.imul(al7, bh3) | 0; - mid = mid + Math.imul(ah7, bl3) | 0; - hi = hi + Math.imul(ah7, bh3) | 0; - lo = lo + Math.imul(al6, bl4) | 0; - mid = mid + Math.imul(al6, bh4) | 0; - mid = mid + Math.imul(ah6, bl4) | 0; - hi = hi + Math.imul(ah6, bh4) | 0; - lo = lo + Math.imul(al5, bl5) | 0; - mid = mid + Math.imul(al5, bh5) | 0; - mid = mid + Math.imul(ah5, bl5) | 0; - hi = hi + Math.imul(ah5, bh5) | 0; - lo = lo + Math.imul(al4, bl6) | 0; - mid = mid + Math.imul(al4, bh6) | 0; - mid = mid + Math.imul(ah4, bl6) | 0; - hi = hi + Math.imul(ah4, bh6) | 0; - lo = lo + Math.imul(al3, bl7) | 0; - mid = mid + Math.imul(al3, bh7) | 0; - mid = mid + Math.imul(ah3, bl7) | 0; - hi = hi + Math.imul(ah3, bh7) | 0; - lo = lo + Math.imul(al2, bl8) | 0; - mid = mid + Math.imul(al2, bh8) | 0; - mid = mid + Math.imul(ah2, bl8) | 0; - hi = hi + Math.imul(ah2, bh8) | 0; - lo = lo + Math.imul(al1, bl9) | 0; - mid = mid + Math.imul(al1, bh9) | 0; - mid = mid + Math.imul(ah1, bl9) | 0; - hi = hi + Math.imul(ah1, bh9) | 0; - var w10 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w10 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl2)) | 0; + mid = (mid + Math.imul(al8, bh2)) | 0; + mid = (mid + Math.imul(ah8, bl2)) | 0; + hi = (hi + Math.imul(ah8, bh2)) | 0; + lo = (lo + Math.imul(al7, bl3)) | 0; + mid = (mid + Math.imul(al7, bh3)) | 0; + mid = (mid + Math.imul(ah7, bl3)) | 0; + hi = (hi + Math.imul(ah7, bh3)) | 0; + lo = (lo + Math.imul(al6, bl4)) | 0; + mid = (mid + Math.imul(al6, bh4)) | 0; + mid = (mid + Math.imul(ah6, bl4)) | 0; + hi = (hi + Math.imul(ah6, bh4)) | 0; + lo = (lo + Math.imul(al5, bl5)) | 0; + mid = (mid + Math.imul(al5, bh5)) | 0; + mid = (mid + Math.imul(ah5, bl5)) | 0; + hi = (hi + Math.imul(ah5, bh5)) | 0; + lo = (lo + Math.imul(al4, bl6)) | 0; + mid = (mid + Math.imul(al4, bh6)) | 0; + mid = (mid + Math.imul(ah4, bl6)) | 0; + hi = (hi + Math.imul(ah4, bh6)) | 0; + lo = (lo + Math.imul(al3, bl7)) | 0; + mid = (mid + Math.imul(al3, bh7)) | 0; + mid = (mid + Math.imul(ah3, bl7)) | 0; + hi = (hi + Math.imul(ah3, bh7)) | 0; + lo = (lo + Math.imul(al2, bl8)) | 0; + mid = (mid + Math.imul(al2, bh8)) | 0; + mid = (mid + Math.imul(ah2, bl8)) | 0; + hi = (hi + Math.imul(ah2, bh8)) | 0; + lo = (lo + Math.imul(al1, bl9)) | 0; + mid = (mid + Math.imul(al1, bh9)) | 0; + mid = (mid + Math.imul(ah1, bl9)) | 0; + hi = (hi + Math.imul(ah1, bh9)) | 0; + var w10 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0; w10 &= 67108863; lo = Math.imul(al9, bl2); mid = Math.imul(al9, bh2); - mid = mid + Math.imul(ah9, bl2) | 0; + mid = (mid + Math.imul(ah9, bl2)) | 0; hi = Math.imul(ah9, bh2); - lo = lo + Math.imul(al8, bl3) | 0; - mid = mid + Math.imul(al8, bh3) | 0; - mid = mid + Math.imul(ah8, bl3) | 0; - hi = hi + Math.imul(ah8, bh3) | 0; - lo = lo + Math.imul(al7, bl4) | 0; - mid = mid + Math.imul(al7, bh4) | 0; - mid = mid + Math.imul(ah7, bl4) | 0; - hi = hi + Math.imul(ah7, bh4) | 0; - lo = lo + Math.imul(al6, bl5) | 0; - mid = mid + Math.imul(al6, bh5) | 0; - mid = mid + Math.imul(ah6, bl5) | 0; - hi = hi + Math.imul(ah6, bh5) | 0; - lo = lo + Math.imul(al5, bl6) | 0; - mid = mid + Math.imul(al5, bh6) | 0; - mid = mid + Math.imul(ah5, bl6) | 0; - hi = hi + Math.imul(ah5, bh6) | 0; - lo = lo + Math.imul(al4, bl7) | 0; - mid = mid + Math.imul(al4, bh7) | 0; - mid = mid + Math.imul(ah4, bl7) | 0; - hi = hi + Math.imul(ah4, bh7) | 0; - lo = lo + Math.imul(al3, bl8) | 0; - mid = mid + Math.imul(al3, bh8) | 0; - mid = mid + Math.imul(ah3, bl8) | 0; - hi = hi + Math.imul(ah3, bh8) | 0; - lo = lo + Math.imul(al2, bl9) | 0; - mid = mid + Math.imul(al2, bh9) | 0; - mid = mid + Math.imul(ah2, bl9) | 0; - hi = hi + Math.imul(ah2, bh9) | 0; - var w11 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w11 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl3)) | 0; + mid = (mid + Math.imul(al8, bh3)) | 0; + mid = (mid + Math.imul(ah8, bl3)) | 0; + hi = (hi + Math.imul(ah8, bh3)) | 0; + lo = (lo + Math.imul(al7, bl4)) | 0; + mid = (mid + Math.imul(al7, bh4)) | 0; + mid = (mid + Math.imul(ah7, bl4)) | 0; + hi = (hi + Math.imul(ah7, bh4)) | 0; + lo = (lo + Math.imul(al6, bl5)) | 0; + mid = (mid + Math.imul(al6, bh5)) | 0; + mid = (mid + Math.imul(ah6, bl5)) | 0; + hi = (hi + Math.imul(ah6, bh5)) | 0; + lo = (lo + Math.imul(al5, bl6)) | 0; + mid = (mid + Math.imul(al5, bh6)) | 0; + mid = (mid + Math.imul(ah5, bl6)) | 0; + hi = (hi + Math.imul(ah5, bh6)) | 0; + lo = (lo + Math.imul(al4, bl7)) | 0; + mid = (mid + Math.imul(al4, bh7)) | 0; + mid = (mid + Math.imul(ah4, bl7)) | 0; + hi = (hi + Math.imul(ah4, bh7)) | 0; + lo = (lo + Math.imul(al3, bl8)) | 0; + mid = (mid + Math.imul(al3, bh8)) | 0; + mid = (mid + Math.imul(ah3, bl8)) | 0; + hi = (hi + Math.imul(ah3, bh8)) | 0; + lo = (lo + Math.imul(al2, bl9)) | 0; + mid = (mid + Math.imul(al2, bh9)) | 0; + mid = (mid + Math.imul(ah2, bl9)) | 0; + hi = (hi + Math.imul(ah2, bh9)) | 0; + var w11 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0; w11 &= 67108863; lo = Math.imul(al9, bl3); mid = Math.imul(al9, bh3); - mid = mid + Math.imul(ah9, bl3) | 0; + mid = (mid + Math.imul(ah9, bl3)) | 0; hi = Math.imul(ah9, bh3); - lo = lo + Math.imul(al8, bl4) | 0; - mid = mid + Math.imul(al8, bh4) | 0; - mid = mid + Math.imul(ah8, bl4) | 0; - hi = hi + Math.imul(ah8, bh4) | 0; - lo = lo + Math.imul(al7, bl5) | 0; - mid = mid + Math.imul(al7, bh5) | 0; - mid = mid + Math.imul(ah7, bl5) | 0; - hi = hi + Math.imul(ah7, bh5) | 0; - lo = lo + Math.imul(al6, bl6) | 0; - mid = mid + Math.imul(al6, bh6) | 0; - mid = mid + Math.imul(ah6, bl6) | 0; - hi = hi + Math.imul(ah6, bh6) | 0; - lo = lo + Math.imul(al5, bl7) | 0; - mid = mid + Math.imul(al5, bh7) | 0; - mid = mid + Math.imul(ah5, bl7) | 0; - hi = hi + Math.imul(ah5, bh7) | 0; - lo = lo + Math.imul(al4, bl8) | 0; - mid = mid + Math.imul(al4, bh8) | 0; - mid = mid + Math.imul(ah4, bl8) | 0; - hi = hi + Math.imul(ah4, bh8) | 0; - lo = lo + Math.imul(al3, bl9) | 0; - mid = mid + Math.imul(al3, bh9) | 0; - mid = mid + Math.imul(ah3, bl9) | 0; - hi = hi + Math.imul(ah3, bh9) | 0; - var w12 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w12 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl4)) | 0; + mid = (mid + Math.imul(al8, bh4)) | 0; + mid = (mid + Math.imul(ah8, bl4)) | 0; + hi = (hi + Math.imul(ah8, bh4)) | 0; + lo = (lo + Math.imul(al7, bl5)) | 0; + mid = (mid + Math.imul(al7, bh5)) | 0; + mid = (mid + Math.imul(ah7, bl5)) | 0; + hi = (hi + Math.imul(ah7, bh5)) | 0; + lo = (lo + Math.imul(al6, bl6)) | 0; + mid = (mid + Math.imul(al6, bh6)) | 0; + mid = (mid + Math.imul(ah6, bl6)) | 0; + hi = (hi + Math.imul(ah6, bh6)) | 0; + lo = (lo + Math.imul(al5, bl7)) | 0; + mid = (mid + Math.imul(al5, bh7)) | 0; + mid = (mid + Math.imul(ah5, bl7)) | 0; + hi = (hi + Math.imul(ah5, bh7)) | 0; + lo = (lo + Math.imul(al4, bl8)) | 0; + mid = (mid + Math.imul(al4, bh8)) | 0; + mid = (mid + Math.imul(ah4, bl8)) | 0; + hi = (hi + Math.imul(ah4, bh8)) | 0; + lo = (lo + Math.imul(al3, bl9)) | 0; + mid = (mid + Math.imul(al3, bh9)) | 0; + mid = (mid + Math.imul(ah3, bl9)) | 0; + hi = (hi + Math.imul(ah3, bh9)) | 0; + var w12 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0; w12 &= 67108863; lo = Math.imul(al9, bl4); mid = Math.imul(al9, bh4); - mid = mid + Math.imul(ah9, bl4) | 0; + mid = (mid + Math.imul(ah9, bl4)) | 0; hi = Math.imul(ah9, bh4); - lo = lo + Math.imul(al8, bl5) | 0; - mid = mid + Math.imul(al8, bh5) | 0; - mid = mid + Math.imul(ah8, bl5) | 0; - hi = hi + Math.imul(ah8, bh5) | 0; - lo = lo + Math.imul(al7, bl6) | 0; - mid = mid + Math.imul(al7, bh6) | 0; - mid = mid + Math.imul(ah7, bl6) | 0; - hi = hi + Math.imul(ah7, bh6) | 0; - lo = lo + Math.imul(al6, bl7) | 0; - mid = mid + Math.imul(al6, bh7) | 0; - mid = mid + Math.imul(ah6, bl7) | 0; - hi = hi + Math.imul(ah6, bh7) | 0; - lo = lo + Math.imul(al5, bl8) | 0; - mid = mid + Math.imul(al5, bh8) | 0; - mid = mid + Math.imul(ah5, bl8) | 0; - hi = hi + Math.imul(ah5, bh8) | 0; - lo = lo + Math.imul(al4, bl9) | 0; - mid = mid + Math.imul(al4, bh9) | 0; - mid = mid + Math.imul(ah4, bl9) | 0; - hi = hi + Math.imul(ah4, bh9) | 0; - var w13 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w13 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl5)) | 0; + mid = (mid + Math.imul(al8, bh5)) | 0; + mid = (mid + Math.imul(ah8, bl5)) | 0; + hi = (hi + Math.imul(ah8, bh5)) | 0; + lo = (lo + Math.imul(al7, bl6)) | 0; + mid = (mid + Math.imul(al7, bh6)) | 0; + mid = (mid + Math.imul(ah7, bl6)) | 0; + hi = (hi + Math.imul(ah7, bh6)) | 0; + lo = (lo + Math.imul(al6, bl7)) | 0; + mid = (mid + Math.imul(al6, bh7)) | 0; + mid = (mid + Math.imul(ah6, bl7)) | 0; + hi = (hi + Math.imul(ah6, bh7)) | 0; + lo = (lo + Math.imul(al5, bl8)) | 0; + mid = (mid + Math.imul(al5, bh8)) | 0; + mid = (mid + Math.imul(ah5, bl8)) | 0; + hi = (hi + Math.imul(ah5, bh8)) | 0; + lo = (lo + Math.imul(al4, bl9)) | 0; + mid = (mid + Math.imul(al4, bh9)) | 0; + mid = (mid + Math.imul(ah4, bl9)) | 0; + hi = (hi + Math.imul(ah4, bh9)) | 0; + var w13 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0; w13 &= 67108863; lo = Math.imul(al9, bl5); mid = Math.imul(al9, bh5); - mid = mid + Math.imul(ah9, bl5) | 0; + mid = (mid + Math.imul(ah9, bl5)) | 0; hi = Math.imul(ah9, bh5); - lo = lo + Math.imul(al8, bl6) | 0; - mid = mid + Math.imul(al8, bh6) | 0; - mid = mid + Math.imul(ah8, bl6) | 0; - hi = hi + Math.imul(ah8, bh6) | 0; - lo = lo + Math.imul(al7, bl7) | 0; - mid = mid + Math.imul(al7, bh7) | 0; - mid = mid + Math.imul(ah7, bl7) | 0; - hi = hi + Math.imul(ah7, bh7) | 0; - lo = lo + Math.imul(al6, bl8) | 0; - mid = mid + Math.imul(al6, bh8) | 0; - mid = mid + Math.imul(ah6, bl8) | 0; - hi = hi + Math.imul(ah6, bh8) | 0; - lo = lo + Math.imul(al5, bl9) | 0; - mid = mid + Math.imul(al5, bh9) | 0; - mid = mid + Math.imul(ah5, bl9) | 0; - hi = hi + Math.imul(ah5, bh9) | 0; - var w14 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w14 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl6)) | 0; + mid = (mid + Math.imul(al8, bh6)) | 0; + mid = (mid + Math.imul(ah8, bl6)) | 0; + hi = (hi + Math.imul(ah8, bh6)) | 0; + lo = (lo + Math.imul(al7, bl7)) | 0; + mid = (mid + Math.imul(al7, bh7)) | 0; + mid = (mid + Math.imul(ah7, bl7)) | 0; + hi = (hi + Math.imul(ah7, bh7)) | 0; + lo = (lo + Math.imul(al6, bl8)) | 0; + mid = (mid + Math.imul(al6, bh8)) | 0; + mid = (mid + Math.imul(ah6, bl8)) | 0; + hi = (hi + Math.imul(ah6, bh8)) | 0; + lo = (lo + Math.imul(al5, bl9)) | 0; + mid = (mid + Math.imul(al5, bh9)) | 0; + mid = (mid + Math.imul(ah5, bl9)) | 0; + hi = (hi + Math.imul(ah5, bh9)) | 0; + var w14 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0; w14 &= 67108863; lo = Math.imul(al9, bl6); mid = Math.imul(al9, bh6); - mid = mid + Math.imul(ah9, bl6) | 0; + mid = (mid + Math.imul(ah9, bl6)) | 0; hi = Math.imul(ah9, bh6); - lo = lo + Math.imul(al8, bl7) | 0; - mid = mid + Math.imul(al8, bh7) | 0; - mid = mid + Math.imul(ah8, bl7) | 0; - hi = hi + Math.imul(ah8, bh7) | 0; - lo = lo + Math.imul(al7, bl8) | 0; - mid = mid + Math.imul(al7, bh8) | 0; - mid = mid + Math.imul(ah7, bl8) | 0; - hi = hi + Math.imul(ah7, bh8) | 0; - lo = lo + Math.imul(al6, bl9) | 0; - mid = mid + Math.imul(al6, bh9) | 0; - mid = mid + Math.imul(ah6, bl9) | 0; - hi = hi + Math.imul(ah6, bh9) | 0; - var w15 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w15 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl7)) | 0; + mid = (mid + Math.imul(al8, bh7)) | 0; + mid = (mid + Math.imul(ah8, bl7)) | 0; + hi = (hi + Math.imul(ah8, bh7)) | 0; + lo = (lo + Math.imul(al7, bl8)) | 0; + mid = (mid + Math.imul(al7, bh8)) | 0; + mid = (mid + Math.imul(ah7, bl8)) | 0; + hi = (hi + Math.imul(ah7, bh8)) | 0; + lo = (lo + Math.imul(al6, bl9)) | 0; + mid = (mid + Math.imul(al6, bh9)) | 0; + mid = (mid + Math.imul(ah6, bl9)) | 0; + hi = (hi + Math.imul(ah6, bh9)) | 0; + var w15 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0; w15 &= 67108863; lo = Math.imul(al9, bl7); mid = Math.imul(al9, bh7); - mid = mid + Math.imul(ah9, bl7) | 0; + mid = (mid + Math.imul(ah9, bl7)) | 0; hi = Math.imul(ah9, bh7); - lo = lo + Math.imul(al8, bl8) | 0; - mid = mid + Math.imul(al8, bh8) | 0; - mid = mid + Math.imul(ah8, bl8) | 0; - hi = hi + Math.imul(ah8, bh8) | 0; - lo = lo + Math.imul(al7, bl9) | 0; - mid = mid + Math.imul(al7, bh9) | 0; - mid = mid + Math.imul(ah7, bl9) | 0; - hi = hi + Math.imul(ah7, bh9) | 0; - var w16 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w16 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl8)) | 0; + mid = (mid + Math.imul(al8, bh8)) | 0; + mid = (mid + Math.imul(ah8, bl8)) | 0; + hi = (hi + Math.imul(ah8, bh8)) | 0; + lo = (lo + Math.imul(al7, bl9)) | 0; + mid = (mid + Math.imul(al7, bh9)) | 0; + mid = (mid + Math.imul(ah7, bl9)) | 0; + hi = (hi + Math.imul(ah7, bh9)) | 0; + var w16 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0; w16 &= 67108863; lo = Math.imul(al9, bl8); mid = Math.imul(al9, bh8); - mid = mid + Math.imul(ah9, bl8) | 0; + mid = (mid + Math.imul(ah9, bl8)) | 0; hi = Math.imul(ah9, bh8); - lo = lo + Math.imul(al8, bl9) | 0; - mid = mid + Math.imul(al8, bh9) | 0; - mid = mid + Math.imul(ah8, bl9) | 0; - hi = hi + Math.imul(ah8, bh9) | 0; - var w17 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w17 >>> 26) | 0; + lo = (lo + Math.imul(al8, bl9)) | 0; + mid = (mid + Math.imul(al8, bh9)) | 0; + mid = (mid + Math.imul(ah8, bl9)) | 0; + hi = (hi + Math.imul(ah8, bh9)) | 0; + var w17 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0; w17 &= 67108863; lo = Math.imul(al9, bl9); mid = Math.imul(al9, bh9); - mid = mid + Math.imul(ah9, bl9) | 0; + mid = (mid + Math.imul(ah9, bl9)) | 0; hi = Math.imul(ah9, bh9); - var w18 = (c + lo | 0) + ((mid & 8191) << 13) | 0; - c = (hi + (mid >>> 13) | 0) + (w18 >>> 26) | 0; + var w18 = (((c + lo) | 0) + ((mid & 8191) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0; w18 &= 67108863; o[0] = w0; o[1] = w1; @@ -1962,10 +1967,10 @@ var require_bn = __commonJS({ var b = num.words[j] | 0; var r = a * b; var lo = r & 67108863; - ncarry = ncarry + (r / 67108864 | 0) | 0; - lo = lo + rword | 0; + ncarry = (ncarry + ((r / 67108864) | 0)) | 0; + lo = (lo + rword) | 0; rword = lo & 67108863; - ncarry = ncarry + (lo >>> 26) | 0; + ncarry = (ncarry + (lo >>> 26)) | 0; hncarry += ncarry >>> 26; ncarry &= 67108863; } @@ -2011,11 +2016,10 @@ var require_bn = __commonJS({ return t; }; FFTM.prototype.revBin = function revBin(x, l, N) { - if (x === 0 || x === N - 1) - return x; + if (x === 0 || x === N - 1) return x; var rb = 0; for (var i = 0; i < l; i++) { - rb |= (x & 1) << l - i - 1; + rb |= (x & 1) << (l - i - 1); x >>= 1; } return rb; @@ -2030,8 +2034,8 @@ var require_bn = __commonJS({ this.permute(rbt, rws, iws, rtws, itws, N); for (var s = 1; s < N; s <<= 1) { var l = s << 1; - var rtwdf = Math.cos(2 * Math.PI / l); - var itwdf = Math.sin(2 * Math.PI / l); + var rtwdf = Math.cos((2 * Math.PI) / l); + var itwdf = Math.sin((2 * Math.PI) / l); for (var p = 0; p < N; p += l) { var rtwdf_ = rtwdf; var itwdf_ = itwdf; @@ -2060,14 +2064,13 @@ var require_bn = __commonJS({ var N = Math.max(m, n) | 1; var odd = N & 1; var i = 0; - for (N = N / 2 | 0; N; N = N >>> 1) { + for (N = (N / 2) | 0; N; N = N >>> 1) { i++; } - return 1 << i + 1 + odd; + return 1 << (i + 1 + odd); }; FFTM.prototype.conjugate = function conjugate(rws, iws, N) { - if (N <= 1) - return; + if (N <= 1) return; for (var i = 0; i < N / 2; i++) { var t = rws[i]; rws[i] = rws[N - i - 1]; @@ -2085,7 +2088,7 @@ var require_bn = __commonJS({ if (w < 67108864) { carry = 0; } else { - carry = w / 67108864 | 0; + carry = (w / 67108864) | 0; } } return ws; @@ -2155,14 +2158,14 @@ var require_bn = __commonJS({ return this.clone().mulTo(num, this); }; BN.prototype.imuln = function imuln(num) { - assert(typeof num === "number"); + assert(typeof num === 'number'); assert(num < 67108864); var carry = 0; for (var i = 0; i < this.length; i++) { var w = (this.words[i] | 0) * num; var lo = (w & 67108863) + (carry & 67108863); carry >>= 26; - carry += w / 67108864 | 0; + carry += (w / 67108864) | 0; carry += lo >>> 26; this.words[i] = lo & 67108863; } @@ -2183,35 +2186,32 @@ var require_bn = __commonJS({ }; BN.prototype.pow = function pow(num) { var w = toBitArray(num); - if (w.length === 0) - return new BN(1); + if (w.length === 0) return new BN(1); var res = this; for (var i = 0; i < w.length; i++, res = res.sqr()) { - if (w[i] !== 0) - break; + if (w[i] !== 0) break; } if (++i < w.length) { for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) { - if (w[i] === 0) - continue; + if (w[i] === 0) continue; res = res.mul(q); } } return res; }; BN.prototype.iushln = function iushln(bits) { - assert(typeof bits === "number" && bits >= 0); + assert(typeof bits === 'number' && bits >= 0); var r = bits % 26; var s = (bits - r) / 26; - var carryMask = 67108863 >>> 26 - r << 26 - r; + var carryMask = (67108863 >>> (26 - r)) << (26 - r); var i; if (r !== 0) { var carry = 0; for (i = 0; i < this.length; i++) { var newCarry = this.words[i] & carryMask; - var c = (this.words[i] | 0) - newCarry << r; + var c = ((this.words[i] | 0) - newCarry) << r; this.words[i] = c | carry; - carry = newCarry >>> 26 - r; + carry = newCarry >>> (26 - r); } if (carry) { this.words[i] = carry; @@ -2234,16 +2234,16 @@ var require_bn = __commonJS({ return this.iushln(bits); }; BN.prototype.iushrn = function iushrn(bits, hint, extended) { - assert(typeof bits === "number" && bits >= 0); + assert(typeof bits === 'number' && bits >= 0); var h; if (hint) { - h = (hint - hint % 26) / 26; + h = (hint - (hint % 26)) / 26; } else { h = 0; } var r = bits % 26; var s = Math.min((bits - r) / 26, this.length); - var mask = 67108863 ^ 67108863 >>> r << r; + var mask = 67108863 ^ ((67108863 >>> r) << r); var maskedWords = extended; h -= s; h = Math.max(0, h); @@ -2266,7 +2266,7 @@ var require_bn = __commonJS({ var carry = 0; for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) { var word = this.words[i] | 0; - this.words[i] = carry << 26 - r | word >>> r; + this.words[i] = (carry << (26 - r)) | (word >>> r); carry = word & mask; } if (maskedWords && carry !== 0) { @@ -2295,20 +2295,19 @@ var require_bn = __commonJS({ return this.clone().iushrn(bits); }; BN.prototype.testn = function testn(bit) { - assert(typeof bit === "number" && bit >= 0); + assert(typeof bit === 'number' && bit >= 0); var r = bit % 26; var s = (bit - r) / 26; var q = 1 << r; - if (this.length <= s) - return false; + if (this.length <= s) return false; var w = this.words[s]; return !!(w & q); }; BN.prototype.imaskn = function imaskn(bits) { - assert(typeof bits === "number" && bits >= 0); + assert(typeof bits === 'number' && bits >= 0); var r = bits % 26; var s = (bits - r) / 26; - assert(this.negative === 0, "imaskn works only with positive numbers"); + assert(this.negative === 0, 'imaskn works only with positive numbers'); if (this.length <= s) { return this; } @@ -2317,7 +2316,7 @@ var require_bn = __commonJS({ } this.length = Math.min(s, this.length); if (r !== 0) { - var mask = 67108863 ^ 67108863 >>> r << r; + var mask = 67108863 ^ ((67108863 >>> r) << r); this.words[this.length - 1] &= mask; } return this.strip(); @@ -2326,10 +2325,9 @@ var require_bn = __commonJS({ return this.clone().imaskn(bits); }; BN.prototype.iaddn = function iaddn(num) { - assert(typeof num === "number"); + assert(typeof num === 'number'); assert(num < 67108864); - if (num < 0) - return this.isubn(-num); + if (num < 0) return this.isubn(-num); if (this.negative !== 0) { if (this.length === 1 && (this.words[0] | 0) < num) { this.words[0] = num - (this.words[0] | 0); @@ -2357,10 +2355,9 @@ var require_bn = __commonJS({ return this; }; BN.prototype.isubn = function isubn(num) { - assert(typeof num === "number"); + assert(typeof num === 'number'); assert(num < 67108864); - if (num < 0) - return this.iaddn(-num); + if (num < 0) return this.iaddn(-num); if (this.negative !== 0) { this.negative = 0; this.iaddn(num); @@ -2402,7 +2399,7 @@ var require_bn = __commonJS({ w = (this.words[i + shift] | 0) + carry; var right = (num.words[i] | 0) * mul; w -= right & 67108863; - carry = (w >> 26) - (right / 67108864 | 0); + carry = (w >> 26) - ((right / 67108864) | 0); this.words[i + shift] = w & 67108863; } for (; i < this.length - shift; i++) { @@ -2410,8 +2407,7 @@ var require_bn = __commonJS({ carry = w >> 26; this.words[i + shift] = w & 67108863; } - if (carry === 0) - return this.strip(); + if (carry === 0) return this.strip(); assert(carry === -1); carry = 0; for (i = 0; i < this.length; i++) { @@ -2436,7 +2432,7 @@ var require_bn = __commonJS({ } var m = a.length - b.length; var q; - if (mode !== "mod") { + if (mode !== 'mod') { q = new BN(null); q.length = m + 1; q.words = new Array(q.length); @@ -2453,7 +2449,7 @@ var require_bn = __commonJS({ } for (var j = m - 1; j >= 0; j--) { var qj = (a.words[b.length + j] | 0) * 67108864 + (a.words[b.length + j - 1] | 0); - qj = Math.min(qj / bhi | 0, 67108863); + qj = Math.min((qj / bhi) | 0, 67108863); a._ishlnsubmul(b, qj, j); while (a.negative !== 0) { qj--; @@ -2471,12 +2467,12 @@ var require_bn = __commonJS({ q.strip(); } a.strip(); - if (mode !== "div" && shift !== 0) { + if (mode !== 'div' && shift !== 0) { a.iushrn(shift); } return { div: q || null, - mod: a + mod: a, }; }; BN.prototype.divmod = function divmod(num, mode, positive) { @@ -2484,16 +2480,16 @@ var require_bn = __commonJS({ if (this.isZero()) { return { div: new BN(0), - mod: new BN(0) + mod: new BN(0), }; } var div, mod, res; if (this.negative !== 0 && num.negative === 0) { res = this.neg().divmod(num, mode); - if (mode !== "mod") { + if (mode !== 'mod') { div = res.div.neg(); } - if (mode !== "div") { + if (mode !== 'div') { mod = res.mod.neg(); if (positive && mod.negative !== 0) { mod.iadd(num); @@ -2501,22 +2497,22 @@ var require_bn = __commonJS({ } return { div, - mod + mod, }; } if (this.negative === 0 && num.negative !== 0) { res = this.divmod(num.neg(), mode); - if (mode !== "mod") { + if (mode !== 'mod') { div = res.div.neg(); } return { div, - mod: res.mod + mod: res.mod, }; } if ((this.negative & num.negative) !== 0) { res = this.neg().divmod(num.neg(), mode); - if (mode !== "div") { + if (mode !== 'div') { mod = res.mod.neg(); if (positive && mod.negative !== 0) { mod.isub(num); @@ -2524,54 +2520,52 @@ var require_bn = __commonJS({ } return { div: res.div, - mod + mod, }; } if (num.length > this.length || this.cmp(num) < 0) { return { div: new BN(0), - mod: this + mod: this, }; } if (num.length === 1) { - if (mode === "div") { + if (mode === 'div') { return { div: this.divn(num.words[0]), - mod: null + mod: null, }; } - if (mode === "mod") { + if (mode === 'mod') { return { div: null, - mod: new BN(this.modn(num.words[0])) + mod: new BN(this.modn(num.words[0])), }; } return { div: this.divn(num.words[0]), - mod: new BN(this.modn(num.words[0])) + mod: new BN(this.modn(num.words[0])), }; } return this._wordDiv(num, mode); }; BN.prototype.div = function div(num) { - return this.divmod(num, "div", false).div; + return this.divmod(num, 'div', false).div; }; BN.prototype.mod = function mod(num) { - return this.divmod(num, "mod", false).mod; + return this.divmod(num, 'mod', false).mod; }; BN.prototype.umod = function umod(num) { - return this.divmod(num, "mod", true).mod; + return this.divmod(num, 'mod', true).mod; }; BN.prototype.divRound = function divRound(num) { var dm = this.divmod(num); - if (dm.mod.isZero()) - return dm.div; + if (dm.mod.isZero()) return dm.div; var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod; var half = num.ushrn(1); var r2 = num.andln(1); var cmp = mod.cmp(half); - if (cmp < 0 || r2 === 1 && cmp === 0) - return dm.div; + if (cmp < 0 || (r2 === 1 && cmp === 0)) return dm.div; return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1); }; BN.prototype.modn = function modn(num) { @@ -2588,7 +2582,7 @@ var require_bn = __commonJS({ var carry = 0; for (var i = this.length - 1; i >= 0; i--) { var w = (this.words[i] | 0) + carry * 67108864; - this.words[i] = w / num | 0; + this.words[i] = (w / num) | 0; carry = w % num; } return this.strip(); @@ -2619,8 +2613,7 @@ var require_bn = __commonJS({ var yp = y.clone(); var xp = x.clone(); while (!x.isZero()) { - for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1) - ; + for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1); if (i > 0) { x.iushrn(i); while (i-- > 0) { @@ -2632,8 +2625,7 @@ var require_bn = __commonJS({ B.iushrn(1); } } - for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1) - ; + for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); if (j > 0) { y.iushrn(j); while (j-- > 0) { @@ -2658,7 +2650,7 @@ var require_bn = __commonJS({ return { a: C, b: D, - gcd: y.iushln(g) + gcd: y.iushln(g), }; }; BN.prototype._invmp = function _invmp(p) { @@ -2675,8 +2667,7 @@ var require_bn = __commonJS({ var x2 = new BN(0); var delta = b.clone(); while (a.cmpn(1) > 0 && b.cmpn(1) > 0) { - for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1) - ; + for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1); if (i > 0) { a.iushrn(i); while (i-- > 0) { @@ -2686,8 +2677,7 @@ var require_bn = __commonJS({ x1.iushrn(1); } } - for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1) - ; + for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); if (j > 0) { b.iushrn(j); while (j-- > 0) { @@ -2717,10 +2707,8 @@ var require_bn = __commonJS({ return res; }; BN.prototype.gcd = function gcd(num) { - if (this.isZero()) - return num.abs(); - if (num.isZero()) - return this.abs(); + if (this.isZero()) return num.abs(); + if (num.isZero()) return this.abs(); var a = this.clone(); var b = num.clone(); a.negative = 0; @@ -2761,7 +2749,7 @@ var require_bn = __commonJS({ return this.words[0] & num; }; BN.prototype.bincn = function bincn(bit) { - assert(typeof bit === "number"); + assert(typeof bit === 'number'); var r = bit % 26; var s = (bit - r) / 26; var q = 1 << r; @@ -2789,10 +2777,8 @@ var require_bn = __commonJS({ }; BN.prototype.cmpn = function cmpn(num) { var negative = num < 0; - if (this.negative !== 0 && !negative) - return -1; - if (this.negative === 0 && negative) - return 1; + if (this.negative !== 0 && !negative) return -1; + if (this.negative === 0 && negative) return 1; this.strip(); var res; if (this.length > 1) { @@ -2801,35 +2787,28 @@ var require_bn = __commonJS({ if (negative) { num = -num; } - assert(num <= 67108863, "Number is too big"); + assert(num <= 67108863, 'Number is too big'); var w = this.words[0] | 0; res = w === num ? 0 : w < num ? -1 : 1; } - if (this.negative !== 0) - return -res | 0; + if (this.negative !== 0) return -res | 0; return res; }; BN.prototype.cmp = function cmp(num) { - if (this.negative !== 0 && num.negative === 0) - return -1; - if (this.negative === 0 && num.negative !== 0) - return 1; + if (this.negative !== 0 && num.negative === 0) return -1; + if (this.negative === 0 && num.negative !== 0) return 1; var res = this.ucmp(num); - if (this.negative !== 0) - return -res | 0; + if (this.negative !== 0) return -res | 0; return res; }; BN.prototype.ucmp = function ucmp(num) { - if (this.length > num.length) - return 1; - if (this.length < num.length) - return -1; + if (this.length > num.length) return 1; + if (this.length < num.length) return -1; var res = 0; for (var i = this.length - 1; i >= 0; i--) { var a = this.words[i] | 0; var b = num.words[i] | 0; - if (a === b) - continue; + if (a === b) continue; if (a < b) { res = -1; } else if (a > b) { @@ -2873,12 +2852,12 @@ var require_bn = __commonJS({ return new Red(num); }; BN.prototype.toRed = function toRed(ctx) { - assert(!this.red, "Already a number in reduction context"); - assert(this.negative === 0, "red works only with positives"); + assert(!this.red, 'Already a number in reduction context'); + assert(this.negative === 0, 'red works only with positives'); return ctx.convertTo(this)._forceRed(ctx); }; BN.prototype.fromRed = function fromRed() { - assert(this.red, "fromRed works only with numbers in reduction context"); + assert(this.red, 'fromRed works only with numbers in reduction context'); return this.red.convertFrom(this); }; BN.prototype._forceRed = function _forceRed(ctx) { @@ -2886,66 +2865,66 @@ var require_bn = __commonJS({ return this; }; BN.prototype.forceRed = function forceRed(ctx) { - assert(!this.red, "Already a number in reduction context"); + assert(!this.red, 'Already a number in reduction context'); return this._forceRed(ctx); }; BN.prototype.redAdd = function redAdd(num) { - assert(this.red, "redAdd works only with red numbers"); + assert(this.red, 'redAdd works only with red numbers'); return this.red.add(this, num); }; BN.prototype.redIAdd = function redIAdd(num) { - assert(this.red, "redIAdd works only with red numbers"); + assert(this.red, 'redIAdd works only with red numbers'); return this.red.iadd(this, num); }; BN.prototype.redSub = function redSub(num) { - assert(this.red, "redSub works only with red numbers"); + assert(this.red, 'redSub works only with red numbers'); return this.red.sub(this, num); }; BN.prototype.redISub = function redISub(num) { - assert(this.red, "redISub works only with red numbers"); + assert(this.red, 'redISub works only with red numbers'); return this.red.isub(this, num); }; BN.prototype.redShl = function redShl(num) { - assert(this.red, "redShl works only with red numbers"); + assert(this.red, 'redShl works only with red numbers'); return this.red.shl(this, num); }; BN.prototype.redMul = function redMul(num) { - assert(this.red, "redMul works only with red numbers"); + assert(this.red, 'redMul works only with red numbers'); this.red._verify2(this, num); return this.red.mul(this, num); }; BN.prototype.redIMul = function redIMul(num) { - assert(this.red, "redMul works only with red numbers"); + assert(this.red, 'redMul works only with red numbers'); this.red._verify2(this, num); return this.red.imul(this, num); }; BN.prototype.redSqr = function redSqr() { - assert(this.red, "redSqr works only with red numbers"); + assert(this.red, 'redSqr works only with red numbers'); this.red._verify1(this); return this.red.sqr(this); }; BN.prototype.redISqr = function redISqr() { - assert(this.red, "redISqr works only with red numbers"); + assert(this.red, 'redISqr works only with red numbers'); this.red._verify1(this); return this.red.isqr(this); }; BN.prototype.redSqrt = function redSqrt() { - assert(this.red, "redSqrt works only with red numbers"); + assert(this.red, 'redSqrt works only with red numbers'); this.red._verify1(this); return this.red.sqrt(this); }; BN.prototype.redInvm = function redInvm() { - assert(this.red, "redInvm works only with red numbers"); + assert(this.red, 'redInvm works only with red numbers'); this.red._verify1(this); return this.red.invm(this); }; BN.prototype.redNeg = function redNeg() { - assert(this.red, "redNeg works only with red numbers"); + assert(this.red, 'redNeg works only with red numbers'); this.red._verify1(this); return this.red.neg(this); }; BN.prototype.redPow = function redPow(num) { - assert(this.red && !num.red, "redPow(normalNum)"); + assert(this.red && !num.red, 'redPow(normalNum)'); this.red._verify1(this); return this.red.pow(this, num); }; @@ -2953,7 +2932,7 @@ var require_bn = __commonJS({ k256: null, p224: null, p192: null, - p25519: null + p25519: null, }; function MPrime(name2, p) { this.name = name2; @@ -3000,8 +2979,8 @@ var require_bn = __commonJS({ function K256() { MPrime.call( this, - "k256", - "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f" + 'k256', + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f' ); } inherits(K256, MPrime); @@ -3021,7 +3000,7 @@ var require_bn = __commonJS({ output.words[output.length++] = prev & mask; for (i = 10; i < input.length; i++) { var next = input.words[i] | 0; - input.words[i - 10] = (next & mask) << 4 | prev >>> 22; + input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22); prev = next; } prev >>>= 22; @@ -3041,7 +3020,7 @@ var require_bn = __commonJS({ var w = num.words[i] | 0; lo += w * 977; num.words[i] = lo & 67108863; - lo = w * 64 + (lo / 67108864 | 0); + lo = w * 64 + ((lo / 67108864) | 0); } if (num.words[num.length - 1] === 0) { num.length--; @@ -3052,26 +3031,18 @@ var require_bn = __commonJS({ return num; }; function P224() { - MPrime.call( - this, - "p224", - "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001" - ); + MPrime.call(this, 'p224', 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001'); } inherits(P224, MPrime); function P192() { - MPrime.call( - this, - "p192", - "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff" - ); + MPrime.call(this, 'p192', 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff'); } inherits(P192, MPrime); function P25519() { MPrime.call( this, - "25519", - "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed" + '25519', + '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed' ); } inherits(P25519, MPrime); @@ -3090,48 +3061,43 @@ var require_bn = __commonJS({ return num; }; BN._prime = function prime(name2) { - if (primes[name2]) - return primes[name2]; + if (primes[name2]) return primes[name2]; var prime2; - if (name2 === "k256") { + if (name2 === 'k256') { prime2 = new K256(); - } else if (name2 === "p224") { + } else if (name2 === 'p224') { prime2 = new P224(); - } else if (name2 === "p192") { + } else if (name2 === 'p192') { prime2 = new P192(); - } else if (name2 === "p25519") { + } else if (name2 === 'p25519') { prime2 = new P25519(); } else { - throw new Error("Unknown prime " + name2); + throw new Error('Unknown prime ' + name2); } primes[name2] = prime2; return prime2; }; function Red(m) { - if (typeof m === "string") { + if (typeof m === 'string') { var prime = BN._prime(m); this.m = prime.p; this.prime = prime; } else { - assert(m.gtn(1), "modulus must be greater than 1"); + assert(m.gtn(1), 'modulus must be greater than 1'); this.m = m; this.prime = null; } } Red.prototype._verify1 = function _verify1(a) { - assert(a.negative === 0, "red works only with positives"); - assert(a.red, "red works only with red numbers"); + assert(a.negative === 0, 'red works only with positives'); + assert(a.red, 'red works only with red numbers'); }; Red.prototype._verify2 = function _verify2(a, b) { - assert((a.negative | b.negative) === 0, "red works only with positives"); - assert( - a.red && a.red === b.red, - "red works only with red numbers" - ); + assert((a.negative | b.negative) === 0, 'red works only with positives'); + assert(a.red && a.red === b.red, 'red works only with red numbers'); }; Red.prototype.imod = function imod(a) { - if (this.prime) - return this.prime.ireduce(a)._forceRed(this); + if (this.prime) return this.prime.ireduce(a)._forceRed(this); return a.umod(this.m)._forceRed(this); }; Red.prototype.neg = function neg(a) { @@ -3191,8 +3157,7 @@ var require_bn = __commonJS({ return this.mul(a, a); }; Red.prototype.sqrt = function sqrt(a) { - if (a.isZero()) - return a.clone(); + if (a.isZero()) return a.clone(); var mod3 = this.m.andln(3); assert(mod3 % 2 === 1); if (mod3 === 3) { @@ -3242,10 +3207,8 @@ var require_bn = __commonJS({ } }; Red.prototype.pow = function pow(a, num) { - if (num.isZero()) - return new BN(1).toRed(this); - if (num.cmpn(1) === 0) - return a.clone(); + if (num.isZero()) return new BN(1).toRed(this); + if (num.cmpn(1) === 0) return a.clone(); var windowSize = 4; var wnd = new Array(1 << windowSize); wnd[0] = new BN(1).toRed(this); @@ -3263,7 +3226,7 @@ var require_bn = __commonJS({ for (i = num.length - 1; i >= 0; i--) { var word = num.words[i]; for (var j = start - 1; j >= 0; j--) { - var bit = word >> j & 1; + var bit = (word >> j) & 1; if (res !== wnd[0]) { res = this.sqr(res); } @@ -3274,8 +3237,7 @@ var require_bn = __commonJS({ current <<= 1; current |= bit; currentLen++; - if (currentLen !== windowSize && (i !== 0 || j !== 0)) - continue; + if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue; res = this.mul(res, wnd[current]); currentLen = 0; current = 0; @@ -3300,7 +3262,7 @@ var require_bn = __commonJS({ Red.call(this, m); this.shift = this.m.bitLength(); if (this.shift % 26 !== 0) { - this.shift += 26 - this.shift % 26; + this.shift += 26 - (this.shift % 26); } this.r = new BN(1).iushln(this.shift); this.r2 = this.imod(this.r.sqr()); @@ -3336,8 +3298,7 @@ var require_bn = __commonJS({ return res._forceRed(this); }; Mont.prototype.mul = function mul(a, b) { - if (a.isZero() || b.isZero()) - return new BN(0)._forceRed(this); + if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this); var t = a.mul(b); var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); var u = t.isub(c).iushrn(this.shift); @@ -3353,50 +3314,49 @@ var require_bn = __commonJS({ var res = this.imod(a._invmp(this.m).mul(this.r2)); return res._forceRed(this); }; - })(typeof module2 === "undefined" || module2, exports2); - } + })(typeof module2 === 'undefined' || module2, exports2); + }, }); // node_modules/@ethersproject/logger/lib/_version.js var require_version = __commonJS({ - "node_modules/@ethersproject/logger/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/logger/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "logger/5.5.0"; - } + exports2.version = 'logger/5.5.0'; + }, }); // node_modules/@ethersproject/logger/lib/index.js var require_lib = __commonJS({ - "node_modules/@ethersproject/logger/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/logger/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.Logger = exports2.ErrorCode = exports2.LogLevel = void 0; var _permanentCensorErrors = false; var _censorErrors = false; - var LogLevels = { debug: 1, "default": 2, info: 2, warning: 3, error: 4, off: 5 }; - var _logLevel = LogLevels["default"]; + var LogLevels = { debug: 1, default: 2, info: 2, warning: 3, error: 4, off: 5 }; + var _logLevel = LogLevels['default']; var _version_1 = require_version(); var _globalLogger = null; function _checkNormalize() { try { var missing_1 = []; - ["NFD", "NFC", "NFKD", "NFKC"].forEach(function(form) { + ['NFD', 'NFC', 'NFKD', 'NFKC'].forEach(function (form) { try { - if ("test".normalize(form) !== "test") { - throw new Error("bad normalize"); + if ('test'.normalize(form) !== 'test') { + throw new Error('bad normalize'); } - ; } catch (error) { missing_1.push(form); } }); if (missing_1.length) { - throw new Error("missing " + missing_1.join(", ")); + throw new Error('missing ' + missing_1.join(', ')); } - if (String.fromCharCode(233).normalize("NFD") !== String.fromCharCode(101, 769)) { - throw new Error("broken implementation"); + if (String.fromCharCode(233).normalize('NFD') !== String.fromCharCode(101, 769)) { + throw new Error('broken implementation'); } } catch (error) { return error.message; @@ -3405,77 +3365,77 @@ var require_lib = __commonJS({ } var _normalizeError = _checkNormalize(); var LogLevel; - (function(LogLevel2) { - LogLevel2["DEBUG"] = "DEBUG"; - LogLevel2["INFO"] = "INFO"; - LogLevel2["WARNING"] = "WARNING"; - LogLevel2["ERROR"] = "ERROR"; - LogLevel2["OFF"] = "OFF"; - })(LogLevel = exports2.LogLevel || (exports2.LogLevel = {})); + (function (LogLevel2) { + LogLevel2['DEBUG'] = 'DEBUG'; + LogLevel2['INFO'] = 'INFO'; + LogLevel2['WARNING'] = 'WARNING'; + LogLevel2['ERROR'] = 'ERROR'; + LogLevel2['OFF'] = 'OFF'; + })((LogLevel = exports2.LogLevel || (exports2.LogLevel = {}))); var ErrorCode; - (function(ErrorCode2) { - ErrorCode2["UNKNOWN_ERROR"] = "UNKNOWN_ERROR"; - ErrorCode2["NOT_IMPLEMENTED"] = "NOT_IMPLEMENTED"; - ErrorCode2["UNSUPPORTED_OPERATION"] = "UNSUPPORTED_OPERATION"; - ErrorCode2["NETWORK_ERROR"] = "NETWORK_ERROR"; - ErrorCode2["SERVER_ERROR"] = "SERVER_ERROR"; - ErrorCode2["TIMEOUT"] = "TIMEOUT"; - ErrorCode2["BUFFER_OVERRUN"] = "BUFFER_OVERRUN"; - ErrorCode2["NUMERIC_FAULT"] = "NUMERIC_FAULT"; - ErrorCode2["MISSING_NEW"] = "MISSING_NEW"; - ErrorCode2["INVALID_ARGUMENT"] = "INVALID_ARGUMENT"; - ErrorCode2["MISSING_ARGUMENT"] = "MISSING_ARGUMENT"; - ErrorCode2["UNEXPECTED_ARGUMENT"] = "UNEXPECTED_ARGUMENT"; - ErrorCode2["CALL_EXCEPTION"] = "CALL_EXCEPTION"; - ErrorCode2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS"; - ErrorCode2["NONCE_EXPIRED"] = "NONCE_EXPIRED"; - ErrorCode2["REPLACEMENT_UNDERPRICED"] = "REPLACEMENT_UNDERPRICED"; - ErrorCode2["UNPREDICTABLE_GAS_LIMIT"] = "UNPREDICTABLE_GAS_LIMIT"; - ErrorCode2["TRANSACTION_REPLACED"] = "TRANSACTION_REPLACED"; - })(ErrorCode = exports2.ErrorCode || (exports2.ErrorCode = {})); - var HEX = "0123456789abcdef"; - var Logger = function() { + (function (ErrorCode2) { + ErrorCode2['UNKNOWN_ERROR'] = 'UNKNOWN_ERROR'; + ErrorCode2['NOT_IMPLEMENTED'] = 'NOT_IMPLEMENTED'; + ErrorCode2['UNSUPPORTED_OPERATION'] = 'UNSUPPORTED_OPERATION'; + ErrorCode2['NETWORK_ERROR'] = 'NETWORK_ERROR'; + ErrorCode2['SERVER_ERROR'] = 'SERVER_ERROR'; + ErrorCode2['TIMEOUT'] = 'TIMEOUT'; + ErrorCode2['BUFFER_OVERRUN'] = 'BUFFER_OVERRUN'; + ErrorCode2['NUMERIC_FAULT'] = 'NUMERIC_FAULT'; + ErrorCode2['MISSING_NEW'] = 'MISSING_NEW'; + ErrorCode2['INVALID_ARGUMENT'] = 'INVALID_ARGUMENT'; + ErrorCode2['MISSING_ARGUMENT'] = 'MISSING_ARGUMENT'; + ErrorCode2['UNEXPECTED_ARGUMENT'] = 'UNEXPECTED_ARGUMENT'; + ErrorCode2['CALL_EXCEPTION'] = 'CALL_EXCEPTION'; + ErrorCode2['INSUFFICIENT_FUNDS'] = 'INSUFFICIENT_FUNDS'; + ErrorCode2['NONCE_EXPIRED'] = 'NONCE_EXPIRED'; + ErrorCode2['REPLACEMENT_UNDERPRICED'] = 'REPLACEMENT_UNDERPRICED'; + ErrorCode2['UNPREDICTABLE_GAS_LIMIT'] = 'UNPREDICTABLE_GAS_LIMIT'; + ErrorCode2['TRANSACTION_REPLACED'] = 'TRANSACTION_REPLACED'; + })((ErrorCode = exports2.ErrorCode || (exports2.ErrorCode = {}))); + var HEX = '0123456789abcdef'; + var Logger = (function () { function Logger2(version) { - Object.defineProperty(this, "version", { + Object.defineProperty(this, 'version', { enumerable: true, value: version, - writable: false + writable: false, }); } - Logger2.prototype._log = function(logLevel, args) { + Logger2.prototype._log = function (logLevel, args) { var level = logLevel.toLowerCase(); if (LogLevels[level] == null) { - this.throwArgumentError("invalid log level name", "logLevel", logLevel); + this.throwArgumentError('invalid log level name', 'logLevel', logLevel); } if (_logLevel > LogLevels[level]) { return; } console.log.apply(console, args); }; - Logger2.prototype.debug = function() { + Logger2.prototype.debug = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } this._log(Logger2.levels.DEBUG, args); }; - Logger2.prototype.info = function() { + Logger2.prototype.info = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } this._log(Logger2.levels.INFO, args); }; - Logger2.prototype.warn = function() { + Logger2.prototype.warn = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } this._log(Logger2.levels.WARNING, args); }; - Logger2.prototype.makeError = function(message, code, params) { + Logger2.prototype.makeError = function (message, code, params) { if (_censorErrors) { - return this.makeError("censored error", code, {}); + return this.makeError('censored error', code, {}); } if (!code) { code = Logger2.errors.UNKNOWN_ERROR; @@ -3484,180 +3444,214 @@ var require_lib = __commonJS({ params = {}; } var messageDetails = []; - Object.keys(params).forEach(function(key) { + Object.keys(params).forEach(function (key) { var value = params[key]; try { if (value instanceof Uint8Array) { - var hex = ""; + var hex = ''; for (var i = 0; i < value.length; i++) { hex += HEX[value[i] >> 4]; hex += HEX[value[i] & 15]; } - messageDetails.push(key + "=Uint8Array(0x" + hex + ")"); + messageDetails.push(key + '=Uint8Array(0x' + hex + ')'); } else { - messageDetails.push(key + "=" + JSON.stringify(value)); + messageDetails.push(key + '=' + JSON.stringify(value)); } } catch (error2) { - messageDetails.push(key + "=" + JSON.stringify(params[key].toString())); + messageDetails.push(key + '=' + JSON.stringify(params[key].toString())); } }); - messageDetails.push("code=" + code); - messageDetails.push("version=" + this.version); + messageDetails.push('code=' + code); + messageDetails.push('version=' + this.version); var reason = message; if (messageDetails.length) { - message += " (" + messageDetails.join(", ") + ")"; + message += ' (' + messageDetails.join(', ') + ')'; } var error = new Error(message); error.reason = reason; error.code = code; - Object.keys(params).forEach(function(key) { + Object.keys(params).forEach(function (key) { error[key] = params[key]; }); return error; }; - Logger2.prototype.throwError = function(message, code, params) { + Logger2.prototype.throwError = function (message, code, params) { throw this.makeError(message, code, params); }; - Logger2.prototype.throwArgumentError = function(message, name2, value) { + Logger2.prototype.throwArgumentError = function (message, name2, value) { return this.throwError(message, Logger2.errors.INVALID_ARGUMENT, { argument: name2, - value + value, }); }; - Logger2.prototype.assert = function(condition, message, code, params) { + Logger2.prototype.assert = function (condition, message, code, params) { if (!!condition) { return; } this.throwError(message, code, params); }; - Logger2.prototype.assertArgument = function(condition, message, name2, value) { + Logger2.prototype.assertArgument = function (condition, message, name2, value) { if (!!condition) { return; } this.throwArgumentError(message, name2, value); }; - Logger2.prototype.checkNormalize = function(message) { + Logger2.prototype.checkNormalize = function (message) { if (message == null) { - message = "platform missing String.prototype.normalize"; + message = 'platform missing String.prototype.normalize'; } if (_normalizeError) { - this.throwError("platform missing String.prototype.normalize", Logger2.errors.UNSUPPORTED_OPERATION, { - operation: "String.prototype.normalize", - form: _normalizeError - }); + this.throwError( + 'platform missing String.prototype.normalize', + Logger2.errors.UNSUPPORTED_OPERATION, + { + operation: 'String.prototype.normalize', + form: _normalizeError, + } + ); } }; - Logger2.prototype.checkSafeUint53 = function(value, message) { - if (typeof value !== "number") { + Logger2.prototype.checkSafeUint53 = function (value, message) { + if (typeof value !== 'number') { return; } if (message == null) { - message = "value not safe"; + message = 'value not safe'; } if (value < 0 || value >= 9007199254740991) { this.throwError(message, Logger2.errors.NUMERIC_FAULT, { - operation: "checkSafeInteger", - fault: "out-of-safe-range", - value + operation: 'checkSafeInteger', + fault: 'out-of-safe-range', + value, }); } if (value % 1) { this.throwError(message, Logger2.errors.NUMERIC_FAULT, { - operation: "checkSafeInteger", - fault: "non-integer", - value + operation: 'checkSafeInteger', + fault: 'non-integer', + value, }); } }; - Logger2.prototype.checkArgumentCount = function(count, expectedCount, message) { + Logger2.prototype.checkArgumentCount = function (count, expectedCount, message) { if (message) { - message = ": " + message; + message = ': ' + message; } else { - message = ""; + message = ''; } if (count < expectedCount) { - this.throwError("missing argument" + message, Logger2.errors.MISSING_ARGUMENT, { + this.throwError('missing argument' + message, Logger2.errors.MISSING_ARGUMENT, { count, - expectedCount + expectedCount, }); } if (count > expectedCount) { - this.throwError("too many arguments" + message, Logger2.errors.UNEXPECTED_ARGUMENT, { + this.throwError('too many arguments' + message, Logger2.errors.UNEXPECTED_ARGUMENT, { count, - expectedCount + expectedCount, }); } }; - Logger2.prototype.checkNew = function(target, kind) { + Logger2.prototype.checkNew = function (target, kind) { if (target === Object || target == null) { - this.throwError("missing new", Logger2.errors.MISSING_NEW, { name: kind.name }); + this.throwError('missing new', Logger2.errors.MISSING_NEW, { name: kind.name }); } }; - Logger2.prototype.checkAbstract = function(target, kind) { + Logger2.prototype.checkAbstract = function (target, kind) { if (target === kind) { - this.throwError("cannot instantiate abstract class " + JSON.stringify(kind.name) + " directly; use a sub-class", Logger2.errors.UNSUPPORTED_OPERATION, { name: target.name, operation: "new" }); + this.throwError( + 'cannot instantiate abstract class ' + + JSON.stringify(kind.name) + + ' directly; use a sub-class', + Logger2.errors.UNSUPPORTED_OPERATION, + { name: target.name, operation: 'new' } + ); } else if (target === Object || target == null) { - this.throwError("missing new", Logger2.errors.MISSING_NEW, { name: kind.name }); + this.throwError('missing new', Logger2.errors.MISSING_NEW, { name: kind.name }); } }; - Logger2.globalLogger = function() { + Logger2.globalLogger = function () { if (!_globalLogger) { _globalLogger = new Logger2(_version_1.version); } return _globalLogger; }; - Logger2.setCensorship = function(censorship, permanent) { + Logger2.setCensorship = function (censorship, permanent) { if (!censorship && permanent) { - this.globalLogger().throwError("cannot permanently disable censorship", Logger2.errors.UNSUPPORTED_OPERATION, { - operation: "setCensorship" - }); + this.globalLogger().throwError( + 'cannot permanently disable censorship', + Logger2.errors.UNSUPPORTED_OPERATION, + { + operation: 'setCensorship', + } + ); } if (_permanentCensorErrors) { if (!censorship) { return; } - this.globalLogger().throwError("error censorship permanent", Logger2.errors.UNSUPPORTED_OPERATION, { - operation: "setCensorship" - }); + this.globalLogger().throwError( + 'error censorship permanent', + Logger2.errors.UNSUPPORTED_OPERATION, + { + operation: 'setCensorship', + } + ); } _censorErrors = !!censorship; _permanentCensorErrors = !!permanent; }; - Logger2.setLogLevel = function(logLevel) { + Logger2.setLogLevel = function (logLevel) { var level = LogLevels[logLevel.toLowerCase()]; if (level == null) { - Logger2.globalLogger().warn("invalid log level - " + logLevel); + Logger2.globalLogger().warn('invalid log level - ' + logLevel); return; } _logLevel = level; }; - Logger2.from = function(version) { + Logger2.from = function (version) { return new Logger2(version); }; Logger2.errors = ErrorCode; Logger2.levels = LogLevel; return Logger2; - }(); + })(); exports2.Logger = Logger; - } + }, }); // node_modules/@ethersproject/bytes/lib/_version.js var require_version2 = __commonJS({ - "node_modules/@ethersproject/bytes/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/bytes/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "bytes/5.5.0"; - } + exports2.version = 'bytes/5.5.0'; + }, }); // node_modules/@ethersproject/bytes/lib/index.js var require_lib2 = __commonJS({ - "node_modules/@ethersproject/bytes/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.joinSignature = exports2.splitSignature = exports2.hexZeroPad = exports2.hexStripZeros = exports2.hexValue = exports2.hexConcat = exports2.hexDataSlice = exports2.hexDataLength = exports2.hexlify = exports2.isHexString = exports2.zeroPad = exports2.stripZeros = exports2.concat = exports2.arrayify = exports2.isBytes = exports2.isBytesLike = void 0; + 'node_modules/@ethersproject/bytes/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.joinSignature = + exports2.splitSignature = + exports2.hexZeroPad = + exports2.hexStripZeros = + exports2.hexValue = + exports2.hexConcat = + exports2.hexDataSlice = + exports2.hexDataLength = + exports2.hexlify = + exports2.isHexString = + exports2.zeroPad = + exports2.stripZeros = + exports2.concat = + exports2.arrayify = + exports2.isBytes = + exports2.isBytesLike = + void 0; var logger_1 = require_lib(); var _version_1 = require_version2(); var logger = new logger_1.Logger(_version_1.version); @@ -3668,18 +3662,18 @@ var require_lib2 = __commonJS({ if (array.slice) { return array; } - array.slice = function() { + array.slice = function () { var args = Array.prototype.slice.call(arguments); return addSlice(new Uint8Array(Array.prototype.slice.apply(array, args))); }; return array; } function isBytesLike(value) { - return isHexString(value) && !(value.length % 2) || isBytes(value); + return (isHexString(value) && !(value.length % 2)) || isBytes(value); } exports2.isBytesLike = isBytesLike; function isInteger(value) { - return typeof value === "number" && value == value && value % 1 === 0; + return typeof value === 'number' && value == value && value % 1 === 0; } function isBytes(value) { if (value == null) { @@ -3688,7 +3682,7 @@ var require_lib2 = __commonJS({ if (value.constructor === Uint8Array) { return true; } - if (typeof value === "string") { + if (typeof value === 'string') { return false; } if (!isInteger(value.length) || value.length < 0) { @@ -3707,8 +3701,8 @@ var require_lib2 = __commonJS({ if (!options2) { options2 = {}; } - if (typeof value === "number") { - logger.checkSafeUint53(value, "invalid arrayify value"); + if (typeof value === 'number') { + logger.checkSafeUint53(value, 'invalid arrayify value'); var result = []; while (value) { result.unshift(value & 255); @@ -3719,8 +3713,12 @@ var require_lib2 = __commonJS({ } return addSlice(new Uint8Array(result)); } - if (options2.allowMissingPrefix && typeof value === "string" && value.substring(0, 2) !== "0x") { - value = "0x" + value; + if ( + options2.allowMissingPrefix && + typeof value === 'string' && + value.substring(0, 2) !== '0x' + ) { + value = '0x' + value; } if (isHexable(value)) { value = value.toHexString(); @@ -3728,12 +3726,12 @@ var require_lib2 = __commonJS({ if (isHexString(value)) { var hex = value.substring(2); if (hex.length % 2) { - if (options2.hexPad === "left") { - hex = "0x0" + hex.substring(2); - } else if (options2.hexPad === "right") { - hex += "0"; + if (options2.hexPad === 'left') { + hex = '0x0' + hex.substring(2); + } else if (options2.hexPad === 'right') { + hex += '0'; } else { - logger.throwArgumentError("hex data is odd-length", "value", value); + logger.throwArgumentError('hex data is odd-length', 'value', value); } } var result = []; @@ -3745,18 +3743,18 @@ var require_lib2 = __commonJS({ if (isBytes(value)) { return addSlice(new Uint8Array(value)); } - return logger.throwArgumentError("invalid arrayify value", "value", value); + return logger.throwArgumentError('invalid arrayify value', 'value', value); } exports2.arrayify = arrayify; function concat(items) { - var objects = items.map(function(item) { + var objects = items.map(function (item) { return arrayify(item); }); - var length = objects.reduce(function(accum, item) { + var length = objects.reduce(function (accum, item) { return accum + item.length; }, 0); var result = new Uint8Array(length); - objects.reduce(function(offset, object) { + objects.reduce(function (offset, object) { result.set(object, offset); return offset + object.length; }, 0); @@ -3781,7 +3779,7 @@ var require_lib2 = __commonJS({ function zeroPad(value, length) { value = arrayify(value); if (value.length > length) { - logger.throwArgumentError("value out of range", "value", arguments[0]); + logger.throwArgumentError('value out of range', 'value', arguments[0]); } var result = new Uint8Array(length); result.set(value, length - value.length); @@ -3789,7 +3787,7 @@ var require_lib2 = __commonJS({ } exports2.zeroPad = zeroPad; function isHexString(value, length) { - if (typeof value !== "string" || !value.match(/^0x[0-9A-Fa-f]*$/)) { + if (typeof value !== 'string' || !value.match(/^0x[0-9A-Fa-f]*$/)) { return false; } if (length && value.length !== 2 + 2 * length) { @@ -3798,64 +3796,68 @@ var require_lib2 = __commonJS({ return true; } exports2.isHexString = isHexString; - var HexCharacters = "0123456789abcdef"; + var HexCharacters = '0123456789abcdef'; function hexlify(value, options2) { if (!options2) { options2 = {}; } - if (typeof value === "number") { - logger.checkSafeUint53(value, "invalid hexlify value"); - var hex = ""; + if (typeof value === 'number') { + logger.checkSafeUint53(value, 'invalid hexlify value'); + var hex = ''; while (value) { hex = HexCharacters[value & 15] + hex; value = Math.floor(value / 16); } if (hex.length) { if (hex.length % 2) { - hex = "0" + hex; + hex = '0' + hex; } - return "0x" + hex; + return '0x' + hex; } - return "0x00"; + return '0x00'; } - if (typeof value === "bigint") { + if (typeof value === 'bigint') { value = value.toString(16); if (value.length % 2) { - return "0x0" + value; + return '0x0' + value; } - return "0x" + value; + return '0x' + value; } - if (options2.allowMissingPrefix && typeof value === "string" && value.substring(0, 2) !== "0x") { - value = "0x" + value; + if ( + options2.allowMissingPrefix && + typeof value === 'string' && + value.substring(0, 2) !== '0x' + ) { + value = '0x' + value; } if (isHexable(value)) { return value.toHexString(); } if (isHexString(value)) { if (value.length % 2) { - if (options2.hexPad === "left") { - value = "0x0" + value.substring(2); - } else if (options2.hexPad === "right") { - value += "0"; + if (options2.hexPad === 'left') { + value = '0x0' + value.substring(2); + } else if (options2.hexPad === 'right') { + value += '0'; } else { - logger.throwArgumentError("hex data is odd-length", "value", value); + logger.throwArgumentError('hex data is odd-length', 'value', value); } } return value.toLowerCase(); } if (isBytes(value)) { - var result = "0x"; + var result = '0x'; for (var i = 0; i < value.length; i++) { var v = value[i]; result += HexCharacters[(v & 240) >> 4] + HexCharacters[v & 15]; } return result; } - return logger.throwArgumentError("invalid hexlify value", "value", value); + return logger.throwArgumentError('invalid hexlify value', 'value', value); } exports2.hexlify = hexlify; function hexDataLength(data) { - if (typeof data !== "string") { + if (typeof data !== 'string') { data = hexlify(data); } else if (!isHexString(data) || data.length % 2) { return null; @@ -3864,76 +3866,80 @@ var require_lib2 = __commonJS({ } exports2.hexDataLength = hexDataLength; function hexDataSlice(data, offset, endOffset) { - if (typeof data !== "string") { + if (typeof data !== 'string') { data = hexlify(data); } else if (!isHexString(data) || data.length % 2) { - logger.throwArgumentError("invalid hexData", "value", data); + logger.throwArgumentError('invalid hexData', 'value', data); } offset = 2 + 2 * offset; if (endOffset != null) { - return "0x" + data.substring(offset, 2 + 2 * endOffset); + return '0x' + data.substring(offset, 2 + 2 * endOffset); } - return "0x" + data.substring(offset); + return '0x' + data.substring(offset); } exports2.hexDataSlice = hexDataSlice; function hexConcat(items) { - var result = "0x"; - items.forEach(function(item) { + var result = '0x'; + items.forEach(function (item) { result += hexlify(item).substring(2); }); return result; } exports2.hexConcat = hexConcat; function hexValue(value) { - var trimmed = hexStripZeros(hexlify(value, { hexPad: "left" })); - if (trimmed === "0x") { - return "0x0"; + var trimmed = hexStripZeros(hexlify(value, { hexPad: 'left' })); + if (trimmed === '0x') { + return '0x0'; } return trimmed; } exports2.hexValue = hexValue; function hexStripZeros(value) { - if (typeof value !== "string") { + if (typeof value !== 'string') { value = hexlify(value); } if (!isHexString(value)) { - logger.throwArgumentError("invalid hex string", "value", value); + logger.throwArgumentError('invalid hex string', 'value', value); } value = value.substring(2); var offset = 0; - while (offset < value.length && value[offset] === "0") { + while (offset < value.length && value[offset] === '0') { offset++; } - return "0x" + value.substring(offset); + return '0x' + value.substring(offset); } exports2.hexStripZeros = hexStripZeros; function hexZeroPad(value, length) { - if (typeof value !== "string") { + if (typeof value !== 'string') { value = hexlify(value); } else if (!isHexString(value)) { - logger.throwArgumentError("invalid hex string", "value", value); + logger.throwArgumentError('invalid hex string', 'value', value); } if (value.length > 2 * length + 2) { - logger.throwArgumentError("value out of range", "value", arguments[1]); + logger.throwArgumentError('value out of range', 'value', arguments[1]); } while (value.length < 2 * length + 2) { - value = "0x0" + value.substring(2); + value = '0x0' + value.substring(2); } return value; } exports2.hexZeroPad = hexZeroPad; function splitSignature(signature) { var result = { - r: "0x", - s: "0x", - _vs: "0x", + r: '0x', + s: '0x', + _vs: '0x', recoveryParam: 0, - v: 0 + v: 0, }; if (isBytesLike(signature)) { var bytes = arrayify(signature); if (bytes.length !== 65) { - logger.throwArgumentError("invalid signature string; must be 65 bytes", "signature", signature); + logger.throwArgumentError( + 'invalid signature string; must be 65 bytes', + 'signature', + signature + ); } result.r = hexlify(bytes.slice(0, 32)); result.s = hexlify(bytes.slice(32, 64)); @@ -3942,10 +3948,10 @@ var require_lib2 = __commonJS({ if (result.v === 0 || result.v === 1) { result.v += 27; } else { - logger.throwArgumentError("signature invalid v byte", "signature", signature); + logger.throwArgumentError('signature invalid v byte', 'signature', signature); } } - result.recoveryParam = 1 - result.v % 2; + result.recoveryParam = 1 - (result.v % 2); if (result.recoveryParam) { bytes[32] |= 128; } @@ -3963,47 +3969,59 @@ var require_lib2 = __commonJS({ if (result.recoveryParam == null) { result.recoveryParam = recoveryParam; } else if (result.recoveryParam !== recoveryParam) { - logger.throwArgumentError("signature recoveryParam mismatch _vs", "signature", signature); + logger.throwArgumentError( + 'signature recoveryParam mismatch _vs', + 'signature', + signature + ); } vs_1[0] &= 127; var s = hexlify(vs_1); if (result.s == null) { result.s = s; } else if (result.s !== s) { - logger.throwArgumentError("signature v mismatch _vs", "signature", signature); + logger.throwArgumentError('signature v mismatch _vs', 'signature', signature); } } if (result.recoveryParam == null) { if (result.v == null) { - logger.throwArgumentError("signature missing v and recoveryParam", "signature", signature); + logger.throwArgumentError( + 'signature missing v and recoveryParam', + 'signature', + signature + ); } else if (result.v === 0 || result.v === 1) { result.recoveryParam = result.v; } else { - result.recoveryParam = 1 - result.v % 2; + result.recoveryParam = 1 - (result.v % 2); } } else { if (result.v == null) { result.v = 27 + result.recoveryParam; } else { - var recId = result.v === 0 || result.v === 1 ? result.v : 1 - result.v % 2; + var recId = result.v === 0 || result.v === 1 ? result.v : 1 - (result.v % 2); if (result.recoveryParam !== recId) { - logger.throwArgumentError("signature recoveryParam mismatch v", "signature", signature); + logger.throwArgumentError( + 'signature recoveryParam mismatch v', + 'signature', + signature + ); } } } if (result.r == null || !isHexString(result.r)) { - logger.throwArgumentError("signature missing or invalid r", "signature", signature); + logger.throwArgumentError('signature missing or invalid r', 'signature', signature); } else { result.r = hexZeroPad(result.r, 32); } if (result.s == null || !isHexString(result.s)) { - logger.throwArgumentError("signature missing or invalid s", "signature", signature); + logger.throwArgumentError('signature missing or invalid s', 'signature', signature); } else { result.s = hexZeroPad(result.s, 32); } var vs = arrayify(result.s); if (vs[0] >= 128) { - logger.throwArgumentError("signature s out of range", "signature", signature); + logger.throwArgumentError('signature s out of range', 'signature', signature); } if (result.recoveryParam) { vs[0] |= 128; @@ -4011,14 +4029,14 @@ var require_lib2 = __commonJS({ var _vs = hexlify(vs); if (result._vs) { if (!isHexString(result._vs)) { - logger.throwArgumentError("signature invalid _vs", "signature", signature); + logger.throwArgumentError('signature invalid _vs', 'signature', signature); } result._vs = hexZeroPad(result._vs, 32); } if (result._vs == null) { result._vs = _vs; } else if (result._vs !== _vs) { - logger.throwArgumentError("signature _vs mismatch v and s", "signature", signature); + logger.throwArgumentError('signature _vs mismatch v and s', 'signature', signature); } } return result; @@ -4026,35 +4044,37 @@ var require_lib2 = __commonJS({ exports2.splitSignature = splitSignature; function joinSignature(signature) { signature = splitSignature(signature); - return hexlify(concat([ - signature.r, - signature.s, - signature.recoveryParam ? "0x1c" : "0x1b" - ])); + return hexlify(concat([signature.r, signature.s, signature.recoveryParam ? '0x1c' : '0x1b'])); } exports2.joinSignature = joinSignature; - } + }, }); // node_modules/@ethersproject/bignumber/lib/_version.js var require_version3 = __commonJS({ - "node_modules/@ethersproject/bignumber/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/bignumber/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "bignumber/5.5.0"; - } + exports2.version = 'bignumber/5.5.0'; + }, }); // node_modules/@ethersproject/bignumber/lib/bignumber.js var require_bignumber = __commonJS({ - "node_modules/@ethersproject/bignumber/lib/bignumber.js"(exports2) { - "use strict"; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2._base16To36 = exports2._base36To16 = exports2.BigNumber = exports2.isBigNumberish = void 0; + 'node_modules/@ethersproject/bignumber/lib/bignumber.js'(exports2) { + 'use strict'; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2._base16To36 = + exports2._base36To16 = + exports2.BigNumber = + exports2.isBigNumberish = + void 0; var bn_js_1 = __importDefault(require_bn()); var BN = bn_js_1.default.BN; var bytes_1 = require_lib2(); @@ -4064,187 +4084,210 @@ var require_bignumber = __commonJS({ var _constructorGuard = {}; var MAX_SAFE = 9007199254740991; function isBigNumberish(value) { - return value != null && (BigNumber2.isBigNumber(value) || typeof value === "number" && value % 1 === 0 || typeof value === "string" && !!value.match(/^-?[0-9]+$/) || (0, bytes_1.isHexString)(value) || typeof value === "bigint" || (0, bytes_1.isBytes)(value)); + return ( + value != null && + (BigNumber2.isBigNumber(value) || + (typeof value === 'number' && value % 1 === 0) || + (typeof value === 'string' && !!value.match(/^-?[0-9]+$/)) || + (0, bytes_1.isHexString)(value) || + typeof value === 'bigint' || + (0, bytes_1.isBytes)(value)) + ); } exports2.isBigNumberish = isBigNumberish; var _warnedToStringRadix = false; - var BigNumber2 = function() { + var BigNumber2 = (function () { function BigNumber3(constructorGuard, hex) { var _newTarget = this.constructor; logger.checkNew(_newTarget, BigNumber3); if (constructorGuard !== _constructorGuard) { - logger.throwError("cannot call constructor directly; use BigNumber.from", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "new (BigNumber)" - }); + logger.throwError( + 'cannot call constructor directly; use BigNumber.from', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'new (BigNumber)', + } + ); } this._hex = hex; this._isBigNumber = true; Object.freeze(this); } - BigNumber3.prototype.fromTwos = function(value) { + BigNumber3.prototype.fromTwos = function (value) { return toBigNumber(toBN(this).fromTwos(value)); }; - BigNumber3.prototype.toTwos = function(value) { + BigNumber3.prototype.toTwos = function (value) { return toBigNumber(toBN(this).toTwos(value)); }; - BigNumber3.prototype.abs = function() { - if (this._hex[0] === "-") { + BigNumber3.prototype.abs = function () { + if (this._hex[0] === '-') { return BigNumber3.from(this._hex.substring(1)); } return this; }; - BigNumber3.prototype.add = function(other) { + BigNumber3.prototype.add = function (other) { return toBigNumber(toBN(this).add(toBN(other))); }; - BigNumber3.prototype.sub = function(other) { + BigNumber3.prototype.sub = function (other) { return toBigNumber(toBN(this).sub(toBN(other))); }; - BigNumber3.prototype.div = function(other) { + BigNumber3.prototype.div = function (other) { var o = BigNumber3.from(other); if (o.isZero()) { - throwFault("division by zero", "div"); + throwFault('division by zero', 'div'); } return toBigNumber(toBN(this).div(toBN(other))); }; - BigNumber3.prototype.mul = function(other) { + BigNumber3.prototype.mul = function (other) { return toBigNumber(toBN(this).mul(toBN(other))); }; - BigNumber3.prototype.mod = function(other) { + BigNumber3.prototype.mod = function (other) { var value = toBN(other); if (value.isNeg()) { - throwFault("cannot modulo negative values", "mod"); + throwFault('cannot modulo negative values', 'mod'); } return toBigNumber(toBN(this).umod(value)); }; - BigNumber3.prototype.pow = function(other) { + BigNumber3.prototype.pow = function (other) { var value = toBN(other); if (value.isNeg()) { - throwFault("cannot raise to negative values", "pow"); + throwFault('cannot raise to negative values', 'pow'); } return toBigNumber(toBN(this).pow(value)); }; - BigNumber3.prototype.and = function(other) { + BigNumber3.prototype.and = function (other) { var value = toBN(other); if (this.isNegative() || value.isNeg()) { - throwFault("cannot 'and' negative values", "and"); + throwFault("cannot 'and' negative values", 'and'); } return toBigNumber(toBN(this).and(value)); }; - BigNumber3.prototype.or = function(other) { + BigNumber3.prototype.or = function (other) { var value = toBN(other); if (this.isNegative() || value.isNeg()) { - throwFault("cannot 'or' negative values", "or"); + throwFault("cannot 'or' negative values", 'or'); } return toBigNumber(toBN(this).or(value)); }; - BigNumber3.prototype.xor = function(other) { + BigNumber3.prototype.xor = function (other) { var value = toBN(other); if (this.isNegative() || value.isNeg()) { - throwFault("cannot 'xor' negative values", "xor"); + throwFault("cannot 'xor' negative values", 'xor'); } return toBigNumber(toBN(this).xor(value)); }; - BigNumber3.prototype.mask = function(value) { + BigNumber3.prototype.mask = function (value) { if (this.isNegative() || value < 0) { - throwFault("cannot mask negative values", "mask"); + throwFault('cannot mask negative values', 'mask'); } return toBigNumber(toBN(this).maskn(value)); }; - BigNumber3.prototype.shl = function(value) { + BigNumber3.prototype.shl = function (value) { if (this.isNegative() || value < 0) { - throwFault("cannot shift negative values", "shl"); + throwFault('cannot shift negative values', 'shl'); } return toBigNumber(toBN(this).shln(value)); }; - BigNumber3.prototype.shr = function(value) { + BigNumber3.prototype.shr = function (value) { if (this.isNegative() || value < 0) { - throwFault("cannot shift negative values", "shr"); + throwFault('cannot shift negative values', 'shr'); } return toBigNumber(toBN(this).shrn(value)); }; - BigNumber3.prototype.eq = function(other) { + BigNumber3.prototype.eq = function (other) { return toBN(this).eq(toBN(other)); }; - BigNumber3.prototype.lt = function(other) { + BigNumber3.prototype.lt = function (other) { return toBN(this).lt(toBN(other)); }; - BigNumber3.prototype.lte = function(other) { + BigNumber3.prototype.lte = function (other) { return toBN(this).lte(toBN(other)); }; - BigNumber3.prototype.gt = function(other) { + BigNumber3.prototype.gt = function (other) { return toBN(this).gt(toBN(other)); }; - BigNumber3.prototype.gte = function(other) { + BigNumber3.prototype.gte = function (other) { return toBN(this).gte(toBN(other)); }; - BigNumber3.prototype.isNegative = function() { - return this._hex[0] === "-"; + BigNumber3.prototype.isNegative = function () { + return this._hex[0] === '-'; }; - BigNumber3.prototype.isZero = function() { + BigNumber3.prototype.isZero = function () { return toBN(this).isZero(); }; - BigNumber3.prototype.toNumber = function() { + BigNumber3.prototype.toNumber = function () { try { return toBN(this).toNumber(); } catch (error) { - throwFault("overflow", "toNumber", this.toString()); + throwFault('overflow', 'toNumber', this.toString()); } return null; }; - BigNumber3.prototype.toBigInt = function() { + BigNumber3.prototype.toBigInt = function () { try { return BigInt(this.toString()); - } catch (e) { - } - return logger.throwError("this platform does not support BigInt", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - value: this.toString() - }); + } catch (e) {} + return logger.throwError( + 'this platform does not support BigInt', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + value: this.toString(), + } + ); }; - BigNumber3.prototype.toString = function() { + BigNumber3.prototype.toString = function () { if (arguments.length > 0) { if (arguments[0] === 10) { if (!_warnedToStringRadix) { _warnedToStringRadix = true; - logger.warn("BigNumber.toString does not accept any parameters; base-10 is assumed"); + logger.warn('BigNumber.toString does not accept any parameters; base-10 is assumed'); } } else if (arguments[0] === 16) { - logger.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()", logger_1.Logger.errors.UNEXPECTED_ARGUMENT, {}); + logger.throwError( + 'BigNumber.toString does not accept any parameters; use bigNumber.toHexString()', + logger_1.Logger.errors.UNEXPECTED_ARGUMENT, + {} + ); } else { - logger.throwError("BigNumber.toString does not accept parameters", logger_1.Logger.errors.UNEXPECTED_ARGUMENT, {}); + logger.throwError( + 'BigNumber.toString does not accept parameters', + logger_1.Logger.errors.UNEXPECTED_ARGUMENT, + {} + ); } } return toBN(this).toString(10); }; - BigNumber3.prototype.toHexString = function() { + BigNumber3.prototype.toHexString = function () { return this._hex; }; - BigNumber3.prototype.toJSON = function(key) { - return { type: "BigNumber", hex: this.toHexString() }; + BigNumber3.prototype.toJSON = function (key) { + return { type: 'BigNumber', hex: this.toHexString() }; }; - BigNumber3.from = function(value) { + BigNumber3.from = function (value) { if (value instanceof BigNumber3) { return value; } - if (typeof value === "string") { + if (typeof value === 'string') { if (value.match(/^-?0x[0-9a-f]+$/i)) { return new BigNumber3(_constructorGuard, toHex(value)); } if (value.match(/^-?[0-9]+$/)) { return new BigNumber3(_constructorGuard, toHex(new BN(value))); } - return logger.throwArgumentError("invalid BigNumber string", "value", value); + return logger.throwArgumentError('invalid BigNumber string', 'value', value); } - if (typeof value === "number") { + if (typeof value === 'number') { if (value % 1) { - throwFault("underflow", "BigNumber.from", value); + throwFault('underflow', 'BigNumber.from', value); } if (value >= MAX_SAFE || value <= -MAX_SAFE) { - throwFault("overflow", "BigNumber.from", value); + throwFault('overflow', 'BigNumber.from', value); } return BigNumber3.from(String(value)); } var anyValue = value; - if (typeof anyValue === "bigint") { + if (typeof anyValue === 'bigint') { return BigNumber3.from(anyValue.toString()); } if ((0, bytes_1.isBytes)(anyValue)) { @@ -4253,55 +4296,58 @@ var require_bignumber = __commonJS({ if (anyValue) { if (anyValue.toHexString) { var hex = anyValue.toHexString(); - if (typeof hex === "string") { + if (typeof hex === 'string') { return BigNumber3.from(hex); } } else { var hex = anyValue._hex; - if (hex == null && anyValue.type === "BigNumber") { + if (hex == null && anyValue.type === 'BigNumber') { hex = anyValue.hex; } - if (typeof hex === "string") { - if ((0, bytes_1.isHexString)(hex) || hex[0] === "-" && (0, bytes_1.isHexString)(hex.substring(1))) { + if (typeof hex === 'string') { + if ( + (0, bytes_1.isHexString)(hex) || + (hex[0] === '-' && (0, bytes_1.isHexString)(hex.substring(1))) + ) { return BigNumber3.from(hex); } } } } - return logger.throwArgumentError("invalid BigNumber value", "value", value); + return logger.throwArgumentError('invalid BigNumber value', 'value', value); }; - BigNumber3.isBigNumber = function(value) { + BigNumber3.isBigNumber = function (value) { return !!(value && value._isBigNumber); }; return BigNumber3; - }(); + })(); exports2.BigNumber = BigNumber2; function toHex(value) { - if (typeof value !== "string") { + if (typeof value !== 'string') { return toHex(value.toString(16)); } - if (value[0] === "-") { + if (value[0] === '-') { value = value.substring(1); - if (value[0] === "-") { - logger.throwArgumentError("invalid hex", "value", value); + if (value[0] === '-') { + logger.throwArgumentError('invalid hex', 'value', value); } value = toHex(value); - if (value === "0x00") { + if (value === '0x00') { return value; } - return "-" + value; + return '-' + value; } - if (value.substring(0, 2) !== "0x") { - value = "0x" + value; + if (value.substring(0, 2) !== '0x') { + value = '0x' + value; } - if (value === "0x") { - return "0x00"; + if (value === '0x') { + return '0x00'; } if (value.length % 2) { - value = "0x0" + value.substring(2); + value = '0x0' + value.substring(2); } - while (value.length > 4 && value.substring(0, 4) === "0x00") { - value = "0x" + value.substring(4); + while (value.length > 4 && value.substring(0, 4) === '0x00') { + value = '0x' + value.substring(4); } return value; } @@ -4310,8 +4356,8 @@ var require_bignumber = __commonJS({ } function toBN(value) { var hex = BigNumber2.from(value).toHexString(); - if (hex[0] === "-") { - return new BN("-" + hex.substring(3), 16); + if (hex[0] === '-') { + return new BN('-' + hex.substring(3), 16); } return new BN(hex.substring(2), 16); } @@ -4330,15 +4376,19 @@ var require_bignumber = __commonJS({ return new BN(value, 16).toString(36); } exports2._base16To36 = _base16To36; - } + }, }); // node_modules/@ethersproject/bignumber/lib/fixednumber.js var require_fixednumber = __commonJS({ - "node_modules/@ethersproject/bignumber/lib/fixednumber.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.FixedNumber = exports2.FixedFormat = exports2.parseFixed = exports2.formatFixed = void 0; + 'node_modules/@ethersproject/bignumber/lib/fixednumber.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.FixedNumber = + exports2.FixedFormat = + exports2.parseFixed = + exports2.formatFixed = + void 0; var bytes_1 = require_lib2(); var logger_1 = require_lib(); var _version_1 = require_version3(); @@ -4354,21 +4404,20 @@ var require_fixednumber = __commonJS({ } return logger.throwError(message, logger_1.Logger.errors.NUMERIC_FAULT, params); } - var zeros = "0"; + var zeros = '0'; while (zeros.length < 256) { zeros += zeros; } function getMultiplier(decimals) { - if (typeof decimals !== "number") { + if (typeof decimals !== 'number') { try { decimals = bignumber_1.BigNumber.from(decimals).toNumber(); - } catch (e) { - } + } catch (e) {} } - if (typeof decimals === "number" && decimals >= 0 && decimals <= 256 && !(decimals % 1)) { - return "1" + zeros.substring(0, decimals); + if (typeof decimals === 'number' && decimals >= 0 && decimals <= 256 && !(decimals % 1)) { + return '1' + zeros.substring(0, decimals); } - return logger.throwArgumentError("invalid decimal size", "decimals", decimals); + return logger.throwArgumentError('invalid decimal size', 'decimals', decimals); } function formatFixed(value, decimals) { if (decimals == null) { @@ -4382,17 +4431,17 @@ var require_fixednumber = __commonJS({ } var fraction = value.mod(multiplier).toString(); while (fraction.length < multiplier.length - 1) { - fraction = "0" + fraction; + fraction = '0' + fraction; } fraction = fraction.match(/^([0-9]*[1-9]|0)(0*)/)[1]; var whole = value.div(multiplier).toString(); if (multiplier.length === 1) { value = whole; } else { - value = whole + "." + fraction; + value = whole + '.' + fraction; } if (negative) { - value = "-" + value; + value = '-' + value; } return value; } @@ -4402,38 +4451,39 @@ var require_fixednumber = __commonJS({ decimals = 0; } var multiplier = getMultiplier(decimals); - if (typeof value !== "string" || !value.match(/^-?[0-9.]+$/)) { - logger.throwArgumentError("invalid decimal value", "value", value); + if (typeof value !== 'string' || !value.match(/^-?[0-9.]+$/)) { + logger.throwArgumentError('invalid decimal value', 'value', value); } - var negative = value.substring(0, 1) === "-"; + var negative = value.substring(0, 1) === '-'; if (negative) { value = value.substring(1); } - if (value === ".") { - logger.throwArgumentError("missing value", "value", value); + if (value === '.') { + logger.throwArgumentError('missing value', 'value', value); } - var comps = value.split("."); + var comps = value.split('.'); if (comps.length > 2) { - logger.throwArgumentError("too many decimal points", "value", value); + logger.throwArgumentError('too many decimal points', 'value', value); } - var whole = comps[0], fraction = comps[1]; + var whole = comps[0], + fraction = comps[1]; if (!whole) { - whole = "0"; + whole = '0'; } if (!fraction) { - fraction = "0"; + fraction = '0'; } - while (fraction[fraction.length - 1] === "0") { + while (fraction[fraction.length - 1] === '0') { fraction = fraction.substring(0, fraction.length - 1); } if (fraction.length > multiplier.length - 1) { - throwFault("fractional component exceeds decimals", "underflow", "parseFixed"); + throwFault('fractional component exceeds decimals', 'underflow', 'parseFixed'); } - if (fraction === "") { - fraction = "0"; + if (fraction === '') { + fraction = '0'; } while (fraction.length < multiplier.length - 1) { - fraction += "0"; + fraction += '0'; } var wholeValue = bignumber_1.BigNumber.from(whole); var fractionValue = bignumber_1.BigNumber.from(fraction); @@ -4444,76 +4494,96 @@ var require_fixednumber = __commonJS({ return wei; } exports2.parseFixed = parseFixed; - var FixedFormat = function() { + var FixedFormat = (function () { function FixedFormat2(constructorGuard, signed, width, decimals) { if (constructorGuard !== _constructorGuard) { - logger.throwError("cannot use FixedFormat constructor; use FixedFormat.from", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "new FixedFormat" - }); + logger.throwError( + 'cannot use FixedFormat constructor; use FixedFormat.from', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'new FixedFormat', + } + ); } this.signed = signed; this.width = width; this.decimals = decimals; - this.name = (signed ? "" : "u") + "fixed" + String(width) + "x" + String(decimals); + this.name = (signed ? '' : 'u') + 'fixed' + String(width) + 'x' + String(decimals); this._multiplier = getMultiplier(decimals); Object.freeze(this); } - FixedFormat2.from = function(value) { + FixedFormat2.from = function (value) { if (value instanceof FixedFormat2) { return value; } - if (typeof value === "number") { - value = "fixed128x" + value; + if (typeof value === 'number') { + value = 'fixed128x' + value; } var signed = true; var width = 128; var decimals = 18; - if (typeof value === "string") { - if (value === "fixed") { - } else if (value === "ufixed") { + if (typeof value === 'string') { + if (value === 'fixed') { + } else if (value === 'ufixed') { signed = false; } else { var match = value.match(/^(u?)fixed([0-9]+)x([0-9]+)$/); if (!match) { - logger.throwArgumentError("invalid fixed format", "format", value); + logger.throwArgumentError('invalid fixed format', 'format', value); } - signed = match[1] !== "u"; + signed = match[1] !== 'u'; width = parseInt(match[2]); decimals = parseInt(match[3]); } } else if (value) { - var check = function(key, type, defaultValue) { + var check = function (key, type, defaultValue) { if (value[key] == null) { return defaultValue; } if (typeof value[key] !== type) { - logger.throwArgumentError("invalid fixed format (" + key + " not " + type + ")", "format." + key, value[key]); + logger.throwArgumentError( + 'invalid fixed format (' + key + ' not ' + type + ')', + 'format.' + key, + value[key] + ); } return value[key]; }; - signed = check("signed", "boolean", signed); - width = check("width", "number", width); - decimals = check("decimals", "number", decimals); + signed = check('signed', 'boolean', signed); + width = check('width', 'number', width); + decimals = check('decimals', 'number', decimals); } if (width % 8) { - logger.throwArgumentError("invalid fixed format width (not byte aligned)", "format.width", width); + logger.throwArgumentError( + 'invalid fixed format width (not byte aligned)', + 'format.width', + width + ); } if (decimals > 80) { - logger.throwArgumentError("invalid fixed format (decimals too large)", "format.decimals", decimals); + logger.throwArgumentError( + 'invalid fixed format (decimals too large)', + 'format.decimals', + decimals + ); } return new FixedFormat2(_constructorGuard, signed, width, decimals); }; return FixedFormat2; - }(); + })(); exports2.FixedFormat = FixedFormat; - var FixedNumber = function() { + var FixedNumber = (function () { function FixedNumber2(constructorGuard, hex, value, format) { var _newTarget = this.constructor; logger.checkNew(_newTarget, FixedNumber2); if (constructorGuard !== _constructorGuard) { - logger.throwError("cannot use FixedNumber constructor; use FixedNumber.from", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "new FixedFormat" - }); + logger.throwError( + 'cannot use FixedNumber constructor; use FixedNumber.from', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'new FixedFormat', + } + ); } this.format = format; this._hex = hex; @@ -4521,39 +4591,51 @@ var require_fixednumber = __commonJS({ this._isFixedNumber = true; Object.freeze(this); } - FixedNumber2.prototype._checkFormat = function(other) { + FixedNumber2.prototype._checkFormat = function (other) { if (this.format.name !== other.format.name) { - logger.throwArgumentError("incompatible format; use fixedNumber.toFormat", "other", other); + logger.throwArgumentError( + 'incompatible format; use fixedNumber.toFormat', + 'other', + other + ); } }; - FixedNumber2.prototype.addUnsafe = function(other) { + FixedNumber2.prototype.addUnsafe = function (other) { this._checkFormat(other); var a = parseFixed(this._value, this.format.decimals); var b = parseFixed(other._value, other.format.decimals); return FixedNumber2.fromValue(a.add(b), this.format.decimals, this.format); }; - FixedNumber2.prototype.subUnsafe = function(other) { + FixedNumber2.prototype.subUnsafe = function (other) { this._checkFormat(other); var a = parseFixed(this._value, this.format.decimals); var b = parseFixed(other._value, other.format.decimals); return FixedNumber2.fromValue(a.sub(b), this.format.decimals, this.format); }; - FixedNumber2.prototype.mulUnsafe = function(other) { + FixedNumber2.prototype.mulUnsafe = function (other) { this._checkFormat(other); var a = parseFixed(this._value, this.format.decimals); var b = parseFixed(other._value, other.format.decimals); - return FixedNumber2.fromValue(a.mul(b).div(this.format._multiplier), this.format.decimals, this.format); + return FixedNumber2.fromValue( + a.mul(b).div(this.format._multiplier), + this.format.decimals, + this.format + ); }; - FixedNumber2.prototype.divUnsafe = function(other) { + FixedNumber2.prototype.divUnsafe = function (other) { this._checkFormat(other); var a = parseFixed(this._value, this.format.decimals); var b = parseFixed(other._value, other.format.decimals); - return FixedNumber2.fromValue(a.mul(this.format._multiplier).div(b), this.format.decimals, this.format); + return FixedNumber2.fromValue( + a.mul(this.format._multiplier).div(b), + this.format.decimals, + this.format + ); }; - FixedNumber2.prototype.floor = function() { - var comps = this.toString().split("."); + FixedNumber2.prototype.floor = function () { + var comps = this.toString().split('.'); if (comps.length === 1) { - comps.push("0"); + comps.push('0'); } var result = FixedNumber2.from(comps[0], this.format); var hasFraction = !comps[1].match(/^(0*)$/); @@ -4562,10 +4644,10 @@ var require_fixednumber = __commonJS({ } return result; }; - FixedNumber2.prototype.ceiling = function() { - var comps = this.toString().split("."); + FixedNumber2.prototype.ceiling = function () { + var comps = this.toString().split('.'); if (comps.length === 1) { - comps.push("0"); + comps.push('0'); } var result = FixedNumber2.from(comps[0], this.format); var hasFraction = !comps[1].match(/^(0*)$/); @@ -4574,50 +4656,53 @@ var require_fixednumber = __commonJS({ } return result; }; - FixedNumber2.prototype.round = function(decimals) { + FixedNumber2.prototype.round = function (decimals) { if (decimals == null) { decimals = 0; } - var comps = this.toString().split("."); + var comps = this.toString().split('.'); if (comps.length === 1) { - comps.push("0"); + comps.push('0'); } if (decimals < 0 || decimals > 80 || decimals % 1) { - logger.throwArgumentError("invalid decimal count", "decimals", decimals); + logger.throwArgumentError('invalid decimal count', 'decimals', decimals); } if (comps[1].length <= decimals) { return this; } - var factor = FixedNumber2.from("1" + zeros.substring(0, decimals), this.format); + var factor = FixedNumber2.from('1' + zeros.substring(0, decimals), this.format); var bump = BUMP.toFormat(this.format); return this.mulUnsafe(factor).addUnsafe(bump).floor().divUnsafe(factor); }; - FixedNumber2.prototype.isZero = function() { - return this._value === "0.0" || this._value === "0"; + FixedNumber2.prototype.isZero = function () { + return this._value === '0.0' || this._value === '0'; }; - FixedNumber2.prototype.isNegative = function() { - return this._value[0] === "-"; + FixedNumber2.prototype.isNegative = function () { + return this._value[0] === '-'; }; - FixedNumber2.prototype.toString = function() { + FixedNumber2.prototype.toString = function () { return this._value; }; - FixedNumber2.prototype.toHexString = function(width) { + FixedNumber2.prototype.toHexString = function (width) { if (width == null) { return this._hex; } if (width % 8) { - logger.throwArgumentError("invalid byte width", "width", width); + logger.throwArgumentError('invalid byte width', 'width', width); } - var hex = bignumber_1.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(width).toHexString(); + var hex = bignumber_1.BigNumber.from(this._hex) + .fromTwos(this.format.width) + .toTwos(width) + .toHexString(); return (0, bytes_1.hexZeroPad)(hex, width / 8); }; - FixedNumber2.prototype.toUnsafeFloat = function() { + FixedNumber2.prototype.toUnsafeFloat = function () { return parseFloat(this.toString()); }; - FixedNumber2.prototype.toFormat = function(format) { + FixedNumber2.prototype.toFormat = function (format) { return FixedNumber2.fromString(this._value, format); }; - FixedNumber2.fromValue = function(value, decimals, format) { + FixedNumber2.fromValue = function (value, decimals, format) { if (format == null && decimals != null && !(0, bignumber_1.isBigNumberish)(decimals)) { format = decimals; decimals = null; @@ -4626,18 +4711,18 @@ var require_fixednumber = __commonJS({ decimals = 0; } if (format == null) { - format = "fixed"; + format = 'fixed'; } return FixedNumber2.fromString(formatFixed(value, decimals), FixedFormat.from(format)); }; - FixedNumber2.fromString = function(value, format) { + FixedNumber2.fromString = function (value, format) { if (format == null) { - format = "fixed"; + format = 'fixed'; } var fixedFormat = FixedFormat.from(format); var numeric = parseFixed(value, fixedFormat.decimals); if (!fixedFormat.signed && numeric.lt(Zero)) { - throwFault("unsigned value cannot be negative", "overflow", "value", value); + throwFault('unsigned value cannot be negative', 'overflow', 'value', value); } var hex = null; if (fixedFormat.signed) { @@ -4649,13 +4734,13 @@ var require_fixednumber = __commonJS({ var decimal = formatFixed(numeric, fixedFormat.decimals); return new FixedNumber2(_constructorGuard, hex, decimal, fixedFormat); }; - FixedNumber2.fromBytes = function(value, format) { + FixedNumber2.fromBytes = function (value, format) { if (format == null) { - format = "fixed"; + format = 'fixed'; } var fixedFormat = FixedFormat.from(format); if ((0, bytes_1.arrayify)(value).length > fixedFormat.width / 8) { - throw new Error("overflow"); + throw new Error('overflow'); } var numeric = bignumber_1.BigNumber.from(value); if (fixedFormat.signed) { @@ -4665,8 +4750,8 @@ var require_fixednumber = __commonJS({ var decimal = formatFixed(numeric, fixedFormat.decimals); return new FixedNumber2(_constructorGuard, hex, decimal, fixedFormat); }; - FixedNumber2.from = function(value, format) { - if (typeof value === "string") { + FixedNumber2.from = function (value, format) { + if (typeof value === 'string') { return FixedNumber2.fromString(value, format); } if ((0, bytes_1.isBytes)(value)) { @@ -4679,171 +4764,234 @@ var require_fixednumber = __commonJS({ throw error; } } - return logger.throwArgumentError("invalid FixedNumber value", "value", value); + return logger.throwArgumentError('invalid FixedNumber value', 'value', value); }; - FixedNumber2.isFixedNumber = function(value) { + FixedNumber2.isFixedNumber = function (value) { return !!(value && value._isFixedNumber); }; return FixedNumber2; - }(); + })(); exports2.FixedNumber = FixedNumber; var ONE = FixedNumber.from(1); - var BUMP = FixedNumber.from("0.5"); - } + var BUMP = FixedNumber.from('0.5'); + }, }); // node_modules/@ethersproject/bignumber/lib/index.js var require_lib3 = __commonJS({ - "node_modules/@ethersproject/bignumber/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2._base36To16 = exports2._base16To36 = exports2.parseFixed = exports2.FixedNumber = exports2.FixedFormat = exports2.formatFixed = exports2.BigNumber = void 0; + 'node_modules/@ethersproject/bignumber/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2._base36To16 = + exports2._base16To36 = + exports2.parseFixed = + exports2.FixedNumber = + exports2.FixedFormat = + exports2.formatFixed = + exports2.BigNumber = + void 0; var bignumber_1 = require_bignumber(); - Object.defineProperty(exports2, "BigNumber", { enumerable: true, get: function() { - return bignumber_1.BigNumber; - } }); + Object.defineProperty(exports2, 'BigNumber', { + enumerable: true, + get: function () { + return bignumber_1.BigNumber; + }, + }); var fixednumber_1 = require_fixednumber(); - Object.defineProperty(exports2, "formatFixed", { enumerable: true, get: function() { - return fixednumber_1.formatFixed; - } }); - Object.defineProperty(exports2, "FixedFormat", { enumerable: true, get: function() { - return fixednumber_1.FixedFormat; - } }); - Object.defineProperty(exports2, "FixedNumber", { enumerable: true, get: function() { - return fixednumber_1.FixedNumber; - } }); - Object.defineProperty(exports2, "parseFixed", { enumerable: true, get: function() { - return fixednumber_1.parseFixed; - } }); + Object.defineProperty(exports2, 'formatFixed', { + enumerable: true, + get: function () { + return fixednumber_1.formatFixed; + }, + }); + Object.defineProperty(exports2, 'FixedFormat', { + enumerable: true, + get: function () { + return fixednumber_1.FixedFormat; + }, + }); + Object.defineProperty(exports2, 'FixedNumber', { + enumerable: true, + get: function () { + return fixednumber_1.FixedNumber; + }, + }); + Object.defineProperty(exports2, 'parseFixed', { + enumerable: true, + get: function () { + return fixednumber_1.parseFixed; + }, + }); var bignumber_2 = require_bignumber(); - Object.defineProperty(exports2, "_base16To36", { enumerable: true, get: function() { - return bignumber_2._base16To36; - } }); - Object.defineProperty(exports2, "_base36To16", { enumerable: true, get: function() { - return bignumber_2._base36To16; - } }); - } + Object.defineProperty(exports2, '_base16To36', { + enumerable: true, + get: function () { + return bignumber_2._base16To36; + }, + }); + Object.defineProperty(exports2, '_base36To16', { + enumerable: true, + get: function () { + return bignumber_2._base36To16; + }, + }); + }, }); // node_modules/@ethersproject/properties/lib/_version.js var require_version4 = __commonJS({ - "node_modules/@ethersproject/properties/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/properties/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "properties/5.5.0"; - } + exports2.version = 'properties/5.5.0'; + }, }); // node_modules/@ethersproject/properties/lib/index.js var require_lib4 = __commonJS({ - "node_modules/@ethersproject/properties/lib/index.js"(exports2) { - "use strict"; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } + 'node_modules/@ethersproject/properties/lib/index.js'(exports2) { + 'use strict'; + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Description = exports2.deepCopy = exports2.shallowCopy = exports2.checkProperties = exports2.resolveProperties = exports2.getStatic = exports2.defineReadOnly = void 0; + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Description = + exports2.deepCopy = + exports2.shallowCopy = + exports2.checkProperties = + exports2.resolveProperties = + exports2.getStatic = + exports2.defineReadOnly = + void 0; var logger_1 = require_lib(); var _version_1 = require_version4(); var logger = new logger_1.Logger(_version_1.version); @@ -4851,7 +4999,7 @@ var require_lib4 = __commonJS({ Object.defineProperty(object, name2, { enumerable: true, value, - writable: false + writable: false, }); } exports2.defineReadOnly = defineReadOnly; @@ -4860,7 +5008,7 @@ var require_lib4 = __commonJS({ if (ctor[key]) { return ctor[key]; } - if (!ctor.prototype || typeof ctor.prototype !== "object") { + if (!ctor.prototype || typeof ctor.prototype !== 'object') { break; } ctor = Object.getPrototypeOf(ctor.prototype).constructor; @@ -4869,36 +5017,39 @@ var require_lib4 = __commonJS({ } exports2.getStatic = getStatic; function resolveProperties(object) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var promises, results; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - promises = Object.keys(object).map(function(key) { + promises = Object.keys(object).map(function (key) { var value = object[key]; - return Promise.resolve(value).then(function(v) { + return Promise.resolve(value).then(function (v) { return { key, value: v }; }); }); return [4, Promise.all(promises)]; case 1: results = _a7.sent(); - return [2, results.reduce(function(accum, result) { - accum[result.key] = result.value; - return accum; - }, {})]; + return [ + 2, + results.reduce(function (accum, result) { + accum[result.key] = result.value; + return accum; + }, {}), + ]; } }); }); } exports2.resolveProperties = resolveProperties; function checkProperties(object, properties) { - if (!object || typeof object !== "object") { - logger.throwArgumentError("invalid object", "object", object); + if (!object || typeof object !== 'object') { + logger.throwArgumentError('invalid object', 'object', object); } - Object.keys(object).forEach(function(key) { + Object.keys(object).forEach(function (key) { if (!properties[key]) { - logger.throwArgumentError("invalid object key - " + key, "transaction:" + key, object); + logger.throwArgumentError('invalid object key - ' + key, 'transaction:' + key, object); } }); } @@ -4911,12 +5062,12 @@ var require_lib4 = __commonJS({ return result; } exports2.shallowCopy = shallowCopy; - var opaque = { bigint: true, boolean: true, "function": true, number: true, string: true }; + var opaque = { bigint: true, boolean: true, function: true, number: true, string: true }; function _isFrozen(object) { if (object === void 0 || object === null || opaque[typeof object]) { return true; } - if (Array.isArray(object) || typeof object === "object") { + if (Array.isArray(object) || typeof object === 'object') { if (!Object.isFrozen(object)) { return false; } @@ -4934,18 +5085,20 @@ var require_lib4 = __commonJS({ } return true; } - return logger.throwArgumentError("Cannot deepCopy " + typeof object, "object", object); + return logger.throwArgumentError('Cannot deepCopy ' + typeof object, 'object', object); } function _deepCopy(object) { if (_isFrozen(object)) { return object; } if (Array.isArray(object)) { - return Object.freeze(object.map(function(item) { - return deepCopy(item); - })); + return Object.freeze( + object.map(function (item) { + return deepCopy(item); + }) + ); } - if (typeof object === "object") { + if (typeof object === 'object') { var result = {}; for (var key in object) { var value = object[key]; @@ -4956,61 +5109,74 @@ var require_lib4 = __commonJS({ } return result; } - return logger.throwArgumentError("Cannot deepCopy " + typeof object, "object", object); + return logger.throwArgumentError('Cannot deepCopy ' + typeof object, 'object', object); } function deepCopy(object) { return _deepCopy(object); } exports2.deepCopy = deepCopy; - var Description = function() { + var Description = (function () { function Description2(info) { for (var key in info) { this[key] = deepCopy(info[key]); } } return Description2; - }(); + })(); exports2.Description = Description; - } + }, }); // node_modules/@ethersproject/abi/lib/_version.js var require_version5 = __commonJS({ - "node_modules/@ethersproject/abi/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/abi/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "abi/5.5.0"; - } + exports2.version = 'abi/5.5.0'; + }, }); // node_modules/@ethersproject/abi/lib/fragments.js var require_fragments = __commonJS({ - "node_modules/@ethersproject/abi/lib/fragments.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/fragments.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.ErrorFragment = exports2.FunctionFragment = exports2.ConstructorFragment = exports2.EventFragment = exports2.Fragment = exports2.ParamType = exports2.FormatTypes = void 0; + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.ErrorFragment = + exports2.FunctionFragment = + exports2.ConstructorFragment = + exports2.EventFragment = + exports2.Fragment = + exports2.ParamType = + exports2.FormatTypes = + void 0; var bignumber_1 = require_lib3(); var properties_1 = require_lib4(); var logger_1 = require_lib(); @@ -5020,45 +5186,45 @@ var require_fragments = __commonJS({ var ModifiersBytes = { calldata: true, memory: true, storage: true }; var ModifiersNest = { calldata: true, memory: true }; function checkModifier(type, name2) { - if (type === "bytes" || type === "string") { + if (type === 'bytes' || type === 'string') { if (ModifiersBytes[name2]) { return true; } - } else if (type === "address") { - if (name2 === "payable") { + } else if (type === 'address') { + if (name2 === 'payable') { return true; } - } else if (type.indexOf("[") >= 0 || type === "tuple") { + } else if (type.indexOf('[') >= 0 || type === 'tuple') { if (ModifiersNest[name2]) { return true; } } - if (ModifiersBytes[name2] || name2 === "payable") { - logger.throwArgumentError("invalid modifier", "name", name2); + if (ModifiersBytes[name2] || name2 === 'payable') { + logger.throwArgumentError('invalid modifier', 'name', name2); } return false; } function parseParamType(param, allowIndexed) { var originalParam = param; function throwError(i2) { - logger.throwArgumentError("unexpected character at position " + i2, "param", param); + logger.throwArgumentError('unexpected character at position ' + i2, 'param', param); } - param = param.replace(/\s/g, " "); + param = param.replace(/\s/g, ' '); function newNode(parent2) { - var node2 = { type: "", name: "", parent: parent2, state: { allowType: true } }; + var node2 = { type: '', name: '', parent: parent2, state: { allowType: true } }; if (allowIndexed) { node2.indexed = false; } return node2; } - var parent = { type: "", name: "", state: { allowType: true } }; + var parent = { type: '', name: '', state: { allowType: true } }; var node = parent; for (var i = 0; i < param.length; i++) { var c = param[i]; switch (c) { - case "(": - if (node.state.allowType && node.type === "") { - node.type = "tuple"; + case '(': + if (node.state.allowType && node.type === '') { + node.type = 'tuple'; } else if (!node.state.allowParams) { throwError(i); } @@ -5067,17 +5233,17 @@ var require_fragments = __commonJS({ node.components = [newNode(node)]; node = node.components[0]; break; - case ")": + case ')': delete node.state; - if (node.name === "indexed") { + if (node.name === 'indexed') { if (!allowIndexed) { throwError(i); } node.indexed = true; - node.name = ""; + node.name = ''; } if (checkModifier(node.type, node.name)) { - node.name = ""; + node.name = ''; } node.type = verifyType(node.type); var child = node; @@ -5090,17 +5256,17 @@ var require_fragments = __commonJS({ node.state.allowName = true; node.state.allowArray = true; break; - case ",": + case ',': delete node.state; - if (node.name === "indexed") { + if (node.name === 'indexed') { if (!allowIndexed) { throwError(i); } node.indexed = true; - node.name = ""; + node.name = ''; } if (checkModifier(node.type, node.name)) { - node.name = ""; + node.name = ''; } node.type = verifyType(node.type); var sibling = newNode(node.parent); @@ -5108,9 +5274,9 @@ var require_fragments = __commonJS({ delete node.parent; node = sibling; break; - case " ": + case ' ': if (node.state.allowType) { - if (node.type !== "") { + if (node.type !== '') { node.type = verifyType(node.type); delete node.state.allowType; node.state.allowName = true; @@ -5118,8 +5284,8 @@ var require_fragments = __commonJS({ } } if (node.state.allowName) { - if (node.name !== "") { - if (node.name === "indexed") { + if (node.name !== '') { + if (node.name === 'indexed') { if (!allowIndexed) { throwError(i); } @@ -5127,16 +5293,16 @@ var require_fragments = __commonJS({ throwError(i); } node.indexed = true; - node.name = ""; + node.name = ''; } else if (checkModifier(node.type, node.name)) { - node.name = ""; + node.name = ''; } else { node.state.allowName = false; } } } break; - case "[": + case '[': if (!node.state.allowArray) { throwError(i); } @@ -5145,7 +5311,7 @@ var require_fragments = __commonJS({ node.state.allowName = false; node.state.readArray = true; break; - case "]": + case ']': if (!node.state.readArray) { throwError(i); } @@ -5170,10 +5336,10 @@ var require_fragments = __commonJS({ } } if (node.parent) { - logger.throwArgumentError("unexpected eof", "param", param); + logger.throwArgumentError('unexpected eof', 'param', param); } delete parent.state; - if (node.name === "indexed") { + if (node.name === 'indexed') { if (!allowIndexed) { throwError(originalParam.length - 7); } @@ -5181,9 +5347,9 @@ var require_fragments = __commonJS({ throwError(originalParam.length - 7); } node.indexed = true; - node.name = ""; + node.name = ''; } else if (checkModifier(node.type, node.name)) { - node.name = ""; + node.name = ''; } parent.type = verifyType(parent.type); return parent; @@ -5194,95 +5360,100 @@ var require_fragments = __commonJS({ } } exports2.FormatTypes = Object.freeze({ - sighash: "sighash", - minimal: "minimal", - full: "full", - json: "json" + sighash: 'sighash', + minimal: 'minimal', + full: 'full', + json: 'json', }); var paramTypeArray = new RegExp(/^(.*)\[([0-9]*)\]$/); - var ParamType = function() { + var ParamType = (function () { function ParamType2(constructorGuard, params) { if (constructorGuard !== _constructorGuard) { - logger.throwError("use fromString", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "new ParamType()" + logger.throwError('use fromString', logger_1.Logger.errors.UNSUPPORTED_OPERATION, { + operation: 'new ParamType()', }); } populate(this, params); var match = this.type.match(paramTypeArray); if (match) { populate(this, { - arrayLength: parseInt(match[2] || "-1"), + arrayLength: parseInt(match[2] || '-1'), arrayChildren: ParamType2.fromObject({ type: match[1], - components: this.components + components: this.components, }), - baseType: "array" + baseType: 'array', }); } else { populate(this, { arrayLength: null, arrayChildren: null, - baseType: this.components != null ? "tuple" : this.type + baseType: this.components != null ? 'tuple' : this.type, }); } this._isParamType = true; Object.freeze(this); } - ParamType2.prototype.format = function(format) { + ParamType2.prototype.format = function (format) { if (!format) { format = exports2.FormatTypes.sighash; } if (!exports2.FormatTypes[format]) { - logger.throwArgumentError("invalid format type", "format", format); + logger.throwArgumentError('invalid format type', 'format', format); } if (format === exports2.FormatTypes.json) { var result_1 = { - type: this.baseType === "tuple" ? "tuple" : this.type, - name: this.name || void 0 + type: this.baseType === 'tuple' ? 'tuple' : this.type, + name: this.name || void 0, }; - if (typeof this.indexed === "boolean") { + if (typeof this.indexed === 'boolean') { result_1.indexed = this.indexed; } if (this.components) { - result_1.components = this.components.map(function(comp) { + result_1.components = this.components.map(function (comp) { return JSON.parse(comp.format(format)); }); } return JSON.stringify(result_1); } - var result = ""; - if (this.baseType === "array") { + var result = ''; + if (this.baseType === 'array') { result += this.arrayChildren.format(format); - result += "[" + (this.arrayLength < 0 ? "" : String(this.arrayLength)) + "]"; + result += '[' + (this.arrayLength < 0 ? '' : String(this.arrayLength)) + ']'; } else { - if (this.baseType === "tuple") { + if (this.baseType === 'tuple') { if (format !== exports2.FormatTypes.sighash) { result += this.type; } - result += "(" + this.components.map(function(comp) { - return comp.format(format); - }).join(format === exports2.FormatTypes.full ? ", " : ",") + ")"; + result += + '(' + + this.components + .map(function (comp) { + return comp.format(format); + }) + .join(format === exports2.FormatTypes.full ? ', ' : ',') + + ')'; } else { result += this.type; } } if (format !== exports2.FormatTypes.sighash) { if (this.indexed === true) { - result += " indexed"; + result += ' indexed'; } if (format === exports2.FormatTypes.full && this.name) { - result += " " + this.name; + result += ' ' + this.name; } } return result; }; - ParamType2.from = function(value, allowIndexed) { - if (typeof value === "string") { + ParamType2.from = function (value, allowIndexed) { + if (typeof value === 'string') { return ParamType2.fromString(value, allowIndexed); } return ParamType2.fromObject(value); }; - ParamType2.fromObject = function(value) { + ParamType2.fromObject = function (value) { if (ParamType2.isParamType(value)) { return value; } @@ -5290,187 +5461,197 @@ var require_fragments = __commonJS({ name: value.name || null, type: verifyType(value.type), indexed: value.indexed == null ? null : !!value.indexed, - components: value.components ? value.components.map(ParamType2.fromObject) : null + components: value.components ? value.components.map(ParamType2.fromObject) : null, }); }; - ParamType2.fromString = function(value, allowIndexed) { + ParamType2.fromString = function (value, allowIndexed) { function ParamTypify(node) { return ParamType2.fromObject({ name: node.name, type: node.type, indexed: node.indexed, - components: node.components + components: node.components, }); } return ParamTypify(parseParamType(value, !!allowIndexed)); }; - ParamType2.isParamType = function(value) { + ParamType2.isParamType = function (value) { return !!(value != null && value._isParamType); }; return ParamType2; - }(); + })(); exports2.ParamType = ParamType; function parseParams(value, allowIndex) { - return splitNesting(value).map(function(param) { + return splitNesting(value).map(function (param) { return ParamType.fromString(param, allowIndex); }); } - var Fragment = function() { + var Fragment = (function () { function Fragment2(constructorGuard, params) { if (constructorGuard !== _constructorGuard) { - logger.throwError("use a static from method", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "new Fragment()" - }); + logger.throwError( + 'use a static from method', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'new Fragment()', + } + ); } populate(this, params); this._isFragment = true; Object.freeze(this); } - Fragment2.from = function(value) { + Fragment2.from = function (value) { if (Fragment2.isFragment(value)) { return value; } - if (typeof value === "string") { + if (typeof value === 'string') { return Fragment2.fromString(value); } return Fragment2.fromObject(value); }; - Fragment2.fromObject = function(value) { + Fragment2.fromObject = function (value) { if (Fragment2.isFragment(value)) { return value; } switch (value.type) { - case "function": + case 'function': return FunctionFragment.fromObject(value); - case "event": + case 'event': return EventFragment.fromObject(value); - case "constructor": + case 'constructor': return ConstructorFragment.fromObject(value); - case "error": + case 'error': return ErrorFragment.fromObject(value); - case "fallback": - case "receive": + case 'fallback': + case 'receive': return null; } - return logger.throwArgumentError("invalid fragment object", "value", value); + return logger.throwArgumentError('invalid fragment object', 'value', value); }; - Fragment2.fromString = function(value) { - value = value.replace(/\s/g, " "); - value = value.replace(/\(/g, " (").replace(/\)/g, ") ").replace(/\s+/g, " "); + Fragment2.fromString = function (value) { + value = value.replace(/\s/g, ' '); + value = value.replace(/\(/g, ' (').replace(/\)/g, ') ').replace(/\s+/g, ' '); value = value.trim(); - if (value.split(" ")[0] === "event") { + if (value.split(' ')[0] === 'event') { return EventFragment.fromString(value.substring(5).trim()); - } else if (value.split(" ")[0] === "function") { + } else if (value.split(' ')[0] === 'function') { return FunctionFragment.fromString(value.substring(8).trim()); - } else if (value.split("(")[0].trim() === "constructor") { + } else if (value.split('(')[0].trim() === 'constructor') { return ConstructorFragment.fromString(value.trim()); - } else if (value.split(" ")[0] === "error") { + } else if (value.split(' ')[0] === 'error') { return ErrorFragment.fromString(value.substring(5).trim()); } - return logger.throwArgumentError("unsupported fragment", "value", value); + return logger.throwArgumentError('unsupported fragment', 'value', value); }; - Fragment2.isFragment = function(value) { + Fragment2.isFragment = function (value) { return !!(value && value._isFragment); }; return Fragment2; - }(); + })(); exports2.Fragment = Fragment; - var EventFragment = function(_super) { + var EventFragment = (function (_super) { __extends(EventFragment2, _super); function EventFragment2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - EventFragment2.prototype.format = function(format) { + EventFragment2.prototype.format = function (format) { if (!format) { format = exports2.FormatTypes.sighash; } if (!exports2.FormatTypes[format]) { - logger.throwArgumentError("invalid format type", "format", format); + logger.throwArgumentError('invalid format type', 'format', format); } if (format === exports2.FormatTypes.json) { return JSON.stringify({ - type: "event", + type: 'event', anonymous: this.anonymous, name: this.name, - inputs: this.inputs.map(function(input) { + inputs: this.inputs.map(function (input) { return JSON.parse(input.format(format)); - }) + }), }); } - var result = ""; + var result = ''; if (format !== exports2.FormatTypes.sighash) { - result += "event "; - } - result += this.name + "(" + this.inputs.map(function(input) { - return input.format(format); - }).join(format === exports2.FormatTypes.full ? ", " : ",") + ") "; + result += 'event '; + } + result += + this.name + + '(' + + this.inputs + .map(function (input) { + return input.format(format); + }) + .join(format === exports2.FormatTypes.full ? ', ' : ',') + + ') '; if (format !== exports2.FormatTypes.sighash) { if (this.anonymous) { - result += "anonymous "; + result += 'anonymous '; } } return result.trim(); }; - EventFragment2.from = function(value) { - if (typeof value === "string") { + EventFragment2.from = function (value) { + if (typeof value === 'string') { return EventFragment2.fromString(value); } return EventFragment2.fromObject(value); }; - EventFragment2.fromObject = function(value) { + EventFragment2.fromObject = function (value) { if (EventFragment2.isEventFragment(value)) { return value; } - if (value.type !== "event") { - logger.throwArgumentError("invalid event object", "value", value); + if (value.type !== 'event') { + logger.throwArgumentError('invalid event object', 'value', value); } var params = { name: verifyIdentifier(value.name), anonymous: value.anonymous, inputs: value.inputs ? value.inputs.map(ParamType.fromObject) : [], - type: "event" + type: 'event', }; return new EventFragment2(_constructorGuard, params); }; - EventFragment2.fromString = function(value) { + EventFragment2.fromString = function (value) { var match = value.match(regexParen); if (!match) { - logger.throwArgumentError("invalid event string", "value", value); + logger.throwArgumentError('invalid event string', 'value', value); } var anonymous = false; - match[3].split(" ").forEach(function(modifier) { + match[3].split(' ').forEach(function (modifier) { switch (modifier.trim()) { - case "anonymous": + case 'anonymous': anonymous = true; break; - case "": + case '': break; default: - logger.warn("unknown modifier: " + modifier); + logger.warn('unknown modifier: ' + modifier); } }); return EventFragment2.fromObject({ name: match[1].trim(), anonymous, inputs: parseParams(match[2], true), - type: "event" + type: 'event', }); }; - EventFragment2.isEventFragment = function(value) { - return value && value._isFragment && value.type === "event"; + EventFragment2.isEventFragment = function (value) { + return value && value._isFragment && value.type === 'event'; }; return EventFragment2; - }(Fragment); + })(Fragment); exports2.EventFragment = EventFragment; function parseGas(value, params) { params.gas = null; - var comps = value.split("@"); + var comps = value.split('@'); if (comps.length !== 1) { if (comps.length > 2) { - logger.throwArgumentError("invalid human-readable ABI signature", "value", value); + logger.throwArgumentError('invalid human-readable ABI signature', 'value', value); } if (!comps[1].match(/^[0-9]+$/)) { - logger.throwArgumentError("invalid human-readable ABI signature gas", "value", value); + logger.throwArgumentError('invalid human-readable ABI signature gas', 'value', value); } params.gas = bignumber_1.BigNumber.from(comps[1]); return comps[0]; @@ -5480,34 +5661,34 @@ var require_fragments = __commonJS({ function parseModifiers(value, params) { params.constant = false; params.payable = false; - params.stateMutability = "nonpayable"; - value.split(" ").forEach(function(modifier) { + params.stateMutability = 'nonpayable'; + value.split(' ').forEach(function (modifier) { switch (modifier.trim()) { - case "constant": + case 'constant': params.constant = true; break; - case "payable": + case 'payable': params.payable = true; - params.stateMutability = "payable"; + params.stateMutability = 'payable'; break; - case "nonpayable": + case 'nonpayable': params.payable = false; - params.stateMutability = "nonpayable"; + params.stateMutability = 'nonpayable'; break; - case "pure": + case 'pure': params.constant = true; - params.stateMutability = "pure"; + params.stateMutability = 'pure'; break; - case "view": + case 'view': params.constant = true; - params.stateMutability = "view"; + params.stateMutability = 'view'; break; - case "external": - case "public": - case "": + case 'external': + case 'public': + case '': break; default: - console.log("unknown modifier: " + modifier); + console.log('unknown modifier: ' + modifier); } }); } @@ -5515,97 +5696,114 @@ var require_fragments = __commonJS({ var result = { constant: false, payable: true, - stateMutability: "payable" + stateMutability: 'payable', }; if (value.stateMutability != null) { result.stateMutability = value.stateMutability; - result.constant = result.stateMutability === "view" || result.stateMutability === "pure"; + result.constant = result.stateMutability === 'view' || result.stateMutability === 'pure'; if (value.constant != null) { if (!!value.constant !== result.constant) { - logger.throwArgumentError("cannot have constant function with mutability " + result.stateMutability, "value", value); + logger.throwArgumentError( + 'cannot have constant function with mutability ' + result.stateMutability, + 'value', + value + ); } } - result.payable = result.stateMutability === "payable"; + result.payable = result.stateMutability === 'payable'; if (value.payable != null) { if (!!value.payable !== result.payable) { - logger.throwArgumentError("cannot have payable function with mutability " + result.stateMutability, "value", value); + logger.throwArgumentError( + 'cannot have payable function with mutability ' + result.stateMutability, + 'value', + value + ); } } } else if (value.payable != null) { result.payable = !!value.payable; - if (value.constant == null && !result.payable && value.type !== "constructor") { - logger.throwArgumentError("unable to determine stateMutability", "value", value); + if (value.constant == null && !result.payable && value.type !== 'constructor') { + logger.throwArgumentError('unable to determine stateMutability', 'value', value); } result.constant = !!value.constant; if (result.constant) { - result.stateMutability = "view"; + result.stateMutability = 'view'; } else { - result.stateMutability = result.payable ? "payable" : "nonpayable"; + result.stateMutability = result.payable ? 'payable' : 'nonpayable'; } if (result.payable && result.constant) { - logger.throwArgumentError("cannot have constant payable function", "value", value); + logger.throwArgumentError('cannot have constant payable function', 'value', value); } } else if (value.constant != null) { result.constant = !!value.constant; result.payable = !result.constant; - result.stateMutability = result.constant ? "view" : "payable"; - } else if (value.type !== "constructor") { - logger.throwArgumentError("unable to determine stateMutability", "value", value); + result.stateMutability = result.constant ? 'view' : 'payable'; + } else if (value.type !== 'constructor') { + logger.throwArgumentError('unable to determine stateMutability', 'value', value); } return result; } - var ConstructorFragment = function(_super) { + var ConstructorFragment = (function (_super) { __extends(ConstructorFragment2, _super); function ConstructorFragment2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - ConstructorFragment2.prototype.format = function(format) { + ConstructorFragment2.prototype.format = function (format) { if (!format) { format = exports2.FormatTypes.sighash; } if (!exports2.FormatTypes[format]) { - logger.throwArgumentError("invalid format type", "format", format); + logger.throwArgumentError('invalid format type', 'format', format); } if (format === exports2.FormatTypes.json) { return JSON.stringify({ - type: "constructor", - stateMutability: this.stateMutability !== "nonpayable" ? this.stateMutability : void 0, + type: 'constructor', + stateMutability: this.stateMutability !== 'nonpayable' ? this.stateMutability : void 0, payable: this.payable, gas: this.gas ? this.gas.toNumber() : void 0, - inputs: this.inputs.map(function(input) { + inputs: this.inputs.map(function (input) { return JSON.parse(input.format(format)); - }) + }), }); } if (format === exports2.FormatTypes.sighash) { - logger.throwError("cannot format a constructor for sighash", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "format(sighash)" - }); + logger.throwError( + 'cannot format a constructor for sighash', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'format(sighash)', + } + ); } - var result = "constructor(" + this.inputs.map(function(input) { - return input.format(format); - }).join(format === exports2.FormatTypes.full ? ", " : ",") + ") "; - if (this.stateMutability && this.stateMutability !== "nonpayable") { - result += this.stateMutability + " "; + var result = + 'constructor(' + + this.inputs + .map(function (input) { + return input.format(format); + }) + .join(format === exports2.FormatTypes.full ? ', ' : ',') + + ') '; + if (this.stateMutability && this.stateMutability !== 'nonpayable') { + result += this.stateMutability + ' '; } return result.trim(); }; - ConstructorFragment2.from = function(value) { - if (typeof value === "string") { + ConstructorFragment2.from = function (value) { + if (typeof value === 'string') { return ConstructorFragment2.fromString(value); } return ConstructorFragment2.fromObject(value); }; - ConstructorFragment2.fromObject = function(value) { + ConstructorFragment2.fromObject = function (value) { if (ConstructorFragment2.isConstructorFragment(value)) { return value; } - if (value.type !== "constructor") { - logger.throwArgumentError("invalid constructor object", "value", value); + if (value.type !== 'constructor') { + logger.throwArgumentError('invalid constructor object', 'value', value); } var state = verifyState(value); if (state.constant) { - logger.throwArgumentError("constructor cannot be constant", "value", value); + logger.throwArgumentError('constructor cannot be constant', 'value', value); } var params = { name: null, @@ -5613,93 +5811,104 @@ var require_fragments = __commonJS({ inputs: value.inputs ? value.inputs.map(ParamType.fromObject) : [], payable: state.payable, stateMutability: state.stateMutability, - gas: value.gas ? bignumber_1.BigNumber.from(value.gas) : null + gas: value.gas ? bignumber_1.BigNumber.from(value.gas) : null, }; return new ConstructorFragment2(_constructorGuard, params); }; - ConstructorFragment2.fromString = function(value) { - var params = { type: "constructor" }; + ConstructorFragment2.fromString = function (value) { + var params = { type: 'constructor' }; value = parseGas(value, params); var parens = value.match(regexParen); - if (!parens || parens[1].trim() !== "constructor") { - logger.throwArgumentError("invalid constructor string", "value", value); + if (!parens || parens[1].trim() !== 'constructor') { + logger.throwArgumentError('invalid constructor string', 'value', value); } params.inputs = parseParams(parens[2].trim(), false); parseModifiers(parens[3].trim(), params); return ConstructorFragment2.fromObject(params); }; - ConstructorFragment2.isConstructorFragment = function(value) { - return value && value._isFragment && value.type === "constructor"; + ConstructorFragment2.isConstructorFragment = function (value) { + return value && value._isFragment && value.type === 'constructor'; }; return ConstructorFragment2; - }(Fragment); + })(Fragment); exports2.ConstructorFragment = ConstructorFragment; - var FunctionFragment = function(_super) { + var FunctionFragment = (function (_super) { __extends(FunctionFragment2, _super); function FunctionFragment2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - FunctionFragment2.prototype.format = function(format) { + FunctionFragment2.prototype.format = function (format) { if (!format) { format = exports2.FormatTypes.sighash; } if (!exports2.FormatTypes[format]) { - logger.throwArgumentError("invalid format type", "format", format); + logger.throwArgumentError('invalid format type', 'format', format); } if (format === exports2.FormatTypes.json) { return JSON.stringify({ - type: "function", + type: 'function', name: this.name, constant: this.constant, - stateMutability: this.stateMutability !== "nonpayable" ? this.stateMutability : void 0, + stateMutability: this.stateMutability !== 'nonpayable' ? this.stateMutability : void 0, payable: this.payable, gas: this.gas ? this.gas.toNumber() : void 0, - inputs: this.inputs.map(function(input) { + inputs: this.inputs.map(function (input) { return JSON.parse(input.format(format)); }), - outputs: this.outputs.map(function(output) { + outputs: this.outputs.map(function (output) { return JSON.parse(output.format(format)); - }) + }), }); } - var result = ""; + var result = ''; if (format !== exports2.FormatTypes.sighash) { - result += "function "; - } - result += this.name + "(" + this.inputs.map(function(input) { - return input.format(format); - }).join(format === exports2.FormatTypes.full ? ", " : ",") + ") "; + result += 'function '; + } + result += + this.name + + '(' + + this.inputs + .map(function (input) { + return input.format(format); + }) + .join(format === exports2.FormatTypes.full ? ', ' : ',') + + ') '; if (format !== exports2.FormatTypes.sighash) { if (this.stateMutability) { - if (this.stateMutability !== "nonpayable") { - result += this.stateMutability + " "; + if (this.stateMutability !== 'nonpayable') { + result += this.stateMutability + ' '; } } else if (this.constant) { - result += "view "; + result += 'view '; } if (this.outputs && this.outputs.length) { - result += "returns (" + this.outputs.map(function(output) { - return output.format(format); - }).join(", ") + ") "; + result += + 'returns (' + + this.outputs + .map(function (output) { + return output.format(format); + }) + .join(', ') + + ') '; } if (this.gas != null) { - result += "@" + this.gas.toString() + " "; + result += '@' + this.gas.toString() + ' '; } } return result.trim(); }; - FunctionFragment2.from = function(value) { - if (typeof value === "string") { + FunctionFragment2.from = function (value) { + if (typeof value === 'string') { return FunctionFragment2.fromString(value); } return FunctionFragment2.fromObject(value); }; - FunctionFragment2.fromObject = function(value) { + FunctionFragment2.fromObject = function (value) { if (FunctionFragment2.isFunctionFragment(value)) { return value; } - if (value.type !== "function") { - logger.throwArgumentError("invalid function object", "value", value); + if (value.type !== 'function') { + logger.throwArgumentError('invalid function object', 'value', value); } var state = verifyState(value); var params = { @@ -5710,20 +5919,20 @@ var require_fragments = __commonJS({ outputs: value.outputs ? value.outputs.map(ParamType.fromObject) : [], payable: state.payable, stateMutability: state.stateMutability, - gas: value.gas ? bignumber_1.BigNumber.from(value.gas) : null + gas: value.gas ? bignumber_1.BigNumber.from(value.gas) : null, }; return new FunctionFragment2(_constructorGuard, params); }; - FunctionFragment2.fromString = function(value) { - var params = { type: "function" }; + FunctionFragment2.fromString = function (value) { + var params = { type: 'function' }; value = parseGas(value, params); - var comps = value.split(" returns "); + var comps = value.split(' returns '); if (comps.length > 2) { - logger.throwArgumentError("invalid function string", "value", value); + logger.throwArgumentError('invalid function string', 'value', value); } var parens = comps[0].match(regexParen); if (!parens) { - logger.throwArgumentError("invalid function signature", "value", value); + logger.throwArgumentError('invalid function signature', 'value', value); } params.name = parens[1].trim(); if (params.name) { @@ -5733,8 +5942,8 @@ var require_fragments = __commonJS({ parseModifiers(parens[3].trim(), params); if (comps.length > 1) { var returns = comps[1].match(regexParen); - if (returns[1].trim() != "" || returns[3].trim() != "") { - logger.throwArgumentError("unexpected tokens", "value", value); + if (returns[1].trim() != '' || returns[3].trim() != '') { + logger.throwArgumentError('unexpected tokens', 'value', value); } params.outputs = parseParams(returns[2], false); } else { @@ -5742,74 +5951,84 @@ var require_fragments = __commonJS({ } return FunctionFragment2.fromObject(params); }; - FunctionFragment2.isFunctionFragment = function(value) { - return value && value._isFragment && value.type === "function"; + FunctionFragment2.isFunctionFragment = function (value) { + return value && value._isFragment && value.type === 'function'; }; return FunctionFragment2; - }(ConstructorFragment); + })(ConstructorFragment); exports2.FunctionFragment = FunctionFragment; function checkForbidden(fragment) { var sig = fragment.format(); - if (sig === "Error(string)" || sig === "Panic(uint256)") { - logger.throwArgumentError("cannot specify user defined " + sig + " error", "fragment", fragment); + if (sig === 'Error(string)' || sig === 'Panic(uint256)') { + logger.throwArgumentError( + 'cannot specify user defined ' + sig + ' error', + 'fragment', + fragment + ); } return fragment; } - var ErrorFragment = function(_super) { + var ErrorFragment = (function (_super) { __extends(ErrorFragment2, _super); function ErrorFragment2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - ErrorFragment2.prototype.format = function(format) { + ErrorFragment2.prototype.format = function (format) { if (!format) { format = exports2.FormatTypes.sighash; } if (!exports2.FormatTypes[format]) { - logger.throwArgumentError("invalid format type", "format", format); + logger.throwArgumentError('invalid format type', 'format', format); } if (format === exports2.FormatTypes.json) { return JSON.stringify({ - type: "error", + type: 'error', name: this.name, - inputs: this.inputs.map(function(input) { + inputs: this.inputs.map(function (input) { return JSON.parse(input.format(format)); - }) + }), }); } - var result = ""; + var result = ''; if (format !== exports2.FormatTypes.sighash) { - result += "error "; - } - result += this.name + "(" + this.inputs.map(function(input) { - return input.format(format); - }).join(format === exports2.FormatTypes.full ? ", " : ",") + ") "; + result += 'error '; + } + result += + this.name + + '(' + + this.inputs + .map(function (input) { + return input.format(format); + }) + .join(format === exports2.FormatTypes.full ? ', ' : ',') + + ') '; return result.trim(); }; - ErrorFragment2.from = function(value) { - if (typeof value === "string") { + ErrorFragment2.from = function (value) { + if (typeof value === 'string') { return ErrorFragment2.fromString(value); } return ErrorFragment2.fromObject(value); }; - ErrorFragment2.fromObject = function(value) { + ErrorFragment2.fromObject = function (value) { if (ErrorFragment2.isErrorFragment(value)) { return value; } - if (value.type !== "error") { - logger.throwArgumentError("invalid error object", "value", value); + if (value.type !== 'error') { + logger.throwArgumentError('invalid error object', 'value', value); } var params = { type: value.type, name: verifyIdentifier(value.name), - inputs: value.inputs ? value.inputs.map(ParamType.fromObject) : [] + inputs: value.inputs ? value.inputs.map(ParamType.fromObject) : [], }; return checkForbidden(new ErrorFragment2(_constructorGuard, params)); }; - ErrorFragment2.fromString = function(value) { - var params = { type: "error" }; + ErrorFragment2.fromString = function (value) { + var params = { type: 'error' }; var parens = value.match(regexParen); if (!parens) { - logger.throwArgumentError("invalid error signature", "value", value); + logger.throwArgumentError('invalid error signature', 'value', value); } params.name = parens[1].trim(); if (params.name) { @@ -5818,46 +6037,46 @@ var require_fragments = __commonJS({ params.inputs = parseParams(parens[2], false); return checkForbidden(ErrorFragment2.fromObject(params)); }; - ErrorFragment2.isErrorFragment = function(value) { - return value && value._isFragment && value.type === "error"; + ErrorFragment2.isErrorFragment = function (value) { + return value && value._isFragment && value.type === 'error'; }; return ErrorFragment2; - }(Fragment); + })(Fragment); exports2.ErrorFragment = ErrorFragment; function verifyType(type) { if (type.match(/^uint($|[^1-9])/)) { - type = "uint256" + type.substring(4); + type = 'uint256' + type.substring(4); } else if (type.match(/^int($|[^1-9])/)) { - type = "int256" + type.substring(3); + type = 'int256' + type.substring(3); } return type; } - var regexIdentifier = new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$"); + var regexIdentifier = new RegExp('^[a-zA-Z$_][a-zA-Z0-9$_]*$'); function verifyIdentifier(value) { if (!value || !value.match(regexIdentifier)) { - logger.throwArgumentError('invalid identifier "' + value + '"', "value", value); + logger.throwArgumentError('invalid identifier "' + value + '"', 'value', value); } return value; } - var regexParen = new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$"); + var regexParen = new RegExp('^([^)(]*)\\((.*)\\)([^)(]*)$'); function splitNesting(value) { value = value.trim(); var result = []; - var accum = ""; + var accum = ''; var depth = 0; for (var offset = 0; offset < value.length; offset++) { var c = value[offset]; - if (c === "," && depth === 0) { + if (c === ',' && depth === 0) { result.push(accum); - accum = ""; + accum = ''; } else { accum += c; - if (c === "(") { + if (c === '(') { depth++; - } else if (c === ")") { + } else if (c === ')') { depth--; if (depth === -1) { - logger.throwArgumentError("unbalanced parenthesis", "value", value); + logger.throwArgumentError('unbalanced parenthesis', 'value', value); } } } @@ -5867,14 +6086,14 @@ var require_fragments = __commonJS({ } return result; } - } + }, }); // node_modules/@ethersproject/abi/lib/coders/abstract-coder.js var require_abstract_coder = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/abstract-coder.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/abi/lib/coders/abstract-coder.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.Reader = exports2.Writer = exports2.Coder = exports2.checkResultErrors = void 0; var bytes_1 = require_lib2(); var bignumber_1 = require_lib3(); @@ -5884,7 +6103,7 @@ var require_abstract_coder = __commonJS({ var logger = new logger_1.Logger(_version_1.version); function checkResultErrors(result) { var errors = []; - var checkErrors = function(path2, object) { + var checkErrors = function (path2, object) { if (!Array.isArray(object)) { return; } @@ -5902,49 +6121,49 @@ var require_abstract_coder = __commonJS({ return errors; } exports2.checkResultErrors = checkResultErrors; - var Coder = function() { + var Coder = (function () { function Coder2(name2, type, localName, dynamic) { this.name = name2; this.type = type; this.localName = localName; this.dynamic = dynamic; } - Coder2.prototype._throwError = function(message, value) { + Coder2.prototype._throwError = function (message, value) { logger.throwArgumentError(message, this.localName, value); }; return Coder2; - }(); + })(); exports2.Coder = Coder; - var Writer2 = function() { + var Writer2 = (function () { function Writer3(wordSize) { - (0, properties_1.defineReadOnly)(this, "wordSize", wordSize || 32); + (0, properties_1.defineReadOnly)(this, 'wordSize', wordSize || 32); this._data = []; this._dataLength = 0; this._padding = new Uint8Array(wordSize); } - Object.defineProperty(Writer3.prototype, "data", { - get: function() { + Object.defineProperty(Writer3.prototype, 'data', { + get: function () { return (0, bytes_1.hexConcat)(this._data); }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Writer3.prototype, "length", { - get: function() { + Object.defineProperty(Writer3.prototype, 'length', { + get: function () { return this._dataLength; }, enumerable: false, - configurable: true + configurable: true, }); - Writer3.prototype._writeData = function(data) { + Writer3.prototype._writeData = function (data) { this._data.push(data); this._dataLength += data.length; return data.length; }; - Writer3.prototype.appendWriter = function(writer) { + Writer3.prototype.appendWriter = function (writer) { return this._writeData((0, bytes_1.concat)(writer._data)); }; - Writer3.prototype.writeBytes = function(value) { + Writer3.prototype.writeBytes = function (value) { var bytes = (0, bytes_1.arrayify)(value); var paddingOffset = bytes.length % this.wordSize; if (paddingOffset) { @@ -5952,12 +6171,12 @@ var require_abstract_coder = __commonJS({ } return this._writeData(bytes); }; - Writer3.prototype._getValue = function(value) { + Writer3.prototype._getValue = function (value) { var bytes = (0, bytes_1.arrayify)(bignumber_1.BigNumber.from(value)); if (bytes.length > this.wordSize) { - logger.throwError("value out-of-bounds", logger_1.Logger.errors.BUFFER_OVERRUN, { + logger.throwError('value out-of-bounds', logger_1.Logger.errors.BUFFER_OVERRUN, { length: this.wordSize, - offset: bytes.length + offset: bytes.length, }); } if (bytes.length % this.wordSize) { @@ -5965,271 +6184,248 @@ var require_abstract_coder = __commonJS({ } return bytes; }; - Writer3.prototype.writeValue = function(value) { + Writer3.prototype.writeValue = function (value) { return this._writeData(this._getValue(value)); }; - Writer3.prototype.writeUpdatableValue = function() { + Writer3.prototype.writeUpdatableValue = function () { var _this = this; var offset = this._data.length; this._data.push(this._padding); this._dataLength += this.wordSize; - return function(value) { + return function (value) { _this._data[offset] = _this._getValue(value); }; }; return Writer3; - }(); + })(); exports2.Writer = Writer2; - var Reader = function() { + var Reader = (function () { function Reader2(data, wordSize, coerceFunc, allowLoose) { - (0, properties_1.defineReadOnly)(this, "_data", (0, bytes_1.arrayify)(data)); - (0, properties_1.defineReadOnly)(this, "wordSize", wordSize || 32); - (0, properties_1.defineReadOnly)(this, "_coerceFunc", coerceFunc); - (0, properties_1.defineReadOnly)(this, "allowLoose", allowLoose); + (0, properties_1.defineReadOnly)(this, '_data', (0, bytes_1.arrayify)(data)); + (0, properties_1.defineReadOnly)(this, 'wordSize', wordSize || 32); + (0, properties_1.defineReadOnly)(this, '_coerceFunc', coerceFunc); + (0, properties_1.defineReadOnly)(this, 'allowLoose', allowLoose); this._offset = 0; } - Object.defineProperty(Reader2.prototype, "data", { - get: function() { + Object.defineProperty(Reader2.prototype, 'data', { + get: function () { return (0, bytes_1.hexlify)(this._data); }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Reader2.prototype, "consumed", { - get: function() { + Object.defineProperty(Reader2.prototype, 'consumed', { + get: function () { return this._offset; }, enumerable: false, - configurable: true + configurable: true, }); - Reader2.coerce = function(name2, value) { - var match = name2.match("^u?int([0-9]+)$"); + Reader2.coerce = function (name2, value) { + var match = name2.match('^u?int([0-9]+)$'); if (match && parseInt(match[1]) <= 48) { value = value.toNumber(); } return value; }; - Reader2.prototype.coerce = function(name2, value) { + Reader2.prototype.coerce = function (name2, value) { if (this._coerceFunc) { return this._coerceFunc(name2, value); } return Reader2.coerce(name2, value); }; - Reader2.prototype._peekBytes = function(offset, length, loose) { + Reader2.prototype._peekBytes = function (offset, length, loose) { var alignedLength = Math.ceil(length / this.wordSize) * this.wordSize; if (this._offset + alignedLength > this._data.length) { if (this.allowLoose && loose && this._offset + length <= this._data.length) { alignedLength = length; } else { - logger.throwError("data out-of-bounds", logger_1.Logger.errors.BUFFER_OVERRUN, { + logger.throwError('data out-of-bounds', logger_1.Logger.errors.BUFFER_OVERRUN, { length: this._data.length, - offset: this._offset + alignedLength + offset: this._offset + alignedLength, }); } } return this._data.slice(this._offset, this._offset + alignedLength); }; - Reader2.prototype.subReader = function(offset) { - return new Reader2(this._data.slice(this._offset + offset), this.wordSize, this._coerceFunc, this.allowLoose); + Reader2.prototype.subReader = function (offset) { + return new Reader2( + this._data.slice(this._offset + offset), + this.wordSize, + this._coerceFunc, + this.allowLoose + ); }; - Reader2.prototype.readBytes = function(length, loose) { + Reader2.prototype.readBytes = function (length, loose) { var bytes = this._peekBytes(0, length, !!loose); this._offset += bytes.length; return bytes.slice(0, length); }; - Reader2.prototype.readValue = function() { + Reader2.prototype.readValue = function () { return bignumber_1.BigNumber.from(this.readBytes(this.wordSize)); }; return Reader2; - }(); + })(); exports2.Reader = Reader; - } + }, }); // node_modules/js-sha3/src/sha3.js var require_sha3 = __commonJS({ - "node_modules/js-sha3/src/sha3.js"(exports2, module2) { - (function() { - "use strict"; - var INPUT_ERROR = "input is invalid type"; - var FINALIZE_ERROR = "finalize already called"; - var WINDOW = typeof window === "object"; + 'node_modules/js-sha3/src/sha3.js'(exports2, module2) { + (function () { + 'use strict'; + var INPUT_ERROR = 'input is invalid type'; + var FINALIZE_ERROR = 'finalize already called'; + var WINDOW = typeof window === 'object'; var root = WINDOW ? window : {}; if (root.JS_SHA3_NO_WINDOW) { WINDOW = false; } - var WEB_WORKER = !WINDOW && typeof self === "object"; - var NODE_JS = !root.JS_SHA3_NO_NODE_JS && typeof process === "object" && process.versions && process.versions.node; + var WEB_WORKER = !WINDOW && typeof self === 'object'; + var NODE_JS = + !root.JS_SHA3_NO_NODE_JS && + typeof process === 'object' && + process.versions && + process.versions.node; if (NODE_JS) { root = global; } else if (WEB_WORKER) { root = self; } - var COMMON_JS = !root.JS_SHA3_NO_COMMON_JS && typeof module2 === "object" && module2.exports; - var AMD = typeof define === "function" && define.amd; - var ARRAY_BUFFER = !root.JS_SHA3_NO_ARRAY_BUFFER && typeof ArrayBuffer !== "undefined"; - var HEX_CHARS = "0123456789abcdef".split(""); + var COMMON_JS = !root.JS_SHA3_NO_COMMON_JS && typeof module2 === 'object' && module2.exports; + var AMD = typeof define === 'function' && define.amd; + var ARRAY_BUFFER = !root.JS_SHA3_NO_ARRAY_BUFFER && typeof ArrayBuffer !== 'undefined'; + var HEX_CHARS = '0123456789abcdef'.split(''); var SHAKE_PADDING = [31, 7936, 2031616, 520093696]; var CSHAKE_PADDING = [4, 1024, 262144, 67108864]; var KECCAK_PADDING = [1, 256, 65536, 16777216]; var PADDING = [6, 1536, 393216, 100663296]; var SHIFT = [0, 8, 16, 24]; var RC = [ - 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 + 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, ]; var BITS = [224, 256, 384, 512]; var SHAKE_BITS = [128, 256]; - var OUTPUT_TYPES = ["hex", "buffer", "arrayBuffer", "array", "digest"]; + var OUTPUT_TYPES = ['hex', 'buffer', 'arrayBuffer', 'array', 'digest']; var CSHAKE_BYTEPAD = { - "128": 168, - "256": 136 + 128: 168, + 256: 136, }; if (root.JS_SHA3_NO_NODE_JS || !Array.isArray) { - Array.isArray = function(obj) { - return Object.prototype.toString.call(obj) === "[object Array]"; + Array.isArray = function (obj) { + return Object.prototype.toString.call(obj) === '[object Array]'; }; } if (ARRAY_BUFFER && (root.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW || !ArrayBuffer.isView)) { - ArrayBuffer.isView = function(obj) { - return typeof obj === "object" && obj.buffer && obj.buffer.constructor === ArrayBuffer; + ArrayBuffer.isView = function (obj) { + return typeof obj === 'object' && obj.buffer && obj.buffer.constructor === ArrayBuffer; }; } - var createOutputMethod = function(bits2, padding, outputType) { - return function(message) { + var createOutputMethod = function (bits2, padding, outputType) { + return function (message) { return new Keccak(bits2, padding, bits2).update(message)[outputType](); }; }; - var createShakeOutputMethod = function(bits2, padding, outputType) { - return function(message, outputBits) { + var createShakeOutputMethod = function (bits2, padding, outputType) { + return function (message, outputBits) { return new Keccak(bits2, padding, outputBits).update(message)[outputType](); }; }; - var createCshakeOutputMethod = function(bits2, padding, outputType) { - return function(message, outputBits, n, s) { - return methods["cshake" + bits2].update(message, outputBits, n, s)[outputType](); + var createCshakeOutputMethod = function (bits2, padding, outputType) { + return function (message, outputBits, n, s) { + return methods['cshake' + bits2].update(message, outputBits, n, s)[outputType](); }; }; - var createKmacOutputMethod = function(bits2, padding, outputType) { - return function(key, message, outputBits, s) { - return methods["kmac" + bits2].update(key, message, outputBits, s)[outputType](); + var createKmacOutputMethod = function (bits2, padding, outputType) { + return function (key, message, outputBits, s) { + return methods['kmac' + bits2].update(key, message, outputBits, s)[outputType](); }; }; - var createOutputMethods = function(method, createMethod2, bits2, padding) { + var createOutputMethods = function (method, createMethod2, bits2, padding) { for (var i2 = 0; i2 < OUTPUT_TYPES.length; ++i2) { var type = OUTPUT_TYPES[i2]; method[type] = createMethod2(bits2, padding, type); } return method; }; - var createMethod = function(bits2, padding) { - var method = createOutputMethod(bits2, padding, "hex"); - method.create = function() { + var createMethod = function (bits2, padding) { + var method = createOutputMethod(bits2, padding, 'hex'); + method.create = function () { return new Keccak(bits2, padding, bits2); }; - method.update = function(message) { + method.update = function (message) { return method.create().update(message); }; return createOutputMethods(method, createOutputMethod, bits2, padding); }; - var createShakeMethod = function(bits2, padding) { - var method = createShakeOutputMethod(bits2, padding, "hex"); - method.create = function(outputBits) { + var createShakeMethod = function (bits2, padding) { + var method = createShakeOutputMethod(bits2, padding, 'hex'); + method.create = function (outputBits) { return new Keccak(bits2, padding, outputBits); }; - method.update = function(message, outputBits) { + method.update = function (message, outputBits) { return method.create(outputBits).update(message); }; return createOutputMethods(method, createShakeOutputMethod, bits2, padding); }; - var createCshakeMethod = function(bits2, padding) { + var createCshakeMethod = function (bits2, padding) { var w = CSHAKE_BYTEPAD[bits2]; - var method = createCshakeOutputMethod(bits2, padding, "hex"); - method.create = function(outputBits, n, s) { + var method = createCshakeOutputMethod(bits2, padding, 'hex'); + method.create = function (outputBits, n, s) { if (!n && !s) { - return methods["shake" + bits2].create(outputBits); + return methods['shake' + bits2].create(outputBits); } else { return new Keccak(bits2, padding, outputBits).bytepad([n, s], w); } }; - method.update = function(message, outputBits, n, s) { + method.update = function (message, outputBits, n, s) { return method.create(outputBits, n, s).update(message); }; return createOutputMethods(method, createCshakeOutputMethod, bits2, padding); }; - var createKmacMethod = function(bits2, padding) { + var createKmacMethod = function (bits2, padding) { var w = CSHAKE_BYTEPAD[bits2]; - var method = createKmacOutputMethod(bits2, padding, "hex"); - method.create = function(key, outputBits, s) { - return new Kmac(bits2, padding, outputBits).bytepad(["KMAC", s], w).bytepad([key], w); + var method = createKmacOutputMethod(bits2, padding, 'hex'); + method.create = function (key, outputBits, s) { + return new Kmac(bits2, padding, outputBits).bytepad(['KMAC', s], w).bytepad([key], w); }; - method.update = function(key, message, outputBits, s) { + method.update = function (key, message, outputBits, s) { return method.create(key, outputBits, s).update(message); }; return createOutputMethods(method, createKmacOutputMethod, bits2, padding); }; var algorithms = [ - { name: "keccak", padding: KECCAK_PADDING, bits: BITS, createMethod }, - { name: "sha3", padding: PADDING, bits: BITS, createMethod }, - { name: "shake", padding: SHAKE_PADDING, bits: SHAKE_BITS, createMethod: createShakeMethod }, - { name: "cshake", padding: CSHAKE_PADDING, bits: SHAKE_BITS, createMethod: createCshakeMethod }, - { name: "kmac", padding: CSHAKE_PADDING, bits: SHAKE_BITS, createMethod: createKmacMethod } + { name: 'keccak', padding: KECCAK_PADDING, bits: BITS, createMethod }, + { name: 'sha3', padding: PADDING, bits: BITS, createMethod }, + { + name: 'shake', + padding: SHAKE_PADDING, + bits: SHAKE_BITS, + createMethod: createShakeMethod, + }, + { + name: 'cshake', + padding: CSHAKE_PADDING, + bits: SHAKE_BITS, + createMethod: createCshakeMethod, + }, + { name: 'kmac', padding: CSHAKE_PADDING, bits: SHAKE_BITS, createMethod: createKmacMethod }, ]; - var methods = {}, methodNames = []; + var methods = {}, + methodNames = []; for (var i = 0; i < algorithms.length; ++i) { var algorithm = algorithms[i]; var bits = algorithm.bits; for (var j = 0; j < bits.length; ++j) { - var methodName = algorithm.name + "_" + bits[j]; + var methodName = algorithm.name + '_' + bits[j]; methodNames.push(methodName); methods[methodName] = algorithm.createMethod(bits[j], algorithm.padding); - if (algorithm.name !== "sha3") { + if (algorithm.name !== 'sha3') { var newMethodName = algorithm.name + bits[j]; methodNames.push(newMethodName); methods[newMethodName] = methods[methodName]; @@ -6245,7 +6441,7 @@ var require_sha3 = __commonJS({ this.finalized = false; this.block = 0; this.start = 0; - this.blockCount = 1600 - (bits2 << 1) >> 5; + this.blockCount = (1600 - (bits2 << 1)) >> 5; this.byteCount = this.blockCount << 2; this.outputBlocks = outputBits >> 5; this.extraBytes = (outputBits & 31) >> 3; @@ -6253,13 +6449,14 @@ var require_sha3 = __commonJS({ this.s[i2] = 0; } } - Keccak.prototype.update = function(message) { + Keccak.prototype.update = function (message) { if (this.finalized) { throw new Error(FINALIZE_ERROR); } - var notString, type = typeof message; - if (type !== "string") { - if (type === "object") { + var notString, + type = typeof message; + if (type !== 'string') { + if (type === 'object') { if (message === null) { throw new Error(INPUT_ERROR); } else if (ARRAY_BUFFER && message.constructor === ArrayBuffer) { @@ -6274,7 +6471,14 @@ var require_sha3 = __commonJS({ } notString = true; } - var blocks = this.blocks, byteCount = this.byteCount, length = message.length, blockCount = this.blockCount, index = 0, s = this.s, i2, code; + var blocks = this.blocks, + byteCount = this.byteCount, + length = message.length, + blockCount = this.blockCount, + index = 0, + s = this.s, + i2, + code; while (index < length) { if (this.reset) { this.reset = false; @@ -6293,18 +6497,18 @@ var require_sha3 = __commonJS({ if (code < 128) { blocks[i2 >> 2] |= code << SHIFT[i2++ & 3]; } else if (code < 2048) { - blocks[i2 >> 2] |= (192 | code >> 6) << SHIFT[i2++ & 3]; - blocks[i2 >> 2] |= (128 | code & 63) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (192 | (code >> 6)) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (128 | (code & 63)) << SHIFT[i2++ & 3]; } else if (code < 55296 || code >= 57344) { - blocks[i2 >> 2] |= (224 | code >> 12) << SHIFT[i2++ & 3]; - blocks[i2 >> 2] |= (128 | code >> 6 & 63) << SHIFT[i2++ & 3]; - blocks[i2 >> 2] |= (128 | code & 63) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (224 | (code >> 12)) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (128 | ((code >> 6) & 63)) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (128 | (code & 63)) << SHIFT[i2++ & 3]; } else { - code = 65536 + ((code & 1023) << 10 | message.charCodeAt(++index) & 1023); - blocks[i2 >> 2] |= (240 | code >> 18) << SHIFT[i2++ & 3]; - blocks[i2 >> 2] |= (128 | code >> 12 & 63) << SHIFT[i2++ & 3]; - blocks[i2 >> 2] |= (128 | code >> 6 & 63) << SHIFT[i2++ & 3]; - blocks[i2 >> 2] |= (128 | code & 63) << SHIFT[i2++ & 3]; + code = 65536 + (((code & 1023) << 10) | (message.charCodeAt(++index) & 1023)); + blocks[i2 >> 2] |= (240 | (code >> 18)) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (128 | ((code >> 12) & 63)) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (128 | ((code >> 6) & 63)) << SHIFT[i2++ & 3]; + blocks[i2 >> 2] |= (128 | (code & 63)) << SHIFT[i2++ & 3]; } } } @@ -6323,8 +6527,9 @@ var require_sha3 = __commonJS({ } return this; }; - Keccak.prototype.encode = function(x, right) { - var o = x & 255, n = 1; + Keccak.prototype.encode = function (x, right) { + var o = x & 255, + n = 1; var bytes = [o]; x = x >> 8; o = x & 255; @@ -6342,10 +6547,11 @@ var require_sha3 = __commonJS({ this.update(bytes); return bytes.length; }; - Keccak.prototype.encodeString = function(str2) { - var notString, type = typeof str2; - if (type !== "string") { - if (type === "object") { + Keccak.prototype.encodeString = function (str2) { + var notString, + type = typeof str2; + if (type !== 'string') { + if (type === 'object') { if (str2 === null) { throw new Error(INPUT_ERROR); } else if (ARRAY_BUFFER && str2.constructor === ArrayBuffer) { @@ -6360,7 +6566,8 @@ var require_sha3 = __commonJS({ } notString = true; } - var bytes = 0, length = str2.length; + var bytes = 0, + length = str2.length; if (notString) { bytes = length; } else { @@ -6373,7 +6580,7 @@ var require_sha3 = __commonJS({ } else if (code < 55296 || code >= 57344) { bytes += 3; } else { - code = 65536 + ((code & 1023) << 10 | str2.charCodeAt(++i2) & 1023); + code = 65536 + (((code & 1023) << 10) | (str2.charCodeAt(++i2) & 1023)); bytes += 4; } } @@ -6382,23 +6589,26 @@ var require_sha3 = __commonJS({ this.update(str2); return bytes; }; - Keccak.prototype.bytepad = function(strs, w) { + Keccak.prototype.bytepad = function (strs, w) { var bytes = this.encode(w); for (var i2 = 0; i2 < strs.length; ++i2) { bytes += this.encodeString(strs[i2]); } - var paddingBytes = w - bytes % w; + var paddingBytes = w - (bytes % w); var zeros = []; zeros.length = paddingBytes; this.update(zeros); return this; }; - Keccak.prototype.finalize = function() { + Keccak.prototype.finalize = function () { if (this.finalized) { return; } this.finalized = true; - var blocks = this.blocks, i2 = this.lastByteIndex, blockCount = this.blockCount, s = this.s; + var blocks = this.blocks, + i2 = this.lastByteIndex, + blockCount = this.blockCount, + s = this.s; blocks[i2 >> 2] |= this.padding[i2 & 3]; if (this.lastByteIndex === this.byteCount) { blocks[0] = blocks[blockCount]; @@ -6412,14 +6622,28 @@ var require_sha3 = __commonJS({ } f(s); }; - Keccak.prototype.toString = Keccak.prototype.hex = function() { + Keccak.prototype.toString = Keccak.prototype.hex = function () { this.finalize(); - var blockCount = this.blockCount, s = this.s, outputBlocks = this.outputBlocks, extraBytes = this.extraBytes, i2 = 0, j2 = 0; - var hex = "", block; + var blockCount = this.blockCount, + s = this.s, + outputBlocks = this.outputBlocks, + extraBytes = this.extraBytes, + i2 = 0, + j2 = 0; + var hex = '', + block; while (j2 < outputBlocks) { for (i2 = 0; i2 < blockCount && j2 < outputBlocks; ++i2, ++j2) { block = s[i2]; - hex += HEX_CHARS[block >> 4 & 15] + HEX_CHARS[block & 15] + HEX_CHARS[block >> 12 & 15] + HEX_CHARS[block >> 8 & 15] + HEX_CHARS[block >> 20 & 15] + HEX_CHARS[block >> 16 & 15] + HEX_CHARS[block >> 28 & 15] + HEX_CHARS[block >> 24 & 15]; + hex += + HEX_CHARS[(block >> 4) & 15] + + HEX_CHARS[block & 15] + + HEX_CHARS[(block >> 12) & 15] + + HEX_CHARS[(block >> 8) & 15] + + HEX_CHARS[(block >> 20) & 15] + + HEX_CHARS[(block >> 16) & 15] + + HEX_CHARS[(block >> 28) & 15] + + HEX_CHARS[(block >> 24) & 15]; } if (j2 % blockCount === 0) { f(s); @@ -6428,23 +6652,28 @@ var require_sha3 = __commonJS({ } if (extraBytes) { block = s[i2]; - hex += HEX_CHARS[block >> 4 & 15] + HEX_CHARS[block & 15]; + hex += HEX_CHARS[(block >> 4) & 15] + HEX_CHARS[block & 15]; if (extraBytes > 1) { - hex += HEX_CHARS[block >> 12 & 15] + HEX_CHARS[block >> 8 & 15]; + hex += HEX_CHARS[(block >> 12) & 15] + HEX_CHARS[(block >> 8) & 15]; } if (extraBytes > 2) { - hex += HEX_CHARS[block >> 20 & 15] + HEX_CHARS[block >> 16 & 15]; + hex += HEX_CHARS[(block >> 20) & 15] + HEX_CHARS[(block >> 16) & 15]; } } return hex; }; - Keccak.prototype.arrayBuffer = function() { + Keccak.prototype.arrayBuffer = function () { this.finalize(); - var blockCount = this.blockCount, s = this.s, outputBlocks = this.outputBlocks, extraBytes = this.extraBytes, i2 = 0, j2 = 0; + var blockCount = this.blockCount, + s = this.s, + outputBlocks = this.outputBlocks, + extraBytes = this.extraBytes, + i2 = 0, + j2 = 0; var bytes = this.outputBits >> 3; var buffer; if (extraBytes) { - buffer = new ArrayBuffer(outputBlocks + 1 << 2); + buffer = new ArrayBuffer((outputBlocks + 1) << 2); } else { buffer = new ArrayBuffer(bytes); } @@ -6464,18 +6693,25 @@ var require_sha3 = __commonJS({ return buffer; }; Keccak.prototype.buffer = Keccak.prototype.arrayBuffer; - Keccak.prototype.digest = Keccak.prototype.array = function() { + Keccak.prototype.digest = Keccak.prototype.array = function () { this.finalize(); - var blockCount = this.blockCount, s = this.s, outputBlocks = this.outputBlocks, extraBytes = this.extraBytes, i2 = 0, j2 = 0; - var array = [], offset, block; + var blockCount = this.blockCount, + s = this.s, + outputBlocks = this.outputBlocks, + extraBytes = this.extraBytes, + i2 = 0, + j2 = 0; + var array = [], + offset, + block; while (j2 < outputBlocks) { for (i2 = 0; i2 < blockCount && j2 < outputBlocks; ++i2, ++j2) { offset = j2 << 2; block = s[i2]; array[offset] = block & 255; - array[offset + 1] = block >> 8 & 255; - array[offset + 2] = block >> 16 & 255; - array[offset + 3] = block >> 24 & 255; + array[offset + 1] = (block >> 8) & 255; + array[offset + 2] = (block >> 16) & 255; + array[offset + 3] = (block >> 24) & 255; } if (j2 % blockCount === 0) { f(s); @@ -6486,10 +6722,10 @@ var require_sha3 = __commonJS({ block = s[i2]; array[offset] = block & 255; if (extraBytes > 1) { - array[offset + 1] = block >> 8 & 255; + array[offset + 1] = (block >> 8) & 255; } if (extraBytes > 2) { - array[offset + 2] = block >> 16 & 255; + array[offset + 2] = (block >> 16) & 255; } } return array; @@ -6498,12 +6734,74 @@ var require_sha3 = __commonJS({ Keccak.call(this, bits2, padding, outputBits); } Kmac.prototype = new Keccak(); - Kmac.prototype.finalize = function() { + Kmac.prototype.finalize = function () { this.encode(this.outputBits, true); return Keccak.prototype.finalize.call(this); }; - var f = function(s) { - var h, l, n, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, b32, b33, b34, b35, b36, b37, b38, b39, b40, b41, b42, b43, b44, b45, b46, b47, b48, b49; + var f = function (s) { + var h, + l, + n, + c0, + c1, + c2, + c3, + c4, + c5, + c6, + c7, + c8, + c9, + b0, + b1, + b2, + b3, + b4, + b5, + b6, + b7, + b8, + b9, + b10, + b11, + b12, + b13, + b14, + b15, + b16, + b17, + b18, + b19, + b20, + b21, + b22, + b23, + b24, + b25, + b26, + b27, + b28, + b29, + b30, + b31, + b32, + b33, + b34, + b35, + b36, + b37, + b38, + b39, + b40, + b41, + b42, + b43, + b44, + b45, + b46, + b47, + b48, + b49; for (n = 0; n < 48; n += 2) { c0 = s[0] ^ s[10] ^ s[20] ^ s[30] ^ s[40]; c1 = s[1] ^ s[11] ^ s[21] ^ s[31] ^ s[41]; @@ -6515,8 +6813,8 @@ var require_sha3 = __commonJS({ c7 = s[7] ^ s[17] ^ s[27] ^ s[37] ^ s[47]; c8 = s[8] ^ s[18] ^ s[28] ^ s[38] ^ s[48]; c9 = s[9] ^ s[19] ^ s[29] ^ s[39] ^ s[49]; - h = c8 ^ (c2 << 1 | c3 >>> 31); - l = c9 ^ (c3 << 1 | c2 >>> 31); + h = c8 ^ ((c2 << 1) | (c3 >>> 31)); + l = c9 ^ ((c3 << 1) | (c2 >>> 31)); s[0] ^= h; s[1] ^= l; s[10] ^= h; @@ -6527,8 +6825,8 @@ var require_sha3 = __commonJS({ s[31] ^= l; s[40] ^= h; s[41] ^= l; - h = c0 ^ (c4 << 1 | c5 >>> 31); - l = c1 ^ (c5 << 1 | c4 >>> 31); + h = c0 ^ ((c4 << 1) | (c5 >>> 31)); + l = c1 ^ ((c5 << 1) | (c4 >>> 31)); s[2] ^= h; s[3] ^= l; s[12] ^= h; @@ -6539,8 +6837,8 @@ var require_sha3 = __commonJS({ s[33] ^= l; s[42] ^= h; s[43] ^= l; - h = c2 ^ (c6 << 1 | c7 >>> 31); - l = c3 ^ (c7 << 1 | c6 >>> 31); + h = c2 ^ ((c6 << 1) | (c7 >>> 31)); + l = c3 ^ ((c7 << 1) | (c6 >>> 31)); s[4] ^= h; s[5] ^= l; s[14] ^= h; @@ -6551,8 +6849,8 @@ var require_sha3 = __commonJS({ s[35] ^= l; s[44] ^= h; s[45] ^= l; - h = c4 ^ (c8 << 1 | c9 >>> 31); - l = c5 ^ (c9 << 1 | c8 >>> 31); + h = c4 ^ ((c8 << 1) | (c9 >>> 31)); + l = c5 ^ ((c9 << 1) | (c8 >>> 31)); s[6] ^= h; s[7] ^= l; s[16] ^= h; @@ -6563,8 +6861,8 @@ var require_sha3 = __commonJS({ s[37] ^= l; s[46] ^= h; s[47] ^= l; - h = c6 ^ (c0 << 1 | c1 >>> 31); - l = c7 ^ (c1 << 1 | c0 >>> 31); + h = c6 ^ ((c0 << 1) | (c1 >>> 31)); + l = c7 ^ ((c1 << 1) | (c0 >>> 31)); s[8] ^= h; s[9] ^= l; s[18] ^= h; @@ -6577,104 +6875,104 @@ var require_sha3 = __commonJS({ s[49] ^= l; b0 = s[0]; b1 = s[1]; - b32 = s[11] << 4 | s[10] >>> 28; - b33 = s[10] << 4 | s[11] >>> 28; - b14 = s[20] << 3 | s[21] >>> 29; - b15 = s[21] << 3 | s[20] >>> 29; - b46 = s[31] << 9 | s[30] >>> 23; - b47 = s[30] << 9 | s[31] >>> 23; - b28 = s[40] << 18 | s[41] >>> 14; - b29 = s[41] << 18 | s[40] >>> 14; - b20 = s[2] << 1 | s[3] >>> 31; - b21 = s[3] << 1 | s[2] >>> 31; - b2 = s[13] << 12 | s[12] >>> 20; - b3 = s[12] << 12 | s[13] >>> 20; - b34 = s[22] << 10 | s[23] >>> 22; - b35 = s[23] << 10 | s[22] >>> 22; - b16 = s[33] << 13 | s[32] >>> 19; - b17 = s[32] << 13 | s[33] >>> 19; - b48 = s[42] << 2 | s[43] >>> 30; - b49 = s[43] << 2 | s[42] >>> 30; - b40 = s[5] << 30 | s[4] >>> 2; - b41 = s[4] << 30 | s[5] >>> 2; - b22 = s[14] << 6 | s[15] >>> 26; - b23 = s[15] << 6 | s[14] >>> 26; - b4 = s[25] << 11 | s[24] >>> 21; - b5 = s[24] << 11 | s[25] >>> 21; - b36 = s[34] << 15 | s[35] >>> 17; - b37 = s[35] << 15 | s[34] >>> 17; - b18 = s[45] << 29 | s[44] >>> 3; - b19 = s[44] << 29 | s[45] >>> 3; - b10 = s[6] << 28 | s[7] >>> 4; - b11 = s[7] << 28 | s[6] >>> 4; - b42 = s[17] << 23 | s[16] >>> 9; - b43 = s[16] << 23 | s[17] >>> 9; - b24 = s[26] << 25 | s[27] >>> 7; - b25 = s[27] << 25 | s[26] >>> 7; - b6 = s[36] << 21 | s[37] >>> 11; - b7 = s[37] << 21 | s[36] >>> 11; - b38 = s[47] << 24 | s[46] >>> 8; - b39 = s[46] << 24 | s[47] >>> 8; - b30 = s[8] << 27 | s[9] >>> 5; - b31 = s[9] << 27 | s[8] >>> 5; - b12 = s[18] << 20 | s[19] >>> 12; - b13 = s[19] << 20 | s[18] >>> 12; - b44 = s[29] << 7 | s[28] >>> 25; - b45 = s[28] << 7 | s[29] >>> 25; - b26 = s[38] << 8 | s[39] >>> 24; - b27 = s[39] << 8 | s[38] >>> 24; - b8 = s[48] << 14 | s[49] >>> 18; - b9 = s[49] << 14 | s[48] >>> 18; - s[0] = b0 ^ ~b2 & b4; - s[1] = b1 ^ ~b3 & b5; - s[10] = b10 ^ ~b12 & b14; - s[11] = b11 ^ ~b13 & b15; - s[20] = b20 ^ ~b22 & b24; - s[21] = b21 ^ ~b23 & b25; - s[30] = b30 ^ ~b32 & b34; - s[31] = b31 ^ ~b33 & b35; - s[40] = b40 ^ ~b42 & b44; - s[41] = b41 ^ ~b43 & b45; - s[2] = b2 ^ ~b4 & b6; - s[3] = b3 ^ ~b5 & b7; - s[12] = b12 ^ ~b14 & b16; - s[13] = b13 ^ ~b15 & b17; - s[22] = b22 ^ ~b24 & b26; - s[23] = b23 ^ ~b25 & b27; - s[32] = b32 ^ ~b34 & b36; - s[33] = b33 ^ ~b35 & b37; - s[42] = b42 ^ ~b44 & b46; - s[43] = b43 ^ ~b45 & b47; - s[4] = b4 ^ ~b6 & b8; - s[5] = b5 ^ ~b7 & b9; - s[14] = b14 ^ ~b16 & b18; - s[15] = b15 ^ ~b17 & b19; - s[24] = b24 ^ ~b26 & b28; - s[25] = b25 ^ ~b27 & b29; - s[34] = b34 ^ ~b36 & b38; - s[35] = b35 ^ ~b37 & b39; - s[44] = b44 ^ ~b46 & b48; - s[45] = b45 ^ ~b47 & b49; - s[6] = b6 ^ ~b8 & b0; - s[7] = b7 ^ ~b9 & b1; - s[16] = b16 ^ ~b18 & b10; - s[17] = b17 ^ ~b19 & b11; - s[26] = b26 ^ ~b28 & b20; - s[27] = b27 ^ ~b29 & b21; - s[36] = b36 ^ ~b38 & b30; - s[37] = b37 ^ ~b39 & b31; - s[46] = b46 ^ ~b48 & b40; - s[47] = b47 ^ ~b49 & b41; - s[8] = b8 ^ ~b0 & b2; - s[9] = b9 ^ ~b1 & b3; - s[18] = b18 ^ ~b10 & b12; - s[19] = b19 ^ ~b11 & b13; - s[28] = b28 ^ ~b20 & b22; - s[29] = b29 ^ ~b21 & b23; - s[38] = b38 ^ ~b30 & b32; - s[39] = b39 ^ ~b31 & b33; - s[48] = b48 ^ ~b40 & b42; - s[49] = b49 ^ ~b41 & b43; + b32 = (s[11] << 4) | (s[10] >>> 28); + b33 = (s[10] << 4) | (s[11] >>> 28); + b14 = (s[20] << 3) | (s[21] >>> 29); + b15 = (s[21] << 3) | (s[20] >>> 29); + b46 = (s[31] << 9) | (s[30] >>> 23); + b47 = (s[30] << 9) | (s[31] >>> 23); + b28 = (s[40] << 18) | (s[41] >>> 14); + b29 = (s[41] << 18) | (s[40] >>> 14); + b20 = (s[2] << 1) | (s[3] >>> 31); + b21 = (s[3] << 1) | (s[2] >>> 31); + b2 = (s[13] << 12) | (s[12] >>> 20); + b3 = (s[12] << 12) | (s[13] >>> 20); + b34 = (s[22] << 10) | (s[23] >>> 22); + b35 = (s[23] << 10) | (s[22] >>> 22); + b16 = (s[33] << 13) | (s[32] >>> 19); + b17 = (s[32] << 13) | (s[33] >>> 19); + b48 = (s[42] << 2) | (s[43] >>> 30); + b49 = (s[43] << 2) | (s[42] >>> 30); + b40 = (s[5] << 30) | (s[4] >>> 2); + b41 = (s[4] << 30) | (s[5] >>> 2); + b22 = (s[14] << 6) | (s[15] >>> 26); + b23 = (s[15] << 6) | (s[14] >>> 26); + b4 = (s[25] << 11) | (s[24] >>> 21); + b5 = (s[24] << 11) | (s[25] >>> 21); + b36 = (s[34] << 15) | (s[35] >>> 17); + b37 = (s[35] << 15) | (s[34] >>> 17); + b18 = (s[45] << 29) | (s[44] >>> 3); + b19 = (s[44] << 29) | (s[45] >>> 3); + b10 = (s[6] << 28) | (s[7] >>> 4); + b11 = (s[7] << 28) | (s[6] >>> 4); + b42 = (s[17] << 23) | (s[16] >>> 9); + b43 = (s[16] << 23) | (s[17] >>> 9); + b24 = (s[26] << 25) | (s[27] >>> 7); + b25 = (s[27] << 25) | (s[26] >>> 7); + b6 = (s[36] << 21) | (s[37] >>> 11); + b7 = (s[37] << 21) | (s[36] >>> 11); + b38 = (s[47] << 24) | (s[46] >>> 8); + b39 = (s[46] << 24) | (s[47] >>> 8); + b30 = (s[8] << 27) | (s[9] >>> 5); + b31 = (s[9] << 27) | (s[8] >>> 5); + b12 = (s[18] << 20) | (s[19] >>> 12); + b13 = (s[19] << 20) | (s[18] >>> 12); + b44 = (s[29] << 7) | (s[28] >>> 25); + b45 = (s[28] << 7) | (s[29] >>> 25); + b26 = (s[38] << 8) | (s[39] >>> 24); + b27 = (s[39] << 8) | (s[38] >>> 24); + b8 = (s[48] << 14) | (s[49] >>> 18); + b9 = (s[49] << 14) | (s[48] >>> 18); + s[0] = b0 ^ (~b2 & b4); + s[1] = b1 ^ (~b3 & b5); + s[10] = b10 ^ (~b12 & b14); + s[11] = b11 ^ (~b13 & b15); + s[20] = b20 ^ (~b22 & b24); + s[21] = b21 ^ (~b23 & b25); + s[30] = b30 ^ (~b32 & b34); + s[31] = b31 ^ (~b33 & b35); + s[40] = b40 ^ (~b42 & b44); + s[41] = b41 ^ (~b43 & b45); + s[2] = b2 ^ (~b4 & b6); + s[3] = b3 ^ (~b5 & b7); + s[12] = b12 ^ (~b14 & b16); + s[13] = b13 ^ (~b15 & b17); + s[22] = b22 ^ (~b24 & b26); + s[23] = b23 ^ (~b25 & b27); + s[32] = b32 ^ (~b34 & b36); + s[33] = b33 ^ (~b35 & b37); + s[42] = b42 ^ (~b44 & b46); + s[43] = b43 ^ (~b45 & b47); + s[4] = b4 ^ (~b6 & b8); + s[5] = b5 ^ (~b7 & b9); + s[14] = b14 ^ (~b16 & b18); + s[15] = b15 ^ (~b17 & b19); + s[24] = b24 ^ (~b26 & b28); + s[25] = b25 ^ (~b27 & b29); + s[34] = b34 ^ (~b36 & b38); + s[35] = b35 ^ (~b37 & b39); + s[44] = b44 ^ (~b46 & b48); + s[45] = b45 ^ (~b47 & b49); + s[6] = b6 ^ (~b8 & b0); + s[7] = b7 ^ (~b9 & b1); + s[16] = b16 ^ (~b18 & b10); + s[17] = b17 ^ (~b19 & b11); + s[26] = b26 ^ (~b28 & b20); + s[27] = b27 ^ (~b29 & b21); + s[36] = b36 ^ (~b38 & b30); + s[37] = b37 ^ (~b39 & b31); + s[46] = b46 ^ (~b48 & b40); + s[47] = b47 ^ (~b49 & b41); + s[8] = b8 ^ (~b0 & b2); + s[9] = b9 ^ (~b1 & b3); + s[18] = b18 ^ (~b10 & b12); + s[19] = b19 ^ (~b11 & b13); + s[28] = b28 ^ (~b20 & b22); + s[29] = b29 ^ (~b21 & b23); + s[38] = b38 ^ (~b30 & b32); + s[39] = b39 ^ (~b31 & b33); + s[48] = b48 ^ (~b40 & b42); + s[49] = b49 ^ (~b41 & b43); s[0] ^= RC[n]; s[1] ^= RC[n + 1]; } @@ -6686,48 +6984,50 @@ var require_sha3 = __commonJS({ root[methodNames[i]] = methods[methodNames[i]]; } if (AMD) { - define(function() { + define(function () { return methods; }); } } })(); - } + }, }); // node_modules/@ethersproject/keccak256/lib/index.js var require_lib5 = __commonJS({ - "node_modules/@ethersproject/keccak256/lib/index.js"(exports2) { - "use strict"; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/keccak256/lib/index.js'(exports2) { + 'use strict'; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.keccak256 = void 0; var js_sha3_1 = __importDefault(require_sha3()); var bytes_1 = require_lib2(); function keccak256(data) { - return "0x" + js_sha3_1.default.keccak_256((0, bytes_1.arrayify)(data)); + return '0x' + js_sha3_1.default.keccak_256((0, bytes_1.arrayify)(data)); } exports2.keccak256 = keccak256; - } + }, }); // node_modules/@ethersproject/rlp/lib/_version.js var require_version6 = __commonJS({ - "node_modules/@ethersproject/rlp/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/rlp/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "rlp/5.5.0"; - } + exports2.version = 'rlp/5.5.0'; + }, }); // node_modules/@ethersproject/rlp/lib/index.js var require_lib6 = __commonJS({ - "node_modules/@ethersproject/rlp/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/rlp/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.decode = exports2.encode = void 0; var bytes_1 = require_lib2(); var logger_1 = require_lib(); @@ -6751,7 +7051,7 @@ var require_lib6 = __commonJS({ function _encode(object) { if (Array.isArray(object)) { var payload_1 = []; - object.forEach(function(child) { + object.forEach(function (child) { payload_1 = payload_1.concat(_encode(child)); }); if (payload_1.length <= 55) { @@ -6763,7 +7063,7 @@ var require_lib6 = __commonJS({ return length_1.concat(payload_1); } if (!(0, bytes_1.isBytesLike)(object)) { - logger.throwArgumentError("RLP object must be BytesLike", "object", object); + logger.throwArgumentError('RLP object must be BytesLike', 'object', object); } var data = Array.prototype.slice.call((0, bytes_1.arrayify)(object)); if (data.length === 1 && data[0] <= 127) { @@ -6787,46 +7087,56 @@ var require_lib6 = __commonJS({ result.push(decoded.result); childOffset += decoded.consumed; if (childOffset > offset + 1 + length) { - logger.throwError("child data too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError('child data too short', logger_1.Logger.errors.BUFFER_OVERRUN, {}); } } return { consumed: 1 + length, result }; } function _decode(data, offset) { if (data.length === 0) { - logger.throwError("data too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError('data too short', logger_1.Logger.errors.BUFFER_OVERRUN, {}); } if (data[offset] >= 248) { var lengthLength = data[offset] - 247; if (offset + 1 + lengthLength > data.length) { - logger.throwError("data short segment too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError( + 'data short segment too short', + logger_1.Logger.errors.BUFFER_OVERRUN, + {} + ); } var length_2 = unarrayifyInteger(data, offset + 1, lengthLength); if (offset + 1 + lengthLength + length_2 > data.length) { - logger.throwError("data long segment too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError( + 'data long segment too short', + logger_1.Logger.errors.BUFFER_OVERRUN, + {} + ); } return _decodeChildren(data, offset, offset + 1 + lengthLength, lengthLength + length_2); } else if (data[offset] >= 192) { var length_3 = data[offset] - 192; if (offset + 1 + length_3 > data.length) { - logger.throwError("data array too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError('data array too short', logger_1.Logger.errors.BUFFER_OVERRUN, {}); } return _decodeChildren(data, offset, offset + 1, length_3); } else if (data[offset] >= 184) { var lengthLength = data[offset] - 183; if (offset + 1 + lengthLength > data.length) { - logger.throwError("data array too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError('data array too short', logger_1.Logger.errors.BUFFER_OVERRUN, {}); } var length_4 = unarrayifyInteger(data, offset + 1, lengthLength); if (offset + 1 + lengthLength + length_4 > data.length) { - logger.throwError("data array too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError('data array too short', logger_1.Logger.errors.BUFFER_OVERRUN, {}); } - var result = (0, bytes_1.hexlify)(data.slice(offset + 1 + lengthLength, offset + 1 + lengthLength + length_4)); + var result = (0, bytes_1.hexlify)( + data.slice(offset + 1 + lengthLength, offset + 1 + lengthLength + length_4) + ); return { consumed: 1 + lengthLength + length_4, result }; } else if (data[offset] >= 128) { var length_5 = data[offset] - 128; if (offset + 1 + length_5 > data.length) { - logger.throwError("data too short", logger_1.Logger.errors.BUFFER_OVERRUN, {}); + logger.throwError('data too short', logger_1.Logger.errors.BUFFER_OVERRUN, {}); } var result = (0, bytes_1.hexlify)(data.slice(offset + 1, offset + 1 + length_5)); return { consumed: 1 + length_5, result }; @@ -6837,30 +7147,35 @@ var require_lib6 = __commonJS({ var bytes = (0, bytes_1.arrayify)(data); var decoded = _decode(bytes, 0); if (decoded.consumed !== bytes.length) { - logger.throwArgumentError("invalid rlp data", "data", data); + logger.throwArgumentError('invalid rlp data', 'data', data); } return decoded.result; } exports2.decode = decode; - } + }, }); // node_modules/@ethersproject/address/lib/_version.js var require_version7 = __commonJS({ - "node_modules/@ethersproject/address/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/address/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "address/5.5.0"; - } + exports2.version = 'address/5.5.0'; + }, }); // node_modules/@ethersproject/address/lib/index.js var require_lib7 = __commonJS({ - "node_modules/@ethersproject/address/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.getCreate2Address = exports2.getContractAddress = exports2.getIcapAddress = exports2.isAddress = exports2.getAddress = void 0; + 'node_modules/@ethersproject/address/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.getCreate2Address = + exports2.getContractAddress = + exports2.getIcapAddress = + exports2.isAddress = + exports2.getAddress = + void 0; var bytes_1 = require_lib2(); var bignumber_1 = require_lib3(); var keccak256_1 = require_lib5(); @@ -6870,10 +7185,10 @@ var require_lib7 = __commonJS({ var logger = new logger_1.Logger(_version_1.version); function getChecksumAddress(address) { if (!(0, bytes_1.isHexString)(address, 20)) { - logger.throwArgumentError("invalid address", "address", address); + logger.throwArgumentError('invalid address', 'address', address); } address = address.toLowerCase(); - var chars = address.substring(2).split(""); + var chars = address.substring(2).split(''); var expanded = new Uint8Array(40); for (var i2 = 0; i2 < 40; i2++) { expanded[i2] = chars[i2].charCodeAt(0); @@ -6887,7 +7202,7 @@ var require_lib7 = __commonJS({ chars[i2 + 1] = chars[i2 + 1].toUpperCase(); } } - return "0x" + chars.join(""); + return '0x' + chars.join(''); } var MAX_SAFE_INTEGER = 9007199254740991; function log10(x) { @@ -6908,44 +7223,47 @@ var require_lib7 = __commonJS({ var safeDigits = Math.floor(log10(MAX_SAFE_INTEGER)); function ibanChecksum(address) { address = address.toUpperCase(); - address = address.substring(4) + address.substring(0, 2) + "00"; - var expanded = address.split("").map(function(c) { - return ibanLookup[c]; - }).join(""); + address = address.substring(4) + address.substring(0, 2) + '00'; + var expanded = address + .split('') + .map(function (c) { + return ibanLookup[c]; + }) + .join(''); while (expanded.length >= safeDigits) { var block = expanded.substring(0, safeDigits); - expanded = parseInt(block, 10) % 97 + expanded.substring(block.length); + expanded = (parseInt(block, 10) % 97) + expanded.substring(block.length); } - var checksum = String(98 - parseInt(expanded, 10) % 97); + var checksum = String(98 - (parseInt(expanded, 10) % 97)); while (checksum.length < 2) { - checksum = "0" + checksum; + checksum = '0' + checksum; } return checksum; } function getAddress(address) { var result = null; - if (typeof address !== "string") { - logger.throwArgumentError("invalid address", "address", address); + if (typeof address !== 'string') { + logger.throwArgumentError('invalid address', 'address', address); } if (address.match(/^(0x)?[0-9a-fA-F]{40}$/)) { - if (address.substring(0, 2) !== "0x") { - address = "0x" + address; + if (address.substring(0, 2) !== '0x') { + address = '0x' + address; } result = getChecksumAddress(address); if (address.match(/([A-F].*[a-f])|([a-f].*[A-F])/) && result !== address) { - logger.throwArgumentError("bad address checksum", "address", address); + logger.throwArgumentError('bad address checksum', 'address', address); } } else if (address.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)) { if (address.substring(2, 4) !== ibanChecksum(address)) { - logger.throwArgumentError("bad icap checksum", "address", address); + logger.throwArgumentError('bad icap checksum', 'address', address); } result = (0, bignumber_1._base36To16)(address.substring(4)); while (result.length < 40) { - result = "0" + result; + result = '0' + result; } - result = getChecksumAddress("0x" + result); + result = getChecksumAddress('0x' + result); } else { - logger.throwArgumentError("invalid address", "address", address); + logger.throwArgumentError('invalid address', 'address', address); } return result; } @@ -6954,17 +7272,16 @@ var require_lib7 = __commonJS({ try { getAddress(address); return true; - } catch (error) { - } + } catch (error) {} return false; } exports2.isAddress = isAddress; function getIcapAddress(address) { var base36 = (0, bignumber_1._base16To36)(getAddress(address).substring(2)).toUpperCase(); while (base36.length < 30) { - base36 = "0" + base36; + base36 = '0' + base36; } - return "XE" + ibanChecksum("XE00" + base36) + base36; + return 'XE' + ibanChecksum('XE00' + base36) + base36; } exports2.getIcapAddress = getIcapAddress; function getContractAddress(transaction) { @@ -6972,64 +7289,81 @@ var require_lib7 = __commonJS({ try { from = getAddress(transaction.from); } catch (error) { - logger.throwArgumentError("missing from address", "transaction", transaction); + logger.throwArgumentError('missing from address', 'transaction', transaction); } - var nonce = (0, bytes_1.stripZeros)((0, bytes_1.arrayify)(bignumber_1.BigNumber.from(transaction.nonce).toHexString())); - return getAddress((0, bytes_1.hexDataSlice)((0, keccak256_1.keccak256)((0, rlp_1.encode)([from, nonce])), 12)); + var nonce = (0, bytes_1.stripZeros)( + (0, bytes_1.arrayify)(bignumber_1.BigNumber.from(transaction.nonce).toHexString()) + ); + return getAddress( + (0, bytes_1.hexDataSlice)((0, keccak256_1.keccak256)((0, rlp_1.encode)([from, nonce])), 12) + ); } exports2.getContractAddress = getContractAddress; function getCreate2Address(from, salt, initCodeHash) { if ((0, bytes_1.hexDataLength)(salt) !== 32) { - logger.throwArgumentError("salt must be 32 bytes", "salt", salt); + logger.throwArgumentError('salt must be 32 bytes', 'salt', salt); } if ((0, bytes_1.hexDataLength)(initCodeHash) !== 32) { - logger.throwArgumentError("initCodeHash must be 32 bytes", "initCodeHash", initCodeHash); + logger.throwArgumentError('initCodeHash must be 32 bytes', 'initCodeHash', initCodeHash); } - return getAddress((0, bytes_1.hexDataSlice)((0, keccak256_1.keccak256)((0, bytes_1.concat)(["0xff", getAddress(from), salt, initCodeHash])), 12)); + return getAddress( + (0, bytes_1.hexDataSlice)( + (0, keccak256_1.keccak256)( + (0, bytes_1.concat)(['0xff', getAddress(from), salt, initCodeHash]) + ), + 12 + ) + ); } exports2.getCreate2Address = getCreate2Address; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/address.js var require_address = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/address.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/address.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.AddressCoder = void 0; var address_1 = require_lib7(); var bytes_1 = require_lib2(); var abstract_coder_1 = require_abstract_coder(); - var AddressCoder = function(_super) { + var AddressCoder = (function (_super) { __extends(AddressCoder2, _super); function AddressCoder2(localName) { - return _super.call(this, "address", "address", localName, false) || this; + return _super.call(this, 'address', 'address', localName, false) || this; } - AddressCoder2.prototype.defaultValue = function() { - return "0x0000000000000000000000000000000000000000"; + AddressCoder2.prototype.defaultValue = function () { + return '0x0000000000000000000000000000000000000000'; }; - AddressCoder2.prototype.encode = function(writer, value) { + AddressCoder2.prototype.encode = function (writer, value) { try { value = (0, address_1.getAddress)(value); } catch (error) { @@ -7037,91 +7371,105 @@ var require_address = __commonJS({ } return writer.writeValue(value); }; - AddressCoder2.prototype.decode = function(reader) { - return (0, address_1.getAddress)((0, bytes_1.hexZeroPad)(reader.readValue().toHexString(), 20)); + AddressCoder2.prototype.decode = function (reader) { + return (0, address_1.getAddress)( + (0, bytes_1.hexZeroPad)(reader.readValue().toHexString(), 20) + ); }; return AddressCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.AddressCoder = AddressCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/anonymous.js var require_anonymous = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/anonymous.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/anonymous.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.AnonymousCoder = void 0; var abstract_coder_1 = require_abstract_coder(); - var AnonymousCoder = function(_super) { + var AnonymousCoder = (function (_super) { __extends(AnonymousCoder2, _super); function AnonymousCoder2(coder) { var _this = _super.call(this, coder.name, coder.type, void 0, coder.dynamic) || this; _this.coder = coder; return _this; } - AnonymousCoder2.prototype.defaultValue = function() { + AnonymousCoder2.prototype.defaultValue = function () { return this.coder.defaultValue(); }; - AnonymousCoder2.prototype.encode = function(writer, value) { + AnonymousCoder2.prototype.encode = function (writer, value) { return this.coder.encode(writer, value); }; - AnonymousCoder2.prototype.decode = function(reader) { + AnonymousCoder2.prototype.decode = function (reader) { return this.coder.decode(reader); }; return AnonymousCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.AnonymousCoder = AnonymousCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/array.js var require_array = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/array.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/array.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ArrayCoder = exports2.unpack = exports2.pack = void 0; var logger_1 = require_lib(); var _version_1 = require_version5(); @@ -7132,50 +7480,58 @@ var require_array = __commonJS({ var arrayValues = null; if (Array.isArray(values)) { arrayValues = values; - } else if (values && typeof values === "object") { + } else if (values && typeof values === 'object') { var unique_1 = {}; - arrayValues = coders.map(function(coder) { + arrayValues = coders.map(function (coder) { var name2 = coder.localName; if (!name2) { - logger.throwError("cannot encode object for signature with missing names", logger_1.Logger.errors.INVALID_ARGUMENT, { - argument: "values", - coder, - value: values - }); + logger.throwError( + 'cannot encode object for signature with missing names', + logger_1.Logger.errors.INVALID_ARGUMENT, + { + argument: 'values', + coder, + value: values, + } + ); } if (unique_1[name2]) { - logger.throwError("cannot encode object for signature with duplicate names", logger_1.Logger.errors.INVALID_ARGUMENT, { - argument: "values", - coder, - value: values - }); + logger.throwError( + 'cannot encode object for signature with duplicate names', + logger_1.Logger.errors.INVALID_ARGUMENT, + { + argument: 'values', + coder, + value: values, + } + ); } unique_1[name2] = true; return values[name2]; }); } else { - logger.throwArgumentError("invalid tuple value", "tuple", values); + logger.throwArgumentError('invalid tuple value', 'tuple', values); } if (coders.length !== arrayValues.length) { - logger.throwArgumentError("types/value length mismatch", "tuple", values); + logger.throwArgumentError('types/value length mismatch', 'tuple', values); } var staticWriter = new abstract_coder_1.Writer(writer.wordSize); var dynamicWriter = new abstract_coder_1.Writer(writer.wordSize); var updateFuncs = []; - coders.forEach(function(coder, index) { + coders.forEach(function (coder, index) { var value = arrayValues[index]; if (coder.dynamic) { var dynamicOffset_1 = dynamicWriter.length; coder.encode(dynamicWriter, value); var updateFunc_1 = staticWriter.writeUpdatableValue(); - updateFuncs.push(function(baseOffset) { + updateFuncs.push(function (baseOffset) { updateFunc_1(baseOffset + dynamicOffset_1); }); } else { coder.encode(staticWriter, value); } }); - updateFuncs.forEach(function(func) { + updateFuncs.forEach(function (func) { func(staticWriter.length); }); var length = writer.appendWriter(staticWriter); @@ -7186,7 +7542,7 @@ var require_array = __commonJS({ function unpack(reader, coders) { var values = []; var baseReader = reader.subReader(0); - coders.forEach(function(coder) { + coders.forEach(function (coder) { var value = null; if (coder.dynamic) { var offset = reader.readValue(); @@ -7219,7 +7575,7 @@ var require_array = __commonJS({ values.push(value); } }); - var uniqueNames = coders.reduce(function(accum, coder) { + var uniqueNames = coders.reduce(function (accum, coder) { var name2 = coder.localName; if (name2) { if (!accum[name2]) { @@ -7229,13 +7585,13 @@ var require_array = __commonJS({ } return accum; }, {}); - coders.forEach(function(coder, index) { + coders.forEach(function (coder, index) { var name2 = coder.localName; if (!name2 || uniqueNames[name2] !== 1) { return; } - if (name2 === "length") { - name2 = "_length"; + if (name2 === 'length') { + name2 = '_length'; } if (values[name2] != null) { return; @@ -7244,22 +7600,22 @@ var require_array = __commonJS({ if (value instanceof Error) { Object.defineProperty(values, name2, { enumerable: true, - get: function() { + get: function () { throw value; - } + }, }); } else { values[name2] = value; } }); - var _loop_1 = function(i2) { + var _loop_1 = function (i2) { var value = values[i2]; if (value instanceof Error) { Object.defineProperty(values, i2, { enumerable: true, - get: function() { + get: function () { throw value; - } + }, }); } }; @@ -7269,18 +7625,18 @@ var require_array = __commonJS({ return Object.freeze(values); } exports2.unpack = unpack; - var ArrayCoder = function(_super) { + var ArrayCoder = (function (_super) { __extends(ArrayCoder2, _super); function ArrayCoder2(coder, length, localName) { var _this = this; - var type = coder.type + "[" + (length >= 0 ? length : "") + "]"; + var type = coder.type + '[' + (length >= 0 ? length : '') + ']'; var dynamic = length === -1 || coder.dynamic; - _this = _super.call(this, "array", type, localName, dynamic) || this; + _this = _super.call(this, 'array', type, localName, dynamic) || this; _this.coder = coder; _this.length = length; return _this; } - ArrayCoder2.prototype.defaultValue = function() { + ArrayCoder2.prototype.defaultValue = function () { var defaultChild = this.coder.defaultValue(); var result = []; for (var i = 0; i < this.length; i++) { @@ -7288,30 +7644,34 @@ var require_array = __commonJS({ } return result; }; - ArrayCoder2.prototype.encode = function(writer, value) { + ArrayCoder2.prototype.encode = function (writer, value) { if (!Array.isArray(value)) { - this._throwError("expected array value", value); + this._throwError('expected array value', value); } var count = this.length; if (count === -1) { count = value.length; writer.writeValue(value.length); } - logger.checkArgumentCount(value.length, count, "coder array" + (this.localName ? " " + this.localName : "")); + logger.checkArgumentCount( + value.length, + count, + 'coder array' + (this.localName ? ' ' + this.localName : '') + ); var coders = []; for (var i = 0; i < value.length; i++) { coders.push(this.coder); } return pack(writer, coders, value); }; - ArrayCoder2.prototype.decode = function(reader) { + ArrayCoder2.prototype.decode = function (reader) { var count = this.length; if (count === -1) { count = reader.readValue().toNumber(); if (count * 32 > reader._data.length) { - logger.throwError("insufficient data length", logger_1.Logger.errors.BUFFER_OVERRUN, { + logger.throwError('insufficient data length', logger_1.Logger.errors.BUFFER_OVERRUN, { length: reader._data.length, - count + count, }); } } @@ -7322,247 +7682,285 @@ var require_array = __commonJS({ return reader.coerce(this.name, unpack(reader, coders)); }; return ArrayCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.ArrayCoder = ArrayCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/boolean.js var require_boolean = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/boolean.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/boolean.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.BooleanCoder = void 0; var abstract_coder_1 = require_abstract_coder(); - var BooleanCoder = function(_super) { + var BooleanCoder = (function (_super) { __extends(BooleanCoder2, _super); function BooleanCoder2(localName) { - return _super.call(this, "bool", "bool", localName, false) || this; + return _super.call(this, 'bool', 'bool', localName, false) || this; } - BooleanCoder2.prototype.defaultValue = function() { + BooleanCoder2.prototype.defaultValue = function () { return false; }; - BooleanCoder2.prototype.encode = function(writer, value) { + BooleanCoder2.prototype.encode = function (writer, value) { return writer.writeValue(value ? 1 : 0); }; - BooleanCoder2.prototype.decode = function(reader) { + BooleanCoder2.prototype.decode = function (reader) { return reader.coerce(this.type, !reader.readValue().isZero()); }; return BooleanCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.BooleanCoder = BooleanCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/bytes.js var require_bytes = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/bytes.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/bytes.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.BytesCoder = exports2.DynamicBytesCoder = void 0; var bytes_1 = require_lib2(); var abstract_coder_1 = require_abstract_coder(); - var DynamicBytesCoder = function(_super) { + var DynamicBytesCoder = (function (_super) { __extends(DynamicBytesCoder2, _super); function DynamicBytesCoder2(type, localName) { return _super.call(this, type, type, localName, true) || this; } - DynamicBytesCoder2.prototype.defaultValue = function() { - return "0x"; + DynamicBytesCoder2.prototype.defaultValue = function () { + return '0x'; }; - DynamicBytesCoder2.prototype.encode = function(writer, value) { + DynamicBytesCoder2.prototype.encode = function (writer, value) { value = (0, bytes_1.arrayify)(value); var length = writer.writeValue(value.length); length += writer.writeBytes(value); return length; }; - DynamicBytesCoder2.prototype.decode = function(reader) { + DynamicBytesCoder2.prototype.decode = function (reader) { return reader.readBytes(reader.readValue().toNumber(), true); }; return DynamicBytesCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.DynamicBytesCoder = DynamicBytesCoder; - var BytesCoder = function(_super) { + var BytesCoder = (function (_super) { __extends(BytesCoder2, _super); function BytesCoder2(localName) { - return _super.call(this, "bytes", localName) || this; + return _super.call(this, 'bytes', localName) || this; } - BytesCoder2.prototype.decode = function(reader) { - return reader.coerce(this.name, (0, bytes_1.hexlify)(_super.prototype.decode.call(this, reader))); + BytesCoder2.prototype.decode = function (reader) { + return reader.coerce( + this.name, + (0, bytes_1.hexlify)(_super.prototype.decode.call(this, reader)) + ); }; return BytesCoder2; - }(DynamicBytesCoder); + })(DynamicBytesCoder); exports2.BytesCoder = BytesCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/fixed-bytes.js var require_fixed_bytes = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/fixed-bytes.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/fixed-bytes.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.FixedBytesCoder = void 0; var bytes_1 = require_lib2(); var abstract_coder_1 = require_abstract_coder(); - var FixedBytesCoder = function(_super) { + var FixedBytesCoder = (function (_super) { __extends(FixedBytesCoder2, _super); function FixedBytesCoder2(size, localName) { var _this = this; - var name2 = "bytes" + String(size); + var name2 = 'bytes' + String(size); _this = _super.call(this, name2, name2, localName, false) || this; _this.size = size; return _this; } - FixedBytesCoder2.prototype.defaultValue = function() { - return "0x0000000000000000000000000000000000000000000000000000000000000000".substring(0, 2 + this.size * 2); + FixedBytesCoder2.prototype.defaultValue = function () { + return '0x0000000000000000000000000000000000000000000000000000000000000000'.substring( + 0, + 2 + this.size * 2 + ); }; - FixedBytesCoder2.prototype.encode = function(writer, value) { + FixedBytesCoder2.prototype.encode = function (writer, value) { var data = (0, bytes_1.arrayify)(value); if (data.length !== this.size) { - this._throwError("incorrect data length", value); + this._throwError('incorrect data length', value); } return writer.writeBytes(data); }; - FixedBytesCoder2.prototype.decode = function(reader) { + FixedBytesCoder2.prototype.decode = function (reader) { return reader.coerce(this.name, (0, bytes_1.hexlify)(reader.readBytes(this.size))); }; return FixedBytesCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.FixedBytesCoder = FixedBytesCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/null.js var require_null = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/null.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/null.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.NullCoder = void 0; var abstract_coder_1 = require_abstract_coder(); - var NullCoder = function(_super) { + var NullCoder = (function (_super) { __extends(NullCoder2, _super); function NullCoder2(localName) { - return _super.call(this, "null", "", localName, false) || this; + return _super.call(this, 'null', '', localName, false) || this; } - NullCoder2.prototype.defaultValue = function() { + NullCoder2.prototype.defaultValue = function () { return null; }; - NullCoder2.prototype.encode = function(writer, value) { + NullCoder2.prototype.encode = function (writer, value) { if (value != null) { - this._throwError("not null", value); + this._throwError('not null', value); } return writer.writeBytes([]); }; - NullCoder2.prototype.decode = function(reader) { + NullCoder2.prototype.decode = function (reader) { reader.readBytes(0); return reader.coerce(this.name, null); }; return NullCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.NullCoder = NullCoder; - } + }, }); // node_modules/@ethersproject/constants/lib/addresses.js var require_addresses = __commonJS({ - "node_modules/@ethersproject/constants/lib/addresses.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/constants/lib/addresses.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.AddressZero = void 0; - exports2.AddressZero = "0x0000000000000000000000000000000000000000"; - } + exports2.AddressZero = '0x0000000000000000000000000000000000000000'; + }, }); // node_modules/@ethersproject/constants/lib/bignumbers.js var require_bignumbers = __commonJS({ - "node_modules/@ethersproject/constants/lib/bignumbers.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.MaxInt256 = exports2.MinInt256 = exports2.MaxUint256 = exports2.WeiPerEther = exports2.Two = exports2.One = exports2.Zero = exports2.NegativeOne = void 0; + 'node_modules/@ethersproject/constants/lib/bignumbers.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.MaxInt256 = + exports2.MinInt256 = + exports2.MaxUint256 = + exports2.WeiPerEther = + exports2.Two = + exports2.One = + exports2.Zero = + exports2.NegativeOne = + void 0; var bignumber_1 = require_lib3(); var NegativeOne = /* @__PURE__ */ bignumber_1.BigNumber.from(-1); exports2.NegativeOne = NegativeOne; @@ -7572,136 +7970,192 @@ var require_bignumbers = __commonJS({ exports2.One = One; var Two = /* @__PURE__ */ bignumber_1.BigNumber.from(2); exports2.Two = Two; - var WeiPerEther = /* @__PURE__ */ bignumber_1.BigNumber.from("1000000000000000000"); + var WeiPerEther = /* @__PURE__ */ bignumber_1.BigNumber.from('1000000000000000000'); exports2.WeiPerEther = WeiPerEther; - var MaxUint256 = /* @__PURE__ */ bignumber_1.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); + var MaxUint256 = /* @__PURE__ */ bignumber_1.BigNumber.from( + '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff' + ); exports2.MaxUint256 = MaxUint256; - var MinInt256 = /* @__PURE__ */ bignumber_1.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000"); + var MinInt256 = /* @__PURE__ */ bignumber_1.BigNumber.from( + '-0x8000000000000000000000000000000000000000000000000000000000000000' + ); exports2.MinInt256 = MinInt256; - var MaxInt256 = /* @__PURE__ */ bignumber_1.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); + var MaxInt256 = /* @__PURE__ */ bignumber_1.BigNumber.from( + '0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff' + ); exports2.MaxInt256 = MaxInt256; - } + }, }); // node_modules/@ethersproject/constants/lib/hashes.js var require_hashes = __commonJS({ - "node_modules/@ethersproject/constants/lib/hashes.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/constants/lib/hashes.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.HashZero = void 0; - exports2.HashZero = "0x0000000000000000000000000000000000000000000000000000000000000000"; - } + exports2.HashZero = '0x0000000000000000000000000000000000000000000000000000000000000000'; + }, }); // node_modules/@ethersproject/constants/lib/strings.js var require_strings = __commonJS({ - "node_modules/@ethersproject/constants/lib/strings.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/constants/lib/strings.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.EtherSymbol = void 0; - exports2.EtherSymbol = "\u039E"; - } + exports2.EtherSymbol = '\u039E'; + }, }); // node_modules/@ethersproject/constants/lib/index.js var require_lib8 = __commonJS({ - "node_modules/@ethersproject/constants/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.EtherSymbol = exports2.HashZero = exports2.MaxInt256 = exports2.MinInt256 = exports2.MaxUint256 = exports2.WeiPerEther = exports2.Two = exports2.One = exports2.Zero = exports2.NegativeOne = exports2.AddressZero = void 0; + 'node_modules/@ethersproject/constants/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.EtherSymbol = + exports2.HashZero = + exports2.MaxInt256 = + exports2.MinInt256 = + exports2.MaxUint256 = + exports2.WeiPerEther = + exports2.Two = + exports2.One = + exports2.Zero = + exports2.NegativeOne = + exports2.AddressZero = + void 0; var addresses_1 = require_addresses(); - Object.defineProperty(exports2, "AddressZero", { enumerable: true, get: function() { - return addresses_1.AddressZero; - } }); + Object.defineProperty(exports2, 'AddressZero', { + enumerable: true, + get: function () { + return addresses_1.AddressZero; + }, + }); var bignumbers_1 = require_bignumbers(); - Object.defineProperty(exports2, "NegativeOne", { enumerable: true, get: function() { - return bignumbers_1.NegativeOne; - } }); - Object.defineProperty(exports2, "Zero", { enumerable: true, get: function() { - return bignumbers_1.Zero; - } }); - Object.defineProperty(exports2, "One", { enumerable: true, get: function() { - return bignumbers_1.One; - } }); - Object.defineProperty(exports2, "Two", { enumerable: true, get: function() { - return bignumbers_1.Two; - } }); - Object.defineProperty(exports2, "WeiPerEther", { enumerable: true, get: function() { - return bignumbers_1.WeiPerEther; - } }); - Object.defineProperty(exports2, "MaxUint256", { enumerable: true, get: function() { - return bignumbers_1.MaxUint256; - } }); - Object.defineProperty(exports2, "MinInt256", { enumerable: true, get: function() { - return bignumbers_1.MinInt256; - } }); - Object.defineProperty(exports2, "MaxInt256", { enumerable: true, get: function() { - return bignumbers_1.MaxInt256; - } }); + Object.defineProperty(exports2, 'NegativeOne', { + enumerable: true, + get: function () { + return bignumbers_1.NegativeOne; + }, + }); + Object.defineProperty(exports2, 'Zero', { + enumerable: true, + get: function () { + return bignumbers_1.Zero; + }, + }); + Object.defineProperty(exports2, 'One', { + enumerable: true, + get: function () { + return bignumbers_1.One; + }, + }); + Object.defineProperty(exports2, 'Two', { + enumerable: true, + get: function () { + return bignumbers_1.Two; + }, + }); + Object.defineProperty(exports2, 'WeiPerEther', { + enumerable: true, + get: function () { + return bignumbers_1.WeiPerEther; + }, + }); + Object.defineProperty(exports2, 'MaxUint256', { + enumerable: true, + get: function () { + return bignumbers_1.MaxUint256; + }, + }); + Object.defineProperty(exports2, 'MinInt256', { + enumerable: true, + get: function () { + return bignumbers_1.MinInt256; + }, + }); + Object.defineProperty(exports2, 'MaxInt256', { + enumerable: true, + get: function () { + return bignumbers_1.MaxInt256; + }, + }); var hashes_1 = require_hashes(); - Object.defineProperty(exports2, "HashZero", { enumerable: true, get: function() { - return hashes_1.HashZero; - } }); + Object.defineProperty(exports2, 'HashZero', { + enumerable: true, + get: function () { + return hashes_1.HashZero; + }, + }); var strings_1 = require_strings(); - Object.defineProperty(exports2, "EtherSymbol", { enumerable: true, get: function() { - return strings_1.EtherSymbol; - } }); - } + Object.defineProperty(exports2, 'EtherSymbol', { + enumerable: true, + get: function () { + return strings_1.EtherSymbol; + }, + }); + }, }); // node_modules/@ethersproject/abi/lib/coders/number.js var require_number = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/number.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/number.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.NumberCoder = void 0; var bignumber_1 = require_lib3(); var constants_1 = require_lib8(); var abstract_coder_1 = require_abstract_coder(); - var NumberCoder = function(_super) { + var NumberCoder = (function (_super) { __extends(NumberCoder2, _super); function NumberCoder2(size, signed, localName) { var _this = this; - var name2 = (signed ? "int" : "uint") + size * 8; + var name2 = (signed ? 'int' : 'uint') + size * 8; _this = _super.call(this, name2, name2, localName, false) || this; _this.size = size; _this.signed = signed; return _this; } - NumberCoder2.prototype.defaultValue = function() { + NumberCoder2.prototype.defaultValue = function () { return 0; }; - NumberCoder2.prototype.encode = function(writer, value) { + NumberCoder2.prototype.encode = function (writer, value) { var v = bignumber_1.BigNumber.from(value); var maxUintValue = constants_1.MaxUint256.mask(writer.wordSize * 8); if (this.signed) { var bounds = maxUintValue.mask(this.size * 8 - 1); if (v.gt(bounds) || v.lt(bounds.add(constants_1.One).mul(constants_1.NegativeOne))) { - this._throwError("value out-of-bounds", value); + this._throwError('value out-of-bounds', value); } } else if (v.lt(constants_1.Zero) || v.gt(maxUintValue.mask(this.size * 8))) { - this._throwError("value out-of-bounds", value); + this._throwError('value out-of-bounds', value); } v = v.toTwos(this.size * 8).mask(this.size * 8); if (this.signed) { @@ -7709,7 +8163,7 @@ var require_number = __commonJS({ } return writer.writeValue(v); }; - NumberCoder2.prototype.decode = function(reader) { + NumberCoder2.prototype.decode = function (reader) { var value = reader.readValue().mask(this.size * 8); if (this.signed) { value = value.fromTwos(this.size * 8); @@ -7717,51 +8171,66 @@ var require_number = __commonJS({ return reader.coerce(this.name, value); }; return NumberCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.NumberCoder = NumberCoder; - } + }, }); // node_modules/@ethersproject/strings/lib/_version.js var require_version8 = __commonJS({ - "node_modules/@ethersproject/strings/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/strings/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "strings/5.5.0"; - } + exports2.version = 'strings/5.5.0'; + }, }); // node_modules/@ethersproject/strings/lib/utf8.js var require_utf8 = __commonJS({ - "node_modules/@ethersproject/strings/lib/utf8.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.toUtf8CodePoints = exports2.toUtf8String = exports2._toUtf8String = exports2._toEscapedUtf8String = exports2.toUtf8Bytes = exports2.Utf8ErrorFuncs = exports2.Utf8ErrorReason = exports2.UnicodeNormalizationForm = void 0; + 'node_modules/@ethersproject/strings/lib/utf8.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.toUtf8CodePoints = + exports2.toUtf8String = + exports2._toUtf8String = + exports2._toEscapedUtf8String = + exports2.toUtf8Bytes = + exports2.Utf8ErrorFuncs = + exports2.Utf8ErrorReason = + exports2.UnicodeNormalizationForm = + void 0; var bytes_1 = require_lib2(); var logger_1 = require_lib(); var _version_1 = require_version8(); var logger = new logger_1.Logger(_version_1.version); var UnicodeNormalizationForm; - (function(UnicodeNormalizationForm2) { - UnicodeNormalizationForm2["current"] = ""; - UnicodeNormalizationForm2["NFC"] = "NFC"; - UnicodeNormalizationForm2["NFD"] = "NFD"; - UnicodeNormalizationForm2["NFKC"] = "NFKC"; - UnicodeNormalizationForm2["NFKD"] = "NFKD"; - })(UnicodeNormalizationForm = exports2.UnicodeNormalizationForm || (exports2.UnicodeNormalizationForm = {})); + (function (UnicodeNormalizationForm2) { + UnicodeNormalizationForm2['current'] = ''; + UnicodeNormalizationForm2['NFC'] = 'NFC'; + UnicodeNormalizationForm2['NFD'] = 'NFD'; + UnicodeNormalizationForm2['NFKC'] = 'NFKC'; + UnicodeNormalizationForm2['NFKD'] = 'NFKD'; + })( + (UnicodeNormalizationForm = + exports2.UnicodeNormalizationForm || (exports2.UnicodeNormalizationForm = {})) + ); var Utf8ErrorReason; - (function(Utf8ErrorReason2) { - Utf8ErrorReason2["UNEXPECTED_CONTINUE"] = "unexpected continuation byte"; - Utf8ErrorReason2["BAD_PREFIX"] = "bad codepoint prefix"; - Utf8ErrorReason2["OVERRUN"] = "string overrun"; - Utf8ErrorReason2["MISSING_CONTINUE"] = "missing continuation byte"; - Utf8ErrorReason2["OUT_OF_RANGE"] = "out of UTF-8 range"; - Utf8ErrorReason2["UTF16_SURROGATE"] = "UTF-16 surrogate"; - Utf8ErrorReason2["OVERLONG"] = "overlong representation"; - })(Utf8ErrorReason = exports2.Utf8ErrorReason || (exports2.Utf8ErrorReason = {})); + (function (Utf8ErrorReason2) { + Utf8ErrorReason2['UNEXPECTED_CONTINUE'] = 'unexpected continuation byte'; + Utf8ErrorReason2['BAD_PREFIX'] = 'bad codepoint prefix'; + Utf8ErrorReason2['OVERRUN'] = 'string overrun'; + Utf8ErrorReason2['MISSING_CONTINUE'] = 'missing continuation byte'; + Utf8ErrorReason2['OUT_OF_RANGE'] = 'out of UTF-8 range'; + Utf8ErrorReason2['UTF16_SURROGATE'] = 'UTF-16 surrogate'; + Utf8ErrorReason2['OVERLONG'] = 'overlong representation'; + })((Utf8ErrorReason = exports2.Utf8ErrorReason || (exports2.Utf8ErrorReason = {}))); function errorFunc(reason, offset, bytes, output, badCodepoint) { - return logger.throwArgumentError("invalid codepoint at offset " + offset + "; " + reason, "bytes", bytes); + return logger.throwArgumentError( + 'invalid codepoint at offset ' + offset + '; ' + reason, + 'bytes', + bytes + ); } function ignoreFunc(reason, offset, bytes, output, badCodepoint) { if (reason === Utf8ErrorReason.BAD_PREFIX || reason === Utf8ErrorReason.UNEXPECTED_CONTINUE) { @@ -7790,7 +8259,7 @@ var require_utf8 = __commonJS({ exports2.Utf8ErrorFuncs = Object.freeze({ error: errorFunc, ignore: ignoreFunc, - replace: replaceFunc + replace: replaceFunc, }); function getUtf8CodePoints(bytes, onError) { if (onError == null) { @@ -7828,7 +8297,7 @@ var require_utf8 = __commonJS({ i += onError(Utf8ErrorReason.OVERRUN, i - 1, bytes, result); continue; } - var res = c & (1 << 8 - extraLength - 1) - 1; + var res = c & ((1 << (8 - extraLength - 1)) - 1); for (var j = 0; j < extraLength; j++) { var nextChar = bytes[i]; if ((nextChar & 192) != 128) { @@ -7836,8 +8305,7 @@ var require_utf8 = __commonJS({ res = null; break; } - ; - res = res << 6 | nextChar & 63; + res = (res << 6) | (nextChar & 63); i++; } if (res === null) { @@ -7873,69 +8341,83 @@ var require_utf8 = __commonJS({ if (c < 128) { result.push(c); } else if (c < 2048) { - result.push(c >> 6 | 192); - result.push(c & 63 | 128); + result.push((c >> 6) | 192); + result.push((c & 63) | 128); } else if ((c & 64512) == 55296) { i++; var c2 = str2.charCodeAt(i); if (i >= str2.length || (c2 & 64512) !== 56320) { - throw new Error("invalid utf-8 string"); + throw new Error('invalid utf-8 string'); } var pair = 65536 + ((c & 1023) << 10) + (c2 & 1023); - result.push(pair >> 18 | 240); - result.push(pair >> 12 & 63 | 128); - result.push(pair >> 6 & 63 | 128); - result.push(pair & 63 | 128); + result.push((pair >> 18) | 240); + result.push(((pair >> 12) & 63) | 128); + result.push(((pair >> 6) & 63) | 128); + result.push((pair & 63) | 128); } else { - result.push(c >> 12 | 224); - result.push(c >> 6 & 63 | 128); - result.push(c & 63 | 128); + result.push((c >> 12) | 224); + result.push(((c >> 6) & 63) | 128); + result.push((c & 63) | 128); } } return (0, bytes_1.arrayify)(result); } exports2.toUtf8Bytes = toUtf8Bytes; function escapeChar(value) { - var hex = "0000" + value.toString(16); - return "\\u" + hex.substring(hex.length - 4); + var hex = '0000' + value.toString(16); + return '\\u' + hex.substring(hex.length - 4); } function _toEscapedUtf8String(bytes, onError) { - return '"' + getUtf8CodePoints(bytes, onError).map(function(codePoint) { - if (codePoint < 256) { - switch (codePoint) { - case 8: - return "\\b"; - case 9: - return "\\t"; - case 10: - return "\\n"; - case 13: - return "\\r"; - case 34: - return '\\"'; - case 92: - return "\\\\"; - } - if (codePoint >= 32 && codePoint < 127) { - return String.fromCharCode(codePoint); - } - } - if (codePoint <= 65535) { - return escapeChar(codePoint); - } - codePoint -= 65536; - return escapeChar((codePoint >> 10 & 1023) + 55296) + escapeChar((codePoint & 1023) + 56320); - }).join("") + '"'; + return ( + '"' + + getUtf8CodePoints(bytes, onError) + .map(function (codePoint) { + if (codePoint < 256) { + switch (codePoint) { + case 8: + return '\\b'; + case 9: + return '\\t'; + case 10: + return '\\n'; + case 13: + return '\\r'; + case 34: + return '\\"'; + case 92: + return '\\\\'; + } + if (codePoint >= 32 && codePoint < 127) { + return String.fromCharCode(codePoint); + } + } + if (codePoint <= 65535) { + return escapeChar(codePoint); + } + codePoint -= 65536; + return ( + escapeChar(((codePoint >> 10) & 1023) + 55296) + + escapeChar((codePoint & 1023) + 56320) + ); + }) + .join('') + + '"' + ); } exports2._toEscapedUtf8String = _toEscapedUtf8String; function _toUtf8String(codePoints) { - return codePoints.map(function(codePoint) { - if (codePoint <= 65535) { - return String.fromCharCode(codePoint); - } - codePoint -= 65536; - return String.fromCharCode((codePoint >> 10 & 1023) + 55296, (codePoint & 1023) + 56320); - }).join(""); + return codePoints + .map(function (codePoint) { + if (codePoint <= 65535) { + return String.fromCharCode(codePoint); + } + codePoint -= 65536; + return String.fromCharCode( + ((codePoint >> 10) & 1023) + 55296, + (codePoint & 1023) + 56320 + ); + }) + .join(''); } exports2._toUtf8String = _toUtf8String; function toUtf8String(bytes, onError) { @@ -7949,14 +8431,14 @@ var require_utf8 = __commonJS({ return getUtf8CodePoints(toUtf8Bytes(str2, form)); } exports2.toUtf8CodePoints = toUtf8CodePoints; - } + }, }); // node_modules/@ethersproject/strings/lib/bytes32.js var require_bytes32 = __commonJS({ - "node_modules/@ethersproject/strings/lib/bytes32.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/strings/lib/bytes32.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.parseBytes32String = exports2.formatBytes32String = void 0; var constants_1 = require_lib8(); var bytes_1 = require_lib2(); @@ -7964,7 +8446,7 @@ var require_bytes32 = __commonJS({ function formatBytes32String(text) { var bytes = (0, utf8_1.toUtf8Bytes)(text); if (bytes.length > 31) { - throw new Error("bytes32 string must be less than 32 bytes"); + throw new Error('bytes32 string must be less than 32 bytes'); } return (0, bytes_1.hexlify)((0, bytes_1.concat)([bytes, constants_1.HashZero]).slice(0, 32)); } @@ -7972,10 +8454,10 @@ var require_bytes32 = __commonJS({ function parseBytes32String(bytes) { var data = (0, bytes_1.arrayify)(bytes); if (data.length !== 32) { - throw new Error("invalid bytes32 - not 32 bytes long"); + throw new Error('invalid bytes32 - not 32 bytes long'); } if (data[31] !== 0) { - throw new Error("invalid bytes32 string - no null terminator"); + throw new Error('invalid bytes32 string - no null terminator'); } var length = 31; while (data[length - 1] === 0) { @@ -7984,19 +8466,23 @@ var require_bytes32 = __commonJS({ return (0, utf8_1.toUtf8String)(data.slice(0, length)); } exports2.parseBytes32String = parseBytes32String; - } + }, }); // node_modules/@ethersproject/strings/lib/idna.js var require_idna = __commonJS({ - "node_modules/@ethersproject/strings/lib/idna.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.nameprep = exports2._nameprepTableC = exports2._nameprepTableB2 = exports2._nameprepTableA1 = void 0; + 'node_modules/@ethersproject/strings/lib/idna.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.nameprep = + exports2._nameprepTableC = + exports2._nameprepTableB2 = + exports2._nameprepTableA1 = + void 0; var utf8_1 = require_utf8(); function bytes2(data) { if (data.length % 4 !== 0) { - throw new Error("bad data"); + throw new Error('bad data'); } var result = []; for (var i = 0; i < data.length; i += 4) { @@ -8006,14 +8492,14 @@ var require_idna = __commonJS({ } function createTable(data, func) { if (!func) { - func = function(value) { + func = function (value) { return [parseInt(value, 16)]; }; } var lo = 0; var result = {}; - data.split(",").forEach(function(pair) { - var comps = pair.split(":"); + data.split(',').forEach(function (pair) { + var comps = pair.split(':'); lo += parseInt(comps[0], 16); result[lo] = func(comps[1]); }); @@ -8021,12 +8507,12 @@ var require_idna = __commonJS({ } function createRangeTable(data) { var hi = 0; - return data.split(",").map(function(v) { - var comps = v.split("-"); + return data.split(',').map(function (v) { + var comps = v.split('-'); if (comps.length === 1) { - comps[1] = "0"; - } else if (comps[1] === "") { - comps[1] = "1"; + comps[1] = '0'; + } else if (comps[1] === '') { + comps[1] = '1'; } var lo = hi + parseInt(comps[0], 16); hi = parseInt(comps[1], 16); @@ -8047,10 +8533,14 @@ var require_idna = __commonJS({ } return null; } - var Table_A_1_ranges = createRangeTable("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"); - var Table_B_1_flags = "ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map(function(v) { - return parseInt(v, 16); - }); + var Table_A_1_ranges = createRangeTable( + '221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d' + ); + var Table_B_1_flags = 'ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff' + .split(',') + .map(function (v) { + return parseInt(v, 16); + }); var Table_B_2_ranges = [ { h: 25, s: 32, l: 65 }, { h: 30, s: 32, e: [23], l: 127 }, @@ -8093,15 +8583,24 @@ var require_idna = __commonJS({ { h: 24, s: -119601, e: [17], l: 58 }, { h: 24, s: -119659, e: [17], l: 58 }, { h: 24, s: -119717, e: [17], l: 58 }, - { h: 24, s: -119775, e: [17], l: 58 } + { h: 24, s: -119775, e: [17], l: 58 }, ]; - var Table_B_2_lut_abs = createTable("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"); - var Table_B_2_lut_rel = createTable("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"); - var Table_B_2_complex = createTable("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D", bytes2); - var Table_C_ranges = createRangeTable("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001"); + var Table_B_2_lut_abs = createTable( + 'b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3' + ); + var Table_B_2_lut_rel = createTable( + '179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7' + ); + var Table_B_2_complex = createTable( + 'df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D', + bytes2 + ); + var Table_C_ranges = createRangeTable( + '80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001' + ); function flatten(values) { - return values.reduce(function(accum, value) { - value.forEach(function(value2) { + return values.reduce(function (accum, value) { + value.forEach(function (value2) { accum.push(value2); }); return accum; @@ -8140,186 +8639,247 @@ var require_idna = __commonJS({ return value.toLowerCase(); } var codes = (0, utf8_1.toUtf8CodePoints)(value); - codes = flatten(codes.map(function(code) { - if (Table_B_1_flags.indexOf(code) >= 0) { - return []; - } - if (code >= 65024 && code <= 65039) { - return []; - } - var codesTableB2 = _nameprepTableB2(code); - if (codesTableB2) { - return codesTableB2; - } - return [code]; - })); - codes = (0, utf8_1.toUtf8CodePoints)((0, utf8_1._toUtf8String)(codes), utf8_1.UnicodeNormalizationForm.NFKC); - codes.forEach(function(code) { + codes = flatten( + codes.map(function (code) { + if (Table_B_1_flags.indexOf(code) >= 0) { + return []; + } + if (code >= 65024 && code <= 65039) { + return []; + } + var codesTableB2 = _nameprepTableB2(code); + if (codesTableB2) { + return codesTableB2; + } + return [code]; + }) + ); + codes = (0, utf8_1.toUtf8CodePoints)( + (0, utf8_1._toUtf8String)(codes), + utf8_1.UnicodeNormalizationForm.NFKC + ); + codes.forEach(function (code) { if (_nameprepTableC(code)) { - throw new Error("STRINGPREP_CONTAINS_PROHIBITED"); + throw new Error('STRINGPREP_CONTAINS_PROHIBITED'); } }); - codes.forEach(function(code) { + codes.forEach(function (code) { if (_nameprepTableA1(code)) { - throw new Error("STRINGPREP_CONTAINS_UNASSIGNED"); + throw new Error('STRINGPREP_CONTAINS_UNASSIGNED'); } }); var name2 = (0, utf8_1._toUtf8String)(codes); - if (name2.substring(0, 1) === "-" || name2.substring(2, 4) === "--" || name2.substring(name2.length - 1) === "-") { - throw new Error("invalid hyphen"); + if ( + name2.substring(0, 1) === '-' || + name2.substring(2, 4) === '--' || + name2.substring(name2.length - 1) === '-' + ) { + throw new Error('invalid hyphen'); } if (name2.length > 63) { - throw new Error("too long"); + throw new Error('too long'); } return name2; } exports2.nameprep = nameprep; - } + }, }); // node_modules/@ethersproject/strings/lib/index.js var require_lib9 = __commonJS({ - "node_modules/@ethersproject/strings/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.nameprep = exports2.parseBytes32String = exports2.formatBytes32String = exports2.UnicodeNormalizationForm = exports2.Utf8ErrorReason = exports2.Utf8ErrorFuncs = exports2.toUtf8String = exports2.toUtf8CodePoints = exports2.toUtf8Bytes = exports2._toEscapedUtf8String = void 0; + 'node_modules/@ethersproject/strings/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.nameprep = + exports2.parseBytes32String = + exports2.formatBytes32String = + exports2.UnicodeNormalizationForm = + exports2.Utf8ErrorReason = + exports2.Utf8ErrorFuncs = + exports2.toUtf8String = + exports2.toUtf8CodePoints = + exports2.toUtf8Bytes = + exports2._toEscapedUtf8String = + void 0; var bytes32_1 = require_bytes32(); - Object.defineProperty(exports2, "formatBytes32String", { enumerable: true, get: function() { - return bytes32_1.formatBytes32String; - } }); - Object.defineProperty(exports2, "parseBytes32String", { enumerable: true, get: function() { - return bytes32_1.parseBytes32String; - } }); + Object.defineProperty(exports2, 'formatBytes32String', { + enumerable: true, + get: function () { + return bytes32_1.formatBytes32String; + }, + }); + Object.defineProperty(exports2, 'parseBytes32String', { + enumerable: true, + get: function () { + return bytes32_1.parseBytes32String; + }, + }); var idna_1 = require_idna(); - Object.defineProperty(exports2, "nameprep", { enumerable: true, get: function() { - return idna_1.nameprep; - } }); + Object.defineProperty(exports2, 'nameprep', { + enumerable: true, + get: function () { + return idna_1.nameprep; + }, + }); var utf8_1 = require_utf8(); - Object.defineProperty(exports2, "_toEscapedUtf8String", { enumerable: true, get: function() { - return utf8_1._toEscapedUtf8String; - } }); - Object.defineProperty(exports2, "toUtf8Bytes", { enumerable: true, get: function() { - return utf8_1.toUtf8Bytes; - } }); - Object.defineProperty(exports2, "toUtf8CodePoints", { enumerable: true, get: function() { - return utf8_1.toUtf8CodePoints; - } }); - Object.defineProperty(exports2, "toUtf8String", { enumerable: true, get: function() { - return utf8_1.toUtf8String; - } }); - Object.defineProperty(exports2, "UnicodeNormalizationForm", { enumerable: true, get: function() { - return utf8_1.UnicodeNormalizationForm; - } }); - Object.defineProperty(exports2, "Utf8ErrorFuncs", { enumerable: true, get: function() { - return utf8_1.Utf8ErrorFuncs; - } }); - Object.defineProperty(exports2, "Utf8ErrorReason", { enumerable: true, get: function() { - return utf8_1.Utf8ErrorReason; - } }); - } + Object.defineProperty(exports2, '_toEscapedUtf8String', { + enumerable: true, + get: function () { + return utf8_1._toEscapedUtf8String; + }, + }); + Object.defineProperty(exports2, 'toUtf8Bytes', { + enumerable: true, + get: function () { + return utf8_1.toUtf8Bytes; + }, + }); + Object.defineProperty(exports2, 'toUtf8CodePoints', { + enumerable: true, + get: function () { + return utf8_1.toUtf8CodePoints; + }, + }); + Object.defineProperty(exports2, 'toUtf8String', { + enumerable: true, + get: function () { + return utf8_1.toUtf8String; + }, + }); + Object.defineProperty(exports2, 'UnicodeNormalizationForm', { + enumerable: true, + get: function () { + return utf8_1.UnicodeNormalizationForm; + }, + }); + Object.defineProperty(exports2, 'Utf8ErrorFuncs', { + enumerable: true, + get: function () { + return utf8_1.Utf8ErrorFuncs; + }, + }); + Object.defineProperty(exports2, 'Utf8ErrorReason', { + enumerable: true, + get: function () { + return utf8_1.Utf8ErrorReason; + }, + }); + }, }); // node_modules/@ethersproject/abi/lib/coders/string.js var require_string = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/string.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/string.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.StringCoder = void 0; var strings_1 = require_lib9(); var bytes_1 = require_bytes(); - var StringCoder = function(_super) { + var StringCoder = (function (_super) { __extends(StringCoder2, _super); function StringCoder2(localName) { - return _super.call(this, "string", localName) || this; + return _super.call(this, 'string', localName) || this; } - StringCoder2.prototype.defaultValue = function() { - return ""; + StringCoder2.prototype.defaultValue = function () { + return ''; }; - StringCoder2.prototype.encode = function(writer, value) { + StringCoder2.prototype.encode = function (writer, value) { return _super.prototype.encode.call(this, writer, (0, strings_1.toUtf8Bytes)(value)); }; - StringCoder2.prototype.decode = function(reader) { + StringCoder2.prototype.decode = function (reader) { return (0, strings_1.toUtf8String)(_super.prototype.decode.call(this, reader)); }; return StringCoder2; - }(bytes_1.DynamicBytesCoder); + })(bytes_1.DynamicBytesCoder); exports2.StringCoder = StringCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/coders/tuple.js var require_tuple = __commonJS({ - "node_modules/@ethersproject/abi/lib/coders/tuple.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/coders/tuple.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.TupleCoder = void 0; var abstract_coder_1 = require_abstract_coder(); var array_1 = require_array(); - var TupleCoder = function(_super) { + var TupleCoder = (function (_super) { __extends(TupleCoder2, _super); function TupleCoder2(coders, localName) { var _this = this; var dynamic = false; var types = []; - coders.forEach(function(coder) { + coders.forEach(function (coder) { if (coder.dynamic) { dynamic = true; } types.push(coder.type); }); - var type = "tuple(" + types.join(",") + ")"; - _this = _super.call(this, "tuple", type, localName, dynamic) || this; + var type = 'tuple(' + types.join(',') + ')'; + _this = _super.call(this, 'tuple', type, localName, dynamic) || this; _this.coders = coders; return _this; } - TupleCoder2.prototype.defaultValue = function() { + TupleCoder2.prototype.defaultValue = function () { var values = []; - this.coders.forEach(function(coder) { + this.coders.forEach(function (coder) { values.push(coder.defaultValue()); }); - var uniqueNames = this.coders.reduce(function(accum, coder) { + var uniqueNames = this.coders.reduce(function (accum, coder) { var name2 = coder.localName; if (name2) { if (!accum[name2]) { @@ -8329,13 +8889,13 @@ var require_tuple = __commonJS({ } return accum; }, {}); - this.coders.forEach(function(coder, index) { + this.coders.forEach(function (coder, index) { var name2 = coder.localName; if (!name2 || uniqueNames[name2] !== 1) { return; } - if (name2 === "length") { - name2 = "_length"; + if (name2 === 'length') { + name2 = '_length'; } if (values[name2] != null) { return; @@ -8344,23 +8904,23 @@ var require_tuple = __commonJS({ }); return Object.freeze(values); }; - TupleCoder2.prototype.encode = function(writer, value) { + TupleCoder2.prototype.encode = function (writer, value) { return (0, array_1.pack)(writer, this.coders, value); }; - TupleCoder2.prototype.decode = function(reader) { + TupleCoder2.prototype.decode = function (reader) { return reader.coerce(this.name, (0, array_1.unpack)(reader, this.coders)); }; return TupleCoder2; - }(abstract_coder_1.Coder); + })(abstract_coder_1.Coder); exports2.TupleCoder = TupleCoder; - } + }, }); // node_modules/@ethersproject/abi/lib/abi-coder.js var require_abi_coder = __commonJS({ - "node_modules/@ethersproject/abi/lib/abi-coder.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/abi/lib/abi-coder.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.defaultAbiCoder = exports2.AbiCoder = void 0; var bytes_1 = require_lib2(); var properties_1 = require_lib4(); @@ -8380,103 +8940,114 @@ var require_abi_coder = __commonJS({ var fragments_1 = require_fragments(); var paramTypeBytes = new RegExp(/^bytes([0-9]*)$/); var paramTypeNumber = new RegExp(/^(u?int)([0-9]*)$/); - var AbiCoder = function() { + var AbiCoder = (function () { function AbiCoder2(coerceFunc) { var _newTarget = this.constructor; logger.checkNew(_newTarget, AbiCoder2); - (0, properties_1.defineReadOnly)(this, "coerceFunc", coerceFunc || null); + (0, properties_1.defineReadOnly)(this, 'coerceFunc', coerceFunc || null); } - AbiCoder2.prototype._getCoder = function(param) { + AbiCoder2.prototype._getCoder = function (param) { var _this = this; switch (param.baseType) { - case "address": + case 'address': return new address_1.AddressCoder(param.name); - case "bool": + case 'bool': return new boolean_1.BooleanCoder(param.name); - case "string": + case 'string': return new string_1.StringCoder(param.name); - case "bytes": + case 'bytes': return new bytes_2.BytesCoder(param.name); - case "array": - return new array_1.ArrayCoder(this._getCoder(param.arrayChildren), param.arrayLength, param.name); - case "tuple": - return new tuple_1.TupleCoder((param.components || []).map(function(component) { - return _this._getCoder(component); - }), param.name); - case "": + case 'array': + return new array_1.ArrayCoder( + this._getCoder(param.arrayChildren), + param.arrayLength, + param.name + ); + case 'tuple': + return new tuple_1.TupleCoder( + (param.components || []).map(function (component) { + return _this._getCoder(component); + }), + param.name + ); + case '': return new null_1.NullCoder(param.name); } var match = param.type.match(paramTypeNumber); if (match) { - var size = parseInt(match[2] || "256"); + var size = parseInt(match[2] || '256'); if (size === 0 || size > 256 || size % 8 !== 0) { - logger.throwArgumentError("invalid " + match[1] + " bit length", "param", param); + logger.throwArgumentError('invalid ' + match[1] + ' bit length', 'param', param); } - return new number_1.NumberCoder(size / 8, match[1] === "int", param.name); + return new number_1.NumberCoder(size / 8, match[1] === 'int', param.name); } match = param.type.match(paramTypeBytes); if (match) { var size = parseInt(match[1]); if (size === 0 || size > 32) { - logger.throwArgumentError("invalid bytes length", "param", param); + logger.throwArgumentError('invalid bytes length', 'param', param); } return new fixed_bytes_1.FixedBytesCoder(size, param.name); } - return logger.throwArgumentError("invalid type", "type", param.type); + return logger.throwArgumentError('invalid type', 'type', param.type); }; - AbiCoder2.prototype._getWordSize = function() { + AbiCoder2.prototype._getWordSize = function () { return 32; }; - AbiCoder2.prototype._getReader = function(data, allowLoose) { + AbiCoder2.prototype._getReader = function (data, allowLoose) { return new abstract_coder_1.Reader(data, this._getWordSize(), this.coerceFunc, allowLoose); }; - AbiCoder2.prototype._getWriter = function() { + AbiCoder2.prototype._getWriter = function () { return new abstract_coder_1.Writer(this._getWordSize()); }; - AbiCoder2.prototype.getDefaultValue = function(types) { + AbiCoder2.prototype.getDefaultValue = function (types) { var _this = this; - var coders = types.map(function(type) { + var coders = types.map(function (type) { return _this._getCoder(fragments_1.ParamType.from(type)); }); - var coder = new tuple_1.TupleCoder(coders, "_"); + var coder = new tuple_1.TupleCoder(coders, '_'); return coder.defaultValue(); }; - AbiCoder2.prototype.encode = function(types, values) { + AbiCoder2.prototype.encode = function (types, values) { var _this = this; if (types.length !== values.length) { - logger.throwError("types/values length mismatch", logger_1.Logger.errors.INVALID_ARGUMENT, { - count: { types: types.length, values: values.length }, - value: { types, values } - }); + logger.throwError( + 'types/values length mismatch', + logger_1.Logger.errors.INVALID_ARGUMENT, + { + count: { types: types.length, values: values.length }, + value: { types, values }, + } + ); } - var coders = types.map(function(type) { + var coders = types.map(function (type) { return _this._getCoder(fragments_1.ParamType.from(type)); }); - var coder = new tuple_1.TupleCoder(coders, "_"); + var coder = new tuple_1.TupleCoder(coders, '_'); var writer = this._getWriter(); coder.encode(writer, values); return writer.data; }; - AbiCoder2.prototype.decode = function(types, data, loose) { + AbiCoder2.prototype.decode = function (types, data, loose) { var _this = this; - var coders = types.map(function(type) { + var coders = types.map(function (type) { return _this._getCoder(fragments_1.ParamType.from(type)); }); - var coder = new tuple_1.TupleCoder(coders, "_"); + var coder = new tuple_1.TupleCoder(coders, '_'); return coder.decode(this._getReader((0, bytes_1.arrayify)(data), loose)); }; return AbiCoder2; - }(); + })(); exports2.AbiCoder = AbiCoder; exports2.defaultAbiCoder = new AbiCoder(); - } + }, }); // node_modules/@ethersproject/hash/lib/id.js var require_id = __commonJS({ - "node_modules/@ethersproject/hash/lib/id.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/hash/lib/id.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.id = void 0; var keccak256_1 = require_lib5(); var strings_1 = require_lib9(); @@ -8484,24 +9055,24 @@ var require_id = __commonJS({ return (0, keccak256_1.keccak256)((0, strings_1.toUtf8Bytes)(text)); } exports2.id = id; - } + }, }); // node_modules/@ethersproject/hash/lib/_version.js var require_version9 = __commonJS({ - "node_modules/@ethersproject/hash/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/hash/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "hash/5.5.0"; - } + exports2.version = 'hash/5.5.0'; + }, }); // node_modules/@ethersproject/hash/lib/namehash.js var require_namehash = __commonJS({ - "node_modules/@ethersproject/hash/lib/namehash.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/hash/lib/namehash.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.namehash = exports2.isValidName = void 0; var bytes_1 = require_lib2(); var strings_1 = require_lib9(); @@ -8511,174 +9082,205 @@ var require_namehash = __commonJS({ var logger = new logger_1.Logger(_version_1.version); var Zeros = new Uint8Array(32); Zeros.fill(0); - var Partition = new RegExp("^((.*)\\.)?([^.]+)$"); + var Partition = new RegExp('^((.*)\\.)?([^.]+)$'); function isValidName(name2) { try { - var comps = name2.split("."); + var comps = name2.split('.'); for (var i = 0; i < comps.length; i++) { if ((0, strings_1.nameprep)(comps[i]).length === 0) { - throw new Error("empty"); + throw new Error('empty'); } } return true; - } catch (error) { - } + } catch (error) {} return false; } exports2.isValidName = isValidName; function namehash(name2) { - if (typeof name2 !== "string") { - logger.throwArgumentError("invalid ENS name; not a string", "name", name2); + if (typeof name2 !== 'string') { + logger.throwArgumentError('invalid ENS name; not a string', 'name', name2); } var current = name2; var result = Zeros; while (current.length) { var partition = current.match(Partition); - if (partition == null || partition[2] === "") { - logger.throwArgumentError("invalid ENS address; missing component", "name", name2); + if (partition == null || partition[2] === '') { + logger.throwArgumentError('invalid ENS address; missing component', 'name', name2); } var label = (0, strings_1.toUtf8Bytes)((0, strings_1.nameprep)(partition[3])); - result = (0, keccak256_1.keccak256)((0, bytes_1.concat)([result, (0, keccak256_1.keccak256)(label)])); - current = partition[2] || ""; + result = (0, keccak256_1.keccak256)( + (0, bytes_1.concat)([result, (0, keccak256_1.keccak256)(label)]) + ); + current = partition[2] || ''; } return (0, bytes_1.hexlify)(result); } exports2.namehash = namehash; - } + }, }); // node_modules/@ethersproject/hash/lib/message.js var require_message = __commonJS({ - "node_modules/@ethersproject/hash/lib/message.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/hash/lib/message.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.hashMessage = exports2.messagePrefix = void 0; var bytes_1 = require_lib2(); var keccak256_1 = require_lib5(); var strings_1 = require_lib9(); - exports2.messagePrefix = "Ethereum Signed Message:\n"; + exports2.messagePrefix = 'Ethereum Signed Message:\n'; function hashMessage(message) { - if (typeof message === "string") { + if (typeof message === 'string') { message = (0, strings_1.toUtf8Bytes)(message); } - return (0, keccak256_1.keccak256)((0, bytes_1.concat)([ - (0, strings_1.toUtf8Bytes)(exports2.messagePrefix), - (0, strings_1.toUtf8Bytes)(String(message.length)), - message - ])); + return (0, keccak256_1.keccak256)( + (0, bytes_1.concat)([ + (0, strings_1.toUtf8Bytes)(exports2.messagePrefix), + (0, strings_1.toUtf8Bytes)(String(message.length)), + message, + ]) + ); } exports2.hashMessage = hashMessage; - } + }, }); // node_modules/@ethersproject/hash/lib/typed-data.js var require_typed_data = __commonJS({ - "node_modules/@ethersproject/hash/lib/typed-data.js"(exports2) { - "use strict"; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } + 'node_modules/@ethersproject/hash/lib/typed-data.js'(exports2) { + 'use strict'; + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.TypedDataEncoder = void 0; var address_1 = require_lib7(); var bignumber_1 = require_lib3(); @@ -8694,7 +9296,9 @@ var require_typed_data = __commonJS({ var NegativeOne = bignumber_1.BigNumber.from(-1); var Zero = bignumber_1.BigNumber.from(0); var One = bignumber_1.BigNumber.from(1); - var MaxUint256 = bignumber_1.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); + var MaxUint256 = bignumber_1.BigNumber.from( + '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff' + ); function hexPadRight(value) { var bytes = (0, bytes_1.arrayify)(value); var padOffset = bytes.length % 32; @@ -8706,71 +9310,74 @@ var require_typed_data = __commonJS({ var hexTrue = (0, bytes_1.hexZeroPad)(One.toHexString(), 32); var hexFalse = (0, bytes_1.hexZeroPad)(Zero.toHexString(), 32); var domainFieldTypes = { - name: "string", - version: "string", - chainId: "uint256", - verifyingContract: "address", - salt: "bytes32" - }; - var domainFieldNames = [ - "name", - "version", - "chainId", - "verifyingContract", - "salt" - ]; + name: 'string', + version: 'string', + chainId: 'uint256', + verifyingContract: 'address', + salt: 'bytes32', + }; + var domainFieldNames = ['name', 'version', 'chainId', 'verifyingContract', 'salt']; function checkString(key) { - return function(value) { - if (typeof value !== "string") { - logger.throwArgumentError("invalid domain value for " + JSON.stringify(key), "domain." + key, value); + return function (value) { + if (typeof value !== 'string') { + logger.throwArgumentError( + 'invalid domain value for ' + JSON.stringify(key), + 'domain.' + key, + value + ); } return value; }; } var domainChecks = { - name: checkString("name"), - version: checkString("version"), - chainId: function(value) { + name: checkString('name'), + version: checkString('version'), + chainId: function (value) { try { return bignumber_1.BigNumber.from(value).toString(); - } catch (error) { - } - return logger.throwArgumentError('invalid domain value for "chainId"', "domain.chainId", value); + } catch (error) {} + return logger.throwArgumentError( + 'invalid domain value for "chainId"', + 'domain.chainId', + value + ); }, - verifyingContract: function(value) { + verifyingContract: function (value) { try { return (0, address_1.getAddress)(value).toLowerCase(); - } catch (error) { - } - return logger.throwArgumentError('invalid domain value "verifyingContract"', "domain.verifyingContract", value); + } catch (error) {} + return logger.throwArgumentError( + 'invalid domain value "verifyingContract"', + 'domain.verifyingContract', + value + ); }, - salt: function(value) { + salt: function (value) { try { var bytes = (0, bytes_1.arrayify)(value); if (bytes.length !== 32) { - throw new Error("bad length"); + throw new Error('bad length'); } return (0, bytes_1.hexlify)(bytes); - } catch (error) { - } - return logger.throwArgumentError('invalid domain value "salt"', "domain.salt", value); - } + } catch (error) {} + return logger.throwArgumentError('invalid domain value "salt"', 'domain.salt', value); + }, }; function getBaseEncoder(type) { { var match = type.match(/^(u?)int(\d*)$/); if (match) { - var signed = match[1] === ""; - var width = parseInt(match[2] || "256"); - if (width % 8 !== 0 || width > 256 || match[2] && match[2] !== String(width)) { - logger.throwArgumentError("invalid numeric width", "type", type); + var signed = match[1] === ''; + var width = parseInt(match[2] || '256'); + if (width % 8 !== 0 || width > 256 || (match[2] && match[2] !== String(width))) { + logger.throwArgumentError('invalid numeric width', 'type', type); } var boundsUpper_1 = MaxUint256.mask(signed ? width - 1 : width); var boundsLower_1 = signed ? boundsUpper_1.add(One).mul(NegativeOne) : Zero; - return function(value) { + return function (value) { var v = bignumber_1.BigNumber.from(value); if (v.lt(boundsLower_1) || v.gt(boundsUpper_1)) { - logger.throwArgumentError("value out-of-bounds for " + type, "value", value); + logger.throwArgumentError('value out-of-bounds for ' + type, 'value', value); } return (0, bytes_1.hexZeroPad)(v.toTwos(256).toHexString(), 32); }; @@ -8781,73 +9388,96 @@ var require_typed_data = __commonJS({ if (match) { var width_1 = parseInt(match[1]); if (width_1 === 0 || width_1 > 32 || match[1] !== String(width_1)) { - logger.throwArgumentError("invalid bytes width", "type", type); + logger.throwArgumentError('invalid bytes width', 'type', type); } - return function(value) { + return function (value) { var bytes = (0, bytes_1.arrayify)(value); if (bytes.length !== width_1) { - logger.throwArgumentError("invalid length for " + type, "value", value); + logger.throwArgumentError('invalid length for ' + type, 'value', value); } return hexPadRight(value); }; } } switch (type) { - case "address": - return function(value) { + case 'address': + return function (value) { return (0, bytes_1.hexZeroPad)((0, address_1.getAddress)(value), 32); }; - case "bool": - return function(value) { + case 'bool': + return function (value) { return !value ? hexFalse : hexTrue; }; - case "bytes": - return function(value) { + case 'bytes': + return function (value) { return (0, keccak256_1.keccak256)(value); }; - case "string": - return function(value) { + case 'string': + return function (value) { return (0, id_1.id)(value); }; } return null; } function encodeType(name2, fields) { - return name2 + "(" + fields.map(function(_a7) { - var name3 = _a7.name, type = _a7.type; - return type + " " + name3; - }).join(",") + ")"; + return ( + name2 + + '(' + + fields + .map(function (_a7) { + var name3 = _a7.name, + type = _a7.type; + return type + ' ' + name3; + }) + .join(',') + + ')' + ); } - var TypedDataEncoder = function() { + var TypedDataEncoder = (function () { function TypedDataEncoder2(types) { - (0, properties_1.defineReadOnly)(this, "types", Object.freeze((0, properties_1.deepCopy)(types))); - (0, properties_1.defineReadOnly)(this, "_encoderCache", {}); - (0, properties_1.defineReadOnly)(this, "_types", {}); + (0, properties_1.defineReadOnly)( + this, + 'types', + Object.freeze((0, properties_1.deepCopy)(types)) + ); + (0, properties_1.defineReadOnly)(this, '_encoderCache', {}); + (0, properties_1.defineReadOnly)(this, '_types', {}); var links = {}; var parents = {}; var subtypes = {}; - Object.keys(types).forEach(function(type) { + Object.keys(types).forEach(function (type) { links[type] = {}; parents[type] = []; subtypes[type] = {}; }); - var _loop_1 = function(name_12) { + var _loop_1 = function (name_12) { var uniqueNames = {}; - types[name_12].forEach(function(field) { + types[name_12].forEach(function (field) { if (uniqueNames[field.name]) { - logger.throwArgumentError("duplicate variable name " + JSON.stringify(field.name) + " in " + JSON.stringify(name_12), "types", types); + logger.throwArgumentError( + 'duplicate variable name ' + + JSON.stringify(field.name) + + ' in ' + + JSON.stringify(name_12), + 'types', + types + ); } uniqueNames[field.name] = true; var baseType = field.type.match(/^([^\x5b]*)(\x5b|$)/)[1]; if (baseType === name_12) { - logger.throwArgumentError("circular type reference to " + JSON.stringify(baseType), "types", types); + logger.throwArgumentError( + 'circular type reference to ' + JSON.stringify(baseType), + 'types', + types + ); } var encoder = getBaseEncoder(baseType); if (encoder) { return; } if (!parents[baseType]) { - logger.throwArgumentError("unknown type " + JSON.stringify(baseType), "types", types); + logger.throwArgumentError('unknown type ' + JSON.stringify(baseType), 'types', types); } parents[baseType].push(name_12); links[name_12][baseType] = true; @@ -8856,28 +9486,39 @@ var require_typed_data = __commonJS({ for (var name_1 in types) { _loop_1(name_1); } - var primaryTypes = Object.keys(parents).filter(function(n) { + var primaryTypes = Object.keys(parents).filter(function (n) { return parents[n].length === 0; }); if (primaryTypes.length === 0) { - logger.throwArgumentError("missing primary type", "types", types); + logger.throwArgumentError('missing primary type', 'types', types); } else if (primaryTypes.length > 1) { - logger.throwArgumentError("ambiguous primary types or unused types: " + primaryTypes.map(function(t) { - return JSON.stringify(t); - }).join(", "), "types", types); + logger.throwArgumentError( + 'ambiguous primary types or unused types: ' + + primaryTypes + .map(function (t) { + return JSON.stringify(t); + }) + .join(', '), + 'types', + types + ); } - (0, properties_1.defineReadOnly)(this, "primaryType", primaryTypes[0]); + (0, properties_1.defineReadOnly)(this, 'primaryType', primaryTypes[0]); function checkCircular(type, found) { if (found[type]) { - logger.throwArgumentError("circular type reference to " + JSON.stringify(type), "types", types); + logger.throwArgumentError( + 'circular type reference to ' + JSON.stringify(type), + 'types', + types + ); } found[type] = true; - Object.keys(links[type]).forEach(function(child) { + Object.keys(links[type]).forEach(function (child) { if (!parents[child]) { return; } checkCircular(child, found); - Object.keys(found).forEach(function(subtype) { + Object.keys(found).forEach(function (subtype) { subtypes[subtype][child] = true; }); }); @@ -8887,19 +9528,23 @@ var require_typed_data = __commonJS({ for (var name_2 in subtypes) { var st = Object.keys(subtypes[name_2]); st.sort(); - this._types[name_2] = encodeType(name_2, types[name_2]) + st.map(function(t) { - return encodeType(t, types[t]); - }).join(""); + this._types[name_2] = + encodeType(name_2, types[name_2]) + + st + .map(function (t) { + return encodeType(t, types[t]); + }) + .join(''); } } - TypedDataEncoder2.prototype.getEncoder = function(type) { + TypedDataEncoder2.prototype.getEncoder = function (type) { var encoder = this._encoderCache[type]; if (!encoder) { encoder = this._encoderCache[type] = this._getEncoder(type); } return encoder; }; - TypedDataEncoder2.prototype._getEncoder = function(type) { + TypedDataEncoder2.prototype._getEncoder = function (type) { var _this = this; { var encoder = getBaseEncoder(type); @@ -8912,9 +9557,13 @@ var require_typed_data = __commonJS({ var subtype_1 = match[1]; var subEncoder_1 = this.getEncoder(subtype_1); var length_1 = parseInt(match[3]); - return function(value) { + return function (value) { if (length_1 >= 0 && value.length !== length_1) { - logger.throwArgumentError("array length mismatch; expected length ${ arrayLength }", "value", value); + logger.throwArgumentError( + 'array length mismatch; expected length ${ arrayLength }', + 'value', + value + ); } var result = value.map(subEncoder_1); if (_this._types[subtype_1]) { @@ -8926,9 +9575,10 @@ var require_typed_data = __commonJS({ var fields = this.types[type]; if (fields) { var encodedType_1 = (0, id_1.id)(this._types[type]); - return function(value) { - var values = fields.map(function(_a7) { - var name2 = _a7.name, type2 = _a7.type; + return function (value) { + var values = fields.map(function (_a7) { + var name2 = _a7.name, + type2 = _a7.type; var result = _this.getEncoder(type2)(value[name2]); if (_this._types[type2]) { return (0, keccak256_1.keccak256)(result); @@ -8939,28 +9589,28 @@ var require_typed_data = __commonJS({ return (0, bytes_1.hexConcat)(values); }; } - return logger.throwArgumentError("unknown type: " + type, "type", type); + return logger.throwArgumentError('unknown type: ' + type, 'type', type); }; - TypedDataEncoder2.prototype.encodeType = function(name2) { + TypedDataEncoder2.prototype.encodeType = function (name2) { var result = this._types[name2]; if (!result) { - logger.throwArgumentError("unknown type: " + JSON.stringify(name2), "name", name2); + logger.throwArgumentError('unknown type: ' + JSON.stringify(name2), 'name', name2); } return result; }; - TypedDataEncoder2.prototype.encodeData = function(type, value) { + TypedDataEncoder2.prototype.encodeData = function (type, value) { return this.getEncoder(type)(value); }; - TypedDataEncoder2.prototype.hashStruct = function(name2, value) { + TypedDataEncoder2.prototype.hashStruct = function (name2, value) { return (0, keccak256_1.keccak256)(this.encodeData(name2, value)); }; - TypedDataEncoder2.prototype.encode = function(value) { + TypedDataEncoder2.prototype.encode = function (value) { return this.encodeData(this.primaryType, value); }; - TypedDataEncoder2.prototype.hash = function(value) { + TypedDataEncoder2.prototype.hash = function (value) { return this.hashStruct(this.primaryType, value); }; - TypedDataEncoder2.prototype._visit = function(type, value, callback) { + TypedDataEncoder2.prototype._visit = function (type, value, callback) { var _this = this; { var encoder = getBaseEncoder(type); @@ -8973,84 +9623,94 @@ var require_typed_data = __commonJS({ var subtype_2 = match[1]; var length_2 = parseInt(match[3]); if (length_2 >= 0 && value.length !== length_2) { - logger.throwArgumentError("array length mismatch; expected length ${ arrayLength }", "value", value); + logger.throwArgumentError( + 'array length mismatch; expected length ${ arrayLength }', + 'value', + value + ); } - return value.map(function(v) { + return value.map(function (v) { return _this._visit(subtype_2, v, callback); }); } var fields = this.types[type]; if (fields) { - return fields.reduce(function(accum, _a7) { - var name2 = _a7.name, type2 = _a7.type; + return fields.reduce(function (accum, _a7) { + var name2 = _a7.name, + type2 = _a7.type; accum[name2] = _this._visit(type2, value[name2], callback); return accum; }, {}); } - return logger.throwArgumentError("unknown type: " + type, "type", type); + return logger.throwArgumentError('unknown type: ' + type, 'type', type); }; - TypedDataEncoder2.prototype.visit = function(value, callback) { + TypedDataEncoder2.prototype.visit = function (value, callback) { return this._visit(this.primaryType, value, callback); }; - TypedDataEncoder2.from = function(types) { + TypedDataEncoder2.from = function (types) { return new TypedDataEncoder2(types); }; - TypedDataEncoder2.getPrimaryType = function(types) { + TypedDataEncoder2.getPrimaryType = function (types) { return TypedDataEncoder2.from(types).primaryType; }; - TypedDataEncoder2.hashStruct = function(name2, types, value) { + TypedDataEncoder2.hashStruct = function (name2, types, value) { return TypedDataEncoder2.from(types).hashStruct(name2, value); }; - TypedDataEncoder2.hashDomain = function(domain) { + TypedDataEncoder2.hashDomain = function (domain) { var domainFields = []; for (var name_3 in domain) { var type = domainFieldTypes[name_3]; if (!type) { - logger.throwArgumentError("invalid typed-data domain key: " + JSON.stringify(name_3), "domain", domain); + logger.throwArgumentError( + 'invalid typed-data domain key: ' + JSON.stringify(name_3), + 'domain', + domain + ); } domainFields.push({ name: name_3, type }); } - domainFields.sort(function(a, b) { + domainFields.sort(function (a, b) { return domainFieldNames.indexOf(a.name) - domainFieldNames.indexOf(b.name); }); - return TypedDataEncoder2.hashStruct("EIP712Domain", { EIP712Domain: domainFields }, domain); + return TypedDataEncoder2.hashStruct('EIP712Domain', { EIP712Domain: domainFields }, domain); }; - TypedDataEncoder2.encode = function(domain, types, value) { + TypedDataEncoder2.encode = function (domain, types, value) { return (0, bytes_1.hexConcat)([ - "0x1901", + '0x1901', TypedDataEncoder2.hashDomain(domain), - TypedDataEncoder2.from(types).hash(value) + TypedDataEncoder2.from(types).hash(value), ]); }; - TypedDataEncoder2.hash = function(domain, types, value) { + TypedDataEncoder2.hash = function (domain, types, value) { return (0, keccak256_1.keccak256)(TypedDataEncoder2.encode(domain, types, value)); }; - TypedDataEncoder2.resolveNames = function(domain, types, value, resolveName) { - return __awaiter(this, void 0, void 0, function() { + TypedDataEncoder2.resolveNames = function (domain, types, value, resolveName) { + return __awaiter(this, void 0, void 0, function () { var ensCache, encoder, _a7, _b, _i, name_4, _c, _d; - return __generator(this, function(_e) { + return __generator(this, function (_e) { switch (_e.label) { case 0: domain = (0, properties_1.shallowCopy)(domain); ensCache = {}; - if (domain.verifyingContract && !(0, bytes_1.isHexString)(domain.verifyingContract, 20)) { - ensCache[domain.verifyingContract] = "0x"; + if ( + domain.verifyingContract && + !(0, bytes_1.isHexString)(domain.verifyingContract, 20) + ) { + ensCache[domain.verifyingContract] = '0x'; } encoder = TypedDataEncoder2.from(types); - encoder.visit(value, function(type, value2) { - if (type === "address" && !(0, bytes_1.isHexString)(value2, 20)) { - ensCache[value2] = "0x"; + encoder.visit(value, function (type, value2) { + if (type === 'address' && !(0, bytes_1.isHexString)(value2, 20)) { + ensCache[value2] = '0x'; } return value2; }); _a7 = []; - for (_b in ensCache) - _a7.push(_b); + for (_b in ensCache) _a7.push(_b); _i = 0; _e.label = 1; case 1: - if (!(_i < _a7.length)) - return [3, 4]; + if (!(_i < _a7.length)) return [3, 4]; name_4 = _a7[_i]; _c = ensCache; _d = name_4; @@ -9065,8 +9725,8 @@ var require_typed_data = __commonJS({ if (domain.verifyingContract && ensCache[domain.verifyingContract]) { domain.verifyingContract = ensCache[domain.verifyingContract]; } - value = encoder.visit(value, function(type, value2) { - if (type === "address" && ensCache[value2]) { + value = encoder.visit(value, function (type, value2) { + if (type === 'address' && ensCache[value2]) { return ensCache[value2]; } return value2; @@ -9076,11 +9736,11 @@ var require_typed_data = __commonJS({ }); }); }; - TypedDataEncoder2.getPayload = function(domain, types, value) { + TypedDataEncoder2.getPayload = function (domain, types, value) { TypedDataEncoder2.hashDomain(domain); var domainValues = {}; var domainTypes = []; - domainFieldNames.forEach(function(name2) { + domainFieldNames.forEach(function (name2) { var value2 = domain[name2]; if (value2 == null) { return; @@ -9091,7 +9751,11 @@ var require_typed_data = __commonJS({ var encoder = TypedDataEncoder2.from(types); var typesWithDomain = (0, properties_1.shallowCopy)(types); if (typesWithDomain.EIP712Domain) { - logger.throwArgumentError("types must not contain EIP712Domain type", "types.EIP712Domain", types); + logger.throwArgumentError( + 'types must not contain EIP712Domain type', + 'types.EIP712Domain', + types + ); } else { typesWithDomain.EIP712Domain = domainTypes; } @@ -9100,7 +9764,7 @@ var require_typed_data = __commonJS({ types: typesWithDomain, domain: domainValues, primaryType: encoder.primaryType, - message: encoder.visit(value, function(type, value2) { + message: encoder.visit(value, function (type, value2) { if (type.match(/^bytes(\d*)/)) { return (0, bytes_1.hexlify)((0, bytes_1.arrayify)(value2)); } @@ -9108,84 +9772,120 @@ var require_typed_data = __commonJS({ return bignumber_1.BigNumber.from(value2).toString(); } switch (type) { - case "address": + case 'address': return value2.toLowerCase(); - case "bool": + case 'bool': return !!value2; - case "string": - if (typeof value2 !== "string") { - logger.throwArgumentError("invalid string", "value", value2); + case 'string': + if (typeof value2 !== 'string') { + logger.throwArgumentError('invalid string', 'value', value2); } return value2; } - return logger.throwArgumentError("unsupported type", "type", type); - }) + return logger.throwArgumentError('unsupported type', 'type', type); + }), }; }; return TypedDataEncoder2; - }(); + })(); exports2.TypedDataEncoder = TypedDataEncoder; - } + }, }); // node_modules/@ethersproject/hash/lib/index.js var require_lib10 = __commonJS({ - "node_modules/@ethersproject/hash/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2._TypedDataEncoder = exports2.hashMessage = exports2.messagePrefix = exports2.isValidName = exports2.namehash = exports2.id = void 0; + 'node_modules/@ethersproject/hash/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2._TypedDataEncoder = + exports2.hashMessage = + exports2.messagePrefix = + exports2.isValidName = + exports2.namehash = + exports2.id = + void 0; var id_1 = require_id(); - Object.defineProperty(exports2, "id", { enumerable: true, get: function() { - return id_1.id; - } }); + Object.defineProperty(exports2, 'id', { + enumerable: true, + get: function () { + return id_1.id; + }, + }); var namehash_1 = require_namehash(); - Object.defineProperty(exports2, "isValidName", { enumerable: true, get: function() { - return namehash_1.isValidName; - } }); - Object.defineProperty(exports2, "namehash", { enumerable: true, get: function() { - return namehash_1.namehash; - } }); + Object.defineProperty(exports2, 'isValidName', { + enumerable: true, + get: function () { + return namehash_1.isValidName; + }, + }); + Object.defineProperty(exports2, 'namehash', { + enumerable: true, + get: function () { + return namehash_1.namehash; + }, + }); var message_1 = require_message(); - Object.defineProperty(exports2, "hashMessage", { enumerable: true, get: function() { - return message_1.hashMessage; - } }); - Object.defineProperty(exports2, "messagePrefix", { enumerable: true, get: function() { - return message_1.messagePrefix; - } }); + Object.defineProperty(exports2, 'hashMessage', { + enumerable: true, + get: function () { + return message_1.hashMessage; + }, + }); + Object.defineProperty(exports2, 'messagePrefix', { + enumerable: true, + get: function () { + return message_1.messagePrefix; + }, + }); var typed_data_1 = require_typed_data(); - Object.defineProperty(exports2, "_TypedDataEncoder", { enumerable: true, get: function() { - return typed_data_1.TypedDataEncoder; - } }); - } + Object.defineProperty(exports2, '_TypedDataEncoder', { + enumerable: true, + get: function () { + return typed_data_1.TypedDataEncoder; + }, + }); + }, }); // node_modules/@ethersproject/abi/lib/interface.js var require_interface = __commonJS({ - "node_modules/@ethersproject/abi/lib/interface.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abi/lib/interface.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Interface = exports2.Indexed = exports2.ErrorDescription = exports2.TransactionDescription = exports2.LogDescription = exports2.checkResultErrors = void 0; + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Interface = + exports2.Indexed = + exports2.ErrorDescription = + exports2.TransactionDescription = + exports2.LogDescription = + exports2.checkResultErrors = + void 0; var address_1 = require_lib7(); var bignumber_1 = require_lib3(); var bytes_1 = require_lib2(); @@ -9194,95 +9894,108 @@ var require_interface = __commonJS({ var properties_1 = require_lib4(); var abi_coder_1 = require_abi_coder(); var abstract_coder_1 = require_abstract_coder(); - Object.defineProperty(exports2, "checkResultErrors", { enumerable: true, get: function() { - return abstract_coder_1.checkResultErrors; - } }); + Object.defineProperty(exports2, 'checkResultErrors', { + enumerable: true, + get: function () { + return abstract_coder_1.checkResultErrors; + }, + }); var fragments_1 = require_fragments(); var logger_1 = require_lib(); var _version_1 = require_version5(); var logger = new logger_1.Logger(_version_1.version); - var LogDescription = function(_super) { + var LogDescription = (function (_super) { __extends(LogDescription2, _super); function LogDescription2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } return LogDescription2; - }(properties_1.Description); + })(properties_1.Description); exports2.LogDescription = LogDescription; - var TransactionDescription = function(_super) { + var TransactionDescription = (function (_super) { __extends(TransactionDescription2, _super); function TransactionDescription2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } return TransactionDescription2; - }(properties_1.Description); + })(properties_1.Description); exports2.TransactionDescription = TransactionDescription; - var ErrorDescription = function(_super) { + var ErrorDescription = (function (_super) { __extends(ErrorDescription2, _super); function ErrorDescription2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } return ErrorDescription2; - }(properties_1.Description); + })(properties_1.Description); exports2.ErrorDescription = ErrorDescription; - var Indexed = function(_super) { + var Indexed = (function (_super) { __extends(Indexed2, _super); function Indexed2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - Indexed2.isIndexed = function(value) { + Indexed2.isIndexed = function (value) { return !!(value && value._isIndexed); }; return Indexed2; - }(properties_1.Description); + })(properties_1.Description); exports2.Indexed = Indexed; var BuiltinErrors = { - "0x08c379a0": { signature: "Error(string)", name: "Error", inputs: ["string"], reason: true }, - "0x4e487b71": { signature: "Panic(uint256)", name: "Panic", inputs: ["uint256"] } + '0x08c379a0': { signature: 'Error(string)', name: 'Error', inputs: ['string'], reason: true }, + '0x4e487b71': { signature: 'Panic(uint256)', name: 'Panic', inputs: ['uint256'] }, }; function wrapAccessError(property, error) { - var wrap2 = new Error("deferred error during ABI decoding triggered accessing " + property); + var wrap2 = new Error('deferred error during ABI decoding triggered accessing ' + property); wrap2.error = error; return wrap2; } - var Interface = function() { + var Interface = (function () { function Interface2(fragments) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, Interface2); var abi = []; - if (typeof fragments === "string") { + if (typeof fragments === 'string') { abi = JSON.parse(fragments); } else { abi = fragments; } - (0, properties_1.defineReadOnly)(this, "fragments", abi.map(function(fragment) { - return fragments_1.Fragment.from(fragment); - }).filter(function(fragment) { - return fragment != null; - })); - (0, properties_1.defineReadOnly)(this, "_abiCoder", (0, properties_1.getStatic)(_newTarget, "getAbiCoder")()); - (0, properties_1.defineReadOnly)(this, "functions", {}); - (0, properties_1.defineReadOnly)(this, "errors", {}); - (0, properties_1.defineReadOnly)(this, "events", {}); - (0, properties_1.defineReadOnly)(this, "structs", {}); - this.fragments.forEach(function(fragment) { + (0, properties_1.defineReadOnly)( + this, + 'fragments', + abi + .map(function (fragment) { + return fragments_1.Fragment.from(fragment); + }) + .filter(function (fragment) { + return fragment != null; + }) + ); + (0, properties_1.defineReadOnly)( + this, + '_abiCoder', + (0, properties_1.getStatic)(_newTarget, 'getAbiCoder')() + ); + (0, properties_1.defineReadOnly)(this, 'functions', {}); + (0, properties_1.defineReadOnly)(this, 'errors', {}); + (0, properties_1.defineReadOnly)(this, 'events', {}); + (0, properties_1.defineReadOnly)(this, 'structs', {}); + this.fragments.forEach(function (fragment) { var bucket = null; switch (fragment.type) { - case "constructor": + case 'constructor': if (_this.deploy) { - logger.warn("duplicate definition - constructor"); + logger.warn('duplicate definition - constructor'); return; } - (0, properties_1.defineReadOnly)(_this, "deploy", fragment); + (0, properties_1.defineReadOnly)(_this, 'deploy', fragment); return; - case "function": + case 'function': bucket = _this.functions; break; - case "event": + case 'event': bucket = _this.events; break; - case "error": + case 'error': bucket = _this.errors; break; default: @@ -9290,76 +10003,89 @@ var require_interface = __commonJS({ } var signature = fragment.format(); if (bucket[signature]) { - logger.warn("duplicate definition - " + signature); + logger.warn('duplicate definition - ' + signature); return; } bucket[signature] = fragment; }); if (!this.deploy) { - (0, properties_1.defineReadOnly)(this, "deploy", fragments_1.ConstructorFragment.from({ - payable: false, - type: "constructor" - })); + (0, properties_1.defineReadOnly)( + this, + 'deploy', + fragments_1.ConstructorFragment.from({ + payable: false, + type: 'constructor', + }) + ); } - (0, properties_1.defineReadOnly)(this, "_isInterface", true); + (0, properties_1.defineReadOnly)(this, '_isInterface', true); } - Interface2.prototype.format = function(format) { + Interface2.prototype.format = function (format) { if (!format) { format = fragments_1.FormatTypes.full; } if (format === fragments_1.FormatTypes.sighash) { - logger.throwArgumentError("interface does not support formatting sighash", "format", format); + logger.throwArgumentError( + 'interface does not support formatting sighash', + 'format', + format + ); } - var abi = this.fragments.map(function(fragment) { + var abi = this.fragments.map(function (fragment) { return fragment.format(format); }); if (format === fragments_1.FormatTypes.json) { - return JSON.stringify(abi.map(function(j) { - return JSON.parse(j); - })); + return JSON.stringify( + abi.map(function (j) { + return JSON.parse(j); + }) + ); } return abi; }; - Interface2.getAbiCoder = function() { + Interface2.getAbiCoder = function () { return abi_coder_1.defaultAbiCoder; }; - Interface2.getAddress = function(address) { + Interface2.getAddress = function (address) { return (0, address_1.getAddress)(address); }; - Interface2.getSighash = function(fragment) { + Interface2.getSighash = function (fragment) { return (0, bytes_1.hexDataSlice)((0, hash_1.id)(fragment.format()), 0, 4); }; - Interface2.getEventTopic = function(eventFragment) { + Interface2.getEventTopic = function (eventFragment) { return (0, hash_1.id)(eventFragment.format()); }; - Interface2.prototype.getFunction = function(nameOrSignatureOrSighash) { + Interface2.prototype.getFunction = function (nameOrSignatureOrSighash) { if ((0, bytes_1.isHexString)(nameOrSignatureOrSighash)) { for (var name_1 in this.functions) { if (nameOrSignatureOrSighash === this.getSighash(name_1)) { return this.functions[name_1]; } } - logger.throwArgumentError("no matching function", "sighash", nameOrSignatureOrSighash); + logger.throwArgumentError('no matching function', 'sighash', nameOrSignatureOrSighash); } - if (nameOrSignatureOrSighash.indexOf("(") === -1) { + if (nameOrSignatureOrSighash.indexOf('(') === -1) { var name_2 = nameOrSignatureOrSighash.trim(); - var matching = Object.keys(this.functions).filter(function(f) { - return f.split("(")[0] === name_2; + var matching = Object.keys(this.functions).filter(function (f) { + return f.split('(')[0] === name_2; }); if (matching.length === 0) { - logger.throwArgumentError("no matching function", "name", name_2); + logger.throwArgumentError('no matching function', 'name', name_2); } else if (matching.length > 1) { - logger.throwArgumentError("multiple matching functions", "name", name_2); + logger.throwArgumentError('multiple matching functions', 'name', name_2); } return this.functions[matching[0]]; } - var result = this.functions[fragments_1.FunctionFragment.fromString(nameOrSignatureOrSighash).format()]; + var result = + this.functions[ + fragments_1.FunctionFragment.fromString(nameOrSignatureOrSighash).format() + ]; if (!result) { - logger.throwArgumentError("no matching function", "signature", nameOrSignatureOrSighash); + logger.throwArgumentError('no matching function', 'signature', nameOrSignatureOrSighash); } return result; }; - Interface2.prototype.getEvent = function(nameOrSignatureOrTopic) { + Interface2.prototype.getEvent = function (nameOrSignatureOrTopic) { if ((0, bytes_1.isHexString)(nameOrSignatureOrTopic)) { var topichash = nameOrSignatureOrTopic.toLowerCase(); for (var name_3 in this.events) { @@ -9367,57 +10093,59 @@ var require_interface = __commonJS({ return this.events[name_3]; } } - logger.throwArgumentError("no matching event", "topichash", topichash); + logger.throwArgumentError('no matching event', 'topichash', topichash); } - if (nameOrSignatureOrTopic.indexOf("(") === -1) { + if (nameOrSignatureOrTopic.indexOf('(') === -1) { var name_4 = nameOrSignatureOrTopic.trim(); - var matching = Object.keys(this.events).filter(function(f) { - return f.split("(")[0] === name_4; + var matching = Object.keys(this.events).filter(function (f) { + return f.split('(')[0] === name_4; }); if (matching.length === 0) { - logger.throwArgumentError("no matching event", "name", name_4); + logger.throwArgumentError('no matching event', 'name', name_4); } else if (matching.length > 1) { - logger.throwArgumentError("multiple matching events", "name", name_4); + logger.throwArgumentError('multiple matching events', 'name', name_4); } return this.events[matching[0]]; } - var result = this.events[fragments_1.EventFragment.fromString(nameOrSignatureOrTopic).format()]; + var result = + this.events[fragments_1.EventFragment.fromString(nameOrSignatureOrTopic).format()]; if (!result) { - logger.throwArgumentError("no matching event", "signature", nameOrSignatureOrTopic); + logger.throwArgumentError('no matching event', 'signature', nameOrSignatureOrTopic); } return result; }; - Interface2.prototype.getError = function(nameOrSignatureOrSighash) { + Interface2.prototype.getError = function (nameOrSignatureOrSighash) { if ((0, bytes_1.isHexString)(nameOrSignatureOrSighash)) { - var getSighash = (0, properties_1.getStatic)(this.constructor, "getSighash"); + var getSighash = (0, properties_1.getStatic)(this.constructor, 'getSighash'); for (var name_5 in this.errors) { var error = this.errors[name_5]; if (nameOrSignatureOrSighash === getSighash(error)) { return this.errors[name_5]; } } - logger.throwArgumentError("no matching error", "sighash", nameOrSignatureOrSighash); + logger.throwArgumentError('no matching error', 'sighash', nameOrSignatureOrSighash); } - if (nameOrSignatureOrSighash.indexOf("(") === -1) { + if (nameOrSignatureOrSighash.indexOf('(') === -1) { var name_6 = nameOrSignatureOrSighash.trim(); - var matching = Object.keys(this.errors).filter(function(f) { - return f.split("(")[0] === name_6; + var matching = Object.keys(this.errors).filter(function (f) { + return f.split('(')[0] === name_6; }); if (matching.length === 0) { - logger.throwArgumentError("no matching error", "name", name_6); + logger.throwArgumentError('no matching error', 'name', name_6); } else if (matching.length > 1) { - logger.throwArgumentError("multiple matching errors", "name", name_6); + logger.throwArgumentError('multiple matching errors', 'name', name_6); } return this.errors[matching[0]]; } - var result = this.errors[fragments_1.FunctionFragment.fromString(nameOrSignatureOrSighash).format()]; + var result = + this.errors[fragments_1.FunctionFragment.fromString(nameOrSignatureOrSighash).format()]; if (!result) { - logger.throwArgumentError("no matching error", "signature", nameOrSignatureOrSighash); + logger.throwArgumentError('no matching error', 'signature', nameOrSignatureOrSighash); } return result; }; - Interface2.prototype.getSighash = function(fragment) { - if (typeof fragment === "string") { + Interface2.prototype.getSighash = function (fragment) { + if (typeof fragment === 'string') { try { fragment = this.getFunction(fragment); } catch (error) { @@ -9428,63 +10156,75 @@ var require_interface = __commonJS({ } } } - return (0, properties_1.getStatic)(this.constructor, "getSighash")(fragment); + return (0, properties_1.getStatic)(this.constructor, 'getSighash')(fragment); }; - Interface2.prototype.getEventTopic = function(eventFragment) { - if (typeof eventFragment === "string") { + Interface2.prototype.getEventTopic = function (eventFragment) { + if (typeof eventFragment === 'string') { eventFragment = this.getEvent(eventFragment); } - return (0, properties_1.getStatic)(this.constructor, "getEventTopic")(eventFragment); + return (0, properties_1.getStatic)(this.constructor, 'getEventTopic')(eventFragment); }; - Interface2.prototype._decodeParams = function(params, data) { + Interface2.prototype._decodeParams = function (params, data) { return this._abiCoder.decode(params, data); }; - Interface2.prototype._encodeParams = function(params, values) { + Interface2.prototype._encodeParams = function (params, values) { return this._abiCoder.encode(params, values); }; - Interface2.prototype.encodeDeploy = function(values) { + Interface2.prototype.encodeDeploy = function (values) { return this._encodeParams(this.deploy.inputs, values || []); }; - Interface2.prototype.decodeErrorResult = function(fragment, data) { - if (typeof fragment === "string") { + Interface2.prototype.decodeErrorResult = function (fragment, data) { + if (typeof fragment === 'string') { fragment = this.getError(fragment); } var bytes = (0, bytes_1.arrayify)(data); if ((0, bytes_1.hexlify)(bytes.slice(0, 4)) !== this.getSighash(fragment)) { - logger.throwArgumentError("data signature does not match error " + fragment.name + ".", "data", (0, bytes_1.hexlify)(bytes)); + logger.throwArgumentError( + 'data signature does not match error ' + fragment.name + '.', + 'data', + (0, bytes_1.hexlify)(bytes) + ); } return this._decodeParams(fragment.inputs, bytes.slice(4)); }; - Interface2.prototype.encodeErrorResult = function(fragment, values) { - if (typeof fragment === "string") { + Interface2.prototype.encodeErrorResult = function (fragment, values) { + if (typeof fragment === 'string') { fragment = this.getError(fragment); } - return (0, bytes_1.hexlify)((0, bytes_1.concat)([ - this.getSighash(fragment), - this._encodeParams(fragment.inputs, values || []) - ])); + return (0, bytes_1.hexlify)( + (0, bytes_1.concat)([ + this.getSighash(fragment), + this._encodeParams(fragment.inputs, values || []), + ]) + ); }; - Interface2.prototype.decodeFunctionData = function(functionFragment, data) { - if (typeof functionFragment === "string") { + Interface2.prototype.decodeFunctionData = function (functionFragment, data) { + if (typeof functionFragment === 'string') { functionFragment = this.getFunction(functionFragment); } var bytes = (0, bytes_1.arrayify)(data); if ((0, bytes_1.hexlify)(bytes.slice(0, 4)) !== this.getSighash(functionFragment)) { - logger.throwArgumentError("data signature does not match function " + functionFragment.name + ".", "data", (0, bytes_1.hexlify)(bytes)); + logger.throwArgumentError( + 'data signature does not match function ' + functionFragment.name + '.', + 'data', + (0, bytes_1.hexlify)(bytes) + ); } return this._decodeParams(functionFragment.inputs, bytes.slice(4)); }; - Interface2.prototype.encodeFunctionData = function(functionFragment, values) { - if (typeof functionFragment === "string") { + Interface2.prototype.encodeFunctionData = function (functionFragment, values) { + if (typeof functionFragment === 'string') { functionFragment = this.getFunction(functionFragment); } - return (0, bytes_1.hexlify)((0, bytes_1.concat)([ - this.getSighash(functionFragment), - this._encodeParams(functionFragment.inputs, values || []) - ])); + return (0, bytes_1.hexlify)( + (0, bytes_1.concat)([ + this.getSighash(functionFragment), + this._encodeParams(functionFragment.inputs, values || []), + ]) + ); }; - Interface2.prototype.decodeFunctionResult = function(functionFragment, data) { - if (typeof functionFragment === "string") { + Interface2.prototype.decodeFunctionResult = function (functionFragment, data) { + if (typeof functionFragment === 'string') { functionFragment = this.getFunction(functionFragment); } var bytes = (0, bytes_1.arrayify)(data); @@ -9496,8 +10236,7 @@ var require_interface = __commonJS({ case 0: try { return this._abiCoder.decode(functionFragment.outputs, bytes); - } catch (error2) { - } + } catch (error2) {} break; case 4: { var selector = (0, bytes_1.hexlify)(bytes.slice(0, 4)); @@ -9522,62 +10261,76 @@ var require_interface = __commonJS({ break; } } - return logger.throwError("call revert exception", logger_1.Logger.errors.CALL_EXCEPTION, { + return logger.throwError('call revert exception', logger_1.Logger.errors.CALL_EXCEPTION, { method: functionFragment.format(), errorArgs, errorName, errorSignature, - reason + reason, }); }; - Interface2.prototype.encodeFunctionResult = function(functionFragment, values) { - if (typeof functionFragment === "string") { + Interface2.prototype.encodeFunctionResult = function (functionFragment, values) { + if (typeof functionFragment === 'string') { functionFragment = this.getFunction(functionFragment); } return (0, bytes_1.hexlify)(this._abiCoder.encode(functionFragment.outputs, values || [])); }; - Interface2.prototype.encodeFilterTopics = function(eventFragment, values) { + Interface2.prototype.encodeFilterTopics = function (eventFragment, values) { var _this = this; - if (typeof eventFragment === "string") { + if (typeof eventFragment === 'string') { eventFragment = this.getEvent(eventFragment); } if (values.length > eventFragment.inputs.length) { - logger.throwError("too many arguments for " + eventFragment.format(), logger_1.Logger.errors.UNEXPECTED_ARGUMENT, { - argument: "values", - value: values - }); + logger.throwError( + 'too many arguments for ' + eventFragment.format(), + logger_1.Logger.errors.UNEXPECTED_ARGUMENT, + { + argument: 'values', + value: values, + } + ); } var topics = []; if (!eventFragment.anonymous) { topics.push(this.getEventTopic(eventFragment)); } - var encodeTopic = function(param, value) { - if (param.type === "string") { + var encodeTopic = function (param, value) { + if (param.type === 'string') { return (0, hash_1.id)(value); - } else if (param.type === "bytes") { + } else if (param.type === 'bytes') { return (0, keccak256_1.keccak256)((0, bytes_1.hexlify)(value)); } - if (param.type === "address") { - _this._abiCoder.encode(["address"], [value]); + if (param.type === 'address') { + _this._abiCoder.encode(['address'], [value]); } return (0, bytes_1.hexZeroPad)((0, bytes_1.hexlify)(value), 32); }; - values.forEach(function(value, index) { + values.forEach(function (value, index) { var param = eventFragment.inputs[index]; if (!param.indexed) { if (value != null) { - logger.throwArgumentError("cannot filter non-indexed parameters; must be null", "contract." + param.name, value); + logger.throwArgumentError( + 'cannot filter non-indexed parameters; must be null', + 'contract.' + param.name, + value + ); } return; } if (value == null) { topics.push(null); - } else if (param.baseType === "array" || param.baseType === "tuple") { - logger.throwArgumentError("filtering with tuples or arrays not supported", "contract." + param.name, value); + } else if (param.baseType === 'array' || param.baseType === 'tuple') { + logger.throwArgumentError( + 'filtering with tuples or arrays not supported', + 'contract.' + param.name, + value + ); } else if (Array.isArray(value)) { - topics.push(value.map(function(value2) { - return encodeTopic(param, value2); - })); + topics.push( + value.map(function (value2) { + return encodeTopic(param, value2); + }) + ); } else { topics.push(encodeTopic(param, value)); } @@ -9587,9 +10340,9 @@ var require_interface = __commonJS({ } return topics; }; - Interface2.prototype.encodeEventLog = function(eventFragment, values) { + Interface2.prototype.encodeEventLog = function (eventFragment, values) { var _this = this; - if (typeof eventFragment === "string") { + if (typeof eventFragment === 'string') { eventFragment = this.getEvent(eventFragment); } var topics = []; @@ -9599,17 +10352,17 @@ var require_interface = __commonJS({ topics.push(this.getEventTopic(eventFragment)); } if (values.length !== eventFragment.inputs.length) { - logger.throwArgumentError("event arguments/values mismatch", "values", values); + logger.throwArgumentError('event arguments/values mismatch', 'values', values); } - eventFragment.inputs.forEach(function(param, index) { + eventFragment.inputs.forEach(function (param, index) { var value = values[index]; if (param.indexed) { - if (param.type === "string") { + if (param.type === 'string') { topics.push((0, hash_1.id)(value)); - } else if (param.type === "bytes") { + } else if (param.type === 'bytes') { topics.push((0, keccak256_1.keccak256)(value)); - } else if (param.baseType === "tuple" || param.baseType === "array") { - throw new Error("not implemented"); + } else if (param.baseType === 'tuple' || param.baseType === 'array') { + throw new Error('not implemented'); } else { topics.push(_this._abiCoder.encode([param.type], [value])); } @@ -9620,27 +10373,36 @@ var require_interface = __commonJS({ }); return { data: this._abiCoder.encode(dataTypes, dataValues), - topics + topics, }; }; - Interface2.prototype.decodeEventLog = function(eventFragment, data, topics) { - if (typeof eventFragment === "string") { + Interface2.prototype.decodeEventLog = function (eventFragment, data, topics) { + if (typeof eventFragment === 'string') { eventFragment = this.getEvent(eventFragment); } if (topics != null && !eventFragment.anonymous) { var topicHash = this.getEventTopic(eventFragment); if (!(0, bytes_1.isHexString)(topics[0], 32) || topics[0].toLowerCase() !== topicHash) { - logger.throwError("fragment/topic mismatch", logger_1.Logger.errors.INVALID_ARGUMENT, { argument: "topics[0]", expected: topicHash, value: topics[0] }); + logger.throwError('fragment/topic mismatch', logger_1.Logger.errors.INVALID_ARGUMENT, { + argument: 'topics[0]', + expected: topicHash, + value: topics[0], + }); } topics = topics.slice(1); } var indexed = []; var nonIndexed = []; var dynamic = []; - eventFragment.inputs.forEach(function(param, index) { + eventFragment.inputs.forEach(function (param, index) { if (param.indexed) { - if (param.type === "string" || param.type === "bytes" || param.baseType === "tuple" || param.baseType === "array") { - indexed.push(fragments_1.ParamType.fromObject({ type: "bytes32", name: param.name })); + if ( + param.type === 'string' || + param.type === 'bytes' || + param.baseType === 'tuple' || + param.baseType === 'array' + ) { + indexed.push(fragments_1.ParamType.fromObject({ type: 'bytes32', name: param.name })); dynamic.push(true); } else { indexed.push(param); @@ -9651,16 +10413,21 @@ var require_interface = __commonJS({ dynamic.push(false); } }); - var resultIndexed = topics != null ? this._abiCoder.decode(indexed, (0, bytes_1.concat)(topics)) : null; + var resultIndexed = + topics != null ? this._abiCoder.decode(indexed, (0, bytes_1.concat)(topics)) : null; var resultNonIndexed = this._abiCoder.decode(nonIndexed, data, true); var result = []; - var nonIndexedIndex = 0, indexedIndex = 0; - eventFragment.inputs.forEach(function(param, index) { + var nonIndexedIndex = 0, + indexedIndex = 0; + eventFragment.inputs.forEach(function (param, index) { if (param.indexed) { if (resultIndexed == null) { result[index] = new Indexed({ _isIndexed: true, hash: null }); } else if (dynamic[index]) { - result[index] = new Indexed({ _isIndexed: true, hash: resultIndexed[indexedIndex++] }); + result[index] = new Indexed({ + _isIndexed: true, + hash: resultIndexed[indexedIndex++], + }); } else { try { result[index] = resultIndexed[indexedIndex++]; @@ -9680,23 +10447,23 @@ var require_interface = __commonJS({ if (value_1 instanceof Error) { Object.defineProperty(result, param.name, { enumerable: true, - get: function() { - throw wrapAccessError("property " + JSON.stringify(param.name), value_1); - } + get: function () { + throw wrapAccessError('property ' + JSON.stringify(param.name), value_1); + }, }); } else { result[param.name] = value_1; } } }); - var _loop_1 = function(i2) { + var _loop_1 = function (i2) { var value = result[i2]; if (value instanceof Error) { Object.defineProperty(result, i2, { enumerable: true, - get: function() { - throw wrapAccessError("index " + i2, value); - } + get: function () { + throw wrapAccessError('index ' + i2, value); + }, }); } }; @@ -9705,21 +10472,21 @@ var require_interface = __commonJS({ } return Object.freeze(result); }; - Interface2.prototype.parseTransaction = function(tx) { + Interface2.prototype.parseTransaction = function (tx) { var fragment = this.getFunction(tx.data.substring(0, 10).toLowerCase()); if (!fragment) { return null; } return new TransactionDescription({ - args: this._abiCoder.decode(fragment.inputs, "0x" + tx.data.substring(10)), + args: this._abiCoder.decode(fragment.inputs, '0x' + tx.data.substring(10)), functionFragment: fragment, name: fragment.name, signature: fragment.format(), sighash: this.getSighash(fragment), - value: bignumber_1.BigNumber.from(tx.value || "0") + value: bignumber_1.BigNumber.from(tx.value || '0'), }); }; - Interface2.prototype.parseLog = function(log) { + Interface2.prototype.parseLog = function (log) { var fragment = this.getEvent(log.topics[0]); if (!fragment || fragment.anonymous) { return null; @@ -9729,142 +10496,204 @@ var require_interface = __commonJS({ name: fragment.name, signature: fragment.format(), topic: this.getEventTopic(fragment), - args: this.decodeEventLog(fragment, log.data, log.topics) + args: this.decodeEventLog(fragment, log.data, log.topics), }); }; - Interface2.prototype.parseError = function(data) { + Interface2.prototype.parseError = function (data) { var hexData = (0, bytes_1.hexlify)(data); var fragment = this.getError(hexData.substring(0, 10).toLowerCase()); if (!fragment) { return null; } return new ErrorDescription({ - args: this._abiCoder.decode(fragment.inputs, "0x" + hexData.substring(10)), + args: this._abiCoder.decode(fragment.inputs, '0x' + hexData.substring(10)), errorFragment: fragment, name: fragment.name, signature: fragment.format(), - sighash: this.getSighash(fragment) + sighash: this.getSighash(fragment), }); }; - Interface2.isInterface = function(value) { + Interface2.isInterface = function (value) { return !!(value && value._isInterface); }; return Interface2; - }(); + })(); exports2.Interface = Interface; - } + }, }); // node_modules/@ethersproject/abi/lib/index.js var require_lib11 = __commonJS({ - "node_modules/@ethersproject/abi/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.TransactionDescription = exports2.LogDescription = exports2.checkResultErrors = exports2.Indexed = exports2.Interface = exports2.defaultAbiCoder = exports2.AbiCoder = exports2.FormatTypes = exports2.ParamType = exports2.FunctionFragment = exports2.Fragment = exports2.EventFragment = exports2.ErrorFragment = exports2.ConstructorFragment = void 0; + 'node_modules/@ethersproject/abi/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.TransactionDescription = + exports2.LogDescription = + exports2.checkResultErrors = + exports2.Indexed = + exports2.Interface = + exports2.defaultAbiCoder = + exports2.AbiCoder = + exports2.FormatTypes = + exports2.ParamType = + exports2.FunctionFragment = + exports2.Fragment = + exports2.EventFragment = + exports2.ErrorFragment = + exports2.ConstructorFragment = + void 0; var fragments_1 = require_fragments(); - Object.defineProperty(exports2, "ConstructorFragment", { enumerable: true, get: function() { - return fragments_1.ConstructorFragment; - } }); - Object.defineProperty(exports2, "ErrorFragment", { enumerable: true, get: function() { - return fragments_1.ErrorFragment; - } }); - Object.defineProperty(exports2, "EventFragment", { enumerable: true, get: function() { - return fragments_1.EventFragment; - } }); - Object.defineProperty(exports2, "FormatTypes", { enumerable: true, get: function() { - return fragments_1.FormatTypes; - } }); - Object.defineProperty(exports2, "Fragment", { enumerable: true, get: function() { - return fragments_1.Fragment; - } }); - Object.defineProperty(exports2, "FunctionFragment", { enumerable: true, get: function() { - return fragments_1.FunctionFragment; - } }); - Object.defineProperty(exports2, "ParamType", { enumerable: true, get: function() { - return fragments_1.ParamType; - } }); + Object.defineProperty(exports2, 'ConstructorFragment', { + enumerable: true, + get: function () { + return fragments_1.ConstructorFragment; + }, + }); + Object.defineProperty(exports2, 'ErrorFragment', { + enumerable: true, + get: function () { + return fragments_1.ErrorFragment; + }, + }); + Object.defineProperty(exports2, 'EventFragment', { + enumerable: true, + get: function () { + return fragments_1.EventFragment; + }, + }); + Object.defineProperty(exports2, 'FormatTypes', { + enumerable: true, + get: function () { + return fragments_1.FormatTypes; + }, + }); + Object.defineProperty(exports2, 'Fragment', { + enumerable: true, + get: function () { + return fragments_1.Fragment; + }, + }); + Object.defineProperty(exports2, 'FunctionFragment', { + enumerable: true, + get: function () { + return fragments_1.FunctionFragment; + }, + }); + Object.defineProperty(exports2, 'ParamType', { + enumerable: true, + get: function () { + return fragments_1.ParamType; + }, + }); var abi_coder_1 = require_abi_coder(); - Object.defineProperty(exports2, "AbiCoder", { enumerable: true, get: function() { - return abi_coder_1.AbiCoder; - } }); - Object.defineProperty(exports2, "defaultAbiCoder", { enumerable: true, get: function() { - return abi_coder_1.defaultAbiCoder; - } }); + Object.defineProperty(exports2, 'AbiCoder', { + enumerable: true, + get: function () { + return abi_coder_1.AbiCoder; + }, + }); + Object.defineProperty(exports2, 'defaultAbiCoder', { + enumerable: true, + get: function () { + return abi_coder_1.defaultAbiCoder; + }, + }); var interface_1 = require_interface(); - Object.defineProperty(exports2, "checkResultErrors", { enumerable: true, get: function() { - return interface_1.checkResultErrors; - } }); - Object.defineProperty(exports2, "Indexed", { enumerable: true, get: function() { - return interface_1.Indexed; - } }); - Object.defineProperty(exports2, "Interface", { enumerable: true, get: function() { - return interface_1.Interface; - } }); - Object.defineProperty(exports2, "LogDescription", { enumerable: true, get: function() { - return interface_1.LogDescription; - } }); - Object.defineProperty(exports2, "TransactionDescription", { enumerable: true, get: function() { - return interface_1.TransactionDescription; - } }); - } + Object.defineProperty(exports2, 'checkResultErrors', { + enumerable: true, + get: function () { + return interface_1.checkResultErrors; + }, + }); + Object.defineProperty(exports2, 'Indexed', { + enumerable: true, + get: function () { + return interface_1.Indexed; + }, + }); + Object.defineProperty(exports2, 'Interface', { + enumerable: true, + get: function () { + return interface_1.Interface; + }, + }); + Object.defineProperty(exports2, 'LogDescription', { + enumerable: true, + get: function () { + return interface_1.LogDescription; + }, + }); + Object.defineProperty(exports2, 'TransactionDescription', { + enumerable: true, + get: function () { + return interface_1.TransactionDescription; + }, + }); + }, }); // node_modules/@ethersproject/base64/lib/base64.js var require_base64 = __commonJS({ - "node_modules/@ethersproject/base64/lib/base64.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/base64/lib/base64.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.encode = exports2.decode = void 0; var bytes_1 = require_lib2(); function decode(textData) { - return (0, bytes_1.arrayify)(new Uint8Array(Buffer.from(textData, "base64"))); + return (0, bytes_1.arrayify)(new Uint8Array(Buffer.from(textData, 'base64'))); } exports2.decode = decode; function encode(data) { - return Buffer.from((0, bytes_1.arrayify)(data)).toString("base64"); + return Buffer.from((0, bytes_1.arrayify)(data)).toString('base64'); } exports2.encode = encode; - } + }, }); // node_modules/@ethersproject/base64/lib/index.js var require_lib12 = __commonJS({ - "node_modules/@ethersproject/base64/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/base64/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.encode = exports2.decode = void 0; var base64_1 = require_base64(); - Object.defineProperty(exports2, "decode", { enumerable: true, get: function() { - return base64_1.decode; - } }); - Object.defineProperty(exports2, "encode", { enumerable: true, get: function() { - return base64_1.encode; - } }); - } + Object.defineProperty(exports2, 'decode', { + enumerable: true, + get: function () { + return base64_1.decode; + }, + }); + Object.defineProperty(exports2, 'encode', { + enumerable: true, + get: function () { + return base64_1.encode; + }, + }); + }, }); // node_modules/@ethersproject/basex/lib/index.js var require_lib13 = __commonJS({ - "node_modules/@ethersproject/basex/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/basex/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.Base58 = exports2.Base32 = exports2.BaseX = void 0; var bytes_1 = require_lib2(); var properties_1 = require_lib4(); - var BaseX = function() { + var BaseX = (function () { function BaseX2(alphabet) { - (0, properties_1.defineReadOnly)(this, "alphabet", alphabet); - (0, properties_1.defineReadOnly)(this, "base", alphabet.length); - (0, properties_1.defineReadOnly)(this, "_alphabetMap", {}); - (0, properties_1.defineReadOnly)(this, "_leader", alphabet.charAt(0)); + (0, properties_1.defineReadOnly)(this, 'alphabet', alphabet); + (0, properties_1.defineReadOnly)(this, 'base', alphabet.length); + (0, properties_1.defineReadOnly)(this, '_alphabetMap', {}); + (0, properties_1.defineReadOnly)(this, '_leader', alphabet.charAt(0)); for (var i = 0; i < alphabet.length; i++) { this._alphabetMap[alphabet.charAt(i)] = i; } } - BaseX2.prototype.encode = function(value) { + BaseX2.prototype.encode = function (value) { var source = (0, bytes_1.arrayify)(value); if (source.length === 0) { - return ""; + return ''; } var digits = [0]; for (var i = 0; i < source.length; ++i) { @@ -9872,14 +10701,14 @@ var require_lib13 = __commonJS({ for (var j = 0; j < digits.length; ++j) { carry += digits[j] << 8; digits[j] = carry % this.base; - carry = carry / this.base | 0; + carry = (carry / this.base) | 0; } while (carry > 0) { digits.push(carry % this.base); - carry = carry / this.base | 0; + carry = (carry / this.base) | 0; } } - var string = ""; + var string = ''; for (var k = 0; source[k] === 0 && k < source.length - 1; ++k) { string += this._leader; } @@ -9888,9 +10717,9 @@ var require_lib13 = __commonJS({ } return string; }; - BaseX2.prototype.decode = function(value) { - if (typeof value !== "string") { - throw new TypeError("Expected String"); + BaseX2.prototype.decode = function (value) { + if (typeof value !== 'string') { + throw new TypeError('Expected String'); } var bytes = []; if (value.length === 0) { @@ -9900,7 +10729,7 @@ var require_lib13 = __commonJS({ for (var i = 0; i < value.length; i++) { var byte = this._alphabetMap[value[i]]; if (byte === void 0) { - throw new Error("Non-base" + this.base + " character"); + throw new Error('Non-base' + this.base + ' character'); } var carry = byte; for (var j = 0; j < bytes.length; ++j) { @@ -9919,186 +10748,176 @@ var require_lib13 = __commonJS({ return (0, bytes_1.arrayify)(new Uint8Array(bytes.reverse())); }; return BaseX2; - }(); + })(); exports2.BaseX = BaseX; - var Base32 = new BaseX("abcdefghijklmnopqrstuvwxyz234567"); + var Base32 = new BaseX('abcdefghijklmnopqrstuvwxyz234567'); exports2.Base32 = Base32; - var Base58 = new BaseX("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"); + var Base58 = new BaseX('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'); exports2.Base58 = Base58; - } + }, }); // node_modules/@ethersproject/pbkdf2/lib/pbkdf2.js var require_pbkdf2 = __commonJS({ - "node_modules/@ethersproject/pbkdf2/lib/pbkdf2.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/pbkdf2/lib/pbkdf2.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.pbkdf2 = void 0; - var crypto_1 = require("crypto"); + var crypto_1 = require('crypto'); var bytes_1 = require_lib2(); function bufferify(value) { return Buffer.from((0, bytes_1.arrayify)(value)); } function pbkdf2(password, salt, iterations, keylen, hashAlgorithm) { - return (0, bytes_1.hexlify)((0, crypto_1.pbkdf2Sync)(bufferify(password), bufferify(salt), iterations, keylen, hashAlgorithm)); + return (0, bytes_1.hexlify)( + (0, crypto_1.pbkdf2Sync)( + bufferify(password), + bufferify(salt), + iterations, + keylen, + hashAlgorithm + ) + ); } exports2.pbkdf2 = pbkdf2; - } + }, }); // node_modules/@ethersproject/pbkdf2/lib/index.js var require_lib14 = __commonJS({ - "node_modules/@ethersproject/pbkdf2/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/pbkdf2/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.pbkdf2 = void 0; var pbkdf2_1 = require_pbkdf2(); - Object.defineProperty(exports2, "pbkdf2", { enumerable: true, get: function() { - return pbkdf2_1.pbkdf2; - } }); - } + Object.defineProperty(exports2, 'pbkdf2', { + enumerable: true, + get: function () { + return pbkdf2_1.pbkdf2; + }, + }); + }, }); // node_modules/elliptic/package.json var require_package = __commonJS({ - "node_modules/elliptic/package.json"(exports2, module2) { + 'node_modules/elliptic/package.json'(exports2, module2) { module2.exports = { - name: "elliptic", - version: "6.5.4", - description: "EC cryptography", - main: "lib/elliptic.js", - files: [ - "lib" - ], + name: 'elliptic', + version: '6.5.4', + description: 'EC cryptography', + main: 'lib/elliptic.js', + files: ['lib'], scripts: { - lint: "eslint lib test", - "lint:fix": "npm run lint -- --fix", - unit: "istanbul test _mocha --reporter=spec test/index.js", - test: "npm run lint && npm run unit", - version: "grunt dist && git add dist/" + lint: 'eslint lib test', + 'lint:fix': 'npm run lint -- --fix', + unit: 'istanbul test _mocha --reporter=spec test/index.js', + test: 'npm run lint && npm run unit', + version: 'grunt dist && git add dist/', }, repository: { - type: "git", - url: "git@github.com:indutny/elliptic" - }, - keywords: [ - "EC", - "Elliptic", - "curve", - "Cryptography" - ], - author: "Fedor Indutny ", - license: "MIT", + type: 'git', + url: 'git@github.com:indutny/elliptic', + }, + keywords: ['EC', 'Elliptic', 'curve', 'Cryptography'], + author: 'Fedor Indutny ', + license: 'MIT', bugs: { - url: "https://github.com/indutny/elliptic/issues" + url: 'https://github.com/indutny/elliptic/issues', }, - homepage: "https://github.com/indutny/elliptic", + homepage: 'https://github.com/indutny/elliptic', devDependencies: { - brfs: "^2.0.2", - coveralls: "^3.1.0", - eslint: "^7.6.0", - grunt: "^1.2.1", - "grunt-browserify": "^5.3.0", - "grunt-cli": "^1.3.2", - "grunt-contrib-connect": "^3.0.0", - "grunt-contrib-copy": "^1.0.0", - "grunt-contrib-uglify": "^5.0.0", - "grunt-mocha-istanbul": "^5.0.2", - "grunt-saucelabs": "^9.0.1", - istanbul: "^0.4.5", - mocha: "^8.0.1" + brfs: '^2.0.2', + coveralls: '^3.1.0', + eslint: '^7.6.0', + grunt: '^1.2.1', + 'grunt-browserify': '^5.3.0', + 'grunt-cli': '^1.3.2', + 'grunt-contrib-connect': '^3.0.0', + 'grunt-contrib-copy': '^1.0.0', + 'grunt-contrib-uglify': '^5.0.0', + 'grunt-mocha-istanbul': '^5.0.2', + 'grunt-saucelabs': '^9.0.1', + istanbul: '^0.4.5', + mocha: '^8.0.1', }, dependencies: { - "bn.js": "^4.11.9", - brorand: "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - inherits: "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" - } + 'bn.js': '^4.11.9', + brorand: '^1.1.0', + 'hash.js': '^1.0.0', + 'hmac-drbg': '^1.0.1', + inherits: '^2.0.4', + 'minimalistic-assert': '^1.0.1', + 'minimalistic-crypto-utils': '^1.0.1', + }, }; - } + }, }); // node_modules/minimalistic-assert/index.js var require_minimalistic_assert = __commonJS({ - "node_modules/minimalistic-assert/index.js"(exports2, module2) { + 'node_modules/minimalistic-assert/index.js'(exports2, module2) { module2.exports = assert; function assert(val, msg) { - if (!val) - throw new Error(msg || "Assertion failed"); + if (!val) throw new Error(msg || 'Assertion failed'); } assert.equal = function assertEqual(l, r, msg) { - if (l != r) - throw new Error(msg || "Assertion failed: " + l + " != " + r); + if (l != r) throw new Error(msg || 'Assertion failed: ' + l + ' != ' + r); }; - } + }, }); // node_modules/minimalistic-crypto-utils/lib/utils.js var require_utils = __commonJS({ - "node_modules/minimalistic-crypto-utils/lib/utils.js"(exports2) { - "use strict"; + 'node_modules/minimalistic-crypto-utils/lib/utils.js'(exports2) { + 'use strict'; var utils = exports2; function toArray(msg, enc) { - if (Array.isArray(msg)) - return msg.slice(); - if (!msg) - return []; + if (Array.isArray(msg)) return msg.slice(); + if (!msg) return []; var res = []; - if (typeof msg !== "string") { - for (var i = 0; i < msg.length; i++) - res[i] = msg[i] | 0; + if (typeof msg !== 'string') { + for (var i = 0; i < msg.length; i++) res[i] = msg[i] | 0; return res; } - if (enc === "hex") { - msg = msg.replace(/[^a-z0-9]+/ig, ""); - if (msg.length % 2 !== 0) - msg = "0" + msg; - for (var i = 0; i < msg.length; i += 2) - res.push(parseInt(msg[i] + msg[i + 1], 16)); + if (enc === 'hex') { + msg = msg.replace(/[^a-z0-9]+/gi, ''); + if (msg.length % 2 !== 0) msg = '0' + msg; + for (var i = 0; i < msg.length; i += 2) res.push(parseInt(msg[i] + msg[i + 1], 16)); } else { for (var i = 0; i < msg.length; i++) { var c = msg.charCodeAt(i); var hi = c >> 8; var lo = c & 255; - if (hi) - res.push(hi, lo); - else - res.push(lo); + if (hi) res.push(hi, lo); + else res.push(lo); } } return res; } utils.toArray = toArray; function zero2(word) { - if (word.length === 1) - return "0" + word; - else - return word; + if (word.length === 1) return '0' + word; + else return word; } utils.zero2 = zero2; function toHex(msg) { - var res = ""; - for (var i = 0; i < msg.length; i++) - res += zero2(msg[i].toString(16)); + var res = ''; + for (var i = 0; i < msg.length; i++) res += zero2(msg[i].toString(16)); return res; } utils.toHex = toHex; utils.encode = function encode(arr, enc) { - if (enc === "hex") - return toHex(arr); - else - return arr; + if (enc === 'hex') return toHex(arr); + else return arr; }; - } + }, }); // node_modules/elliptic/lib/elliptic/utils.js var require_utils2 = __commonJS({ - "node_modules/elliptic/lib/elliptic/utils.js"(exports2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/utils.js'(exports2) { + 'use strict'; var utils = exports2; var BN = require_bn(); var minAssert = require_minimalistic_assert(); @@ -10111,16 +10930,14 @@ var require_utils2 = __commonJS({ function getNAF(num, w, bits) { var naf = new Array(Math.max(num.bitLength(), bits) + 1); naf.fill(0); - var ws = 1 << w + 1; + var ws = 1 << (w + 1); var k = num.clone(); for (var i = 0; i < naf.length; i++) { var z; var mod = k.andln(ws - 1); if (k.isOdd()) { - if (mod > (ws >> 1) - 1) - z = (ws >> 1) - mod; - else - z = mod; + if (mod > (ws >> 1) - 1) z = (ws >> 1) - mod; + else z = mod; k.isubn(z); } else { z = 0; @@ -10132,48 +10949,37 @@ var require_utils2 = __commonJS({ } utils.getNAF = getNAF; function getJSF(k1, k2) { - var jsf = [ - [], - [] - ]; + var jsf = [[], []]; k1 = k1.clone(); k2 = k2.clone(); var d1 = 0; var d2 = 0; var m8; while (k1.cmpn(-d1) > 0 || k2.cmpn(-d2) > 0) { - var m14 = k1.andln(3) + d1 & 3; - var m24 = k2.andln(3) + d2 & 3; - if (m14 === 3) - m14 = -1; - if (m24 === 3) - m24 = -1; + var m14 = (k1.andln(3) + d1) & 3; + var m24 = (k2.andln(3) + d2) & 3; + if (m14 === 3) m14 = -1; + if (m24 === 3) m24 = -1; var u1; if ((m14 & 1) === 0) { u1 = 0; } else { - m8 = k1.andln(7) + d1 & 7; - if ((m8 === 3 || m8 === 5) && m24 === 2) - u1 = -m14; - else - u1 = m14; + m8 = (k1.andln(7) + d1) & 7; + if ((m8 === 3 || m8 === 5) && m24 === 2) u1 = -m14; + else u1 = m14; } jsf[0].push(u1); var u2; if ((m24 & 1) === 0) { u2 = 0; } else { - m8 = k2.andln(7) + d2 & 7; - if ((m8 === 3 || m8 === 5) && m14 === 2) - u2 = -m24; - else - u2 = m24; + m8 = (k2.andln(7) + d2) & 7; + if ((m8 === 3 || m8 === 5) && m14 === 2) u2 = -m24; + else u2 = m24; } jsf[1].push(u2); - if (2 * d1 === u1 + 1) - d1 = 1 - d1; - if (2 * d2 === u2 + 1) - d2 = 1 - d2; + if (2 * d1 === u1 + 1) d1 = 1 - d1; + if (2 * d2 === u2 + 1) d2 = 1 - d2; k1.iushrn(1); k2.iushrn(1); } @@ -10181,30 +10987,29 @@ var require_utils2 = __commonJS({ } utils.getJSF = getJSF; function cachedProperty(obj, name2, computer) { - var key = "_" + name2; + var key = '_' + name2; obj.prototype[name2] = function cachedProperty2() { - return this[key] !== void 0 ? this[key] : this[key] = computer.call(this); + return this[key] !== void 0 ? this[key] : (this[key] = computer.call(this)); }; } utils.cachedProperty = cachedProperty; function parseBytes(bytes) { - return typeof bytes === "string" ? utils.toArray(bytes, "hex") : bytes; + return typeof bytes === 'string' ? utils.toArray(bytes, 'hex') : bytes; } utils.parseBytes = parseBytes; function intFromLE(bytes) { - return new BN(bytes, "hex", "le"); + return new BN(bytes, 'hex', 'le'); } utils.intFromLE = intFromLE; - } + }, }); // node_modules/brorand/index.js var require_brorand = __commonJS({ - "node_modules/brorand/index.js"(exports2, module2) { + 'node_modules/brorand/index.js'(exports2, module2) { var r; module2.exports = function rand(len) { - if (!r) - r = new Rand(null); + if (!r) r = new Rand(null); return r.generate(len); }; function Rand(rand) { @@ -10215,14 +11020,12 @@ var require_brorand = __commonJS({ return this._rand(len); }; Rand.prototype._rand = function _rand(n) { - if (this.rand.getBytes) - return this.rand.getBytes(n); + if (this.rand.getBytes) return this.rand.getBytes(n); var res = new Uint8Array(n); - for (var i = 0; i < res.length; i++) - res[i] = this.rand.getByte(); + for (var i = 0; i < res.length; i++) res[i] = this.rand.getByte(); return res; }; - if (typeof self === "object") { + if (typeof self === 'object') { if (self.crypto && self.crypto.getRandomValues) { Rand.prototype._rand = function _rand(n) { var arr = new Uint8Array(n); @@ -10235,30 +11038,28 @@ var require_brorand = __commonJS({ self.msCrypto.getRandomValues(arr); return arr; }; - } else if (typeof window === "object") { - Rand.prototype._rand = function() { - throw new Error("Not implemented yet"); + } else if (typeof window === 'object') { + Rand.prototype._rand = function () { + throw new Error('Not implemented yet'); }; } } else { try { - crypto2 = require("crypto"); - if (typeof crypto2.randomBytes !== "function") - throw new Error("Not supported"); + crypto2 = require('crypto'); + if (typeof crypto2.randomBytes !== 'function') throw new Error('Not supported'); Rand.prototype._rand = function _rand(n) { return crypto2.randomBytes(n); }; - } catch (e) { - } + } catch (e) {} } var crypto2; - } + }, }); // node_modules/elliptic/lib/elliptic/curve/base.js var require_base = __commonJS({ - "node_modules/elliptic/lib/elliptic/curve/base.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/curve/base.js'(exports2, module2) { + 'use strict'; var BN = require_bn(); var utils = require_utils2(); var getNAF = utils.getNAF; @@ -10288,24 +11089,23 @@ var require_base = __commonJS({ } module2.exports = BaseCurve; BaseCurve.prototype.point = function point() { - throw new Error("Not implemented"); + throw new Error('Not implemented'); }; BaseCurve.prototype.validate = function validate() { - throw new Error("Not implemented"); + throw new Error('Not implemented'); }; BaseCurve.prototype._fixedNafMul = function _fixedNafMul(p, k) { assert(p.precomputed); var doubles = p._getDoubles(); var naf = getNAF(k, 1, this._bitLength); - var I = (1 << doubles.step + 1) - (doubles.step % 2 === 0 ? 2 : 1); + var I = (1 << (doubles.step + 1)) - (doubles.step % 2 === 0 ? 2 : 1); I /= 3; var repr = []; var j; var nafW; for (j = 0; j < naf.length; j += doubles.step) { nafW = 0; - for (var l = j + doubles.step - 1; l >= j; l--) - nafW = (nafW << 1) + naf[l]; + for (var l = j + doubles.step - 1; l >= j; l--) nafW = (nafW << 1) + naf[l]; repr.push(nafW); } var a = this.jpoint(null, null, null); @@ -10313,10 +11113,8 @@ var require_base = __commonJS({ for (var i = I; i > 0; i--) { for (j = 0; j < repr.length; j++) { nafW = repr[j]; - if (nafW === i) - b = b.mixedAdd(doubles.points[j]); - else if (nafW === -i) - b = b.mixedAdd(doubles.points[j].neg()); + if (nafW === i) b = b.mixedAdd(doubles.points[j]); + else if (nafW === -i) b = b.mixedAdd(doubles.points[j].neg()); } a = a.add(b); } @@ -10330,30 +11128,29 @@ var require_base = __commonJS({ var naf = getNAF(k, w, this._bitLength); var acc = this.jpoint(null, null, null); for (var i = naf.length - 1; i >= 0; i--) { - for (var l = 0; i >= 0 && naf[i] === 0; i--) - l++; - if (i >= 0) - l++; + for (var l = 0; i >= 0 && naf[i] === 0; i--) l++; + if (i >= 0) l++; acc = acc.dblp(l); - if (i < 0) - break; + if (i < 0) break; var z = naf[i]; assert(z !== 0); - if (p.type === "affine") { - if (z > 0) - acc = acc.mixedAdd(wnd[z - 1 >> 1]); - else - acc = acc.mixedAdd(wnd[-z - 1 >> 1].neg()); + if (p.type === 'affine') { + if (z > 0) acc = acc.mixedAdd(wnd[(z - 1) >> 1]); + else acc = acc.mixedAdd(wnd[(-z - 1) >> 1].neg()); } else { - if (z > 0) - acc = acc.add(wnd[z - 1 >> 1]); - else - acc = acc.add(wnd[-z - 1 >> 1].neg()); + if (z > 0) acc = acc.add(wnd[(z - 1) >> 1]); + else acc = acc.add(wnd[(-z - 1) >> 1].neg()); } } - return p.type === "affine" ? acc.toP() : acc; + return p.type === 'affine' ? acc.toP() : acc; }; - BaseCurve.prototype._wnafMulAdd = function _wnafMulAdd(defW, points, coeffs, len, jacobianResult) { + BaseCurve.prototype._wnafMulAdd = function _wnafMulAdd( + defW, + points, + coeffs, + len, + jacobianResult + ) { var wndWidth = this._wnafT1; var wnd = this._wnafT2; var naf = this._wnafT3; @@ -10377,12 +11174,7 @@ var require_base = __commonJS({ max = Math.max(naf[b].length, max); continue; } - var comb = [ - points[a], - null, - null, - points[b] - ]; + var comb = [points[a], null, null, points[b]]; if (points[a].y.cmp(points[b].y) === 0) { comb[1] = points[a].add(points[b]); comb[2] = points[a].toJ().mixedAdd(points[b].neg()); @@ -10393,17 +11185,7 @@ var require_base = __commonJS({ comb[1] = points[a].toJ().mixedAdd(points[b]); comb[2] = points[a].toJ().mixedAdd(points[b].neg()); } - var index = [ - -3, - -1, - -5, - -7, - 0, - 7, - 5, - 1, - 3 - ]; + var index = [-3, -1, -5, -7, 0, 7, 5, 1, 3]; var jsf = getJSF(coeffs[a], coeffs[b]); max = Math.max(jsf[0].length, max); naf[a] = new Array(max); @@ -10424,40 +11206,28 @@ var require_base = __commonJS({ var zero = true; for (j = 0; j < len; j++) { tmp[j] = naf[j][i] | 0; - if (tmp[j] !== 0) - zero = false; + if (tmp[j] !== 0) zero = false; } - if (!zero) - break; + if (!zero) break; k++; i--; } - if (i >= 0) - k++; + if (i >= 0) k++; acc = acc.dblp(k); - if (i < 0) - break; + if (i < 0) break; for (j = 0; j < len; j++) { var z = tmp[j]; p; - if (z === 0) - continue; - else if (z > 0) - p = wnd[j][z - 1 >> 1]; - else if (z < 0) - p = wnd[j][-z - 1 >> 1].neg(); - if (p.type === "affine") - acc = acc.mixedAdd(p); - else - acc = acc.add(p); - } - } - for (i = 0; i < len; i++) - wnd[i] = null; - if (jacobianResult) - return acc; - else - return acc.toP(); + if (z === 0) continue; + else if (z > 0) p = wnd[j][(z - 1) >> 1]; + else if (z < 0) p = wnd[j][(-z - 1) >> 1].neg(); + if (p.type === 'affine') acc = acc.mixedAdd(p); + else acc = acc.add(p); + } + } + for (i = 0; i < len; i++) wnd[i] = null; + if (jacobianResult) return acc; + else return acc.toP(); }; function BasePoint(curve, type) { this.curve = curve; @@ -10466,7 +11236,7 @@ var require_base = __commonJS({ } BaseCurve.BasePoint = BasePoint; BasePoint.prototype.eq = function eq() { - throw new Error("Not implemented"); + throw new Error('Not implemented'); }; BasePoint.prototype.validate = function validate() { return this.curve.validate(this); @@ -10475,40 +11245,33 @@ var require_base = __commonJS({ bytes = utils.toArray(bytes, enc); var len = this.p.byteLength(); if ((bytes[0] === 4 || bytes[0] === 6 || bytes[0] === 7) && bytes.length - 1 === 2 * len) { - if (bytes[0] === 6) - assert(bytes[bytes.length - 1] % 2 === 0); - else if (bytes[0] === 7) - assert(bytes[bytes.length - 1] % 2 === 1); - var res = this.point( - bytes.slice(1, 1 + len), - bytes.slice(1 + len, 1 + 2 * len) - ); + if (bytes[0] === 6) assert(bytes[bytes.length - 1] % 2 === 0); + else if (bytes[0] === 7) assert(bytes[bytes.length - 1] % 2 === 1); + var res = this.point(bytes.slice(1, 1 + len), bytes.slice(1 + len, 1 + 2 * len)); return res; } else if ((bytes[0] === 2 || bytes[0] === 3) && bytes.length - 1 === len) { return this.pointFromX(bytes.slice(1, 1 + len), bytes[0] === 3); } - throw new Error("Unknown point format"); + throw new Error('Unknown point format'); }; BasePoint.prototype.encodeCompressed = function encodeCompressed(enc) { return this.encode(enc, true); }; BasePoint.prototype._encode = function _encode(compact) { var len = this.curve.p.byteLength(); - var x = this.getX().toArray("be", len); - if (compact) - return [this.getY().isEven() ? 2 : 3].concat(x); - return [4].concat(x, this.getY().toArray("be", len)); + var x = this.getX().toArray('be', len); + if (compact) return [this.getY().isEven() ? 2 : 3].concat(x); + return [4].concat(x, this.getY().toArray('be', len)); }; BasePoint.prototype.encode = function encode(enc, compact) { return utils.encode(this._encode(compact), enc); }; BasePoint.prototype.precompute = function precompute(power) { - if (this.precomputed) - return this; + if (this.precomputed) return this; var precomputed = { doubles: null, naf: null, - beta: null + beta: null, }; precomputed.naf = this._getNAFPoints(8); precomputed.doubles = this._getDoubles(4, power); @@ -10517,39 +11280,33 @@ var require_base = __commonJS({ return this; }; BasePoint.prototype._hasDoubles = function _hasDoubles(k) { - if (!this.precomputed) - return false; + if (!this.precomputed) return false; var doubles = this.precomputed.doubles; - if (!doubles) - return false; + if (!doubles) return false; return doubles.points.length >= Math.ceil((k.bitLength() + 1) / doubles.step); }; BasePoint.prototype._getDoubles = function _getDoubles(step, power) { - if (this.precomputed && this.precomputed.doubles) - return this.precomputed.doubles; + if (this.precomputed && this.precomputed.doubles) return this.precomputed.doubles; var doubles = [this]; var acc = this; for (var i = 0; i < power; i += step) { - for (var j = 0; j < step; j++) - acc = acc.dbl(); + for (var j = 0; j < step; j++) acc = acc.dbl(); doubles.push(acc); } return { step, - points: doubles + points: doubles, }; }; BasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) { - if (this.precomputed && this.precomputed.naf) - return this.precomputed.naf; + if (this.precomputed && this.precomputed.naf) return this.precomputed.naf; var res = [this]; var max = (1 << wnd) - 1; var dbl = max === 1 ? null : this.dbl(); - for (var i = 1; i < max; i++) - res[i] = res[i - 1].add(dbl); + for (var i = 1; i < max; i++) res[i] = res[i - 1].add(dbl); return { wnd, - points: res + points: res, }; }; BasePoint.prototype._getBeta = function _getBeta() { @@ -10557,17 +11314,16 @@ var require_base = __commonJS({ }; BasePoint.prototype.dblp = function dblp(k) { var r = this; - for (var i = 0; i < k; i++) - r = r.dbl(); + for (var i = 0; i < k; i++) r = r.dbl(); return r; }; - } + }, }); // node_modules/inherits/inherits_browser.js var require_inherits_browser = __commonJS({ - "node_modules/inherits/inherits_browser.js"(exports2, module2) { - if (typeof Object.create === "function") { + 'node_modules/inherits/inherits_browser.js'(exports2, module2) { + if (typeof Object.create === 'function') { module2.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor; @@ -10576,8 +11332,8 @@ var require_inherits_browser = __commonJS({ value: ctor, enumerable: false, writable: true, - configurable: true - } + configurable: true, + }, }); } }; @@ -10585,43 +11341,41 @@ var require_inherits_browser = __commonJS({ module2.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor; - var TempCtor = function() { - }; + var TempCtor = function () {}; TempCtor.prototype = superCtor.prototype; ctor.prototype = new TempCtor(); ctor.prototype.constructor = ctor; } }; } - } + }, }); // node_modules/inherits/inherits.js var require_inherits = __commonJS({ - "node_modules/inherits/inherits.js"(exports2, module2) { + 'node_modules/inherits/inherits.js'(exports2, module2) { try { - util = require("util"); - if (typeof util.inherits !== "function") - throw ""; + util = require('util'); + if (typeof util.inherits !== 'function') throw ''; module2.exports = util.inherits; } catch (e) { module2.exports = require_inherits_browser(); } var util; - } + }, }); // node_modules/elliptic/lib/elliptic/curve/short.js var require_short = __commonJS({ - "node_modules/elliptic/lib/elliptic/curve/short.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/curve/short.js'(exports2, module2) { + 'use strict'; var utils = require_utils2(); var BN = require_bn(); var inherits = require_inherits(); var Base = require_base(); var assert = utils.assert; function ShortCurve(conf) { - Base.call(this, "short", conf); + Base.call(this, 'short', conf); this.a = new BN(conf.a, 16).toRed(this.red); this.b = new BN(conf.b, 16).toRed(this.red); this.tinv = this.two.redInvm(); @@ -10634,8 +11388,7 @@ var require_short = __commonJS({ inherits(ShortCurve, Base); module2.exports = ShortCurve; ShortCurve.prototype._getEndomorphism = function _getEndomorphism(conf) { - if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1) - return; + if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1) return; var beta; var lambda; if (conf.beta) { @@ -10658,10 +11411,10 @@ var require_short = __commonJS({ } var basis; if (conf.basis) { - basis = conf.basis.map(function(vec) { + basis = conf.basis.map(function (vec) { return { a: new BN(vec.a, 16), - b: new BN(vec.b, 16) + b: new BN(vec.b, 16), }; }); } else { @@ -10670,7 +11423,7 @@ var require_short = __commonJS({ return { beta, lambda, - basis + basis, }; }; ShortCurve.prototype._getEndoRoots = function _getEndoRoots(num) { @@ -10739,7 +11492,7 @@ var require_short = __commonJS({ } return [ { a: a1, b: b1 }, - { a: a2, b: b2 } + { a: a2, b: b2 }, ]; }; ShortCurve.prototype._endoSplit = function _endoSplit(k) { @@ -10758,27 +11511,27 @@ var require_short = __commonJS({ }; ShortCurve.prototype.pointFromX = function pointFromX(x, odd) { x = new BN(x, 16); - if (!x.red) - x = x.toRed(this.red); + if (!x.red) x = x.toRed(this.red); var y2 = x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b); var y = y2.redSqrt(); - if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) - throw new Error("invalid point"); + if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) throw new Error('invalid point'); var isOdd = y.fromRed().isOdd(); - if (odd && !isOdd || !odd && isOdd) - y = y.redNeg(); + if ((odd && !isOdd) || (!odd && isOdd)) y = y.redNeg(); return this.point(x, y); }; ShortCurve.prototype.validate = function validate(point) { - if (point.inf) - return true; + if (point.inf) return true; var x = point.x; var y = point.y; var ax = this.a.redMul(x); var rhs = x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b); return y.redSqr().redISub(rhs).cmpn(0) === 0; }; - ShortCurve.prototype._endoWnafMulAdd = function _endoWnafMulAdd(points, coeffs, jacobianResult) { + ShortCurve.prototype._endoWnafMulAdd = function _endoWnafMulAdd( + points, + coeffs, + jacobianResult + ) { var npoints = this._endoWnafT1; var ncoeffs = this._endoWnafT2; for (var i = 0; i < points.length; i++) { @@ -10806,7 +11559,7 @@ var require_short = __commonJS({ return res; }; function Point(curve, x, y, isRed) { - Base.BasePoint.call(this, curve, "affine"); + Base.BasePoint.call(this, curve, 'affine'); if (x === null && y === null) { this.x = null; this.y = null; @@ -10818,10 +11571,8 @@ var require_short = __commonJS({ this.x.forceRed(this.curve.red); this.y.forceRed(this.curve.red); } - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); + if (!this.x.red) this.x = this.x.toRed(this.curve.red); + if (!this.y.red) this.y = this.y.toRed(this.curve.red); this.inf = false; } } @@ -10833,15 +11584,13 @@ var require_short = __commonJS({ return Point.fromJSON(this, obj, red); }; Point.prototype._getBeta = function _getBeta() { - if (!this.curve.endo) - return; + if (!this.curve.endo) return; var pre = this.precomputed; - if (pre && pre.beta) - return pre.beta; + if (pre && pre.beta) return pre.beta; var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); if (pre) { var curve = this.curve; - var endoMul = function(p) { + var endoMul = function (p) { return curve.point(p.x.redMul(curve.endo.beta), p.y); }; pre.beta = beta; @@ -10849,36 +11598,37 @@ var require_short = __commonJS({ beta: null, naf: pre.naf && { wnd: pre.naf.wnd, - points: pre.naf.points.map(endoMul) + points: pre.naf.points.map(endoMul), }, doubles: pre.doubles && { step: pre.doubles.step, - points: pre.doubles.points.map(endoMul) - } + points: pre.doubles.points.map(endoMul), + }, }; } return beta; }; Point.prototype.toJSON = function toJSON() { - if (!this.precomputed) - return [this.x, this.y]; - return [this.x, this.y, this.precomputed && { - doubles: this.precomputed.doubles && { - step: this.precomputed.doubles.step, - points: this.precomputed.doubles.points.slice(1) + if (!this.precomputed) return [this.x, this.y]; + return [ + this.x, + this.y, + this.precomputed && { + doubles: this.precomputed.doubles && { + step: this.precomputed.doubles.step, + points: this.precomputed.doubles.points.slice(1), + }, + naf: this.precomputed.naf && { + wnd: this.precomputed.naf.wnd, + points: this.precomputed.naf.points.slice(1), + }, }, - naf: this.precomputed.naf && { - wnd: this.precomputed.naf.wnd, - points: this.precomputed.naf.points.slice(1) - } - }]; + ]; }; Point.fromJSON = function fromJSON(curve, obj, red) { - if (typeof obj === "string") - obj = JSON.parse(obj); + if (typeof obj === 'string') obj = JSON.parse(obj); var res = curve.point(obj[0], obj[1], red); - if (!obj[2]) - return res; + if (!obj[2]) return res; function obj2point(obj2) { return curve.point(obj2[0], obj2[1], red); } @@ -10887,47 +11637,44 @@ var require_short = __commonJS({ beta: null, doubles: pre.doubles && { step: pre.doubles.step, - points: [res].concat(pre.doubles.points.map(obj2point)) + points: [res].concat(pre.doubles.points.map(obj2point)), }, naf: pre.naf && { wnd: pre.naf.wnd, - points: [res].concat(pre.naf.points.map(obj2point)) - } + points: [res].concat(pre.naf.points.map(obj2point)), + }, }; return res; }; Point.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ""; - return ""; + if (this.isInfinity()) return ''; + return ( + '' + ); }; Point.prototype.isInfinity = function isInfinity() { return this.inf; }; Point.prototype.add = function add(p) { - if (this.inf) - return p; - if (p.inf) - return this; - if (this.eq(p)) - return this.dbl(); - if (this.neg().eq(p)) - return this.curve.point(null, null); - if (this.x.cmp(p.x) === 0) - return this.curve.point(null, null); + if (this.inf) return p; + if (p.inf) return this; + if (this.eq(p)) return this.dbl(); + if (this.neg().eq(p)) return this.curve.point(null, null); + if (this.x.cmp(p.x) === 0) return this.curve.point(null, null); var c = this.y.redSub(p.y); - if (c.cmpn(0) !== 0) - c = c.redMul(this.x.redSub(p.x).redInvm()); + if (c.cmpn(0) !== 0) c = c.redMul(this.x.redSub(p.x).redInvm()); var nx = c.redSqr().redISub(this.x).redISub(p.x); var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); return this.curve.point(nx, ny); }; Point.prototype.dbl = function dbl() { - if (this.inf) - return this; + if (this.inf) return this; var ys1 = this.y.redAdd(this.y); - if (ys1.cmpn(0) === 0) - return this.curve.point(null, null); + if (ys1.cmpn(0) === 0) return this.curve.point(null, null); var a = this.curve.a; var x2 = this.x.redSqr(); var dyinv = ys1.redInvm(); @@ -10944,64 +11691,57 @@ var require_short = __commonJS({ }; Point.prototype.mul = function mul(k) { k = new BN(k, 16); - if (this.isInfinity()) - return this; - else if (this._hasDoubles(k)) - return this.curve._fixedNafMul(this, k); - else if (this.curve.endo) - return this.curve._endoWnafMulAdd([this], [k]); - else - return this.curve._wnafMul(this, k); + if (this.isInfinity()) return this; + else if (this._hasDoubles(k)) return this.curve._fixedNafMul(this, k); + else if (this.curve.endo) return this.curve._endoWnafMulAdd([this], [k]); + else return this.curve._wnafMul(this, k); }; Point.prototype.mulAdd = function mulAdd(k1, p2, k2) { var points = [this, p2]; var coeffs = [k1, k2]; - if (this.curve.endo) - return this.curve._endoWnafMulAdd(points, coeffs); - else - return this.curve._wnafMulAdd(1, points, coeffs, 2); + if (this.curve.endo) return this.curve._endoWnafMulAdd(points, coeffs); + else return this.curve._wnafMulAdd(1, points, coeffs, 2); }; Point.prototype.jmulAdd = function jmulAdd(k1, p2, k2) { var points = [this, p2]; var coeffs = [k1, k2]; - if (this.curve.endo) - return this.curve._endoWnafMulAdd(points, coeffs, true); - else - return this.curve._wnafMulAdd(1, points, coeffs, 2, true); + if (this.curve.endo) return this.curve._endoWnafMulAdd(points, coeffs, true); + else return this.curve._wnafMulAdd(1, points, coeffs, 2, true); }; Point.prototype.eq = function eq(p) { - return this === p || this.inf === p.inf && (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0); + return ( + this === p || + (this.inf === p.inf && (this.inf || (this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0))) + ); }; Point.prototype.neg = function neg(_precompute) { - if (this.inf) - return this; + if (this.inf) return this; var res = this.curve.point(this.x, this.y.redNeg()); if (_precompute && this.precomputed) { var pre = this.precomputed; - var negate = function(p) { + var negate = function (p) { return p.neg(); }; res.precomputed = { naf: pre.naf && { wnd: pre.naf.wnd, - points: pre.naf.points.map(negate) + points: pre.naf.points.map(negate), }, doubles: pre.doubles && { step: pre.doubles.step, - points: pre.doubles.points.map(negate) - } + points: pre.doubles.points.map(negate), + }, }; } return res; }; Point.prototype.toJ = function toJ() { - if (this.inf) - return this.curve.jpoint(null, null, null); + if (this.inf) return this.curve.jpoint(null, null, null); var res = this.curve.jpoint(this.x, this.y, this.curve.one); return res; }; function JPoint(curve, x, y, z) { - Base.BasePoint.call(this, curve, "jacobian"); + Base.BasePoint.call(this, curve, 'jacobian'); if (x === null && y === null && z === null) { this.x = this.curve.one; this.y = this.curve.one; @@ -11011,12 +11751,9 @@ var require_short = __commonJS({ this.y = new BN(y, 16); this.z = new BN(z, 16); } - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); + if (!this.x.red) this.x = this.x.toRed(this.curve.red); + if (!this.y.red) this.y = this.y.toRed(this.curve.red); + if (!this.z.red) this.z = this.z.toRed(this.curve.red); this.zOne = this.z === this.curve.one; } inherits(JPoint, Base.BasePoint); @@ -11024,8 +11761,7 @@ var require_short = __commonJS({ return new JPoint(this, x, y, z); }; JPoint.prototype.toP = function toP() { - if (this.isInfinity()) - return this.curve.point(null, null); + if (this.isInfinity()) return this.curve.point(null, null); var zinv = this.z.redInvm(); var zinv2 = zinv.redSqr(); var ax = this.x.redMul(zinv2); @@ -11036,10 +11772,8 @@ var require_short = __commonJS({ return this.curve.jpoint(this.x, this.y.redNeg(), this.z); }; JPoint.prototype.add = function add(p) { - if (this.isInfinity()) - return p; - if (p.isInfinity()) - return this; + if (this.isInfinity()) return p; + if (p.isInfinity()) return this; var pz2 = p.z.redSqr(); var z2 = this.z.redSqr(); var u1 = this.x.redMul(pz2); @@ -11049,10 +11783,8 @@ var require_short = __commonJS({ var h = u1.redSub(u2); var r = s1.redSub(s2); if (h.cmpn(0) === 0) { - if (r.cmpn(0) !== 0) - return this.curve.jpoint(null, null, null); - else - return this.dbl(); + if (r.cmpn(0) !== 0) return this.curve.jpoint(null, null, null); + else return this.dbl(); } var h2 = h.redSqr(); var h3 = h2.redMul(h); @@ -11063,10 +11795,8 @@ var require_short = __commonJS({ return this.curve.jpoint(nx, ny, nz); }; JPoint.prototype.mixedAdd = function mixedAdd(p) { - if (this.isInfinity()) - return p.toJ(); - if (p.isInfinity()) - return this; + if (this.isInfinity()) return p.toJ(); + if (p.isInfinity()) return this; var z2 = this.z.redSqr(); var u1 = this.x; var u2 = p.x.redMul(z2); @@ -11075,10 +11805,8 @@ var require_short = __commonJS({ var h = u1.redSub(u2); var r = s1.redSub(s2); if (h.cmpn(0) === 0) { - if (r.cmpn(0) !== 0) - return this.curve.jpoint(null, null, null); - else - return this.dbl(); + if (r.cmpn(0) !== 0) return this.curve.jpoint(null, null, null); + else return this.dbl(); } var h2 = h.redSqr(); var h3 = h2.redMul(h); @@ -11089,17 +11817,13 @@ var require_short = __commonJS({ return this.curve.jpoint(nx, ny, nz); }; JPoint.prototype.dblp = function dblp(pow) { - if (pow === 0) - return this; - if (this.isInfinity()) - return this; - if (!pow) - return this.dbl(); + if (pow === 0) return this; + if (this.isInfinity()) return this; + if (!pow) return this.dbl(); var i; if (this.curve.zeroA || this.curve.threeA) { var r = this; - for (i = 0; i < pow; i++) - r = r.dbl(); + for (i = 0; i < pow; i++) r = r.dbl(); return r; } var a = this.curve.a; @@ -11120,8 +11844,7 @@ var require_short = __commonJS({ var dny = c.redMul(t2); dny = dny.redIAdd(dny).redISub(jyd4); var nz = jyd.redMul(jz); - if (i + 1 < pow) - jz4 = jz4.redMul(jyd4); + if (i + 1 < pow) jz4 = jz4.redMul(jyd4); jx = nx; jz = nz; jyd = dny; @@ -11129,14 +11852,10 @@ var require_short = __commonJS({ return this.curve.jpoint(jx, jyd.redMul(tinv), jz); }; JPoint.prototype.dbl = function dbl() { - if (this.isInfinity()) - return this; - if (this.curve.zeroA) - return this._zeroDbl(); - else if (this.curve.threeA) - return this._threeDbl(); - else - return this._dbl(); + if (this.isInfinity()) return this; + if (this.curve.zeroA) return this._zeroDbl(); + else if (this.curve.threeA) return this._threeDbl(); + else return this._dbl(); }; JPoint.prototype._zeroDbl = function _zeroDbl() { var nx; @@ -11234,8 +11953,7 @@ var require_short = __commonJS({ return this.curve.jpoint(nx, ny, nz); }; JPoint.prototype.trpl = function trpl() { - if (!this.curve.zeroA) - return this.dbl().add(this); + if (!this.curve.zeroA) return this.dbl().add(this); var xx = this.x.redSqr(); var yy = this.y.redSqr(); var zz = this.z.redSqr(); @@ -11270,14 +11988,11 @@ var require_short = __commonJS({ return this.curve._wnafMul(this, k); }; JPoint.prototype.eq = function eq(p) { - if (p.type === "affine") - return this.eq(p.toJ()); - if (this === p) - return true; + if (p.type === 'affine') return this.eq(p.toJ()); + if (this === p) return true; var z2 = this.z.redSqr(); var pz2 = p.z.redSqr(); - if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0) - return false; + if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0) return false; var z3 = z2.redMul(this.z); var pz3 = pz2.redMul(p.z); return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0; @@ -11285,40 +12000,44 @@ var require_short = __commonJS({ JPoint.prototype.eqXToP = function eqXToP(x) { var zs = this.z.redSqr(); var rx = x.toRed(this.curve.red).redMul(zs); - if (this.x.cmp(rx) === 0) - return true; + if (this.x.cmp(rx) === 0) return true; var xc = x.clone(); var t = this.curve.redN.redMul(zs); - for (; ; ) { + for (;;) { xc.iadd(this.curve.n); - if (xc.cmp(this.curve.p) >= 0) - return false; + if (xc.cmp(this.curve.p) >= 0) return false; rx.redIAdd(t); - if (this.x.cmp(rx) === 0) - return true; + if (this.x.cmp(rx) === 0) return true; } }; JPoint.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ""; - return ""; + if (this.isInfinity()) return ''; + return ( + '' + ); }; JPoint.prototype.isInfinity = function isInfinity() { return this.z.cmpn(0) === 0; }; - } + }, }); // node_modules/elliptic/lib/elliptic/curve/mont.js var require_mont = __commonJS({ - "node_modules/elliptic/lib/elliptic/curve/mont.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/curve/mont.js'(exports2, module2) { + 'use strict'; var BN = require_bn(); var inherits = require_inherits(); var Base = require_base(); var utils = require_utils2(); function MontCurve(conf) { - Base.call(this, "mont", conf); + Base.call(this, 'mont', conf); this.a = new BN(conf.a, 16).toRed(this.red); this.b = new BN(conf.b, 16).toRed(this.red); this.i4 = new BN(4).toRed(this.red).redInvm(); @@ -11335,17 +12054,15 @@ var require_mont = __commonJS({ return y.redSqr().cmp(rhs) === 0; }; function Point(curve, x, z) { - Base.BasePoint.call(this, curve, "projective"); + Base.BasePoint.call(this, curve, 'projective'); if (x === null && z === null) { this.x = this.curve.one; this.z = this.curve.zero; } else { this.x = new BN(x, 16); this.z = new BN(z, 16); - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); + if (!this.x.red) this.x = this.x.toRed(this.curve.red); + if (!this.z.red) this.z = this.z.toRed(this.curve.red); } } inherits(Point, Base.BasePoint); @@ -11358,18 +12075,22 @@ var require_mont = __commonJS({ MontCurve.prototype.pointFromJSON = function pointFromJSON(obj) { return Point.fromJSON(this, obj); }; - Point.prototype.precompute = function precompute() { - }; + Point.prototype.precompute = function precompute() {}; Point.prototype._encode = function _encode() { - return this.getX().toArray("be", this.curve.p.byteLength()); + return this.getX().toArray('be', this.curve.p.byteLength()); }; Point.fromJSON = function fromJSON(curve, obj) { return new Point(curve, obj[0], obj[1] || curve.one); }; Point.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ""; - return ""; + if (this.isInfinity()) return ''; + return ( + '' + ); }; Point.prototype.isInfinity = function isInfinity() { return this.z.cmpn(0) === 0; @@ -11385,7 +12106,7 @@ var require_mont = __commonJS({ return this.curve.point(nx, nz); }; Point.prototype.add = function add() { - throw new Error("Not supported on Montgomery curve"); + throw new Error('Not supported on Montgomery curve'); }; Point.prototype.diffAdd = function diffAdd(p, diff) { var a = this.x.redAdd(this.z); @@ -11403,8 +12124,7 @@ var require_mont = __commonJS({ var a = this; var b = this.curve.point(null, null); var c = this; - for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1)) - bits.push(t.andln(1)); + for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1)) bits.push(t.andln(1)); for (var i = bits.length - 1; i >= 0; i--) { if (bits[i] === 0) { a = a.diffAdd(b, c); @@ -11417,10 +12137,10 @@ var require_mont = __commonJS({ return b; }; Point.prototype.mulAdd = function mulAdd() { - throw new Error("Not supported on Montgomery curve"); + throw new Error('Not supported on Montgomery curve'); }; Point.prototype.jumlAdd = function jumlAdd() { - throw new Error("Not supported on Montgomery curve"); + throw new Error('Not supported on Montgomery curve'); }; Point.prototype.eq = function eq(other) { return this.getX().cmp(other.getX()) === 0; @@ -11434,13 +12154,13 @@ var require_mont = __commonJS({ this.normalize(); return this.x.fromRed(); }; - } + }, }); // node_modules/elliptic/lib/elliptic/curve/edwards.js var require_edwards = __commonJS({ - "node_modules/elliptic/lib/elliptic/curve/edwards.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/curve/edwards.js'(exports2, module2) { + 'use strict'; var utils = require_utils2(); var BN = require_bn(); var inherits = require_inherits(); @@ -11450,7 +12170,7 @@ var require_edwards = __commonJS({ this.twisted = (conf.a | 0) !== 1; this.mOneA = this.twisted && (conf.a | 0) === -1; this.extended = this.mOneA; - Base.call(this, "edwards", conf); + Base.call(this, 'edwards', conf); this.a = new BN(conf.a, 16).umod(this.red.m); this.a = this.a.toRed(this.red); this.c = new BN(conf.c, 16).toRed(this.red); @@ -11463,60 +12183,47 @@ var require_edwards = __commonJS({ inherits(EdwardsCurve, Base); module2.exports = EdwardsCurve; EdwardsCurve.prototype._mulA = function _mulA(num) { - if (this.mOneA) - return num.redNeg(); - else - return this.a.redMul(num); + if (this.mOneA) return num.redNeg(); + else return this.a.redMul(num); }; EdwardsCurve.prototype._mulC = function _mulC(num) { - if (this.oneC) - return num; - else - return this.c.redMul(num); + if (this.oneC) return num; + else return this.c.redMul(num); }; EdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) { return this.point(x, y, z, t); }; EdwardsCurve.prototype.pointFromX = function pointFromX(x, odd) { x = new BN(x, 16); - if (!x.red) - x = x.toRed(this.red); + if (!x.red) x = x.toRed(this.red); var x2 = x.redSqr(); var rhs = this.c2.redSub(this.a.redMul(x2)); var lhs = this.one.redSub(this.c2.redMul(this.d).redMul(x2)); var y2 = rhs.redMul(lhs.redInvm()); var y = y2.redSqrt(); - if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) - throw new Error("invalid point"); + if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) throw new Error('invalid point'); var isOdd = y.fromRed().isOdd(); - if (odd && !isOdd || !odd && isOdd) - y = y.redNeg(); + if ((odd && !isOdd) || (!odd && isOdd)) y = y.redNeg(); return this.point(x, y); }; EdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) { y = new BN(y, 16); - if (!y.red) - y = y.toRed(this.red); + if (!y.red) y = y.toRed(this.red); var y2 = y.redSqr(); var lhs = y2.redSub(this.c2); var rhs = y2.redMul(this.d).redMul(this.c2).redSub(this.a); var x2 = lhs.redMul(rhs.redInvm()); if (x2.cmp(this.zero) === 0) { - if (odd) - throw new Error("invalid point"); - else - return this.point(this.zero, y); + if (odd) throw new Error('invalid point'); + else return this.point(this.zero, y); } var x = x2.redSqrt(); - if (x.redSqr().redSub(x2).cmp(this.zero) !== 0) - throw new Error("invalid point"); - if (x.fromRed().isOdd() !== odd) - x = x.redNeg(); + if (x.redSqr().redSub(x2).cmp(this.zero) !== 0) throw new Error('invalid point'); + if (x.fromRed().isOdd() !== odd) x = x.redNeg(); return this.point(x, y); }; EdwardsCurve.prototype.validate = function validate(point) { - if (point.isInfinity()) - return true; + if (point.isInfinity()) return true; point.normalize(); var x2 = point.x.redSqr(); var y2 = point.y.redSqr(); @@ -11525,7 +12232,7 @@ var require_edwards = __commonJS({ return lhs.cmp(rhs) === 0; }; function Point(curve, x, y, z, t) { - Base.BasePoint.call(this, curve, "projective"); + Base.BasePoint.call(this, curve, 'projective'); if (x === null && y === null && z === null) { this.x = this.curve.zero; this.y = this.curve.one; @@ -11537,19 +12244,14 @@ var require_edwards = __commonJS({ this.y = new BN(y, 16); this.z = z ? new BN(z, 16) : this.curve.one; this.t = t && new BN(t, 16); - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - if (this.t && !this.t.red) - this.t = this.t.toRed(this.curve.red); + if (!this.x.red) this.x = this.x.toRed(this.curve.red); + if (!this.y.red) this.y = this.y.toRed(this.curve.red); + if (!this.z.red) this.z = this.z.toRed(this.curve.red); + if (this.t && !this.t.red) this.t = this.t.toRed(this.curve.red); this.zOne = this.z === this.curve.one; if (this.curve.extended && !this.t) { this.t = this.x.redMul(this.y); - if (!this.zOne) - this.t = this.t.redMul(this.z.redInvm()); + if (!this.zOne) this.t = this.t.redMul(this.z.redInvm()); } } } @@ -11564,12 +12266,22 @@ var require_edwards = __commonJS({ return new Point(curve, obj[0], obj[1], obj[2]); }; Point.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ""; - return ""; + if (this.isInfinity()) return ''; + return ( + '' + ); }; Point.prototype.isInfinity = function isInfinity() { - return this.x.cmpn(0) === 0 && (this.y.cmp(this.z) === 0 || this.zOne && this.y.cmp(this.curve.c) === 0); + return ( + this.x.cmpn(0) === 0 && + (this.y.cmp(this.z) === 0 || (this.zOne && this.y.cmp(this.curve.c) === 0)) + ); }; Point.prototype._extDbl = function _extDbl() { var a = this.x.redSqr(); @@ -11622,12 +12334,9 @@ var require_edwards = __commonJS({ return this.curve.point(nx, ny, nz); }; Point.prototype.dbl = function dbl() { - if (this.isInfinity()) - return this; - if (this.curve.extended) - return this._extDbl(); - else - return this._projDbl(); + if (this.isInfinity()) return this; + if (this.curve.extended) return this._extDbl(); + else return this._projDbl(); }; Point.prototype._extAdd = function _extAdd(p) { var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x)); @@ -11666,20 +12375,14 @@ var require_edwards = __commonJS({ return this.curve.point(nx, ny, nz); }; Point.prototype.add = function add(p) { - if (this.isInfinity()) - return p; - if (p.isInfinity()) - return this; - if (this.curve.extended) - return this._extAdd(p); - else - return this._projAdd(p); + if (this.isInfinity()) return p; + if (p.isInfinity()) return this; + if (this.curve.extended) return this._extAdd(p); + else return this._projAdd(p); }; Point.prototype.mul = function mul(k) { - if (this._hasDoubles(k)) - return this.curve._fixedNafMul(this, k); - else - return this.curve._wnafMul(this, k); + if (this._hasDoubles(k)) return this.curve._fixedNafMul(this, k); + else return this.curve._wnafMul(this, k); }; Point.prototype.mulAdd = function mulAdd(k1, p, k2) { return this.curve._wnafMulAdd(1, [this, p], [k1, k2], 2, false); @@ -11688,24 +12391,17 @@ var require_edwards = __commonJS({ return this.curve._wnafMulAdd(1, [this, p], [k1, k2], 2, true); }; Point.prototype.normalize = function normalize() { - if (this.zOne) - return this; + if (this.zOne) return this; var zi = this.z.redInvm(); this.x = this.x.redMul(zi); this.y = this.y.redMul(zi); - if (this.t) - this.t = this.t.redMul(zi); + if (this.t) this.t = this.t.redMul(zi); this.z = this.curve.one; this.zOne = true; return this; }; Point.prototype.neg = function neg() { - return this.curve.point( - this.x.redNeg(), - this.y, - this.z, - this.t && this.t.redNeg() - ); + return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg()); }; Point.prototype.getX = function getX() { this.normalize(); @@ -11716,44 +12412,44 @@ var require_edwards = __commonJS({ return this.y.fromRed(); }; Point.prototype.eq = function eq(other) { - return this === other || this.getX().cmp(other.getX()) === 0 && this.getY().cmp(other.getY()) === 0; + return ( + this === other || + (this.getX().cmp(other.getX()) === 0 && this.getY().cmp(other.getY()) === 0) + ); }; Point.prototype.eqXToP = function eqXToP(x) { var rx = x.toRed(this.curve.red).redMul(this.z); - if (this.x.cmp(rx) === 0) - return true; + if (this.x.cmp(rx) === 0) return true; var xc = x.clone(); var t = this.curve.redN.redMul(this.z); - for (; ; ) { + for (;;) { xc.iadd(this.curve.n); - if (xc.cmp(this.curve.p) >= 0) - return false; + if (xc.cmp(this.curve.p) >= 0) return false; rx.redIAdd(t); - if (this.x.cmp(rx) === 0) - return true; + if (this.x.cmp(rx) === 0) return true; } }; Point.prototype.toP = Point.prototype.normalize; Point.prototype.mixedAdd = Point.prototype.add; - } + }, }); // node_modules/elliptic/lib/elliptic/curve/index.js var require_curve = __commonJS({ - "node_modules/elliptic/lib/elliptic/curve/index.js"(exports2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/curve/index.js'(exports2) { + 'use strict'; var curve = exports2; curve.base = require_base(); curve.short = require_short(); curve.mont = require_mont(); curve.edwards = require_edwards(); - } + }, }); // node_modules/hash.js/lib/hash/utils.js var require_utils3 = __commonJS({ - "node_modules/hash.js/lib/hash/utils.js"(exports2) { - "use strict"; + 'node_modules/hash.js/lib/hash/utils.js'(exports2) { + 'use strict'; var assert = require_minimalistic_assert(); var inherits = require_inherits(); exports2.inherits = inherits; @@ -11767,12 +12463,10 @@ var require_utils3 = __commonJS({ return (msg.charCodeAt(i + 1) & 64512) === 56320; } function toArray(msg, enc) { - if (Array.isArray(msg)) - return msg.slice(); - if (!msg) - return []; + if (Array.isArray(msg)) return msg.slice(); + if (!msg) return []; var res = []; - if (typeof msg === "string") { + if (typeof msg === 'string') { if (!enc) { var p = 0; for (var i = 0; i < msg.length; i++) { @@ -11780,81 +12474,66 @@ var require_utils3 = __commonJS({ if (c < 128) { res[p++] = c; } else if (c < 2048) { - res[p++] = c >> 6 | 192; - res[p++] = c & 63 | 128; + res[p++] = (c >> 6) | 192; + res[p++] = (c & 63) | 128; } else if (isSurrogatePair(msg, i)) { c = 65536 + ((c & 1023) << 10) + (msg.charCodeAt(++i) & 1023); - res[p++] = c >> 18 | 240; - res[p++] = c >> 12 & 63 | 128; - res[p++] = c >> 6 & 63 | 128; - res[p++] = c & 63 | 128; + res[p++] = (c >> 18) | 240; + res[p++] = ((c >> 12) & 63) | 128; + res[p++] = ((c >> 6) & 63) | 128; + res[p++] = (c & 63) | 128; } else { - res[p++] = c >> 12 | 224; - res[p++] = c >> 6 & 63 | 128; - res[p++] = c & 63 | 128; + res[p++] = (c >> 12) | 224; + res[p++] = ((c >> 6) & 63) | 128; + res[p++] = (c & 63) | 128; } } - } else if (enc === "hex") { - msg = msg.replace(/[^a-z0-9]+/ig, ""); - if (msg.length % 2 !== 0) - msg = "0" + msg; - for (i = 0; i < msg.length; i += 2) - res.push(parseInt(msg[i] + msg[i + 1], 16)); + } else if (enc === 'hex') { + msg = msg.replace(/[^a-z0-9]+/gi, ''); + if (msg.length % 2 !== 0) msg = '0' + msg; + for (i = 0; i < msg.length; i += 2) res.push(parseInt(msg[i] + msg[i + 1], 16)); } } else { - for (i = 0; i < msg.length; i++) - res[i] = msg[i] | 0; + for (i = 0; i < msg.length; i++) res[i] = msg[i] | 0; } return res; } exports2.toArray = toArray; function toHex(msg) { - var res = ""; - for (var i = 0; i < msg.length; i++) - res += zero2(msg[i].toString(16)); + var res = ''; + for (var i = 0; i < msg.length; i++) res += zero2(msg[i].toString(16)); return res; } exports2.toHex = toHex; function htonl(w) { - var res = w >>> 24 | w >>> 8 & 65280 | w << 8 & 16711680 | (w & 255) << 24; + var res = (w >>> 24) | ((w >>> 8) & 65280) | ((w << 8) & 16711680) | ((w & 255) << 24); return res >>> 0; } exports2.htonl = htonl; function toHex32(msg, endian) { - var res = ""; + var res = ''; for (var i = 0; i < msg.length; i++) { var w = msg[i]; - if (endian === "little") - w = htonl(w); + if (endian === 'little') w = htonl(w); res += zero8(w.toString(16)); } return res; } exports2.toHex32 = toHex32; function zero2(word) { - if (word.length === 1) - return "0" + word; - else - return word; + if (word.length === 1) return '0' + word; + else return word; } exports2.zero2 = zero2; function zero8(word) { - if (word.length === 7) - return "0" + word; - else if (word.length === 6) - return "00" + word; - else if (word.length === 5) - return "000" + word; - else if (word.length === 4) - return "0000" + word; - else if (word.length === 3) - return "00000" + word; - else if (word.length === 2) - return "000000" + word; - else if (word.length === 1) - return "0000000" + word; - else - return word; + if (word.length === 7) return '0' + word; + else if (word.length === 6) return '00' + word; + else if (word.length === 5) return '000' + word; + else if (word.length === 4) return '0000' + word; + else if (word.length === 3) return '00000' + word; + else if (word.length === 2) return '000000' + word; + else if (word.length === 1) return '0000000' + word; + else return word; } exports2.zero8 = zero8; function join32(msg, start, end, endian) { @@ -11863,10 +12542,9 @@ var require_utils3 = __commonJS({ var res = new Array(len / 4); for (var i = 0, k = start; i < res.length; i++, k += 4) { var w; - if (endian === "big") - w = msg[k] << 24 | msg[k + 1] << 16 | msg[k + 2] << 8 | msg[k + 3]; - else - w = msg[k + 3] << 24 | msg[k + 2] << 16 | msg[k + 1] << 8 | msg[k]; + if (endian === 'big') + w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3]; + else w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k]; res[i] = w >>> 0; } return res; @@ -11876,15 +12554,15 @@ var require_utils3 = __commonJS({ var res = new Array(msg.length * 4); for (var i = 0, k = 0; i < msg.length; i++, k += 4) { var m = msg[i]; - if (endian === "big") { + if (endian === 'big') { res[k] = m >>> 24; - res[k + 1] = m >>> 16 & 255; - res[k + 2] = m >>> 8 & 255; + res[k + 1] = (m >>> 16) & 255; + res[k + 2] = (m >>> 8) & 255; res[k + 3] = m & 255; } else { res[k + 3] = m >>> 24; - res[k + 2] = m >>> 16 & 255; - res[k + 1] = m >>> 8 & 255; + res[k + 2] = (m >>> 16) & 255; + res[k + 1] = (m >>> 8) & 255; res[k] = m & 255; } } @@ -11892,40 +12570,40 @@ var require_utils3 = __commonJS({ } exports2.split32 = split32; function rotr32(w, b) { - return w >>> b | w << 32 - b; + return (w >>> b) | (w << (32 - b)); } exports2.rotr32 = rotr32; function rotl32(w, b) { - return w << b | w >>> 32 - b; + return (w << b) | (w >>> (32 - b)); } exports2.rotl32 = rotl32; function sum32(a, b) { - return a + b >>> 0; + return (a + b) >>> 0; } exports2.sum32 = sum32; function sum32_3(a, b, c) { - return a + b + c >>> 0; + return (a + b + c) >>> 0; } exports2.sum32_3 = sum32_3; function sum32_4(a, b, c, d) { - return a + b + c + d >>> 0; + return (a + b + c + d) >>> 0; } exports2.sum32_4 = sum32_4; function sum32_5(a, b, c, d, e) { - return a + b + c + d + e >>> 0; + return (a + b + c + d + e) >>> 0; } exports2.sum32_5 = sum32_5; function sum64(buf, pos, ah, al) { var bh = buf[pos]; var bl = buf[pos + 1]; - var lo = al + bl >>> 0; + var lo = (al + bl) >>> 0; var hi = (lo < al ? 1 : 0) + ah + bh; buf[pos] = hi >>> 0; buf[pos + 1] = lo; } exports2.sum64 = sum64; function sum64_hi(ah, al, bh, bl) { - var lo = al + bl >>> 0; + var lo = (al + bl) >>> 0; var hi = (lo < al ? 1 : 0) + ah + bh; return hi >>> 0; } @@ -11938,11 +12616,11 @@ var require_utils3 = __commonJS({ function sum64_4_hi(ah, al, bh, bl, ch, cl, dh, dl) { var carry = 0; var lo = al; - lo = lo + bl >>> 0; + lo = (lo + bl) >>> 0; carry += lo < al ? 1 : 0; - lo = lo + cl >>> 0; + lo = (lo + cl) >>> 0; carry += lo < cl ? 1 : 0; - lo = lo + dl >>> 0; + lo = (lo + dl) >>> 0; carry += lo < dl ? 1 : 0; var hi = ah + bh + ch + dh + carry; return hi >>> 0; @@ -11956,13 +12634,13 @@ var require_utils3 = __commonJS({ function sum64_5_hi(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { var carry = 0; var lo = al; - lo = lo + bl >>> 0; + lo = (lo + bl) >>> 0; carry += lo < al ? 1 : 0; - lo = lo + cl >>> 0; + lo = (lo + cl) >>> 0; carry += lo < cl ? 1 : 0; - lo = lo + dl >>> 0; + lo = (lo + dl) >>> 0; carry += lo < dl ? 1 : 0; - lo = lo + el >>> 0; + lo = (lo + el) >>> 0; carry += lo < el ? 1 : 0; var hi = ah + bh + ch + dh + eh + carry; return hi >>> 0; @@ -11974,12 +12652,12 @@ var require_utils3 = __commonJS({ } exports2.sum64_5_lo = sum64_5_lo; function rotr64_hi(ah, al, num) { - var r = al << 32 - num | ah >>> num; + var r = (al << (32 - num)) | (ah >>> num); return r >>> 0; } exports2.rotr64_hi = rotr64_hi; function rotr64_lo(ah, al, num) { - var r = ah << 32 - num | al >>> num; + var r = (ah << (32 - num)) | (al >>> num); return r >>> 0; } exports2.rotr64_lo = rotr64_lo; @@ -11988,17 +12666,17 @@ var require_utils3 = __commonJS({ } exports2.shr64_hi = shr64_hi; function shr64_lo(ah, al, num) { - var r = ah << 32 - num | al >>> num; + var r = (ah << (32 - num)) | (al >>> num); return r >>> 0; } exports2.shr64_lo = shr64_lo; - } + }, }); // node_modules/hash.js/lib/hash/common.js var require_common = __commonJS({ - "node_modules/hash.js/lib/hash/common.js"(exports2) { - "use strict"; + 'node_modules/hash.js/lib/hash/common.js'(exports2) { + 'use strict'; var utils = require_utils3(); var assert = require_minimalistic_assert(); function BlockHash() { @@ -12008,27 +12686,23 @@ var require_common = __commonJS({ this.outSize = this.constructor.outSize; this.hmacStrength = this.constructor.hmacStrength; this.padLength = this.constructor.padLength / 8; - this.endian = "big"; + this.endian = 'big'; this._delta8 = this.blockSize / 8; this._delta32 = this.blockSize / 32; } exports2.BlockHash = BlockHash; BlockHash.prototype.update = function update(msg, enc) { msg = utils.toArray(msg, enc); - if (!this.pending) - this.pending = msg; - else - this.pending = this.pending.concat(msg); + if (!this.pending) this.pending = msg; + else this.pending = this.pending.concat(msg); this.pendingTotal += msg.length; if (this.pending.length >= this._delta8) { msg = this.pending; var r = msg.length % this._delta8; this.pending = msg.slice(msg.length - r, msg.length); - if (this.pending.length === 0) - this.pending = null; + if (this.pending.length === 0) this.pending = null; msg = utils.join32(msg, 0, msg.length - r, this.endian); - for (var i = 0; i < msg.length; i += this._delta32) - this._update(msg, i, i + this._delta32); + for (var i = 0; i < msg.length; i += this._delta32) this._update(msg, i, i + this._delta32); } return this; }; @@ -12040,61 +12714,55 @@ var require_common = __commonJS({ BlockHash.prototype._pad = function pad() { var len = this.pendingTotal; var bytes = this._delta8; - var k = bytes - (len + this.padLength) % bytes; + var k = bytes - ((len + this.padLength) % bytes); var res = new Array(k + this.padLength); res[0] = 128; - for (var i = 1; i < k; i++) - res[i] = 0; + for (var i = 1; i < k; i++) res[i] = 0; len <<= 3; - if (this.endian === "big") { - for (var t = 8; t < this.padLength; t++) - res[i++] = 0; + if (this.endian === 'big') { + for (var t = 8; t < this.padLength; t++) res[i++] = 0; res[i++] = 0; res[i++] = 0; res[i++] = 0; res[i++] = 0; - res[i++] = len >>> 24 & 255; - res[i++] = len >>> 16 & 255; - res[i++] = len >>> 8 & 255; + res[i++] = (len >>> 24) & 255; + res[i++] = (len >>> 16) & 255; + res[i++] = (len >>> 8) & 255; res[i++] = len & 255; } else { res[i++] = len & 255; - res[i++] = len >>> 8 & 255; - res[i++] = len >>> 16 & 255; - res[i++] = len >>> 24 & 255; + res[i++] = (len >>> 8) & 255; + res[i++] = (len >>> 16) & 255; + res[i++] = (len >>> 24) & 255; res[i++] = 0; res[i++] = 0; res[i++] = 0; res[i++] = 0; - for (t = 8; t < this.padLength; t++) - res[i++] = 0; + for (t = 8; t < this.padLength; t++) res[i++] = 0; } return res; }; - } + }, }); // node_modules/hash.js/lib/hash/sha/common.js var require_common2 = __commonJS({ - "node_modules/hash.js/lib/hash/sha/common.js"(exports2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha/common.js'(exports2) { + 'use strict'; var utils = require_utils3(); var rotr32 = utils.rotr32; function ft_1(s, x, y, z) { - if (s === 0) - return ch32(x, y, z); - if (s === 1 || s === 3) - return p32(x, y, z); - if (s === 2) - return maj32(x, y, z); + if (s === 0) return ch32(x, y, z); + if (s === 1 || s === 3) return p32(x, y, z); + if (s === 2) return maj32(x, y, z); } exports2.ft_1 = ft_1; function ch32(x, y, z) { - return x & y ^ ~x & z; + return (x & y) ^ (~x & z); } exports2.ch32 = ch32; function maj32(x, y, z) { - return x & y ^ x & z ^ y & z; + return (x & y) ^ (x & z) ^ (y & z); } exports2.maj32 = maj32; function p32(x, y, z) { @@ -12110,20 +12778,20 @@ var require_common2 = __commonJS({ } exports2.s1_256 = s1_256; function g0_256(x) { - return rotr32(x, 7) ^ rotr32(x, 18) ^ x >>> 3; + return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3); } exports2.g0_256 = g0_256; function g1_256(x) { - return rotr32(x, 17) ^ rotr32(x, 19) ^ x >>> 10; + return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10); } exports2.g1_256 = g1_256; - } + }, }); // node_modules/hash.js/lib/hash/sha/1.js var require__ = __commonJS({ - "node_modules/hash.js/lib/hash/sha/1.js"(exports2, module2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha/1.js'(exports2, module2) { + 'use strict'; var utils = require_utils3(); var common = require_common(); var shaCommon = require_common2(); @@ -12132,23 +12800,11 @@ var require__ = __commonJS({ var sum32_5 = utils.sum32_5; var ft_1 = shaCommon.ft_1; var BlockHash = common.BlockHash; - var sha1_K = [ - 1518500249, - 1859775393, - 2400959708, - 3395469782 - ]; + var sha1_K = [1518500249, 1859775393, 2400959708, 3395469782]; function SHA1() { - if (!(this instanceof SHA1)) - return new SHA1(); + if (!(this instanceof SHA1)) return new SHA1(); BlockHash.call(this); - this.h = [ - 1732584193, - 4023233417, - 2562383102, - 271733878, - 3285377520 - ]; + this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520]; this.W = new Array(80); } utils.inherits(SHA1, BlockHash); @@ -12159,10 +12815,8 @@ var require__ = __commonJS({ SHA1.padLength = 64; SHA1.prototype._update = function _update(msg, start) { var W = this.W; - for (var i = 0; i < 16; i++) - W[i] = msg[start + i]; - for (; i < W.length; i++) - W[i] = rotl32(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1); + for (var i = 0; i < 16; i++) W[i] = msg[start + i]; + for (; i < W.length; i++) W[i] = rotl32(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1); var a = this.h[0]; var b = this.h[1]; var c = this.h[2]; @@ -12184,18 +12838,16 @@ var require__ = __commonJS({ this.h[4] = sum32(this.h[4], e); }; SHA1.prototype._digest = function digest(enc) { - if (enc === "hex") - return utils.toHex32(this.h, "big"); - else - return utils.split32(this.h, "big"); + if (enc === 'hex') return utils.toHex32(this.h, 'big'); + else return utils.split32(this.h, 'big'); }; - } + }, }); // node_modules/hash.js/lib/hash/sha/256.js var require__2 = __commonJS({ - "node_modules/hash.js/lib/hash/sha/256.js"(exports2, module2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha/256.js'(exports2, module2) { + 'use strict'; var utils = require_utils3(); var common = require_common(); var shaCommon = require_common2(); @@ -12211,84 +12863,22 @@ var require__2 = __commonJS({ var g1_256 = shaCommon.g1_256; var BlockHash = common.BlockHash; var sha256_K = [ - 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 + 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, ]; function SHA256() { - if (!(this instanceof SHA256)) - return new SHA256(); + if (!(this instanceof SHA256)) return new SHA256(); BlockHash.call(this); this.h = [ - 1779033703, - 3144134277, - 1013904242, - 2773480762, - 1359893119, - 2600822924, - 528734635, - 1541459225 + 1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, + 1541459225, ]; this.k = sha256_K; this.W = new Array(64); @@ -12301,8 +12891,7 @@ var require__2 = __commonJS({ SHA256.padLength = 64; SHA256.prototype._update = function _update(msg, start) { var W = this.W; - for (var i = 0; i < 16; i++) - W[i] = msg[start + i]; + for (var i = 0; i < 16; i++) W[i] = msg[start + i]; for (; i < W.length; i++) W[i] = sum32_4(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]); var a = this.h[0]; @@ -12336,33 +12925,24 @@ var require__2 = __commonJS({ this.h[7] = sum32(this.h[7], h); }; SHA256.prototype._digest = function digest(enc) { - if (enc === "hex") - return utils.toHex32(this.h, "big"); - else - return utils.split32(this.h, "big"); + if (enc === 'hex') return utils.toHex32(this.h, 'big'); + else return utils.split32(this.h, 'big'); }; - } + }, }); // node_modules/hash.js/lib/hash/sha/224.js var require__3 = __commonJS({ - "node_modules/hash.js/lib/hash/sha/224.js"(exports2, module2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha/224.js'(exports2, module2) { + 'use strict'; var utils = require_utils3(); var SHA256 = require__2(); function SHA224() { - if (!(this instanceof SHA224)) - return new SHA224(); + if (!(this instanceof SHA224)) return new SHA224(); SHA256.call(this); this.h = [ - 3238371032, - 914150663, - 812702999, - 4144912697, - 4290775857, - 1750603025, - 1694076839, - 3204075428 + 3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, + 3204075428, ]; } utils.inherits(SHA224, SHA256); @@ -12372,18 +12952,16 @@ var require__3 = __commonJS({ SHA224.hmacStrength = 192; SHA224.padLength = 64; SHA224.prototype._digest = function digest(enc) { - if (enc === "hex") - return utils.toHex32(this.h.slice(0, 7), "big"); - else - return utils.split32(this.h.slice(0, 7), "big"); + if (enc === 'hex') return utils.toHex32(this.h.slice(0, 7), 'big'); + else return utils.split32(this.h.slice(0, 7), 'big'); }; - } + }, }); // node_modules/hash.js/lib/hash/sha/512.js var require__4 = __commonJS({ - "node_modules/hash.js/lib/hash/sha/512.js"(exports2, module2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha/512.js'(exports2, module2) { + 'use strict'; var utils = require_utils3(); var common = require_common(); var assert = require_minimalistic_assert(); @@ -12400,188 +12978,34 @@ var require__4 = __commonJS({ var sum64_5_lo = utils.sum64_5_lo; var BlockHash = common.BlockHash; var sha512_K = [ - 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 + 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, ]; function SHA512() { - if (!(this instanceof SHA512)) - return new SHA512(); + if (!(this instanceof SHA512)) return new SHA512(); BlockHash.call(this); this.h = [ - 1779033703, - 4089235720, - 3144134277, - 2227873595, - 1013904242, - 4271175723, - 2773480762, - 1595750129, - 1359893119, - 2917565137, - 2600822924, - 725511199, - 528734635, - 4215389547, - 1541459225, - 327033209 + 1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, + 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, + 1541459225, 327033209, ]; this.k = sha512_K; this.W = new Array(160); @@ -12594,8 +13018,7 @@ var require__4 = __commonJS({ SHA512.padLength = 128; SHA512.prototype._prepareBlock = function _prepareBlock(msg, start) { var W = this.W; - for (var i = 0; i < 32; i++) - W[i] = msg[start + i]; + for (var i = 0; i < 32; i++) W[i] = msg[start + i]; for (; i < W.length; i += 2) { var c0_hi = g1_512_hi(W[i - 4], W[i - 3]); var c0_lo = g1_512_lo(W[i - 4], W[i - 3]); @@ -12605,26 +13028,8 @@ var require__4 = __commonJS({ var c2_lo = g0_512_lo(W[i - 30], W[i - 29]); var c3_hi = W[i - 32]; var c3_lo = W[i - 31]; - W[i] = sum64_4_hi( - c0_hi, - c0_lo, - c1_hi, - c1_lo, - c2_hi, - c2_lo, - c3_hi, - c3_lo - ); - W[i + 1] = sum64_4_lo( - c0_hi, - c0_lo, - c1_hi, - c1_lo, - c2_hi, - c2_lo, - c3_hi, - c3_lo - ); + W[i] = sum64_4_hi(c0_hi, c0_lo, c1_hi, c1_lo, c2_hi, c2_lo, c3_hi, c3_lo); + W[i + 1] = sum64_4_lo(c0_hi, c0_lo, c1_hi, c1_lo, c2_hi, c2_lo, c3_hi, c3_lo); } }; SHA512.prototype._update = function _update(msg, start) { @@ -12715,33 +13120,27 @@ var require__4 = __commonJS({ sum64(this.h, 14, hh, hl); }; SHA512.prototype._digest = function digest(enc) { - if (enc === "hex") - return utils.toHex32(this.h, "big"); - else - return utils.split32(this.h, "big"); + if (enc === 'hex') return utils.toHex32(this.h, 'big'); + else return utils.split32(this.h, 'big'); }; function ch64_hi(xh, xl, yh, yl, zh) { - var r = xh & yh ^ ~xh & zh; - if (r < 0) - r += 4294967296; + var r = (xh & yh) ^ (~xh & zh); + if (r < 0) r += 4294967296; return r; } function ch64_lo(xh, xl, yh, yl, zh, zl) { - var r = xl & yl ^ ~xl & zl; - if (r < 0) - r += 4294967296; + var r = (xl & yl) ^ (~xl & zl); + if (r < 0) r += 4294967296; return r; } function maj64_hi(xh, xl, yh, yl, zh) { - var r = xh & yh ^ xh & zh ^ yh & zh; - if (r < 0) - r += 4294967296; + var r = (xh & yh) ^ (xh & zh) ^ (yh & zh); + if (r < 0) r += 4294967296; return r; } function maj64_lo(xh, xl, yh, yl, zh, zl) { - var r = xl & yl ^ xl & zl ^ yl & zl; - if (r < 0) - r += 4294967296; + var r = (xl & yl) ^ (xl & zl) ^ (yl & zl); + if (r < 0) r += 4294967296; return r; } function s0_512_hi(xh, xl) { @@ -12749,8 +13148,7 @@ var require__4 = __commonJS({ var c1_hi = rotr64_hi(xl, xh, 2); var c2_hi = rotr64_hi(xl, xh, 7); var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function s0_512_lo(xh, xl) { @@ -12758,8 +13156,7 @@ var require__4 = __commonJS({ var c1_lo = rotr64_lo(xl, xh, 2); var c2_lo = rotr64_lo(xl, xh, 7); var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function s1_512_hi(xh, xl) { @@ -12767,8 +13164,7 @@ var require__4 = __commonJS({ var c1_hi = rotr64_hi(xh, xl, 18); var c2_hi = rotr64_hi(xl, xh, 9); var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function s1_512_lo(xh, xl) { @@ -12776,8 +13172,7 @@ var require__4 = __commonJS({ var c1_lo = rotr64_lo(xh, xl, 18); var c2_lo = rotr64_lo(xl, xh, 9); var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function g0_512_hi(xh, xl) { @@ -12785,8 +13180,7 @@ var require__4 = __commonJS({ var c1_hi = rotr64_hi(xh, xl, 8); var c2_hi = shr64_hi(xh, xl, 7); var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function g0_512_lo(xh, xl) { @@ -12794,8 +13188,7 @@ var require__4 = __commonJS({ var c1_lo = rotr64_lo(xh, xl, 8); var c2_lo = shr64_lo(xh, xl, 7); var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function g1_512_hi(xh, xl) { @@ -12803,8 +13196,7 @@ var require__4 = __commonJS({ var c1_hi = rotr64_hi(xl, xh, 29); var c2_hi = shr64_hi(xh, xl, 6); var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } function g1_512_lo(xh, xl) { @@ -12812,40 +13204,25 @@ var require__4 = __commonJS({ var c1_lo = rotr64_lo(xl, xh, 29); var c2_lo = shr64_lo(xh, xl, 6); var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 4294967296; + if (r < 0) r += 4294967296; return r; } - } + }, }); // node_modules/hash.js/lib/hash/sha/384.js var require__5 = __commonJS({ - "node_modules/hash.js/lib/hash/sha/384.js"(exports2, module2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha/384.js'(exports2, module2) { + 'use strict'; var utils = require_utils3(); var SHA512 = require__4(); function SHA384() { - if (!(this instanceof SHA384)) - return new SHA384(); + if (!(this instanceof SHA384)) return new SHA384(); SHA512.call(this); this.h = [ - 3418070365, - 3238371032, - 1654270250, - 914150663, - 2438529370, - 812702999, - 355462360, - 4144912697, - 1731405415, - 4290775857, - 2394180231, - 1750603025, - 3675008525, - 1694076839, - 1203062813, - 3204075428 + 3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, + 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, + 3204075428, ]; } utils.inherits(SHA384, SHA512); @@ -12855,30 +13232,28 @@ var require__5 = __commonJS({ SHA384.hmacStrength = 192; SHA384.padLength = 128; SHA384.prototype._digest = function digest(enc) { - if (enc === "hex") - return utils.toHex32(this.h.slice(0, 12), "big"); - else - return utils.split32(this.h.slice(0, 12), "big"); + if (enc === 'hex') return utils.toHex32(this.h.slice(0, 12), 'big'); + else return utils.split32(this.h.slice(0, 12), 'big'); }; - } + }, }); // node_modules/hash.js/lib/hash/sha.js var require_sha = __commonJS({ - "node_modules/hash.js/lib/hash/sha.js"(exports2) { - "use strict"; + 'node_modules/hash.js/lib/hash/sha.js'(exports2) { + 'use strict'; exports2.sha1 = require__(); exports2.sha224 = require__3(); exports2.sha256 = require__2(); exports2.sha384 = require__5(); exports2.sha512 = require__4(); - } + }, }); // node_modules/hash.js/lib/hash/ripemd.js var require_ripemd = __commonJS({ - "node_modules/hash.js/lib/hash/ripemd.js"(exports2) { - "use strict"; + 'node_modules/hash.js/lib/hash/ripemd.js'(exports2) { + 'use strict'; var utils = require_utils3(); var common = require_common(); var rotl32 = utils.rotl32; @@ -12887,11 +13262,10 @@ var require_ripemd = __commonJS({ var sum32_4 = utils.sum32_4; var BlockHash = common.BlockHash; function RIPEMD160() { - if (!(this instanceof RIPEMD160)) - return new RIPEMD160(); + if (!(this instanceof RIPEMD160)) return new RIPEMD160(); BlockHash.call(this); this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520]; - this.endian = "little"; + this.endian = 'little'; } utils.inherits(RIPEMD160, BlockHash); exports2.ripemd160 = RIPEMD160; @@ -12911,25 +13285,13 @@ var require_ripemd = __commonJS({ var Dh = D; var Eh = E; for (var j = 0; j < 80; j++) { - var T = sum32( - rotl32( - sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)), - s[j] - ), - E - ); + var T = sum32(rotl32(sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)), s[j]), E); A = E; E = D; D = rotl32(C, 10); C = B; B = T; - T = sum32( - rotl32( - sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)), - sh[j] - ), - Eh - ); + T = sum32(rotl32(sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)), sh[j]), Eh); Ah = Eh; Eh = Dh; Dh = rotl32(Ch, 10); @@ -12944,387 +13306,61 @@ var require_ripemd = __commonJS({ this.h[0] = T; }; RIPEMD160.prototype._digest = function digest(enc) { - if (enc === "hex") - return utils.toHex32(this.h, "little"); - else - return utils.split32(this.h, "little"); + if (enc === 'hex') return utils.toHex32(this.h, 'little'); + else return utils.split32(this.h, 'little'); }; function f(j, x, y, z) { - if (j <= 15) - return x ^ y ^ z; - else if (j <= 31) - return x & y | ~x & z; - else if (j <= 47) - return (x | ~y) ^ z; - else if (j <= 63) - return x & z | y & ~z; - else - return x ^ (y | ~z); + if (j <= 15) return x ^ y ^ z; + else if (j <= 31) return (x & y) | (~x & z); + else if (j <= 47) return (x | ~y) ^ z; + else if (j <= 63) return (x & z) | (y & ~z); + else return x ^ (y | ~z); } function K(j) { - if (j <= 15) - return 0; - else if (j <= 31) - return 1518500249; - else if (j <= 47) - return 1859775393; - else if (j <= 63) - return 2400959708; - else - return 2840853838; + if (j <= 15) return 0; + else if (j <= 31) return 1518500249; + else if (j <= 47) return 1859775393; + else if (j <= 63) return 2400959708; + else return 2840853838; } function Kh(j) { - if (j <= 15) - return 1352829926; - else if (j <= 31) - return 1548603684; - else if (j <= 47) - return 1836072691; - else if (j <= 63) - return 2053994217; - else - return 0; + if (j <= 15) return 1352829926; + else if (j <= 31) return 1548603684; + else if (j <= 47) return 1836072691; + else if (j <= 63) return 2053994217; + else return 0; } var r = [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 7, - 4, - 13, - 1, - 10, - 6, - 15, - 3, - 12, - 0, - 9, - 5, - 2, - 14, - 11, - 8, - 3, - 10, - 14, - 4, - 9, - 15, - 8, - 1, - 2, - 7, - 0, - 6, - 13, - 11, - 5, - 12, - 1, - 9, - 11, - 10, - 0, - 8, - 12, - 4, - 13, - 3, - 7, - 15, - 14, - 5, - 6, - 2, - 4, - 0, - 5, - 9, - 7, - 12, - 2, - 10, - 14, - 1, - 3, - 8, - 11, - 6, - 15, - 13 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, + 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, + 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13, ]; var rh = [ - 5, - 14, - 7, - 0, - 9, - 2, - 11, - 4, - 13, - 6, - 15, - 8, - 1, - 10, - 3, - 12, - 6, - 11, - 3, - 7, - 0, - 13, - 5, - 10, - 14, - 15, - 8, - 12, - 4, - 9, - 1, - 2, - 15, - 5, - 1, - 3, - 7, - 14, - 6, - 9, - 11, - 8, - 12, - 2, - 10, - 0, - 4, - 13, - 8, - 6, - 4, - 1, - 3, - 11, - 15, - 0, - 5, - 12, - 2, - 13, - 9, - 7, - 10, - 14, - 12, - 15, - 10, - 4, - 1, - 5, - 8, - 7, - 6, - 2, - 13, - 14, - 0, - 3, - 9, - 11 + 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, + 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, + 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11, ]; var s = [ - 11, - 14, - 15, - 12, - 5, - 8, - 7, - 9, - 11, - 13, - 14, - 15, - 6, - 7, - 9, - 8, - 7, - 6, - 8, - 13, - 11, - 9, - 7, - 15, - 7, - 12, - 15, - 9, - 11, - 7, - 13, - 12, - 11, - 13, - 6, - 7, - 14, - 9, - 13, - 15, - 14, - 8, - 13, - 6, - 5, - 12, - 7, - 5, - 11, - 12, - 14, - 15, - 14, - 15, - 9, - 8, - 9, - 14, - 5, - 6, - 8, - 6, - 5, - 12, - 9, - 15, - 5, - 11, - 6, - 8, - 13, - 12, - 5, - 12, - 13, - 14, - 11, - 8, - 5, - 6 + 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, + 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, + 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6, ]; var sh = [ - 8, - 9, - 9, - 11, - 13, - 15, - 15, - 5, - 7, - 7, - 8, - 11, - 14, - 14, - 12, - 6, - 9, - 13, - 15, - 7, - 12, - 8, - 9, - 11, - 7, - 7, - 12, - 7, - 6, - 15, - 13, - 11, - 9, - 7, - 15, - 11, - 8, - 6, - 6, - 14, - 12, - 13, - 5, - 14, - 13, - 13, - 7, - 5, - 15, - 5, - 8, - 11, - 14, - 14, - 6, - 14, - 6, - 9, - 12, - 9, - 12, - 5, - 15, - 8, - 8, - 5, - 12, - 9, - 12, - 5, - 14, - 6, - 8, - 13, - 6, - 5, - 15, - 13, - 11, - 11 + 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, + 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, + 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11, ]; - } + }, }); // node_modules/hash.js/lib/hash/hmac.js var require_hmac = __commonJS({ - "node_modules/hash.js/lib/hash/hmac.js"(exports2, module2) { - "use strict"; + 'node_modules/hash.js/lib/hash/hmac.js'(exports2, module2) { + 'use strict'; var utils = require_utils3(); var assert = require_minimalistic_assert(); function Hmac(hash, key, enc) { - if (!(this instanceof Hmac)) - return new Hmac(hash, key, enc); + if (!(this instanceof Hmac)) return new Hmac(hash, key, enc); this.Hash = hash; this.blockSize = hash.blockSize / 8; this.outSize = hash.outSize / 8; @@ -13334,16 +13370,12 @@ var require_hmac = __commonJS({ } module2.exports = Hmac; Hmac.prototype._init = function init(key) { - if (key.length > this.blockSize) - key = new this.Hash().update(key).digest(); + if (key.length > this.blockSize) key = new this.Hash().update(key).digest(); assert(key.length <= this.blockSize); - for (var i = key.length; i < this.blockSize; i++) - key.push(0); - for (i = 0; i < key.length; i++) - key[i] ^= 54; + for (var i = key.length; i < this.blockSize; i++) key.push(0); + for (i = 0; i < key.length; i++) key[i] ^= 54; this.inner = new this.Hash().update(key); - for (i = 0; i < key.length; i++) - key[i] ^= 106; + for (i = 0; i < key.length; i++) key[i] ^= 106; this.outer = new this.Hash().update(key); }; Hmac.prototype.update = function update(msg, enc) { @@ -13354,12 +13386,12 @@ var require_hmac = __commonJS({ this.outer.update(this.inner.digest()); return this.outer.digest(enc); }; - } + }, }); // node_modules/hash.js/lib/hash.js var require_hash = __commonJS({ - "node_modules/hash.js/lib/hash.js"(exports2) { + 'node_modules/hash.js/lib/hash.js'(exports2) { var hash = exports2; hash.utils = require_utils3(); hash.common = require_common(); @@ -13372,930 +13404,925 @@ var require_hash = __commonJS({ hash.sha384 = hash.sha.sha384; hash.sha512 = hash.sha.sha512; hash.ripemd160 = hash.ripemd.ripemd160; - } + }, }); // node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js var require_secp256k1 = __commonJS({ - "node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(exports2, module2) { + 'node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js'(exports2, module2) { module2.exports = { doubles: { step: 4, points: [ [ - "e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a", - "f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821" + 'e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a', + 'f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821', ], [ - "8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508", - "11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf" + '8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508', + '11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf', ], [ - "175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739", - "d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695" + '175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739', + 'd3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695', ], [ - "363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640", - "4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9" + '363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640', + '4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9', ], [ - "8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c", - "4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36" + '8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c', + '4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36', ], [ - "723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda", - "96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f" + '723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda', + '96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f', ], [ - "eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa", - "5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999" + 'eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa', + '5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999', ], [ - "100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0", - "cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09" + '100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0', + 'cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09', ], [ - "e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d", - "9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d" + 'e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d', + '9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d', ], [ - "feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d", - "e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088" + 'feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d', + 'e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088', ], [ - "da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1", - "9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d" + 'da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1', + '9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d', ], [ - "53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0", - "5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8" + '53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0', + '5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8', ], [ - "8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047", - "10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a" + '8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047', + '10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a', ], [ - "385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862", - "283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453" + '385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862', + '283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453', ], [ - "6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7", - "7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160" + '6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7', + '7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160', ], [ - "3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd", - "56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0" + '3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd', + '56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0', ], [ - "85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83", - "7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6" + '85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83', + '7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6', ], [ - "948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a", - "53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589" + '948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a', + '53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589', ], [ - "6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8", - "bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17" + '6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8', + 'bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17', ], [ - "e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d", - "4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda" + 'e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d', + '4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda', ], [ - "e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725", - "7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd" + 'e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725', + '7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd', ], [ - "213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754", - "4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2" + '213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754', + '4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2', ], [ - "4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c", - "17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6" + '4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c', + '17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6', ], [ - "fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6", - "6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f" + 'fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6', + '6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f', ], [ - "76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39", - "c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01" + '76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39', + 'c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01', ], [ - "c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891", - "893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3" + 'c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891', + '893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3', ], [ - "d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b", - "febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f" + 'd895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b', + 'febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f', ], [ - "b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03", - "2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7" + 'b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03', + '2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7', ], [ - "e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d", - "eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78" + 'e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d', + 'eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78', ], [ - "a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070", - "7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1" + 'a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070', + '7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1', ], [ - "90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4", - "e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150" + '90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4', + 'e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150', ], [ - "8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da", - "662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82" + '8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da', + '662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82', ], [ - "e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11", - "1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc" + 'e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11', + '1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc', ], [ - "8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e", - "efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b" + '8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e', + 'efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b', ], [ - "e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41", - "2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51" + 'e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41', + '2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51', ], [ - "b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef", - "67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45" + 'b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef', + '67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45', ], [ - "d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8", - "db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120" + 'd68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8', + 'db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120', ], [ - "324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d", - "648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84" + '324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d', + '648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84', ], [ - "4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96", - "35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d" + '4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96', + '35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d', ], [ - "9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd", - "ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d" + '9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd', + 'ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d', ], [ - "6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5", - "9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8" + '6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5', + '9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8', ], [ - "a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266", - "40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8" + 'a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266', + '40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8', ], [ - "7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71", - "34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac" + '7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71', + '34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac', ], [ - "928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac", - "c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f" + '928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac', + 'c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f', ], [ - "85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751", - "1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962" + '85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751', + '1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962', ], [ - "ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e", - "493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907" + 'ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e', + '493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907', ], [ - "827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241", - "c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec" + '827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241', + 'c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec', ], [ - "eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3", - "be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d" + 'eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3', + 'be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d', ], [ - "e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f", - "4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414" + 'e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f', + '4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414', ], [ - "1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19", - "aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd" + '1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19', + 'aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd', ], [ - "146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be", - "b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0" + '146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be', + 'b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0', ], [ - "fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9", - "6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811" + 'fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9', + '6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811', ], [ - "da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2", - "8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1" + 'da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2', + '8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1', ], [ - "a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13", - "7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c" + 'a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13', + '7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c', ], [ - "174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c", - "ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73" + '174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c', + 'ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73', ], [ - "959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba", - "2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd" + '959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba', + '2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd', ], [ - "d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151", - "e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405" + 'd2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151', + 'e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405', ], [ - "64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073", - "d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589" + '64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073', + 'd99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589', ], [ - "8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458", - "38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e" + '8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458', + '38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e', ], [ - "13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b", - "69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27" + '13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b', + '69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27', ], [ - "bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366", - "d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1" + 'bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366', + 'd3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1', ], [ - "8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa", - "40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482" + '8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa', + '40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482', ], [ - "8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0", - "620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945" + '8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0', + '620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945', ], [ - "dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787", - "7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573" + 'dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787', + '7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573', ], [ - "f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e", - "ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82" - ] - ] + 'f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e', + 'ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82', + ], + ], }, naf: { wnd: 7, points: [ [ - "f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9", - "388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672" + 'f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9', + '388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672', ], [ - "2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4", - "d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6" + '2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4', + 'd8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6', ], [ - "5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc", - "6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da" + '5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc', + '6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da', ], [ - "acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe", - "cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37" + 'acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe', + 'cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37', ], [ - "774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb", - "d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b" + '774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb', + 'd984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b', ], [ - "f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8", - "ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81" + 'f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8', + 'ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81', ], [ - "d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e", - "581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58" + 'd7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e', + '581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58', ], [ - "defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34", - "4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77" + 'defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34', + '4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77', ], [ - "2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c", - "85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a" + '2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c', + '85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a', ], [ - "352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5", - "321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c" + '352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5', + '321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c', ], [ - "2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f", - "2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67" + '2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f', + '2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67', ], [ - "9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714", - "73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402" + '9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714', + '73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402', ], [ - "daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729", - "a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55" + 'daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729', + 'a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55', ], [ - "c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db", - "2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482" + 'c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db', + '2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482', ], [ - "6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4", - "e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82" + '6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4', + 'e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82', ], [ - "1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5", - "b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396" + '1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5', + 'b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396', ], [ - "605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479", - "2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49" + '605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479', + '2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49', ], [ - "62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d", - "80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf" + '62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d', + '80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf', ], [ - "80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f", - "1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a" + '80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f', + '1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a', ], [ - "7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb", - "d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7" + '7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb', + 'd0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7', ], [ - "d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9", - "eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933" + 'd528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9', + 'eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933', ], [ - "49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963", - "758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a" + '49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963', + '758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a', ], [ - "77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74", - "958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6" + '77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74', + '958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6', ], [ - "f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530", - "e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37" + 'f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530', + 'e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37', ], [ - "463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b", - "5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e" + '463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b', + '5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e', ], [ - "f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247", - "cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6" + 'f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247', + 'cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6', ], [ - "caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1", - "cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476" + 'caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1', + 'cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476', ], [ - "2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120", - "4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40" + '2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120', + '4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40', ], [ - "7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435", - "91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61" + '7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435', + '91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61', ], [ - "754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18", - "673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683" + '754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18', + '673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683', ], [ - "e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8", - "59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5" + 'e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8', + '59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5', ], [ - "186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb", - "3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b" + '186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb', + '3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b', ], [ - "df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f", - "55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417" + 'df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f', + '55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417', ], [ - "5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143", - "efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868" + '5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143', + 'efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868', ], [ - "290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba", - "e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a" + '290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba', + 'e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a', ], [ - "af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45", - "f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6" + 'af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45', + 'f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6', ], [ - "766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a", - "744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996" + '766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a', + '744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996', ], [ - "59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e", - "c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e" + '59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e', + 'c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e', ], [ - "f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8", - "e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d" + 'f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8', + 'e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d', ], [ - "7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c", - "30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2" + '7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c', + '30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2', ], [ - "948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519", - "e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e" + '948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519', + 'e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e', ], [ - "7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab", - "100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437" + '7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab', + '100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437', ], [ - "3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca", - "ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311" + '3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca', + 'ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311', ], [ - "d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf", - "8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4" + 'd3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf', + '8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4', ], [ - "1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610", - "68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575" + '1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610', + '68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575', ], [ - "733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4", - "f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d" + '733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4', + 'f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d', ], [ - "15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c", - "d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d" + '15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c', + 'd56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d', ], [ - "a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940", - "edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629" + 'a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940', + 'edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629', ], [ - "e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980", - "a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06" + 'e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980', + 'a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06', ], [ - "311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3", - "66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374" + '311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3', + '66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374', ], [ - "34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf", - "9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee" + '34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf', + '9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee', ], [ - "f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63", - "4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1" + 'f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63', + '4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1', ], [ - "d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448", - "fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b" + 'd7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448', + 'fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b', ], [ - "32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf", - "5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661" + '32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf', + '5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661', ], [ - "7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5", - "8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6" + '7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5', + '8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6', ], [ - "ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6", - "8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e" + 'ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6', + '8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e', ], [ - "16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5", - "5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d" + '16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5', + '5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d', ], [ - "eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99", - "f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc" + 'eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99', + 'f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc', ], [ - "78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51", - "f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4" + '78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51', + 'f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4', ], [ - "494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5", - "42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c" + '494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5', + '42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c', ], [ - "a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5", - "204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b" + 'a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5', + '204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b', ], [ - "c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997", - "4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913" + 'c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997', + '4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913', ], [ - "841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881", - "73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154" + '841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881', + '73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154', ], [ - "5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5", - "39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865" + '5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5', + '39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865', ], [ - "36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66", - "d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc" + '36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66', + 'd2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc', ], [ - "336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726", - "ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224" + '336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726', + 'ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224', ], [ - "8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede", - "6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e" + '8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede', + '6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e', ], [ - "1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94", - "60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6" + '1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94', + '60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6', ], [ - "85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31", - "3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511" + '85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31', + '3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511', ], [ - "29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51", - "b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b" + '29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51', + 'b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b', ], [ - "a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252", - "ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2" + 'a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252', + 'ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2', ], [ - "4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5", - "cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c" + '4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5', + 'cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c', ], [ - "d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b", - "6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3" + 'd24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b', + '6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3', ], [ - "ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4", - "322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d" + 'ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4', + '322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d', ], [ - "af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f", - "6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700" + 'af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f', + '6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700', ], [ - "e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889", - "2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4" + 'e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889', + '2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4', ], [ - "591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246", - "b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196" + '591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246', + 'b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196', ], [ - "11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984", - "998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4" + '11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984', + '998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4', ], [ - "3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a", - "b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257" + '3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a', + 'b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257', ], [ - "cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030", - "bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13" + 'cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030', + 'bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13', ], [ - "c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197", - "6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096" + 'c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197', + '6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096', ], [ - "c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593", - "c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38" + 'c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593', + 'c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38', ], [ - "a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef", - "21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f" + 'a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef', + '21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f', ], [ - "347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38", - "60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448" + '347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38', + '60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448', ], [ - "da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a", - "49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a" + 'da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a', + '49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a', ], [ - "c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111", - "5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4" + 'c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111', + '5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4', ], [ - "4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502", - "7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437" + '4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502', + '7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437', ], [ - "3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea", - "be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7" + '3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea', + 'be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7', ], [ - "cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26", - "8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d" + 'cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26', + '8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d', ], [ - "b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986", - "39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a" + 'b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986', + '39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a', ], [ - "d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e", - "62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54" + 'd4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e', + '62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54', ], [ - "48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4", - "25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77" + '48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4', + '25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77', ], [ - "dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda", - "ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517" + 'dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda', + 'ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517', ], [ - "6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859", - "cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10" + '6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859', + 'cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10', ], [ - "e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f", - "f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125" + 'e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f', + 'f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125', ], [ - "eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c", - "6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e" + 'eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c', + '6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e', ], [ - "13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942", - "fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1" + '13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942', + 'fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1', ], [ - "ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a", - "1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2" + 'ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a', + '1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2', ], [ - "b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80", - "5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423" + 'b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80', + '5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423', ], [ - "ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d", - "438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8" + 'ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d', + '438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8', ], [ - "8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1", - "cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758" + '8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1', + 'cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758', ], [ - "52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63", - "c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375" + '52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63', + 'c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375', ], [ - "e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352", - "6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d" + 'e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352', + '6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d', ], [ - "7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193", - "ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec" + '7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193', + 'ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec', ], [ - "5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00", - "9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0" + '5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00', + '9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0', ], [ - "32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58", - "ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c" + '32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58', + 'ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c', ], [ - "e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7", - "d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4" + 'e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7', + 'd3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4', ], [ - "8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8", - "c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f" + '8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8', + 'c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f', ], [ - "4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e", - "67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649" + '4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e', + '67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649', ], [ - "3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d", - "cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826" + '3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d', + 'cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826', ], [ - "674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b", - "299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5" + '674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b', + '299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5', ], [ - "d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f", - "f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87" + 'd32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f', + 'f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87', ], [ - "30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6", - "462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b" + '30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6', + '462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b', ], [ - "be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297", - "62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc" + 'be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297', + '62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc', ], [ - "93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a", - "7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c" + '93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a', + '7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c', ], [ - "b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c", - "ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f" + 'b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c', + 'ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f', ], [ - "d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52", - "4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a" + 'd5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52', + '4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a', ], [ - "d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb", - "bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46" + 'd3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb', + 'bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46', ], [ - "463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065", - "bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f" + '463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065', + 'bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f', ], [ - "7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917", - "603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03" + '7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917', + '603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03', ], [ - "74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9", - "cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08" + '74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9', + 'cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08', ], [ - "30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3", - "553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8" + '30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3', + '553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8', ], [ - "9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57", - "712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373" + '9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57', + '712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373', ], [ - "176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66", - "ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3" + '176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66', + 'ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3', ], [ - "75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8", - "9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8" + '75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8', + '9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8', ], [ - "809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721", - "9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1" + '809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721', + '9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1', ], [ - "1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180", - "4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9" - ] - ] - } + '1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180', + '4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9', + ], + ], + }, }; - } + }, }); // node_modules/elliptic/lib/elliptic/curves.js var require_curves = __commonJS({ - "node_modules/elliptic/lib/elliptic/curves.js"(exports2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/curves.js'(exports2) { + 'use strict'; var curves = exports2; var hash = require_hash(); var curve = require_curve(); var utils = require_utils2(); var assert = utils.assert; function PresetCurve(options2) { - if (options2.type === "short") - this.curve = new curve.short(options2); - else if (options2.type === "edwards") - this.curve = new curve.edwards(options2); - else - this.curve = new curve.mont(options2); + if (options2.type === 'short') this.curve = new curve.short(options2); + else if (options2.type === 'edwards') this.curve = new curve.edwards(options2); + else this.curve = new curve.mont(options2); this.g = this.curve.g; this.n = this.curve.n; this.hash = options2.hash; - assert(this.g.validate(), "Invalid curve"); - assert(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O"); + assert(this.g.validate(), 'Invalid curve'); + assert(this.g.mul(this.n).isInfinity(), 'Invalid curve, G*N != O'); } curves.PresetCurve = PresetCurve; function defineCurve(name2, options2) { Object.defineProperty(curves, name2, { configurable: true, enumerable: true, - get: function() { + get: function () { var curve2 = new PresetCurve(options2); Object.defineProperty(curves, name2, { configurable: true, enumerable: true, - value: curve2 + value: curve2, }); return curve2; - } + }, }); } - defineCurve("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", + defineCurve('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: hash.sha256, gRed: false, g: [ - "188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012", - "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811" - ] + '188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012', + '07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811', + ], }); - defineCurve("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", + defineCurve('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: hash.sha256, gRed: false, g: [ - "b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21", - "bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34" - ] + 'b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21', + 'bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34', + ], }); - defineCurve("p256", { - type: "short", + defineCurve('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", + 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: hash.sha256, gRed: false, g: [ - "6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296", - "4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5" - ] + '6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296', + '4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5', + ], }); - defineCurve("p384", { - type: "short", + defineCurve('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", + 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: hash.sha384, gRed: false, 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" - ] + 'aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7', + '3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f', + ], }); - defineCurve("p521", { - type: "short", + defineCurve('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", + 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: hash.sha512, gRed: false, 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" - ] + '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', + ], }); - defineCurve("curve25519", { - type: "mont", - prime: "p25519", - p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", - a: "76d06", - b: "1", - n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", + defineCurve('curve25519', { + type: 'mont', + prime: 'p25519', + p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', + a: '76d06', + b: '1', + n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', hash: hash.sha256, gRed: false, - g: [ - "9" - ] + g: ['9'], }); - defineCurve("ed25519", { - type: "edwards", - prime: "p25519", - p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", - a: "-1", - c: "1", - d: "52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3", - n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", + defineCurve('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: hash.sha256, gRed: false, g: [ - "216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a", - "6666666666666666666666666666666666666666666666666666666666666658" - ] + '216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a', + '6666666666666666666666666666666666666666666666666666666666666658', + ], }); var pre; try { @@ -14303,47 +14330,46 @@ var require_curves = __commonJS({ } catch (e) { pre = void 0; } - defineCurve("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", + defineCurve('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: hash.sha256, - beta: "7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", - lambda: "5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", + beta: '7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee', + lambda: '5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72', basis: [ { - a: "3086d221a7d46bcde86c90e49284eb15", - b: "-e4437ed6010e88286f547fa90abfe4c3" + a: '3086d221a7d46bcde86c90e49284eb15', + b: '-e4437ed6010e88286f547fa90abfe4c3', }, { - a: "114ca50f7a8e2f3f657c1108d9d44cfd8", - b: "3086d221a7d46bcde86c90e49284eb15" - } + a: '114ca50f7a8e2f3f657c1108d9d44cfd8', + b: '3086d221a7d46bcde86c90e49284eb15', + }, ], gRed: false, g: [ - "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", - pre - ] + '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', + '483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8', + pre, + ], }); - } + }, }); // node_modules/hmac-drbg/lib/hmac-drbg.js var require_hmac_drbg = __commonJS({ - "node_modules/hmac-drbg/lib/hmac-drbg.js"(exports2, module2) { - "use strict"; + 'node_modules/hmac-drbg/lib/hmac-drbg.js'(exports2, module2) { + 'use strict'; var hash = require_hash(); var utils = require_utils(); var assert = require_minimalistic_assert(); function HmacDRBG(options2) { - if (!(this instanceof HmacDRBG)) - return new HmacDRBG(options2); + if (!(this instanceof HmacDRBG)) return new HmacDRBG(options2); this.hash = options2.hash; this.predResist = !!options2.predResist; this.outLen = this.hash.outSize; @@ -14352,12 +14378,12 @@ var require_hmac_drbg = __commonJS({ this.reseedInterval = null; this.K = null; this.V = null; - var entropy = utils.toArray(options2.entropy, options2.entropyEnc || "hex"); - var nonce = utils.toArray(options2.nonce, options2.nonceEnc || "hex"); - var pers = utils.toArray(options2.pers, options2.persEnc || "hex"); + var entropy = utils.toArray(options2.entropy, options2.entropyEnc || 'hex'); + var nonce = utils.toArray(options2.nonce, options2.nonceEnc || 'hex'); + var pers = utils.toArray(options2.pers, options2.persEnc || 'hex'); assert( entropy.length >= this.minEntropy / 8, - "Not enough entropy. Minimum is: " + this.minEntropy + " bits" + 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits' ); this._init(entropy, nonce, pers); } @@ -14379,17 +14405,15 @@ var require_hmac_drbg = __commonJS({ }; HmacDRBG.prototype._update = function update(seed) { var kmac = this._hmac().update(this.V).update([0]); - if (seed) - kmac = kmac.update(seed); + if (seed) kmac = kmac.update(seed); this.K = kmac.digest(); this.V = this._hmac().update(this.V).digest(); - if (!seed) - return; + if (!seed) return; this.K = this._hmac().update(this.V).update([1]).update(seed).digest(); this.V = this._hmac().update(this.V).digest(); }; HmacDRBG.prototype.reseed = function reseed(entropy, entropyEnc, add, addEnc) { - if (typeof entropyEnc !== "string") { + if (typeof entropyEnc !== 'string') { addEnc = add; add = entropyEnc; entropyEnc = null; @@ -14398,21 +14422,20 @@ var require_hmac_drbg = __commonJS({ add = utils.toArray(add, addEnc); assert( entropy.length >= this.minEntropy / 8, - "Not enough entropy. Minimum is: " + this.minEntropy + " bits" + 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits' ); this._update(entropy.concat(add || [])); this._reseed = 1; }; HmacDRBG.prototype.generate = function generate(len, enc, add, addEnc) { - if (this._reseed > this.reseedInterval) - throw new Error("Reseed is required"); - if (typeof enc !== "string") { + if (this._reseed > this.reseedInterval) throw new Error('Reseed is required'); + if (typeof enc !== 'string') { addEnc = add; add = enc; enc = null; } if (add) { - add = utils.toArray(add, addEnc || "hex"); + add = utils.toArray(add, addEnc || 'hex'); this._update(add); } var temp = []; @@ -14425,13 +14448,13 @@ var require_hmac_drbg = __commonJS({ this._reseed++; return utils.encode(res, enc); }; - } + }, }); // node_modules/elliptic/lib/elliptic/ec/key.js var require_key = __commonJS({ - "node_modules/elliptic/lib/elliptic/ec/key.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/ec/key.js'(exports2, module2) { + 'use strict'; var BN = require_bn(); var utils = require_utils2(); var assert = utils.assert; @@ -14439,54 +14462,44 @@ var require_key = __commonJS({ this.ec = ec; this.priv = null; this.pub = null; - if (options2.priv) - this._importPrivate(options2.priv, options2.privEnc); - if (options2.pub) - this._importPublic(options2.pub, options2.pubEnc); + if (options2.priv) this._importPrivate(options2.priv, options2.privEnc); + if (options2.pub) this._importPublic(options2.pub, options2.pubEnc); } module2.exports = KeyPair; KeyPair.fromPublic = function fromPublic(ec, pub, enc) { - if (pub instanceof KeyPair) - return pub; + if (pub instanceof KeyPair) return pub; return new KeyPair(ec, { pub, - pubEnc: enc + pubEnc: enc, }); }; KeyPair.fromPrivate = function fromPrivate(ec, priv, enc) { - if (priv instanceof KeyPair) - return priv; + if (priv instanceof KeyPair) return priv; return new KeyPair(ec, { priv, - privEnc: enc + privEnc: enc, }); }; KeyPair.prototype.validate = function validate() { var pub = this.getPublic(); - if (pub.isInfinity()) - return { result: false, reason: "Invalid public key" }; - if (!pub.validate()) - return { result: false, reason: "Public key is not a point" }; + if (pub.isInfinity()) return { result: false, reason: 'Invalid public key' }; + if (!pub.validate()) return { result: false, reason: 'Public key is not a point' }; if (!pub.mul(this.ec.curve.n).isInfinity()) - return { result: false, reason: "Public key * N != O" }; + return { result: false, reason: 'Public key * N != O' }; return { result: true, reason: null }; }; KeyPair.prototype.getPublic = function getPublic(compact, enc) { - if (typeof compact === "string") { + if (typeof compact === 'string') { enc = compact; compact = null; } - if (!this.pub) - this.pub = this.ec.g.mul(this.priv); - if (!enc) - return this.pub; + if (!this.pub) this.pub = this.ec.g.mul(this.priv); + if (!enc) return this.pub; return this.pub.encode(enc, compact); }; KeyPair.prototype.getPrivate = function getPrivate(enc) { - if (enc === "hex") - return this.priv.toString(16, 2); - else - return this.priv; + if (enc === 'hex') return this.priv.toString(16, 2); + else return this.priv; }; KeyPair.prototype._importPrivate = function _importPrivate(key, enc) { this.priv = new BN(key, enc || 16); @@ -14494,10 +14507,10 @@ var require_key = __commonJS({ }; KeyPair.prototype._importPublic = function _importPublic(key, enc) { if (key.x || key.y) { - if (this.ec.curve.type === "mont") { - assert(key.x, "Need x coordinate"); - } else if (this.ec.curve.type === "short" || this.ec.curve.type === "edwards") { - assert(key.x && key.y, "Need both x and y coordinate"); + if (this.ec.curve.type === 'mont') { + assert(key.x, 'Need x coordinate'); + } else if (this.ec.curve.type === 'short' || this.ec.curve.type === 'edwards') { + assert(key.x && key.y, 'Need both x and y coordinate'); } this.pub = this.ec.curve.point(key.x, key.y); return; @@ -14506,7 +14519,7 @@ var require_key = __commonJS({ }; KeyPair.prototype.derive = function derive(pub) { if (!pub.validate()) { - assert(pub.validate(), "public point not validated"); + assert(pub.validate(), 'public point not validated'); } return pub.mul(this.priv).getX(); }; @@ -14517,30 +14530,32 @@ var require_key = __commonJS({ return this.ec.verify(msg, signature, this); }; KeyPair.prototype.inspect = function inspect() { - return ""; + return ( + '' + ); }; - } + }, }); // node_modules/elliptic/lib/elliptic/ec/signature.js var require_signature = __commonJS({ - "node_modules/elliptic/lib/elliptic/ec/signature.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/ec/signature.js'(exports2, module2) { + 'use strict'; var BN = require_bn(); var utils = require_utils2(); var assert = utils.assert; function Signature(options2, enc) { - if (options2 instanceof Signature) - return options2; - if (this._importDER(options2, enc)) - return; - assert(options2.r && options2.s, "Signature without r or s"); + if (options2 instanceof Signature) return options2; + if (this._importDER(options2, enc)) return; + assert(options2.r && options2.s, 'Signature without r or s'); this.r = new BN(options2.r, 16); this.s = new BN(options2.s, 16); - if (options2.recoveryParam === void 0) - this.recoveryParam = null; - else - this.recoveryParam = options2.recoveryParam; + if (options2.recoveryParam === void 0) this.recoveryParam = null; + else this.recoveryParam = options2.recoveryParam; } module2.exports = Signature; function Position() { @@ -14635,20 +14650,18 @@ var require_signature = __commonJS({ arr.push(len); return; } - var octets = 1 + (Math.log(len) / Math.LN2 >>> 3); + var octets = 1 + ((Math.log(len) / Math.LN2) >>> 3); arr.push(octets | 128); while (--octets) { - arr.push(len >>> (octets << 3) & 255); + arr.push((len >>> (octets << 3)) & 255); } arr.push(len); } Signature.prototype.toDER = function toDER(enc) { var r = this.r.toArray(); var s = this.s.toArray(); - if (r[0] & 128) - r = [0].concat(r); - if (s[0] & 128) - s = [0].concat(s); + if (r[0] & 128) r = [0].concat(r); + if (s[0] & 128) s = [0].concat(s); r = rmPadding(r); s = rmPadding(s); while (!s[0] && !(s[1] & 128)) { @@ -14665,13 +14678,13 @@ var require_signature = __commonJS({ res = res.concat(backHalf); return utils.encode(res, enc); }; - } + }, }); // node_modules/elliptic/lib/elliptic/ec/index.js var require_ec = __commonJS({ - "node_modules/elliptic/lib/elliptic/ec/index.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/ec/index.js'(exports2, module2) { + 'use strict'; var BN = require_bn(); var HmacDRBG = require_hmac_drbg(); var utils = require_utils2(); @@ -14681,17 +14694,12 @@ var require_ec = __commonJS({ var KeyPair = require_key(); var Signature = require_signature(); function EC(options2) { - if (!(this instanceof EC)) - return new EC(options2); - if (typeof options2 === "string") { - assert( - Object.prototype.hasOwnProperty.call(curves, options2), - "Unknown curve " + options2 - ); + if (!(this instanceof EC)) return new EC(options2); + if (typeof options2 === 'string') { + assert(Object.prototype.hasOwnProperty.call(curves, options2), 'Unknown curve ' + options2); options2 = curves[options2]; } - if (options2 instanceof curves.PresetCurve) - options2 = { curve: options2 }; + if (options2 instanceof curves.PresetCurve) options2 = { curve: options2 }; this.curve = options2.curve.curve; this.n = this.curve.n; this.nh = this.n.ushrn(1); @@ -14711,71 +14719,61 @@ var require_ec = __commonJS({ return KeyPair.fromPublic(this, pub, enc); }; EC.prototype.genKeyPair = function genKeyPair(options2) { - if (!options2) - options2 = {}; + if (!options2) options2 = {}; var drbg = new HmacDRBG({ hash: this.hash, pers: options2.pers, - persEnc: options2.persEnc || "utf8", + persEnc: options2.persEnc || 'utf8', entropy: options2.entropy || rand(this.hash.hmacStrength), - entropyEnc: options2.entropy && options2.entropyEnc || "utf8", - nonce: this.n.toArray() + entropyEnc: (options2.entropy && options2.entropyEnc) || 'utf8', + nonce: this.n.toArray(), }); var bytes = this.n.byteLength(); var ns2 = this.n.sub(new BN(2)); - for (; ; ) { + for (;;) { var priv = new BN(drbg.generate(bytes)); - if (priv.cmp(ns2) > 0) - continue; + if (priv.cmp(ns2) > 0) continue; priv.iaddn(1); return this.keyFromPrivate(priv); } }; EC.prototype._truncateToN = function _truncateToN(msg, truncOnly) { var delta = msg.byteLength() * 8 - this.n.bitLength(); - if (delta > 0) - msg = msg.ushrn(delta); - if (!truncOnly && msg.cmp(this.n) >= 0) - return msg.sub(this.n); - else - return msg; + if (delta > 0) msg = msg.ushrn(delta); + if (!truncOnly && msg.cmp(this.n) >= 0) return msg.sub(this.n); + else return msg; }; EC.prototype.sign = function sign(msg, key, enc, options2) { - if (typeof enc === "object") { + if (typeof enc === 'object') { options2 = enc; enc = null; } - if (!options2) - options2 = {}; + if (!options2) options2 = {}; key = this.keyFromPrivate(key, enc); msg = this._truncateToN(new BN(msg, 16)); var bytes = this.n.byteLength(); - var bkey = key.getPrivate().toArray("be", bytes); - var nonce = msg.toArray("be", bytes); + var bkey = key.getPrivate().toArray('be', bytes); + var nonce = msg.toArray('be', bytes); var drbg = new HmacDRBG({ hash: this.hash, entropy: bkey, nonce, pers: options2.pers, - persEnc: options2.persEnc || "utf8" + persEnc: options2.persEnc || 'utf8', }); var ns1 = this.n.sub(new BN(1)); for (var iter = 0; ; iter++) { var k = options2.k ? options2.k(iter) : new BN(drbg.generate(this.n.byteLength())); k = this._truncateToN(k, true); - if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0) - continue; + if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0) continue; var kp = this.g.mul(k); - if (kp.isInfinity()) - continue; + if (kp.isInfinity()) continue; var kpX = kp.getX(); var r = kpX.umod(this.n); - if (r.cmpn(0) === 0) - continue; + if (r.cmpn(0) === 0) continue; var s = k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg)); s = s.umod(this.n); - if (s.cmpn(0) === 0) - continue; + if (s.cmpn(0) === 0) continue; var recoveryParam = (kp.getY().isOdd() ? 1 : 0) | (kpX.cmp(r) !== 0 ? 2 : 0); if (options2.canonical && s.cmp(this.nh) > 0) { s = this.n.sub(s); @@ -14787,30 +14785,26 @@ var require_ec = __commonJS({ EC.prototype.verify = function verify(msg, signature, key, enc) { msg = this._truncateToN(new BN(msg, 16)); key = this.keyFromPublic(key, enc); - signature = new Signature(signature, "hex"); + signature = new Signature(signature, 'hex'); var r = signature.r; var s = signature.s; - if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0) - return false; - if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0) - return false; + if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0) return false; + if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0) return false; var sinv = s.invm(this.n); var u1 = sinv.mul(msg).umod(this.n); var u2 = sinv.mul(r).umod(this.n); var p; if (!this.curve._maxwellTrick) { p = this.g.mulAdd(u1, key.getPublic(), u2); - if (p.isInfinity()) - return false; + if (p.isInfinity()) return false; return p.getX().umod(this.n).cmp(r) === 0; } p = this.g.jmulAdd(u1, key.getPublic(), u2); - if (p.isInfinity()) - return false; + if (p.isInfinity()) return false; return p.eqXToP(r); }; - EC.prototype.recoverPubKey = function(msg, signature, j, enc) { - assert((3 & j) === j, "The recovery param is more than two bits"); + EC.prototype.recoverPubKey = function (msg, signature, j, enc) { + assert((3 & j) === j, 'The recovery param is more than two bits'); signature = new Signature(signature, enc); var n = this.n; var e = new BN(msg); @@ -14819,20 +14813,17 @@ var require_ec = __commonJS({ var isYOdd = j & 1; var isSecondKey = j >> 1; if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey) - throw new Error("Unable to find sencond key candinate"); - if (isSecondKey) - r = this.curve.pointFromX(r.add(this.curve.n), isYOdd); - else - r = this.curve.pointFromX(r, isYOdd); + throw new Error('Unable to find sencond key candinate'); + if (isSecondKey) r = this.curve.pointFromX(r.add(this.curve.n), isYOdd); + else r = this.curve.pointFromX(r, isYOdd); var rInv = signature.r.invm(n); var s1 = n.sub(e).mul(rInv).umod(n); var s2 = s.mul(rInv).umod(n); return this.g.mulAdd(s1, r, s2); }; - EC.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { + EC.prototype.getKeyRecoveryParam = function (e, signature, Q, enc) { signature = new Signature(signature, enc); - if (signature.recoveryParam !== null) - return signature.recoveryParam; + if (signature.recoveryParam !== null) return signature.recoveryParam; for (var i = 0; i < 4; i++) { var Qprime; try { @@ -14840,18 +14831,17 @@ var require_ec = __commonJS({ } catch (e2) { continue; } - if (Qprime.eq(Q)) - return i; + if (Qprime.eq(Q)) return i; } - throw new Error("Unable to find valid recovery factor"); + throw new Error('Unable to find valid recovery factor'); }; - } + }, }); // node_modules/elliptic/lib/elliptic/eddsa/key.js var require_key2 = __commonJS({ - "node_modules/elliptic/lib/elliptic/eddsa/key.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/eddsa/key.js'(exports2, module2) { + 'use strict'; var utils = require_utils2(); var assert = utils.assert; var parseBytes = utils.parseBytes; @@ -14859,33 +14849,28 @@ var require_key2 = __commonJS({ function KeyPair(eddsa, params) { this.eddsa = eddsa; this._secret = parseBytes(params.secret); - if (eddsa.isPoint(params.pub)) - this._pub = params.pub; - else - this._pubBytes = parseBytes(params.pub); + if (eddsa.isPoint(params.pub)) this._pub = params.pub; + else this._pubBytes = parseBytes(params.pub); } KeyPair.fromPublic = function fromPublic(eddsa, pub) { - if (pub instanceof KeyPair) - return pub; + if (pub instanceof KeyPair) return pub; return new KeyPair(eddsa, { pub }); }; KeyPair.fromSecret = function fromSecret(eddsa, secret) { - if (secret instanceof KeyPair) - return secret; + if (secret instanceof KeyPair) return secret; return new KeyPair(eddsa, { secret }); }; KeyPair.prototype.secret = function secret() { return this._secret; }; - cachedProperty(KeyPair, "pubBytes", function pubBytes() { + cachedProperty(KeyPair, 'pubBytes', function pubBytes() { return this.eddsa.encodePoint(this.pub()); }); - cachedProperty(KeyPair, "pub", function pub() { - if (this._pubBytes) - return this.eddsa.decodePoint(this._pubBytes); + cachedProperty(KeyPair, 'pub', function pub() { + if (this._pubBytes) return this.eddsa.decodePoint(this._pubBytes); return this.eddsa.g.mul(this.priv()); }); - cachedProperty(KeyPair, "privBytes", function privBytes() { + cachedProperty(KeyPair, 'privBytes', function privBytes() { var eddsa = this.eddsa; var hash = this.hash(); var lastIx = eddsa.encodingLength - 1; @@ -14895,37 +14880,37 @@ var require_key2 = __commonJS({ a[lastIx] |= 64; return a; }); - cachedProperty(KeyPair, "priv", function priv() { + cachedProperty(KeyPair, 'priv', function priv() { return this.eddsa.decodeInt(this.privBytes()); }); - cachedProperty(KeyPair, "hash", function hash() { + cachedProperty(KeyPair, 'hash', function hash() { return this.eddsa.hash().update(this.secret()).digest(); }); - cachedProperty(KeyPair, "messagePrefix", function messagePrefix() { + cachedProperty(KeyPair, 'messagePrefix', function messagePrefix() { return this.hash().slice(this.eddsa.encodingLength); }); KeyPair.prototype.sign = function sign(message) { - assert(this._secret, "KeyPair can only verify"); + assert(this._secret, 'KeyPair can only verify'); return this.eddsa.sign(message, this); }; KeyPair.prototype.verify = function verify(message, sig) { return this.eddsa.verify(message, sig, this); }; KeyPair.prototype.getSecret = function getSecret(enc) { - assert(this._secret, "KeyPair is public only"); + assert(this._secret, 'KeyPair is public only'); return utils.encode(this.secret(), enc); }; KeyPair.prototype.getPublic = function getPublic(enc) { return utils.encode(this.pubBytes(), enc); }; module2.exports = KeyPair; - } + }, }); // node_modules/elliptic/lib/elliptic/eddsa/signature.js var require_signature2 = __commonJS({ - "node_modules/elliptic/lib/elliptic/eddsa/signature.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/eddsa/signature.js'(exports2, module2) { + 'use strict'; var BN = require_bn(); var utils = require_utils2(); var assert = utils.assert; @@ -14933,48 +14918,45 @@ var require_signature2 = __commonJS({ var parseBytes = utils.parseBytes; function Signature(eddsa, sig) { this.eddsa = eddsa; - if (typeof sig !== "object") - sig = parseBytes(sig); + if (typeof sig !== 'object') sig = parseBytes(sig); if (Array.isArray(sig)) { sig = { R: sig.slice(0, eddsa.encodingLength), - S: sig.slice(eddsa.encodingLength) + S: sig.slice(eddsa.encodingLength), }; } - assert(sig.R && sig.S, "Signature without R or S"); - if (eddsa.isPoint(sig.R)) - this._R = sig.R; - if (sig.S instanceof BN) - this._S = sig.S; + assert(sig.R && sig.S, 'Signature without R or S'); + if (eddsa.isPoint(sig.R)) this._R = sig.R; + if (sig.S instanceof BN) this._S = sig.S; this._Rencoded = Array.isArray(sig.R) ? sig.R : sig.Rencoded; this._Sencoded = Array.isArray(sig.S) ? sig.S : sig.Sencoded; } - cachedProperty(Signature, "S", function S() { + cachedProperty(Signature, 'S', function S() { return this.eddsa.decodeInt(this.Sencoded()); }); - cachedProperty(Signature, "R", function R() { + cachedProperty(Signature, 'R', function R() { return this.eddsa.decodePoint(this.Rencoded()); }); - cachedProperty(Signature, "Rencoded", function Rencoded() { + cachedProperty(Signature, 'Rencoded', function Rencoded() { return this.eddsa.encodePoint(this.R()); }); - cachedProperty(Signature, "Sencoded", function Sencoded() { + cachedProperty(Signature, 'Sencoded', function Sencoded() { return this.eddsa.encodeInt(this.S()); }); Signature.prototype.toBytes = function toBytes() { return this.Rencoded().concat(this.Sencoded()); }; Signature.prototype.toHex = function toHex() { - return utils.encode(this.toBytes(), "hex").toUpperCase(); + return utils.encode(this.toBytes(), 'hex').toUpperCase(); }; module2.exports = Signature; - } + }, }); // node_modules/elliptic/lib/elliptic/eddsa/index.js var require_eddsa = __commonJS({ - "node_modules/elliptic/lib/elliptic/eddsa/index.js"(exports2, module2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic/eddsa/index.js'(exports2, module2) { + 'use strict'; var hash = require_hash(); var curves = require_curves(); var utils = require_utils2(); @@ -14983,9 +14965,8 @@ var require_eddsa = __commonJS({ var KeyPair = require_key2(); var Signature = require_signature2(); function EDDSA(curve) { - assert(curve === "ed25519", "only tested with ed25519 so far"); - if (!(this instanceof EDDSA)) - return new EDDSA(curve); + assert(curve === 'ed25519', 'only tested with ed25519 so far'); + if (!(this instanceof EDDSA)) return new EDDSA(curve); curve = curves[curve].curve; this.curve = curve; this.g = curve.g; @@ -15016,8 +14997,7 @@ var require_eddsa = __commonJS({ }; EDDSA.prototype.hashInt = function hashInt() { var hash2 = this.hash(); - for (var i = 0; i < arguments.length; i++) - hash2.update(arguments[i]); + for (var i = 0; i < arguments.length; i++) hash2.update(arguments[i]); return utils.intFromLE(hash2.digest()).umod(this.curve.n); }; EDDSA.prototype.keyFromPublic = function keyFromPublic(pub) { @@ -15027,12 +15007,11 @@ var require_eddsa = __commonJS({ return KeyPair.fromSecret(this, secret); }; EDDSA.prototype.makeSignature = function makeSignature(sig) { - if (sig instanceof Signature) - return sig; + if (sig instanceof Signature) return sig; return new Signature(this, sig); }; EDDSA.prototype.encodePoint = function encodePoint(point) { - var enc = point.getY().toArray("le", this.encodingLength); + var enc = point.getY().toArray('le', this.encodingLength); enc[this.encodingLength - 1] |= point.getX().isOdd() ? 128 : 0; return enc; }; @@ -15045,7 +15024,7 @@ var require_eddsa = __commonJS({ return this.curve.pointFromY(y, xIsOdd); }; EDDSA.prototype.encodeInt = function encodeInt(num) { - return num.toArray("le", this.encodingLength); + return num.toArray('le', this.encodingLength); }; EDDSA.prototype.decodeInt = function decodeInt(bytes) { return utils.intFromLE(bytes); @@ -15053,13 +15032,13 @@ var require_eddsa = __commonJS({ EDDSA.prototype.isPoint = function isPoint(val) { return val instanceof this.pointClass; }; - } + }, }); // node_modules/elliptic/lib/elliptic.js var require_elliptic = __commonJS({ - "node_modules/elliptic/lib/elliptic.js"(exports2) { - "use strict"; + 'node_modules/elliptic/lib/elliptic.js'(exports2) { + 'use strict'; var elliptic = exports2; elliptic.version = require_package().version; elliptic.utils = require_utils2(); @@ -15068,39 +15047,41 @@ var require_elliptic = __commonJS({ elliptic.curves = require_curves(); elliptic.ec = require_ec(); elliptic.eddsa = require_eddsa(); - } + }, }); // node_modules/@ethersproject/signing-key/lib/elliptic.js var require_elliptic2 = __commonJS({ - "node_modules/@ethersproject/signing-key/lib/elliptic.js"(exports2) { - "use strict"; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/signing-key/lib/elliptic.js'(exports2) { + 'use strict'; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.EC = void 0; var elliptic_1 = __importDefault(require_elliptic()); var EC = elliptic_1.default.ec; exports2.EC = EC; - } + }, }); // node_modules/@ethersproject/signing-key/lib/_version.js var require_version10 = __commonJS({ - "node_modules/@ethersproject/signing-key/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/signing-key/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "signing-key/5.5.0"; - } + exports2.version = 'signing-key/5.5.0'; + }, }); // node_modules/@ethersproject/signing-key/lib/index.js var require_lib15 = __commonJS({ - "node_modules/@ethersproject/signing-key/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/signing-key/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.computePublicKey = exports2.recoverPublicKey = exports2.SigningKey = void 0; var elliptic_1 = require_elliptic2(); var bytes_1 = require_lib2(); @@ -15111,52 +15092,66 @@ var require_lib15 = __commonJS({ var _curve = null; function getCurve() { if (!_curve) { - _curve = new elliptic_1.EC("secp256k1"); + _curve = new elliptic_1.EC('secp256k1'); } return _curve; } - var SigningKey = function() { + var SigningKey = (function () { function SigningKey2(privateKey) { - (0, properties_1.defineReadOnly)(this, "curve", "secp256k1"); - (0, properties_1.defineReadOnly)(this, "privateKey", (0, bytes_1.hexlify)(privateKey)); + (0, properties_1.defineReadOnly)(this, 'curve', 'secp256k1'); + (0, properties_1.defineReadOnly)(this, 'privateKey', (0, bytes_1.hexlify)(privateKey)); var keyPair = getCurve().keyFromPrivate((0, bytes_1.arrayify)(this.privateKey)); - (0, properties_1.defineReadOnly)(this, "publicKey", "0x" + keyPair.getPublic(false, "hex")); - (0, properties_1.defineReadOnly)(this, "compressedPublicKey", "0x" + keyPair.getPublic(true, "hex")); - (0, properties_1.defineReadOnly)(this, "_isSigningKey", true); + (0, properties_1.defineReadOnly)(this, 'publicKey', '0x' + keyPair.getPublic(false, 'hex')); + (0, properties_1.defineReadOnly)( + this, + 'compressedPublicKey', + '0x' + keyPair.getPublic(true, 'hex') + ); + (0, properties_1.defineReadOnly)(this, '_isSigningKey', true); } - SigningKey2.prototype._addPoint = function(other) { + SigningKey2.prototype._addPoint = function (other) { var p0 = getCurve().keyFromPublic((0, bytes_1.arrayify)(this.publicKey)); var p1 = getCurve().keyFromPublic((0, bytes_1.arrayify)(other)); - return "0x" + p0.pub.add(p1.pub).encodeCompressed("hex"); + return '0x' + p0.pub.add(p1.pub).encodeCompressed('hex'); }; - SigningKey2.prototype.signDigest = function(digest) { + SigningKey2.prototype.signDigest = function (digest) { var keyPair = getCurve().keyFromPrivate((0, bytes_1.arrayify)(this.privateKey)); var digestBytes = (0, bytes_1.arrayify)(digest); if (digestBytes.length !== 32) { - logger.throwArgumentError("bad digest length", "digest", digest); + logger.throwArgumentError('bad digest length', 'digest', digest); } var signature = keyPair.sign(digestBytes, { canonical: true }); return (0, bytes_1.splitSignature)({ recoveryParam: signature.recoveryParam, - r: (0, bytes_1.hexZeroPad)("0x" + signature.r.toString(16), 32), - s: (0, bytes_1.hexZeroPad)("0x" + signature.s.toString(16), 32) + r: (0, bytes_1.hexZeroPad)('0x' + signature.r.toString(16), 32), + s: (0, bytes_1.hexZeroPad)('0x' + signature.s.toString(16), 32), }); }; - SigningKey2.prototype.computeSharedSecret = function(otherKey) { + SigningKey2.prototype.computeSharedSecret = function (otherKey) { var keyPair = getCurve().keyFromPrivate((0, bytes_1.arrayify)(this.privateKey)); - var otherKeyPair = getCurve().keyFromPublic((0, bytes_1.arrayify)(computePublicKey(otherKey))); - return (0, bytes_1.hexZeroPad)("0x" + keyPair.derive(otherKeyPair.getPublic()).toString(16), 32); + var otherKeyPair = getCurve().keyFromPublic( + (0, bytes_1.arrayify)(computePublicKey(otherKey)) + ); + return (0, bytes_1.hexZeroPad)( + '0x' + keyPair.derive(otherKeyPair.getPublic()).toString(16), + 32 + ); }; - SigningKey2.isSigningKey = function(value) { + SigningKey2.isSigningKey = function (value) { return !!(value && value._isSigningKey); }; return SigningKey2; - }(); + })(); exports2.SigningKey = SigningKey; function recoverPublicKey(digest, signature) { var sig = (0, bytes_1.splitSignature)(signature); var rs = { r: (0, bytes_1.arrayify)(sig.r), s: (0, bytes_1.arrayify)(sig.s) }; - return "0x" + getCurve().recoverPubKey((0, bytes_1.arrayify)(digest), rs, sig.recoveryParam).encode("hex", false); + return ( + '0x' + + getCurve() + .recoverPubKey((0, bytes_1.arrayify)(digest), rs, sig.recoveryParam) + .encode('hex', false) + ); } exports2.recoverPublicKey = recoverPublicKey; function computePublicKey(key, compressed) { @@ -15164,157 +15159,217 @@ var require_lib15 = __commonJS({ if (bytes.length === 32) { var signingKey = new SigningKey(bytes); if (compressed) { - return "0x" + getCurve().keyFromPrivate(bytes).getPublic(true, "hex"); + return '0x' + getCurve().keyFromPrivate(bytes).getPublic(true, 'hex'); } return signingKey.publicKey; } else if (bytes.length === 33) { if (compressed) { return (0, bytes_1.hexlify)(bytes); } - return "0x" + getCurve().keyFromPublic(bytes).getPublic(false, "hex"); + return '0x' + getCurve().keyFromPublic(bytes).getPublic(false, 'hex'); } else if (bytes.length === 65) { if (!compressed) { return (0, bytes_1.hexlify)(bytes); } - return "0x" + getCurve().keyFromPublic(bytes).getPublic(true, "hex"); + return '0x' + getCurve().keyFromPublic(bytes).getPublic(true, 'hex'); } - return logger.throwArgumentError("invalid public or private key", "key", "[REDACTED]"); + return logger.throwArgumentError('invalid public or private key', 'key', '[REDACTED]'); } exports2.computePublicKey = computePublicKey; - } + }, }); // node_modules/@ethersproject/sha2/lib/types.js var require_types = __commonJS({ - "node_modules/@ethersproject/sha2/lib/types.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/sha2/lib/types.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.SupportedAlgorithm = void 0; var SupportedAlgorithm; - (function(SupportedAlgorithm2) { - SupportedAlgorithm2["sha256"] = "sha256"; - SupportedAlgorithm2["sha512"] = "sha512"; - })(SupportedAlgorithm = exports2.SupportedAlgorithm || (exports2.SupportedAlgorithm = {})); - } + (function (SupportedAlgorithm2) { + SupportedAlgorithm2['sha256'] = 'sha256'; + SupportedAlgorithm2['sha512'] = 'sha512'; + })((SupportedAlgorithm = exports2.SupportedAlgorithm || (exports2.SupportedAlgorithm = {}))); + }, }); // node_modules/@ethersproject/sha2/lib/_version.js var require_version11 = __commonJS({ - "node_modules/@ethersproject/sha2/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/sha2/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "sha2/5.5.0"; - } + exports2.version = 'sha2/5.5.0'; + }, }); // node_modules/@ethersproject/sha2/lib/sha2.js var require_sha2 = __commonJS({ - "node_modules/@ethersproject/sha2/lib/sha2.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/sha2/lib/sha2.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.computeHmac = exports2.sha512 = exports2.sha256 = exports2.ripemd160 = void 0; - var crypto_1 = require("crypto"); + var crypto_1 = require('crypto'); var bytes_1 = require_lib2(); var types_1 = require_types(); var logger_1 = require_lib(); var _version_1 = require_version11(); var logger = new logger_1.Logger(_version_1.version); function ripemd160(data) { - return "0x" + (0, crypto_1.createHash)("ripemd160").update(Buffer.from((0, bytes_1.arrayify)(data))).digest("hex"); + return ( + '0x' + + (0, crypto_1.createHash)('ripemd160') + .update(Buffer.from((0, bytes_1.arrayify)(data))) + .digest('hex') + ); } exports2.ripemd160 = ripemd160; function sha256(data) { - return "0x" + (0, crypto_1.createHash)("sha256").update(Buffer.from((0, bytes_1.arrayify)(data))).digest("hex"); + return ( + '0x' + + (0, crypto_1.createHash)('sha256') + .update(Buffer.from((0, bytes_1.arrayify)(data))) + .digest('hex') + ); } exports2.sha256 = sha256; function sha512(data) { - return "0x" + (0, crypto_1.createHash)("sha512").update(Buffer.from((0, bytes_1.arrayify)(data))).digest("hex"); + return ( + '0x' + + (0, crypto_1.createHash)('sha512') + .update(Buffer.from((0, bytes_1.arrayify)(data))) + .digest('hex') + ); } exports2.sha512 = sha512; function computeHmac(algorithm, key, data) { if (!types_1.SupportedAlgorithm[algorithm]) { - logger.throwError("unsupported algorithm - " + algorithm, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "computeHmac", - algorithm - }); + logger.throwError( + 'unsupported algorithm - ' + algorithm, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'computeHmac', + algorithm, + } + ); } - return "0x" + (0, crypto_1.createHmac)(algorithm, Buffer.from((0, bytes_1.arrayify)(key))).update(Buffer.from((0, bytes_1.arrayify)(data))).digest("hex"); + return ( + '0x' + + (0, crypto_1.createHmac)(algorithm, Buffer.from((0, bytes_1.arrayify)(key))) + .update(Buffer.from((0, bytes_1.arrayify)(data))) + .digest('hex') + ); } exports2.computeHmac = computeHmac; - } + }, }); // node_modules/@ethersproject/sha2/lib/index.js var require_lib16 = __commonJS({ - "node_modules/@ethersproject/sha2/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.SupportedAlgorithm = exports2.sha512 = exports2.sha256 = exports2.ripemd160 = exports2.computeHmac = void 0; + 'node_modules/@ethersproject/sha2/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.SupportedAlgorithm = + exports2.sha512 = + exports2.sha256 = + exports2.ripemd160 = + exports2.computeHmac = + void 0; var sha2_1 = require_sha2(); - Object.defineProperty(exports2, "computeHmac", { enumerable: true, get: function() { - return sha2_1.computeHmac; - } }); - Object.defineProperty(exports2, "ripemd160", { enumerable: true, get: function() { - return sha2_1.ripemd160; - } }); - Object.defineProperty(exports2, "sha256", { enumerable: true, get: function() { - return sha2_1.sha256; - } }); - Object.defineProperty(exports2, "sha512", { enumerable: true, get: function() { - return sha2_1.sha512; - } }); + Object.defineProperty(exports2, 'computeHmac', { + enumerable: true, + get: function () { + return sha2_1.computeHmac; + }, + }); + Object.defineProperty(exports2, 'ripemd160', { + enumerable: true, + get: function () { + return sha2_1.ripemd160; + }, + }); + Object.defineProperty(exports2, 'sha256', { + enumerable: true, + get: function () { + return sha2_1.sha256; + }, + }); + Object.defineProperty(exports2, 'sha512', { + enumerable: true, + get: function () { + return sha2_1.sha512; + }, + }); var types_1 = require_types(); - Object.defineProperty(exports2, "SupportedAlgorithm", { enumerable: true, get: function() { - return types_1.SupportedAlgorithm; - } }); - } + Object.defineProperty(exports2, 'SupportedAlgorithm', { + enumerable: true, + get: function () { + return types_1.SupportedAlgorithm; + }, + }); + }, }); // node_modules/@ethersproject/transactions/lib/_version.js var require_version12 = __commonJS({ - "node_modules/@ethersproject/transactions/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/transactions/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "transactions/5.5.0"; - } + exports2.version = 'transactions/5.5.0'; + }, }); // node_modules/@ethersproject/transactions/lib/index.js var require_lib17 = __commonJS({ - "node_modules/@ethersproject/transactions/lib/index.js"(exports2) { - "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m[k]; - } }); - } : function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; - }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - } : function(o, v) { - o["default"] = v; - }); - var __importStar = exports2 && exports2.__importStar || function(mod) { - if (mod && mod.__esModule) - return mod; - var result = {}; - if (mod != null) { - for (var k in mod) - if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) - __createBinding(result, mod, k); - } - __setModuleDefault(result, mod); - return result; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.parse = exports2.serialize = exports2.accessListify = exports2.recoverAddress = exports2.computeAddress = exports2.TransactionTypes = void 0; + 'node_modules/@ethersproject/transactions/lib/index.js'(exports2) { + 'use strict'; + var __createBinding = + (exports2 && exports2.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + Object.defineProperty(o, k2, { + enumerable: true, + get: function () { + return m[k]; + }, + }); + } + : function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __setModuleDefault = + (exports2 && exports2.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, 'default', { enumerable: true, value: v }); + } + : function (o, v) { + o['default'] = v; + }); + var __importStar = + (exports2 && exports2.__importStar) || + function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) { + for (var k in mod) + if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k)) + __createBinding(result, mod, k); + } + __setModuleDefault(result, mod); + return result; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.parse = + exports2.serialize = + exports2.accessListify = + exports2.recoverAddress = + exports2.computeAddress = + exports2.TransactionTypes = + void 0; var address_1 = require_lib7(); var bignumber_1 = require_lib3(); var bytes_1 = require_lib2(); @@ -15327,30 +15382,30 @@ var require_lib17 = __commonJS({ var _version_1 = require_version12(); var logger = new logger_1.Logger(_version_1.version); var TransactionTypes; - (function(TransactionTypes2) { - TransactionTypes2[TransactionTypes2["legacy"] = 0] = "legacy"; - TransactionTypes2[TransactionTypes2["eip2930"] = 1] = "eip2930"; - TransactionTypes2[TransactionTypes2["eip1559"] = 2] = "eip1559"; - })(TransactionTypes = exports2.TransactionTypes || (exports2.TransactionTypes = {})); + (function (TransactionTypes2) { + TransactionTypes2[(TransactionTypes2['legacy'] = 0)] = 'legacy'; + TransactionTypes2[(TransactionTypes2['eip2930'] = 1)] = 'eip2930'; + TransactionTypes2[(TransactionTypes2['eip1559'] = 2)] = 'eip1559'; + })((TransactionTypes = exports2.TransactionTypes || (exports2.TransactionTypes = {}))); function handleAddress(value) { - if (value === "0x") { + if (value === '0x') { return null; } return (0, address_1.getAddress)(value); } function handleNumber(value) { - if (value === "0x") { + if (value === '0x') { return constants_1.Zero; } return bignumber_1.BigNumber.from(value); } var transactionFields = [ - { name: "nonce", maxLength: 32, numeric: true }, - { name: "gasPrice", maxLength: 32, numeric: true }, - { name: "gasLimit", maxLength: 32, numeric: true }, - { name: "to", length: 20 }, - { name: "value", maxLength: 32, numeric: true }, - { name: "data" } + { name: 'nonce', maxLength: 32, numeric: true }, + { name: 'gasPrice', maxLength: 32, numeric: true }, + { name: 'gasLimit', maxLength: 32, numeric: true }, + { name: 'to', length: 20 }, + { name: 'value', maxLength: 32, numeric: true }, + { name: 'data' }, ]; var allowedTransactionKeys = { chainId: true, @@ -15360,62 +15415,77 @@ var require_lib17 = __commonJS({ nonce: true, to: true, type: true, - value: true + value: true, }; function computeAddress(key) { var publicKey = (0, signing_key_1.computePublicKey)(key); - return (0, address_1.getAddress)((0, bytes_1.hexDataSlice)((0, keccak256_1.keccak256)((0, bytes_1.hexDataSlice)(publicKey, 1)), 12)); + return (0, address_1.getAddress)( + (0, bytes_1.hexDataSlice)( + (0, keccak256_1.keccak256)((0, bytes_1.hexDataSlice)(publicKey, 1)), + 12 + ) + ); } exports2.computeAddress = computeAddress; function recoverAddress(digest, signature) { - return computeAddress((0, signing_key_1.recoverPublicKey)((0, bytes_1.arrayify)(digest), signature)); + return computeAddress( + (0, signing_key_1.recoverPublicKey)((0, bytes_1.arrayify)(digest), signature) + ); } exports2.recoverAddress = recoverAddress; function formatNumber(value, name2) { var result = (0, bytes_1.stripZeros)(bignumber_1.BigNumber.from(value).toHexString()); if (result.length > 32) { - logger.throwArgumentError("invalid length for " + name2, "transaction:" + name2, value); + logger.throwArgumentError('invalid length for ' + name2, 'transaction:' + name2, value); } return result; } function accessSetify(addr, storageKeys) { return { address: (0, address_1.getAddress)(addr), - storageKeys: (storageKeys || []).map(function(storageKey, index) { + storageKeys: (storageKeys || []).map(function (storageKey, index) { if ((0, bytes_1.hexDataLength)(storageKey) !== 32) { - logger.throwArgumentError("invalid access list storageKey", "accessList[" + addr + ":" + index + "]", storageKey); + logger.throwArgumentError( + 'invalid access list storageKey', + 'accessList[' + addr + ':' + index + ']', + storageKey + ); } return storageKey.toLowerCase(); - }) + }), }; } function accessListify(value) { if (Array.isArray(value)) { - return value.map(function(set, index) { + return value.map(function (set, index) { if (Array.isArray(set)) { if (set.length > 2) { - logger.throwArgumentError("access list expected to be [ address, storageKeys[] ]", "value[" + index + "]", set); + logger.throwArgumentError( + 'access list expected to be [ address, storageKeys[] ]', + 'value[' + index + ']', + set + ); } return accessSetify(set[0], set[1]); } return accessSetify(set.address, set.storageKeys); }); } - var result = Object.keys(value).map(function(addr) { - var storageKeys = value[addr].reduce(function(accum, storageKey) { + var result = Object.keys(value).map(function (addr) { + var storageKeys = value[addr].reduce(function (accum, storageKey) { accum[storageKey] = true; return accum; }, {}); return accessSetify(addr, Object.keys(storageKeys).sort()); }); - result.sort(function(a, b) { + result.sort(function (a, b) { return a.address.localeCompare(b.address); }); return result; } exports2.accessListify = accessListify; function formatAccessList(value) { - return accessListify(value).map(function(set) { + return accessListify(value).map(function (set) { return [set.address, set.storageKeys]; }); } @@ -15424,67 +15494,75 @@ var require_lib17 = __commonJS({ var gasPrice = bignumber_1.BigNumber.from(transaction.gasPrice); var maxFeePerGas = bignumber_1.BigNumber.from(transaction.maxFeePerGas || 0); if (!gasPrice.eq(maxFeePerGas)) { - logger.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas", "tx", { + logger.throwArgumentError('mismatch EIP-1559 gasPrice != maxFeePerGas', 'tx', { gasPrice, - maxFeePerGas + maxFeePerGas, }); } } var fields = [ - formatNumber(transaction.chainId || 0, "chainId"), - formatNumber(transaction.nonce || 0, "nonce"), - formatNumber(transaction.maxPriorityFeePerGas || 0, "maxPriorityFeePerGas"), - formatNumber(transaction.maxFeePerGas || 0, "maxFeePerGas"), - formatNumber(transaction.gasLimit || 0, "gasLimit"), - transaction.to != null ? (0, address_1.getAddress)(transaction.to) : "0x", - formatNumber(transaction.value || 0, "value"), - transaction.data || "0x", - formatAccessList(transaction.accessList || []) + formatNumber(transaction.chainId || 0, 'chainId'), + formatNumber(transaction.nonce || 0, 'nonce'), + formatNumber(transaction.maxPriorityFeePerGas || 0, 'maxPriorityFeePerGas'), + formatNumber(transaction.maxFeePerGas || 0, 'maxFeePerGas'), + formatNumber(transaction.gasLimit || 0, 'gasLimit'), + transaction.to != null ? (0, address_1.getAddress)(transaction.to) : '0x', + formatNumber(transaction.value || 0, 'value'), + transaction.data || '0x', + formatAccessList(transaction.accessList || []), ]; if (signature) { var sig = (0, bytes_1.splitSignature)(signature); - fields.push(formatNumber(sig.recoveryParam, "recoveryParam")); + fields.push(formatNumber(sig.recoveryParam, 'recoveryParam')); fields.push((0, bytes_1.stripZeros)(sig.r)); fields.push((0, bytes_1.stripZeros)(sig.s)); } - return (0, bytes_1.hexConcat)(["0x02", RLP.encode(fields)]); + return (0, bytes_1.hexConcat)(['0x02', RLP.encode(fields)]); } function _serializeEip2930(transaction, signature) { var fields = [ - formatNumber(transaction.chainId || 0, "chainId"), - formatNumber(transaction.nonce || 0, "nonce"), - formatNumber(transaction.gasPrice || 0, "gasPrice"), - formatNumber(transaction.gasLimit || 0, "gasLimit"), - transaction.to != null ? (0, address_1.getAddress)(transaction.to) : "0x", - formatNumber(transaction.value || 0, "value"), - transaction.data || "0x", - formatAccessList(transaction.accessList || []) + formatNumber(transaction.chainId || 0, 'chainId'), + formatNumber(transaction.nonce || 0, 'nonce'), + formatNumber(transaction.gasPrice || 0, 'gasPrice'), + formatNumber(transaction.gasLimit || 0, 'gasLimit'), + transaction.to != null ? (0, address_1.getAddress)(transaction.to) : '0x', + formatNumber(transaction.value || 0, 'value'), + transaction.data || '0x', + formatAccessList(transaction.accessList || []), ]; if (signature) { var sig = (0, bytes_1.splitSignature)(signature); - fields.push(formatNumber(sig.recoveryParam, "recoveryParam")); + fields.push(formatNumber(sig.recoveryParam, 'recoveryParam')); fields.push((0, bytes_1.stripZeros)(sig.r)); fields.push((0, bytes_1.stripZeros)(sig.s)); } - return (0, bytes_1.hexConcat)(["0x01", RLP.encode(fields)]); + return (0, bytes_1.hexConcat)(['0x01', RLP.encode(fields)]); } function _serialize(transaction, signature) { (0, properties_1.checkProperties)(transaction, allowedTransactionKeys); var raw = []; - transactionFields.forEach(function(fieldInfo) { + transactionFields.forEach(function (fieldInfo) { var value = transaction[fieldInfo.name] || []; var options2 = {}; if (fieldInfo.numeric) { - options2.hexPad = "left"; + options2.hexPad = 'left'; } value = (0, bytes_1.arrayify)((0, bytes_1.hexlify)(value, options2)); if (fieldInfo.length && value.length !== fieldInfo.length && value.length > 0) { - logger.throwArgumentError("invalid length for " + fieldInfo.name, "transaction:" + fieldInfo.name, value); + logger.throwArgumentError( + 'invalid length for ' + fieldInfo.name, + 'transaction:' + fieldInfo.name, + value + ); } if (fieldInfo.maxLength) { value = (0, bytes_1.stripZeros)(value); if (value.length > fieldInfo.maxLength) { - logger.throwArgumentError("invalid length for " + fieldInfo.name, "transaction:" + fieldInfo.name, value); + logger.throwArgumentError( + 'invalid length for ' + fieldInfo.name, + 'transaction:' + fieldInfo.name, + value + ); } } raw.push((0, bytes_1.hexlify)(value)); @@ -15492,16 +15570,16 @@ var require_lib17 = __commonJS({ var chainId = 0; if (transaction.chainId != null) { chainId = transaction.chainId; - if (typeof chainId !== "number") { - logger.throwArgumentError("invalid transaction.chainId", "transaction", transaction); + if (typeof chainId !== 'number') { + logger.throwArgumentError('invalid transaction.chainId', 'transaction', transaction); } } else if (signature && !(0, bytes_1.isBytesLike)(signature) && signature.v > 28) { chainId = Math.floor((signature.v - 35) / 2); } if (chainId !== 0) { raw.push((0, bytes_1.hexlify)(chainId)); - raw.push("0x"); - raw.push("0x"); + raw.push('0x'); + raw.push('0x'); } if (!signature) { return RLP.encode(raw); @@ -15514,10 +15592,18 @@ var require_lib17 = __commonJS({ raw.pop(); v += chainId * 2 + 8; if (sig.v > 28 && sig.v !== v) { - logger.throwArgumentError("transaction.chainId/signature.v mismatch", "signature", signature); + logger.throwArgumentError( + 'transaction.chainId/signature.v mismatch', + 'signature', + signature + ); } } else if (sig.v !== v) { - logger.throwArgumentError("transaction.chainId/signature.v mismatch", "signature", signature); + logger.throwArgumentError( + 'transaction.chainId/signature.v mismatch', + 'signature', + signature + ); } raw.push((0, bytes_1.hexlify)(v)); raw.push((0, bytes_1.stripZeros)((0, bytes_1.arrayify)(sig.r))); @@ -15527,7 +15613,11 @@ var require_lib17 = __commonJS({ function serialize(transaction, signature) { if (transaction.type == null || transaction.type === 0) { if (transaction.accessList != null) { - logger.throwArgumentError("untyped transactions do not support accessList; include type: 1", "transaction", transaction); + logger.throwArgumentError( + 'untyped transactions do not support accessList; include type: 1', + 'transaction', + transaction + ); } return _serialize(transaction, signature); } @@ -15539,21 +15629,25 @@ var require_lib17 = __commonJS({ default: break; } - return logger.throwError("unsupported transaction type: " + transaction.type, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "serializeTransaction", - transactionType: transaction.type - }); + return logger.throwError( + 'unsupported transaction type: ' + transaction.type, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'serializeTransaction', + transactionType: transaction.type, + } + ); } exports2.serialize = serialize; function _parseEipSignature(tx, fields, serialize2) { try { var recid = handleNumber(fields[0]).toNumber(); if (recid !== 0 && recid !== 1) { - throw new Error("bad recid"); + throw new Error('bad recid'); } tx.v = recid; } catch (error) { - logger.throwArgumentError("invalid v for transaction type: 1", "v", fields[0]); + logger.throwArgumentError('invalid v for transaction type: 1', 'v', fields[0]); } tx.r = (0, bytes_1.hexZeroPad)(fields[1], 32); tx.s = (0, bytes_1.hexZeroPad)(fields[2], 32); @@ -15567,7 +15661,11 @@ var require_lib17 = __commonJS({ function _parseEip1559(payload) { var transaction = RLP.decode(payload.slice(1)); if (transaction.length !== 9 && transaction.length !== 12) { - logger.throwArgumentError("invalid component count for transaction type: 2", "payload", (0, bytes_1.hexlify)(payload)); + logger.throwArgumentError( + 'invalid component count for transaction type: 2', + 'payload', + (0, bytes_1.hexlify)(payload) + ); } var maxPriorityFeePerGas = handleNumber(transaction[2]); var maxFeePerGas = handleNumber(transaction[3]); @@ -15582,7 +15680,7 @@ var require_lib17 = __commonJS({ to: handleAddress(transaction[5]), value: handleNumber(transaction[6]), data: transaction[7], - accessList: accessListify(transaction[8]) + accessList: accessListify(transaction[8]), }; if (transaction.length === 9) { return tx; @@ -15594,7 +15692,11 @@ var require_lib17 = __commonJS({ function _parseEip2930(payload) { var transaction = RLP.decode(payload.slice(1)); if (transaction.length !== 8 && transaction.length !== 11) { - logger.throwArgumentError("invalid component count for transaction type: 1", "payload", (0, bytes_1.hexlify)(payload)); + logger.throwArgumentError( + 'invalid component count for transaction type: 1', + 'payload', + (0, bytes_1.hexlify)(payload) + ); } var tx = { type: 1, @@ -15605,7 +15707,7 @@ var require_lib17 = __commonJS({ to: handleAddress(transaction[4]), value: handleNumber(transaction[5]), data: transaction[6], - accessList: accessListify(transaction[7]) + accessList: accessListify(transaction[7]), }; if (transaction.length === 8) { return tx; @@ -15617,7 +15719,7 @@ var require_lib17 = __commonJS({ function _parse(rawTransaction) { var transaction = RLP.decode(rawTransaction); if (transaction.length !== 9 && transaction.length !== 6) { - logger.throwArgumentError("invalid raw transaction", "rawTransaction", rawTransaction); + logger.throwArgumentError('invalid raw transaction', 'rawTransaction', rawTransaction); } var tx = { nonce: handleNumber(transaction[0]).toNumber(), @@ -15626,7 +15728,7 @@ var require_lib17 = __commonJS({ to: handleAddress(transaction[3]), value: handleNumber(transaction[4]), data: transaction[5], - chainId: 0 + chainId: 0, }; if (transaction.length === 6) { return tx; @@ -15651,13 +15753,17 @@ var require_lib17 = __commonJS({ var raw = transaction.slice(0, 6); if (tx.chainId !== 0) { raw.push((0, bytes_1.hexlify)(tx.chainId)); - raw.push("0x"); - raw.push("0x"); + raw.push('0x'); + raw.push('0x'); recoveryParam -= tx.chainId * 2 + 8; } var digest = (0, keccak256_1.keccak256)(RLP.encode(raw)); try { - tx.from = recoverAddress(digest, { r: (0, bytes_1.hexlify)(tx.r), s: (0, bytes_1.hexlify)(tx.s), recoveryParam }); + tx.from = recoverAddress(digest, { + r: (0, bytes_1.hexlify)(tx.r), + s: (0, bytes_1.hexlify)(tx.s), + recoveryParam, + }); } catch (error) { console.log(error); } @@ -15679,30 +15785,34 @@ var require_lib17 = __commonJS({ default: break; } - return logger.throwError("unsupported transaction type: " + payload[0], logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "parseTransaction", - transactionType: payload[0] - }); + return logger.throwError( + 'unsupported transaction type: ' + payload[0], + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'parseTransaction', + transactionType: payload[0], + } + ); } exports2.parse = parse2; - } + }, }); // node_modules/@ethersproject/wordlists/lib/_version.js var require_version13 = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/wordlists/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "wordlists/5.5.0"; - } + exports2.version = 'wordlists/5.5.0'; + }, }); // node_modules/@ethersproject/wordlists/lib/wordlist.js var require_wordlist = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/wordlist.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/wordlists/lib/wordlist.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.Wordlist = exports2.logger = void 0; var exportWordlist = false; var hash_1 = require_lib10(); @@ -15710,30 +15820,30 @@ var require_wordlist = __commonJS({ var logger_1 = require_lib(); var _version_1 = require_version13(); exports2.logger = new logger_1.Logger(_version_1.version); - var Wordlist = function() { + var Wordlist = (function () { function Wordlist2(locale) { var _newTarget = this.constructor; exports2.logger.checkAbstract(_newTarget, Wordlist2); - (0, properties_1.defineReadOnly)(this, "locale", locale); + (0, properties_1.defineReadOnly)(this, 'locale', locale); } - Wordlist2.prototype.split = function(mnemonic) { + Wordlist2.prototype.split = function (mnemonic) { return mnemonic.toLowerCase().split(/ +/g); }; - Wordlist2.prototype.join = function(words) { - return words.join(" "); + Wordlist2.prototype.join = function (words) { + return words.join(' '); }; - Wordlist2.check = function(wordlist) { + Wordlist2.check = function (wordlist) { var words = []; for (var i = 0; i < 2048; i++) { var word = wordlist.getWord(i); if (i !== wordlist.getWordIndex(word)) { - return "0x"; + return '0x'; } words.push(word); } - return (0, hash_1.id)(words.join("\n") + "\n"); + return (0, hash_1.id)(words.join('\n') + '\n'); }; - Wordlist2.register = function(lang, name2) { + Wordlist2.register = function (lang, name2) { if (!name2) { name2 = lang.locale; } @@ -15745,179 +15855,218 @@ var require_wordlist = __commonJS({ (0, properties_1.defineReadOnly)(anyGlobal._ethers.wordlists, name2, lang); } } - } catch (error) { - } + } catch (error) {} } }; return Wordlist2; - }(); + })(); exports2.Wordlist = Wordlist; - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-cz.js var require_lang_cz = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-cz.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-cz.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langCz = void 0; var wordlist_1 = require_wordlist(); - var words = "AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk"; + var words = + 'AbdikaceAbecedaAdresaAgreseAkceAktovkaAlejAlkoholAmputaceAnanasAndulkaAnekdotaAnketaAntikaAnulovatArchaAroganceAsfaltAsistentAspiraceAstmaAstronomAtlasAtletikaAtolAutobusAzylBabkaBachorBacilBaculkaBadatelBagetaBagrBahnoBakterieBaladaBaletkaBalkonBalonekBalvanBalzaBambusBankomatBarbarBaretBarmanBarokoBarvaBaterkaBatohBavlnaBazalkaBazilikaBazukaBednaBeranBesedaBestieBetonBezinkaBezmocBeztakBicyklBidloBiftekBikinyBilanceBiografBiologBitvaBizonBlahobytBlatouchBlechaBleduleBleskBlikatBliznaBlokovatBlouditBludBobekBobrBodlinaBodnoutBohatostBojkotBojovatBokorysBolestBorecBoroviceBotaBoubelBouchatBoudaBouleBouratBoxerBradavkaBramboraBrankaBratrBreptaBriketaBrkoBrlohBronzBroskevBrunetkaBrusinkaBrzdaBrzyBublinaBubnovatBuchtaBuditelBudkaBudovaBufetBujarostBukviceBuldokBulvaBundaBunkrBurzaButikBuvolBuzolaBydletBylinaBytovkaBzukotCapartCarevnaCedrCeduleCejchCejnCelaCelerCelkemCelniceCeninaCennostCenovkaCentrumCenzorCestopisCetkaChalupaChapadloCharitaChataChechtatChemieChichotChirurgChladChlebaChlubitChmelChmuraChobotChocholChodbaCholeraChomoutChopitChorobaChovChrapotChrlitChrtChrupChtivostChudinaChutnatChvatChvilkaChvostChybaChystatChytitCibuleCigaretaCihelnaCihlaCinkotCirkusCisternaCitaceCitrusCizinecCizostClonaCokolivCouvatCtitelCtnostCudnostCuketaCukrCupotCvaknoutCvalCvikCvrkotCyklistaDalekoDarebaDatelDatumDceraDebataDechovkaDecibelDeficitDeflaceDeklDekretDemokratDepreseDerbyDeskaDetektivDikobrazDiktovatDiodaDiplomDiskDisplejDivadloDivochDlahaDlouhoDluhopisDnesDobroDobytekDocentDochutitDodnesDohledDohodaDohraDojemDojniceDokladDokolaDoktorDokumentDolarDolevaDolinaDomaDominantDomluvitDomovDonutitDopadDopisDoplnitDoposudDoprovodDopustitDorazitDorostDortDosahDoslovDostatekDosudDosytaDotazDotekDotknoutDoufatDoutnatDovozceDozaduDoznatDozorceDrahotaDrakDramatikDravecDrazeDrdolDrobnostDrogerieDrozdDrsnostDrtitDrzostDubenDuchovnoDudekDuhaDuhovkaDusitDusnoDutostDvojiceDvorecDynamitEkologEkonomieElektronElipsaEmailEmiseEmoceEmpatieEpizodaEpochaEpopejEposEsejEsenceEskortaEskymoEtiketaEuforieEvoluceExekuceExkurzeExpediceExplozeExportExtraktFackaFajfkaFakultaFanatikFantazieFarmacieFavoritFazoleFederaceFejetonFenkaFialkaFigurantFilozofFiltrFinanceFintaFixaceFjordFlanelFlirtFlotilaFondFosforFotbalFotkaFotonFrakceFreskaFrontaFukarFunkceFyzikaGalejeGarantGenetikaGeologGilotinaGlazuraGlejtGolemGolfistaGotikaGrafGramofonGranuleGrepGrilGrogGroteskaGumaHadiceHadrHalaHalenkaHanbaHanopisHarfaHarpunaHavranHebkostHejkalHejnoHejtmanHektarHelmaHematomHerecHernaHesloHezkyHistorikHladovkaHlasivkyHlavaHledatHlenHlodavecHlohHloupostHltatHlubinaHluchotaHmatHmotaHmyzHnisHnojivoHnoutHoblinaHobojHochHodinyHodlatHodnotaHodovatHojnostHokejHolinkaHolkaHolubHomoleHonitbaHonoraceHoralHordaHorizontHorkoHorlivecHormonHorninaHoroskopHorstvoHospodaHostinaHotovostHoubaHoufHoupatHouskaHovorHradbaHraniceHravostHrazdaHrbolekHrdinaHrdloHrdostHrnekHrobkaHromadaHrotHroudaHrozenHrstkaHrubostHryzatHubenostHubnoutHudbaHukotHumrHusitaHustotaHvozdHybnostHydrantHygienaHymnaHysterikIdylkaIhnedIkonaIluzeImunitaInfekceInflaceInkasoInovaceInspekceInternetInvalidaInvestorInzerceIronieJablkoJachtaJahodaJakmileJakostJalovecJantarJarmarkJaroJasanJasnoJatkaJavorJazykJedinecJedleJednatelJehlanJekotJelenJelitoJemnostJenomJepiceJeseterJevitJezdecJezeroJinakJindyJinochJiskraJistotaJitrniceJizvaJmenovatJogurtJurtaKabaretKabelKabinetKachnaKadetKadidloKahanKajakKajutaKakaoKaktusKalamitaKalhotyKalibrKalnostKameraKamkolivKamnaKanibalKanoeKantorKapalinaKapelaKapitolaKapkaKapleKapotaKaprKapustaKapybaraKaramelKarotkaKartonKasaKatalogKatedraKauceKauzaKavalecKazajkaKazetaKazivostKdekolivKdesiKedlubenKempKeramikaKinoKlacekKladivoKlamKlapotKlasikaKlaunKlecKlenbaKlepatKlesnoutKlidKlimaKlisnaKloboukKlokanKlopaKloubKlubovnaKlusatKluzkostKmenKmitatKmotrKnihaKnotKoaliceKoberecKobkaKoblihaKobylaKocourKohoutKojenecKokosKoktejlKolapsKoledaKolizeKoloKomandoKometaKomikKomnataKomoraKompasKomunitaKonatKonceptKondiceKonecKonfeseKongresKoninaKonkursKontaktKonzervaKopanecKopieKopnoutKoprovkaKorbelKorektorKormidloKoroptevKorpusKorunaKorytoKorzetKosatecKostkaKotelKotletaKotoulKoukatKoupelnaKousekKouzloKovbojKozaKozorohKrabiceKrachKrajinaKralovatKrasopisKravataKreditKrejcarKresbaKrevetaKriketKritikKrizeKrkavecKrmelecKrmivoKrocanKrokKronikaKropitKroupaKrovkaKrtekKruhadloKrupiceKrutostKrvinkaKrychleKryptaKrystalKrytKudlankaKufrKujnostKuklaKulajdaKulichKulkaKulometKulturaKunaKupodivuKurtKurzorKutilKvalitaKvasinkaKvestorKynologKyselinaKytaraKyticeKytkaKytovecKyvadloLabradorLachtanLadnostLaikLakomecLamelaLampaLanovkaLasiceLasoLasturaLatinkaLavinaLebkaLeckdyLedenLedniceLedovkaLedvinaLegendaLegieLegraceLehceLehkostLehnoutLektvarLenochodLentilkaLepenkaLepidloLetadloLetecLetmoLetokruhLevhartLevitaceLevobokLibraLichotkaLidojedLidskostLihovinaLijavecLilekLimetkaLinieLinkaLinoleumListopadLitinaLitovatLobistaLodivodLogikaLogopedLokalitaLoketLomcovatLopataLopuchLordLososLotrLoudalLouhLoukaLouskatLovecLstivostLucernaLuciferLumpLuskLustraceLviceLyraLyrikaLysinaMadamMadloMagistrMahagonMajetekMajitelMajoritaMakakMakoviceMakrelaMalbaMalinaMalovatMalviceMaminkaMandleMankoMarnostMasakrMaskotMasopustMaticeMatrikaMaturitaMazanecMazivoMazlitMazurkaMdlobaMechanikMeditaceMedovinaMelasaMelounMentolkaMetlaMetodaMetrMezeraMigraceMihnoutMihuleMikinaMikrofonMilenecMilimetrMilostMimikaMincovnaMinibarMinometMinulostMiskaMistrMixovatMladostMlhaMlhovinaMlokMlsatMluvitMnichMnohemMobilMocnostModelkaModlitbaMohylaMokroMolekulaMomentkaMonarchaMonoklMonstrumMontovatMonzunMosazMoskytMostMotivaceMotorkaMotykaMouchaMoudrostMozaikaMozekMozolMramorMravenecMrkevMrtvolaMrzetMrzutostMstitelMudrcMuflonMulatMumieMuniceMusetMutaceMuzeumMuzikantMyslivecMzdaNabouratNachytatNadaceNadbytekNadhozNadobroNadpisNahlasNahnatNahodileNahraditNaivitaNajednouNajistoNajmoutNaklonitNakonecNakrmitNalevoNamazatNamluvitNanometrNaokoNaopakNaostroNapadatNapevnoNaplnitNapnoutNaposledNaprostoNaroditNarubyNarychloNasaditNasekatNaslepoNastatNatolikNavenekNavrchNavzdoryNazvatNebeNechatNeckyNedalekoNedbatNeduhNegaceNehetNehodaNejenNejprveNeklidNelibostNemilostNemocNeochotaNeonkaNepokojNerostNervNesmyslNesouladNetvorNeuronNevinaNezvykleNicotaNijakNikamNikdyNiklNikterakNitroNoclehNohaviceNominaceNoraNorekNositelNosnostNouzeNovinyNovotaNozdraNudaNudleNugetNutitNutnostNutrieNymfaObalObarvitObavaObdivObecObehnatObejmoutObezitaObhajobaObilniceObjasnitObjektObklopitOblastOblekOblibaOblohaObludaObnosObohatitObojekOboutObrazecObrnaObrubaObrysObsahObsluhaObstaratObuvObvazObvinitObvodObvykleObyvatelObzorOcasOcelOcenitOchladitOchotaOchranaOcitnoutOdbojOdbytOdchodOdcizitOdebratOdeslatOdevzdatOdezvaOdhadceOdhoditOdjetOdjinudOdkazOdkoupitOdlivOdlukaOdmlkaOdolnostOdpadOdpisOdploutOdporOdpustitOdpykatOdrazkaOdsouditOdstupOdsunOdtokOdtudOdvahaOdvetaOdvolatOdvracetOdznakOfinaOfsajdOhlasOhniskoOhradaOhrozitOhryzekOkapOkeniceOklikaOknoOkouzlitOkovyOkrasaOkresOkrsekOkruhOkupantOkurkaOkusitOlejninaOlizovatOmakOmeletaOmezitOmladinaOmlouvatOmluvaOmylOnehdyOpakovatOpasekOperaceOpiceOpilostOpisovatOporaOpoziceOpravduOprotiOrbitalOrchestrOrgieOrliceOrlojOrtelOsadaOschnoutOsikaOsivoOslavaOslepitOslnitOslovitOsnovaOsobaOsolitOspalecOstenOstrahaOstudaOstychOsvojitOteplitOtiskOtopOtrhatOtrlostOtrokOtrubyOtvorOvanoutOvarOvesOvlivnitOvoceOxidOzdobaPachatelPacientPadouchPahorekPaktPalandaPalecPalivoPalubaPamfletPamlsekPanenkaPanikaPannaPanovatPanstvoPantoflePaprikaParketaParodiePartaParukaParybaPasekaPasivitaPastelkaPatentPatronaPavoukPaznehtPazourekPeckaPedagogPejsekPekloPelotonPenaltaPendrekPenzePeriskopPeroPestrostPetardaPeticePetrolejPevninaPexesoPianistaPihaPijavicePiklePiknikPilinaPilnostPilulkaPinzetaPipetaPisatelPistolePitevnaPivnicePivovarPlacentaPlakatPlamenPlanetaPlastikaPlatitPlavidloPlazPlechPlemenoPlentaPlesPletivoPlevelPlivatPlnitPlnoPlochaPlodinaPlombaPloutPlukPlynPobavitPobytPochodPocitPoctivecPodatPodcenitPodepsatPodhledPodivitPodkladPodmanitPodnikPodobaPodporaPodrazPodstataPodvodPodzimPoeziePohankaPohnutkaPohovorPohromaPohybPointaPojistkaPojmoutPokazitPoklesPokojPokrokPokutaPokynPolednePolibekPolknoutPolohaPolynomPomaluPominoutPomlkaPomocPomstaPomysletPonechatPonorkaPonurostPopadatPopelPopisekPoplachPoprositPopsatPopudPoradcePorcePorodPoruchaPoryvPosaditPosedPosilaPoskokPoslanecPosouditPospoluPostavaPosudekPosypPotahPotkanPotleskPotomekPotravaPotupaPotvoraPoukazPoutoPouzdroPovahaPovidlaPovlakPovozPovrchPovstatPovykPovzdechPozdravPozemekPoznatekPozorPozvatPracovatPrahoryPraktikaPralesPraotecPraporekPrasePravdaPrincipPrknoProbuditProcentoProdejProfeseProhraProjektProlomitPromilePronikatPropadProrokProsbaProtonProutekProvazPrskavkaPrstenPrudkostPrutPrvekPrvohoryPsanecPsovodPstruhPtactvoPubertaPuchPudlPukavecPuklinaPukrlePultPumpaPuncPupenPusaPusinkaPustinaPutovatPutykaPyramidaPyskPytelRacekRachotRadiaceRadniceRadonRaftRagbyRaketaRakovinaRamenoRampouchRandeRarachRaritaRasovnaRastrRatolestRazanceRazidloReagovatReakceReceptRedaktorReferentReflexRejnokReklamaRekordRekrutRektorReputaceRevizeRevmaRevolverRezervaRiskovatRizikoRobotikaRodokmenRohovkaRokleRokokoRomanetoRopovodRopuchaRorejsRosolRostlinaRotmistrRotopedRotundaRoubenkaRouchoRoupRouraRovinaRovniceRozborRozchodRozdatRozeznatRozhodceRozinkaRozjezdRozkazRozlohaRozmarRozpadRozruchRozsahRoztokRozumRozvodRubrikaRuchadloRukaviceRukopisRybaRybolovRychlostRydloRypadloRytinaRyzostSadistaSahatSakoSamecSamizdatSamotaSanitkaSardinkaSasankaSatelitSazbaSazeniceSborSchovatSebrankaSeceseSedadloSedimentSedloSehnatSejmoutSekeraSektaSekundaSekvojeSemenoSenoServisSesaditSeshoraSeskokSeslatSestraSesuvSesypatSetbaSetinaSetkatSetnoutSetrvatSeverSeznamShodaShrnoutSifonSilniceSirkaSirotekSirupSituaceSkafandrSkaliskoSkanzenSkautSkeptikSkicaSkladbaSkleniceSkloSkluzSkobaSkokanSkoroSkriptaSkrzSkupinaSkvostSkvrnaSlabikaSladidloSlaninaSlastSlavnostSledovatSlepecSlevaSlezinaSlibSlinaSlizniceSlonSloupekSlovoSluchSluhaSlunceSlupkaSlzaSmaragdSmetanaSmilstvoSmlouvaSmogSmradSmrkSmrtkaSmutekSmyslSnadSnahaSnobSobotaSochaSodovkaSokolSopkaSotvaSoubojSoucitSoudceSouhlasSouladSoumrakSoupravaSousedSoutokSouvisetSpalovnaSpasitelSpisSplavSpodekSpojenecSpoluSponzorSpornostSpoustaSprchaSpustitSrandaSrazSrdceSrnaSrnecSrovnatSrpenSrstSrubStaniceStarostaStatikaStavbaStehnoStezkaStodolaStolekStopaStornoStoupatStrachStresStrhnoutStromStrunaStudnaStupniceStvolStykSubjektSubtropySucharSudostSuknoSundatSunoutSurikataSurovinaSvahSvalstvoSvetrSvatbaSvazekSvisleSvitekSvobodaSvodidloSvorkaSvrabSykavkaSykotSynekSynovecSypatSypkostSyrovostSyselSytostTabletkaTabuleTahounTajemnoTajfunTajgaTajitTajnostTaktikaTamhleTamponTancovatTanecTankerTapetaTaveninaTazatelTechnikaTehdyTekutinaTelefonTemnotaTendenceTenistaTenorTeplotaTepnaTeprveTerapieTermoskaTextilTichoTiskopisTitulekTkadlecTkaninaTlapkaTleskatTlukotTlupaTmelToaletaTopinkaTopolTorzoTouhaToulecTradiceTraktorTrampTrasaTraverzaTrefitTrestTrezorTrhavinaTrhlinaTrochuTrojiceTroskaTroubaTrpceTrpitelTrpkostTrubecTruchlitTruhliceTrusTrvatTudyTuhnoutTuhostTundraTuristaTurnajTuzemskoTvarohTvorbaTvrdostTvrzTygrTykevUbohostUbozeUbratUbrousekUbrusUbytovnaUchoUctivostUdivitUhraditUjednatUjistitUjmoutUkazatelUklidnitUklonitUkotvitUkrojitUliceUlitaUlovitUmyvadloUnavitUniformaUniknoutUpadnoutUplatnitUplynoutUpoutatUpravitUranUrazitUsednoutUsilovatUsmrtitUsnadnitUsnoutUsouditUstlatUstrnoutUtahovatUtkatUtlumitUtonoutUtopenecUtrousitUvalitUvolnitUvozovkaUzdravitUzelUzeninaUzlinaUznatVagonValchaValounVanaVandalVanilkaVaranVarhanyVarovatVcelkuVchodVdovaVedroVegetaceVejceVelbloudVeletrhVelitelVelmocVelrybaVenkovVerandaVerzeVeselkaVeskrzeVesniceVespoduVestaVeterinaVeverkaVibraceVichrVideohraVidinaVidleVilaViniceVisetVitalitaVizeVizitkaVjezdVkladVkusVlajkaVlakVlasecVlevoVlhkostVlivVlnovkaVloupatVnucovatVnukVodaVodivostVodoznakVodstvoVojenskyVojnaVojskoVolantVolbaVolitVolnoVoskovkaVozidloVozovnaVpravoVrabecVracetVrahVrataVrbaVrcholekVrhatVrstvaVrtuleVsaditVstoupitVstupVtipVybavitVybratVychovatVydatVydraVyfotitVyhledatVyhnoutVyhoditVyhraditVyhubitVyjasnitVyjetVyjmoutVyklopitVykonatVylekatVymazatVymezitVymizetVymysletVynechatVynikatVynutitVypadatVyplatitVypravitVypustitVyrazitVyrovnatVyrvatVyslovitVysokoVystavitVysunoutVysypatVytasitVytesatVytratitVyvinoutVyvolatVyvrhelVyzdobitVyznatVzaduVzbuditVzchopitVzdorVzduchVzdychatVzestupVzhledemVzkazVzlykatVznikVzorekVzpouraVztahVztekXylofonZabratZabydletZachovatZadarmoZadusitZafoukatZahltitZahoditZahradaZahynoutZajatecZajetZajistitZaklepatZakoupitZalepitZamezitZamotatZamysletZanechatZanikatZaplatitZapojitZapsatZarazitZastavitZasunoutZatajitZatemnitZatknoutZaujmoutZavalitZaveletZavinitZavolatZavrtatZazvonitZbavitZbrusuZbudovatZbytekZdalekaZdarmaZdatnostZdivoZdobitZdrojZdvihZdymadloZeleninaZemanZeminaZeptatZezaduZezdolaZhatitZhltnoutZhlubokaZhotovitZhrubaZimaZimniceZjemnitZklamatZkoumatZkratkaZkumavkaZlatoZlehkaZlobaZlomZlostZlozvykZmapovatZmarZmatekZmijeZmizetZmocnitZmodratZmrzlinaZmutovatZnakZnalostZnamenatZnovuZobrazitZotavitZoubekZoufaleZploditZpomalitZpravaZprostitZprudkaZprvuZradaZranitZrcadloZrnitostZrnoZrovnaZrychlitZrzavostZtichaZtratitZubovinaZubrZvednoutZvenkuZveselaZvonZvratZvukovodZvyk'; var wordlist = null; function loadWords(lang) { if (wordlist != null) { return; } - wordlist = words.replace(/([A-Z])/g, " $1").toLowerCase().substring(1).split(" "); - if (wordlist_1.Wordlist.check(lang) !== "0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a") { + wordlist = words + .replace(/([A-Z])/g, ' $1') + .toLowerCase() + .substring(1) + .split(' '); + if ( + wordlist_1.Wordlist.check(lang) !== + '0x25f44555f4af25b51a711136e1c7d6e50ce9f8917d39d6b1f076b2bb4d2fac1a' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for en (English) FAILED"); + throw new Error('BIP39 Wordlist for en (English) FAILED'); } } - var LangCz = function(_super) { + var LangCz = (function (_super) { __extends(LangCz2, _super); function LangCz2() { - return _super.call(this, "cz") || this; + return _super.call(this, 'cz') || this; } - LangCz2.prototype.getWord = function(index) { + LangCz2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangCz2.prototype.getWordIndex = function(word) { + LangCz2.prototype.getWordIndex = function (word) { loadWords(this); return wordlist.indexOf(word); }; return LangCz2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langCz = new LangCz(); exports2.langCz = langCz; wordlist_1.Wordlist.register(langCz); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-en.js var require_lang_en = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-en.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-en.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langEn = void 0; var wordlist_1 = require_wordlist(); - var words = "AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo"; + var words = + 'AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo'; var wordlist = null; function loadWords(lang) { if (wordlist != null) { return; } - wordlist = words.replace(/([A-Z])/g, " $1").toLowerCase().substring(1).split(" "); - if (wordlist_1.Wordlist.check(lang) !== "0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60") { + wordlist = words + .replace(/([A-Z])/g, ' $1') + .toLowerCase() + .substring(1) + .split(' '); + if ( + wordlist_1.Wordlist.check(lang) !== + '0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for en (English) FAILED"); + throw new Error('BIP39 Wordlist for en (English) FAILED'); } } - var LangEn = function(_super) { + var LangEn = (function (_super) { __extends(LangEn2, _super); function LangEn2() { - return _super.call(this, "en") || this; + return _super.call(this, 'en') || this; } - LangEn2.prototype.getWord = function(index) { + LangEn2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangEn2.prototype.getWordIndex = function(word) { + LangEn2.prototype.getWordIndex = function (word) { loadWords(this); return wordlist.indexOf(word); }; return LangEn2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langEn = new LangEn(); exports2.langEn = langEn; wordlist_1.Wordlist.register(langEn); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-es.js var require_lang_es = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-es.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-es.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langEs = void 0; var strings_1 = require_lib9(); var wordlist_1 = require_wordlist(); - var words = "A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo"; + var words = + 'A/bacoAbdomenAbejaAbiertoAbogadoAbonoAbortoAbrazoAbrirAbueloAbusoAcabarAcademiaAccesoAccio/nAceiteAcelgaAcentoAceptarA/cidoAclararAcne/AcogerAcosoActivoActoActrizActuarAcudirAcuerdoAcusarAdictoAdmitirAdoptarAdornoAduanaAdultoAe/reoAfectarAficio/nAfinarAfirmarA/gilAgitarAgoni/aAgostoAgotarAgregarAgrioAguaAgudoA/guilaAgujaAhogoAhorroAireAislarAjedrezAjenoAjusteAlacra/nAlambreAlarmaAlbaA/lbumAlcaldeAldeaAlegreAlejarAlertaAletaAlfilerAlgaAlgodo/nAliadoAlientoAlivioAlmaAlmejaAlmi/barAltarAltezaAltivoAltoAlturaAlumnoAlzarAmableAmanteAmapolaAmargoAmasarA/mbarA/mbitoAmenoAmigoAmistadAmorAmparoAmplioAnchoAncianoAnclaAndarAnde/nAnemiaA/nguloAnilloA/nimoAni/sAnotarAntenaAntiguoAntojoAnualAnularAnuncioA~adirA~ejoA~oApagarAparatoApetitoApioAplicarApodoAporteApoyoAprenderAprobarApuestaApuroAradoAra~aArarA/rbitroA/rbolArbustoArchivoArcoArderArdillaArduoA/reaA/ridoAriesArmoni/aArne/sAromaArpaArpo/nArregloArrozArrugaArteArtistaAsaAsadoAsaltoAscensoAsegurarAseoAsesorAsientoAsiloAsistirAsnoAsombroA/speroAstillaAstroAstutoAsumirAsuntoAtajoAtaqueAtarAtentoAteoA/ticoAtletaA/tomoAtraerAtrozAtu/nAudazAudioAugeAulaAumentoAusenteAutorAvalAvanceAvaroAveAvellanaAvenaAvestruzAvio/nAvisoAyerAyudaAyunoAzafra/nAzarAzoteAzu/carAzufreAzulBabaBaborBacheBahi/aBaileBajarBalanzaBalco/nBaldeBambu/BancoBandaBa~oBarbaBarcoBarnizBarroBa/sculaBasto/nBasuraBatallaBateri/aBatirBatutaBau/lBazarBebe/BebidaBelloBesarBesoBestiaBichoBienBingoBlancoBloqueBlusaBoaBobinaBoboBocaBocinaBodaBodegaBoinaBolaBoleroBolsaBombaBondadBonitoBonoBonsa/iBordeBorrarBosqueBoteBoti/nBo/vedaBozalBravoBrazoBrechaBreveBrilloBrincoBrisaBrocaBromaBronceBroteBrujaBruscoBrutoBuceoBucleBuenoBueyBufandaBufo/nBu/hoBuitreBultoBurbujaBurlaBurroBuscarButacaBuzo/nCaballoCabezaCabinaCabraCacaoCada/verCadenaCaerCafe/Cai/daCaima/nCajaCajo/nCalCalamarCalcioCaldoCalidadCalleCalmaCalorCalvoCamaCambioCamelloCaminoCampoCa/ncerCandilCanelaCanguroCanicaCantoCa~aCa~o/nCaobaCaosCapazCapita/nCapoteCaptarCapuchaCaraCarbo/nCa/rcelCaretaCargaCari~oCarneCarpetaCarroCartaCasaCascoCaseroCaspaCastorCatorceCatreCaudalCausaCazoCebollaCederCedroCeldaCe/lebreCelosoCe/lulaCementoCenizaCentroCercaCerdoCerezaCeroCerrarCertezaCe/spedCetroChacalChalecoChampu/ChanclaChapaCharlaChicoChisteChivoChoqueChozaChuletaChuparCiclo/nCiegoCieloCienCiertoCifraCigarroCimaCincoCineCintaCipre/sCircoCiruelaCisneCitaCiudadClamorClanClaroClaseClaveClienteClimaCli/nicaCobreCoccio/nCochinoCocinaCocoCo/digoCodoCofreCogerCoheteCoji/nCojoColaColchaColegioColgarColinaCollarColmoColumnaCombateComerComidaCo/modoCompraCondeConejoCongaConocerConsejoContarCopaCopiaCorazo/nCorbataCorchoCordo/nCoronaCorrerCoserCosmosCostaCra/neoCra/terCrearCrecerCrei/doCremaCri/aCrimenCriptaCrisisCromoCro/nicaCroquetaCrudoCruzCuadroCuartoCuatroCuboCubrirCucharaCuelloCuentoCuerdaCuestaCuevaCuidarCulebraCulpaCultoCumbreCumplirCunaCunetaCuotaCupo/nCu/pulaCurarCuriosoCursoCurvaCutisDamaDanzaDarDardoDa/tilDeberDe/bilDe/cadaDecirDedoDefensaDefinirDejarDelfi/nDelgadoDelitoDemoraDensoDentalDeporteDerechoDerrotaDesayunoDeseoDesfileDesnudoDestinoDesvi/oDetalleDetenerDeudaDi/aDiabloDiademaDiamanteDianaDiarioDibujoDictarDienteDietaDiezDifi/cilDignoDilemaDiluirDineroDirectoDirigirDiscoDise~oDisfrazDivaDivinoDobleDoceDolorDomingoDonDonarDoradoDormirDorsoDosDosisDrago/nDrogaDuchaDudaDueloDue~oDulceDu/oDuqueDurarDurezaDuroE/banoEbrioEcharEcoEcuadorEdadEdicio/nEdificioEditorEducarEfectoEficazEjeEjemploElefanteElegirElementoElevarElipseE/liteElixirElogioEludirEmbudoEmitirEmocio/nEmpateEmpe~oEmpleoEmpresaEnanoEncargoEnchufeEnci/aEnemigoEneroEnfadoEnfermoEnga~oEnigmaEnlaceEnormeEnredoEnsayoEnse~arEnteroEntrarEnvaseEnvi/oE/pocaEquipoErizoEscalaEscenaEscolarEscribirEscudoEsenciaEsferaEsfuerzoEspadaEspejoEspi/aEsposaEspumaEsqui/EstarEsteEstiloEstufaEtapaEternoE/ticaEtniaEvadirEvaluarEventoEvitarExactoExamenExcesoExcusaExentoExigirExilioExistirE/xitoExpertoExplicarExponerExtremoFa/bricaFa/bulaFachadaFa/cilFactorFaenaFajaFaldaFalloFalsoFaltarFamaFamiliaFamosoFarao/nFarmaciaFarolFarsaFaseFatigaFaunaFavorFaxFebreroFechaFelizFeoFeriaFerozFe/rtilFervorFesti/nFiableFianzaFiarFibraFiccio/nFichaFideoFiebreFielFieraFiestaFiguraFijarFijoFilaFileteFilialFiltroFinFincaFingirFinitoFirmaFlacoFlautaFlechaFlorFlotaFluirFlujoFlu/orFobiaFocaFogataFogo/nFolioFolletoFondoFormaForroFortunaForzarFosaFotoFracasoFra/gilFranjaFraseFraudeFrei/rFrenoFresaFri/oFritoFrutaFuegoFuenteFuerzaFugaFumarFuncio/nFundaFurgo/nFuriaFusilFu/tbolFuturoGacelaGafasGaitaGajoGalaGaleri/aGalloGambaGanarGanchoGangaGansoGarajeGarzaGasolinaGastarGatoGavila/nGemeloGemirGenGe/neroGenioGenteGeranioGerenteGermenGestoGiganteGimnasioGirarGiroGlaciarGloboGloriaGolGolfoGolosoGolpeGomaGordoGorilaGorraGotaGoteoGozarGradaGra/ficoGranoGrasaGratisGraveGrietaGrilloGripeGrisGritoGrosorGru/aGruesoGrumoGrupoGuanteGuapoGuardiaGuerraGui/aGui~oGuionGuisoGuitarraGusanoGustarHaberHa/bilHablarHacerHachaHadaHallarHamacaHarinaHazHaza~aHebillaHebraHechoHeladoHelioHembraHerirHermanoHe/roeHervirHieloHierroHi/gadoHigieneHijoHimnoHistoriaHocicoHogarHogueraHojaHombreHongoHonorHonraHoraHormigaHornoHostilHoyoHuecoHuelgaHuertaHuesoHuevoHuidaHuirHumanoHu/medoHumildeHumoHundirHuraca/nHurtoIconoIdealIdiomaI/doloIglesiaIglu/IgualIlegalIlusio/nImagenIma/nImitarImparImperioImponerImpulsoIncapazI/ndiceInerteInfielInformeIngenioInicioInmensoInmuneInnatoInsectoInstanteIntere/sI/ntimoIntuirInu/tilInviernoIraIrisIroni/aIslaIsloteJabali/Jabo/nJamo/nJarabeJardi/nJarraJaulaJazmi/nJefeJeringaJineteJornadaJorobaJovenJoyaJuergaJuevesJuezJugadorJugoJugueteJuicioJuncoJunglaJunioJuntarJu/piterJurarJustoJuvenilJuzgarKiloKoalaLabioLacioLacraLadoLadro/nLagartoLa/grimaLagunaLaicoLamerLa/minaLa/mparaLanaLanchaLangostaLanzaLa/pizLargoLarvaLa/stimaLataLa/texLatirLaurelLavarLazoLealLeccio/nLecheLectorLeerLegio/nLegumbreLejanoLenguaLentoLe~aLeo/nLeopardoLesio/nLetalLetraLeveLeyendaLibertadLibroLicorLi/derLidiarLienzoLigaLigeroLimaLi/miteLimo/nLimpioLinceLindoLi/neaLingoteLinoLinternaLi/quidoLisoListaLiteraLitioLitroLlagaLlamaLlantoLlaveLlegarLlenarLlevarLlorarLloverLluviaLoboLocio/nLocoLocuraLo/gicaLogroLombrizLomoLonjaLoteLuchaLucirLugarLujoLunaLunesLupaLustroLutoLuzMacetaMachoMaderaMadreMaduroMaestroMafiaMagiaMagoMai/zMaldadMaletaMallaMaloMama/MamboMamutMancoMandoManejarMangaManiqui/ManjarManoMansoMantaMa~anaMapaMa/quinaMarMarcoMareaMarfilMargenMaridoMa/rmolMarro/nMartesMarzoMasaMa/scaraMasivoMatarMateriaMatizMatrizMa/ximoMayorMazorcaMechaMedallaMedioMe/dulaMejillaMejorMelenaMelo/nMemoriaMenorMensajeMenteMenu/MercadoMerengueMe/ritoMesMeso/nMetaMeterMe/todoMetroMezclaMiedoMielMiembroMigaMilMilagroMilitarMillo/nMimoMinaMineroMi/nimoMinutoMiopeMirarMisaMiseriaMisilMismoMitadMitoMochilaMocio/nModaModeloMohoMojarMoldeMolerMolinoMomentoMomiaMonarcaMonedaMonjaMontoMo~oMoradaMorderMorenoMorirMorroMorsaMortalMoscaMostrarMotivoMoverMo/vilMozoMuchoMudarMuebleMuelaMuerteMuestraMugreMujerMulaMuletaMultaMundoMu~ecaMuralMuroMu/sculoMuseoMusgoMu/sicaMusloNa/carNacio/nNadarNaipeNaranjaNarizNarrarNasalNatalNativoNaturalNa/useaNavalNaveNavidadNecioNe/ctarNegarNegocioNegroNeo/nNervioNetoNeutroNevarNeveraNichoNidoNieblaNietoNi~ezNi~oNi/tidoNivelNoblezaNocheNo/minaNoriaNormaNorteNotaNoticiaNovatoNovelaNovioNubeNucaNu/cleoNudilloNudoNueraNueveNuezNuloNu/meroNutriaOasisObesoObispoObjetoObraObreroObservarObtenerObvioOcaOcasoOce/anoOchentaOchoOcioOcreOctavoOctubreOcultoOcuparOcurrirOdiarOdioOdiseaOesteOfensaOfertaOficioOfrecerOgroOi/doOi/rOjoOlaOleadaOlfatoOlivoOllaOlmoOlorOlvidoOmbligoOndaOnzaOpacoOpcio/nO/peraOpinarOponerOptarO/pticaOpuestoOracio/nOradorOralO/rbitaOrcaOrdenOrejaO/rganoOrgi/aOrgulloOrienteOrigenOrillaOroOrquestaOrugaOsadi/aOscuroOseznoOsoOstraOto~oOtroOvejaO/vuloO/xidoOxi/genoOyenteOzonoPactoPadrePaellaPa/ginaPagoPai/sPa/jaroPalabraPalcoPaletaPa/lidoPalmaPalomaPalparPanPanalPa/nicoPanteraPa~ueloPapa/PapelPapillaPaquetePararParcelaParedParirParoPa/rpadoParquePa/rrafoPartePasarPaseoPasio/nPasoPastaPataPatioPatriaPausaPautaPavoPayasoPeato/nPecadoPeceraPechoPedalPedirPegarPeinePelarPelda~oPeleaPeligroPellejoPeloPelucaPenaPensarPe~o/nPeo/nPeorPepinoPeque~oPeraPerchaPerderPerezaPerfilPericoPerlaPermisoPerroPersonaPesaPescaPe/simoPesta~aPe/taloPetro/leoPezPezu~aPicarPicho/nPiePiedraPiernaPiezaPijamaPilarPilotoPimientaPinoPintorPinzaPi~aPiojoPipaPirataPisarPiscinaPisoPistaPito/nPizcaPlacaPlanPlataPlayaPlazaPleitoPlenoPlomoPlumaPluralPobrePocoPoderPodioPoemaPoesi/aPoetaPolenPolici/aPolloPolvoPomadaPomeloPomoPompaPonerPorcio/nPortalPosadaPoseerPosiblePostePotenciaPotroPozoPradoPrecozPreguntaPremioPrensaPresoPrevioPrimoPri/ncipePrisio/nPrivarProaProbarProcesoProductoProezaProfesorProgramaProlePromesaProntoPropioPro/ximoPruebaPu/blicoPucheroPudorPuebloPuertaPuestoPulgaPulirPulmo/nPulpoPulsoPumaPuntoPu~alPu~oPupaPupilaPure/QuedarQuejaQuemarQuererQuesoQuietoQui/micaQuinceQuitarRa/banoRabiaRaboRacio/nRadicalRai/zRamaRampaRanchoRangoRapazRa/pidoRaptoRasgoRaspaRatoRayoRazaRazo/nReaccio/nRealidadReba~oReboteRecaerRecetaRechazoRecogerRecreoRectoRecursoRedRedondoReducirReflejoReformaRefra/nRefugioRegaloRegirReglaRegresoRehe/nReinoRei/rRejaRelatoRelevoRelieveRellenoRelojRemarRemedioRemoRencorRendirRentaRepartoRepetirReposoReptilResRescateResinaRespetoRestoResumenRetiroRetornoRetratoReunirReve/sRevistaReyRezarRicoRiegoRiendaRiesgoRifaRi/gidoRigorRinco/nRi~o/nRi/oRiquezaRisaRitmoRitoRizoRobleRoceRociarRodarRodeoRodillaRoerRojizoRojoRomeroRomperRonRoncoRondaRopaRoperoRosaRoscaRostroRotarRubi/RuborRudoRuedaRugirRuidoRuinaRuletaRuloRumboRumorRupturaRutaRutinaSa/badoSaberSabioSableSacarSagazSagradoSalaSaldoSaleroSalirSalmo/nSalo/nSalsaSaltoSaludSalvarSambaSancio/nSandi/aSanearSangreSanidadSanoSantoSapoSaqueSardinaSarte/nSastreSata/nSaunaSaxofo/nSeccio/nSecoSecretoSectaSedSeguirSeisSelloSelvaSemanaSemillaSendaSensorSe~alSe~orSepararSepiaSequi/aSerSerieSermo/nServirSesentaSesio/nSetaSetentaSeveroSexoSextoSidraSiestaSieteSigloSignoSi/labaSilbarSilencioSillaSi/mboloSimioSirenaSistemaSitioSituarSobreSocioSodioSolSolapaSoldadoSoledadSo/lidoSoltarSolucio/nSombraSondeoSonidoSonoroSonrisaSopaSoplarSoporteSordoSorpresaSorteoSoste/nSo/tanoSuaveSubirSucesoSudorSuegraSueloSue~oSuerteSufrirSujetoSulta/nSumarSuperarSuplirSuponerSupremoSurSurcoSure~oSurgirSustoSutilTabacoTabiqueTablaTabu/TacoTactoTajoTalarTalcoTalentoTallaTalo/nTama~oTamborTangoTanqueTapaTapeteTapiaTapo/nTaquillaTardeTareaTarifaTarjetaTarotTarroTartaTatuajeTauroTazaTazo/nTeatroTechoTeclaTe/cnicaTejadoTejerTejidoTelaTele/fonoTemaTemorTemploTenazTenderTenerTenisTensoTeori/aTerapiaTercoTe/rminoTernuraTerrorTesisTesoroTestigoTeteraTextoTezTibioTiburo/nTiempoTiendaTierraTiesoTigreTijeraTildeTimbreTi/midoTimoTintaTi/oTi/picoTipoTiraTiro/nTita/nTi/tereTi/tuloTizaToallaTobilloTocarTocinoTodoTogaToldoTomarTonoTontoToparTopeToqueTo/raxToreroTormentaTorneoToroTorpedoTorreTorsoTortugaTosToscoToserTo/xicoTrabajoTractorTraerTra/ficoTragoTrajeTramoTranceTratoTraumaTrazarTre/bolTreguaTreintaTrenTreparTresTribuTrigoTripaTristeTriunfoTrofeoTrompaTroncoTropaTroteTrozoTrucoTruenoTrufaTuberi/aTuboTuertoTumbaTumorTu/nelTu/nicaTurbinaTurismoTurnoTutorUbicarU/lceraUmbralUnidadUnirUniversoUnoUntarU~aUrbanoUrbeUrgenteUrnaUsarUsuarioU/tilUtopi/aUvaVacaVaci/oVacunaVagarVagoVainaVajillaValeVa/lidoValleValorVa/lvulaVampiroVaraVariarVaro/nVasoVecinoVectorVehi/culoVeinteVejezVelaVeleroVelozVenaVencerVendaVenenoVengarVenirVentaVenusVerVeranoVerboVerdeVeredaVerjaVersoVerterVi/aViajeVibrarVicioVi/ctimaVidaVi/deoVidrioViejoViernesVigorVilVillaVinagreVinoVi~edoVioli/nViralVirgoVirtudVisorVi/speraVistaVitaminaViudoVivazViveroVivirVivoVolca/nVolumenVolverVorazVotarVotoVozVueloVulgarYacerYateYeguaYemaYernoYesoYodoYogaYogurZafiroZanjaZapatoZarzaZonaZorroZumoZurdo'; var lookup = {}; var wordlist = null; function dropDiacritic(word) { wordlist_1.logger.checkNormalize(); - return (0, strings_1.toUtf8String)(Array.prototype.filter.call((0, strings_1.toUtf8Bytes)(word.normalize("NFD").toLowerCase()), function(c) { - return c >= 65 && c <= 90 || c >= 97 && c <= 123; - })); + return (0, strings_1.toUtf8String)( + Array.prototype.filter.call( + (0, strings_1.toUtf8Bytes)(word.normalize('NFD').toLowerCase()), + function (c) { + return (c >= 65 && c <= 90) || (c >= 97 && c <= 123); + } + ) + ); } function expand(word) { var output = []; - Array.prototype.forEach.call((0, strings_1.toUtf8Bytes)(word), function(c) { + Array.prototype.forEach.call((0, strings_1.toUtf8Bytes)(word), function (c) { if (c === 47) { output.push(204); output.push(129); @@ -15935,79 +16084,99 @@ var require_lang_es = __commonJS({ if (wordlist != null) { return; } - wordlist = words.replace(/([A-Z])/g, " $1").toLowerCase().substring(1).split(" ").map(function(w) { - return expand(w); - }); - wordlist.forEach(function(word, index) { + wordlist = words + .replace(/([A-Z])/g, ' $1') + .toLowerCase() + .substring(1) + .split(' ') + .map(function (w) { + return expand(w); + }); + wordlist.forEach(function (word, index) { lookup[dropDiacritic(word)] = index; }); - if (wordlist_1.Wordlist.check(lang) !== "0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300") { + if ( + wordlist_1.Wordlist.check(lang) !== + '0xf74fb7092aeacdfbf8959557de22098da512207fb9f109cb526994938cf40300' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for es (Spanish) FAILED"); + throw new Error('BIP39 Wordlist for es (Spanish) FAILED'); } } - var LangEs = function(_super) { + var LangEs = (function (_super) { __extends(LangEs2, _super); function LangEs2() { - return _super.call(this, "es") || this; + return _super.call(this, 'es') || this; } - LangEs2.prototype.getWord = function(index) { + LangEs2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangEs2.prototype.getWordIndex = function(word) { + LangEs2.prototype.getWordIndex = function (word) { loadWords(this); return lookup[dropDiacritic(word)]; }; return LangEs2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langEs = new LangEs(); exports2.langEs = langEs; wordlist_1.Wordlist.register(langEs); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-fr.js var require_lang_fr = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-fr.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-fr.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langFr = void 0; var strings_1 = require_lib9(); var wordlist_1 = require_wordlist(); - var words = "AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie"; + var words = + 'AbaisserAbandonAbdiquerAbeilleAbolirAborderAboutirAboyerAbrasifAbreuverAbriterAbrogerAbruptAbsenceAbsoluAbsurdeAbusifAbyssalAcade/mieAcajouAcarienAccablerAccepterAcclamerAccoladeAccrocheAccuserAcerbeAchatAcheterAcidulerAcierAcompteAcque/rirAcronymeActeurActifActuelAdepteAde/quatAdhe/sifAdjectifAdjugerAdmettreAdmirerAdopterAdorerAdoucirAdresseAdroitAdulteAdverbeAe/rerAe/ronefAffaireAffecterAfficheAffreuxAffublerAgacerAgencerAgileAgiterAgraferAgre/ableAgrumeAiderAiguilleAilierAimableAisanceAjouterAjusterAlarmerAlchimieAlerteAlge-breAlgueAlie/nerAlimentAlle/gerAlliageAllouerAllumerAlourdirAlpagaAltesseAlve/oleAmateurAmbiguAmbreAme/nagerAmertumeAmidonAmiralAmorcerAmourAmovibleAmphibieAmpleurAmusantAnalyseAnaphoreAnarchieAnatomieAncienAne/antirAngleAngoisseAnguleuxAnimalAnnexerAnnonceAnnuelAnodinAnomalieAnonymeAnormalAntenneAntidoteAnxieuxApaiserApe/ritifAplanirApologieAppareilAppelerApporterAppuyerAquariumAqueducArbitreArbusteArdeurArdoiseArgentArlequinArmatureArmementArmoireArmureArpenterArracherArriverArroserArsenicArte/rielArticleAspectAsphalteAspirerAssautAsservirAssietteAssocierAssurerAsticotAstreAstuceAtelierAtomeAtriumAtroceAttaqueAttentifAttirerAttraperAubaineAubergeAudaceAudibleAugurerAuroreAutomneAutrucheAvalerAvancerAvariceAvenirAverseAveugleAviateurAvideAvionAviserAvoineAvouerAvrilAxialAxiomeBadgeBafouerBagageBaguetteBaignadeBalancerBalconBaleineBalisageBambinBancaireBandageBanlieueBannie-reBanquierBarbierBarilBaronBarqueBarrageBassinBastionBatailleBateauBatterieBaudrierBavarderBeletteBe/lierBeloteBe/ne/ficeBerceauBergerBerlineBermudaBesaceBesogneBe/tailBeurreBiberonBicycleBiduleBijouBilanBilingueBillardBinaireBiologieBiopsieBiotypeBiscuitBisonBistouriBitumeBizarreBlafardBlagueBlanchirBlessantBlinderBlondBloquerBlousonBobardBobineBoireBoiserBolideBonbonBondirBonheurBonifierBonusBordureBorneBotteBoucleBoueuxBougieBoulonBouquinBourseBoussoleBoutiqueBoxeurBrancheBrasierBraveBrebisBre-cheBreuvageBricolerBrigadeBrillantBriocheBriqueBrochureBroderBronzerBrousseBroyeurBrumeBrusqueBrutalBruyantBuffleBuissonBulletinBureauBurinBustierButinerButoirBuvableBuvetteCabanonCabineCachetteCadeauCadreCafe/ineCaillouCaissonCalculerCalepinCalibreCalmerCalomnieCalvaireCamaradeCame/raCamionCampagneCanalCanetonCanonCantineCanularCapableCaporalCapriceCapsuleCapterCapucheCarabineCarboneCaresserCaribouCarnageCarotteCarreauCartonCascadeCasierCasqueCassureCauserCautionCavalierCaverneCaviarCe/dilleCeintureCe/lesteCelluleCendrierCensurerCentralCercleCe/re/bralCeriseCernerCerveauCesserChagrinChaiseChaleurChambreChanceChapitreCharbonChasseurChatonChaussonChavirerChemiseChenilleChe/quierChercherChevalChienChiffreChignonChime-reChiotChlorureChocolatChoisirChoseChouetteChromeChuteCigareCigogneCimenterCine/maCintrerCirculerCirerCirqueCiterneCitoyenCitronCivilClaironClameurClaquerClasseClavierClientClignerClimatClivageClocheClonageCloporteCobaltCobraCocasseCocotierCoderCodifierCoffreCognerCohe/sionCoifferCoincerCole-reColibriCollineColmaterColonelCombatCome/dieCommandeCompactConcertConduireConfierCongelerConnoterConsonneContactConvexeCopainCopieCorailCorbeauCordageCornicheCorpusCorrectCorte-geCosmiqueCostumeCotonCoudeCoupureCourageCouteauCouvrirCoyoteCrabeCrainteCravateCrayonCre/atureCre/diterCre/meuxCreuserCrevetteCriblerCrierCristalCrite-reCroireCroquerCrotaleCrucialCruelCrypterCubiqueCueillirCuille-reCuisineCuivreCulminerCultiverCumulerCupideCuratifCurseurCyanureCycleCylindreCyniqueDaignerDamierDangerDanseurDauphinDe/battreDe/biterDe/borderDe/briderDe/butantDe/calerDe/cembreDe/chirerDe/ciderDe/clarerDe/corerDe/crireDe/cuplerDe/daleDe/ductifDe/esseDe/fensifDe/filerDe/frayerDe/gagerDe/givrerDe/glutirDe/graferDe/jeunerDe/liceDe/logerDemanderDemeurerDe/molirDe/nicherDe/nouerDentelleDe/nuderDe/partDe/penserDe/phaserDe/placerDe/poserDe/rangerDe/roberDe/sastreDescenteDe/sertDe/signerDe/sobe/irDessinerDestrierDe/tacherDe/testerDe/tourerDe/tresseDevancerDevenirDevinerDevoirDiableDialogueDiamantDicterDiffe/rerDige/rerDigitalDigneDiluerDimancheDiminuerDioxydeDirectifDirigerDiscuterDisposerDissiperDistanceDivertirDiviserDocileDocteurDogmeDoigtDomaineDomicileDompterDonateurDonjonDonnerDopamineDortoirDorureDosageDoseurDossierDotationDouanierDoubleDouceurDouterDoyenDragonDraperDresserDribblerDroitureDuperieDuplexeDurableDurcirDynastieE/blouirE/carterE/charpeE/chelleE/clairerE/clipseE/cloreE/cluseE/coleE/conomieE/corceE/couterE/craserE/cre/merE/crivainE/crouE/cumeE/cureuilE/difierE/duquerEffacerEffectifEffigieEffortEffrayerEffusionE/galiserE/garerE/jecterE/laborerE/largirE/lectronE/le/gantE/le/phantE/le-veE/ligibleE/litismeE/logeE/luciderE/luderEmballerEmbellirEmbryonE/meraudeE/missionEmmenerE/motionE/mouvoirEmpereurEmployerEmporterEmpriseE/mulsionEncadrerEnche-reEnclaveEncocheEndiguerEndosserEndroitEnduireE/nergieEnfanceEnfermerEnfouirEngagerEnginEngloberE/nigmeEnjamberEnjeuEnleverEnnemiEnnuyeuxEnrichirEnrobageEnseigneEntasserEntendreEntierEntourerEntraverE/nume/rerEnvahirEnviableEnvoyerEnzymeE/olienE/paissirE/pargneE/patantE/pauleE/picerieE/pide/mieE/pierE/pilogueE/pineE/pisodeE/pitapheE/poqueE/preuveE/prouverE/puisantE/querreE/quipeE/rigerE/rosionErreurE/ruptionEscalierEspadonEspe-ceEspie-gleEspoirEspritEsquiverEssayerEssenceEssieuEssorerEstimeEstomacEstradeE/tage-reE/talerE/tancheE/tatiqueE/teindreE/tendoirE/ternelE/thanolE/thiqueEthnieE/tirerE/tofferE/toileE/tonnantE/tourdirE/trangeE/troitE/tudeEuphorieE/valuerE/vasionE/ventailE/videnceE/viterE/volutifE/voquerExactExage/rerExaucerExcellerExcitantExclusifExcuseExe/cuterExempleExercerExhalerExhorterExigenceExilerExisterExotiqueExpe/dierExplorerExposerExprimerExquisExtensifExtraireExulterFableFabuleuxFacetteFacileFactureFaiblirFalaiseFameuxFamilleFarceurFarfeluFarineFaroucheFascinerFatalFatigueFauconFautifFaveurFavoriFe/brileFe/conderFe/de/rerFe/linFemmeFe/murFendoirFe/odalFermerFe/roceFerveurFestivalFeuilleFeutreFe/vrierFiascoFicelerFictifFide-leFigureFilatureFiletageFilie-reFilleulFilmerFilouFiltrerFinancerFinirFioleFirmeFissureFixerFlairerFlammeFlasqueFlatteurFle/auFle-cheFleurFlexionFloconFloreFluctuerFluideFluvialFolieFonderieFongibleFontaineForcerForgeronFormulerFortuneFossileFoudreFouge-reFouillerFoulureFourmiFragileFraiseFranchirFrapperFrayeurFre/gateFreinerFrelonFre/mirFre/ne/sieFre-reFriableFrictionFrissonFrivoleFroidFromageFrontalFrotterFruitFugitifFuiteFureurFurieuxFurtifFusionFuturGagnerGalaxieGalerieGambaderGarantirGardienGarnirGarrigueGazelleGazonGe/antGe/latineGe/luleGendarmeGe/ne/ralGe/nieGenouGentilGe/ologieGe/ome-treGe/raniumGermeGestuelGeyserGibierGiclerGirafeGivreGlaceGlaiveGlisserGlobeGloireGlorieuxGolfeurGommeGonflerGorgeGorilleGoudronGouffreGoulotGoupilleGourmandGoutteGraduelGraffitiGraineGrandGrappinGratuitGravirGrenatGriffureGrillerGrimperGrognerGronderGrotteGroupeGrugerGrutierGruye-reGue/pardGuerrierGuideGuimauveGuitareGustatifGymnasteGyrostatHabitudeHachoirHalteHameauHangarHannetonHaricotHarmonieHarponHasardHe/liumHe/matomeHerbeHe/rissonHermineHe/ronHe/siterHeureuxHibernerHibouHilarantHistoireHiverHomardHommageHomoge-neHonneurHonorerHonteuxHordeHorizonHorlogeHormoneHorribleHouleuxHousseHublotHuileuxHumainHumbleHumideHumourHurlerHydromelHygie-neHymneHypnoseIdylleIgnorerIguaneIlliciteIllusionImageImbiberImiterImmenseImmobileImmuableImpactImpe/rialImplorerImposerImprimerImputerIncarnerIncendieIncidentInclinerIncoloreIndexerIndiceInductifIne/ditIneptieInexactInfiniInfligerInformerInfusionInge/rerInhalerInhiberInjecterInjureInnocentInoculerInonderInscrireInsecteInsigneInsoliteInspirerInstinctInsulterIntactIntenseIntimeIntrigueIntuitifInutileInvasionInventerInviterInvoquerIroniqueIrradierIrre/elIrriterIsolerIvoireIvresseJaguarJaillirJambeJanvierJardinJaugerJauneJavelotJetableJetonJeudiJeunesseJoindreJoncherJonglerJoueurJouissifJournalJovialJoyauJoyeuxJubilerJugementJuniorJuponJuristeJusticeJuteuxJuve/nileKayakKimonoKiosqueLabelLabialLabourerLace/rerLactoseLaguneLaineLaisserLaitierLambeauLamelleLampeLanceurLangageLanterneLapinLargeurLarmeLaurierLavaboLavoirLectureLe/galLe/gerLe/gumeLessiveLettreLevierLexiqueLe/zardLiasseLibe/rerLibreLicenceLicorneLie-geLie-vreLigatureLigoterLigueLimerLimiteLimonadeLimpideLine/aireLingotLionceauLiquideLisie-reListerLithiumLitigeLittoralLivreurLogiqueLointainLoisirLombricLoterieLouerLourdLoutreLouveLoyalLubieLucideLucratifLueurLugubreLuisantLumie-reLunaireLundiLuronLutterLuxueuxMachineMagasinMagentaMagiqueMaigreMaillonMaintienMairieMaisonMajorerMalaxerMale/ficeMalheurMaliceMalletteMammouthMandaterManiableManquantManteauManuelMarathonMarbreMarchandMardiMaritimeMarqueurMarronMartelerMascotteMassifMate/rielMatie-reMatraqueMaudireMaussadeMauveMaximalMe/chantMe/connuMe/dailleMe/decinMe/diterMe/duseMeilleurMe/langeMe/lodieMembreMe/moireMenacerMenerMenhirMensongeMentorMercrediMe/riteMerleMessagerMesureMe/talMe/te/oreMe/thodeMe/tierMeubleMiaulerMicrobeMietteMignonMigrerMilieuMillionMimiqueMinceMine/ralMinimalMinorerMinuteMiracleMiroiterMissileMixteMobileModerneMoelleuxMondialMoniteurMonnaieMonotoneMonstreMontagneMonumentMoqueurMorceauMorsureMortierMoteurMotifMoucheMoufleMoulinMoussonMoutonMouvantMultipleMunitionMurailleMure-neMurmureMuscleMuse/umMusicienMutationMuterMutuelMyriadeMyrtilleMyste-reMythiqueNageurNappeNarquoisNarrerNatationNationNatureNaufrageNautiqueNavireNe/buleuxNectarNe/fasteNe/gationNe/gligerNe/gocierNeigeNerveuxNettoyerNeuroneNeutronNeveuNicheNickelNitrateNiveauNobleNocifNocturneNoirceurNoisetteNomadeNombreuxNommerNormatifNotableNotifierNotoireNourrirNouveauNovateurNovembreNoviceNuageNuancerNuireNuisibleNume/roNuptialNuqueNutritifObe/irObjectifObligerObscurObserverObstacleObtenirObturerOccasionOccuperOce/anOctobreOctroyerOctuplerOculaireOdeurOdorantOffenserOfficierOffrirOgiveOiseauOisillonOlfactifOlivierOmbrageOmettreOnctueuxOndulerOne/reuxOniriqueOpaleOpaqueOpe/rerOpinionOpportunOpprimerOpterOptiqueOrageuxOrangeOrbiteOrdonnerOreilleOrganeOrgueilOrificeOrnementOrqueOrtieOscillerOsmoseOssatureOtarieOuraganOursonOutilOutragerOuvrageOvationOxydeOxyge-neOzonePaisiblePalacePalmare-sPalourdePalperPanachePandaPangolinPaniquerPanneauPanoramaPantalonPapayePapierPapoterPapyrusParadoxeParcelleParesseParfumerParlerParoleParrainParsemerPartagerParureParvenirPassionPaste-quePaternelPatiencePatronPavillonPavoiserPayerPaysagePeignePeintrePelagePe/licanPellePelousePeluchePendulePe/ne/trerPe/niblePensifPe/nuriePe/pitePe/plumPerdrixPerforerPe/riodePermuterPerplexePersilPertePeserPe/talePetitPe/trirPeuplePharaonPhobiePhoquePhotonPhrasePhysiquePianoPicturalPie-cePierrePieuvrePilotePinceauPipettePiquerPiroguePiscinePistonPivoterPixelPizzaPlacardPlafondPlaisirPlanerPlaquePlastronPlateauPleurerPlexusPliagePlombPlongerPluiePlumagePochettePoe/siePoe-tePointePoirierPoissonPoivrePolairePolicierPollenPolygonePommadePompierPonctuelPonde/rerPoneyPortiquePositionPosse/derPosturePotagerPoteauPotionPoucePoulainPoumonPourprePoussinPouvoirPrairiePratiquePre/cieuxPre/direPre/fixePre/ludePre/nomPre/sencePre/textePre/voirPrimitifPrincePrisonPriverProble-meProce/derProdigeProfondProgre-sProieProjeterProloguePromenerPropreProspe-reProte/gerProuesseProverbePrudencePruneauPsychosePublicPuceronPuiserPulpePulsarPunaisePunitifPupitrePurifierPuzzlePyramideQuasarQuerelleQuestionQuie/tudeQuitterQuotientRacineRaconterRadieuxRagondinRaideurRaisinRalentirRallongeRamasserRapideRasageRatisserRavagerRavinRayonnerRe/actifRe/agirRe/aliserRe/animerRecevoirRe/citerRe/clamerRe/colterRecruterReculerRecyclerRe/digerRedouterRefaireRe/flexeRe/formerRefrainRefugeRe/galienRe/gionRe/glageRe/gulierRe/ite/rerRejeterRejouerRelatifReleverReliefRemarqueReme-deRemiseRemonterRemplirRemuerRenardRenfortReniflerRenoncerRentrerRenvoiReplierReporterRepriseReptileRequinRe/serveRe/sineuxRe/soudreRespectResterRe/sultatRe/tablirRetenirRe/ticuleRetomberRetracerRe/unionRe/ussirRevancheRevivreRe/volteRe/vulsifRichesseRideauRieurRigideRigolerRincerRiposterRisibleRisqueRituelRivalRivie-reRocheuxRomanceRompreRonceRondinRoseauRosierRotatifRotorRotuleRougeRouilleRouleauRoutineRoyaumeRubanRubisRucheRuelleRugueuxRuinerRuisseauRuserRustiqueRythmeSablerSaboterSabreSacocheSafariSagesseSaisirSaladeSaliveSalonSaluerSamediSanctionSanglierSarcasmeSardineSaturerSaugrenuSaumonSauterSauvageSavantSavonnerScalpelScandaleSce/le/ratSce/narioSceptreSche/maScienceScinderScoreScrutinSculpterSe/anceSe/cableSe/cherSecouerSe/cre/terSe/datifSe/duireSeigneurSe/jourSe/lectifSemaineSemblerSemenceSe/minalSe/nateurSensibleSentenceSe/parerSe/quenceSereinSergentSe/rieuxSerrureSe/rumServiceSe/sameSe/virSevrageSextupleSide/ralSie-cleSie/gerSifflerSigleSignalSilenceSiliciumSimpleSince-reSinistreSiphonSiropSismiqueSituerSkierSocialSocleSodiumSoigneuxSoldatSoleilSolitudeSolubleSombreSommeilSomnolerSondeSongeurSonnetteSonoreSorcierSortirSosieSottiseSoucieuxSoudureSouffleSouleverSoupapeSourceSoutirerSouvenirSpacieuxSpatialSpe/cialSphe-reSpiralStableStationSternumStimulusStipulerStrictStudieuxStupeurStylisteSublimeSubstratSubtilSubvenirSucce-sSucreSuffixeSugge/rerSuiveurSulfateSuperbeSupplierSurfaceSuricateSurmenerSurpriseSursautSurvieSuspectSyllabeSymboleSyme/trieSynapseSyntaxeSyste-meTabacTablierTactileTaillerTalentTalismanTalonnerTambourTamiserTangibleTapisTaquinerTarderTarifTartineTasseTatamiTatouageTaupeTaureauTaxerTe/moinTemporelTenailleTendreTeneurTenirTensionTerminerTerneTerribleTe/tineTexteThe-meThe/orieThe/rapieThoraxTibiaTie-deTimideTirelireTiroirTissuTitaneTitreTituberTobogganTole/rantTomateToniqueTonneauToponymeTorcheTordreTornadeTorpilleTorrentTorseTortueTotemToucherTournageTousserToxineTractionTraficTragiqueTrahirTrainTrancherTravailTre-fleTremperTre/sorTreuilTriageTribunalTricoterTrilogieTriompheTriplerTriturerTrivialTromboneTroncTropicalTroupeauTuileTulipeTumulteTunnelTurbineTuteurTutoyerTuyauTympanTyphonTypiqueTyranUbuesqueUltimeUltrasonUnanimeUnifierUnionUniqueUnitaireUniversUraniumUrbainUrticantUsageUsineUsuelUsureUtileUtopieVacarmeVaccinVagabondVagueVaillantVaincreVaisseauValableValiseVallonValveVampireVanilleVapeurVarierVaseuxVassalVasteVecteurVedetteVe/ge/talVe/hiculeVeinardVe/loceVendrediVe/ne/rerVengerVenimeuxVentouseVerdureVe/rinVernirVerrouVerserVertuVestonVe/te/ranVe/tusteVexantVexerViaducViandeVictoireVidangeVide/oVignetteVigueurVilainVillageVinaigreViolonVipe-reVirementVirtuoseVirusVisageViseurVisionVisqueuxVisuelVitalVitesseViticoleVitrineVivaceVivipareVocationVoguerVoileVoisinVoitureVolailleVolcanVoltigerVolumeVoraceVortexVoterVouloirVoyageVoyelleWagonXe/nonYachtZe-breZe/nithZesteZoologie'; var wordlist = null; var lookup = {}; function dropDiacritic(word) { wordlist_1.logger.checkNormalize(); - return (0, strings_1.toUtf8String)(Array.prototype.filter.call((0, strings_1.toUtf8Bytes)(word.normalize("NFD").toLowerCase()), function(c) { - return c >= 65 && c <= 90 || c >= 97 && c <= 123; - })); + return (0, strings_1.toUtf8String)( + Array.prototype.filter.call( + (0, strings_1.toUtf8Bytes)(word.normalize('NFD').toLowerCase()), + function (c) { + return (c >= 65 && c <= 90) || (c >= 97 && c <= 123); + } + ) + ); } function expand(word) { var output = []; - Array.prototype.forEach.call((0, strings_1.toUtf8Bytes)(word), function(c) { + Array.prototype.forEach.call((0, strings_1.toUtf8Bytes)(word), function (c) { if (c === 47) { output.push(204); output.push(129); @@ -16024,84 +16193,99 @@ var require_lang_fr = __commonJS({ if (wordlist != null) { return; } - wordlist = words.replace(/([A-Z])/g, " $1").toLowerCase().substring(1).split(" ").map(function(w) { - return expand(w); - }); - wordlist.forEach(function(word, index) { + wordlist = words + .replace(/([A-Z])/g, ' $1') + .toLowerCase() + .substring(1) + .split(' ') + .map(function (w) { + return expand(w); + }); + wordlist.forEach(function (word, index) { lookup[dropDiacritic(word)] = index; }); - if (wordlist_1.Wordlist.check(lang) !== "0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045") { + if ( + wordlist_1.Wordlist.check(lang) !== + '0x51deb7ae009149dc61a6bd18a918eb7ac78d2775726c68e598b92d002519b045' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for fr (French) FAILED"); + throw new Error('BIP39 Wordlist for fr (French) FAILED'); } } - var LangFr = function(_super) { + var LangFr = (function (_super) { __extends(LangFr2, _super); function LangFr2() { - return _super.call(this, "fr") || this; + return _super.call(this, 'fr') || this; } - LangFr2.prototype.getWord = function(index) { + LangFr2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangFr2.prototype.getWordIndex = function(word) { + LangFr2.prototype.getWordIndex = function (word) { loadWords(this); return lookup[dropDiacritic(word)]; }; return LangFr2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langFr = new LangFr(); exports2.langFr = langFr; wordlist_1.Wordlist.register(langFr); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-ja.js var require_lang_ja = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-ja.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-ja.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langJa = void 0; var bytes_1 = require_lib2(); var strings_1 = require_lib9(); var wordlist_1 = require_wordlist(); var data = [ - "AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR", - "ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR", - "AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm", - "ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC", - "BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD", - "QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD", - "IJBEJqXZJ" + 'AQRASRAGBAGUAIRAHBAghAURAdBAdcAnoAMEAFBAFCBKFBQRBSFBCXBCDBCHBGFBEQBpBBpQBIkBHNBeOBgFBVCBhBBhNBmOBmRBiHBiFBUFBZDBvFBsXBkFBlcBjYBwDBMBBTBBTRBWBBWXXaQXaRXQWXSRXCFXYBXpHXOQXHRXhRXuRXmXXbRXlXXwDXTRXrCXWQXWGaBWaKcaYgasFadQalmaMBacAKaRKKBKKXKKjKQRKDRKCYKCRKIDKeVKHcKlXKjHKrYNAHNBWNaRNKcNIBNIONmXNsXNdXNnBNMBNRBNrXNWDNWMNFOQABQAHQBrQXBQXFQaRQKXQKDQKOQKFQNBQNDQQgQCXQCDQGBQGDQGdQYXQpBQpQQpHQLXQHuQgBQhBQhCQuFQmXQiDQUFQZDQsFQdRQkHQbRQlOQlmQPDQjDQwXQMBQMDQcFQTBQTHQrDDXQDNFDGBDGQDGRDpFDhFDmXDZXDbRDMYDRdDTRDrXSAhSBCSBrSGQSEQSHBSVRShYShkSyQSuFSiBSdcSoESocSlmSMBSFBSFKSFNSFdSFcCByCaRCKcCSBCSRCCrCGbCEHCYXCpBCpQCIBCIHCeNCgBCgFCVECVcCmkCmwCZXCZFCdRClOClmClFCjDCjdCnXCwBCwXCcRCFQCFjGXhGNhGDEGDMGCDGCHGIFGgBGVXGVEGVRGmXGsXGdYGoSGbRGnXGwXGwDGWRGFNGFLGFOGFdGFkEABEBDEBFEXOEaBEKSENBENDEYXEIgEIkEgBEgQEgHEhFEudEuFEiBEiHEiFEZDEvBEsXEsFEdXEdREkFEbBEbRElFEPCEfkEFNYAEYAhYBNYQdYDXYSRYCEYYoYgQYgRYuRYmCYZTYdBYbEYlXYjQYRbYWRpKXpQopQnpSFpCXpIBpISphNpdBpdRpbRpcZpFBpFNpFDpFopFrLADLBuLXQLXcLaFLCXLEhLpBLpFLHXLeVLhILdHLdRLoDLbRLrXIABIBQIBCIBsIBoIBMIBRIXaIaRIKYIKRINBINuICDIGBIIDIIkIgRIxFIyQIiHIdRIbYIbRIlHIwRIMYIcRIRVITRIFBIFNIFQOABOAFOBQOaFONBONMOQFOSFOCDOGBOEQOpBOLXOIBOIFOgQOgFOyQOycOmXOsXOdIOkHOMEOMkOWWHBNHXNHXWHNXHDuHDRHSuHSRHHoHhkHmRHdRHkQHlcHlRHwBHWcgAEgAggAkgBNgBQgBEgXOgYcgLXgHjgyQgiBgsFgdagMYgWSgFQgFEVBTVXEVKBVKNVKDVKYVKRVNBVNYVDBVDxVSBVSRVCjVGNVLXVIFVhBVhcVsXVdRVbRVlRhBYhKYhDYhGShxWhmNhdahdkhbRhjohMXhTRxAXxXSxKBxNBxEQxeNxeQxhXxsFxdbxlHxjcxFBxFNxFQxFOxFoyNYyYoybcyMYuBQuBRuBruDMuCouHBudQukkuoBulVuMXuFEmCYmCRmpRmeDmiMmjdmTFmFQiADiBOiaRiKRiNBiNRiSFiGkiGFiERipRiLFiIFihYibHijBijEiMXiWBiFBiFCUBQUXFUaRUNDUNcUNRUNFUDBUSHUCDUGBUGFUEqULNULoUIRUeEUeYUgBUhFUuRUiFUsXUdFUkHUbBUjSUjYUwXUMDUcHURdUTBUrBUrXUrQZAFZXZZaRZKFZNBZQFZCXZGBZYdZpBZLDZIFZHXZHNZeQZVRZVFZmXZiBZvFZdFZkFZbHZbFZwXZcCZcRZRBvBQvBGvBLvBWvCovMYsAFsBDsaRsKFsNFsDrsSHsSFsCXsCRsEBsEHsEfspBsLBsLDsIgsIRseGsbRsFBsFQsFSdNBdSRdCVdGHdYDdHcdVbdySduDdsXdlRdwXdWYdWcdWRkBMkXOkaRkNIkNFkSFkCFkYBkpRkeNkgBkhVkmXksFklVkMBkWDkFNoBNoaQoaFoNBoNXoNaoNEoSRoEroYXoYCoYbopRopFomXojkowXorFbBEbEIbdBbjYlaRlDElMXlFDjKjjSRjGBjYBjYkjpRjLXjIBjOFjeVjbRjwBnXQnSHnpFnLXnINnMBnTRwXBwXNwXYwNFwQFwSBwGFwLXwLDweNwgBwuHwjDwnXMBXMpFMIBMeNMTHcaQcNBcDHcSFcCXcpBcLXcLDcgFcuFcnXcwXccDcTQcrFTQErXNrCHrpFrgFrbFrTHrFcWNYWNbWEHWMXWTR', + 'ABGHABIJAEAVAYJQALZJAIaRAHNXAHdcAHbRAZJMAZJRAZTRAdVJAklmAbcNAjdRAMnRAMWYAWpRAWgRAFgBAFhBAFdcBNJBBNJDBQKBBQhcBQlmBDEJBYJkBYJTBpNBBpJFBIJBBIJDBIcABOKXBOEJBOVJBOiJBOZJBepBBeLXBeIFBegBBgGJBVJXBuocBiJRBUJQBlXVBlITBwNFBMYVBcqXBTlmBWNFBWiJBWnRBFGHBFwXXKGJXNJBXNZJXDTTXSHSXSVRXSlHXCJDXGQJXEhXXYQJXYbRXOfXXeNcXVJFXhQJXhEJXdTRXjdXXMhBXcQTXRGBXTEBXTnQXFCXXFOFXFgFaBaFaBNJaBCJaBpBaBwXaNJKaNJDaQIBaDpRaEPDaHMFamDJalEJaMZJaFaFaFNBaFQJaFLDaFVHKBCYKBEBKBHDKXaFKXGdKXEJKXpHKXIBKXZDKXwXKKwLKNacKNYJKNJoKNWcKDGdKDTRKChXKGaRKGhBKGbRKEBTKEaRKEPTKLMDKLWRKOHDKVJcKdBcKlIBKlOPKFSBKFEPKFpFNBNJNJBQNBGHNBEPNBHXNBgFNBVXNBZDNBsXNBwXNNaRNNJDNNJENNJkNDCJNDVDNGJRNJiDNZJNNsCJNJFNNFSBNFCXNFEPNFLXNFIFQJBFQCaRQJEQQLJDQLJFQIaRQOqXQHaFQHHQQVJXQVJDQhNJQmEIQZJFQsJXQJrFQWbRDJABDBYJDXNFDXCXDXLXDXZDDXsJDQqXDSJFDJCXDEPkDEqXDYmQDpSJDOCkDOGQDHEIDVJDDuDuDWEBDJFgSBNDSBSFSBGHSBIBSBTQSKVYSJQNSJQiSJCXSEqXSJYVSIiJSOMYSHAHSHaQSeCFSepQSegBSHdHSHrFShSJSJuHSJUFSkNRSrSrSWEBSFaHSJFQSFCXSFGDSFYXSFODSFgBSFVXSFhBSFxFSFkFSFbBSFMFCADdCJXBCXaFCXKFCXNFCXCXCXGBCXEJCXYBCXLDCXIBCXOPCXHXCXgBCXhBCXiBCXlDCXcHCJNBCJNFCDCJCDGBCDVXCDhBCDiDCDJdCCmNCpJFCIaRCOqXCHCHCHZJCViJCuCuCmddCJiFCdNBCdHhClEJCnUJCreSCWlgCWTRCFBFCFNBCFYBCFVFCFhFCFdSCFTBCFWDGBNBGBQFGJBCGBEqGBpBGBgQGNBEGNJYGNkOGNJRGDUFGJpQGHaBGJeNGJeEGVBlGVKjGiJDGvJHGsVJGkEBGMIJGWjNGFBFGFCXGFGBGFYXGFpBGFMFEASJEAWpEJNFECJVEIXSEIQJEOqXEOcFEeNcEHEJEHlFEJgFEhlmEmDJEmZJEiMBEUqXEoSREPBFEPXFEPKFEPSFEPEFEPpFEPLXEPIBEJPdEPcFEPTBEJnXEqlHEMpREFCXEFODEFcFYASJYJAFYBaBYBVXYXpFYDhBYCJBYJGFYYbRYeNcYJeVYiIJYZJcYvJgYvJRYJsXYsJFYMYMYreVpBNHpBEJpBwXpQxFpYEJpeNDpJeDpeSFpeCHpHUJpHbBpHcHpmUJpiiJpUJrpsJuplITpFaBpFQqpFGBpFEfpFYBpFpBpFLJpFIDpFgBpFVXpFyQpFuFpFlFpFjDpFnXpFwXpJFMpFTBLXCJLXEFLXhFLXUJLXbFLalmLNJBLSJQLCLCLGJBLLDJLHaFLeNFLeSHLeCXLepFLhaRLZsJLsJDLsJrLocaLlLlLMdbLFNBLFSBLFEHLFkFIBBFIBXFIBaQIBKXIBSFIBpHIBLXIBgBIBhBIBuHIBmXIBiFIBZXIBvFIBbFIBjQIBwXIBWFIKTRIQUJIDGFICjQIYSRIINXIJeCIVaRImEkIZJFIvJRIsJXIdCJIJoRIbBQIjYBIcqXITFVIreVIFKFIFSFIFCJIFGFIFLDIFIBIJFOIFgBIFVXIJFhIFxFIFmXIFdHIFbBIJFrIJFWOBGBOQfXOOKjOUqXOfXBOqXEOcqXORVJOFIBOFlDHBIOHXiFHNTRHCJXHIaRHHJDHHEJHVbRHZJYHbIBHRsJHRkDHWlmgBKFgBSBgBCDgBGHgBpBgBIBgBVJgBuBgBvFgKDTgQVXgDUJgGSJgOqXgmUMgZIJgTUJgWIEgFBFgFNBgFDJgFSFgFGBgFYXgJFOgFgQgFVXgFhBgFbHgJFWVJABVQKcVDgFVOfXVeDFVhaRVmGdViJYVMaRVFNHhBNDhBCXhBEqhBpFhBLXhNJBhSJRheVXhhKEhxlmhZIJhdBQhkIJhbMNhMUJhMZJxNJgxQUJxDEkxDdFxSJRxplmxeSBxeCXxeGFxeYXxepQxegBxWVcxFEQxFLXxFIBxFgBxFxDxFZtxFdcxFbBxFwXyDJXyDlcuASJuDJpuDIBuCpJuGSJuIJFueEFuZIJusJXudWEuoIBuWGJuFBcuFKEuFNFuFQFuFDJuFGJuFVJuFUtuFdHuFTBmBYJmNJYmQhkmLJDmLJomIdXmiJYmvJRmsJRmklmmMBymMuCmclmmcnQiJABiJBNiJBDiBSFiBCJiBEFiBYBiBpFiBLXiBTHiJNciDEfiCZJiECJiJEqiOkHiHKFieNDiHJQieQcieDHieSFieCXieGFieEFieIHiegFihUJixNoioNXiFaBiFKFiFNDiFEPiFYXitFOitFHiFgBiFVEiFmXiFitiFbBiFMFiFrFUCXQUIoQUIJcUHQJUeCEUHwXUUJDUUqXUdWcUcqXUrnQUFNDUFSHUFCFUFEfUFLXUtFOZBXOZXSBZXpFZXVXZEQJZEJkZpDJZOqXZeNHZeCDZUqXZFBQZFEHZFLXvBAFvBKFvBCXvBEPvBpHvBIDvBgFvBuHvQNJvFNFvFGBvFIBvJFcsXCDsXLXsXsXsXlFsXcHsQqXsJQFsEqXseIFsFEHsFjDdBxOdNpRdNJRdEJbdpJRdhZJdnSJdrjNdFNJdFQHdFhNkNJDkYaRkHNRkHSRkVbRkuMRkjSJkcqDoSJFoEiJoYZJoOfXohEBoMGQocqXbBAFbBXFbBaFbBNDbBGBbBLXbBTBbBWDbGJYbIJHbFQqbFpQlDgQlOrFlVJRjGEBjZJRnXvJnXbBnEfHnOPDngJRnxfXnUJWwXEJwNpJwDpBwEfXwrEBMDCJMDGHMDIJMLJDcQGDcQpHcqXccqNFcqCXcFCJRBSBRBGBRBEJRBpQTBNFTBQJTBpBTBVXTFABTFSBTFCFTFGBTFMDrXCJrXLDrDNJrEfHrFQJrFitWNjdWNTR', + 'AKLJMANOPFASNJIAEJWXAYJNRAIIbRAIcdaAeEfDAgidRAdjNYAMYEJAMIbRAFNJBAFpJFBBIJYBDZJFBSiJhBGdEBBEJfXBEJqXBEJWRBpaUJBLXrXBIYJMBOcfXBeEfFBestXBjNJRBcDJOBFEqXXNvJRXDMBhXCJNYXOAWpXONJWXHDEBXeIaRXhYJDXZJSJXMDJOXcASJXFVJXaBQqXaBZJFasXdQaFSJQaFEfXaFpJHaFOqXKBNSRKXvJBKQJhXKEJQJKEJGFKINJBKIJjNKgJNSKVElmKVhEBKiJGFKlBgJKjnUJKwsJYKMFIJKFNJDKFIJFKFOfXNJBSFNJBCXNBpJFNJBvQNJBMBNJLJXNJOqXNJeCXNJeGFNdsJCNbTKFNwXUJQNFEPQDiJcQDMSJQSFpBQGMQJQJeOcQyCJEQUJEBQJFBrQFEJqDXDJFDJXpBDJXIMDGiJhDIJGRDJeYcDHrDJDVXgFDkAWpDkIgRDjDEqDMvJRDJFNFDJFIBSKclmSJQOFSJQVHSJQjDSJGJBSJGJFSECJoSHEJqSJHTBSJVJDSViJYSZJNBSJsJDSFSJFSFEfXSJFLXCBUJVCJXSBCJXpBCXVJXCJXsXCJXdFCJNJHCLIJgCHiJFCVNJMChCJhCUHEJCsJTRCJdYcCoQJCCFEfXCFIJgCFUJxCFstFGJBaQGJBIDGQJqXGYJNRGJHKFGeQqDGHEJFGJeLXGHIiJGHdBlGUJEBGkIJTGFQPDGJFEqEAGegEJIJBEJVJXEhQJTEiJNcEJZJFEJoEqEjDEqEPDsXEPGJBEPOqXEPeQFEfDiDEJfEFEfepQEfMiJEqXNBEqDIDEqeSFEqVJXEMvJRYXNJDYXEJHYKVJcYYJEBYJeEcYJUqXYFpJFYFstXpAZJMpBSJFpNBNFpeQPDpHLJDpHIJFpHgJFpeitFpHZJFpJFADpFSJFpJFCJpFOqXpFitBpJFZJLXIJFLIJgRLVNJWLVHJMLwNpJLFGJBLFLJDLFOqXLJFUJIBDJXIBGJBIJBYQIJBIBIBOqXIBcqDIEGJFILNJTIIJEBIOiJhIJeNBIJeIBIhiJIIWoTRIJFAHIJFpBIJFuHIFUtFIJFTHOSBYJOEcqXOHEJqOvBpFOkVJrObBVJOncqDOcNJkHhNJRHuHJuHdMhBgBUqXgBsJXgONJBgHNJDgHHJQgJeitgHsJXgJyNagyDJBgZJDrgsVJQgkEJNgkjSJgJFAHgFCJDgFZtMVJXNFVXQfXVJXDJVXoQJVQVJQVDEfXVDvJHVEqNFVeQfXVHpJFVHxfXVVJSRVVmaRVlIJOhCXVJhHjYkhxCJVhWVUJhWiJcxBNJIxeEqDxfXBFxcFEPxFSJFxFYJXyBDQJydaUJyFOPDuYCJYuLvJRuHLJXuZJLDuFOPDuFZJHuFcqXmKHJdmCQJcmOsVJiJAGFitLCFieOfXiestXiZJMEikNJQirXzFiFQqXiFIJFiFZJFiFvtFUHpJFUteIcUteOcUVCJkUhdHcUbEJEUJqXQUMNJhURjYkUFitFZDGJHZJIxDZJVJXZJFDJZJFpQvBNJBvBSJFvJxBrseQqDsVFVJdFLJDkEJNBkmNJYkFLJDoQJOPoGsJRoEAHBoEJfFbBQqDbBZJHbFVJXlFIJBjYIrXjeitcjjCEBjWMNBwXQfXwXOaFwDsJXwCJTRwrCZJMDNJQcDDJFcqDOPRYiJFTBsJXTQIJBTFEfXTFLJDrXEJFrEJXMrFZJFWEJdEWYTlm', + 'ABCDEFACNJTRAMBDJdAcNJVXBLNJEBXSIdWRXErNJkXYDJMBXZJCJaXMNJaYKKVJKcKDEJqXKDcNJhKVJrNYKbgJVXKFVJSBNBYBwDNJeQfXNJeEqXNhGJWENJFiJRQlIJbEQJfXxDQqXcfXQFNDEJQFwXUJDYcnUJDJIBgQDIUJTRDJFEqDSJQSJFSJQIJFSOPeZtSJFZJHCJXQfXCTDEqFGJBSJFGJBOfXGJBcqXGJHNJDGJRLiJEJfXEqEJFEJPEFpBEJYJBZJFYBwXUJYiJMEBYJZJyTYTONJXpQMFXFpeGIDdpJFstXpJFcPDLBVSJRLHQJqXLJFZJFIJBNJDIJBUqXIBkFDJIJEJPTIYJGWRIJeQPDIJeEfHIJFsJXOqGDSFHXEJqXgJCsJCgGQJqXgdQYJEgFMFNBgJFcqDVJwXUJVJFZJchIgJCCxOEJqXxOwXUJyDJBVRuscisciJBiJBieUtqXiJFDJkiFsJXQUGEZJcUJFsJXZtXIrXZDZJDrZJFNJDZJFstXvJFQqXvJFCJEsJXQJqkhkNGBbDJdTRbYJMEBlDwXUJMEFiJFcfXNJDRcNJWMTBLJXC', + 'BraFUtHBFSJFdbNBLJXVJQoYJNEBSJBEJfHSJHwXUJCJdAZJMGjaFVJXEJPNJBlEJfFiJFpFbFEJqIJBVJCrIBdHiJhOPFChvJVJZJNJWxGFNIFLueIBQJqUHEJfUFstOZJDrlXEASJRlXVJXSFwVJNJWD', + 'QJEJNNJDQJEJIBSFQJEJxegBQJEJfHEPSJBmXEJFSJCDEJqXLXNJFQqXIcQsFNJFIFEJqXUJgFsJXIJBUJEJfHNFvJxEqXNJnXUJFQqD', + 'IJBEJqXZJ', ]; - var mapping = "~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt"; + var mapping = + '~~AzB~X~a~KN~Q~D~S~C~G~E~Y~p~L~I~O~eH~g~V~hxyumi~~U~~Z~~v~~s~~dkoblPjfnqwMcRTr~W~~~F~~~~~Jt'; var wordlist = null; function hex(word) { return (0, bytes_1.hexlify)((0, strings_1.toUtf8Bytes)(word)); } - var KiYoKu = "0xe3818de38284e3818f"; - var KyoKu = "0xe3818de38283e3818f"; + var KiYoKu = '0xe3818de38284e3818f'; + var KyoKu = '0xe3818de38283e3818f'; function loadWords(lang) { if (wordlist !== null) { return; @@ -16110,12 +16294,20 @@ var require_lang_ja = __commonJS({ var transform = {}; transform[(0, strings_1.toUtf8String)([227, 130, 154])] = false; transform[(0, strings_1.toUtf8String)([227, 130, 153])] = false; - transform[(0, strings_1.toUtf8String)([227, 130, 133])] = (0, strings_1.toUtf8String)([227, 130, 134]); - transform[(0, strings_1.toUtf8String)([227, 129, 163])] = (0, strings_1.toUtf8String)([227, 129, 164]); - transform[(0, strings_1.toUtf8String)([227, 130, 131])] = (0, strings_1.toUtf8String)([227, 130, 132]); - transform[(0, strings_1.toUtf8String)([227, 130, 135])] = (0, strings_1.toUtf8String)([227, 130, 136]); + transform[(0, strings_1.toUtf8String)([227, 130, 133])] = (0, strings_1.toUtf8String)([ + 227, 130, 134, + ]); + transform[(0, strings_1.toUtf8String)([227, 129, 163])] = (0, strings_1.toUtf8String)([ + 227, 129, 164, + ]); + transform[(0, strings_1.toUtf8String)([227, 130, 131])] = (0, strings_1.toUtf8String)([ + 227, 130, 132, + ]); + transform[(0, strings_1.toUtf8String)([227, 130, 135])] = (0, strings_1.toUtf8String)([ + 227, 130, 136, + ]); function normalize(word2) { - var result = ""; + var result = ''; for (var i2 = 0; i2 < word2.length; i2++) { var kana = word2[i2]; var target = transform[kana]; @@ -16159,79 +16351,88 @@ var require_lang_ja = __commonJS({ wordlist[442] = wordlist[443]; wordlist[443] = tmp; } - if (wordlist_1.Wordlist.check(lang) !== "0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600") { + if ( + wordlist_1.Wordlist.check(lang) !== + '0xcb36b09e6baa935787fd762ce65e80b0c6a8dabdfbc3a7f86ac0e2c4fd111600' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for ja (Japanese) FAILED"); + throw new Error('BIP39 Wordlist for ja (Japanese) FAILED'); } } - var LangJa = function(_super) { + var LangJa = (function (_super) { __extends(LangJa2, _super); function LangJa2() { - return _super.call(this, "ja") || this; + return _super.call(this, 'ja') || this; } - LangJa2.prototype.getWord = function(index) { + LangJa2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangJa2.prototype.getWordIndex = function(word) { + LangJa2.prototype.getWordIndex = function (word) { loadWords(this); return wordlist.indexOf(word); }; - LangJa2.prototype.split = function(mnemonic) { + LangJa2.prototype.split = function (mnemonic) { wordlist_1.logger.checkNormalize(); return mnemonic.split(/(?:\u3000| )+/g); }; - LangJa2.prototype.join = function(words) { - return words.join("\u3000"); + LangJa2.prototype.join = function (words) { + return words.join('\u3000'); }; return LangJa2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langJa = new LangJa(); exports2.langJa = langJa; wordlist_1.Wordlist.register(langJa); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-ko.js var require_lang_ko = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-ko.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-ko.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langKo = void 0; var strings_1 = require_lib9(); var wordlist_1 = require_wordlist(); var data = [ - "OYAa", - "ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8", - "ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6", - "ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv", - "AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo", - "AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg", - "HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb", - "AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl" + 'OYAa', + 'ATAZoATBl3ATCTrATCl8ATDloATGg3ATHT8ATJT8ATJl3ATLlvATLn4ATMT8ATMX8ATMboATMgoAToLbAToMTATrHgATvHnAT3AnAT3JbAT3MTAT8DbAT8JTAT8LmAT8MYAT8MbAT#LnAUHT8AUHZvAUJXrAUJX8AULnrAXJnvAXLUoAXLgvAXMn6AXRg3AXrMbAX3JTAX3QbAYLn3AZLgvAZrSUAZvAcAZ8AaAZ8AbAZ8AnAZ8HnAZ8LgAZ8MYAZ8MgAZ8OnAaAboAaDTrAaFTrAaJTrAaJboAaLVoAaMXvAaOl8AaSeoAbAUoAbAg8AbAl4AbGnrAbMT8AbMXrAbMn4AbQb8AbSV8AbvRlAb8AUAb8AnAb8HgAb8JTAb8NTAb8RbAcGboAcLnvAcMT8AcMX8AcSToAcrAaAcrFnAc8AbAc8MgAfGgrAfHboAfJnvAfLV8AfLkoAfMT8AfMnoAfQb8AfScrAfSgrAgAZ8AgFl3AgGX8AgHZvAgHgrAgJXoAgJX8AgJboAgLZoAgLn4AgOX8AgoATAgoAnAgoCUAgoJgAgoLXAgoMYAgoSeAgrDUAgrJTAhrFnAhrLjAhrQgAjAgoAjJnrAkMX8AkOnoAlCTvAlCV8AlClvAlFg4AlFl6AlFn3AloSnAlrAXAlrAfAlrFUAlrFbAlrGgAlrOXAlvKnAlvMTAl3AbAl3MnAnATrAnAcrAnCZ3AnCl8AnDg8AnFboAnFl3AnHX4AnHbrAnHgrAnIl3AnJgvAnLXoAnLX4AnLbrAnLgrAnLhrAnMXoAnMgrAnOn3AnSbrAnSeoAnvLnAn3OnCTGgvCTSlvCTvAUCTvKnCTvNTCT3CZCT3GUCT3MTCT8HnCUCZrCULf8CULnvCU3HnCU3JUCY6NUCbDb8CbFZoCbLnrCboOTCboScCbrFnCbvLnCb8AgCb8HgCb$LnCkLfoClBn3CloDUDTHT8DTLl3DTSU8DTrAaDTrLXDTrLjDTrOYDTrOgDTvFXDTvFnDT3HUDT3LfDUCT9DUDT4DUFVoDUFV8DUFkoDUGgrDUJnrDULl8DUMT8DUMXrDUMX4DUMg8DUOUoDUOgvDUOg8DUSToDUSZ8DbDXoDbDgoDbGT8DbJn3DbLg3DbLn4DbMXrDbMg8DbOToDboJXGTClvGTDT8GTFZrGTLVoGTLlvGTLl3GTMg8GTOTvGTSlrGToCUGTrDgGTrJYGTrScGTtLnGTvAnGTvQgGUCZrGUDTvGUFZoGUHXrGULnvGUMT8GUoMgGXoLnGXrMXGXrMnGXvFnGYLnvGZOnvGZvOnGZ8LaGZ8LmGbAl3GbDYvGbDlrGbHX3GbJl4GbLV8GbLn3GbMn4GboJTGboRfGbvFUGb3GUGb4JnGgDX3GgFl$GgJlrGgLX6GgLZoGgLf8GgOXoGgrAgGgrJXGgrMYGgrScGgvATGgvOYGnAgoGnJgvGnLZoGnLg3GnLnrGnQn8GnSbrGnrMgHTClvHTDToHTFT3HTQT8HToJTHToJgHTrDUHTrMnHTvFYHTvRfHT8MnHT8SUHUAZ8HUBb4HUDTvHUoMYHXFl6HXJX6HXQlrHXrAUHXrMnHXrSbHXvFYHXvKXHX3LjHX3MeHYvQlHZrScHZvDbHbAcrHbFT3HbFl3HbJT8HbLTrHbMT8HbMXrHbMbrHbQb8HbSX3HboDbHboJTHbrFUHbrHgHbrJTHb8JTHb8MnHb8QgHgAlrHgDT3HgGgrHgHgrHgJTrHgJT8HgLX@HgLnrHgMT8HgMX8HgMboHgOnrHgQToHgRg3HgoHgHgrCbHgrFnHgrLVHgvAcHgvAfHnAloHnCTrHnCnvHnGTrHnGZ8HnGnvHnJT8HnLf8HnLkvHnMg8HnRTrITvFUITvFnJTAXrJTCV8JTFT3JTFT8JTFn4JTGgvJTHT8JTJT8JTJXvJTJl3JTJnvJTLX4JTLf8JTLhvJTMT8JTMXrJTMnrJTObrJTQT8JTSlvJT8DUJT8FkJT8MTJT8OXJT8OgJT8QUJT8RfJUHZoJXFT4JXFlrJXGZ8JXGnrJXLV8JXLgvJXMXoJXMX3JXNboJXPlvJXoJTJXoLkJXrAXJXrHUJXrJgJXvJTJXvOnJX4KnJYAl3JYJT8JYLhvJYQToJYrQXJY6NUJbAl3JbCZrJbDloJbGT8JbGgrJbJXvJbJboJbLf8JbLhrJbLl3JbMnvJbRg8JbSZ8JboDbJbrCZJbrSUJb3KnJb8LnJfRn8JgAXrJgCZrJgDTrJgGZrJgGZ8JgHToJgJT8JgJXoJgJgvJgLX4JgLZ3JgLZ8JgLn4JgMgrJgMn4JgOgvJgPX6JgRnvJgSToJgoCZJgoJbJgoMYJgrJXJgrJgJgrLjJg6MTJlCn3JlGgvJlJl8Jl4AnJl8FnJl8HgJnAToJnATrJnAbvJnDUoJnGnrJnJXrJnJXvJnLhvJnLnrJnLnvJnMToJnMT8JnMXvJnMX3JnMg8JnMlrJnMn4JnOX8JnST4JnSX3JnoAgJnoAnJnoJTJnoObJnrAbJnrAkJnrHnJnrJTJnrJYJnrOYJnrScJnvCUJnvFaJnvJgJnvJnJnvOYJnvQUJnvRUJn3FnJn3JTKnFl3KnLT6LTDlvLTMnoLTOn3LTRl3LTSb4LTSlrLToAnLToJgLTrAULTrAcLTrCULTrHgLTrMgLT3JnLULnrLUMX8LUoJgLVATrLVDTrLVLb8LVoJgLV8MgLV8RTLXDg3LXFlrLXrCnLXrLXLX3GTLX4GgLX4OYLZAXrLZAcrLZAgrLZAhrLZDXyLZDlrLZFbrLZFl3LZJX6LZJX8LZLc8LZLnrLZSU8LZoJTLZoJnLZrAgLZrAnLZrJYLZrLULZrMgLZrSkLZvAnLZvGULZvJeLZvOTLZ3FZLZ4JXLZ8STLZ8ScLaAT3LaAl3LaHT8LaJTrLaJT8LaJXrLaJgvLaJl4LaLVoLaMXrLaMXvLaMX8LbClvLbFToLbHlrLbJn4LbLZ3LbLhvLbMXrLbMnoLbvSULcLnrLc8HnLc8MTLdrMnLeAgoLeOgvLeOn3LfAl3LfLnvLfMl3LfOX8Lf8AnLf8JXLf8LXLgJTrLgJXrLgJl8LgMX8LgRZrLhCToLhrAbLhrFULhrJXLhvJYLjHTrLjHX4LjJX8LjLhrLjSX3LjSZ4LkFX4LkGZ8LkGgvLkJTrLkMXoLkSToLkSU8LkSZ8LkoOYLl3FfLl3MgLmAZrLmCbrLmGgrLmHboLmJnoLmJn3LmLfoLmLhrLmSToLnAX6LnAb6LnCZ3LnCb3LnDTvLnDb8LnFl3LnGnrLnHZvLnHgvLnITvLnJT8LnJX8LnJlvLnLf8LnLg6LnLhvLnLnoLnMXrLnMg8LnQlvLnSbrLnrAgLnrAnLnrDbLnrFkLnrJdLnrMULnrOYLnrSTLnvAnLnvDULnvHgLnvOYLnvOnLn3GgLn4DULn4JTLn4JnMTAZoMTAloMTDb8MTFT8MTJnoMTJnrMTLZrMTLhrMTLkvMTMX8MTRTrMToATMTrDnMTrOnMT3JnMT4MnMT8FUMT8FaMT8FlMT8GTMT8GbMT8GnMT8HnMT8JTMT8JbMT8OTMUCl8MUJTrMUJU8MUMX8MURTrMUSToMXAX6MXAb6MXCZoMXFXrMXHXrMXLgvMXOgoMXrAUMXrAnMXrHgMXrJYMXrJnMXrMTMXrMgMXrOYMXrSZMXrSgMXvDUMXvOTMX3JgMX3OTMX4JnMX8DbMX8FnMX8HbMX8HgMX8HnMX8LbMX8MnMX8OnMYAb8MYGboMYHTvMYHX4MYLTrMYLnvMYMToMYOgvMYRg3MYSTrMbAToMbAXrMbAl3MbAn8MbGZ8MbJT8MbJXrMbMXvMbMX8MbMnoMbrMUMb8AfMb8FbMb8FkMcJXoMeLnrMgFl3MgGTvMgGXoMgGgrMgGnrMgHT8MgHZrMgJnoMgLnrMgLnvMgMT8MgQUoMgrHnMgvAnMg8HgMg8JYMg8LfMloJnMl8ATMl8AXMl8JYMnAToMnAT4MnAZ8MnAl3MnAl4MnCl8MnHT8MnHg8MnJnoMnLZoMnLhrMnMXoMnMX3MnMnrMnOgvMnrFbMnrFfMnrFnMnrNTMnvJXNTMl8OTCT3OTFV8OTFn3OTHZvOTJXrOTOl3OT3ATOT3JUOT3LZOT3LeOT3MbOT8ATOT8AbOT8AgOT8MbOUCXvOUMX3OXHXvOXLl3OXrMUOXvDbOX6NUOX8JbOYFZoOYLbrOYLkoOYMg8OYSX3ObHTrObHT4ObJgrObLhrObMX3ObOX8Ob8FnOeAlrOeJT8OeJXrOeJnrOeLToOeMb8OgJXoOgLXoOgMnrOgOXrOgOloOgoAgOgoJbOgoMYOgoSTOg8AbOjLX4OjMnoOjSV8OnLVoOnrAgOn3DUPXQlrPXvFXPbvFTPdAT3PlFn3PnvFbQTLn4QToAgQToMTQULV8QURg8QUoJnQXCXvQbFbrQb8AaQb8AcQb8FbQb8MYQb8ScQeAlrQeLhrQjAn3QlFXoQloJgQloSnRTLnvRTrGURTrJTRUJZrRUoJlRUrQnRZrLmRZrMnRZrSnRZ8ATRZ8JbRZ8ScRbMT8RbST3RfGZrRfMX8RfMgrRfSZrRnAbrRnGT8RnvJgRnvLfRnvMTRn8AaSTClvSTJgrSTOXrSTRg3STRnvSToAcSToAfSToAnSToHnSToLjSToMTSTrAaSTrEUST3BYST8AgST8LmSUAZvSUAgrSUDT4SUDT8SUGgvSUJXoSUJXvSULTrSU8JTSU8LjSV8AnSV8JgSXFToSXLf8SYvAnSZrDUSZrMUSZrMnSZ8HgSZ8JTSZ8JgSZ8MYSZ8QUSaQUoSbCT3SbHToSbQYvSbSl4SboJnSbvFbSb8HbSb8JgSb8OTScGZrScHgrScJTvScMT8ScSToScoHbScrMTScvAnSeAZrSeAcrSeHboSeJUoSeLhrSeMT8SeMXrSe6JgSgHTrSkJnoSkLnvSk8CUSlFl3SlrSnSl8GnSmAboSmGT8SmJU8', + 'ATLnDlATrAZoATrJX4ATrMT8ATrMX4ATrRTrATvDl8ATvJUoATvMl8AT3AToAT3MX8AT8CT3AT8DT8AT8HZrAT8HgoAUAgFnAUCTFnAXoMX8AXrAT8AXrGgvAXrJXvAXrOgoAXvLl3AZvAgoAZvFbrAZvJXoAZvJl8AZvJn3AZvMX8AZvSbrAZ8FZoAZ8LZ8AZ8MU8AZ8OTvAZ8SV8AZ8SX3AbAgFZAboJnoAbvGboAb8ATrAb8AZoAb8AgrAb8Al4Ab8Db8Ab8JnoAb8LX4Ab8LZrAb8LhrAb8MT8Ab8OUoAb8Qb8Ab8ST8AcrAUoAcrAc8AcrCZ3AcrFT3AcrFZrAcrJl4AcrJn3AcrMX3AcrOTvAc8AZ8Ac8MT8AfAcJXAgoFn4AgoGgvAgoGnrAgoLc8AgoMXoAgrLnrAkrSZ8AlFXCTAloHboAlrHbrAlrLhrAlrLkoAl3CZrAl3LUoAl3LZrAnrAl4AnrMT8An3HT4BT3IToBX4MnvBb!Ln$CTGXMnCToLZ4CTrHT8CT3JTrCT3RZrCT#GTvCU6GgvCU8Db8CU8GZrCU8HT8CboLl3CbrGgrCbrMU8Cb8DT3Cb8GnrCb8LX4Cb8MT8Cb8ObrCgrGgvCgrKX4Cl8FZoDTrAbvDTrDboDTrGT6DTrJgrDTrMX3DTrRZrDTrRg8DTvAVvDTvFZoDT3DT8DT3Ln3DT4HZrDT4MT8DT8AlrDT8MT8DUAkGbDUDbJnDYLnQlDbDUOYDbMTAnDbMXSnDboAT3DboFn4DboLnvDj6JTrGTCgFTGTGgFnGTJTMnGTLnPlGToJT8GTrCT3GTrLVoGTrLnvGTrMX3GTrMboGTvKl3GZClFnGZrDT3GZ8DTrGZ8FZ8GZ8MXvGZ8On8GZ8ST3GbCnQXGbMbFnGboFboGboJg3GboMXoGb3JTvGb3JboGb3Mn6Gb3Qb8GgDXLjGgMnAUGgrDloGgrHX4GgrSToGgvAXrGgvAZvGgvFbrGgvLl3GgvMnvGnDnLXGnrATrGnrMboGnuLl3HTATMnHTAgCnHTCTCTHTrGTvHTrHTvHTrJX8HTrLl8HTrMT8HTrMgoHTrOTrHTuOn3HTvAZrHTvDTvHTvGboHTvJU8HTvLl3HTvMXrHTvQb4HT4GT6HT4JT8HT4Jb#HT8Al3HT8GZrHT8GgrHT8HX4HT8Jb8HT8JnoHT8LTrHT8LgvHT8SToHT8SV8HUoJUoHUoJX8HUoLnrHXrLZoHXvAl3HX3LnrHX4FkvHX4LhrHX4MXoHX4OnoHZrAZ8HZrDb8HZrGZ8HZrJnrHZvGZ8HZvLnvHZ8JnvHZ8LhrHbCXJlHbMTAnHboJl4HbpLl3HbrJX8HbrLnrHbrMnvHbvRYrHgoSTrHgrFV8HgrGZ8HgrJXoHgrRnvHgvBb!HgvGTrHgvHX4HgvHn!HgvLTrHgvSU8HnDnLbHnFbJbHnvDn8Hn6GgvHn!BTvJTCTLnJTQgFnJTrAnvJTrLX4JTrOUoJTvFn3JTvLnrJTvNToJT3AgoJT3Jn4JT3LhvJT3ObrJT8AcrJT8Al3JT8JT8JT8JnoJT8LX4JT8LnrJT8MX3JT8Rg3JT8Sc8JUoBTvJU8AToJU8GZ8JU8GgvJU8JTrJU8JXrJU8JnrJU8LnvJU8ScvJXHnJlJXrGgvJXrJU8JXrLhrJXrMT8JXrMXrJXrQUoJXvCTvJXvGZ8JXvGgrJXvQT8JX8Ab8JX8DT8JX8GZ8JX8HZvJX8LnrJX8MT8JX8MXoJX8MnvJX8ST3JYGnCTJbAkGbJbCTAnJbLTAcJboDT3JboLb6JbrAnvJbrCn3JbrDl8JbrGboJbrIZoJbrJnvJbrMnvJbrQb4Jb8RZrJeAbAnJgJnFbJgScAnJgrATrJgvHZ8JgvMn4JlJlFbJlLiQXJlLjOnJlRbOlJlvNXoJlvRl3Jl4AcrJl8AUoJl8MnrJnFnMlJnHgGbJnoDT8JnoFV8JnoGgvJnoIT8JnoQToJnoRg3JnrCZ3JnrGgrJnrHTvJnrLf8JnrOX8JnvAT3JnvFZoJnvGT8JnvJl4JnvMT8JnvMX8JnvOXrJnvPX6JnvSX3JnvSZrJn3MT8Jn3MX8Jn3RTrLTATKnLTJnLTLTMXKnLTRTQlLToGb8LTrAZ8LTrCZ8LTrDb8LTrHT8LT3PX6LT4FZoLT$CTvLT$GgrLUvHX3LVoATrLVoAgoLVoJboLVoMX3LVoRg3LV8CZ3LV8FZoLV8GTvLXrDXoLXrFbrLXvAgvLXvFlrLXvLl3LXvRn6LX4Mb8LX8GT8LYCXMnLYrMnrLZoSTvLZrAZvLZrAloLZrFToLZrJXvLZrJboLZrJl4LZrLnrLZrMT8LZrOgvLZrRnvLZrST4LZvMX8LZvSlvLZ8AgoLZ8CT3LZ8JT8LZ8LV8LZ8LZoLZ8Lg8LZ8SV8LZ8SbrLZ$HT8LZ$Mn4La6CTvLbFbMnLbRYFTLbSnFZLboJT8LbrAT9LbrGb3LbrQb8LcrJX8LcrMXrLerHTvLerJbrLerNboLgrDb8LgrGZ8LgrHTrLgrMXrLgrSU8LgvJTrLgvLl3Lg6Ll3LhrLnrLhrMT8LhvAl4LiLnQXLkoAgrLkoJT8LkoJn4LlrSU8Ll3FZoLl3HTrLl3JX8Ll3JnoLl3LToLmLeFbLnDUFbLnLVAnLnrATrLnrAZoLnrAb8LnrAlrLnrGgvLnrJU8LnrLZrLnrLhrLnrMb8LnrOXrLnrSZ8LnvAb4LnvDTrLnvDl8LnvHTrLnvHbrLnvJT8LnvJU8LnvJbrLnvLhvLnvMX8LnvMb8LnvNnoLnvSU8Ln3Al3Ln4FZoLn4GT6Ln4JgvLn4LhrLn4MT8Ln4SToMToCZrMToJX8MToLX4MToLf8MToRg3MTrEloMTvGb6MT3BTrMT3Lb6MT8AcrMT8AgrMT8GZrMT8JnoMT8LnrMT8MX3MUOUAnMXAbFnMXoAloMXoJX8MXoLf8MXoLl8MXrAb8MXrDTvMXrGT8MXrGgrMXrHTrMXrLf8MXrMU8MXrOXvMXrQb8MXvGT8MXvHTrMXvLVoMX3AX3MX3Jn3MX3LhrMX3MX3MX4AlrMX4OboMX8GTvMX8GZrMX8GgrMX8JT8MX8JX8MX8LhrMX8MT8MYDUFbMYMgDbMbGnFfMbvLX4MbvLl3Mb8Mb8Mb8ST4MgGXCnMg8ATrMg8AgoMg8CZrMg8DTrMg8DboMg8HTrMg8JgrMg8LT8MloJXoMl8AhrMl8JT8MnLgAUMnoJXrMnoLX4MnoLhrMnoMT8MnrAl4MnrDb8MnrOTvMnrOgvMnrQb8MnrSU8MnvGgrMnvHZ8Mn3MToMn4DTrMn4LTrMn4Mg8NnBXAnOTFTFnOToAToOTrGgvOTrJX8OT3JXoOT6MTrOT8GgrOT8HTpOT8MToOUoHT8OUoJT8OUoLn3OXrAgoOXrDg8OXrMT8OXvSToOX6CTvOX8CZrOX8OgrOb6HgvOb8AToOb8MT8OcvLZ8OgvAlrOgvHTvOgvJTrOgvJnrOgvLZrOgvLn4OgvMT8OgvRTrOg8AZoOg8DbvOnrOXoOnvJn4OnvLhvOnvRTrOn3GgoOn3JnvOn6JbvOn8OTrPTGYFTPbBnFnPbGnDnPgDYQTPlrAnvPlrETvPlrLnvPlrMXvPlvFX4QTMTAnQTrJU8QYCnJlQYJlQlQbGTQbQb8JnrQb8LZoQb8LnvQb8MT8Qb8Ml8Qb8ST4QloAl4QloHZvQloJX8QloMn8QnJZOlRTrAZvRTrDTrRTvJn4RTvLhvRT4Jb8RZrAZrRZ8AkrRZ8JU8RZ8LV8RZ8LnvRbJlQXRg3GboRg3MnvRg8AZ8Rg8JboRg8Jl4RnLTCbRnvFl3RnvQb8SToAl4SToCZrSToFZoSToHXrSToJU8SToJgvSToJl4SToLhrSToMX3STrAlvSTrCT9STrCgrSTrGgrSTrHXrSTrHboSTrJnoSTrNboSTvLnrST4AZoST8Ab8ST8JT8SUoJn3SU6HZ#SU6JTvSU8Db8SU8HboSU8LgrSV8JT8SZrAcrSZrAl3SZrJT8SZrJnvSZrMT8SZvLUoSZ4FZoSZ8JnoSZ8RZrScoLnrScoMT8ScoMX8ScrAT4ScrAZ8ScrLZ8ScrLkvScvDb8ScvLf8ScvNToSgrFZrShvKnrSloHUoSloLnrSlrMXoSl8HgrSmrJUoSn3BX6', + 'ATFlOn3ATLgrDYAT4MTAnAT8LTMnAYJnRTrAbGgJnrAbLV8LnAbvNTAnAeFbLg3AgOYMXoAlQbFboAnDboAfAnJgoJTBToDgAnBUJbAl3BboDUAnCTDlvLnCTFTrSnCYoQTLnDTwAbAnDUDTrSnDUHgHgrDX8LXFnDbJXAcrETvLTLnGTFTQbrGTMnGToGT3DUFbGUJlPX3GbQg8LnGboJbFnGb3GgAYGgAg8ScGgMbAXrGgvAbAnGnJTLnvGnvATFgHTDT6ATHTrDlJnHYLnMn8HZrSbJTHZ8LTFnHbFTJUoHgSeMT8HgrLjAnHgvAbAnHlFUrDlHnDgvAnHnHTFT3HnQTGnrJTAaMXvJTGbCn3JTOgrAnJXvAXMnJbMg8SnJbMnRg3Jb8LTMnJnAl3OnJnGYrQlJnJlQY3LTDlCn3LTJjLg3LTLgvFXLTMg3GTLV8HUOgLXFZLg3LXNXrMnLX8QXFnLX9AlMYLYLXPXrLZAbJU8LZDUJU8LZMXrSnLZ$AgFnLaPXrDULbFYrMnLbMn8LXLboJgJgLeFbLg3LgLZrSnLgOYAgoLhrRnJlLkCTrSnLkOnLhrLnFX%AYLnFZoJXLnHTvJbLnLloAbMTATLf8MTHgJn3MTMXrAXMT3MTFnMUITvFnMXFX%AYMXMXvFbMXrFTDbMYAcMX3MbLf8SnMb8JbFnMgMXrMTMgvAXFnMgvGgCmMnAloSnMnFnJTrOXvMXSnOX8HTMnObJT8ScObLZFl3ObMXCZoPTLgrQXPUFnoQXPU3RXJlPX3RkQXPbrJXQlPlrJbFnQUAhrDbQXGnCXvQYLnHlvQbLfLnvRTOgvJbRXJYrQlRYLnrQlRbLnrQlRlFT8JlRlFnrQXSTClCn3STHTrAnSTLZQlrSTMnGTrSToHgGbSTrGTDnSTvGXCnST3HgFbSU3HXAXSbAnJn3SbFT8LnScLfLnv', + 'AT3JgJX8AT8FZoSnAT8JgFV8AT8LhrDbAZ8JT8DbAb8GgLhrAb8SkLnvAe8MT8SnAlMYJXLVAl3GYDTvAl3LfLnvBUDTvLl3CTOn3HTrCT3DUGgrCU8MT8AbCbFTrJUoCgrDb8MTDTLV8JX8DTLnLXQlDT8LZrSnDUQb8FZ8DUST4JnvDb8ScOUoDj6GbJl4GTLfCYMlGToAXvFnGboAXvLnGgAcrJn3GgvFnSToGnLf8JnvGn#HTDToHTLnFXJlHTvATFToHTvHTDToHTvMTAgoHT3STClvHT4AlFl6HT8HTDToHUoDgJTrHUoScMX3HbRZrMXoHboJg8LTHgDb8JTrHgMToLf8HgvLnLnoHnHn3HT4Hn6MgvAnJTJU8ScvJT3AaQT8JT8HTrAnJXrRg8AnJbAloMXoJbrATFToJbvMnoSnJgDb6GgvJgDb8MXoJgSX3JU8JguATFToJlPYLnQlJlQkDnLbJlQlFYJlJl8Lf8OTJnCTFnLbJnLTHXMnJnLXGXCnJnoFfRg3JnrMYRg3Jn3HgFl3KT8Dg8LnLTRlFnPTLTvPbLbvLVoSbrCZLXMY6HT3LXNU7DlrLXNXDTATLX8DX8LnLZDb8JU8LZMnoLhrLZSToJU8LZrLaLnrLZvJn3SnLZ8LhrSnLaJnoMT8LbFlrHTvLbrFTLnrLbvATLlvLb6OTFn3LcLnJZOlLeAT6Mn4LeJT3ObrLg6LXFlrLhrJg8LnLhvDlPX4LhvLfLnvLj6JTFT3LnFbrMXoLnQluCTvLnrQXCY6LnvLfLnvLnvMgLnvLnvSeLf8MTMbrJn3MT3JgST3MT8AnATrMT8LULnrMUMToCZrMUScvLf8MXoDT8SnMX6ATFToMX8AXMT8MX8FkMT8MX8HTrDUMX8ScoSnMYJT6CTvMgAcrMXoMg8SToAfMlvAXLg3MnFl3AnvOT3AnFl3OUoATHT8OU3RnLXrOXrOXrSnObPbvFn6Og8HgrSnOg8OX8DbPTvAgoJgPU3RYLnrPXrDnJZrPb8CTGgvPlrLTDlvPlvFUJnoQUvFXrQlQeMnoAl3QlrQlrSnRTFTrJUoSTDlLiLXSTFg6HT3STJgoMn4STrFTJTrSTrLZFl3ST4FnMXoSUrDlHUoScvHTvSnSfLkvMXo', + 'AUoAcrMXoAZ8HboAg8AbOg6ATFgAg8AloMXoAl3AT8JTrAl8MX8MXoCT3SToJU8Cl8Db8MXoDT8HgrATrDboOT8MXoGTOTrATMnGT8LhrAZ8GnvFnGnQXHToGgvAcrHTvAXvLl3HbrAZoMXoHgBlFXLg3HgMnFXrSnHgrSb8JUoHn6HT8LgvITvATrJUoJUoLZrRnvJU8HT8Jb8JXvFX8QT8JXvLToJTrJYrQnGnQXJgrJnoATrJnoJU8ScvJnvMnvMXoLTCTLgrJXLTJlRTvQlLbRnJlQYvLbrMb8LnvLbvFn3RnoLdCVSTGZrLeSTvGXCnLg3MnoLn3MToLlrETvMT8SToAl3MbrDU6GTvMb8LX4LhrPlrLXGXCnSToLf8Rg3STrDb8LTrSTvLTHXMnSb3RYLnMnSgOg6ATFg', + 'HUDlGnrQXrJTrHgLnrAcJYMb8DULc8LTvFgGnCk3Mg8JbAnLX4QYvFYHnMXrRUoJnGnvFnRlvFTJlQnoSTrBXHXrLYSUJgLfoMT8Se8DTrHbDb', + 'AbDl8SToJU8An3RbAb8ST8DUSTrGnrAgoLbFU6Db8LTrMg8AaHT8Jb8ObDl8SToJU8Pb3RlvFYoJl', ]; - var codes = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*"; + var codes = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*'; function getHangul(code) { if (code >= 40) { code = code + 168 - 40; @@ -16246,10 +16447,10 @@ var require_lang_ko = __commonJS({ return; } wordlist = []; - data.forEach(function(data2, length) { + data.forEach(function (data2, length) { length += 4; for (var i = 0; i < data2.length; i += length) { - var word = ""; + var word = ''; for (var j = 0; j < length; j++) { word += getHangul(codes.indexOf(data2[i + j])); } @@ -16257,134 +16458,159 @@ var require_lang_ko = __commonJS({ } }); wordlist.sort(); - if (wordlist_1.Wordlist.check(lang) !== "0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a") { + if ( + wordlist_1.Wordlist.check(lang) !== + '0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3affb933259ae865714e8a3ae71a' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for ko (Korean) FAILED"); + throw new Error('BIP39 Wordlist for ko (Korean) FAILED'); } } - var LangKo = function(_super) { + var LangKo = (function (_super) { __extends(LangKo2, _super); function LangKo2() { - return _super.call(this, "ko") || this; + return _super.call(this, 'ko') || this; } - LangKo2.prototype.getWord = function(index) { + LangKo2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangKo2.prototype.getWordIndex = function(word) { + LangKo2.prototype.getWordIndex = function (word) { loadWords(this); return wordlist.indexOf(word); }; return LangKo2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langKo = new LangKo(); exports2.langKo = langKo; wordlist_1.Wordlist.register(langKo); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-it.js var require_lang_it = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-it.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-it.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langIt = void 0; var wordlist_1 = require_wordlist(); - var words = "AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa"; + var words = + 'AbacoAbbaglioAbbinatoAbeteAbissoAbolireAbrasivoAbrogatoAccadereAccennoAccusatoAcetoneAchilleAcidoAcquaAcreAcrilicoAcrobataAcutoAdagioAddebitoAddomeAdeguatoAderireAdipeAdottareAdulareAffabileAffettoAffissoAffrantoAforismaAfosoAfricanoAgaveAgenteAgevoleAggancioAgireAgitareAgonismoAgricoloAgrumetoAguzzoAlabardaAlatoAlbatroAlberatoAlboAlbumeAlceAlcolicoAlettoneAlfaAlgebraAlianteAlibiAlimentoAllagatoAllegroAllievoAllodolaAllusivoAlmenoAlogenoAlpacaAlpestreAltalenaAlternoAlticcioAltroveAlunnoAlveoloAlzareAmalgamaAmanitaAmarenaAmbitoAmbratoAmebaAmericaAmetistaAmicoAmmassoAmmendaAmmirareAmmonitoAmoreAmpioAmpliareAmuletoAnacardoAnagrafeAnalistaAnarchiaAnatraAncaAncellaAncoraAndareAndreaAnelloAngeloAngolareAngustoAnimaAnnegareAnnidatoAnnoAnnuncioAnonimoAnticipoAnziApaticoAperturaApodeApparireAppetitoAppoggioApprodoAppuntoAprileArabicaArachideAragostaAraldicaArancioAraturaArazzoArbitroArchivioArditoArenileArgentoArgineArgutoAriaArmoniaArneseArredatoArringaArrostoArsenicoArsoArteficeArzilloAsciuttoAscoltoAsepsiAsetticoAsfaltoAsinoAsolaAspiratoAsproAssaggioAsseAssolutoAssurdoAstaAstenutoAsticeAstrattoAtavicoAteismoAtomicoAtonoAttesaAttivareAttornoAttritoAttualeAusilioAustriaAutistaAutonomoAutunnoAvanzatoAvereAvvenireAvvisoAvvolgereAzioneAzotoAzzimoAzzurroBabeleBaccanoBacinoBacoBadessaBadilataBagnatoBaitaBalconeBaldoBalenaBallataBalzanoBambinoBandireBaraondaBarbaroBarcaBaritonoBarlumeBaroccoBasilicoBassoBatostaBattutoBauleBavaBavosaBeccoBeffaBelgioBelvaBendaBenevoleBenignoBenzinaBereBerlinaBetaBibitaBiciBidoneBifidoBigaBilanciaBimboBinocoloBiologoBipedeBipolareBirbanteBirraBiscottoBisestoBisnonnoBisonteBisturiBizzarroBlandoBlattaBollitoBonificoBordoBoscoBotanicoBottinoBozzoloBraccioBradipoBramaBrancaBravuraBretellaBrevettoBrezzaBrigliaBrillanteBrindareBroccoloBrodoBronzinaBrulloBrunoBubboneBucaBudinoBuffoneBuioBulboBuonoBurloneBurrascaBussolaBustaCadettoCaducoCalamaroCalcoloCalesseCalibroCalmoCaloriaCambusaCamerataCamiciaCamminoCamolaCampaleCanapaCandelaCaneCaninoCanottoCantinaCapaceCapelloCapitoloCapogiroCapperoCapraCapsulaCarapaceCarcassaCardoCarismaCarovanaCarrettoCartolinaCasaccioCascataCasermaCasoCassoneCastelloCasualeCatastaCatenaCatrameCautoCavilloCedibileCedrataCefaloCelebreCellulareCenaCenoneCentesimoCeramicaCercareCertoCerumeCervelloCesoiaCespoCetoChelaChiaroChiccaChiedereChimeraChinaChirurgoChitarraCiaoCiclismoCifrareCignoCilindroCiottoloCircaCirrosiCitricoCittadinoCiuffoCivettaCivileClassicoClinicaCloroCoccoCodardoCodiceCoerenteCognomeCollareColmatoColoreColposoColtivatoColzaComaCometaCommandoComodoComputerComuneConcisoCondurreConfermaCongelareConiugeConnessoConoscereConsumoContinuoConvegnoCopertoCopioneCoppiaCopricapoCorazzaCordataCoricatoCorniceCorollaCorpoCorredoCorsiaCorteseCosmicoCostanteCotturaCovatoCratereCravattaCreatoCredereCremosoCrescitaCretaCricetoCrinaleCrisiCriticoCroceCronacaCrostataCrucialeCruscaCucireCuculoCuginoCullatoCupolaCuratoreCursoreCurvoCuscinoCustodeDadoDainoDalmataDamerinoDanielaDannosoDanzareDatatoDavantiDavveroDebuttoDecennioDecisoDeclinoDecolloDecretoDedicatoDefinitoDeformeDegnoDelegareDelfinoDelirioDeltaDemenzaDenotatoDentroDepositoDerapataDerivareDerogaDescrittoDesertoDesiderioDesumereDetersivoDevotoDiametroDicembreDiedroDifesoDiffusoDigerireDigitaleDiluvioDinamicoDinnanziDipintoDiplomaDipoloDiradareDireDirottoDirupoDisagioDiscretoDisfareDisgeloDispostoDistanzaDisumanoDitoDivanoDiveltoDividereDivoratoDobloneDocenteDoganaleDogmaDolceDomatoDomenicaDominareDondoloDonoDormireDoteDottoreDovutoDozzinaDragoDruidoDubbioDubitareDucaleDunaDuomoDupliceDuraturoEbanoEccessoEccoEclissiEconomiaEderaEdicolaEdileEditoriaEducareEgemoniaEgliEgoismoEgregioElaboratoElargireEleganteElencatoElettoElevareElficoElicaElmoElsaElusoEmanatoEmblemaEmessoEmiroEmotivoEmozioneEmpiricoEmuloEndemicoEnduroEnergiaEnfasiEnotecaEntrareEnzimaEpatiteEpilogoEpisodioEpocaleEppureEquatoreErarioErbaErbosoEredeEremitaErigereErmeticoEroeErosivoErranteEsagonoEsameEsanimeEsaudireEscaEsempioEsercitoEsibitoEsigenteEsistereEsitoEsofagoEsortatoEsosoEspansoEspressoEssenzaEssoEstesoEstimareEstoniaEstrosoEsultareEtilicoEtnicoEtruscoEttoEuclideoEuropaEvasoEvidenzaEvitatoEvolutoEvvivaFabbricaFaccendaFachiroFalcoFamigliaFanaleFanfaraFangoFantasmaFareFarfallaFarinosoFarmacoFasciaFastosoFasulloFaticareFatoFavolosoFebbreFecolaFedeFegatoFelpaFeltroFemminaFendereFenomenoFermentoFerroFertileFessuraFestivoFettaFeudoFiabaFiduciaFifaFiguratoFiloFinanzaFinestraFinireFioreFiscaleFisicoFiumeFlaconeFlamencoFleboFlemmaFloridoFluenteFluoroFobicoFocacciaFocosoFoderatoFoglioFolataFolcloreFolgoreFondenteFoneticoFoniaFontanaForbitoForchettaForestaFormicaFornaioForoFortezzaForzareFosfatoFossoFracassoFranaFrassinoFratelloFreccettaFrenataFrescoFrigoFrollinoFrondeFrugaleFruttaFucilataFucsiaFuggenteFulmineFulvoFumanteFumettoFumosoFuneFunzioneFuocoFurboFurgoneFuroreFusoFutileGabbianoGaffeGalateoGallinaGaloppoGamberoGammaGaranziaGarboGarofanoGarzoneGasdottoGasolioGastricoGattoGaudioGazeboGazzellaGecoGelatinaGelsoGemelloGemmatoGeneGenitoreGennaioGenotipoGergoGhepardoGhiaccioGhisaGialloGildaGineproGiocareGioielloGiornoGioveGiratoGironeGittataGiudizioGiuratoGiustoGlobuloGlutineGnomoGobbaGolfGomitoGommoneGonfioGonnaGovernoGracileGradoGraficoGrammoGrandeGrattareGravosoGraziaGrecaGreggeGrifoneGrigioGrinzaGrottaGruppoGuadagnoGuaioGuantoGuardareGufoGuidareIbernatoIconaIdenticoIdillioIdoloIdraIdricoIdrogenoIgieneIgnaroIgnoratoIlareIllesoIllogicoIlludereImballoImbevutoImboccoImbutoImmaneImmersoImmolatoImpaccoImpetoImpiegoImportoImprontaInalareInarcareInattivoIncantoIncendioInchinoIncisivoInclusoIncontroIncrocioIncuboIndagineIndiaIndoleIneditoInfattiInfilareInflittoIngaggioIngegnoIngleseIngordoIngrossoInnescoInodoreInoltrareInondatoInsanoInsettoInsiemeInsonniaInsulinaIntasatoInteroIntonacoIntuitoInumidireInvalidoInveceInvitoIperboleIpnoticoIpotesiIppicaIrideIrlandaIronicoIrrigatoIrrorareIsolatoIsotopoIstericoIstitutoIstriceItaliaIterareLabbroLabirintoLaccaLaceratoLacrimaLacunaLaddoveLagoLampoLancettaLanternaLardosoLargaLaringeLastraLatenzaLatinoLattugaLavagnaLavoroLegaleLeggeroLemboLentezzaLenzaLeoneLepreLesivoLessatoLestoLetteraleLevaLevigatoLiberoLidoLievitoLillaLimaturaLimitareLimpidoLineareLinguaLiquidoLiraLiricaLiscaLiteLitigioLivreaLocandaLodeLogicaLombareLondraLongevoLoquaceLorenzoLotoLotteriaLuceLucidatoLumacaLuminosoLungoLupoLuppoloLusingaLussoLuttoMacabroMacchinaMaceroMacinatoMadamaMagicoMagliaMagneteMagroMaiolicaMalafedeMalgradoMalintesoMalsanoMaltoMalumoreManaManciaMandorlaMangiareManifestoMannaroManovraMansardaMantideManubrioMappaMaratonaMarcireMarettaMarmoMarsupioMascheraMassaiaMastinoMaterassoMatricolaMattoneMaturoMazurcaMeandroMeccanicoMecenateMedesimoMeditareMegaMelassaMelisMelodiaMeningeMenoMensolaMercurioMerendaMerloMeschinoMeseMessereMestoloMetalloMetodoMettereMiagolareMicaMicelioMicheleMicroboMidolloMieleMiglioreMilanoMiliteMimosaMineraleMiniMinoreMirinoMirtilloMiscelaMissivaMistoMisurareMitezzaMitigareMitraMittenteMnemonicoModelloModificaModuloMoganoMogioMoleMolossoMonasteroMoncoMondinaMonetarioMonileMonotonoMonsoneMontatoMonvisoMoraMordereMorsicatoMostroMotivatoMotosegaMottoMovenzaMovimentoMozzoMuccaMucosaMuffaMughettoMugnaioMulattoMulinelloMultiploMummiaMuntoMuovereMuraleMusaMuscoloMusicaMutevoleMutoNababboNaftaNanometroNarcisoNariceNarratoNascereNastrareNaturaleNauticaNaviglioNebulosaNecrosiNegativoNegozioNemmenoNeofitaNerettoNervoNessunoNettunoNeutraleNeveNevroticoNicchiaNinfaNitidoNobileNocivoNodoNomeNominaNordicoNormaleNorvegeseNostranoNotareNotiziaNotturnoNovellaNucleoNullaNumeroNuovoNutrireNuvolaNuzialeOasiObbedireObbligoObeliscoOblioOboloObsoletoOccasioneOcchioOccidenteOccorrereOccultareOcraOculatoOdiernoOdorareOffertaOffrireOffuscatoOggettoOggiOgnunoOlandeseOlfattoOliatoOlivaOlogrammaOltreOmaggioOmbelicoOmbraOmegaOmissioneOndosoOnereOniceOnnivoroOnorevoleOntaOperatoOpinioneOppostoOracoloOrafoOrdineOrecchinoOreficeOrfanoOrganicoOrigineOrizzonteOrmaOrmeggioOrnativoOrologioOrrendoOrribileOrtensiaOrticaOrzataOrzoOsareOscurareOsmosiOspedaleOspiteOssaOssidareOstacoloOsteOtiteOtreOttagonoOttimoOttobreOvaleOvestOvinoOviparoOvocitoOvunqueOvviareOzioPacchettoPacePacificoPadellaPadronePaesePagaPaginaPalazzinaPalesarePallidoPaloPaludePandoroPannelloPaoloPaonazzoPapricaParabolaParcellaParerePargoloPariParlatoParolaPartireParvenzaParzialePassivoPasticcaPataccaPatologiaPattumePavonePeccatoPedalarePedonalePeggioPelosoPenarePendicePenisolaPennutoPenombraPensarePentolaPepePepitaPerbenePercorsoPerdonatoPerforarePergamenaPeriodoPermessoPernoPerplessoPersuasoPertugioPervasoPesatorePesistaPesoPestiferoPetaloPettinePetulantePezzoPiacerePiantaPiattinoPiccinoPicozzaPiegaPietraPifferoPigiamaPigolioPigroPilaPiliferoPillolaPilotaPimpantePinetaPinnaPinoloPioggiaPiomboPiramidePireticoPiritePirolisiPitonePizzicoPlaceboPlanarePlasmaPlatanoPlenarioPochezzaPoderosoPodismoPoesiaPoggiarePolentaPoligonoPollicePolmonitePolpettaPolsoPoltronaPolverePomicePomodoroPontePopolosoPorfidoPorosoPorporaPorrePortataPosaPositivoPossessoPostulatoPotassioPoterePranzoPrassiPraticaPreclusoPredicaPrefissoPregiatoPrelievoPremerePrenotarePreparatoPresenzaPretestoPrevalsoPrimaPrincipePrivatoProblemaProcuraProdurreProfumoProgettoProlungaPromessaPronomePropostaProrogaProtesoProvaPrudentePrugnaPruritoPsichePubblicoPudicaPugilatoPugnoPulcePulitoPulsantePuntarePupazzoPupillaPuroQuadroQualcosaQuasiQuerelaQuotaRaccoltoRaddoppioRadicaleRadunatoRafficaRagazzoRagioneRagnoRamarroRamingoRamoRandagioRantolareRapatoRapinaRappresoRasaturaRaschiatoRasenteRassegnaRastrelloRataRavvedutoRealeRecepireRecintoReclutaReconditoRecuperoRedditoRedimereRegalatoRegistroRegolaRegressoRelazioneRemareRemotoRennaReplicaReprimereReputareResaResidenteResponsoRestauroReteRetinaRetoricaRettificaRevocatoRiassuntoRibadireRibelleRibrezzoRicaricaRiccoRicevereRiciclatoRicordoRicredutoRidicoloRidurreRifasareRiflessoRiformaRifugioRigareRigettatoRighelloRilassatoRilevatoRimanereRimbalzoRimedioRimorchioRinascitaRincaroRinforzoRinnovoRinomatoRinsavitoRintoccoRinunciaRinvenireRiparatoRipetutoRipienoRiportareRipresaRipulireRisataRischioRiservaRisibileRisoRispettoRistoroRisultatoRisvoltoRitardoRitegnoRitmicoRitrovoRiunioneRivaRiversoRivincitaRivoltoRizomaRobaRoboticoRobustoRocciaRocoRodaggioRodereRoditoreRogitoRollioRomanticoRompereRonzioRosolareRospoRotanteRotondoRotulaRovescioRubizzoRubricaRugaRullinoRumineRumorosoRuoloRupeRussareRusticoSabatoSabbiareSabotatoSagomaSalassoSaldaturaSalgemmaSalivareSalmoneSaloneSaltareSalutoSalvoSapereSapidoSaporitoSaracenoSarcasmoSartoSassosoSatelliteSatiraSatolloSaturnoSavanaSavioSaziatoSbadiglioSbalzoSbancatoSbarraSbattereSbavareSbendareSbirciareSbloccatoSbocciatoSbrinareSbruffoneSbuffareScabrosoScadenzaScalaScambiareScandaloScapolaScarsoScatenareScavatoSceltoScenicoScettroSchedaSchienaSciarpaScienzaScindereScippoSciroppoScivoloSclerareScodellaScolpitoScompartoSconfortoScoprireScortaScossoneScozzeseScribaScrollareScrutinioScuderiaScultoreScuolaScuroScusareSdebitareSdoganareSeccaturaSecondoSedanoSeggiolaSegnalatoSegregatoSeguitoSelciatoSelettivoSellaSelvaggioSemaforoSembrareSemeSeminatoSempreSensoSentireSepoltoSequenzaSerataSerbatoSerenoSerioSerpenteSerraglioServireSestinaSetolaSettimanaSfaceloSfaldareSfamatoSfarzosoSfaticatoSferaSfidaSfilatoSfingeSfocatoSfoderareSfogoSfoltireSforzatoSfrattoSfruttatoSfuggitoSfumareSfusoSgabelloSgarbatoSgonfiareSgorbioSgrassatoSguardoSibiloSiccomeSierraSiglaSignoreSilenzioSillabaSimboloSimpaticoSimulatoSinfoniaSingoloSinistroSinoSintesiSinusoideSiparioSismaSistoleSituatoSlittaSlogaturaSlovenoSmarritoSmemoratoSmentitoSmeraldoSmilzoSmontareSmottatoSmussatoSnellireSnervatoSnodoSobbalzoSobrioSoccorsoSocialeSodaleSoffittoSognoSoldatoSolenneSolidoSollazzoSoloSolubileSolventeSomaticoSommaSondaSonettoSonniferoSopireSoppesoSopraSorgereSorpassoSorrisoSorsoSorteggioSorvolatoSospiroSostaSottileSpadaSpallaSpargereSpatolaSpaventoSpazzolaSpecieSpedireSpegnereSpelaturaSperanzaSpessoreSpettraleSpezzatoSpiaSpigolosoSpillatoSpinosoSpiraleSplendidoSportivoSposoSprangaSprecareSpronatoSpruzzoSpuntinoSquilloSradicareSrotolatoStabileStaccoStaffaStagnareStampatoStantioStarnutoStaseraStatutoSteloSteppaSterzoStilettoStimaStirpeStivaleStizzosoStonatoStoricoStrappoStregatoStriduloStrozzareStruttoStuccareStufoStupendoSubentroSuccosoSudoreSuggeritoSugoSultanoSuonareSuperboSupportoSurgelatoSurrogatoSussurroSuturaSvagareSvedeseSveglioSvelareSvenutoSveziaSviluppoSvistaSvizzeraSvoltaSvuotareTabaccoTabulatoTacciareTaciturnoTaleTalismanoTamponeTanninoTaraTardivoTargatoTariffaTarpareTartarugaTastoTatticoTavernaTavolataTazzaTecaTecnicoTelefonoTemerarioTempoTemutoTendoneTeneroTensioneTentacoloTeoremaTermeTerrazzoTerzettoTesiTesseratoTestatoTetroTettoiaTifareTigellaTimbroTintoTipicoTipografoTiraggioTiroTitanioTitoloTitubanteTizioTizzoneToccareTollerareToltoTombolaTomoTonfoTonsillaTopazioTopologiaToppaTorbaTornareTorroneTortoraToscanoTossireTostaturaTotanoTraboccoTracheaTrafilaTragediaTralcioTramontoTransitoTrapanoTrarreTraslocoTrattatoTraveTrecciaTremolioTrespoloTributoTrichecoTrifoglioTrilloTrinceaTrioTristezzaTrituratoTrivellaTrombaTronoTroppoTrottolaTrovareTruccatoTubaturaTuffatoTulipanoTumultoTunisiaTurbareTurchinoTutaTutelaUbicatoUccelloUccisoreUdireUditivoUffaUfficioUgualeUlisseUltimatoUmanoUmileUmorismoUncinettoUngereUnghereseUnicornoUnificatoUnisonoUnitarioUnteUovoUpupaUraganoUrgenzaUrloUsanzaUsatoUscitoUsignoloUsuraioUtensileUtilizzoUtopiaVacanteVaccinatoVagabondoVagliatoValangaValgoValicoVallettaValorosoValutareValvolaVampataVangareVanitosoVanoVantaggioVanveraVaporeVaranoVarcatoVarianteVascaVedettaVedovaVedutoVegetaleVeicoloVelcroVelinaVellutoVeloceVenatoVendemmiaVentoVeraceVerbaleVergognaVerificaVeroVerrucaVerticaleVescicaVessilloVestaleVeteranoVetrinaVetustoViandanteVibranteVicendaVichingoVicinanzaVidimareVigiliaVignetoVigoreVileVillanoViminiVincitoreViolaViperaVirgolaVirologoVirulentoViscosoVisioneVispoVissutoVisuraVitaVitelloVittimaVivandaVividoViziareVoceVogaVolatileVolereVolpeVoragineVulcanoZampognaZannaZappatoZatteraZavorraZefiroZelanteZeloZenzeroZerbinoZibettoZincoZirconeZittoZollaZoticoZuccheroZufoloZuluZuppa'; var wordlist = null; function loadWords(lang) { if (wordlist != null) { return; } - wordlist = words.replace(/([A-Z])/g, " $1").toLowerCase().substring(1).split(" "); - if (wordlist_1.Wordlist.check(lang) !== "0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620") { + wordlist = words + .replace(/([A-Z])/g, ' $1') + .toLowerCase() + .substring(1) + .split(' '); + if ( + wordlist_1.Wordlist.check(lang) !== + '0x5c1362d88fd4cf614a96f3234941d29f7d37c08c5292fde03bf62c2db6ff7620' + ) { wordlist = null; - throw new Error("BIP39 Wordlist for it (Italian) FAILED"); + throw new Error('BIP39 Wordlist for it (Italian) FAILED'); } } - var LangIt = function(_super) { + var LangIt = (function (_super) { __extends(LangIt2, _super); function LangIt2() { - return _super.call(this, "it") || this; + return _super.call(this, 'it') || this; } - LangIt2.prototype.getWord = function(index) { + LangIt2.prototype.getWord = function (index) { loadWords(this); return wordlist[index]; }; - LangIt2.prototype.getWordIndex = function(word) { + LangIt2.prototype.getWordIndex = function (word) { loadWords(this); return wordlist.indexOf(word); }; return LangIt2; - }(wordlist_1.Wordlist); + })(wordlist_1.Wordlist); var langIt = new LangIt(); exports2.langIt = langIt; wordlist_1.Wordlist.register(langIt); - } + }, }); // node_modules/@ethersproject/wordlists/lib/lang-zh.js var require_lang_zh = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/lang-zh.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wordlists/lib/lang-zh.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.langZhTw = exports2.langZhCn = void 0; var strings_1 = require_lib9(); var wordlist_1 = require_wordlist(); - var data = "}aE#4A=Yv&co#4N#6G=cJ&SM#66|/Z#4t&kn~46#4K~4q%b9=IR#7l,mB#7W_X2*dl}Uo~7s}Uf&Iw#9c&cw~6O&H6&wx&IG%v5=IQ~8a&Pv#47$PR&50%Ko&QM&3l#5f,D9#4L|/H&tQ;v0~6n]nN> 2), 128 + codes.indexOf(data[i * 3 + 1]), - 128 + codes.indexOf(data[i * 3 + 2]) + 128 + codes.indexOf(data[i * 3 + 2]), ]; - if (lang.locale === "zh_tw") { + if (lang.locale === 'zh_tw') { var common = s % 4; for (var i_1 = common; i_1 < 3; i_1++) { bytes[i_1] = codes.indexOf(deltaData[deltaOffset++]) + (i_1 == 0 ? 228 : 128); @@ -16408,43 +16634,43 @@ var require_lang_zh = __commonJS({ } if (wordlist_1.Wordlist.check(lang) !== Checks[lang.locale]) { wordlist[lang.locale] = null; - throw new Error("BIP39 Wordlist for " + lang.locale + " (Chinese) FAILED"); + throw new Error('BIP39 Wordlist for ' + lang.locale + ' (Chinese) FAILED'); } } - var LangZh = function(_super) { + var LangZh = (function (_super) { __extends(LangZh2, _super); function LangZh2(country) { - return _super.call(this, "zh_" + country) || this; + return _super.call(this, 'zh_' + country) || this; } - LangZh2.prototype.getWord = function(index) { + LangZh2.prototype.getWord = function (index) { loadWords(this); return wordlist[this.locale][index]; }; - LangZh2.prototype.getWordIndex = function(word) { + LangZh2.prototype.getWordIndex = function (word) { loadWords(this); return wordlist[this.locale].indexOf(word); }; - LangZh2.prototype.split = function(mnemonic) { - mnemonic = mnemonic.replace(/(?:\u3000| )+/g, ""); - return mnemonic.split(""); + LangZh2.prototype.split = function (mnemonic) { + mnemonic = mnemonic.replace(/(?:\u3000| )+/g, ''); + return mnemonic.split(''); }; return LangZh2; - }(wordlist_1.Wordlist); - var langZhCn = new LangZh("cn"); + })(wordlist_1.Wordlist); + var langZhCn = new LangZh('cn'); exports2.langZhCn = langZhCn; wordlist_1.Wordlist.register(langZhCn); - wordlist_1.Wordlist.register(langZhCn, "zh"); - var langZhTw = new LangZh("tw"); + wordlist_1.Wordlist.register(langZhCn, 'zh'); + var langZhTw = new LangZh('tw'); exports2.langZhTw = langZhTw; wordlist_1.Wordlist.register(langZhTw); - } + }, }); // node_modules/@ethersproject/wordlists/lib/wordlists.js var require_wordlists = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/wordlists.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/wordlists/lib/wordlists.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.wordlists = void 0; var lang_cz_1 = require_lang_cz(); var lang_en_1 = require_lang_en(); @@ -16464,47 +16690,63 @@ var require_wordlists = __commonJS({ ko: lang_ko_1.langKo, zh: lang_zh_1.langZhCn, zh_cn: lang_zh_1.langZhCn, - zh_tw: lang_zh_1.langZhTw + zh_tw: lang_zh_1.langZhTw, }; - } + }, }); // node_modules/@ethersproject/wordlists/lib/index.js var require_lib18 = __commonJS({ - "node_modules/@ethersproject/wordlists/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/wordlists/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.wordlists = exports2.Wordlist = exports2.logger = void 0; var wordlist_1 = require_wordlist(); - Object.defineProperty(exports2, "logger", { enumerable: true, get: function() { - return wordlist_1.logger; - } }); - Object.defineProperty(exports2, "Wordlist", { enumerable: true, get: function() { - return wordlist_1.Wordlist; - } }); + Object.defineProperty(exports2, 'logger', { + enumerable: true, + get: function () { + return wordlist_1.logger; + }, + }); + Object.defineProperty(exports2, 'Wordlist', { + enumerable: true, + get: function () { + return wordlist_1.Wordlist; + }, + }); var wordlists_1 = require_wordlists(); - Object.defineProperty(exports2, "wordlists", { enumerable: true, get: function() { - return wordlists_1.wordlists; - } }); - } + Object.defineProperty(exports2, 'wordlists', { + enumerable: true, + get: function () { + return wordlists_1.wordlists; + }, + }); + }, }); // node_modules/@ethersproject/hdnode/lib/_version.js var require_version14 = __commonJS({ - "node_modules/@ethersproject/hdnode/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/hdnode/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "hdnode/5.5.0"; - } + exports2.version = 'hdnode/5.5.0'; + }, }); // node_modules/@ethersproject/hdnode/lib/index.js var require_lib19 = __commonJS({ - "node_modules/@ethersproject/hdnode/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.getAccountPath = exports2.isValidMnemonic = exports2.entropyToMnemonic = exports2.mnemonicToEntropy = exports2.mnemonicToSeed = exports2.HDNode = exports2.defaultPath = void 0; + 'node_modules/@ethersproject/hdnode/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.getAccountPath = + exports2.isValidMnemonic = + exports2.entropyToMnemonic = + exports2.mnemonicToEntropy = + exports2.mnemonicToSeed = + exports2.HDNode = + exports2.defaultPath = + void 0; var basex_1 = require_lib13(); var bytes_1 = require_lib2(); var bignumber_1 = require_lib3(); @@ -16518,11 +16760,13 @@ var require_lib19 = __commonJS({ var logger_1 = require_lib(); var _version_1 = require_version14(); var logger = new logger_1.Logger(_version_1.version); - var N = bignumber_1.BigNumber.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"); - var MasterSecret = (0, strings_1.toUtf8Bytes)("Bitcoin seed"); + var N = bignumber_1.BigNumber.from( + '0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141' + ); + var MasterSecret = (0, strings_1.toUtf8Bytes)('Bitcoin seed'); var HardenedBit = 2147483648; function getUpperMask(bits) { - return (1 << bits) - 1 << 8 - bits; + return ((1 << bits) - 1) << (8 - bits); } function getLowerMask(bits) { return (1 << bits) - 1; @@ -16531,16 +16775,21 @@ var require_lib19 = __commonJS({ return (0, bytes_1.hexZeroPad)((0, bytes_1.hexlify)(value), 32); } function base58check(data) { - return basex_1.Base58.encode((0, bytes_1.concat)([data, (0, bytes_1.hexDataSlice)((0, sha2_1.sha256)((0, sha2_1.sha256)(data)), 0, 4)])); + return basex_1.Base58.encode( + (0, bytes_1.concat)([ + data, + (0, bytes_1.hexDataSlice)((0, sha2_1.sha256)((0, sha2_1.sha256)(data)), 0, 4), + ]) + ); } function getWordlist(wordlist) { if (wordlist == null) { - return wordlists_1.wordlists["en"]; + return wordlists_1.wordlists['en']; } - if (typeof wordlist === "string") { + if (typeof wordlist === 'string') { var words = wordlists_1.wordlists[wordlist]; if (words == null) { - logger.throwArgumentError("unknown locale", "wordlist", wordlist); + logger.throwArgumentError('unknown locale', 'wordlist', wordlist); } return words; } @@ -16548,70 +16797,100 @@ var require_lib19 = __commonJS({ } var _constructorGuard = {}; exports2.defaultPath = "m/44'/60'/0'/0/0"; - var HDNode = function() { - function HDNode2(constructorGuard, privateKey, publicKey, parentFingerprint, chainCode, index, depth, mnemonicOrPath) { + var HDNode = (function () { + function HDNode2( + constructorGuard, + privateKey, + publicKey, + parentFingerprint, + chainCode, + index, + depth, + mnemonicOrPath + ) { var _newTarget = this.constructor; logger.checkNew(_newTarget, HDNode2); if (constructorGuard !== _constructorGuard) { - throw new Error("HDNode constructor cannot be called directly"); + throw new Error('HDNode constructor cannot be called directly'); } if (privateKey) { var signingKey = new signing_key_1.SigningKey(privateKey); - (0, properties_1.defineReadOnly)(this, "privateKey", signingKey.privateKey); - (0, properties_1.defineReadOnly)(this, "publicKey", signingKey.compressedPublicKey); + (0, properties_1.defineReadOnly)(this, 'privateKey', signingKey.privateKey); + (0, properties_1.defineReadOnly)(this, 'publicKey', signingKey.compressedPublicKey); } else { - (0, properties_1.defineReadOnly)(this, "privateKey", null); - (0, properties_1.defineReadOnly)(this, "publicKey", (0, bytes_1.hexlify)(publicKey)); - } - (0, properties_1.defineReadOnly)(this, "parentFingerprint", parentFingerprint); - (0, properties_1.defineReadOnly)(this, "fingerprint", (0, bytes_1.hexDataSlice)((0, sha2_1.ripemd160)((0, sha2_1.sha256)(this.publicKey)), 0, 4)); - (0, properties_1.defineReadOnly)(this, "address", (0, transactions_1.computeAddress)(this.publicKey)); - (0, properties_1.defineReadOnly)(this, "chainCode", chainCode); - (0, properties_1.defineReadOnly)(this, "index", index); - (0, properties_1.defineReadOnly)(this, "depth", depth); + (0, properties_1.defineReadOnly)(this, 'privateKey', null); + (0, properties_1.defineReadOnly)(this, 'publicKey', (0, bytes_1.hexlify)(publicKey)); + } + (0, properties_1.defineReadOnly)(this, 'parentFingerprint', parentFingerprint); + (0, properties_1.defineReadOnly)( + this, + 'fingerprint', + (0, bytes_1.hexDataSlice)((0, sha2_1.ripemd160)((0, sha2_1.sha256)(this.publicKey)), 0, 4) + ); + (0, properties_1.defineReadOnly)( + this, + 'address', + (0, transactions_1.computeAddress)(this.publicKey) + ); + (0, properties_1.defineReadOnly)(this, 'chainCode', chainCode); + (0, properties_1.defineReadOnly)(this, 'index', index); + (0, properties_1.defineReadOnly)(this, 'depth', depth); if (mnemonicOrPath == null) { - (0, properties_1.defineReadOnly)(this, "mnemonic", null); - (0, properties_1.defineReadOnly)(this, "path", null); - } else if (typeof mnemonicOrPath === "string") { - (0, properties_1.defineReadOnly)(this, "mnemonic", null); - (0, properties_1.defineReadOnly)(this, "path", mnemonicOrPath); + (0, properties_1.defineReadOnly)(this, 'mnemonic', null); + (0, properties_1.defineReadOnly)(this, 'path', null); + } else if (typeof mnemonicOrPath === 'string') { + (0, properties_1.defineReadOnly)(this, 'mnemonic', null); + (0, properties_1.defineReadOnly)(this, 'path', mnemonicOrPath); } else { - (0, properties_1.defineReadOnly)(this, "mnemonic", mnemonicOrPath); - (0, properties_1.defineReadOnly)(this, "path", mnemonicOrPath.path); + (0, properties_1.defineReadOnly)(this, 'mnemonic', mnemonicOrPath); + (0, properties_1.defineReadOnly)(this, 'path', mnemonicOrPath.path); } } - Object.defineProperty(HDNode2.prototype, "extendedKey", { - get: function() { + Object.defineProperty(HDNode2.prototype, 'extendedKey', { + get: function () { if (this.depth >= 256) { - throw new Error("Depth too large!"); - } - return base58check((0, bytes_1.concat)([ - this.privateKey != null ? "0x0488ADE4" : "0x0488B21E", - (0, bytes_1.hexlify)(this.depth), - this.parentFingerprint, - (0, bytes_1.hexZeroPad)((0, bytes_1.hexlify)(this.index), 4), - this.chainCode, - this.privateKey != null ? (0, bytes_1.concat)(["0x00", this.privateKey]) : this.publicKey - ])); + throw new Error('Depth too large!'); + } + return base58check( + (0, bytes_1.concat)([ + this.privateKey != null ? '0x0488ADE4' : '0x0488B21E', + (0, bytes_1.hexlify)(this.depth), + this.parentFingerprint, + (0, bytes_1.hexZeroPad)((0, bytes_1.hexlify)(this.index), 4), + this.chainCode, + this.privateKey != null + ? (0, bytes_1.concat)(['0x00', this.privateKey]) + : this.publicKey, + ]) + ); }, enumerable: false, - configurable: true + configurable: true, }); - HDNode2.prototype.neuter = function() { - return new HDNode2(_constructorGuard, null, this.publicKey, this.parentFingerprint, this.chainCode, this.index, this.depth, this.path); + HDNode2.prototype.neuter = function () { + return new HDNode2( + _constructorGuard, + null, + this.publicKey, + this.parentFingerprint, + this.chainCode, + this.index, + this.depth, + this.path + ); }; - HDNode2.prototype._derive = function(index) { + HDNode2.prototype._derive = function (index) { if (index > 4294967295) { - throw new Error("invalid index - " + String(index)); + throw new Error('invalid index - ' + String(index)); } var path2 = this.path; if (path2) { - path2 += "/" + (index & ~HardenedBit); + path2 += '/' + (index & ~HardenedBit); } var data = new Uint8Array(37); if (index & HardenedBit) { if (!this.privateKey) { - throw new Error("cannot derive child of neutered node"); + throw new Error('cannot derive child of neutered node'); } data.set((0, bytes_1.arrayify)(this.privateKey), 1); if (path2) { @@ -16621,9 +16900,11 @@ var require_lib19 = __commonJS({ data.set((0, bytes_1.arrayify)(this.publicKey)); } for (var i = 24; i >= 0; i -= 8) { - data[33 + (i >> 3)] = index >> 24 - i & 255; + data[33 + (i >> 3)] = (index >> (24 - i)) & 255; } - var I = (0, bytes_1.arrayify)((0, sha2_1.computeHmac)(sha2_1.SupportedAlgorithm.sha512, this.chainCode, data)); + var I = (0, bytes_1.arrayify)( + (0, sha2_1.computeHmac)(sha2_1.SupportedAlgorithm.sha512, this.chainCode, data) + ); var IL = I.slice(0, 32); var IR = I.slice(32); var ki = null; @@ -16640,17 +16921,26 @@ var require_lib19 = __commonJS({ mnemonicOrPath = Object.freeze({ phrase: srcMnemonic.phrase, path: path2, - locale: srcMnemonic.locale || "en" + locale: srcMnemonic.locale || 'en', }); } - return new HDNode2(_constructorGuard, ki, Ki, this.fingerprint, bytes32(IR), index, this.depth + 1, mnemonicOrPath); + return new HDNode2( + _constructorGuard, + ki, + Ki, + this.fingerprint, + bytes32(IR), + index, + this.depth + 1, + mnemonicOrPath + ); }; - HDNode2.prototype.derivePath = function(path2) { - var components = path2.split("/"); - if (components.length === 0 || components[0] === "m" && this.depth !== 0) { - throw new Error("invalid path - " + path2); + HDNode2.prototype.derivePath = function (path2) { + var components = path2.split('/'); + if (components.length === 0 || (components[0] === 'm' && this.depth !== 0)) { + throw new Error('invalid path - ' + path2); } - if (components[0] === "m") { + if (components[0] === 'm') { components.shift(); } var result = this; @@ -16659,45 +16949,56 @@ var require_lib19 = __commonJS({ if (component.match(/^[0-9]+'$/)) { var index = parseInt(component.substring(0, component.length - 1)); if (index >= HardenedBit) { - throw new Error("invalid path index - " + component); + throw new Error('invalid path index - ' + component); } result = result._derive(HardenedBit + index); } else if (component.match(/^[0-9]+$/)) { var index = parseInt(component); if (index >= HardenedBit) { - throw new Error("invalid path index - " + component); + throw new Error('invalid path index - ' + component); } result = result._derive(index); } else { - throw new Error("invalid path component - " + component); + throw new Error('invalid path component - ' + component); } } return result; }; - HDNode2._fromSeed = function(seed, mnemonic) { + HDNode2._fromSeed = function (seed, mnemonic) { var seedArray = (0, bytes_1.arrayify)(seed); if (seedArray.length < 16 || seedArray.length > 64) { - throw new Error("invalid seed"); + throw new Error('invalid seed'); } - var I = (0, bytes_1.arrayify)((0, sha2_1.computeHmac)(sha2_1.SupportedAlgorithm.sha512, MasterSecret, seedArray)); - return new HDNode2(_constructorGuard, bytes32(I.slice(0, 32)), null, "0x00000000", bytes32(I.slice(32)), 0, 0, mnemonic); + var I = (0, bytes_1.arrayify)( + (0, sha2_1.computeHmac)(sha2_1.SupportedAlgorithm.sha512, MasterSecret, seedArray) + ); + return new HDNode2( + _constructorGuard, + bytes32(I.slice(0, 32)), + null, + '0x00000000', + bytes32(I.slice(32)), + 0, + 0, + mnemonic + ); }; - HDNode2.fromMnemonic = function(mnemonic, password, wordlist) { + HDNode2.fromMnemonic = function (mnemonic, password, wordlist) { wordlist = getWordlist(wordlist); mnemonic = entropyToMnemonic(mnemonicToEntropy(mnemonic, wordlist), wordlist); return HDNode2._fromSeed(mnemonicToSeed(mnemonic, password), { phrase: mnemonic, - path: "m", - locale: wordlist.locale + path: 'm', + locale: wordlist.locale, }); }; - HDNode2.fromSeed = function(seed) { + HDNode2.fromSeed = function (seed) { return HDNode2._fromSeed(seed, null); }; - HDNode2.fromExtendedKey = function(extendedKey) { + HDNode2.fromExtendedKey = function (extendedKey) { var bytes = basex_1.Base58.decode(extendedKey); if (bytes.length !== 82 || base58check(bytes.slice(0, 78)) !== extendedKey) { - logger.throwArgumentError("invalid extended key", "extendedKey", "[REDACTED]"); + logger.throwArgumentError('invalid extended key', 'extendedKey', '[REDACTED]'); } var depth = bytes[4]; var parentFingerprint = (0, bytes_1.hexlify)(bytes.slice(5, 9)); @@ -16705,27 +17006,54 @@ var require_lib19 = __commonJS({ var chainCode = (0, bytes_1.hexlify)(bytes.slice(13, 45)); var key = bytes.slice(45, 78); switch ((0, bytes_1.hexlify)(bytes.slice(0, 4))) { - case "0x0488b21e": - case "0x043587cf": - return new HDNode2(_constructorGuard, null, (0, bytes_1.hexlify)(key), parentFingerprint, chainCode, index, depth, null); - case "0x0488ade4": - case "0x04358394 ": + case '0x0488b21e': + case '0x043587cf': + return new HDNode2( + _constructorGuard, + null, + (0, bytes_1.hexlify)(key), + parentFingerprint, + chainCode, + index, + depth, + null + ); + case '0x0488ade4': + case '0x04358394 ': if (key[0] !== 0) { break; } - return new HDNode2(_constructorGuard, (0, bytes_1.hexlify)(key.slice(1)), null, parentFingerprint, chainCode, index, depth, null); + return new HDNode2( + _constructorGuard, + (0, bytes_1.hexlify)(key.slice(1)), + null, + parentFingerprint, + chainCode, + index, + depth, + null + ); } - return logger.throwArgumentError("invalid extended key", "extendedKey", "[REDACTED]"); + return logger.throwArgumentError('invalid extended key', 'extendedKey', '[REDACTED]'); }; return HDNode2; - }(); + })(); exports2.HDNode = HDNode; function mnemonicToSeed(mnemonic, password) { if (!password) { - password = ""; + password = ''; } - var salt = (0, strings_1.toUtf8Bytes)("mnemonic" + password, strings_1.UnicodeNormalizationForm.NFKD); - return (0, pbkdf2_1.pbkdf2)((0, strings_1.toUtf8Bytes)(mnemonic, strings_1.UnicodeNormalizationForm.NFKD), salt, 2048, 64, "sha512"); + var salt = (0, strings_1.toUtf8Bytes)( + 'mnemonic' + password, + strings_1.UnicodeNormalizationForm.NFKD + ); + return (0, pbkdf2_1.pbkdf2)( + (0, strings_1.toUtf8Bytes)(mnemonic, strings_1.UnicodeNormalizationForm.NFKD), + salt, + 2048, + 64, + 'sha512' + ); } exports2.mnemonicToSeed = mnemonicToSeed; function mnemonicToEntropy(mnemonic, wordlist) { @@ -16733,28 +17061,30 @@ var require_lib19 = __commonJS({ logger.checkNormalize(); var words = wordlist.split(mnemonic); if (words.length % 3 !== 0) { - throw new Error("invalid mnemonic"); + throw new Error('invalid mnemonic'); } - var entropy = (0, bytes_1.arrayify)(new Uint8Array(Math.ceil(11 * words.length / 8))); + var entropy = (0, bytes_1.arrayify)(new Uint8Array(Math.ceil((11 * words.length) / 8))); var offset = 0; for (var i = 0; i < words.length; i++) { - var index = wordlist.getWordIndex(words[i].normalize("NFKD")); + var index = wordlist.getWordIndex(words[i].normalize('NFKD')); if (index === -1) { - throw new Error("invalid mnemonic"); + throw new Error('invalid mnemonic'); } for (var bit = 0; bit < 11; bit++) { - if (index & 1 << 10 - bit) { - entropy[offset >> 3] |= 1 << 7 - offset % 8; + if (index & (1 << (10 - bit))) { + entropy[offset >> 3] |= 1 << (7 - (offset % 8)); } offset++; } } - var entropyBits = 32 * words.length / 3; + var entropyBits = (32 * words.length) / 3; var checksumBits = words.length / 3; var checksumMask = getUpperMask(checksumBits); - var checksum = (0, bytes_1.arrayify)((0, sha2_1.sha256)(entropy.slice(0, entropyBits / 8)))[0] & checksumMask; + var checksum = + (0, bytes_1.arrayify)((0, sha2_1.sha256)(entropy.slice(0, entropyBits / 8)))[0] & + checksumMask; if (checksum !== (entropy[entropy.length - 1] & checksumMask)) { - throw new Error("invalid checksum"); + throw new Error('invalid checksum'); } return (0, bytes_1.hexlify)(entropy.slice(0, entropyBits / 8)); } @@ -16763,7 +17093,7 @@ var require_lib19 = __commonJS({ wordlist = getWordlist(wordlist); entropy = (0, bytes_1.arrayify)(entropy); if (entropy.length % 4 !== 0 || entropy.length < 16 || entropy.length > 32) { - throw new Error("invalid entropy"); + throw new Error('invalid entropy'); } var indices = [0]; var remainingBits = 11; @@ -16774,44 +17104,46 @@ var require_lib19 = __commonJS({ remainingBits -= 8; } else { indices[indices.length - 1] <<= remainingBits; - indices[indices.length - 1] |= entropy[i] >> 8 - remainingBits; + indices[indices.length - 1] |= entropy[i] >> (8 - remainingBits); indices.push(entropy[i] & getLowerMask(8 - remainingBits)); remainingBits += 3; } } var checksumBits = entropy.length / 4; - var checksum = (0, bytes_1.arrayify)((0, sha2_1.sha256)(entropy))[0] & getUpperMask(checksumBits); + var checksum = + (0, bytes_1.arrayify)((0, sha2_1.sha256)(entropy))[0] & getUpperMask(checksumBits); indices[indices.length - 1] <<= checksumBits; - indices[indices.length - 1] |= checksum >> 8 - checksumBits; - return wordlist.join(indices.map(function(index) { - return wordlist.getWord(index); - })); + indices[indices.length - 1] |= checksum >> (8 - checksumBits); + return wordlist.join( + indices.map(function (index) { + return wordlist.getWord(index); + }) + ); } exports2.entropyToMnemonic = entropyToMnemonic; function isValidMnemonic(mnemonic, wordlist) { try { mnemonicToEntropy(mnemonic, wordlist); return true; - } catch (error) { - } + } catch (error) {} return false; } exports2.isValidMnemonic = isValidMnemonic; function getAccountPath(index) { - if (typeof index !== "number" || index < 0 || index >= HardenedBit || index % 1) { - logger.throwArgumentError("invalid account index", "index", index); + if (typeof index !== 'number' || index < 0 || index >= HardenedBit || index % 1) { + logger.throwArgumentError('invalid account index', 'index', index); } return "m/44'/60'/" + index + "'/0/0"; } exports2.getAccountPath = getAccountPath; - } + }, }); // node_modules/aes-js/index.js var require_aes_js = __commonJS({ - "node_modules/aes-js/index.js"(exports2, module2) { - "use strict"; - (function(root) { + 'node_modules/aes-js/index.js'(exports2, module2) { + 'use strict'; + (function (root) { function checkInt(value) { return parseInt(value) === value; } @@ -16827,7 +17159,7 @@ var require_aes_js = __commonJS({ return true; } function coerceArray(arg, copy) { - if (arg.buffer && ArrayBuffer.isView(arg) && arg.name === "Uint8Array") { + if (arg.buffer && ArrayBuffer.isView(arg) && arg.name === 'Uint8Array') { if (copy) { if (arg.slice) { arg = arg.slice(); @@ -16839,14 +17171,14 @@ var require_aes_js = __commonJS({ } if (Array.isArray(arg)) { if (!checkInts(arg)) { - throw new Error("Array contains invalid value: " + arg); + throw new Error('Array contains invalid value: ' + arg); } return new Uint8Array(arg); } if (checkInt(arg.length) && checkInts(arg)) { return new Uint8Array(arg); } - throw new Error("unsupported array-like object"); + throw new Error('unsupported array-like object'); } function createArray(length) { return new Uint8Array(length); @@ -16861,9 +17193,10 @@ var require_aes_js = __commonJS({ } targetArray.set(sourceArray, targetStart); } - var convertUtf8 = function() { + var convertUtf8 = (function () { function toBytes(text) { - var result = [], i = 0; + var result = [], + i = 0; text = encodeURI(text); while (i < text.length) { var c = text.charCodeAt(i++); @@ -16877,28 +17210,33 @@ var require_aes_js = __commonJS({ return coerceArray(result); } function fromBytes(bytes) { - var result = [], i = 0; + var result = [], + i = 0; while (i < bytes.length) { var c = bytes[i]; if (c < 128) { result.push(String.fromCharCode(c)); i++; } else if (c > 191 && c < 224) { - result.push(String.fromCharCode((c & 31) << 6 | bytes[i + 1] & 63)); + result.push(String.fromCharCode(((c & 31) << 6) | (bytes[i + 1] & 63))); i += 2; } else { - result.push(String.fromCharCode((c & 15) << 12 | (bytes[i + 1] & 63) << 6 | bytes[i + 2] & 63)); + result.push( + String.fromCharCode( + ((c & 15) << 12) | ((bytes[i + 1] & 63) << 6) | (bytes[i + 2] & 63) + ) + ); i += 3; } } - return result.join(""); + return result.join(''); } return { toBytes, - fromBytes + fromBytes, }; - }(); - var convertHex = function() { + })(); + var convertHex = (function () { function toBytes(text) { var result = []; for (var i = 0; i < text.length; i += 2) { @@ -16906,58 +17244,523 @@ var require_aes_js = __commonJS({ } return result; } - var Hex = "0123456789abcdef"; + var Hex = '0123456789abcdef'; function fromBytes(bytes) { var result = []; for (var i = 0; i < bytes.length; i++) { var v = bytes[i]; result.push(Hex[(v & 240) >> 4] + Hex[v & 15]); } - return result.join(""); + return result.join(''); } return { toBytes, - fromBytes + fromBytes, }; - }(); + })(); var numberOfRounds = { 16: 10, 24: 12, 32: 14 }; - var rcon = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145]; - var S = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22]; - var Si = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125]; - var T1 = [3328402341, 4168907908, 4000806809, 4135287693, 4294111757, 3597364157, 3731845041, 2445657428, 1613770832, 33620227, 3462883241, 1445669757, 3892248089, 3050821474, 1303096294, 3967186586, 2412431941, 528646813, 2311702848, 4202528135, 4026202645, 2992200171, 2387036105, 4226871307, 1101901292, 3017069671, 1604494077, 1169141738, 597466303, 1403299063, 3832705686, 2613100635, 1974974402, 3791519004, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546, 2211236943, 1748251740, 1369810420, 3521504564, 4193382664, 3799085459, 2883115123, 1647391059, 706024767, 134480908, 2512897874, 1176707941, 2646852446, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221, 3454790438, 1311188841, 2142417613, 3933566367, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818, 3025820398, 1537253627, 2756858614, 1983593293, 3084310113, 2108928974, 1378429307, 3722699582, 1580150641, 327451799, 2790478837, 3117535592, 0, 3253595436, 1075847264, 3825007647, 2041688520, 3059440621, 3563743934, 2378943302, 1740553945, 1916352843, 2487896798, 2555137236, 2958579944, 2244988746, 3151024235, 3320835882, 1336584933, 3992714006, 2252555205, 2588757463, 1714631509, 293963156, 2319795663, 3925473552, 67240454, 4269768577, 2689618160, 2017213508, 631218106, 1269344483, 2723238387, 1571005438, 2151694528, 93294474, 1066570413, 563977660, 1882732616, 4059428100, 1673313503, 2008463041, 2950355573, 1109467491, 537923632, 3858759450, 4260623118, 3218264685, 2177748300, 403442708, 638784309, 3287084079, 3193921505, 899127202, 2286175436, 773265209, 2479146071, 1437050866, 4236148354, 2050833735, 3362022572, 3126681063, 840505643, 3866325909, 3227541664, 427917720, 2655997905, 2749160575, 1143087718, 1412049534, 999329963, 193497219, 2353415882, 3354324521, 1807268051, 672404540, 2816401017, 3160301282, 369822493, 2916866934, 3688947771, 1681011286, 1949973070, 336202270, 2454276571, 201721354, 1210328172, 3093060836, 2680341085, 3184776046, 1135389935, 3294782118, 965841320, 831886756, 3554993207, 4068047243, 3588745010, 2345191491, 1849112409, 3664604599, 26054028, 2983581028, 2622377682, 1235855840, 3630984372, 2891339514, 4092916743, 3488279077, 3395642799, 4101667470, 1202630377, 268961816, 1874508501, 4034427016, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513, 3421038627, 2715671932, 3899946140, 1042226977, 2521517021, 1639824860, 227249030, 260737669, 3765465232, 2084453954, 1907733956, 3429263018, 2420656344, 100860677, 4160157185, 470683154, 3261161891, 1781871967, 2924959737, 1773779408, 394692241, 2579611992, 974986535, 664706745, 3655459128, 3958962195, 731420851, 571543859, 3530123707, 2849626480, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984, 2278477385, 2857719295, 1344809080, 2782912378, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649, 2218934982, 3496503480, 2185314755, 697932208, 1512910199, 504303377, 2075177163, 2824099068, 1841019862, 739644986]; - var T2 = [2781242211, 2230877308, 2582542199, 2381740923, 234877682, 3184946027, 2984144751, 1418839493, 1348481072, 50462977, 2848876391, 2102799147, 434634494, 1656084439, 3863849899, 2599188086, 1167051466, 2636087938, 1082771913, 2281340285, 368048890, 3954334041, 3381544775, 201060592, 3963727277, 1739838676, 4250903202, 3930435503, 3206782108, 4149453988, 2531553906, 1536934080, 3262494647, 484572669, 2923271059, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525, 886171109, 150598129, 2481090929, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806, 252314885, 3039795866, 151914247, 908333586, 2602270848, 1038082786, 651029483, 1766729511, 3447698098, 2682942837, 454166793, 2652734339, 1951935532, 775166490, 758520603, 3000790638, 4004797018, 4217086112, 4137964114, 1299594043, 1639438038, 3464344499, 2068982057, 1054729187, 1901997871, 2534638724, 4121318227, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545, 3988151131, 3201591914, 1183697867, 3647454910, 1265776953, 3734260298, 3566750796, 3903871064, 1250283471, 1807470800, 717615087, 3847203498, 384695291, 3313910595, 3617213773, 1432761139, 2484176261, 3481945413, 283769337, 100925954, 2180939647, 4037038160, 1148730428, 3123027871, 3813386408, 4087501137, 4267549603, 3229630528, 2315620239, 2906624658, 3156319645, 1215313976, 82966005, 3747855548, 3245848246, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855, 2721421207, 3431482436, 959321879, 1469301956, 4065699751, 2197585534, 1199193405, 2898814052, 3887750493, 724703513, 2514908019, 2696962144, 2551808385, 3516813135, 2141445340, 1715741218, 2119445034, 2872807568, 2198571144, 3398190662, 700968686, 3547052216, 1009259540, 2041044702, 3803995742, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321, 168560134, 1816667172, 3837287516, 1570751170, 1857934291, 4014189740, 2797888098, 2822345105, 2754712981, 936633572, 2347923833, 852879335, 1133234376, 1500395319, 3084545389, 2348912013, 1689376213, 3533459022, 3762923945, 3034082412, 4205598294, 133428468, 634383082, 2949277029, 2398386810, 3913789102, 403703816, 3580869306, 2297460856, 1867130149, 1918643758, 607656988, 4049053350, 3346248884, 1368901318, 600565992, 2090982877, 2632479860, 557719327, 3717614411, 3697393085, 2249034635, 2232388234, 2430627952, 1115438654, 3295786421, 2865522278, 3633334344, 84280067, 33027830, 303828494, 2747425121, 1600795957, 4188952407, 3496589753, 2434238086, 1486471617, 658119965, 3106381470, 953803233, 334231800, 3005978776, 857870609, 3151128937, 1890179545, 2298973838, 2805175444, 3056442267, 574365214, 2450884487, 550103529, 1233637070, 4289353045, 2018519080, 2057691103, 2399374476, 4166623649, 2148108681, 387583245, 3664101311, 836232934, 3330556482, 3100665960, 3280093505, 2955516313, 2002398509, 287182607, 3413881008, 4238890068, 3597515707, 975967766]; - var T3 = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762, 1807603307, 1873927791, 3310653893, 810573872, 16974337, 1739181671, 729634347, 4263110654, 3613570519, 2883997099, 1989864566, 3393556426, 2191335298, 3376449993, 2106063485, 4195741690, 1508618841, 1204391495, 4027317232, 2917941677, 3563566036, 2734514082, 2951366063, 2629772188, 2767672228, 1922491506, 3227229120, 3082974647, 4246528509, 2477669779, 644500518, 911895606, 1061256767, 4144166391, 3427763148, 878471220, 2784252325, 3845444069, 4043897329, 1905517169, 3631459288, 827548209, 356461077, 67897348, 3344078279, 593839651, 3277757891, 405286936, 2527147926, 84871685, 2595565466, 118033927, 305538066, 2157648768, 3795705826, 3945188843, 661212711, 2999812018, 1973414517, 152769033, 2208177539, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552, 1391895634, 994932283, 3596728278, 3016654259, 695947817, 3812548067, 795958831, 2224493444, 1408607827, 3513301457, 0, 3979133421, 543178784, 4229948412, 2982705585, 1542305371, 1790891114, 3410398667, 3201918910, 961245753, 1256100938, 1289001036, 1491644504, 3477767631, 3496721360, 4012557807, 2867154858, 4212583931, 1137018435, 1305975373, 861234739, 2241073541, 1171229253, 4178635257, 33948674, 2139225727, 1357946960, 1011120188, 2679776671, 2833468328, 1374921297, 2751356323, 1086357568, 2408187279, 2460827538, 2646352285, 944271416, 4110742005, 3168756668, 3066132406, 3665145818, 560153121, 271589392, 4279952895, 4077846003, 3530407890, 3444343245, 202643468, 322250259, 3962553324, 1608629855, 2543990167, 1154254916, 389623319, 3294073796, 2817676711, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865, 1339137615, 3699352540, 577127458, 712922154, 2427141008, 2290289544, 1187679302, 3995715566, 3100863416, 339486740, 3732514782, 1591917662, 186455563, 3681988059, 3762019296, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650, 3547250131, 2901361580, 1655096418, 2443721105, 2510565781, 3828863972, 2039214713, 3878868455, 3359869896, 928607799, 1840765549, 2374762893, 3580146133, 1322425422, 2850048425, 1823791212, 1459268694, 4094161908, 3928346602, 1706019429, 2056189050, 2934523822, 135794696, 3134549946, 2022240376, 628050469, 779246638, 472135708, 2800834470, 3032970164, 3327236038, 3894660072, 3715932637, 1956440180, 522272287, 1272813131, 3185336765, 2340818315, 2323976074, 1888542832, 1044544574, 3049550261, 1722469478, 1222152264, 50660867, 4127324150, 236067854, 1638122081, 895445557, 1475980887, 3117443513, 2257655686, 3243809217, 489110045, 2662934430, 3778599393, 4162055160, 2561878936, 288563729, 1773916777, 3648039385, 2391345038, 2493985684, 2612407707, 505560094, 2274497927, 3911240169, 3460925390, 1442818645, 678973480, 3749357023, 2358182796, 2717407649, 2306869641, 219617805, 3218761151, 3862026214, 1120306242, 1756942440, 1103331905, 2578459033, 762796589, 252780047, 2966125488, 1425844308, 3151392187, 372911126]; - var T4 = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567, 1802223062, 1869591006, 3318043793, 808472672, 16843522, 1734846926, 724270422, 4278065639, 3621216949, 2880169549, 1987484396, 3402253711, 2189597983, 3385409673, 2105378810, 4210693615, 1499065266, 1195886990, 4042263547, 2913856577, 3570689971, 2728590687, 2947541573, 2627518243, 2762274643, 1920112356, 3233831835, 3082273397, 4261223649, 2475929149, 640051788, 909531756, 1061110142, 4160160501, 3435941763, 875846760, 2779116625, 3857003729, 4059105529, 1903268834, 3638064043, 825316194, 353713962, 67374088, 3351728789, 589522246, 3284360861, 404236336, 2526454071, 84217610, 2593830191, 117901582, 303183396, 2155911963, 3806477791, 3958056653, 656894286, 2998062463, 1970642922, 151591698, 2206440989, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667, 1381168804, 993742198, 3604373943, 3014905469, 690584402, 3823320797, 791638366, 2223281939, 1398011302, 3520161977, 0, 3991743681, 538992704, 4244381667, 2981218425, 1532751286, 1785380564, 3419096717, 3200178535, 960056178, 1246420628, 1280103576, 1482221744, 3486468741, 3503319995, 4025428677, 2863326543, 4227536621, 1128514950, 1296947098, 859002214, 2240123921, 1162203018, 4193849577, 33687044, 2139062782, 1347481760, 1010582648, 2678045221, 2829640523, 1364325282, 2745433693, 1077985408, 2408548869, 2459086143, 2644360225, 943212656, 4126475505, 3166494563, 3065430391, 3671750063, 555836226, 269496352, 4294908645, 4092792573, 3537006015, 3452783745, 202118168, 320025894, 3974901699, 1600119230, 2543297077, 1145359496, 387397934, 3301201811, 2812801621, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945, 1330631070, 3705438115, 572679748, 707427924, 2425400123, 2290647819, 1179044492, 4008585671, 3099120491, 336870440, 3739122087, 1583276732, 185277718, 3688593069, 3772791771, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855, 3553849021, 2897014595, 1650632388, 2442242105, 2509612081, 3840161747, 2038008818, 3890688725, 3368567691, 926374254, 1835907034, 2374863873, 3587531953, 1313788572, 2846482505, 1819063512, 1448540844, 4109633523, 3941213647, 1701162954, 2054852340, 2930698567, 134748176, 3132806511, 2021165296, 623210314, 774795868, 471606328, 2795958615, 3031746419, 3334885783, 3907527627, 3722280097, 1953799400, 522133822, 1263263126, 3183336545, 2341176845, 2324333839, 1886425312, 1044267644, 3048588401, 1718004428, 1212733584, 50529542, 4143317495, 235803164, 1633788866, 892690282, 1465383342, 3115962473, 2256965911, 3250673817, 488449850, 2661202215, 3789633753, 4177007595, 2560144171, 286339874, 1768537042, 3654906025, 2391705863, 2492770099, 2610673197, 505291324, 2273808917, 3924369609, 3469625735, 1431699370, 673740880, 3755965093, 2358021891, 2711746649, 2307489801, 218961690, 3217021541, 3873845719, 1111672452, 1751693520, 1094828930, 2576986153, 757954394, 252645662, 2964376443, 1414855848, 3149649517, 370555436]; - var T5 = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851, 1273168787, 540080725, 2910219766, 2295101073, 4110568485, 1340463100, 3307916247, 641025152, 3043140495, 3736164937, 632953703, 1172967064, 1576976609, 3274667266, 2169303058, 2370213795, 1809054150, 59727847, 361929877, 3211623147, 2505202138, 3569255213, 1484005843, 1239443753, 2395588676, 1975683434, 4102977912, 2572697195, 666464733, 3202437046, 4035489047, 3374361702, 2110667444, 1675577880, 3843699074, 2538681184, 1649639237, 2976151520, 3144396420, 4269907996, 4178062228, 1883793496, 2403728665, 2497604743, 1383856311, 2876494627, 1917518562, 3810496343, 1716890410, 3001755655, 800440835, 2261089178, 3543599269, 807962610, 599762354, 33778362, 3977675356, 2328828971, 2809771154, 4077384432, 1315562145, 1708848333, 101039829, 3509871135, 3299278474, 875451293, 2733856160, 92987698, 2767645557, 193195065, 1080094634, 1584504582, 3178106961, 1042385657, 2531067453, 3711829422, 1306967366, 2438237621, 1908694277, 67556463, 1615861247, 429456164, 3602770327, 2302690252, 1742315127, 2968011453, 126454664, 3877198648, 2043211483, 2709260871, 2084704233, 4169408201, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969, 607530554, 202008497, 2472011535, 3035535058, 463180190, 2160117071, 1641816226, 1517767529, 470948374, 3801332234, 3231722213, 1008918595, 303765277, 235474187, 4069246893, 766945465, 337553864, 1475418501, 2943682380, 4003061179, 2743034109, 4144047775, 1551037884, 1147550661, 1543208500, 2336434550, 3408119516, 3069049960, 3102011747, 3610369226, 1113818384, 328671808, 2227573024, 2236228733, 3535486456, 2935566865, 3341394285, 496906059, 3702665459, 226906860, 2009195472, 733156972, 2842737049, 294930682, 1206477858, 2835123396, 2700099354, 1451044056, 573804783, 2269728455, 3644379585, 2362090238, 2564033334, 2801107407, 2776292904, 3669462566, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770, 2430122216, 775550814, 2193862645, 2673705150, 1775276924, 1876241833, 3475313331, 3366754619, 270040487, 3902563182, 3678124923, 3441850377, 1851332852, 3969562369, 2203032232, 3868552805, 2868897406, 566021896, 4011190502, 3135740889, 1248802510, 3936291284, 699432150, 832877231, 708780849, 3332740144, 899835584, 1951317047, 4236429990, 3767586992, 866637845, 4043610186, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980, 3835036895, 2664543715, 1282050075, 3240894392, 1181045119, 2640243204, 25965917, 4203181171, 4211818798, 3009879386, 2463879762, 3910161971, 1842759443, 2597806476, 933301370, 1509430414, 3943906441, 3467192302, 3076639029, 3776767469, 2051518780, 2631065433, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300, 2017778566, 3400528769, 3110650942, 941896748, 3265478751, 371049330, 3168937228, 675039627, 4279080257, 967311729, 135050206, 3635733660, 1683407248, 2076935265, 3576870512, 1215061108, 3501741890]; - var T6 = [1347548327, 1400783205, 3273267108, 2520393566, 3409685355, 4045380933, 2880240216, 2471224067, 1428173050, 4138563181, 2441661558, 636813900, 4233094615, 3620022987, 2149987652, 2411029155, 1239331162, 1730525723, 2554718734, 3781033664, 46346101, 310463728, 2743944855, 3328955385, 3875770207, 2501218972, 3955191162, 3667219033, 768917123, 3545789473, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113, 3065962831, 401639597, 1724457132, 3028143674, 409198410, 2196052529, 1620529459, 1164071807, 3769721975, 2226875310, 486441376, 2499348523, 1483753576, 428819965, 2274680428, 3075636216, 598438867, 3799141122, 1474502543, 711349675, 129166120, 53458370, 2592523643, 2782082824, 4063242375, 2988687269, 3120694122, 1559041666, 730517276, 2460449204, 4042459122, 2706270690, 3446004468, 3573941694, 533804130, 2328143614, 2637442643, 2695033685, 839224033, 1973745387, 957055980, 2856345839, 106852767, 1371368976, 4181598602, 1033297158, 2933734917, 1179510461, 3046200461, 91341917, 1862534868, 4284502037, 605657339, 2547432937, 3431546947, 2003294622, 3182487618, 2282195339, 954669403, 3682191598, 1201765386, 3917234703, 3388507166, 0, 2198438022, 1211247597, 2887651696, 1315723890, 4227665663, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604, 975451694, 2970356327, 261314535, 3535072918, 2652609425, 1333838021, 2724322336, 1767536459, 370938394, 182621114, 3854606378, 1128014560, 487725847, 185469197, 2918353863, 3106780840, 3356761769, 2237133081, 1286567175, 3152976349, 4255350624, 2683765030, 3160175349, 3309594171, 878443390, 1988838185, 3704300486, 1756818940, 1673061617, 3403100636, 272786309, 1075025698, 545572369, 2105887268, 4174560061, 296679730, 1841768865, 1260232239, 4091327024, 3960309330, 3497509347, 1814803222, 2578018489, 4195456072, 575138148, 3299409036, 446754879, 3629546796, 4011996048, 3347532110, 3252238545, 4270639778, 915985419, 3483825537, 681933534, 651868046, 2755636671, 3828103837, 223377554, 2607439820, 1649704518, 3270937875, 3901806776, 1580087799, 4118987695, 3198115200, 2087309459, 2842678573, 3016697106, 1003007129, 2802849917, 1860738147, 2077965243, 164439672, 4100872472, 32283319, 2827177882, 1709610350, 2125135846, 136428751, 3874428392, 3652904859, 3460984630, 3572145929, 3593056380, 2939266226, 824852259, 818324884, 3224740454, 930369212, 2801566410, 2967507152, 355706840, 1257309336, 4148292826, 243256656, 790073846, 2373340630, 1296297904, 1422699085, 3756299780, 3818836405, 457992840, 3099667487, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921, 2050466060, 2388260884, 2313884476, 4006521127, 901210569, 3990953189, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895, 3931371469, 1533017514, 350174575, 2256028891, 2177544179, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897, 1107234197, 1899603969, 3725069491, 2631447780, 2422494913, 1635502980, 1893020342, 1950903388, 1120974935]; - var T7 = [2807058932, 1699970625, 2764249623, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800, 1844882806, 1989249228, 1277555970, 3623636965, 3419915562, 1149249077, 2744104290, 1514790577, 459744698, 244860394, 3235995134, 1963115311, 4027744588, 2544078150, 4190530515, 1608975247, 2627016082, 2062270317, 1507497298, 2200818878, 567498868, 1764313568, 3359936201, 2305455554, 2037970062, 1047239e3, 1910319033, 1337376481, 2904027272, 2892417312, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315, 2686254721, 731183368, 1750626376, 4246310725, 1820824798, 4172763771, 3542330227, 48394827, 2404901663, 2871682645, 671593195, 3254988725, 2073724613, 145085239, 2280796200, 2779915199, 1790575107, 2187128086, 472615631, 3029510009, 4075877127, 3802222185, 4107101658, 3201631749, 1646252340, 4270507174, 1402811438, 1436590835, 3778151818, 3950355702, 3963161475, 4020912224, 2667994737, 273792366, 2331590177, 104699613, 95345982, 3175501286, 2377486676, 1560637892, 3564045318, 369057872, 4213447064, 3919042237, 1137477952, 2658625497, 1119727848, 2340947849, 1530455833, 4007360968, 172466556, 266959938, 516552836, 0, 2256734592, 3980931627, 1890328081, 1917742170, 4294704398, 945164165, 3575528878, 958871085, 3647212047, 2787207260, 1423022939, 775562294, 1739656202, 3876557655, 2530391278, 2443058075, 3310321856, 547512796, 1265195639, 437656594, 3121275539, 719700128, 3762502690, 387781147, 218828297, 3350065803, 2830708150, 2848461854, 428169201, 122466165, 3720081049, 1627235199, 648017665, 4122762354, 1002783846, 2117360635, 695634755, 3336358691, 4234721005, 4049844452, 3704280881, 2232435299, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185, 793451934, 821288114, 1391201670, 3822090177, 376187827, 3113855344, 1224348052, 1679968233, 2361698556, 1058709744, 752375421, 2431590963, 1321699145, 3519142200, 2734591178, 188127444, 2177869557, 3727205754, 2384911031, 3215212461, 2648976442, 2450346104, 3432737375, 1180849278, 331544205, 3102249176, 4150144569, 2952102595, 2159976285, 2474404304, 766078933, 313773861, 2570832044, 2108100632, 1668212892, 3145456443, 2013908262, 418672217, 3070356634, 2594734927, 1852171925, 3867060991, 3473416636, 3907448597, 2614737639, 919489135, 164948639, 2094410160, 2997825956, 590424639, 2486224549, 1723872674, 3157750862, 3399941250, 3501252752, 3625268135, 2555048196, 3673637356, 1343127501, 4130281361, 3599595085, 2957853679, 1297403050, 81781910, 3051593425, 2283490410, 532201772, 1367295589, 3926170974, 895287692, 1953757831, 1093597963, 492483431, 3528626907, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769, 3857572124, 2973530695, 3747192018, 1933530610, 3464042516, 935293895, 3454686199, 2858115069, 1863638845, 3683022916, 4085369519, 3292445032, 875313188, 1080017571, 3279033885, 621591778, 1233856572, 2504130317, 24197544, 3017672716, 3835484340, 3247465558, 2220981195, 3060847922, 1551124588, 1463996600]; - var T8 = [4104605777, 1097159550, 396673818, 660510266, 2875968315, 2638606623, 4200115116, 3808662347, 821712160, 1986918061, 3430322568, 38544885, 3856137295, 718002117, 893681702, 1654886325, 2975484382, 3122358053, 3926825029, 4274053469, 796197571, 1290801793, 1184342925, 3556361835, 2405426947, 2459735317, 1836772287, 1381620373, 3196267988, 1948373848, 3764988233, 3385345166, 3263785589, 2390325492, 1480485785, 3111247143, 3780097726, 2293045232, 548169417, 3459953789, 3746175075, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046, 137073913, 1214797936, 1174215055, 3731654548, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170, 3049390895, 3313212038, 923313619, 679998e3, 3215307299, 57326082, 377642221, 3474729866, 2041877159, 133361907, 1776460110, 3673476453, 96392454, 878845905, 2801699524, 777231668, 4082475170, 2330014213, 4142626212, 2213296395, 1626319424, 1906247262, 1846563261, 562755902, 3708173718, 1040559837, 3871163981, 1418573201, 3294430577, 114585348, 1343618912, 2566595609, 3186202582, 1078185097, 3651041127, 3896688048, 2307622919, 425408743, 3371096953, 2081048481, 1108339068, 2216610296, 0, 2156299017, 736970802, 292596766, 1517440620, 251657213, 2235061775, 2933202493, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748, 2610011675, 3234156416, 3693126241, 2001430874, 303699484, 2478443234, 2687165888, 585122620, 454499602, 151849742, 2345119218, 3064510765, 514443284, 4044981591, 1963412655, 2581445614, 2137062819, 19308535, 1928707164, 1715193156, 4219352155, 1126790795, 600235211, 3992742070, 3841024952, 836553431, 1669664834, 2535604243, 3323011204, 1243905413, 3141400786, 4180808110, 698445255, 2653899549, 2989552604, 2253581325, 3252932727, 3004591147, 1891211689, 2487810577, 3915653703, 4237083816, 4030667424, 2100090966, 865136418, 1229899655, 953270745, 3399679628, 3557504664, 4118925222, 2061379749, 3079546586, 2915017791, 983426092, 2022837584, 1607244650, 2118541908, 2366882550, 3635996816, 972512814, 3283088770, 1568718495, 3499326569, 3576539503, 621982671, 2895723464, 410887952, 2623762152, 1002142683, 645401037, 1494807662, 2595684844, 1335535747, 2507040230, 4293295786, 3167684641, 367585007, 3885750714, 1865862730, 2668221674, 2960971305, 2763173681, 1059270954, 2777952454, 2724642869, 1320957812, 2194319100, 2429595872, 2815956275, 77089521, 3973773121, 3444575871, 2448830231, 1305906550, 4021308739, 2857194700, 2516901860, 3518358430, 1787304780, 740276417, 1699839814, 1592394909, 2352307457, 2272556026, 188821243, 1729977011, 3687994002, 274084841, 3594982253, 3613494426, 2701949495, 4162096729, 322734571, 2837966542, 1640576439, 484830689, 1202797690, 3537852828, 4067639125, 349075736, 3342319475, 4157467219, 4255800159, 1030690015, 1155237496, 2951971274, 1757691577, 607398968, 2738905026, 499347990, 3794078908, 1011452712, 227885567, 2818666809, 213114376, 3034881240, 1455525988, 3414450555, 850817237, 1817998408, 3092726480]; - var U1 = [0, 235474187, 470948374, 303765277, 941896748, 908933415, 607530554, 708780849, 1883793496, 2118214995, 1817866830, 1649639237, 1215061108, 1181045119, 1417561698, 1517767529, 3767586992, 4003061179, 4236429990, 4069246893, 3635733660, 3602770327, 3299278474, 3400528769, 2430122216, 2664543715, 2362090238, 2193862645, 2835123396, 2801107407, 3035535058, 3135740889, 3678124923, 3576870512, 3341394285, 3374361702, 3810496343, 3977675356, 4279080257, 4043610186, 2876494627, 2776292904, 3076639029, 3110650942, 2472011535, 2640243204, 2403728665, 2169303058, 1001089995, 899835584, 666464733, 699432150, 59727847, 226906860, 530400753, 294930682, 1273168787, 1172967064, 1475418501, 1509430414, 1942435775, 2110667444, 1876241833, 1641816226, 2910219766, 2743034109, 2976151520, 3211623147, 2505202138, 2606453969, 2302690252, 2269728455, 3711829422, 3543599269, 3240894392, 3475313331, 3843699074, 3943906441, 4178062228, 4144047775, 1306967366, 1139781709, 1374988112, 1610459739, 1975683434, 2076935265, 1775276924, 1742315127, 1034867998, 866637845, 566021896, 800440835, 92987698, 193195065, 429456164, 395441711, 1984812685, 2017778566, 1784663195, 1683407248, 1315562145, 1080094634, 1383856311, 1551037884, 101039829, 135050206, 437757123, 337553864, 1042385657, 807962610, 573804783, 742039012, 2531067453, 2564033334, 2328828971, 2227573024, 2935566865, 2700099354, 3001755655, 3168937228, 3868552805, 3902563182, 4203181171, 4102977912, 3736164937, 3501741890, 3265478751, 3433712980, 1106041591, 1340463100, 1576976609, 1408749034, 2043211483, 2009195472, 1708848333, 1809054150, 832877231, 1068351396, 766945465, 599762354, 159417987, 126454664, 361929877, 463180190, 2709260871, 2943682380, 3178106961, 3009879386, 2572697195, 2538681184, 2236228733, 2336434550, 3509871135, 3745345300, 3441850377, 3274667266, 3910161971, 3877198648, 4110568485, 4211818798, 2597806476, 2497604743, 2261089178, 2295101073, 2733856160, 2902087851, 3202437046, 2968011453, 3936291284, 3835036895, 4136440770, 4169408201, 3535486456, 3702665459, 3467192302, 3231722213, 2051518780, 1951317047, 1716890410, 1750902305, 1113818384, 1282050075, 1584504582, 1350078989, 168810852, 67556463, 371049330, 404016761, 841739592, 1008918595, 775550814, 540080725, 3969562369, 3801332234, 4035489047, 4269907996, 3569255213, 3669462566, 3366754619, 3332740144, 2631065433, 2463879762, 2160117071, 2395588676, 2767645557, 2868897406, 3102011747, 3069049960, 202008497, 33778362, 270040487, 504459436, 875451293, 975658646, 675039627, 641025152, 2084704233, 1917518562, 1615861247, 1851332852, 1147550661, 1248802510, 1484005843, 1451044056, 933301370, 967311729, 733156972, 632953703, 260388950, 25965917, 328671808, 496906059, 1206477858, 1239443753, 1543208500, 1441952575, 2144161806, 1908694277, 1675577880, 1842759443, 3610369226, 3644379585, 3408119516, 3307916247, 4011190502, 3776767469, 4077384432, 4245618683, 2809771154, 2842737049, 3144396420, 3043140495, 2673705150, 2438237621, 2203032232, 2370213795]; - var U2 = [0, 185469197, 370938394, 487725847, 741876788, 657861945, 975451694, 824852259, 1483753576, 1400783205, 1315723890, 1164071807, 1950903388, 2135319889, 1649704518, 1767536459, 2967507152, 3152976349, 2801566410, 2918353863, 2631447780, 2547432937, 2328143614, 2177544179, 3901806776, 3818836405, 4270639778, 4118987695, 3299409036, 3483825537, 3535072918, 3652904859, 2077965243, 1893020342, 1841768865, 1724457132, 1474502543, 1559041666, 1107234197, 1257309336, 598438867, 681933534, 901210569, 1052338372, 261314535, 77422314, 428819965, 310463728, 3409685355, 3224740454, 3710368113, 3593056380, 3875770207, 3960309330, 4045380933, 4195456072, 2471224067, 2554718734, 2237133081, 2388260884, 3212035895, 3028143674, 2842678573, 2724322336, 4138563181, 4255350624, 3769721975, 3955191162, 3667219033, 3516619604, 3431546947, 3347532110, 2933734917, 2782082824, 3099667487, 3016697106, 2196052529, 2313884476, 2499348523, 2683765030, 1179510461, 1296297904, 1347548327, 1533017514, 1786102409, 1635502980, 2087309459, 2003294622, 507358933, 355706840, 136428751, 53458370, 839224033, 957055980, 605657339, 790073846, 2373340630, 2256028891, 2607439820, 2422494913, 2706270690, 2856345839, 3075636216, 3160175349, 3573941694, 3725069491, 3273267108, 3356761769, 4181598602, 4063242375, 4011996048, 3828103837, 1033297158, 915985419, 730517276, 545572369, 296679730, 446754879, 129166120, 213705253, 1709610350, 1860738147, 1945798516, 2029293177, 1239331162, 1120974935, 1606591296, 1422699085, 4148292826, 4233094615, 3781033664, 3931371469, 3682191598, 3497509347, 3446004468, 3328955385, 2939266226, 2755636671, 3106780840, 2988687269, 2198438022, 2282195339, 2501218972, 2652609425, 1201765386, 1286567175, 1371368976, 1521706781, 1805211710, 1620529459, 2105887268, 1988838185, 533804130, 350174575, 164439672, 46346101, 870912086, 954669403, 636813900, 788204353, 2358957921, 2274680428, 2592523643, 2441661558, 2695033685, 2880240216, 3065962831, 3182487618, 3572145929, 3756299780, 3270937875, 3388507166, 4174560061, 4091327024, 4006521127, 3854606378, 1014646705, 930369212, 711349675, 560487590, 272786309, 457992840, 106852767, 223377554, 1678381017, 1862534868, 1914052035, 2031621326, 1211247597, 1128014560, 1580087799, 1428173050, 32283319, 182621114, 401639597, 486441376, 768917123, 651868046, 1003007129, 818324884, 1503449823, 1385356242, 1333838021, 1150208456, 1973745387, 2125135846, 1673061617, 1756818940, 2970356327, 3120694122, 2802849917, 2887651696, 2637442643, 2520393566, 2334669897, 2149987652, 3917234703, 3799141122, 4284502037, 4100872472, 3309594171, 3460984630, 3545789473, 3629546796, 2050466060, 1899603969, 1814803222, 1730525723, 1443857720, 1560382517, 1075025698, 1260232239, 575138148, 692707433, 878443390, 1062597235, 243256656, 91341917, 409198410, 325965383, 3403100636, 3252238545, 3704300486, 3620022987, 3874428392, 3990953189, 4042459122, 4227665663, 2460449204, 2578018489, 2226875310, 2411029155, 3198115200, 3046200461, 2827177882, 2743944855]; - var U3 = [0, 218828297, 437656594, 387781147, 875313188, 958871085, 775562294, 590424639, 1750626376, 1699970625, 1917742170, 2135253587, 1551124588, 1367295589, 1180849278, 1265195639, 3501252752, 3720081049, 3399941250, 3350065803, 3835484340, 3919042237, 4270507174, 4085369519, 3102249176, 3051593425, 2734591178, 2952102595, 2361698556, 2177869557, 2530391278, 2614737639, 3145456443, 3060847922, 2708326185, 2892417312, 2404901663, 2187128086, 2504130317, 2555048196, 3542330227, 3727205754, 3375740769, 3292445032, 3876557655, 3926170974, 4246310725, 4027744588, 1808481195, 1723872674, 1910319033, 2094410160, 1608975247, 1391201670, 1173430173, 1224348052, 59984867, 244860394, 428169201, 344873464, 935293895, 984907214, 766078933, 547512796, 1844882806, 1627235199, 2011214180, 2062270317, 1507497298, 1423022939, 1137477952, 1321699145, 95345982, 145085239, 532201772, 313773861, 830661914, 1015671571, 731183368, 648017665, 3175501286, 2957853679, 2807058932, 2858115069, 2305455554, 2220981195, 2474404304, 2658625497, 3575528878, 3625268135, 3473416636, 3254988725, 3778151818, 3963161475, 4213447064, 4130281361, 3599595085, 3683022916, 3432737375, 3247465558, 3802222185, 4020912224, 4172763771, 4122762354, 3201631749, 3017672716, 2764249623, 2848461854, 2331590177, 2280796200, 2431590963, 2648976442, 104699613, 188127444, 472615631, 287343814, 840019705, 1058709744, 671593195, 621591778, 1852171925, 1668212892, 1953757831, 2037970062, 1514790577, 1463996600, 1080017571, 1297403050, 3673637356, 3623636965, 3235995134, 3454686199, 4007360968, 3822090177, 4107101658, 4190530515, 2997825956, 3215212461, 2830708150, 2779915199, 2256734592, 2340947849, 2627016082, 2443058075, 172466556, 122466165, 273792366, 492483431, 1047239e3, 861968209, 612205898, 695634755, 1646252340, 1863638845, 2013908262, 1963115311, 1446242576, 1530455833, 1277555970, 1093597963, 1636604631, 1820824798, 2073724613, 1989249228, 1436590835, 1487645946, 1337376481, 1119727848, 164948639, 81781910, 331544205, 516552836, 1039717051, 821288114, 669961897, 719700128, 2973530695, 3157750862, 2871682645, 2787207260, 2232435299, 2283490410, 2667994737, 2450346104, 3647212047, 3564045318, 3279033885, 3464042516, 3980931627, 3762502690, 4150144569, 4199882800, 3070356634, 3121275539, 2904027272, 2686254721, 2200818878, 2384911031, 2570832044, 2486224549, 3747192018, 3528626907, 3310321856, 3359936201, 3950355702, 3867060991, 4049844452, 4234721005, 1739656202, 1790575107, 2108100632, 1890328081, 1402811438, 1586903591, 1233856572, 1149249077, 266959938, 48394827, 369057872, 418672217, 1002783846, 919489135, 567498868, 752375421, 209336225, 24197544, 376187827, 459744698, 945164165, 895287692, 574624663, 793451934, 1679968233, 1764313568, 2117360635, 1933530610, 1343127501, 1560637892, 1243112415, 1192455638, 3704280881, 3519142200, 3336358691, 3419915562, 3907448597, 3857572124, 4075877127, 4294704398, 3029510009, 3113855344, 2927934315, 2744104290, 2159976285, 2377486676, 2594734927, 2544078150]; - var U4 = [0, 151849742, 303699484, 454499602, 607398968, 758720310, 908999204, 1059270954, 1214797936, 1097159550, 1517440620, 1400849762, 1817998408, 1699839814, 2118541908, 2001430874, 2429595872, 2581445614, 2194319100, 2345119218, 3034881240, 3186202582, 2801699524, 2951971274, 3635996816, 3518358430, 3399679628, 3283088770, 4237083816, 4118925222, 4002861748, 3885750714, 1002142683, 850817237, 698445255, 548169417, 529487843, 377642221, 227885567, 77089521, 1943217067, 2061379749, 1640576439, 1757691577, 1474760595, 1592394909, 1174215055, 1290801793, 2875968315, 2724642869, 3111247143, 2960971305, 2405426947, 2253581325, 2638606623, 2487810577, 3808662347, 3926825029, 4044981591, 4162096729, 3342319475, 3459953789, 3576539503, 3693126241, 1986918061, 2137062819, 1685577905, 1836772287, 1381620373, 1532285339, 1078185097, 1229899655, 1040559837, 923313619, 740276417, 621982671, 439452389, 322734571, 137073913, 19308535, 3871163981, 4021308739, 4104605777, 4255800159, 3263785589, 3414450555, 3499326569, 3651041127, 2933202493, 2815956275, 3167684641, 3049390895, 2330014213, 2213296395, 2566595609, 2448830231, 1305906550, 1155237496, 1607244650, 1455525988, 1776460110, 1626319424, 2079897426, 1928707164, 96392454, 213114376, 396673818, 514443284, 562755902, 679998e3, 865136418, 983426092, 3708173718, 3557504664, 3474729866, 3323011204, 4180808110, 4030667424, 3945269170, 3794078908, 2507040230, 2623762152, 2272556026, 2390325492, 2975484382, 3092726480, 2738905026, 2857194700, 3973773121, 3856137295, 4274053469, 4157467219, 3371096953, 3252932727, 3673476453, 3556361835, 2763173681, 2915017791, 3064510765, 3215307299, 2156299017, 2307622919, 2459735317, 2610011675, 2081048481, 1963412655, 1846563261, 1729977011, 1480485785, 1362321559, 1243905413, 1126790795, 878845905, 1030690015, 645401037, 796197571, 274084841, 425408743, 38544885, 188821243, 3613494426, 3731654548, 3313212038, 3430322568, 4082475170, 4200115116, 3780097726, 3896688048, 2668221674, 2516901860, 2366882550, 2216610296, 3141400786, 2989552604, 2837966542, 2687165888, 1202797690, 1320957812, 1437280870, 1554391400, 1669664834, 1787304780, 1906247262, 2022837584, 265905162, 114585348, 499347990, 349075736, 736970802, 585122620, 972512814, 821712160, 2595684844, 2478443234, 2293045232, 2174754046, 3196267988, 3079546586, 2895723464, 2777952454, 3537852828, 3687994002, 3234156416, 3385345166, 4142626212, 4293295786, 3841024952, 3992742070, 174567692, 57326082, 410887952, 292596766, 777231668, 660510266, 1011452712, 893681702, 1108339068, 1258480242, 1343618912, 1494807662, 1715193156, 1865862730, 1948373848, 2100090966, 2701949495, 2818666809, 3004591147, 3122358053, 2235061775, 2352307457, 2535604243, 2653899549, 3915653703, 3764988233, 4219352155, 4067639125, 3444575871, 3294430577, 3746175075, 3594982253, 836553431, 953270745, 600235211, 718002117, 367585007, 484830689, 133361907, 251657213, 2041877159, 1891211689, 1806599355, 1654886325, 1568718495, 1418573201, 1335535747, 1184342925]; + var rcon = [ + 1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, + 106, 212, 179, 125, 250, 239, 197, 145, + ]; + var S = [ + 99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, + 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, + 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, + 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, + 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, + 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, + 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, + 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, + 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, + 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, + 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, + 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, + 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22, + ]; + var Si = [ + 82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, + 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, + 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, + 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, + 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, + 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, + 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, + 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, + 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, + 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, + 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, + 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, + 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125, + ]; + var T1 = [ + 3328402341, 4168907908, 4000806809, 4135287693, 4294111757, 3597364157, 3731845041, + 2445657428, 1613770832, 33620227, 3462883241, 1445669757, 3892248089, 3050821474, + 1303096294, 3967186586, 2412431941, 528646813, 2311702848, 4202528135, 4026202645, + 2992200171, 2387036105, 4226871307, 1101901292, 3017069671, 1604494077, 1169141738, + 597466303, 1403299063, 3832705686, 2613100635, 1974974402, 3791519004, 1033081774, + 1277568618, 1815492186, 2118074177, 4126668546, 2211236943, 1748251740, 1369810420, + 3521504564, 4193382664, 3799085459, 2883115123, 1647391059, 706024767, 134480908, + 2512897874, 1176707941, 2646852446, 806885416, 932615841, 168101135, 798661301, 235341577, + 605164086, 461406363, 3756188221, 3454790438, 1311188841, 2142417613, 3933566367, 302582043, + 495158174, 1479289972, 874125870, 907746093, 3698224818, 3025820398, 1537253627, 2756858614, + 1983593293, 3084310113, 2108928974, 1378429307, 3722699582, 1580150641, 327451799, + 2790478837, 3117535592, 0, 3253595436, 1075847264, 3825007647, 2041688520, 3059440621, + 3563743934, 2378943302, 1740553945, 1916352843, 2487896798, 2555137236, 2958579944, + 2244988746, 3151024235, 3320835882, 1336584933, 3992714006, 2252555205, 2588757463, + 1714631509, 293963156, 2319795663, 3925473552, 67240454, 4269768577, 2689618160, 2017213508, + 631218106, 1269344483, 2723238387, 1571005438, 2151694528, 93294474, 1066570413, 563977660, + 1882732616, 4059428100, 1673313503, 2008463041, 2950355573, 1109467491, 537923632, + 3858759450, 4260623118, 3218264685, 2177748300, 403442708, 638784309, 3287084079, + 3193921505, 899127202, 2286175436, 773265209, 2479146071, 1437050866, 4236148354, + 2050833735, 3362022572, 3126681063, 840505643, 3866325909, 3227541664, 427917720, + 2655997905, 2749160575, 1143087718, 1412049534, 999329963, 193497219, 2353415882, + 3354324521, 1807268051, 672404540, 2816401017, 3160301282, 369822493, 2916866934, + 3688947771, 1681011286, 1949973070, 336202270, 2454276571, 201721354, 1210328172, + 3093060836, 2680341085, 3184776046, 1135389935, 3294782118, 965841320, 831886756, + 3554993207, 4068047243, 3588745010, 2345191491, 1849112409, 3664604599, 26054028, + 2983581028, 2622377682, 1235855840, 3630984372, 2891339514, 4092916743, 3488279077, + 3395642799, 4101667470, 1202630377, 268961816, 1874508501, 4034427016, 1243948399, + 1546530418, 941366308, 1470539505, 1941222599, 2546386513, 3421038627, 2715671932, + 3899946140, 1042226977, 2521517021, 1639824860, 227249030, 260737669, 3765465232, + 2084453954, 1907733956, 3429263018, 2420656344, 100860677, 4160157185, 470683154, + 3261161891, 1781871967, 2924959737, 1773779408, 394692241, 2579611992, 974986535, 664706745, + 3655459128, 3958962195, 731420851, 571543859, 3530123707, 2849626480, 126783113, 865375399, + 765172662, 1008606754, 361203602, 3387549984, 2278477385, 2857719295, 1344809080, + 2782912378, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649, 2218934982, + 3496503480, 2185314755, 697932208, 1512910199, 504303377, 2075177163, 2824099068, + 1841019862, 739644986, + ]; + var T2 = [ + 2781242211, 2230877308, 2582542199, 2381740923, 234877682, 3184946027, 2984144751, + 1418839493, 1348481072, 50462977, 2848876391, 2102799147, 434634494, 1656084439, 3863849899, + 2599188086, 1167051466, 2636087938, 1082771913, 2281340285, 368048890, 3954334041, + 3381544775, 201060592, 3963727277, 1739838676, 4250903202, 3930435503, 3206782108, + 4149453988, 2531553906, 1536934080, 3262494647, 484572669, 2923271059, 1783375398, + 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525, 886171109, 150598129, + 2481090929, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, + 1587397571, 674240536, 2704774806, 252314885, 3039795866, 151914247, 908333586, 2602270848, + 1038082786, 651029483, 1766729511, 3447698098, 2682942837, 454166793, 2652734339, + 1951935532, 775166490, 758520603, 3000790638, 4004797018, 4217086112, 4137964114, + 1299594043, 1639438038, 3464344499, 2068982057, 1054729187, 1901997871, 2534638724, + 4121318227, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545, 3988151131, + 3201591914, 1183697867, 3647454910, 1265776953, 3734260298, 3566750796, 3903871064, + 1250283471, 1807470800, 717615087, 3847203498, 384695291, 3313910595, 3617213773, + 1432761139, 2484176261, 3481945413, 283769337, 100925954, 2180939647, 4037038160, + 1148730428, 3123027871, 3813386408, 4087501137, 4267549603, 3229630528, 2315620239, + 2906624658, 3156319645, 1215313976, 82966005, 3747855548, 3245848246, 1974459098, + 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, + 801369324, 3787349855, 2721421207, 3431482436, 959321879, 1469301956, 4065699751, + 2197585534, 1199193405, 2898814052, 3887750493, 724703513, 2514908019, 2696962144, + 2551808385, 3516813135, 2141445340, 1715741218, 2119445034, 2872807568, 2198571144, + 3398190662, 700968686, 3547052216, 1009259540, 2041044702, 3803995742, 487983883, + 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321, 168560134, + 1816667172, 3837287516, 1570751170, 1857934291, 4014189740, 2797888098, 2822345105, + 2754712981, 936633572, 2347923833, 852879335, 1133234376, 1500395319, 3084545389, + 2348912013, 1689376213, 3533459022, 3762923945, 3034082412, 4205598294, 133428468, + 634383082, 2949277029, 2398386810, 3913789102, 403703816, 3580869306, 2297460856, + 1867130149, 1918643758, 607656988, 4049053350, 3346248884, 1368901318, 600565992, + 2090982877, 2632479860, 557719327, 3717614411, 3697393085, 2249034635, 2232388234, + 2430627952, 1115438654, 3295786421, 2865522278, 3633334344, 84280067, 33027830, 303828494, + 2747425121, 1600795957, 4188952407, 3496589753, 2434238086, 1486471617, 658119965, + 3106381470, 953803233, 334231800, 3005978776, 857870609, 3151128937, 1890179545, 2298973838, + 2805175444, 3056442267, 574365214, 2450884487, 550103529, 1233637070, 4289353045, + 2018519080, 2057691103, 2399374476, 4166623649, 2148108681, 387583245, 3664101311, + 836232934, 3330556482, 3100665960, 3280093505, 2955516313, 2002398509, 287182607, + 3413881008, 4238890068, 3597515707, 975967766, + ]; + var T3 = [ + 1671808611, 2089089148, 2006576759, 2072901243, 4061003762, 1807603307, 1873927791, + 3310653893, 810573872, 16974337, 1739181671, 729634347, 4263110654, 3613570519, 2883997099, + 1989864566, 3393556426, 2191335298, 3376449993, 2106063485, 4195741690, 1508618841, + 1204391495, 4027317232, 2917941677, 3563566036, 2734514082, 2951366063, 2629772188, + 2767672228, 1922491506, 3227229120, 3082974647, 4246528509, 2477669779, 644500518, + 911895606, 1061256767, 4144166391, 3427763148, 878471220, 2784252325, 3845444069, + 4043897329, 1905517169, 3631459288, 827548209, 356461077, 67897348, 3344078279, 593839651, + 3277757891, 405286936, 2527147926, 84871685, 2595565466, 118033927, 305538066, 2157648768, + 3795705826, 3945188843, 661212711, 2999812018, 1973414517, 152769033, 2208177539, 745822252, + 439235610, 455947803, 1857215598, 1525593178, 2700827552, 1391895634, 994932283, 3596728278, + 3016654259, 695947817, 3812548067, 795958831, 2224493444, 1408607827, 3513301457, 0, + 3979133421, 543178784, 4229948412, 2982705585, 1542305371, 1790891114, 3410398667, + 3201918910, 961245753, 1256100938, 1289001036, 1491644504, 3477767631, 3496721360, + 4012557807, 2867154858, 4212583931, 1137018435, 1305975373, 861234739, 2241073541, + 1171229253, 4178635257, 33948674, 2139225727, 1357946960, 1011120188, 2679776671, + 2833468328, 1374921297, 2751356323, 1086357568, 2408187279, 2460827538, 2646352285, + 944271416, 4110742005, 3168756668, 3066132406, 3665145818, 560153121, 271589392, 4279952895, + 4077846003, 3530407890, 3444343245, 202643468, 322250259, 3962553324, 1608629855, + 2543990167, 1154254916, 389623319, 3294073796, 2817676711, 2122513534, 1028094525, + 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865, 1339137615, + 3699352540, 577127458, 712922154, 2427141008, 2290289544, 1187679302, 3995715566, + 3100863416, 339486740, 3732514782, 1591917662, 186455563, 3681988059, 3762019296, 844522546, + 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650, 3547250131, + 2901361580, 1655096418, 2443721105, 2510565781, 3828863972, 2039214713, 3878868455, + 3359869896, 928607799, 1840765549, 2374762893, 3580146133, 1322425422, 2850048425, + 1823791212, 1459268694, 4094161908, 3928346602, 1706019429, 2056189050, 2934523822, + 135794696, 3134549946, 2022240376, 628050469, 779246638, 472135708, 2800834470, 3032970164, + 3327236038, 3894660072, 3715932637, 1956440180, 522272287, 1272813131, 3185336765, + 2340818315, 2323976074, 1888542832, 1044544574, 3049550261, 1722469478, 1222152264, + 50660867, 4127324150, 236067854, 1638122081, 895445557, 1475980887, 3117443513, 2257655686, + 3243809217, 489110045, 2662934430, 3778599393, 4162055160, 2561878936, 288563729, + 1773916777, 3648039385, 2391345038, 2493985684, 2612407707, 505560094, 2274497927, + 3911240169, 3460925390, 1442818645, 678973480, 3749357023, 2358182796, 2717407649, + 2306869641, 219617805, 3218761151, 3862026214, 1120306242, 1756942440, 1103331905, + 2578459033, 762796589, 252780047, 2966125488, 1425844308, 3151392187, 372911126, + ]; + var T4 = [ + 1667474886, 2088535288, 2004326894, 2071694838, 4075949567, 1802223062, 1869591006, + 3318043793, 808472672, 16843522, 1734846926, 724270422, 4278065639, 3621216949, 2880169549, + 1987484396, 3402253711, 2189597983, 3385409673, 2105378810, 4210693615, 1499065266, + 1195886990, 4042263547, 2913856577, 3570689971, 2728590687, 2947541573, 2627518243, + 2762274643, 1920112356, 3233831835, 3082273397, 4261223649, 2475929149, 640051788, + 909531756, 1061110142, 4160160501, 3435941763, 875846760, 2779116625, 3857003729, + 4059105529, 1903268834, 3638064043, 825316194, 353713962, 67374088, 3351728789, 589522246, + 3284360861, 404236336, 2526454071, 84217610, 2593830191, 117901582, 303183396, 2155911963, + 3806477791, 3958056653, 656894286, 2998062463, 1970642922, 151591698, 2206440989, 741110872, + 437923380, 454765878, 1852748508, 1515908788, 2694904667, 1381168804, 993742198, 3604373943, + 3014905469, 690584402, 3823320797, 791638366, 2223281939, 1398011302, 3520161977, 0, + 3991743681, 538992704, 4244381667, 2981218425, 1532751286, 1785380564, 3419096717, + 3200178535, 960056178, 1246420628, 1280103576, 1482221744, 3486468741, 3503319995, + 4025428677, 2863326543, 4227536621, 1128514950, 1296947098, 859002214, 2240123921, + 1162203018, 4193849577, 33687044, 2139062782, 1347481760, 1010582648, 2678045221, + 2829640523, 1364325282, 2745433693, 1077985408, 2408548869, 2459086143, 2644360225, + 943212656, 4126475505, 3166494563, 3065430391, 3671750063, 555836226, 269496352, 4294908645, + 4092792573, 3537006015, 3452783745, 202118168, 320025894, 3974901699, 1600119230, + 2543297077, 1145359496, 387397934, 3301201811, 2812801621, 2122220284, 1027426170, + 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945, 1330631070, + 3705438115, 572679748, 707427924, 2425400123, 2290647819, 1179044492, 4008585671, + 3099120491, 336870440, 3739122087, 1583276732, 185277718, 3688593069, 3772791771, 842159716, + 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855, 3553849021, + 2897014595, 1650632388, 2442242105, 2509612081, 3840161747, 2038008818, 3890688725, + 3368567691, 926374254, 1835907034, 2374863873, 3587531953, 1313788572, 2846482505, + 1819063512, 1448540844, 4109633523, 3941213647, 1701162954, 2054852340, 2930698567, + 134748176, 3132806511, 2021165296, 623210314, 774795868, 471606328, 2795958615, 3031746419, + 3334885783, 3907527627, 3722280097, 1953799400, 522133822, 1263263126, 3183336545, + 2341176845, 2324333839, 1886425312, 1044267644, 3048588401, 1718004428, 1212733584, + 50529542, 4143317495, 235803164, 1633788866, 892690282, 1465383342, 3115962473, 2256965911, + 3250673817, 488449850, 2661202215, 3789633753, 4177007595, 2560144171, 286339874, + 1768537042, 3654906025, 2391705863, 2492770099, 2610673197, 505291324, 2273808917, + 3924369609, 3469625735, 1431699370, 673740880, 3755965093, 2358021891, 2711746649, + 2307489801, 218961690, 3217021541, 3873845719, 1111672452, 1751693520, 1094828930, + 2576986153, 757954394, 252645662, 2964376443, 1414855848, 3149649517, 370555436, + ]; + var T5 = [ + 1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851, 1273168787, + 540080725, 2910219766, 2295101073, 4110568485, 1340463100, 3307916247, 641025152, + 3043140495, 3736164937, 632953703, 1172967064, 1576976609, 3274667266, 2169303058, + 2370213795, 1809054150, 59727847, 361929877, 3211623147, 2505202138, 3569255213, 1484005843, + 1239443753, 2395588676, 1975683434, 4102977912, 2572697195, 666464733, 3202437046, + 4035489047, 3374361702, 2110667444, 1675577880, 3843699074, 2538681184, 1649639237, + 2976151520, 3144396420, 4269907996, 4178062228, 1883793496, 2403728665, 2497604743, + 1383856311, 2876494627, 1917518562, 3810496343, 1716890410, 3001755655, 800440835, + 2261089178, 3543599269, 807962610, 599762354, 33778362, 3977675356, 2328828971, 2809771154, + 4077384432, 1315562145, 1708848333, 101039829, 3509871135, 3299278474, 875451293, + 2733856160, 92987698, 2767645557, 193195065, 1080094634, 1584504582, 3178106961, 1042385657, + 2531067453, 3711829422, 1306967366, 2438237621, 1908694277, 67556463, 1615861247, 429456164, + 3602770327, 2302690252, 1742315127, 2968011453, 126454664, 3877198648, 2043211483, + 2709260871, 2084704233, 4169408201, 0, 159417987, 841739592, 504459436, 1817866830, + 4245618683, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969, 607530554, + 202008497, 2472011535, 3035535058, 463180190, 2160117071, 1641816226, 1517767529, 470948374, + 3801332234, 3231722213, 1008918595, 303765277, 235474187, 4069246893, 766945465, 337553864, + 1475418501, 2943682380, 4003061179, 2743034109, 4144047775, 1551037884, 1147550661, + 1543208500, 2336434550, 3408119516, 3069049960, 3102011747, 3610369226, 1113818384, + 328671808, 2227573024, 2236228733, 3535486456, 2935566865, 3341394285, 496906059, + 3702665459, 226906860, 2009195472, 733156972, 2842737049, 294930682, 1206477858, 2835123396, + 2700099354, 1451044056, 573804783, 2269728455, 3644379585, 2362090238, 2564033334, + 2801107407, 2776292904, 3669462566, 1068351396, 742039012, 1350078989, 1784663195, + 1417561698, 4136440770, 2430122216, 775550814, 2193862645, 2673705150, 1775276924, + 1876241833, 3475313331, 3366754619, 270040487, 3902563182, 3678124923, 3441850377, + 1851332852, 3969562369, 2203032232, 3868552805, 2868897406, 566021896, 4011190502, + 3135740889, 1248802510, 3936291284, 699432150, 832877231, 708780849, 3332740144, 899835584, + 1951317047, 4236429990, 3767586992, 866637845, 4043610186, 1106041591, 2144161806, + 395441711, 1984812685, 1139781709, 3433712980, 3835036895, 2664543715, 1282050075, + 3240894392, 1181045119, 2640243204, 25965917, 4203181171, 4211818798, 3009879386, + 2463879762, 3910161971, 1842759443, 2597806476, 933301370, 1509430414, 3943906441, + 3467192302, 3076639029, 3776767469, 2051518780, 2631065433, 1441952575, 404016761, + 1942435775, 1408749034, 1610459739, 3745345300, 2017778566, 3400528769, 3110650942, + 941896748, 3265478751, 371049330, 3168937228, 675039627, 4279080257, 967311729, 135050206, + 3635733660, 1683407248, 2076935265, 3576870512, 1215061108, 3501741890, + ]; + var T6 = [ + 1347548327, 1400783205, 3273267108, 2520393566, 3409685355, 4045380933, 2880240216, + 2471224067, 1428173050, 4138563181, 2441661558, 636813900, 4233094615, 3620022987, + 2149987652, 2411029155, 1239331162, 1730525723, 2554718734, 3781033664, 46346101, 310463728, + 2743944855, 3328955385, 3875770207, 2501218972, 3955191162, 3667219033, 768917123, + 3545789473, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113, + 3065962831, 401639597, 1724457132, 3028143674, 409198410, 2196052529, 1620529459, + 1164071807, 3769721975, 2226875310, 486441376, 2499348523, 1483753576, 428819965, + 2274680428, 3075636216, 598438867, 3799141122, 1474502543, 711349675, 129166120, 53458370, + 2592523643, 2782082824, 4063242375, 2988687269, 3120694122, 1559041666, 730517276, + 2460449204, 4042459122, 2706270690, 3446004468, 3573941694, 533804130, 2328143614, + 2637442643, 2695033685, 839224033, 1973745387, 957055980, 2856345839, 106852767, 1371368976, + 4181598602, 1033297158, 2933734917, 1179510461, 3046200461, 91341917, 1862534868, + 4284502037, 605657339, 2547432937, 3431546947, 2003294622, 3182487618, 2282195339, + 954669403, 3682191598, 1201765386, 3917234703, 3388507166, 0, 2198438022, 1211247597, + 2887651696, 1315723890, 4227665663, 1443857720, 507358933, 657861945, 1678381017, 560487590, + 3516619604, 975451694, 2970356327, 261314535, 3535072918, 2652609425, 1333838021, + 2724322336, 1767536459, 370938394, 182621114, 3854606378, 1128014560, 487725847, 185469197, + 2918353863, 3106780840, 3356761769, 2237133081, 1286567175, 3152976349, 4255350624, + 2683765030, 3160175349, 3309594171, 878443390, 1988838185, 3704300486, 1756818940, + 1673061617, 3403100636, 272786309, 1075025698, 545572369, 2105887268, 4174560061, 296679730, + 1841768865, 1260232239, 4091327024, 3960309330, 3497509347, 1814803222, 2578018489, + 4195456072, 575138148, 3299409036, 446754879, 3629546796, 4011996048, 3347532110, + 3252238545, 4270639778, 915985419, 3483825537, 681933534, 651868046, 2755636671, 3828103837, + 223377554, 2607439820, 1649704518, 3270937875, 3901806776, 1580087799, 4118987695, + 3198115200, 2087309459, 2842678573, 3016697106, 1003007129, 2802849917, 1860738147, + 2077965243, 164439672, 4100872472, 32283319, 2827177882, 1709610350, 2125135846, 136428751, + 3874428392, 3652904859, 3460984630, 3572145929, 3593056380, 2939266226, 824852259, + 818324884, 3224740454, 930369212, 2801566410, 2967507152, 355706840, 1257309336, 4148292826, + 243256656, 790073846, 2373340630, 1296297904, 1422699085, 3756299780, 3818836405, 457992840, + 3099667487, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, + 870912086, 325965383, 2358957921, 2050466060, 2388260884, 2313884476, 4006521127, 901210569, + 3990953189, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895, 3931371469, + 1533017514, 350174575, 2256028891, 2177544179, 1052338372, 741876788, 1606591296, + 1914052035, 213705253, 2334669897, 1107234197, 1899603969, 3725069491, 2631447780, + 2422494913, 1635502980, 1893020342, 1950903388, 1120974935, + ]; + var T7 = [ + 2807058932, 1699970625, 2764249623, 1586903591, 1808481195, 1173430173, 1487645946, + 59984867, 4199882800, 1844882806, 1989249228, 1277555970, 3623636965, 3419915562, + 1149249077, 2744104290, 1514790577, 459744698, 244860394, 3235995134, 1963115311, + 4027744588, 2544078150, 4190530515, 1608975247, 2627016082, 2062270317, 1507497298, + 2200818878, 567498868, 1764313568, 3359936201, 2305455554, 2037970062, 1047239e3, + 1910319033, 1337376481, 2904027272, 2892417312, 984907214, 1243112415, 830661914, 861968209, + 2135253587, 2011214180, 2927934315, 2686254721, 731183368, 1750626376, 4246310725, + 1820824798, 4172763771, 3542330227, 48394827, 2404901663, 2871682645, 671593195, 3254988725, + 2073724613, 145085239, 2280796200, 2779915199, 1790575107, 2187128086, 472615631, + 3029510009, 4075877127, 3802222185, 4107101658, 3201631749, 1646252340, 4270507174, + 1402811438, 1436590835, 3778151818, 3950355702, 3963161475, 4020912224, 2667994737, + 273792366, 2331590177, 104699613, 95345982, 3175501286, 2377486676, 1560637892, 3564045318, + 369057872, 4213447064, 3919042237, 1137477952, 2658625497, 1119727848, 2340947849, + 1530455833, 4007360968, 172466556, 266959938, 516552836, 0, 2256734592, 3980931627, + 1890328081, 1917742170, 4294704398, 945164165, 3575528878, 958871085, 3647212047, + 2787207260, 1423022939, 775562294, 1739656202, 3876557655, 2530391278, 2443058075, + 3310321856, 547512796, 1265195639, 437656594, 3121275539, 719700128, 3762502690, 387781147, + 218828297, 3350065803, 2830708150, 2848461854, 428169201, 122466165, 3720081049, 1627235199, + 648017665, 4122762354, 1002783846, 2117360635, 695634755, 3336358691, 4234721005, + 4049844452, 3704280881, 2232435299, 574624663, 287343814, 612205898, 1039717051, 840019705, + 2708326185, 793451934, 821288114, 1391201670, 3822090177, 376187827, 3113855344, 1224348052, + 1679968233, 2361698556, 1058709744, 752375421, 2431590963, 1321699145, 3519142200, + 2734591178, 188127444, 2177869557, 3727205754, 2384911031, 3215212461, 2648976442, + 2450346104, 3432737375, 1180849278, 331544205, 3102249176, 4150144569, 2952102595, + 2159976285, 2474404304, 766078933, 313773861, 2570832044, 2108100632, 1668212892, + 3145456443, 2013908262, 418672217, 3070356634, 2594734927, 1852171925, 3867060991, + 3473416636, 3907448597, 2614737639, 919489135, 164948639, 2094410160, 2997825956, 590424639, + 2486224549, 1723872674, 3157750862, 3399941250, 3501252752, 3625268135, 2555048196, + 3673637356, 1343127501, 4130281361, 3599595085, 2957853679, 1297403050, 81781910, + 3051593425, 2283490410, 532201772, 1367295589, 3926170974, 895287692, 1953757831, + 1093597963, 492483431, 3528626907, 1446242576, 1192455638, 1636604631, 209336225, 344873464, + 1015671571, 669961897, 3375740769, 3857572124, 2973530695, 3747192018, 1933530610, + 3464042516, 935293895, 3454686199, 2858115069, 1863638845, 3683022916, 4085369519, + 3292445032, 875313188, 1080017571, 3279033885, 621591778, 1233856572, 2504130317, 24197544, + 3017672716, 3835484340, 3247465558, 2220981195, 3060847922, 1551124588, 1463996600, + ]; + var T8 = [ + 4104605777, 1097159550, 396673818, 660510266, 2875968315, 2638606623, 4200115116, + 3808662347, 821712160, 1986918061, 3430322568, 38544885, 3856137295, 718002117, 893681702, + 1654886325, 2975484382, 3122358053, 3926825029, 4274053469, 796197571, 1290801793, + 1184342925, 3556361835, 2405426947, 2459735317, 1836772287, 1381620373, 3196267988, + 1948373848, 3764988233, 3385345166, 3263785589, 2390325492, 1480485785, 3111247143, + 3780097726, 2293045232, 548169417, 3459953789, 3746175075, 439452389, 1362321559, + 1400849762, 1685577905, 1806599355, 2174754046, 137073913, 1214797936, 1174215055, + 3731654548, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170, + 3049390895, 3313212038, 923313619, 679998e3, 3215307299, 57326082, 377642221, 3474729866, + 2041877159, 133361907, 1776460110, 3673476453, 96392454, 878845905, 2801699524, 777231668, + 4082475170, 2330014213, 4142626212, 2213296395, 1626319424, 1906247262, 1846563261, + 562755902, 3708173718, 1040559837, 3871163981, 1418573201, 3294430577, 114585348, + 1343618912, 2566595609, 3186202582, 1078185097, 3651041127, 3896688048, 2307622919, + 425408743, 3371096953, 2081048481, 1108339068, 2216610296, 0, 2156299017, 736970802, + 292596766, 1517440620, 251657213, 2235061775, 2933202493, 758720310, 265905162, 1554391400, + 1532285339, 908999204, 174567692, 1474760595, 4002861748, 2610011675, 3234156416, + 3693126241, 2001430874, 303699484, 2478443234, 2687165888, 585122620, 454499602, 151849742, + 2345119218, 3064510765, 514443284, 4044981591, 1963412655, 2581445614, 2137062819, 19308535, + 1928707164, 1715193156, 4219352155, 1126790795, 600235211, 3992742070, 3841024952, + 836553431, 1669664834, 2535604243, 3323011204, 1243905413, 3141400786, 4180808110, + 698445255, 2653899549, 2989552604, 2253581325, 3252932727, 3004591147, 1891211689, + 2487810577, 3915653703, 4237083816, 4030667424, 2100090966, 865136418, 1229899655, + 953270745, 3399679628, 3557504664, 4118925222, 2061379749, 3079546586, 2915017791, + 983426092, 2022837584, 1607244650, 2118541908, 2366882550, 3635996816, 972512814, + 3283088770, 1568718495, 3499326569, 3576539503, 621982671, 2895723464, 410887952, + 2623762152, 1002142683, 645401037, 1494807662, 2595684844, 1335535747, 2507040230, + 4293295786, 3167684641, 367585007, 3885750714, 1865862730, 2668221674, 2960971305, + 2763173681, 1059270954, 2777952454, 2724642869, 1320957812, 2194319100, 2429595872, + 2815956275, 77089521, 3973773121, 3444575871, 2448830231, 1305906550, 4021308739, + 2857194700, 2516901860, 3518358430, 1787304780, 740276417, 1699839814, 1592394909, + 2352307457, 2272556026, 188821243, 1729977011, 3687994002, 274084841, 3594982253, + 3613494426, 2701949495, 4162096729, 322734571, 2837966542, 1640576439, 484830689, + 1202797690, 3537852828, 4067639125, 349075736, 3342319475, 4157467219, 4255800159, + 1030690015, 1155237496, 2951971274, 1757691577, 607398968, 2738905026, 499347990, + 3794078908, 1011452712, 227885567, 2818666809, 213114376, 3034881240, 1455525988, + 3414450555, 850817237, 1817998408, 3092726480, + ]; + var U1 = [ + 0, 235474187, 470948374, 303765277, 941896748, 908933415, 607530554, 708780849, 1883793496, + 2118214995, 1817866830, 1649639237, 1215061108, 1181045119, 1417561698, 1517767529, + 3767586992, 4003061179, 4236429990, 4069246893, 3635733660, 3602770327, 3299278474, + 3400528769, 2430122216, 2664543715, 2362090238, 2193862645, 2835123396, 2801107407, + 3035535058, 3135740889, 3678124923, 3576870512, 3341394285, 3374361702, 3810496343, + 3977675356, 4279080257, 4043610186, 2876494627, 2776292904, 3076639029, 3110650942, + 2472011535, 2640243204, 2403728665, 2169303058, 1001089995, 899835584, 666464733, 699432150, + 59727847, 226906860, 530400753, 294930682, 1273168787, 1172967064, 1475418501, 1509430414, + 1942435775, 2110667444, 1876241833, 1641816226, 2910219766, 2743034109, 2976151520, + 3211623147, 2505202138, 2606453969, 2302690252, 2269728455, 3711829422, 3543599269, + 3240894392, 3475313331, 3843699074, 3943906441, 4178062228, 4144047775, 1306967366, + 1139781709, 1374988112, 1610459739, 1975683434, 2076935265, 1775276924, 1742315127, + 1034867998, 866637845, 566021896, 800440835, 92987698, 193195065, 429456164, 395441711, + 1984812685, 2017778566, 1784663195, 1683407248, 1315562145, 1080094634, 1383856311, + 1551037884, 101039829, 135050206, 437757123, 337553864, 1042385657, 807962610, 573804783, + 742039012, 2531067453, 2564033334, 2328828971, 2227573024, 2935566865, 2700099354, + 3001755655, 3168937228, 3868552805, 3902563182, 4203181171, 4102977912, 3736164937, + 3501741890, 3265478751, 3433712980, 1106041591, 1340463100, 1576976609, 1408749034, + 2043211483, 2009195472, 1708848333, 1809054150, 832877231, 1068351396, 766945465, 599762354, + 159417987, 126454664, 361929877, 463180190, 2709260871, 2943682380, 3178106961, 3009879386, + 2572697195, 2538681184, 2236228733, 2336434550, 3509871135, 3745345300, 3441850377, + 3274667266, 3910161971, 3877198648, 4110568485, 4211818798, 2597806476, 2497604743, + 2261089178, 2295101073, 2733856160, 2902087851, 3202437046, 2968011453, 3936291284, + 3835036895, 4136440770, 4169408201, 3535486456, 3702665459, 3467192302, 3231722213, + 2051518780, 1951317047, 1716890410, 1750902305, 1113818384, 1282050075, 1584504582, + 1350078989, 168810852, 67556463, 371049330, 404016761, 841739592, 1008918595, 775550814, + 540080725, 3969562369, 3801332234, 4035489047, 4269907996, 3569255213, 3669462566, + 3366754619, 3332740144, 2631065433, 2463879762, 2160117071, 2395588676, 2767645557, + 2868897406, 3102011747, 3069049960, 202008497, 33778362, 270040487, 504459436, 875451293, + 975658646, 675039627, 641025152, 2084704233, 1917518562, 1615861247, 1851332852, 1147550661, + 1248802510, 1484005843, 1451044056, 933301370, 967311729, 733156972, 632953703, 260388950, + 25965917, 328671808, 496906059, 1206477858, 1239443753, 1543208500, 1441952575, 2144161806, + 1908694277, 1675577880, 1842759443, 3610369226, 3644379585, 3408119516, 3307916247, + 4011190502, 3776767469, 4077384432, 4245618683, 2809771154, 2842737049, 3144396420, + 3043140495, 2673705150, 2438237621, 2203032232, 2370213795, + ]; + var U2 = [ + 0, 185469197, 370938394, 487725847, 741876788, 657861945, 975451694, 824852259, 1483753576, + 1400783205, 1315723890, 1164071807, 1950903388, 2135319889, 1649704518, 1767536459, + 2967507152, 3152976349, 2801566410, 2918353863, 2631447780, 2547432937, 2328143614, + 2177544179, 3901806776, 3818836405, 4270639778, 4118987695, 3299409036, 3483825537, + 3535072918, 3652904859, 2077965243, 1893020342, 1841768865, 1724457132, 1474502543, + 1559041666, 1107234197, 1257309336, 598438867, 681933534, 901210569, 1052338372, 261314535, + 77422314, 428819965, 310463728, 3409685355, 3224740454, 3710368113, 3593056380, 3875770207, + 3960309330, 4045380933, 4195456072, 2471224067, 2554718734, 2237133081, 2388260884, + 3212035895, 3028143674, 2842678573, 2724322336, 4138563181, 4255350624, 3769721975, + 3955191162, 3667219033, 3516619604, 3431546947, 3347532110, 2933734917, 2782082824, + 3099667487, 3016697106, 2196052529, 2313884476, 2499348523, 2683765030, 1179510461, + 1296297904, 1347548327, 1533017514, 1786102409, 1635502980, 2087309459, 2003294622, + 507358933, 355706840, 136428751, 53458370, 839224033, 957055980, 605657339, 790073846, + 2373340630, 2256028891, 2607439820, 2422494913, 2706270690, 2856345839, 3075636216, + 3160175349, 3573941694, 3725069491, 3273267108, 3356761769, 4181598602, 4063242375, + 4011996048, 3828103837, 1033297158, 915985419, 730517276, 545572369, 296679730, 446754879, + 129166120, 213705253, 1709610350, 1860738147, 1945798516, 2029293177, 1239331162, + 1120974935, 1606591296, 1422699085, 4148292826, 4233094615, 3781033664, 3931371469, + 3682191598, 3497509347, 3446004468, 3328955385, 2939266226, 2755636671, 3106780840, + 2988687269, 2198438022, 2282195339, 2501218972, 2652609425, 1201765386, 1286567175, + 1371368976, 1521706781, 1805211710, 1620529459, 2105887268, 1988838185, 533804130, + 350174575, 164439672, 46346101, 870912086, 954669403, 636813900, 788204353, 2358957921, + 2274680428, 2592523643, 2441661558, 2695033685, 2880240216, 3065962831, 3182487618, + 3572145929, 3756299780, 3270937875, 3388507166, 4174560061, 4091327024, 4006521127, + 3854606378, 1014646705, 930369212, 711349675, 560487590, 272786309, 457992840, 106852767, + 223377554, 1678381017, 1862534868, 1914052035, 2031621326, 1211247597, 1128014560, + 1580087799, 1428173050, 32283319, 182621114, 401639597, 486441376, 768917123, 651868046, + 1003007129, 818324884, 1503449823, 1385356242, 1333838021, 1150208456, 1973745387, + 2125135846, 1673061617, 1756818940, 2970356327, 3120694122, 2802849917, 2887651696, + 2637442643, 2520393566, 2334669897, 2149987652, 3917234703, 3799141122, 4284502037, + 4100872472, 3309594171, 3460984630, 3545789473, 3629546796, 2050466060, 1899603969, + 1814803222, 1730525723, 1443857720, 1560382517, 1075025698, 1260232239, 575138148, + 692707433, 878443390, 1062597235, 243256656, 91341917, 409198410, 325965383, 3403100636, + 3252238545, 3704300486, 3620022987, 3874428392, 3990953189, 4042459122, 4227665663, + 2460449204, 2578018489, 2226875310, 2411029155, 3198115200, 3046200461, 2827177882, + 2743944855, + ]; + var U3 = [ + 0, 218828297, 437656594, 387781147, 875313188, 958871085, 775562294, 590424639, 1750626376, + 1699970625, 1917742170, 2135253587, 1551124588, 1367295589, 1180849278, 1265195639, + 3501252752, 3720081049, 3399941250, 3350065803, 3835484340, 3919042237, 4270507174, + 4085369519, 3102249176, 3051593425, 2734591178, 2952102595, 2361698556, 2177869557, + 2530391278, 2614737639, 3145456443, 3060847922, 2708326185, 2892417312, 2404901663, + 2187128086, 2504130317, 2555048196, 3542330227, 3727205754, 3375740769, 3292445032, + 3876557655, 3926170974, 4246310725, 4027744588, 1808481195, 1723872674, 1910319033, + 2094410160, 1608975247, 1391201670, 1173430173, 1224348052, 59984867, 244860394, 428169201, + 344873464, 935293895, 984907214, 766078933, 547512796, 1844882806, 1627235199, 2011214180, + 2062270317, 1507497298, 1423022939, 1137477952, 1321699145, 95345982, 145085239, 532201772, + 313773861, 830661914, 1015671571, 731183368, 648017665, 3175501286, 2957853679, 2807058932, + 2858115069, 2305455554, 2220981195, 2474404304, 2658625497, 3575528878, 3625268135, + 3473416636, 3254988725, 3778151818, 3963161475, 4213447064, 4130281361, 3599595085, + 3683022916, 3432737375, 3247465558, 3802222185, 4020912224, 4172763771, 4122762354, + 3201631749, 3017672716, 2764249623, 2848461854, 2331590177, 2280796200, 2431590963, + 2648976442, 104699613, 188127444, 472615631, 287343814, 840019705, 1058709744, 671593195, + 621591778, 1852171925, 1668212892, 1953757831, 2037970062, 1514790577, 1463996600, + 1080017571, 1297403050, 3673637356, 3623636965, 3235995134, 3454686199, 4007360968, + 3822090177, 4107101658, 4190530515, 2997825956, 3215212461, 2830708150, 2779915199, + 2256734592, 2340947849, 2627016082, 2443058075, 172466556, 122466165, 273792366, 492483431, + 1047239e3, 861968209, 612205898, 695634755, 1646252340, 1863638845, 2013908262, 1963115311, + 1446242576, 1530455833, 1277555970, 1093597963, 1636604631, 1820824798, 2073724613, + 1989249228, 1436590835, 1487645946, 1337376481, 1119727848, 164948639, 81781910, 331544205, + 516552836, 1039717051, 821288114, 669961897, 719700128, 2973530695, 3157750862, 2871682645, + 2787207260, 2232435299, 2283490410, 2667994737, 2450346104, 3647212047, 3564045318, + 3279033885, 3464042516, 3980931627, 3762502690, 4150144569, 4199882800, 3070356634, + 3121275539, 2904027272, 2686254721, 2200818878, 2384911031, 2570832044, 2486224549, + 3747192018, 3528626907, 3310321856, 3359936201, 3950355702, 3867060991, 4049844452, + 4234721005, 1739656202, 1790575107, 2108100632, 1890328081, 1402811438, 1586903591, + 1233856572, 1149249077, 266959938, 48394827, 369057872, 418672217, 1002783846, 919489135, + 567498868, 752375421, 209336225, 24197544, 376187827, 459744698, 945164165, 895287692, + 574624663, 793451934, 1679968233, 1764313568, 2117360635, 1933530610, 1343127501, + 1560637892, 1243112415, 1192455638, 3704280881, 3519142200, 3336358691, 3419915562, + 3907448597, 3857572124, 4075877127, 4294704398, 3029510009, 3113855344, 2927934315, + 2744104290, 2159976285, 2377486676, 2594734927, 2544078150, + ]; + var U4 = [ + 0, 151849742, 303699484, 454499602, 607398968, 758720310, 908999204, 1059270954, 1214797936, + 1097159550, 1517440620, 1400849762, 1817998408, 1699839814, 2118541908, 2001430874, + 2429595872, 2581445614, 2194319100, 2345119218, 3034881240, 3186202582, 2801699524, + 2951971274, 3635996816, 3518358430, 3399679628, 3283088770, 4237083816, 4118925222, + 4002861748, 3885750714, 1002142683, 850817237, 698445255, 548169417, 529487843, 377642221, + 227885567, 77089521, 1943217067, 2061379749, 1640576439, 1757691577, 1474760595, 1592394909, + 1174215055, 1290801793, 2875968315, 2724642869, 3111247143, 2960971305, 2405426947, + 2253581325, 2638606623, 2487810577, 3808662347, 3926825029, 4044981591, 4162096729, + 3342319475, 3459953789, 3576539503, 3693126241, 1986918061, 2137062819, 1685577905, + 1836772287, 1381620373, 1532285339, 1078185097, 1229899655, 1040559837, 923313619, + 740276417, 621982671, 439452389, 322734571, 137073913, 19308535, 3871163981, 4021308739, + 4104605777, 4255800159, 3263785589, 3414450555, 3499326569, 3651041127, 2933202493, + 2815956275, 3167684641, 3049390895, 2330014213, 2213296395, 2566595609, 2448830231, + 1305906550, 1155237496, 1607244650, 1455525988, 1776460110, 1626319424, 2079897426, + 1928707164, 96392454, 213114376, 396673818, 514443284, 562755902, 679998e3, 865136418, + 983426092, 3708173718, 3557504664, 3474729866, 3323011204, 4180808110, 4030667424, + 3945269170, 3794078908, 2507040230, 2623762152, 2272556026, 2390325492, 2975484382, + 3092726480, 2738905026, 2857194700, 3973773121, 3856137295, 4274053469, 4157467219, + 3371096953, 3252932727, 3673476453, 3556361835, 2763173681, 2915017791, 3064510765, + 3215307299, 2156299017, 2307622919, 2459735317, 2610011675, 2081048481, 1963412655, + 1846563261, 1729977011, 1480485785, 1362321559, 1243905413, 1126790795, 878845905, + 1030690015, 645401037, 796197571, 274084841, 425408743, 38544885, 188821243, 3613494426, + 3731654548, 3313212038, 3430322568, 4082475170, 4200115116, 3780097726, 3896688048, + 2668221674, 2516901860, 2366882550, 2216610296, 3141400786, 2989552604, 2837966542, + 2687165888, 1202797690, 1320957812, 1437280870, 1554391400, 1669664834, 1787304780, + 1906247262, 2022837584, 265905162, 114585348, 499347990, 349075736, 736970802, 585122620, + 972512814, 821712160, 2595684844, 2478443234, 2293045232, 2174754046, 3196267988, + 3079546586, 2895723464, 2777952454, 3537852828, 3687994002, 3234156416, 3385345166, + 4142626212, 4293295786, 3841024952, 3992742070, 174567692, 57326082, 410887952, 292596766, + 777231668, 660510266, 1011452712, 893681702, 1108339068, 1258480242, 1343618912, 1494807662, + 1715193156, 1865862730, 1948373848, 2100090966, 2701949495, 2818666809, 3004591147, + 3122358053, 2235061775, 2352307457, 2535604243, 2653899549, 3915653703, 3764988233, + 4219352155, 4067639125, 3444575871, 3294430577, 3746175075, 3594982253, 836553431, + 953270745, 600235211, 718002117, 367585007, 484830689, 133361907, 251657213, 2041877159, + 1891211689, 1806599355, 1654886325, 1568718495, 1418573201, 1335535747, 1184342925, + ]; function convertToInt32(bytes) { var result = []; for (var i = 0; i < bytes.length; i += 4) { - result.push( - bytes[i] << 24 | bytes[i + 1] << 16 | bytes[i + 2] << 8 | bytes[i + 3] - ); + result.push((bytes[i] << 24) | (bytes[i + 1] << 16) | (bytes[i + 2] << 8) | bytes[i + 3]); } return result; } - var AES = function(key) { + var AES = function (key) { if (!(this instanceof AES)) { - throw Error("AES must be instanitated with `new`"); + throw Error('AES must be instanitated with `new`'); } - Object.defineProperty(this, "key", { - value: coerceArray(key, true) + Object.defineProperty(this, 'key', { + value: coerceArray(key, true), }); this._prepare(); }; - AES.prototype._prepare = function() { + AES.prototype._prepare = function () { var rounds = numberOfRounds[this.key.length]; if (rounds == null) { - throw new Error("invalid key size (must be 16, 24 or 32 bytes)"); + throw new Error('invalid key size (must be 16, 24 or 32 bytes)'); } this._Ke = []; this._Kd = []; @@ -16975,10 +17778,16 @@ var require_aes_js = __commonJS({ this._Kd[rounds - index][i % 4] = tk[i]; } var rconpointer = 0; - var t = KC, tt; + var t = KC, + tt; while (t < roundKeyCount) { tt = tk[KC - 1]; - tk[0] ^= S[tt >> 16 & 255] << 24 ^ S[tt >> 8 & 255] << 16 ^ S[tt & 255] << 8 ^ S[tt >> 24 & 255] ^ rcon[rconpointer] << 24; + tk[0] ^= + (S[(tt >> 16) & 255] << 24) ^ + (S[(tt >> 8) & 255] << 16) ^ + (S[tt & 255] << 8) ^ + S[(tt >> 24) & 255] ^ + (rcon[rconpointer] << 24); rconpointer += 1; if (KC != 8) { for (var i = 1; i < KC; i++) { @@ -16989,12 +17798,18 @@ var require_aes_js = __commonJS({ tk[i] ^= tk[i - 1]; } tt = tk[KC / 2 - 1]; - tk[KC / 2] ^= S[tt & 255] ^ S[tt >> 8 & 255] << 8 ^ S[tt >> 16 & 255] << 16 ^ S[tt >> 24 & 255] << 24; + tk[KC / 2] ^= + S[tt & 255] ^ + (S[(tt >> 8) & 255] << 8) ^ + (S[(tt >> 16) & 255] << 16) ^ + (S[(tt >> 24) & 255] << 24); for (var i = KC / 2 + 1; i < KC; i++) { tk[i] ^= tk[i - 1]; } } - var i = 0, r, c; + var i = 0, + r, + c; while (i < KC && t < roundKeyCount) { r = t >> 2; c = t % 4; @@ -17006,13 +17821,14 @@ var require_aes_js = __commonJS({ for (var r = 1; r < rounds; r++) { for (var c = 0; c < 4; c++) { tt = this._Kd[r][c]; - this._Kd[r][c] = U1[tt >> 24 & 255] ^ U2[tt >> 16 & 255] ^ U3[tt >> 8 & 255] ^ U4[tt & 255]; + this._Kd[r][c] = + U1[(tt >> 24) & 255] ^ U2[(tt >> 16) & 255] ^ U3[(tt >> 8) & 255] ^ U4[tt & 255]; } } }; - AES.prototype.encrypt = function(plaintext) { + AES.prototype.encrypt = function (plaintext) { if (plaintext.length != 16) { - throw new Error("invalid plaintext size (must be 16 bytes)"); + throw new Error('invalid plaintext size (must be 16 bytes)'); } var rounds = this._Ke.length - 1; var a = [0, 0, 0, 0]; @@ -17022,23 +17838,29 @@ var require_aes_js = __commonJS({ } for (var r = 1; r < rounds; r++) { for (var i = 0; i < 4; i++) { - a[i] = T1[t[i] >> 24 & 255] ^ T2[t[(i + 1) % 4] >> 16 & 255] ^ T3[t[(i + 2) % 4] >> 8 & 255] ^ T4[t[(i + 3) % 4] & 255] ^ this._Ke[r][i]; + a[i] = + T1[(t[i] >> 24) & 255] ^ + T2[(t[(i + 1) % 4] >> 16) & 255] ^ + T3[(t[(i + 2) % 4] >> 8) & 255] ^ + T4[t[(i + 3) % 4] & 255] ^ + this._Ke[r][i]; } t = a.slice(); } - var result = createArray(16), tt; + var result = createArray(16), + tt; for (var i = 0; i < 4; i++) { tt = this._Ke[rounds][i]; - result[4 * i] = (S[t[i] >> 24 & 255] ^ tt >> 24) & 255; - result[4 * i + 1] = (S[t[(i + 1) % 4] >> 16 & 255] ^ tt >> 16) & 255; - result[4 * i + 2] = (S[t[(i + 2) % 4] >> 8 & 255] ^ tt >> 8) & 255; + result[4 * i] = (S[(t[i] >> 24) & 255] ^ (tt >> 24)) & 255; + result[4 * i + 1] = (S[(t[(i + 1) % 4] >> 16) & 255] ^ (tt >> 16)) & 255; + result[4 * i + 2] = (S[(t[(i + 2) % 4] >> 8) & 255] ^ (tt >> 8)) & 255; result[4 * i + 3] = (S[t[(i + 3) % 4] & 255] ^ tt) & 255; } return result; }; - AES.prototype.decrypt = function(ciphertext) { + AES.prototype.decrypt = function (ciphertext) { if (ciphertext.length != 16) { - throw new Error("invalid ciphertext size (must be 16 bytes)"); + throw new Error('invalid ciphertext size (must be 16 bytes)'); } var rounds = this._Kd.length - 1; var a = [0, 0, 0, 0]; @@ -17048,32 +17870,38 @@ var require_aes_js = __commonJS({ } for (var r = 1; r < rounds; r++) { for (var i = 0; i < 4; i++) { - a[i] = T5[t[i] >> 24 & 255] ^ T6[t[(i + 3) % 4] >> 16 & 255] ^ T7[t[(i + 2) % 4] >> 8 & 255] ^ T8[t[(i + 1) % 4] & 255] ^ this._Kd[r][i]; + a[i] = + T5[(t[i] >> 24) & 255] ^ + T6[(t[(i + 3) % 4] >> 16) & 255] ^ + T7[(t[(i + 2) % 4] >> 8) & 255] ^ + T8[t[(i + 1) % 4] & 255] ^ + this._Kd[r][i]; } t = a.slice(); } - var result = createArray(16), tt; + var result = createArray(16), + tt; for (var i = 0; i < 4; i++) { tt = this._Kd[rounds][i]; - result[4 * i] = (Si[t[i] >> 24 & 255] ^ tt >> 24) & 255; - result[4 * i + 1] = (Si[t[(i + 3) % 4] >> 16 & 255] ^ tt >> 16) & 255; - result[4 * i + 2] = (Si[t[(i + 2) % 4] >> 8 & 255] ^ tt >> 8) & 255; + result[4 * i] = (Si[(t[i] >> 24) & 255] ^ (tt >> 24)) & 255; + result[4 * i + 1] = (Si[(t[(i + 3) % 4] >> 16) & 255] ^ (tt >> 16)) & 255; + result[4 * i + 2] = (Si[(t[(i + 2) % 4] >> 8) & 255] ^ (tt >> 8)) & 255; result[4 * i + 3] = (Si[t[(i + 1) % 4] & 255] ^ tt) & 255; } return result; }; - var ModeOfOperationECB = function(key) { + var ModeOfOperationECB = function (key) { if (!(this instanceof ModeOfOperationECB)) { - throw Error("AES must be instanitated with `new`"); + throw Error('AES must be instanitated with `new`'); } - this.description = "Electronic Code Block"; - this.name = "ecb"; + this.description = 'Electronic Code Block'; + this.name = 'ecb'; this._aes = new AES(key); }; - ModeOfOperationECB.prototype.encrypt = function(plaintext) { + ModeOfOperationECB.prototype.encrypt = function (plaintext) { plaintext = coerceArray(plaintext); if (plaintext.length % 16 !== 0) { - throw new Error("invalid plaintext size (must be multiple of 16 bytes)"); + throw new Error('invalid plaintext size (must be multiple of 16 bytes)'); } var ciphertext = createArray(plaintext.length); var block = createArray(16); @@ -17084,10 +17912,10 @@ var require_aes_js = __commonJS({ } return ciphertext; }; - ModeOfOperationECB.prototype.decrypt = function(ciphertext) { + ModeOfOperationECB.prototype.decrypt = function (ciphertext) { ciphertext = coerceArray(ciphertext); if (ciphertext.length % 16 !== 0) { - throw new Error("invalid ciphertext size (must be multiple of 16 bytes)"); + throw new Error('invalid ciphertext size (must be multiple of 16 bytes)'); } var plaintext = createArray(ciphertext.length); var block = createArray(16); @@ -17098,24 +17926,24 @@ var require_aes_js = __commonJS({ } return plaintext; }; - var ModeOfOperationCBC = function(key, iv) { + var ModeOfOperationCBC = function (key, iv) { if (!(this instanceof ModeOfOperationCBC)) { - throw Error("AES must be instanitated with `new`"); + throw Error('AES must be instanitated with `new`'); } - this.description = "Cipher Block Chaining"; - this.name = "cbc"; + this.description = 'Cipher Block Chaining'; + this.name = 'cbc'; if (!iv) { iv = createArray(16); } else if (iv.length != 16) { - throw new Error("invalid initialation vector size (must be 16 bytes)"); + throw new Error('invalid initialation vector size (must be 16 bytes)'); } this._lastCipherblock = coerceArray(iv, true); this._aes = new AES(key); }; - ModeOfOperationCBC.prototype.encrypt = function(plaintext) { + ModeOfOperationCBC.prototype.encrypt = function (plaintext) { plaintext = coerceArray(plaintext); if (plaintext.length % 16 !== 0) { - throw new Error("invalid plaintext size (must be multiple of 16 bytes)"); + throw new Error('invalid plaintext size (must be multiple of 16 bytes)'); } var ciphertext = createArray(plaintext.length); var block = createArray(16); @@ -17129,10 +17957,10 @@ var require_aes_js = __commonJS({ } return ciphertext; }; - ModeOfOperationCBC.prototype.decrypt = function(ciphertext) { + ModeOfOperationCBC.prototype.decrypt = function (ciphertext) { ciphertext = coerceArray(ciphertext); if (ciphertext.length % 16 !== 0) { - throw new Error("invalid ciphertext size (must be multiple of 16 bytes)"); + throw new Error('invalid ciphertext size (must be multiple of 16 bytes)'); } var plaintext = createArray(ciphertext.length); var block = createArray(16); @@ -17146,16 +17974,16 @@ var require_aes_js = __commonJS({ } return plaintext; }; - var ModeOfOperationCFB = function(key, iv, segmentSize) { + var ModeOfOperationCFB = function (key, iv, segmentSize) { if (!(this instanceof ModeOfOperationCFB)) { - throw Error("AES must be instanitated with `new`"); + throw Error('AES must be instanitated with `new`'); } - this.description = "Cipher Feedback"; - this.name = "cfb"; + this.description = 'Cipher Feedback'; + this.name = 'cfb'; if (!iv) { iv = createArray(16); } else if (iv.length != 16) { - throw new Error("invalid initialation vector size (must be 16 size)"); + throw new Error('invalid initialation vector size (must be 16 size)'); } if (!segmentSize) { segmentSize = 1; @@ -17164,9 +17992,9 @@ var require_aes_js = __commonJS({ this._shiftRegister = coerceArray(iv, true); this._aes = new AES(key); }; - ModeOfOperationCFB.prototype.encrypt = function(plaintext) { + ModeOfOperationCFB.prototype.encrypt = function (plaintext) { if (plaintext.length % this.segmentSize != 0) { - throw new Error("invalid plaintext size (must be segmentSize bytes)"); + throw new Error('invalid plaintext size (must be segmentSize bytes)'); } var encrypted = coerceArray(plaintext, true); var xorSegment; @@ -17180,9 +18008,9 @@ var require_aes_js = __commonJS({ } return encrypted; }; - ModeOfOperationCFB.prototype.decrypt = function(ciphertext) { + ModeOfOperationCFB.prototype.decrypt = function (ciphertext) { if (ciphertext.length % this.segmentSize != 0) { - throw new Error("invalid ciphertext size (must be segmentSize bytes)"); + throw new Error('invalid ciphertext size (must be segmentSize bytes)'); } var plaintext = coerceArray(ciphertext, true); var xorSegment; @@ -17192,26 +18020,32 @@ var require_aes_js = __commonJS({ plaintext[i + j] ^= xorSegment[j]; } copyArray(this._shiftRegister, this._shiftRegister, 0, this.segmentSize); - copyArray(ciphertext, this._shiftRegister, 16 - this.segmentSize, i, i + this.segmentSize); + copyArray( + ciphertext, + this._shiftRegister, + 16 - this.segmentSize, + i, + i + this.segmentSize + ); } return plaintext; }; - var ModeOfOperationOFB = function(key, iv) { + var ModeOfOperationOFB = function (key, iv) { if (!(this instanceof ModeOfOperationOFB)) { - throw Error("AES must be instanitated with `new`"); + throw Error('AES must be instanitated with `new`'); } - this.description = "Output Feedback"; - this.name = "ofb"; + this.description = 'Output Feedback'; + this.name = 'ofb'; if (!iv) { iv = createArray(16); } else if (iv.length != 16) { - throw new Error("invalid initialation vector size (must be 16 bytes)"); + throw new Error('invalid initialation vector size (must be 16 bytes)'); } this._lastPrecipher = coerceArray(iv, true); this._lastPrecipherIndex = 16; this._aes = new AES(key); }; - ModeOfOperationOFB.prototype.encrypt = function(plaintext) { + ModeOfOperationOFB.prototype.encrypt = function (plaintext) { var encrypted = coerceArray(plaintext, true); for (var i = 0; i < encrypted.length; i++) { if (this._lastPrecipherIndex === 16) { @@ -17223,37 +18057,37 @@ var require_aes_js = __commonJS({ return encrypted; }; ModeOfOperationOFB.prototype.decrypt = ModeOfOperationOFB.prototype.encrypt; - var Counter = function(initialValue) { + var Counter = function (initialValue) { if (!(this instanceof Counter)) { - throw Error("Counter must be instanitated with `new`"); + throw Error('Counter must be instanitated with `new`'); } if (initialValue !== 0 && !initialValue) { initialValue = 1; } - if (typeof initialValue === "number") { + if (typeof initialValue === 'number') { this._counter = createArray(16); this.setValue(initialValue); } else { this.setBytes(initialValue); } }; - Counter.prototype.setValue = function(value) { - if (typeof value !== "number" || parseInt(value) != value) { - throw new Error("invalid counter value (must be an integer)"); + Counter.prototype.setValue = function (value) { + if (typeof value !== 'number' || parseInt(value) != value) { + throw new Error('invalid counter value (must be an integer)'); } for (var index = 15; index >= 0; --index) { this._counter[index] = value % 256; value = value >> 8; } }; - Counter.prototype.setBytes = function(bytes) { + Counter.prototype.setBytes = function (bytes) { bytes = coerceArray(bytes, true); if (bytes.length != 16) { - throw new Error("invalid counter bytes size (must be 16 bytes)"); + throw new Error('invalid counter bytes size (must be 16 bytes)'); } this._counter = bytes; }; - Counter.prototype.increment = function() { + Counter.prototype.increment = function () { for (var i = 15; i >= 0; i--) { if (this._counter[i] === 255) { this._counter[i] = 0; @@ -17263,12 +18097,12 @@ var require_aes_js = __commonJS({ } } }; - var ModeOfOperationCTR = function(key, counter) { + var ModeOfOperationCTR = function (key, counter) { if (!(this instanceof ModeOfOperationCTR)) { - throw Error("AES must be instanitated with `new`"); + throw Error('AES must be instanitated with `new`'); } - this.description = "Counter"; - this.name = "ctr"; + this.description = 'Counter'; + this.name = 'ctr'; if (!(counter instanceof Counter)) { counter = new Counter(counter); } @@ -17277,7 +18111,7 @@ var require_aes_js = __commonJS({ this._remainingCounterIndex = 16; this._aes = new AES(key); }; - ModeOfOperationCTR.prototype.encrypt = function(plaintext) { + ModeOfOperationCTR.prototype.encrypt = function (plaintext) { var encrypted = coerceArray(plaintext, true); for (var i = 0; i < encrypted.length; i++) { if (this._remainingCounterIndex === 16) { @@ -17292,7 +18126,7 @@ var require_aes_js = __commonJS({ ModeOfOperationCTR.prototype.decrypt = ModeOfOperationCTR.prototype.encrypt; function pkcs7pad(data) { data = coerceArray(data, true); - var padder = 16 - data.length % 16; + var padder = 16 - (data.length % 16); var result = createArray(data.length + padder); copyArray(data, result); for (var i = data.length; i < result.length; i++) { @@ -17303,16 +18137,16 @@ var require_aes_js = __commonJS({ function pkcs7strip(data) { data = coerceArray(data, true); if (data.length < 16) { - throw new Error("PKCS#7 invalid length"); + throw new Error('PKCS#7 invalid length'); } var padder = data[data.length - 1]; if (padder > 16) { - throw new Error("PKCS#7 padding byte out of range"); + throw new Error('PKCS#7 padding byte out of range'); } var length = data.length - padder; for (var i = 0; i < padder; i++) { if (data[length + i] !== padder) { - throw new Error("PKCS#7 invalid padding byte"); + throw new Error('PKCS#7 invalid padding byte'); } } var result = createArray(length); @@ -17327,27 +18161,27 @@ var require_aes_js = __commonJS({ cbc: ModeOfOperationCBC, cfb: ModeOfOperationCFB, ofb: ModeOfOperationOFB, - ctr: ModeOfOperationCTR + ctr: ModeOfOperationCTR, }, utils: { hex: convertHex, - utf8: convertUtf8 + utf8: convertUtf8, }, padding: { pkcs7: { pad: pkcs7pad, - strip: pkcs7strip - } + strip: pkcs7strip, + }, }, _arrayTest: { coerceArray, createArray, - copyArray - } + copyArray, + }, }; - if (typeof exports2 !== "undefined") { + if (typeof exports2 !== 'undefined') { module2.exports = aesjs; - } else if (typeof define === "function" && define.amd) { + } else if (typeof define === 'function' && define.amd) { define(aesjs); } else { if (root.aesjs) { @@ -17356,30 +18190,35 @@ var require_aes_js = __commonJS({ root.aesjs = aesjs; } })(exports2); - } + }, }); // node_modules/@ethersproject/json-wallets/lib/_version.js var require_version15 = __commonJS({ - "node_modules/@ethersproject/json-wallets/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/json-wallets/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "json-wallets/5.5.0"; - } + exports2.version = 'json-wallets/5.5.0'; + }, }); // node_modules/@ethersproject/json-wallets/lib/utils.js var require_utils4 = __commonJS({ - "node_modules/@ethersproject/json-wallets/lib/utils.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.uuidV4 = exports2.searchPath = exports2.getPassword = exports2.zpad = exports2.looseArrayify = void 0; + 'node_modules/@ethersproject/json-wallets/lib/utils.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.uuidV4 = + exports2.searchPath = + exports2.getPassword = + exports2.zpad = + exports2.looseArrayify = + void 0; var bytes_1 = require_lib2(); var strings_1 = require_lib9(); function looseArrayify(hexString) { - if (typeof hexString === "string" && hexString.substring(0, 2) !== "0x") { - hexString = "0x" + hexString; + if (typeof hexString === 'string' && hexString.substring(0, 2) !== '0x') { + hexString = '0x' + hexString; } return (0, bytes_1.arrayify)(hexString); } @@ -17387,13 +18226,13 @@ var require_utils4 = __commonJS({ function zpad(value, length) { value = String(value); while (value.length < length) { - value = "0" + value; + value = '0' + value; } return value; } exports2.zpad = zpad; function getPassword(password) { - if (typeof password === "string") { + if (typeof password === 'string') { return (0, strings_1.toUtf8Bytes)(password, strings_1.UnicodeNormalizationForm.NFKC); } return (0, bytes_1.arrayify)(password); @@ -17401,7 +18240,7 @@ var require_utils4 = __commonJS({ exports2.getPassword = getPassword; function searchPath(object, path2) { var currentChild = object; - var comps = path2.toLowerCase().split("/"); + var comps = path2.toLowerCase().split('/'); for (var i = 0; i < comps.length; i++) { var matchingChild = null; for (var key in currentChild) { @@ -17420,50 +18259,58 @@ var require_utils4 = __commonJS({ exports2.searchPath = searchPath; function uuidV4(randomBytes) { var bytes = (0, bytes_1.arrayify)(randomBytes); - bytes[6] = bytes[6] & 15 | 64; - bytes[8] = bytes[8] & 63 | 128; + bytes[6] = (bytes[6] & 15) | 64; + bytes[8] = (bytes[8] & 63) | 128; var value = (0, bytes_1.hexlify)(bytes); return [ value.substring(2, 10), value.substring(10, 14), value.substring(14, 18), value.substring(18, 22), - value.substring(22, 34) - ].join("-"); + value.substring(22, 34), + ].join('-'); } exports2.uuidV4 = uuidV4; - } + }, }); // node_modules/@ethersproject/json-wallets/lib/crowdsale.js var require_crowdsale = __commonJS({ - "node_modules/@ethersproject/json-wallets/lib/crowdsale.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/json-wallets/lib/crowdsale.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; }; - }(); - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.decrypt = exports2.CrowdsaleAccount = void 0; var aes_js_1 = __importDefault(require_aes_js()); var address_1 = require_lib7(); @@ -17476,31 +18323,35 @@ var require_crowdsale = __commonJS({ var _version_1 = require_version15(); var logger = new logger_1.Logger(_version_1.version); var utils_1 = require_utils4(); - var CrowdsaleAccount = function(_super) { + var CrowdsaleAccount = (function (_super) { __extends(CrowdsaleAccount2, _super); function CrowdsaleAccount2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - CrowdsaleAccount2.prototype.isCrowdsaleAccount = function(value) { + CrowdsaleAccount2.prototype.isCrowdsaleAccount = function (value) { return !!(value && value._isCrowdsaleAccount); }; return CrowdsaleAccount2; - }(properties_1.Description); + })(properties_1.Description); exports2.CrowdsaleAccount = CrowdsaleAccount; function decrypt(json, password) { var data = JSON.parse(json); password = (0, utils_1.getPassword)(password); - var ethaddr = (0, address_1.getAddress)((0, utils_1.searchPath)(data, "ethaddr")); - var encseed = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "encseed")); + var ethaddr = (0, address_1.getAddress)((0, utils_1.searchPath)(data, 'ethaddr')); + var encseed = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, 'encseed')); if (!encseed || encseed.length % 16 !== 0) { - logger.throwArgumentError("invalid encseed", "json", json); + logger.throwArgumentError('invalid encseed', 'json', json); } - var key = (0, bytes_1.arrayify)((0, pbkdf2_1.pbkdf2)(password, password, 2e3, 32, "sha256")).slice(0, 16); + var key = (0, bytes_1.arrayify)( + (0, pbkdf2_1.pbkdf2)(password, password, 2e3, 32, 'sha256') + ).slice(0, 16); var iv = encseed.slice(0, 16); var encryptedSeed = encseed.slice(16); var aesCbc = new aes_js_1.default.ModeOfOperation.cbc(key, iv); - var seed = aes_js_1.default.padding.pkcs7.strip((0, bytes_1.arrayify)(aesCbc.decrypt(encryptedSeed))); - var seedHex = ""; + var seed = aes_js_1.default.padding.pkcs7.strip( + (0, bytes_1.arrayify)(aesCbc.decrypt(encryptedSeed)) + ); + var seedHex = ''; for (var i = 0; i < seed.length; i++) { seedHex += String.fromCharCode(seed[i]); } @@ -17509,18 +18360,18 @@ var require_crowdsale = __commonJS({ return new CrowdsaleAccount({ _isCrowdsaleAccount: true, address: ethaddr, - privateKey + privateKey, }); } exports2.decrypt = decrypt; - } + }, }); // node_modules/@ethersproject/json-wallets/lib/inspect.js var require_inspect = __commonJS({ - "node_modules/@ethersproject/json-wallets/lib/inspect.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/json-wallets/lib/inspect.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.getJsonWalletAddress = exports2.isKeystoreWallet = exports2.isCrowdsaleWallet = void 0; var address_1 = require_lib7(); function isCrowdsaleWallet(json) { @@ -17540,7 +18391,11 @@ var require_inspect = __commonJS({ } catch (error) { return false; } - if (!data.version || parseInt(data.version) !== data.version || parseInt(data.version) !== 3) { + if ( + !data.version || + parseInt(data.version) !== data.version || + parseInt(data.version) !== 3 + ) { return false; } return true; @@ -17564,172 +18419,158 @@ var require_inspect = __commonJS({ return null; } exports2.getJsonWalletAddress = getJsonWalletAddress; - } + }, }); // node_modules/scrypt-js/scrypt.js var require_scrypt = __commonJS({ - "node_modules/scrypt-js/scrypt.js"(exports2, module2) { - "use strict"; - (function(root) { + 'node_modules/scrypt-js/scrypt.js'(exports2, module2) { + 'use strict'; + (function (root) { const MAX_VALUE = 2147483647; function SHA256(m) { const K = new Uint32Array([ - 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 + 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, ]); - let h0 = 1779033703, h1 = 3144134277, h2 = 1013904242, h3 = 2773480762; - let h4 = 1359893119, h5 = 2600822924, h6 = 528734635, h7 = 1541459225; + let h0 = 1779033703, + h1 = 3144134277, + h2 = 1013904242, + h3 = 2773480762; + let h4 = 1359893119, + h5 = 2600822924, + h6 = 528734635, + h7 = 1541459225; const w = new Uint32Array(64); function blocks(p2) { - let off = 0, len = p2.length; + let off = 0, + len = p2.length; while (len >= 64) { - let a = h0, b = h1, c = h2, d = h3, e = h4, f = h5, g = h6, h = h7, u, i2, j, t1, t2; + let a = h0, + b = h1, + c = h2, + d = h3, + e = h4, + f = h5, + g = h6, + h = h7, + u, + i2, + j, + t1, + t2; for (i2 = 0; i2 < 16; i2++) { j = off + i2 * 4; - w[i2] = (p2[j] & 255) << 24 | (p2[j + 1] & 255) << 16 | (p2[j + 2] & 255) << 8 | p2[j + 3] & 255; + w[i2] = + ((p2[j] & 255) << 24) | + ((p2[j + 1] & 255) << 16) | + ((p2[j + 2] & 255) << 8) | + (p2[j + 3] & 255); } for (i2 = 16; i2 < 64; i2++) { u = w[i2 - 2]; - t1 = (u >>> 17 | u << 32 - 17) ^ (u >>> 19 | u << 32 - 19) ^ u >>> 10; + t1 = ((u >>> 17) | (u << (32 - 17))) ^ ((u >>> 19) | (u << (32 - 19))) ^ (u >>> 10); u = w[i2 - 15]; - t2 = (u >>> 7 | u << 32 - 7) ^ (u >>> 18 | u << 32 - 18) ^ u >>> 3; - w[i2] = (t1 + w[i2 - 7] | 0) + (t2 + w[i2 - 16] | 0) | 0; + t2 = ((u >>> 7) | (u << (32 - 7))) ^ ((u >>> 18) | (u << (32 - 18))) ^ (u >>> 3); + w[i2] = (((t1 + w[i2 - 7]) | 0) + ((t2 + w[i2 - 16]) | 0)) | 0; } for (i2 = 0; i2 < 64; i2++) { - t1 = (((e >>> 6 | e << 32 - 6) ^ (e >>> 11 | e << 32 - 11) ^ (e >>> 25 | e << 32 - 25)) + (e & f ^ ~e & g) | 0) + (h + (K[i2] + w[i2] | 0) | 0) | 0; - t2 = ((a >>> 2 | a << 32 - 2) ^ (a >>> 13 | a << 32 - 13) ^ (a >>> 22 | a << 32 - 22)) + (a & b ^ a & c ^ b & c) | 0; + t1 = + ((((((e >>> 6) | (e << (32 - 6))) ^ + ((e >>> 11) | (e << (32 - 11))) ^ + ((e >>> 25) | (e << (32 - 25)))) + + ((e & f) ^ (~e & g))) | + 0) + + ((h + ((K[i2] + w[i2]) | 0)) | 0)) | + 0; + t2 = + ((((a >>> 2) | (a << (32 - 2))) ^ + ((a >>> 13) | (a << (32 - 13))) ^ + ((a >>> 22) | (a << (32 - 22)))) + + ((a & b) ^ (a & c) ^ (b & c))) | + 0; h = g; g = f; f = e; - e = d + t1 | 0; + e = (d + t1) | 0; d = c; c = b; b = a; - a = t1 + t2 | 0; - } - h0 = h0 + a | 0; - h1 = h1 + b | 0; - h2 = h2 + c | 0; - h3 = h3 + d | 0; - h4 = h4 + e | 0; - h5 = h5 + f | 0; - h6 = h6 + g | 0; - h7 = h7 + h | 0; + a = (t1 + t2) | 0; + } + h0 = (h0 + a) | 0; + h1 = (h1 + b) | 0; + h2 = (h2 + c) | 0; + h3 = (h3 + d) | 0; + h4 = (h4 + e) | 0; + h5 = (h5 + f) | 0; + h6 = (h6 + g) | 0; + h7 = (h7 + h) | 0; off += 64; len -= 64; } } blocks(m); - let i, bytesLeft = m.length % 64, bitLenHi = m.length / 536870912 | 0, bitLenLo = m.length << 3, numZeros = bytesLeft < 56 ? 56 : 120, p = m.slice(m.length - bytesLeft, m.length); + let i, + bytesLeft = m.length % 64, + bitLenHi = (m.length / 536870912) | 0, + bitLenLo = m.length << 3, + numZeros = bytesLeft < 56 ? 56 : 120, + p = m.slice(m.length - bytesLeft, m.length); p.push(128); for (i = bytesLeft + 1; i < numZeros; i++) { p.push(0); } - p.push(bitLenHi >>> 24 & 255); - p.push(bitLenHi >>> 16 & 255); - p.push(bitLenHi >>> 8 & 255); - p.push(bitLenHi >>> 0 & 255); - p.push(bitLenLo >>> 24 & 255); - p.push(bitLenLo >>> 16 & 255); - p.push(bitLenLo >>> 8 & 255); - p.push(bitLenLo >>> 0 & 255); + p.push((bitLenHi >>> 24) & 255); + p.push((bitLenHi >>> 16) & 255); + p.push((bitLenHi >>> 8) & 255); + p.push((bitLenHi >>> 0) & 255); + p.push((bitLenLo >>> 24) & 255); + p.push((bitLenLo >>> 16) & 255); + p.push((bitLenLo >>> 8) & 255); + p.push((bitLenLo >>> 0) & 255); blocks(p); return [ - h0 >>> 24 & 255, - h0 >>> 16 & 255, - h0 >>> 8 & 255, - h0 >>> 0 & 255, - h1 >>> 24 & 255, - h1 >>> 16 & 255, - h1 >>> 8 & 255, - h1 >>> 0 & 255, - h2 >>> 24 & 255, - h2 >>> 16 & 255, - h2 >>> 8 & 255, - h2 >>> 0 & 255, - h3 >>> 24 & 255, - h3 >>> 16 & 255, - h3 >>> 8 & 255, - h3 >>> 0 & 255, - h4 >>> 24 & 255, - h4 >>> 16 & 255, - h4 >>> 8 & 255, - h4 >>> 0 & 255, - h5 >>> 24 & 255, - h5 >>> 16 & 255, - h5 >>> 8 & 255, - h5 >>> 0 & 255, - h6 >>> 24 & 255, - h6 >>> 16 & 255, - h6 >>> 8 & 255, - h6 >>> 0 & 255, - h7 >>> 24 & 255, - h7 >>> 16 & 255, - h7 >>> 8 & 255, - h7 >>> 0 & 255 + (h0 >>> 24) & 255, + (h0 >>> 16) & 255, + (h0 >>> 8) & 255, + (h0 >>> 0) & 255, + (h1 >>> 24) & 255, + (h1 >>> 16) & 255, + (h1 >>> 8) & 255, + (h1 >>> 0) & 255, + (h2 >>> 24) & 255, + (h2 >>> 16) & 255, + (h2 >>> 8) & 255, + (h2 >>> 0) & 255, + (h3 >>> 24) & 255, + (h3 >>> 16) & 255, + (h3 >>> 8) & 255, + (h3 >>> 0) & 255, + (h4 >>> 24) & 255, + (h4 >>> 16) & 255, + (h4 >>> 8) & 255, + (h4 >>> 0) & 255, + (h5 >>> 24) & 255, + (h5 >>> 16) & 255, + (h5 >>> 8) & 255, + (h5 >>> 0) & 255, + (h6 >>> 24) & 255, + (h6 >>> 16) & 255, + (h6 >>> 8) & 255, + (h6 >>> 0) & 255, + (h7 >>> 24) & 255, + (h7 >>> 16) & 255, + (h7 >>> 8) & 255, + (h7 >>> 0) & 255, ]; } function PBKDF2_HMAC_SHA256_OneIter(password, salt, dkLen) { @@ -17751,15 +18592,12 @@ var require_scrypt = __commonJS({ for (i = innerLen - 4; i < innerLen; i++) { inner[i] = 0; } - for (i = 0; i < 64; i++) - outerKey[i] = 92; - for (i = 0; i < password.length; i++) - outerKey[i] ^= password[i]; + for (i = 0; i < 64; i++) outerKey[i] = 92; + for (i = 0; i < password.length; i++) outerKey[i] ^= password[i]; function incrementCounter() { for (let i2 = innerLen - 1; i2 >= innerLen - 4; i2--) { inner[i2]++; - if (inner[i2] <= 255) - return; + if (inner[i2] <= 255) return; inner[i2] = 0; } } @@ -17790,7 +18628,7 @@ var require_scrypt = __commonJS({ } } function R(a, b) { - return a << b | a >>> 32 - b; + return (a << b) | (a >>> (32 - b)); } function salsa20_8(B, x) { arraycopy(B, 0, x, 0, 16); @@ -17843,50 +18681,54 @@ var require_scrypt = __commonJS({ } } function checkBufferish(o) { - if (!o || typeof o.length !== "number") { + if (!o || typeof o.length !== 'number') { return false; } for (let i = 0; i < o.length; i++) { const v = o[i]; - if (typeof v !== "number" || v % 1 || v < 0 || v >= 256) { + if (typeof v !== 'number' || v % 1 || v < 0 || v >= 256) { return false; } } return true; } function ensureInteger(value, name2) { - if (typeof value !== "number" || value % 1) { - throw new Error("invalid " + name2); + if (typeof value !== 'number' || value % 1) { + throw new Error('invalid ' + name2); } return value; } function _scrypt(password, salt, N, r, p, dkLen, callback) { - N = ensureInteger(N, "N"); - r = ensureInteger(r, "r"); - p = ensureInteger(p, "p"); - dkLen = ensureInteger(dkLen, "dkLen"); - if (N === 0 || (N & N - 1) !== 0) { - throw new Error("N must be power of 2"); + N = ensureInteger(N, 'N'); + r = ensureInteger(r, 'r'); + p = ensureInteger(p, 'p'); + dkLen = ensureInteger(dkLen, 'dkLen'); + if (N === 0 || (N & (N - 1)) !== 0) { + throw new Error('N must be power of 2'); } if (N > MAX_VALUE / 128 / r) { - throw new Error("N too large"); + throw new Error('N too large'); } if (r > MAX_VALUE / 128 / p) { - throw new Error("r too large"); + throw new Error('r too large'); } if (!checkBufferish(password)) { - throw new Error("password must be an array or buffer"); + throw new Error('password must be an array or buffer'); } password = Array.prototype.slice.call(password); if (!checkBufferish(salt)) { - throw new Error("salt must be an array or buffer"); + throw new Error('salt must be an array or buffer'); } salt = Array.prototype.slice.call(salt); let b = PBKDF2_HMAC_SHA256_OneIter(password, salt, p * 128 * r); const B = new Uint32Array(p * 32 * r); for (let i = 0; i < B.length; i++) { const j = i * 4; - B[i] = (b[j + 3] & 255) << 24 | (b[j + 2] & 255) << 16 | (b[j + 1] & 255) << 8 | (b[j + 0] & 255) << 0; + B[i] = + ((b[j + 3] & 255) << 24) | + ((b[j + 2] & 255) << 16) | + ((b[j + 1] & 255) << 8) | + ((b[j + 0] & 255) << 0); } const XY = new Uint32Array(64 * r); const V = new Uint32Array(32 * r * N); @@ -17898,13 +18740,14 @@ var require_scrypt = __commonJS({ let lastPercent10 = null; let stop = false; let state = 0; - let i0 = 0, i1; + let i0 = 0, + i1; let Bi; const limit = callback ? parseInt(1e3 / r) : 4294967295; - const nextTick = typeof setImmediate !== "undefined" ? setImmediate : setTimeout; - const incrementalSMix = function() { + const nextTick = typeof setImmediate !== 'undefined' ? setImmediate : setTimeout; + const incrementalSMix = function () { if (stop) { - return callback(new Error("cancelled"), currentOp / totalOps); + return callback(new Error('cancelled'), currentOp / totalOps); } let steps; switch (state) { @@ -17925,7 +18768,7 @@ var require_scrypt = __commonJS({ i1 += steps; currentOp += steps; if (callback) { - const percent10 = parseInt(1e3 * currentOp / totalOps); + const percent10 = parseInt((1e3 * currentOp) / totalOps); if (percent10 !== lastPercent10) { stop = callback(null, currentOp / totalOps); if (stop) { @@ -17946,14 +18789,14 @@ var require_scrypt = __commonJS({ } for (let i = 0; i < steps; i++) { const offset = (2 * r - 1) * 16; - const j = XY[offset] & N - 1; + const j = XY[offset] & (N - 1); blockxor(V, j * Yi, XY, Yi); blockmix_salsa8(XY, Yi, r, x, _X); } i1 += steps; currentOp += steps; if (callback) { - const percent10 = parseInt(1e3 * currentOp / totalOps); + const percent10 = parseInt((1e3 * currentOp) / totalOps); if (percent10 !== lastPercent10) { stop = callback(null, currentOp / totalOps); if (stop) { @@ -17973,10 +18816,10 @@ var require_scrypt = __commonJS({ } b = []; for (let i = 0; i < B.length; i++) { - b.push(B[i] >> 0 & 255); - b.push(B[i] >> 8 & 255); - b.push(B[i] >> 16 & 255); - b.push(B[i] >> 24 & 255); + b.push((B[i] >> 0) & 255); + b.push((B[i] >> 8) & 255); + b.push((B[i] >> 16) & 255); + b.push((B[i] >> 24) & 255); } const derivedKey = PBKDF2_HMAC_SHA256_OneIter(password, b, dkLen); if (callback) { @@ -17999,13 +18842,13 @@ var require_scrypt = __commonJS({ incrementalSMix(); } const lib = { - scrypt: function(password, salt, N, r, p, dkLen, progressCallback) { - return new Promise(function(resolve, reject) { + scrypt: function (password, salt, N, r, p, dkLen, progressCallback) { + return new Promise(function (resolve, reject) { let lastProgress = 0; if (progressCallback) { progressCallback(0); } - _scrypt(password, salt, N, r, p, dkLen, function(error, progress, key) { + _scrypt(password, salt, N, r, p, dkLen, function (error, progress, key) { if (error) { reject(error); } else if (key) { @@ -18020,13 +18863,13 @@ var require_scrypt = __commonJS({ }); }); }, - syncScrypt: function(password, salt, N, r, p, dkLen) { + syncScrypt: function (password, salt, N, r, p, dkLen) { return new Uint8Array(_scrypt(password, salt, N, r, p, dkLen)); - } + }, }; - if (typeof exports2 !== "undefined") { + if (typeof exports2 !== 'undefined') { module2.exports = lib; - } else if (typeof define === "function" && define.amd) { + } else if (typeof define === 'function' && define.amd) { define(lib); } else if (root) { if (root.scrypt) { @@ -18035,29 +18878,29 @@ var require_scrypt = __commonJS({ root.scrypt = lib; } })(exports2); - } + }, }); // node_modules/@ethersproject/random/lib/random.js var require_random = __commonJS({ - "node_modules/@ethersproject/random/lib/random.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/random/lib/random.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.randomBytes = void 0; - var crypto_1 = require("crypto"); + var crypto_1 = require('crypto'); var bytes_1 = require_lib2(); function randomBytes(length) { return (0, bytes_1.arrayify)((0, crypto_1.randomBytes)(length)); } exports2.randomBytes = randomBytes; - } + }, }); // node_modules/@ethersproject/random/lib/shuffle.js var require_shuffle = __commonJS({ - "node_modules/@ethersproject/random/lib/shuffle.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/random/lib/shuffle.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.shuffled = void 0; function shuffled(array) { array = array.slice(); @@ -18070,158 +18913,200 @@ var require_shuffle = __commonJS({ return array; } exports2.shuffled = shuffled; - } + }, }); // node_modules/@ethersproject/random/lib/index.js var require_lib20 = __commonJS({ - "node_modules/@ethersproject/random/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/random/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.shuffled = exports2.randomBytes = void 0; var random_1 = require_random(); - Object.defineProperty(exports2, "randomBytes", { enumerable: true, get: function() { - return random_1.randomBytes; - } }); + Object.defineProperty(exports2, 'randomBytes', { + enumerable: true, + get: function () { + return random_1.randomBytes; + }, + }); var shuffle_1 = require_shuffle(); - Object.defineProperty(exports2, "shuffled", { enumerable: true, get: function() { - return shuffle_1.shuffled; - } }); - } + Object.defineProperty(exports2, 'shuffled', { + enumerable: true, + get: function () { + return shuffle_1.shuffled; + }, + }); + }, }); // node_modules/@ethersproject/json-wallets/lib/keystore.js var require_keystore = __commonJS({ - "node_modules/@ethersproject/json-wallets/lib/keystore.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/json-wallets/lib/keystore.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.encrypt = exports2.decrypt = exports2.decryptSync = exports2.KeystoreAccount = void 0; var aes_js_1 = __importDefault(require_aes_js()); var scrypt_js_1 = __importDefault(require_scrypt()); @@ -18240,21 +19125,23 @@ var require_keystore = __commonJS({ function hasMnemonic(value) { return value != null && value.mnemonic && value.mnemonic.phrase; } - var KeystoreAccount = function(_super) { + var KeystoreAccount = (function (_super) { __extends(KeystoreAccount2, _super); function KeystoreAccount2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - KeystoreAccount2.prototype.isKeystoreAccount = function(value) { + KeystoreAccount2.prototype.isKeystoreAccount = function (value) { return !!(value && value._isKeystoreAccount); }; return KeystoreAccount2; - }(properties_1.Description); + })(properties_1.Description); exports2.KeystoreAccount = KeystoreAccount; function _decrypt(data, key, ciphertext) { - var cipher = (0, utils_1.searchPath)(data, "crypto/cipher"); - if (cipher === "aes-128-ctr") { - var iv = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "crypto/cipherparams/iv")); + var cipher = (0, utils_1.searchPath)(data, 'crypto/cipher'); + if (cipher === 'aes-128-ctr') { + var iv = (0, utils_1.looseArrayify)( + (0, utils_1.searchPath)(data, 'crypto/cipherparams/iv') + ); var counter = new aes_js_1.default.Counter(iv); var aesCtr = new aes_js_1.default.ModeOfOperation.ctr(key, counter); return (0, bytes_1.arrayify)(aesCtr.decrypt(ciphertext)); @@ -18262,50 +19149,61 @@ var require_keystore = __commonJS({ return null; } function _getAccount(data, key) { - var ciphertext = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "crypto/ciphertext")); - var computedMAC = (0, bytes_1.hexlify)((0, keccak256_1.keccak256)((0, bytes_1.concat)([key.slice(16, 32), ciphertext]))).substring(2); - if (computedMAC !== (0, utils_1.searchPath)(data, "crypto/mac").toLowerCase()) { - throw new Error("invalid password"); + var ciphertext = (0, utils_1.looseArrayify)( + (0, utils_1.searchPath)(data, 'crypto/ciphertext') + ); + var computedMAC = (0, bytes_1.hexlify)( + (0, keccak256_1.keccak256)((0, bytes_1.concat)([key.slice(16, 32), ciphertext])) + ).substring(2); + if (computedMAC !== (0, utils_1.searchPath)(data, 'crypto/mac').toLowerCase()) { + throw new Error('invalid password'); } var privateKey = _decrypt(data, key.slice(0, 16), ciphertext); if (!privateKey) { - logger.throwError("unsupported cipher", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "decrypt" + logger.throwError('unsupported cipher', logger_1.Logger.errors.UNSUPPORTED_OPERATION, { + operation: 'decrypt', }); } var mnemonicKey = key.slice(32, 64); var address = (0, transactions_1.computeAddress)(privateKey); if (data.address) { var check = data.address.toLowerCase(); - if (check.substring(0, 2) !== "0x") { - check = "0x" + check; + if (check.substring(0, 2) !== '0x') { + check = '0x' + check; } if ((0, address_1.getAddress)(check) !== address) { - throw new Error("address mismatch"); + throw new Error('address mismatch'); } } var account = { _isKeystoreAccount: true, address, - privateKey: (0, bytes_1.hexlify)(privateKey) + privateKey: (0, bytes_1.hexlify)(privateKey), }; - if ((0, utils_1.searchPath)(data, "x-ethers/version") === "0.1") { - var mnemonicCiphertext = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "x-ethers/mnemonicCiphertext")); - var mnemonicIv = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "x-ethers/mnemonicCounter")); + if ((0, utils_1.searchPath)(data, 'x-ethers/version') === '0.1') { + var mnemonicCiphertext = (0, utils_1.looseArrayify)( + (0, utils_1.searchPath)(data, 'x-ethers/mnemonicCiphertext') + ); + var mnemonicIv = (0, utils_1.looseArrayify)( + (0, utils_1.searchPath)(data, 'x-ethers/mnemonicCounter') + ); var mnemonicCounter = new aes_js_1.default.Counter(mnemonicIv); var mnemonicAesCtr = new aes_js_1.default.ModeOfOperation.ctr(mnemonicKey, mnemonicCounter); - var path2 = (0, utils_1.searchPath)(data, "x-ethers/path") || hdnode_1.defaultPath; - var locale = (0, utils_1.searchPath)(data, "x-ethers/locale") || "en"; + var path2 = (0, utils_1.searchPath)(data, 'x-ethers/path') || hdnode_1.defaultPath; + var locale = (0, utils_1.searchPath)(data, 'x-ethers/locale') || 'en'; var entropy = (0, bytes_1.arrayify)(mnemonicAesCtr.decrypt(mnemonicCiphertext)); try { var mnemonic = (0, hdnode_1.entropyToMnemonic)(entropy, locale); var node = hdnode_1.HDNode.fromMnemonic(mnemonic, null, locale).derivePath(path2); if (node.privateKey != account.privateKey) { - throw new Error("mnemonic mismatch"); + throw new Error('mnemonic mismatch'); } account.mnemonic = node.mnemonic; } catch (error) { - if (error.code !== logger_1.Logger.errors.INVALID_ARGUMENT || error.argument !== "wordlist") { + if ( + error.code !== logger_1.Logger.errors.INVALID_ARGUMENT || + error.argument !== 'wordlist' + ) { throw error; } } @@ -18313,54 +19211,64 @@ var require_keystore = __commonJS({ return new KeystoreAccount(account); } function pbkdf2Sync(passwordBytes, salt, count, dkLen, prfFunc) { - return (0, bytes_1.arrayify)((0, pbkdf2_1.pbkdf2)(passwordBytes, salt, count, dkLen, prfFunc)); + return (0, bytes_1.arrayify)( + (0, pbkdf2_1.pbkdf2)(passwordBytes, salt, count, dkLen, prfFunc) + ); } function pbkdf2(passwordBytes, salt, count, dkLen, prfFunc) { return Promise.resolve(pbkdf2Sync(passwordBytes, salt, count, dkLen, prfFunc)); } function _computeKdfKey(data, password, pbkdf2Func, scryptFunc, progressCallback) { var passwordBytes = (0, utils_1.getPassword)(password); - var kdf = (0, utils_1.searchPath)(data, "crypto/kdf"); - if (kdf && typeof kdf === "string") { - var throwError = function(name2, value) { - return logger.throwArgumentError("invalid key-derivation function parameters", name2, value); + var kdf = (0, utils_1.searchPath)(data, 'crypto/kdf'); + if (kdf && typeof kdf === 'string') { + var throwError = function (name2, value) { + return logger.throwArgumentError( + 'invalid key-derivation function parameters', + name2, + value + ); }; - if (kdf.toLowerCase() === "scrypt") { - var salt = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "crypto/kdfparams/salt")); - var N = parseInt((0, utils_1.searchPath)(data, "crypto/kdfparams/n")); - var r = parseInt((0, utils_1.searchPath)(data, "crypto/kdfparams/r")); - var p = parseInt((0, utils_1.searchPath)(data, "crypto/kdfparams/p")); + if (kdf.toLowerCase() === 'scrypt') { + var salt = (0, utils_1.looseArrayify)( + (0, utils_1.searchPath)(data, 'crypto/kdfparams/salt') + ); + var N = parseInt((0, utils_1.searchPath)(data, 'crypto/kdfparams/n')); + var r = parseInt((0, utils_1.searchPath)(data, 'crypto/kdfparams/r')); + var p = parseInt((0, utils_1.searchPath)(data, 'crypto/kdfparams/p')); if (!N || !r || !p) { - throwError("kdf", kdf); + throwError('kdf', kdf); } - if ((N & N - 1) !== 0) { - throwError("N", N); + if ((N & (N - 1)) !== 0) { + throwError('N', N); } - var dkLen = parseInt((0, utils_1.searchPath)(data, "crypto/kdfparams/dklen")); + var dkLen = parseInt((0, utils_1.searchPath)(data, 'crypto/kdfparams/dklen')); if (dkLen !== 32) { - throwError("dklen", dkLen); + throwError('dklen', dkLen); } return scryptFunc(passwordBytes, salt, N, r, p, 64, progressCallback); - } else if (kdf.toLowerCase() === "pbkdf2") { - var salt = (0, utils_1.looseArrayify)((0, utils_1.searchPath)(data, "crypto/kdfparams/salt")); + } else if (kdf.toLowerCase() === 'pbkdf2') { + var salt = (0, utils_1.looseArrayify)( + (0, utils_1.searchPath)(data, 'crypto/kdfparams/salt') + ); var prfFunc = null; - var prf = (0, utils_1.searchPath)(data, "crypto/kdfparams/prf"); - if (prf === "hmac-sha256") { - prfFunc = "sha256"; - } else if (prf === "hmac-sha512") { - prfFunc = "sha512"; + var prf = (0, utils_1.searchPath)(data, 'crypto/kdfparams/prf'); + if (prf === 'hmac-sha256') { + prfFunc = 'sha256'; + } else if (prf === 'hmac-sha512') { + prfFunc = 'sha512'; } else { - throwError("prf", prf); + throwError('prf', prf); } - var count = parseInt((0, utils_1.searchPath)(data, "crypto/kdfparams/c")); - var dkLen = parseInt((0, utils_1.searchPath)(data, "crypto/kdfparams/dklen")); + var count = parseInt((0, utils_1.searchPath)(data, 'crypto/kdfparams/c')); + var dkLen = parseInt((0, utils_1.searchPath)(data, 'crypto/kdfparams/dklen')); if (dkLen !== 32) { - throwError("dklen", dkLen); + throwError('dklen', dkLen); } return pbkdf2Func(passwordBytes, salt, count, dkLen, prfFunc); } } - return logger.throwArgumentError("unsupported key-derivation function", "kdf", kdf); + return logger.throwArgumentError('unsupported key-derivation function', 'kdf', kdf); } function decryptSync(json, password) { var data = JSON.parse(json); @@ -18369,13 +19277,22 @@ var require_keystore = __commonJS({ } exports2.decryptSync = decryptSync; function decrypt(json, password, progressCallback) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var data, key; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: data = JSON.parse(json); - return [4, _computeKdfKey(data, password, pbkdf2, scrypt_js_1.default.scrypt, progressCallback)]; + return [ + 4, + _computeKdfKey( + data, + password, + pbkdf2, + scrypt_js_1.default.scrypt, + progressCallback + ), + ]; case 1: key = _a7.sent(); return [2, _getAccount(data, key)]; @@ -18386,20 +19303,27 @@ var require_keystore = __commonJS({ exports2.decrypt = decrypt; function encrypt(account, password, options2, progressCallback) { try { - if ((0, address_1.getAddress)(account.address) !== (0, transactions_1.computeAddress)(account.privateKey)) { - throw new Error("address/privateKey mismatch"); + if ( + (0, address_1.getAddress)(account.address) !== + (0, transactions_1.computeAddress)(account.privateKey) + ) { + throw new Error('address/privateKey mismatch'); } if (hasMnemonic(account)) { var mnemonic = account.mnemonic; - var node = hdnode_1.HDNode.fromMnemonic(mnemonic.phrase, null, mnemonic.locale).derivePath(mnemonic.path || hdnode_1.defaultPath); + var node = hdnode_1.HDNode.fromMnemonic( + mnemonic.phrase, + null, + mnemonic.locale + ).derivePath(mnemonic.path || hdnode_1.defaultPath); if (node.privateKey != account.privateKey) { - throw new Error("mnemonic mismatch"); + throw new Error('mnemonic mismatch'); } } } catch (e) { return Promise.reject(e); } - if (typeof options2 === "function" && !progressCallback) { + if (typeof options2 === 'function' && !progressCallback) { progressCallback = options2; options2 = {}; } @@ -18413,26 +19337,27 @@ var require_keystore = __commonJS({ var locale = null; if (hasMnemonic(account)) { var srcMnemonic = account.mnemonic; - entropy = (0, bytes_1.arrayify)((0, hdnode_1.mnemonicToEntropy)(srcMnemonic.phrase, srcMnemonic.locale || "en")); + entropy = (0, bytes_1.arrayify)( + (0, hdnode_1.mnemonicToEntropy)(srcMnemonic.phrase, srcMnemonic.locale || 'en') + ); path2 = srcMnemonic.path || hdnode_1.defaultPath; - locale = srcMnemonic.locale || "en"; + locale = srcMnemonic.locale || 'en'; } var client = options2.client; if (!client) { - client = "ethers.js"; + client = 'ethers.js'; } var salt = null; if (options2.salt) { salt = (0, bytes_1.arrayify)(options2.salt); } else { salt = (0, random_1.randomBytes)(32); - ; } var iv = null; if (options2.iv) { iv = (0, bytes_1.arrayify)(options2.iv); if (iv.length !== 16) { - throw new Error("invalid iv"); + throw new Error('invalid iv'); } } else { iv = (0, random_1.randomBytes)(16); @@ -18441,12 +19366,14 @@ var require_keystore = __commonJS({ if (options2.uuid) { uuidRandom = (0, bytes_1.arrayify)(options2.uuid); if (uuidRandom.length !== 16) { - throw new Error("invalid uuid"); + throw new Error('invalid uuid'); } } else { uuidRandom = (0, random_1.randomBytes)(16); } - var N = 1 << 17, r = 8, p = 1; + var N = 1 << 17, + r = 8, + p = 1; if (options2.scrypt) { if (options2.scrypt.N) { N = options2.scrypt.N; @@ -18458,90 +19385,137 @@ var require_keystore = __commonJS({ p = options2.scrypt.p; } } - return scrypt_js_1.default.scrypt(passwordBytes, salt, N, r, p, 64, progressCallback).then(function(key) { - key = (0, bytes_1.arrayify)(key); - var derivedKey = key.slice(0, 16); - var macPrefix = key.slice(16, 32); - var mnemonicKey = key.slice(32, 64); - var counter = new aes_js_1.default.Counter(iv); - var aesCtr = new aes_js_1.default.ModeOfOperation.ctr(derivedKey, counter); - var ciphertext = (0, bytes_1.arrayify)(aesCtr.encrypt(privateKey)); - var mac = (0, keccak256_1.keccak256)((0, bytes_1.concat)([macPrefix, ciphertext])); - var data = { - address: account.address.substring(2).toLowerCase(), - id: (0, utils_1.uuidV4)(uuidRandom), - version: 3, - Crypto: { - cipher: "aes-128-ctr", - cipherparams: { - iv: (0, bytes_1.hexlify)(iv).substring(2) - }, - ciphertext: (0, bytes_1.hexlify)(ciphertext).substring(2), - kdf: "scrypt", - kdfparams: { - salt: (0, bytes_1.hexlify)(salt).substring(2), - n: N, - dklen: 32, - p, - r + return scrypt_js_1.default + .scrypt(passwordBytes, salt, N, r, p, 64, progressCallback) + .then(function (key) { + key = (0, bytes_1.arrayify)(key); + var derivedKey = key.slice(0, 16); + var macPrefix = key.slice(16, 32); + var mnemonicKey = key.slice(32, 64); + var counter = new aes_js_1.default.Counter(iv); + var aesCtr = new aes_js_1.default.ModeOfOperation.ctr(derivedKey, counter); + var ciphertext = (0, bytes_1.arrayify)(aesCtr.encrypt(privateKey)); + var mac = (0, keccak256_1.keccak256)((0, bytes_1.concat)([macPrefix, ciphertext])); + var data = { + address: account.address.substring(2).toLowerCase(), + id: (0, utils_1.uuidV4)(uuidRandom), + version: 3, + Crypto: { + cipher: 'aes-128-ctr', + cipherparams: { + iv: (0, bytes_1.hexlify)(iv).substring(2), + }, + ciphertext: (0, bytes_1.hexlify)(ciphertext).substring(2), + kdf: 'scrypt', + kdfparams: { + salt: (0, bytes_1.hexlify)(salt).substring(2), + n: N, + dklen: 32, + p, + r, + }, + mac: mac.substring(2), }, - mac: mac.substring(2) - } - }; - if (entropy) { - var mnemonicIv = (0, random_1.randomBytes)(16); - var mnemonicCounter = new aes_js_1.default.Counter(mnemonicIv); - var mnemonicAesCtr = new aes_js_1.default.ModeOfOperation.ctr(mnemonicKey, mnemonicCounter); - var mnemonicCiphertext = (0, bytes_1.arrayify)(mnemonicAesCtr.encrypt(entropy)); - var now = new Date(); - var timestamp = now.getUTCFullYear() + "-" + (0, utils_1.zpad)(now.getUTCMonth() + 1, 2) + "-" + (0, utils_1.zpad)(now.getUTCDate(), 2) + "T" + (0, utils_1.zpad)(now.getUTCHours(), 2) + "-" + (0, utils_1.zpad)(now.getUTCMinutes(), 2) + "-" + (0, utils_1.zpad)(now.getUTCSeconds(), 2) + ".0Z"; - data["x-ethers"] = { - client, - gethFilename: "UTC--" + timestamp + "--" + data.address, - mnemonicCounter: (0, bytes_1.hexlify)(mnemonicIv).substring(2), - mnemonicCiphertext: (0, bytes_1.hexlify)(mnemonicCiphertext).substring(2), - path: path2, - locale, - version: "0.1" }; - } - return JSON.stringify(data); - }); + if (entropy) { + var mnemonicIv = (0, random_1.randomBytes)(16); + var mnemonicCounter = new aes_js_1.default.Counter(mnemonicIv); + var mnemonicAesCtr = new aes_js_1.default.ModeOfOperation.ctr( + mnemonicKey, + mnemonicCounter + ); + var mnemonicCiphertext = (0, bytes_1.arrayify)(mnemonicAesCtr.encrypt(entropy)); + var now = new Date(); + var timestamp = + now.getUTCFullYear() + + '-' + + (0, utils_1.zpad)(now.getUTCMonth() + 1, 2) + + '-' + + (0, utils_1.zpad)(now.getUTCDate(), 2) + + 'T' + + (0, utils_1.zpad)(now.getUTCHours(), 2) + + '-' + + (0, utils_1.zpad)(now.getUTCMinutes(), 2) + + '-' + + (0, utils_1.zpad)(now.getUTCSeconds(), 2) + + '.0Z'; + data['x-ethers'] = { + client, + gethFilename: 'UTC--' + timestamp + '--' + data.address, + mnemonicCounter: (0, bytes_1.hexlify)(mnemonicIv).substring(2), + mnemonicCiphertext: (0, bytes_1.hexlify)(mnemonicCiphertext).substring(2), + path: path2, + locale, + version: '0.1', + }; + } + return JSON.stringify(data); + }); } exports2.encrypt = encrypt; - } + }, }); // node_modules/@ethersproject/json-wallets/lib/index.js var require_lib21 = __commonJS({ - "node_modules/@ethersproject/json-wallets/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.decryptJsonWalletSync = exports2.decryptJsonWallet = exports2.getJsonWalletAddress = exports2.isKeystoreWallet = exports2.isCrowdsaleWallet = exports2.encryptKeystore = exports2.decryptKeystoreSync = exports2.decryptKeystore = exports2.decryptCrowdsale = void 0; + 'node_modules/@ethersproject/json-wallets/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.decryptJsonWalletSync = + exports2.decryptJsonWallet = + exports2.getJsonWalletAddress = + exports2.isKeystoreWallet = + exports2.isCrowdsaleWallet = + exports2.encryptKeystore = + exports2.decryptKeystoreSync = + exports2.decryptKeystore = + exports2.decryptCrowdsale = + void 0; var crowdsale_1 = require_crowdsale(); - Object.defineProperty(exports2, "decryptCrowdsale", { enumerable: true, get: function() { - return crowdsale_1.decrypt; - } }); + Object.defineProperty(exports2, 'decryptCrowdsale', { + enumerable: true, + get: function () { + return crowdsale_1.decrypt; + }, + }); var inspect_1 = require_inspect(); - Object.defineProperty(exports2, "getJsonWalletAddress", { enumerable: true, get: function() { - return inspect_1.getJsonWalletAddress; - } }); - Object.defineProperty(exports2, "isCrowdsaleWallet", { enumerable: true, get: function() { - return inspect_1.isCrowdsaleWallet; - } }); - Object.defineProperty(exports2, "isKeystoreWallet", { enumerable: true, get: function() { - return inspect_1.isKeystoreWallet; - } }); + Object.defineProperty(exports2, 'getJsonWalletAddress', { + enumerable: true, + get: function () { + return inspect_1.getJsonWalletAddress; + }, + }); + Object.defineProperty(exports2, 'isCrowdsaleWallet', { + enumerable: true, + get: function () { + return inspect_1.isCrowdsaleWallet; + }, + }); + Object.defineProperty(exports2, 'isKeystoreWallet', { + enumerable: true, + get: function () { + return inspect_1.isKeystoreWallet; + }, + }); var keystore_1 = require_keystore(); - Object.defineProperty(exports2, "decryptKeystore", { enumerable: true, get: function() { - return keystore_1.decrypt; - } }); - Object.defineProperty(exports2, "decryptKeystoreSync", { enumerable: true, get: function() { - return keystore_1.decryptSync; - } }); - Object.defineProperty(exports2, "encryptKeystore", { enumerable: true, get: function() { - return keystore_1.encrypt; - } }); + Object.defineProperty(exports2, 'decryptKeystore', { + enumerable: true, + get: function () { + return keystore_1.decrypt; + }, + }); + Object.defineProperty(exports2, 'decryptKeystoreSync', { + enumerable: true, + get: function () { + return keystore_1.decryptSync; + }, + }); + Object.defineProperty(exports2, 'encryptKeystore', { + enumerable: true, + get: function () { + return keystore_1.encrypt; + }, + }); function decryptJsonWallet(json, password, progressCallback) { if ((0, inspect_1.isCrowdsaleWallet)(json)) { if (progressCallback) { @@ -18556,7 +19530,7 @@ var require_lib21 = __commonJS({ if ((0, inspect_1.isKeystoreWallet)(json)) { return (0, keystore_1.decrypt)(json, password, progressCallback); } - return Promise.reject(new Error("invalid JSON wallet")); + return Promise.reject(new Error('invalid JSON wallet')); } exports2.decryptJsonWallet = decryptJsonWallet; function decryptJsonWalletSync(json, password) { @@ -18566,53 +19540,53 @@ var require_lib21 = __commonJS({ if ((0, inspect_1.isKeystoreWallet)(json)) { return (0, keystore_1.decryptSync)(json, password); } - throw new Error("invalid JSON wallet"); + throw new Error('invalid JSON wallet'); } exports2.decryptJsonWalletSync = decryptJsonWalletSync; - } + }, }); // node_modules/@ethersproject/solidity/lib/_version.js var require_version16 = __commonJS({ - "node_modules/@ethersproject/solidity/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/solidity/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "solidity/5.5.0"; - } + exports2.version = 'solidity/5.5.0'; + }, }); // node_modules/@ethersproject/solidity/lib/index.js var require_lib22 = __commonJS({ - "node_modules/@ethersproject/solidity/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/solidity/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.sha256 = exports2.keccak256 = exports2.pack = void 0; var bignumber_1 = require_lib3(); var bytes_1 = require_lib2(); var keccak256_1 = require_lib5(); var sha2_1 = require_lib16(); var strings_1 = require_lib9(); - var regexBytes = new RegExp("^bytes([0-9]+)$"); - var regexNumber = new RegExp("^(u?int)([0-9]*)$"); - var regexArray = new RegExp("^(.*)\\[([0-9]*)\\]$"); - var Zeros = "0000000000000000000000000000000000000000000000000000000000000000"; + var regexBytes = new RegExp('^bytes([0-9]+)$'); + var regexNumber = new RegExp('^(u?int)([0-9]*)$'); + var regexArray = new RegExp('^(.*)\\[([0-9]*)\\]$'); + var Zeros = '0000000000000000000000000000000000000000000000000000000000000000'; var logger_1 = require_lib(); var _version_1 = require_version16(); var logger = new logger_1.Logger(_version_1.version); function _pack(type, value, isArray) { switch (type) { - case "address": + case 'address': if (isArray) { return (0, bytes_1.zeroPad)(value, 32); } return (0, bytes_1.arrayify)(value); - case "string": + case 'string': return (0, strings_1.toUtf8Bytes)(value); - case "bytes": + case 'bytes': return (0, bytes_1.arrayify)(value); - case "bool": - value = value ? "0x01" : "0x00"; + case 'bool': + value = value ? '0x01' : '0x00'; if (isArray) { return (0, bytes_1.zeroPad)(value, 32); } @@ -18620,9 +19594,9 @@ var require_lib22 = __commonJS({ } var match = type.match(regexNumber); if (match) { - var size = parseInt(match[2] || "256"); - if (match[2] && String(size) !== match[2] || size % 8 !== 0 || size === 0 || size > 256) { - logger.throwArgumentError("invalid number type", "type", type); + var size = parseInt(match[2] || '256'); + if ((match[2] && String(size) !== match[2]) || size % 8 !== 0 || size === 0 || size > 256) { + logger.throwArgumentError('invalid number type', 'type', type); } if (isArray) { size = 256; @@ -18634,10 +19608,10 @@ var require_lib22 = __commonJS({ if (match) { var size = parseInt(match[1]); if (String(size) !== match[1] || size === 0 || size > 32) { - logger.throwArgumentError("invalid bytes type", "type", type); + logger.throwArgumentError('invalid bytes type', 'type', type); } if ((0, bytes_1.arrayify)(value).byteLength !== size) { - logger.throwArgumentError("invalid value for " + type, "value", value); + logger.throwArgumentError('invalid value for ' + type, 'value', value); } if (isArray) { return (0, bytes_1.arrayify)((value + Zeros).substring(0, 66)); @@ -18649,22 +19623,26 @@ var require_lib22 = __commonJS({ var baseType_1 = match[1]; var count = parseInt(match[2] || String(value.length)); if (count != value.length) { - logger.throwArgumentError("invalid array length for " + type, "value", value); + logger.throwArgumentError('invalid array length for ' + type, 'value', value); } var result_1 = []; - value.forEach(function(value2) { + value.forEach(function (value2) { result_1.push(_pack(baseType_1, value2, true)); }); return (0, bytes_1.concat)(result_1); } - return logger.throwArgumentError("invalid type", "type", type); + return logger.throwArgumentError('invalid type', 'type', type); } function pack(types, values) { if (types.length != values.length) { - logger.throwArgumentError("wrong number of values; expected ${ types.length }", "values", values); + logger.throwArgumentError( + 'wrong number of values; expected ${ types.length }', + 'values', + values + ); } var tight = []; - types.forEach(function(type, index) { + types.forEach(function (type, index) { tight.push(_pack(type, values[index])); }); return (0, bytes_1.hexlify)((0, bytes_1.concat)(tight)); @@ -18678,60 +19656,63 @@ var require_lib22 = __commonJS({ return (0, sha2_1.sha256)(pack(types, values)); } exports2.sha256 = sha256; - } + }, }); // node_modules/@ethersproject/units/lib/_version.js var require_version17 = __commonJS({ - "node_modules/@ethersproject/units/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/units/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "units/5.5.0"; - } + exports2.version = 'units/5.5.0'; + }, }); // node_modules/@ethersproject/units/lib/index.js var require_lib23 = __commonJS({ - "node_modules/@ethersproject/units/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.parseEther = exports2.formatEther = exports2.parseUnits = exports2.formatUnits = exports2.commify = void 0; + 'node_modules/@ethersproject/units/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.parseEther = + exports2.formatEther = + exports2.parseUnits = + exports2.formatUnits = + exports2.commify = + void 0; var bignumber_1 = require_lib3(); var logger_1 = require_lib(); var _version_1 = require_version17(); var logger = new logger_1.Logger(_version_1.version); - var names = [ - "wei", - "kwei", - "mwei", - "gwei", - "szabo", - "finney", - "ether" - ]; + var names = ['wei', 'kwei', 'mwei', 'gwei', 'szabo', 'finney', 'ether']; function commify(value) { - var comps = String(value).split("."); - if (comps.length > 2 || !comps[0].match(/^-?[0-9]*$/) || comps[1] && !comps[1].match(/^[0-9]*$/) || value === "." || value === "-.") { - logger.throwArgumentError("invalid value", "value", value); + var comps = String(value).split('.'); + if ( + comps.length > 2 || + !comps[0].match(/^-?[0-9]*$/) || + (comps[1] && !comps[1].match(/^[0-9]*$/)) || + value === '.' || + value === '-.' + ) { + logger.throwArgumentError('invalid value', 'value', value); } var whole = comps[0]; - var negative = ""; - if (whole.substring(0, 1) === "-") { - negative = "-"; + var negative = ''; + if (whole.substring(0, 1) === '-') { + negative = '-'; whole = whole.substring(1); } - while (whole.substring(0, 1) === "0") { + while (whole.substring(0, 1) === '0') { whole = whole.substring(1); } - if (whole === "") { - whole = "0"; + if (whole === '') { + whole = '0'; } - var suffix = ""; + var suffix = ''; if (comps.length === 2) { - suffix = "." + (comps[1] || "0"); + suffix = '.' + (comps[1] || '0'); } - while (suffix.length > 2 && suffix[suffix.length - 1] === "0") { + while (suffix.length > 2 && suffix[suffix.length - 1] === '0') { suffix = suffix.substring(0, suffix.length - 1); } var formatted = []; @@ -18745,11 +19726,11 @@ var require_lib23 = __commonJS({ whole = whole.substring(0, index); } } - return negative + formatted.join(",") + suffix; + return negative + formatted.join(',') + suffix; } exports2.commify = commify; function formatUnits(value, unitName) { - if (typeof unitName === "string") { + if (typeof unitName === 'string') { var index = names.indexOf(unitName); if (index !== -1) { unitName = 3 * index; @@ -18759,10 +19740,10 @@ var require_lib23 = __commonJS({ } exports2.formatUnits = formatUnits; function parseUnits(value, unitName) { - if (typeof value !== "string") { - logger.throwArgumentError("value must be a string", "value", value); + if (typeof value !== 'string') { + logger.throwArgumentError('value must be a string', 'value', value); } - if (typeof unitName === "string") { + if (typeof unitName === 'string') { var index = names.indexOf(unitName); if (index !== -1) { unitName = 3 * index; @@ -18779,247 +19760,292 @@ var require_lib23 = __commonJS({ return parseUnits(ether, 18); } exports2.parseEther = parseEther; - } + }, }); // node_modules/@ethersproject/abstract-provider/lib/_version.js var require_version18 = __commonJS({ - "node_modules/@ethersproject/abstract-provider/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/abstract-provider/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "abstract-provider/5.5.1"; - } + exports2.version = 'abstract-provider/5.5.1'; + }, }); // node_modules/@ethersproject/abstract-provider/lib/index.js var require_lib24 = __commonJS({ - "node_modules/@ethersproject/abstract-provider/lib/index.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abstract-provider/lib/index.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Provider = exports2.TransactionOrderForkEvent = exports2.TransactionForkEvent = exports2.BlockForkEvent = exports2.ForkEvent = void 0; + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Provider = + exports2.TransactionOrderForkEvent = + exports2.TransactionForkEvent = + exports2.BlockForkEvent = + exports2.ForkEvent = + void 0; var bignumber_1 = require_lib3(); var bytes_1 = require_lib2(); var properties_1 = require_lib4(); var logger_1 = require_lib(); var _version_1 = require_version18(); var logger = new logger_1.Logger(_version_1.version); - var ForkEvent = function(_super) { + var ForkEvent = (function (_super) { __extends(ForkEvent2, _super); function ForkEvent2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - ForkEvent2.isForkEvent = function(value) { + ForkEvent2.isForkEvent = function (value) { return !!(value && value._isForkEvent); }; return ForkEvent2; - }(properties_1.Description); + })(properties_1.Description); exports2.ForkEvent = ForkEvent; - var BlockForkEvent = function(_super) { + var BlockForkEvent = (function (_super) { __extends(BlockForkEvent2, _super); function BlockForkEvent2(blockHash, expiry) { var _this = this; if (!(0, bytes_1.isHexString)(blockHash, 32)) { - logger.throwArgumentError("invalid blockHash", "blockHash", blockHash); - } - _this = _super.call(this, { - _isForkEvent: true, - _isBlockForkEvent: true, - expiry: expiry || 0, - blockHash - }) || this; + logger.throwArgumentError('invalid blockHash', 'blockHash', blockHash); + } + _this = + _super.call(this, { + _isForkEvent: true, + _isBlockForkEvent: true, + expiry: expiry || 0, + blockHash, + }) || this; return _this; } return BlockForkEvent2; - }(ForkEvent); + })(ForkEvent); exports2.BlockForkEvent = BlockForkEvent; - var TransactionForkEvent = function(_super) { + var TransactionForkEvent = (function (_super) { __extends(TransactionForkEvent2, _super); function TransactionForkEvent2(hash, expiry) { var _this = this; if (!(0, bytes_1.isHexString)(hash, 32)) { - logger.throwArgumentError("invalid transaction hash", "hash", hash); - } - _this = _super.call(this, { - _isForkEvent: true, - _isTransactionForkEvent: true, - expiry: expiry || 0, - hash - }) || this; + logger.throwArgumentError('invalid transaction hash', 'hash', hash); + } + _this = + _super.call(this, { + _isForkEvent: true, + _isTransactionForkEvent: true, + expiry: expiry || 0, + hash, + }) || this; return _this; } return TransactionForkEvent2; - }(ForkEvent); + })(ForkEvent); exports2.TransactionForkEvent = TransactionForkEvent; - var TransactionOrderForkEvent = function(_super) { + var TransactionOrderForkEvent = (function (_super) { __extends(TransactionOrderForkEvent2, _super); function TransactionOrderForkEvent2(beforeHash, afterHash, expiry) { var _this = this; if (!(0, bytes_1.isHexString)(beforeHash, 32)) { - logger.throwArgumentError("invalid transaction hash", "beforeHash", beforeHash); + logger.throwArgumentError('invalid transaction hash', 'beforeHash', beforeHash); } if (!(0, bytes_1.isHexString)(afterHash, 32)) { - logger.throwArgumentError("invalid transaction hash", "afterHash", afterHash); - } - _this = _super.call(this, { - _isForkEvent: true, - _isTransactionOrderForkEvent: true, - expiry: expiry || 0, - beforeHash, - afterHash - }) || this; + logger.throwArgumentError('invalid transaction hash', 'afterHash', afterHash); + } + _this = + _super.call(this, { + _isForkEvent: true, + _isTransactionOrderForkEvent: true, + expiry: expiry || 0, + beforeHash, + afterHash, + }) || this; return _this; } return TransactionOrderForkEvent2; - }(ForkEvent); + })(ForkEvent); exports2.TransactionOrderForkEvent = TransactionOrderForkEvent; - var Provider = function() { + var Provider = (function () { function Provider2() { var _newTarget = this.constructor; logger.checkAbstract(_newTarget, Provider2); - (0, properties_1.defineReadOnly)(this, "_isProvider", true); + (0, properties_1.defineReadOnly)(this, '_isProvider', true); } - Provider2.prototype.getFeeData = function() { - return __awaiter(this, void 0, void 0, function() { + Provider2.prototype.getFeeData = function () { + return __awaiter(this, void 0, void 0, function () { var _a7, block, gasPrice, maxFeePerGas, maxPriorityFeePerGas; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: - return [4, (0, properties_1.resolveProperties)({ - block: this.getBlock("latest"), - gasPrice: this.getGasPrice().catch(function(error) { - return null; - }) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + block: this.getBlock('latest'), + gasPrice: this.getGasPrice().catch(function (error) { + return null; + }), + }), + ]; case 1: - _a7 = _b.sent(), block = _a7.block, gasPrice = _a7.gasPrice; - maxFeePerGas = null, maxPriorityFeePerGas = null; + (_a7 = _b.sent()), (block = _a7.block), (gasPrice = _a7.gasPrice); + (maxFeePerGas = null), (maxPriorityFeePerGas = null); if (block && block.baseFeePerGas) { - maxPriorityFeePerGas = bignumber_1.BigNumber.from("2500000000"); + maxPriorityFeePerGas = bignumber_1.BigNumber.from('2500000000'); maxFeePerGas = block.baseFeePerGas.mul(2).add(maxPriorityFeePerGas); } return [2, { maxFeePerGas, maxPriorityFeePerGas, gasPrice }]; @@ -19027,197 +20053,231 @@ var require_lib24 = __commonJS({ }); }); }; - Provider2.prototype.addListener = function(eventName, listener) { + Provider2.prototype.addListener = function (eventName, listener) { return this.on(eventName, listener); }; - Provider2.prototype.removeListener = function(eventName, listener) { + Provider2.prototype.removeListener = function (eventName, listener) { return this.off(eventName, listener); }; - Provider2.isProvider = function(value) { + Provider2.isProvider = function (value) { return !!(value && value._isProvider); }; return Provider2; - }(); + })(); exports2.Provider = Provider; - } + }, }); // node_modules/@ethersproject/abstract-signer/lib/_version.js var require_version19 = __commonJS({ - "node_modules/@ethersproject/abstract-signer/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/abstract-signer/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "abstract-signer/5.5.0"; - } + exports2.version = 'abstract-signer/5.5.0'; + }, }); // node_modules/@ethersproject/abstract-signer/lib/index.js var require_lib25 = __commonJS({ - "node_modules/@ethersproject/abstract-signer/lib/index.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/abstract-signer/lib/index.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.VoidSigner = exports2.Signer = void 0; var properties_1 = require_lib4(); var logger_1 = require_lib(); var _version_1 = require_version19(); var logger = new logger_1.Logger(_version_1.version); var allowedTransactionKeys = [ - "accessList", - "chainId", - "customData", - "data", - "from", - "gasLimit", - "gasPrice", - "maxFeePerGas", - "maxPriorityFeePerGas", - "nonce", - "to", - "type", - "value" + 'accessList', + 'chainId', + 'customData', + 'data', + 'from', + 'gasLimit', + 'gasPrice', + 'maxFeePerGas', + 'maxPriorityFeePerGas', + 'nonce', + 'to', + 'type', + 'value', ]; var forwardErrors = [ logger_1.Logger.errors.INSUFFICIENT_FUNDS, logger_1.Logger.errors.NONCE_EXPIRED, - logger_1.Logger.errors.REPLACEMENT_UNDERPRICED + logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, ]; - var Signer = function() { + var Signer = (function () { function Signer2() { var _newTarget = this.constructor; logger.checkAbstract(_newTarget, Signer2); - (0, properties_1.defineReadOnly)(this, "_isSigner", true); + (0, properties_1.defineReadOnly)(this, '_isSigner', true); } - Signer2.prototype.getBalance = function(blockTag) { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + Signer2.prototype.getBalance = function (blockTag) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("getBalance"); + this._checkProvider('getBalance'); return [4, this.provider.getBalance(this.getAddress(), blockTag)]; case 1: return [2, _a7.sent()]; @@ -19225,12 +20285,12 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.getTransactionCount = function(blockTag) { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + Signer2.prototype.getTransactionCount = function (blockTag) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("getTransactionCount"); + this._checkProvider('getTransactionCount'); return [4, this.provider.getTransactionCount(this.getAddress(), blockTag)]; case 1: return [2, _a7.sent()]; @@ -19238,13 +20298,13 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.estimateGas = function(transaction) { - return __awaiter(this, void 0, void 0, function() { + Signer2.prototype.estimateGas = function (transaction) { + return __awaiter(this, void 0, void 0, function () { var tx; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("estimateGas"); + this._checkProvider('estimateGas'); return [4, (0, properties_1.resolveProperties)(this.checkTransaction(transaction))]; case 1: tx = _a7.sent(); @@ -19255,13 +20315,13 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.call = function(transaction, blockTag) { - return __awaiter(this, void 0, void 0, function() { + Signer2.prototype.call = function (transaction, blockTag) { + return __awaiter(this, void 0, void 0, function () { var tx; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("call"); + this._checkProvider('call'); return [4, (0, properties_1.resolveProperties)(this.checkTransaction(transaction))]; case 1: tx = _a7.sent(); @@ -19272,13 +20332,13 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.sendTransaction = function(transaction) { - return __awaiter(this, void 0, void 0, function() { + Signer2.prototype.sendTransaction = function (transaction) { + return __awaiter(this, void 0, void 0, function () { var tx, signedTx; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("sendTransaction"); + this._checkProvider('sendTransaction'); return [4, this.populateTransaction(transaction)]; case 1: tx = _a7.sent(); @@ -19292,13 +20352,13 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.getChainId = function() { - return __awaiter(this, void 0, void 0, function() { + Signer2.prototype.getChainId = function () { + return __awaiter(this, void 0, void 0, function () { var network; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("getChainId"); + this._checkProvider('getChainId'); return [4, this.provider.getNetwork()]; case 1: network = _a7.sent(); @@ -19307,12 +20367,12 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.getGasPrice = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + Signer2.prototype.getGasPrice = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("getGasPrice"); + this._checkProvider('getGasPrice'); return [4, this.provider.getGasPrice()]; case 1: return [2, _a7.sent()]; @@ -19320,12 +20380,12 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.getFeeData = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + Signer2.prototype.getFeeData = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("getFeeData"); + this._checkProvider('getFeeData'); return [4, this.provider.getFeeData()]; case 1: return [2, _a7.sent()]; @@ -19333,12 +20393,12 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.resolveName = function(name2) { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + Signer2.prototype.resolveName = function (name2) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - this._checkProvider("resolveName"); + this._checkProvider('resolveName'); return [4, this.provider.resolveName(name2)]; case 1: return [2, _a7.sent()]; @@ -19346,43 +20406,46 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype.checkTransaction = function(transaction) { + Signer2.prototype.checkTransaction = function (transaction) { for (var key in transaction) { if (allowedTransactionKeys.indexOf(key) === -1) { - logger.throwArgumentError("invalid transaction key: " + key, "transaction", transaction); + logger.throwArgumentError( + 'invalid transaction key: ' + key, + 'transaction', + transaction + ); } } var tx = (0, properties_1.shallowCopy)(transaction); if (tx.from == null) { tx.from = this.getAddress(); } else { - tx.from = Promise.all([ - Promise.resolve(tx.from), - this.getAddress() - ]).then(function(result) { + tx.from = Promise.all([Promise.resolve(tx.from), this.getAddress()]).then(function ( + result + ) { if (result[0].toLowerCase() !== result[1].toLowerCase()) { - logger.throwArgumentError("from address mismatch", "transaction", transaction); + logger.throwArgumentError('from address mismatch', 'transaction', transaction); } return result[0]; }); } return tx; }; - Signer2.prototype.populateTransaction = function(transaction) { - return __awaiter(this, void 0, void 0, function() { + Signer2.prototype.populateTransaction = function (transaction) { + return __awaiter(this, void 0, void 0, function () { var tx, hasEip1559, feeData, gasPrice; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, (0, properties_1.resolveProperties)(this.checkTransaction(transaction))]; case 1: tx = _a7.sent(); if (tx.to != null) { - tx.to = Promise.resolve(tx.to).then(function(to) { - return __awaiter(_this, void 0, void 0, function() { + tx.to = Promise.resolve(tx.to).then(function (to) { + return __awaiter(_this, void 0, void 0, function () { var address; - return __generator(this, function(_a8) { + return __generator(this, function (_a8) { switch (_a8.label) { case 0: if (to == null) { @@ -19392,29 +20455,45 @@ var require_lib25 = __commonJS({ case 1: address = _a8.sent(); if (address == null) { - logger.throwArgumentError("provided ENS name resolves to null", "tx.to", to); + logger.throwArgumentError( + 'provided ENS name resolves to null', + 'tx.to', + to + ); } return [2, address]; } }); }); }); - tx.to.catch(function(error) { - }); + tx.to.catch(function (error) {}); } hasEip1559 = tx.maxFeePerGas != null || tx.maxPriorityFeePerGas != null; if (tx.gasPrice != null && (tx.type === 2 || hasEip1559)) { - logger.throwArgumentError("eip-1559 transaction do not support gasPrice", "transaction", transaction); + logger.throwArgumentError( + 'eip-1559 transaction do not support gasPrice', + 'transaction', + transaction + ); } else if ((tx.type === 0 || tx.type === 1) && hasEip1559) { - logger.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas", "transaction", transaction); + logger.throwArgumentError( + 'pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas', + 'transaction', + transaction + ); } - if (!((tx.type === 2 || tx.type == null) && (tx.maxFeePerGas != null && tx.maxPriorityFeePerGas != null))) + if ( + !( + (tx.type === 2 || tx.type == null) && + tx.maxFeePerGas != null && + tx.maxPriorityFeePerGas != null + ) + ) return [3, 2]; tx.type = 2; return [3, 5]; case 2: - if (!(tx.type === 0 || tx.type === 1)) - return [3, 3]; + if (!(tx.type === 0 || tx.type === 1)) return [3, 3]; if (tx.gasPrice == null) { tx.gasPrice = this.getGasPrice(); } @@ -19441,18 +20520,26 @@ var require_lib25 = __commonJS({ } } else if (feeData.gasPrice != null) { if (hasEip1559) { - logger.throwError("network does not support EIP-1559", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "populateTransaction" - }); + logger.throwError( + 'network does not support EIP-1559', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'populateTransaction', + } + ); } if (tx.gasPrice == null) { tx.gasPrice = feeData.gasPrice; } tx.type = 0; } else { - logger.throwError("failed to get consistent fee data", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "signer.getFeeData" - }); + logger.throwError( + 'failed to get consistent fee data', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'signer.getFeeData', + } + ); } } else if (tx.type === 2) { if (tx.maxFeePerGas == null) { @@ -19465,31 +20552,38 @@ var require_lib25 = __commonJS({ _a7.label = 5; case 5: if (tx.nonce == null) { - tx.nonce = this.getTransactionCount("pending"); + tx.nonce = this.getTransactionCount('pending'); } if (tx.gasLimit == null) { - tx.gasLimit = this.estimateGas(tx).catch(function(error) { + tx.gasLimit = this.estimateGas(tx).catch(function (error) { if (forwardErrors.indexOf(error.code) >= 0) { throw error; } - return logger.throwError("cannot estimate gas; transaction may fail or may require manual gas limit", logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, { - error, - tx - }); + return logger.throwError( + 'cannot estimate gas; transaction may fail or may require manual gas limit', + logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, + { + error, + tx, + } + ); }); } if (tx.chainId == null) { tx.chainId = this.getChainId(); } else { - tx.chainId = Promise.all([ - Promise.resolve(tx.chainId), - this.getChainId() - ]).then(function(results) { - if (results[1] !== 0 && results[0] !== results[1]) { - logger.throwArgumentError("chainId address mismatch", "transaction", transaction); + tx.chainId = Promise.all([Promise.resolve(tx.chainId), this.getChainId()]).then( + function (results) { + if (results[1] !== 0 && results[0] !== results[1]) { + logger.throwArgumentError( + 'chainId address mismatch', + 'transaction', + transaction + ); + } + return results[0]; } - return results[0]; - }); + ); } return [4, (0, properties_1.resolveProperties)(tx)]; case 6: @@ -19498,195 +20592,229 @@ var require_lib25 = __commonJS({ }); }); }; - Signer2.prototype._checkProvider = function(operation) { + Signer2.prototype._checkProvider = function (operation) { if (!this.provider) { - logger.throwError("missing provider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: operation || "_checkProvider" + logger.throwError('missing provider', logger_1.Logger.errors.UNSUPPORTED_OPERATION, { + operation: operation || '_checkProvider', }); } }; - Signer2.isSigner = function(value) { + Signer2.isSigner = function (value) { return !!(value && value._isSigner); }; return Signer2; - }(); + })(); exports2.Signer = Signer; - var VoidSigner = function(_super) { + var VoidSigner = (function (_super) { __extends(VoidSigner2, _super); function VoidSigner2(address, provider) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, VoidSigner2); _this = _super.call(this) || this; - (0, properties_1.defineReadOnly)(_this, "address", address); - (0, properties_1.defineReadOnly)(_this, "provider", provider || null); + (0, properties_1.defineReadOnly)(_this, 'address', address); + (0, properties_1.defineReadOnly)(_this, 'provider', provider || null); return _this; } - VoidSigner2.prototype.getAddress = function() { + VoidSigner2.prototype.getAddress = function () { return Promise.resolve(this.address); }; - VoidSigner2.prototype._fail = function(message, operation) { - return Promise.resolve().then(function() { + VoidSigner2.prototype._fail = function (message, operation) { + return Promise.resolve().then(function () { logger.throwError(message, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation }); }); }; - VoidSigner2.prototype.signMessage = function(message) { - return this._fail("VoidSigner cannot sign messages", "signMessage"); + VoidSigner2.prototype.signMessage = function (message) { + return this._fail('VoidSigner cannot sign messages', 'signMessage'); }; - VoidSigner2.prototype.signTransaction = function(transaction) { - return this._fail("VoidSigner cannot sign transactions", "signTransaction"); + VoidSigner2.prototype.signTransaction = function (transaction) { + return this._fail('VoidSigner cannot sign transactions', 'signTransaction'); }; - VoidSigner2.prototype._signTypedData = function(domain, types, value) { - return this._fail("VoidSigner cannot sign typed data", "signTypedData"); + VoidSigner2.prototype._signTypedData = function (domain, types, value) { + return this._fail('VoidSigner cannot sign typed data', 'signTypedData'); }; - VoidSigner2.prototype.connect = function(provider) { + VoidSigner2.prototype.connect = function (provider) { return new VoidSigner2(this.address, provider); }; return VoidSigner2; - }(Signer); + })(Signer); exports2.VoidSigner = VoidSigner; - } + }, }); // node_modules/@ethersproject/wallet/lib/_version.js var require_version20 = __commonJS({ - "node_modules/@ethersproject/wallet/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/wallet/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "wallet/5.5.0"; - } + exports2.version = 'wallet/5.5.0'; + }, }); // node_modules/@ethersproject/wallet/lib/index.js var require_lib26 = __commonJS({ - "node_modules/@ethersproject/wallet/lib/index.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/wallet/lib/index.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.verifyTypedData = exports2.verifyMessage = exports2.Wallet = void 0; var address_1 = require_lib7(); var abstract_provider_1 = require_lib24(); @@ -19704,13 +20832,15 @@ var require_lib26 = __commonJS({ var _version_1 = require_version20(); var logger = new logger_1.Logger(_version_1.version); function isAccount(value) { - return value != null && (0, bytes_1.isHexString)(value.privateKey, 32) && value.address != null; + return ( + value != null && (0, bytes_1.isHexString)(value.privateKey, 32) && value.address != null + ); } function hasMnemonic(value) { var mnemonic = value.mnemonic; return mnemonic && mnemonic.phrase; } - var Wallet = function(_super) { + var Wallet = (function (_super) { __extends(Wallet2, _super); function Wallet2(privateKey, provider) { var _newTarget = this.constructor; @@ -19719,363 +20849,447 @@ var require_lib26 = __commonJS({ _this = _super.call(this) || this; if (isAccount(privateKey)) { var signingKey_1 = new signing_key_1.SigningKey(privateKey.privateKey); - (0, properties_1.defineReadOnly)(_this, "_signingKey", function() { + (0, properties_1.defineReadOnly)(_this, '_signingKey', function () { return signingKey_1; }); - (0, properties_1.defineReadOnly)(_this, "address", (0, transactions_1.computeAddress)(_this.publicKey)); + (0, properties_1.defineReadOnly)( + _this, + 'address', + (0, transactions_1.computeAddress)(_this.publicKey) + ); if (_this.address !== (0, address_1.getAddress)(privateKey.address)) { - logger.throwArgumentError("privateKey/address mismatch", "privateKey", "[REDACTED]"); + logger.throwArgumentError('privateKey/address mismatch', 'privateKey', '[REDACTED]'); } if (hasMnemonic(privateKey)) { var srcMnemonic_1 = privateKey.mnemonic; - (0, properties_1.defineReadOnly)(_this, "_mnemonic", function() { + (0, properties_1.defineReadOnly)(_this, '_mnemonic', function () { return { phrase: srcMnemonic_1.phrase, path: srcMnemonic_1.path || hdnode_1.defaultPath, - locale: srcMnemonic_1.locale || "en" + locale: srcMnemonic_1.locale || 'en', }; }); var mnemonic = _this.mnemonic; - var node = hdnode_1.HDNode.fromMnemonic(mnemonic.phrase, null, mnemonic.locale).derivePath(mnemonic.path); + var node = hdnode_1.HDNode.fromMnemonic( + mnemonic.phrase, + null, + mnemonic.locale + ).derivePath(mnemonic.path); if ((0, transactions_1.computeAddress)(node.privateKey) !== _this.address) { - logger.throwArgumentError("mnemonic/address mismatch", "privateKey", "[REDACTED]"); + logger.throwArgumentError('mnemonic/address mismatch', 'privateKey', '[REDACTED]'); } } else { - (0, properties_1.defineReadOnly)(_this, "_mnemonic", function() { + (0, properties_1.defineReadOnly)(_this, '_mnemonic', function () { return null; }); } } else { if (signing_key_1.SigningKey.isSigningKey(privateKey)) { - if (privateKey.curve !== "secp256k1") { - logger.throwArgumentError("unsupported curve; must be secp256k1", "privateKey", "[REDACTED]"); + if (privateKey.curve !== 'secp256k1') { + logger.throwArgumentError( + 'unsupported curve; must be secp256k1', + 'privateKey', + '[REDACTED]' + ); } - (0, properties_1.defineReadOnly)(_this, "_signingKey", function() { + (0, properties_1.defineReadOnly)(_this, '_signingKey', function () { return privateKey; }); } else { - if (typeof privateKey === "string") { + if (typeof privateKey === 'string') { if (privateKey.match(/^[0-9a-f]*$/i) && privateKey.length === 64) { - privateKey = "0x" + privateKey; + privateKey = '0x' + privateKey; } } var signingKey_2 = new signing_key_1.SigningKey(privateKey); - (0, properties_1.defineReadOnly)(_this, "_signingKey", function() { + (0, properties_1.defineReadOnly)(_this, '_signingKey', function () { return signingKey_2; }); } - (0, properties_1.defineReadOnly)(_this, "_mnemonic", function() { + (0, properties_1.defineReadOnly)(_this, '_mnemonic', function () { return null; }); - (0, properties_1.defineReadOnly)(_this, "address", (0, transactions_1.computeAddress)(_this.publicKey)); + (0, properties_1.defineReadOnly)( + _this, + 'address', + (0, transactions_1.computeAddress)(_this.publicKey) + ); } if (provider && !abstract_provider_1.Provider.isProvider(provider)) { - logger.throwArgumentError("invalid provider", "provider", provider); + logger.throwArgumentError('invalid provider', 'provider', provider); } - (0, properties_1.defineReadOnly)(_this, "provider", provider || null); + (0, properties_1.defineReadOnly)(_this, 'provider', provider || null); return _this; } - Object.defineProperty(Wallet2.prototype, "mnemonic", { - get: function() { + Object.defineProperty(Wallet2.prototype, 'mnemonic', { + get: function () { return this._mnemonic(); }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Wallet2.prototype, "privateKey", { - get: function() { + Object.defineProperty(Wallet2.prototype, 'privateKey', { + get: function () { return this._signingKey().privateKey; }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Wallet2.prototype, "publicKey", { - get: function() { + Object.defineProperty(Wallet2.prototype, 'publicKey', { + get: function () { return this._signingKey().publicKey; }, enumerable: false, - configurable: true + configurable: true, }); - Wallet2.prototype.getAddress = function() { + Wallet2.prototype.getAddress = function () { return Promise.resolve(this.address); }; - Wallet2.prototype.connect = function(provider) { + Wallet2.prototype.connect = function (provider) { return new Wallet2(this, provider); }; - Wallet2.prototype.signTransaction = function(transaction) { + Wallet2.prototype.signTransaction = function (transaction) { var _this = this; - return (0, properties_1.resolveProperties)(transaction).then(function(tx) { + return (0, properties_1.resolveProperties)(transaction).then(function (tx) { if (tx.from != null) { if ((0, address_1.getAddress)(tx.from) !== _this.address) { - logger.throwArgumentError("transaction from address mismatch", "transaction.from", transaction.from); + logger.throwArgumentError( + 'transaction from address mismatch', + 'transaction.from', + transaction.from + ); } delete tx.from; } - var signature = _this._signingKey().signDigest((0, keccak256_1.keccak256)((0, transactions_1.serialize)(tx))); + var signature = _this + ._signingKey() + .signDigest((0, keccak256_1.keccak256)((0, transactions_1.serialize)(tx))); return (0, transactions_1.serialize)(tx, signature); }); }; - Wallet2.prototype.signMessage = function(message) { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { - return [2, (0, bytes_1.joinSignature)(this._signingKey().signDigest((0, hash_1.hashMessage)(message)))]; + Wallet2.prototype.signMessage = function (message) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { + return [ + 2, + (0, bytes_1.joinSignature)( + this._signingKey().signDigest((0, hash_1.hashMessage)(message)) + ), + ]; }); }); }; - Wallet2.prototype._signTypedData = function(domain, types, value) { - return __awaiter(this, void 0, void 0, function() { + Wallet2.prototype._signTypedData = function (domain, types, value) { + return __awaiter(this, void 0, void 0, function () { var populated; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - return [4, hash_1._TypedDataEncoder.resolveNames(domain, types, value, function(name2) { - if (_this.provider == null) { - logger.throwError("cannot resolve ENS names without a provider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "resolveName", - value: name2 - }); - } - return _this.provider.resolveName(name2); - })]; + return [ + 4, + hash_1._TypedDataEncoder.resolveNames(domain, types, value, function (name2) { + if (_this.provider == null) { + logger.throwError( + 'cannot resolve ENS names without a provider', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'resolveName', + value: name2, + } + ); + } + return _this.provider.resolveName(name2); + }), + ]; case 1: populated = _a7.sent(); - return [2, (0, bytes_1.joinSignature)(this._signingKey().signDigest(hash_1._TypedDataEncoder.hash(populated.domain, types, populated.value)))]; + return [ + 2, + (0, bytes_1.joinSignature)( + this._signingKey().signDigest( + hash_1._TypedDataEncoder.hash(populated.domain, types, populated.value) + ) + ), + ]; } }); }); }; - Wallet2.prototype.encrypt = function(password, options2, progressCallback) { - if (typeof options2 === "function" && !progressCallback) { + Wallet2.prototype.encrypt = function (password, options2, progressCallback) { + if (typeof options2 === 'function' && !progressCallback) { progressCallback = options2; options2 = {}; } - if (progressCallback && typeof progressCallback !== "function") { - throw new Error("invalid callback"); + if (progressCallback && typeof progressCallback !== 'function') { + throw new Error('invalid callback'); } if (!options2) { options2 = {}; } return (0, json_wallets_1.encryptKeystore)(this, password, options2, progressCallback); }; - Wallet2.createRandom = function(options2) { + Wallet2.createRandom = function (options2) { var entropy = (0, random_1.randomBytes)(16); if (!options2) { options2 = {}; } if (options2.extraEntropy) { - entropy = (0, bytes_1.arrayify)((0, bytes_1.hexDataSlice)((0, keccak256_1.keccak256)((0, bytes_1.concat)([entropy, options2.extraEntropy])), 0, 16)); + entropy = (0, bytes_1.arrayify)( + (0, bytes_1.hexDataSlice)( + (0, keccak256_1.keccak256)((0, bytes_1.concat)([entropy, options2.extraEntropy])), + 0, + 16 + ) + ); } var mnemonic = (0, hdnode_1.entropyToMnemonic)(entropy, options2.locale); return Wallet2.fromMnemonic(mnemonic, options2.path, options2.locale); }; - Wallet2.fromEncryptedJson = function(json, password, progressCallback) { - return (0, json_wallets_1.decryptJsonWallet)(json, password, progressCallback).then(function(account) { - return new Wallet2(account); - }); + Wallet2.fromEncryptedJson = function (json, password, progressCallback) { + return (0, json_wallets_1.decryptJsonWallet)(json, password, progressCallback).then( + function (account) { + return new Wallet2(account); + } + ); }; - Wallet2.fromEncryptedJsonSync = function(json, password) { + Wallet2.fromEncryptedJsonSync = function (json, password) { return new Wallet2((0, json_wallets_1.decryptJsonWalletSync)(json, password)); }; - Wallet2.fromMnemonic = function(mnemonic, path2, wordlist) { + Wallet2.fromMnemonic = function (mnemonic, path2, wordlist) { if (!path2) { path2 = hdnode_1.defaultPath; } - return new Wallet2(hdnode_1.HDNode.fromMnemonic(mnemonic, null, wordlist).derivePath(path2)); + return new Wallet2( + hdnode_1.HDNode.fromMnemonic(mnemonic, null, wordlist).derivePath(path2) + ); }; return Wallet2; - }(abstract_signer_1.Signer); + })(abstract_signer_1.Signer); exports2.Wallet = Wallet; function verifyMessage(message, signature) { return (0, transactions_1.recoverAddress)((0, hash_1.hashMessage)(message), signature); } exports2.verifyMessage = verifyMessage; function verifyTypedData(domain, types, value, signature) { - return (0, transactions_1.recoverAddress)(hash_1._TypedDataEncoder.hash(domain, types, value), signature); + return (0, transactions_1.recoverAddress)( + hash_1._TypedDataEncoder.hash(domain, types, value), + signature + ); } exports2.verifyTypedData = verifyTypedData; - } + }, }); // node_modules/@ethersproject/web/lib/_version.js var require_version21 = __commonJS({ - "node_modules/@ethersproject/web/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/web/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "web/5.5.1"; - } + exports2.version = 'web/5.5.1'; + }, }); // node_modules/@ethersproject/web/lib/geturl.js var require_geturl = __commonJS({ - "node_modules/@ethersproject/web/lib/geturl.js"(exports2) { - "use strict"; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } + 'node_modules/@ethersproject/web/lib/geturl.js'(exports2) { + 'use strict'; + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.getUrl = void 0; - var http_1 = __importDefault(require("http")); - var https_1 = __importDefault(require("https")); - var zlib_1 = require("zlib"); - var url_1 = require("url"); + var http_1 = __importDefault(require('http')); + var https_1 = __importDefault(require('https')); + var zlib_1 = require('zlib'); + var url_1 = require('url'); var bytes_1 = require_lib2(); var properties_1 = require_lib4(); var logger_1 = require_lib(); var _version_1 = require_version21(); var logger = new logger_1.Logger(_version_1.version); function getResponse(request) { - return new Promise(function(resolve, reject) { - request.once("response", function(resp) { + return new Promise(function (resolve, reject) { + request.once('response', function (resp) { var response = { statusCode: resp.statusCode, statusMessage: resp.statusMessage, - headers: Object.keys(resp.headers).reduce(function(accum, name2) { + headers: Object.keys(resp.headers).reduce(function (accum, name2) { var value = resp.headers[name2]; if (Array.isArray(value)) { - value = value.join(", "); + value = value.join(', '); } accum[name2] = value; return accum; }, {}), - body: null + body: null, }; - resp.on("data", function(chunk) { + resp.on('data', function (chunk) { if (response.body == null) { response.body = new Uint8Array(0); } response.body = (0, bytes_1.concat)([response.body, chunk]); }); - resp.on("end", function() { - if (response.headers["content-encoding"] === "gzip") { + resp.on('end', function () { + if (response.headers['content-encoding'] === 'gzip') { response.body = (0, bytes_1.arrayify)((0, zlib_1.gunzipSync)(response.body)); } resolve(response); }); - resp.on("error", function(error) { + resp.on('error', function (error) { error.response = response; reject(error); }); }); - request.on("error", function(error) { + request.on('error', function (error) { reject(error); }); }); } function nonnull(value) { if (value == null) { - return ""; + return ''; } return value; } function getUrl(href, options2) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var url, request, req, response; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: if (options2 == null) { @@ -20087,25 +21301,29 @@ var require_geturl = __commonJS({ hostname: nonnull(url.hostname), port: nonnull(url.port), path: nonnull(url.pathname) + nonnull(url.search), - method: options2.method || "GET", - headers: (0, properties_1.shallowCopy)(options2.headers || {}) + method: options2.method || 'GET', + headers: (0, properties_1.shallowCopy)(options2.headers || {}), }; if (options2.allowGzip) { - request.headers["accept-encoding"] = "gzip"; + request.headers['accept-encoding'] = 'gzip'; } req = null; switch (nonnull(url.protocol)) { - case "http:": + case 'http:': req = http_1.default.request(request); break; - case "https:": + case 'https:': req = https_1.default.request(request); break; default: - logger.throwError("unsupported protocol " + url.protocol, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - protocol: url.protocol, - operation: "request" - }); + logger.throwError( + 'unsupported protocol ' + url.protocol, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + protocol: url.protocol, + operation: 'request', + } + ); } if (options2.body) { req.write(Buffer.from(options2.body)); @@ -20120,117 +21338,145 @@ var require_geturl = __commonJS({ }); } exports2.getUrl = getUrl; - } + }, }); // node_modules/@ethersproject/web/lib/index.js var require_lib27 = __commonJS({ - "node_modules/@ethersproject/web/lib/index.js"(exports2) { - "use strict"; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } + 'node_modules/@ethersproject/web/lib/index.js'(exports2) { + 'use strict'; + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.poll = exports2.fetchJson = exports2._fetchData = void 0; var base64_1 = require_lib12(); var bytes_1 = require_lib2(); @@ -20241,7 +21487,7 @@ var require_lib27 = __commonJS({ var logger = new logger_1.Logger(_version_1.version); var geturl_1 = require_geturl(); function staller(duration) { - return new Promise(function(resolve) { + return new Promise(function (resolve) { setTimeout(resolve, duration); }); } @@ -20249,73 +21495,94 @@ var require_lib27 = __commonJS({ if (value == null) { return null; } - if (typeof value === "string") { + if (typeof value === 'string') { return value; } if ((0, bytes_1.isBytesLike)(value)) { - if (type && (type.split("/")[0] === "text" || type.split(";")[0].trim() === "application/json")) { + if ( + type && + (type.split('/')[0] === 'text' || type.split(';')[0].trim() === 'application/json') + ) { try { return (0, strings_1.toUtf8String)(value); - } catch (error) { - } - ; + } catch (error) {} } return (0, bytes_1.hexlify)(value); } return value; } function _fetchData(connection, body, processFunc) { - var attemptLimit = typeof connection === "object" && connection.throttleLimit != null ? connection.throttleLimit : 12; - logger.assertArgument(attemptLimit > 0 && attemptLimit % 1 === 0, "invalid connection throttle limit", "connection.throttleLimit", attemptLimit); - var throttleCallback = typeof connection === "object" ? connection.throttleCallback : null; - var throttleSlotInterval = typeof connection === "object" && typeof connection.throttleSlotInterval === "number" ? connection.throttleSlotInterval : 100; - logger.assertArgument(throttleSlotInterval > 0 && throttleSlotInterval % 1 === 0, "invalid connection throttle slot interval", "connection.throttleSlotInterval", throttleSlotInterval); + var attemptLimit = + typeof connection === 'object' && connection.throttleLimit != null + ? connection.throttleLimit + : 12; + logger.assertArgument( + attemptLimit > 0 && attemptLimit % 1 === 0, + 'invalid connection throttle limit', + 'connection.throttleLimit', + attemptLimit + ); + var throttleCallback = typeof connection === 'object' ? connection.throttleCallback : null; + var throttleSlotInterval = + typeof connection === 'object' && typeof connection.throttleSlotInterval === 'number' + ? connection.throttleSlotInterval + : 100; + logger.assertArgument( + throttleSlotInterval > 0 && throttleSlotInterval % 1 === 0, + 'invalid connection throttle slot interval', + 'connection.throttleSlotInterval', + throttleSlotInterval + ); var headers = {}; var url = null; var options2 = { - method: "GET" + method: 'GET', }; var allow304 = false; var timeout = 2 * 60 * 1e3; - if (typeof connection === "string") { + if (typeof connection === 'string') { url = connection; - } else if (typeof connection === "object") { + } else if (typeof connection === 'object') { if (connection == null || connection.url == null) { - logger.throwArgumentError("missing URL", "connection.url", connection); + logger.throwArgumentError('missing URL', 'connection.url', connection); } url = connection.url; - if (typeof connection.timeout === "number" && connection.timeout > 0) { + if (typeof connection.timeout === 'number' && connection.timeout > 0) { timeout = connection.timeout; } if (connection.headers) { for (var key in connection.headers) { headers[key.toLowerCase()] = { key, value: String(connection.headers[key]) }; - if (["if-none-match", "if-modified-since"].indexOf(key.toLowerCase()) >= 0) { + if (['if-none-match', 'if-modified-since'].indexOf(key.toLowerCase()) >= 0) { allow304 = true; } } } options2.allowGzip = !!connection.allowGzip; if (connection.user != null && connection.password != null) { - if (url.substring(0, 6) !== "https:" && connection.allowInsecureAuthentication !== true) { - logger.throwError("basic authentication requires a secure https url", logger_1.Logger.errors.INVALID_ARGUMENT, { argument: "url", url, user: connection.user, password: "[REDACTED]" }); + if (url.substring(0, 6) !== 'https:' && connection.allowInsecureAuthentication !== true) { + logger.throwError( + 'basic authentication requires a secure https url', + logger_1.Logger.errors.INVALID_ARGUMENT, + { argument: 'url', url, user: connection.user, password: '[REDACTED]' } + ); } - var authorization = connection.user + ":" + connection.password; - headers["authorization"] = { - key: "Authorization", - value: "Basic " + (0, base64_1.encode)((0, strings_1.toUtf8Bytes)(authorization)) + var authorization = connection.user + ':' + connection.password; + headers['authorization'] = { + key: 'Authorization', + value: 'Basic ' + (0, base64_1.encode)((0, strings_1.toUtf8Bytes)(authorization)), }; } } - var reData = new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$", "i"); + var reData = new RegExp('^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$', 'i'); var dataMatch = url ? url.match(reData) : null; if (dataMatch) { try { var response = { statusCode: 200, - statusMessage: "OK", - headers: { "content-type": dataMatch[1] }, - body: (0, base64_1.decode)(dataMatch[2]) + statusMessage: 'OK', + headers: { 'content-type': dataMatch[1] }, + body: (0, base64_1.decode)(dataMatch[2]), }; var result = response.body; if (processFunc) { @@ -20323,50 +21590,52 @@ var require_lib27 = __commonJS({ } return Promise.resolve(result); } catch (error) { - logger.throwError("processing response error", logger_1.Logger.errors.SERVER_ERROR, { + logger.throwError('processing response error', logger_1.Logger.errors.SERVER_ERROR, { body: bodyify(dataMatch[1], dataMatch[2]), error, requestBody: null, - requestMethod: "GET", - url + requestMethod: 'GET', + url, }); } } if (body) { - options2.method = "POST"; + options2.method = 'POST'; options2.body = body; - if (headers["content-type"] == null) { - headers["content-type"] = { key: "Content-Type", value: "application/octet-stream" }; + if (headers['content-type'] == null) { + headers['content-type'] = { key: 'Content-Type', value: 'application/octet-stream' }; } - if (headers["content-length"] == null) { - headers["content-length"] = { key: "Content-Length", value: String(body.length) }; + if (headers['content-length'] == null) { + headers['content-length'] = { key: 'Content-Length', value: String(body.length) }; } } var flatHeaders = {}; - Object.keys(headers).forEach(function(key2) { + Object.keys(headers).forEach(function (key2) { var header = headers[key2]; flatHeaders[header.key] = header.value; }); options2.headers = flatHeaders; - var runningTimeout = function() { + var runningTimeout = (function () { var timer = null; - var promise = new Promise(function(resolve, reject) { + var promise = new Promise(function (resolve, reject) { if (timeout) { - timer = setTimeout(function() { + timer = setTimeout(function () { if (timer == null) { return; } timer = null; - reject(logger.makeError("timeout", logger_1.Logger.errors.TIMEOUT, { - requestBody: bodyify(options2.body, flatHeaders["content-type"]), - requestMethod: options2.method, - timeout, - url - })); + reject( + logger.makeError('timeout', logger_1.Logger.errors.TIMEOUT, { + requestBody: bodyify(options2.body, flatHeaders['content-type']), + requestMethod: options2.method, + timeout, + url, + }) + ); }, timeout); } }); - var cancel = function() { + var cancel = function () { if (timer == null) { return; } @@ -20374,18 +21643,28 @@ var require_lib27 = __commonJS({ timer = null; }; return { promise, cancel }; - }(); - var runningFetch = function() { - return __awaiter(this, void 0, void 0, function() { - var attempt, response2, location_1, tryAgain, stall, retryAfter, error_1, body_1, result2, error_2, tryAgain, timeout_1; - return __generator(this, function(_a7) { + })(); + var runningFetch = (function () { + return __awaiter(this, void 0, void 0, function () { + var attempt, + response2, + location_1, + tryAgain, + stall, + retryAfter, + error_1, + body_1, + result2, + error_2, + tryAgain, + timeout_1; + return __generator(this, function (_a7) { switch (_a7.label) { case 0: attempt = 0; _a7.label = 1; case 1: - if (!(attempt < attemptLimit)) - return [3, 20]; + if (!(attempt < attemptLimit)) return [3, 20]; response2 = null; _a7.label = 2; case 2: @@ -20393,35 +21672,31 @@ var require_lib27 = __commonJS({ return [4, (0, geturl_1.getUrl)(url, options2)]; case 3: response2 = _a7.sent(); - if (!(attempt < attemptLimit)) - return [3, 8]; - if (!(response2.statusCode === 301 || response2.statusCode === 302)) - return [3, 4]; - location_1 = response2.headers.location || ""; - if (options2.method === "GET" && location_1.match(/^https:/)) { + if (!(attempt < attemptLimit)) return [3, 8]; + if (!(response2.statusCode === 301 || response2.statusCode === 302)) return [3, 4]; + location_1 = response2.headers.location || ''; + if (options2.method === 'GET' && location_1.match(/^https:/)) { url = response2.headers.location; return [3, 19]; } return [3, 8]; case 4: - if (!(response2.statusCode === 429)) - return [3, 8]; + if (!(response2.statusCode === 429)) return [3, 8]; tryAgain = true; - if (!throttleCallback) - return [3, 6]; + if (!throttleCallback) return [3, 6]; return [4, throttleCallback(attempt, url)]; case 5: tryAgain = _a7.sent(); _a7.label = 6; case 6: - if (!tryAgain) - return [3, 8]; + if (!tryAgain) return [3, 8]; stall = 0; - retryAfter = response2.headers["retry-after"]; - if (typeof retryAfter === "string" && retryAfter.match(/^[1-9][0-9]*$/)) { + retryAfter = response2.headers['retry-after']; + if (typeof retryAfter === 'string' && retryAfter.match(/^[1-9][0-9]*$/)) { stall = parseInt(retryAfter) * 1e3; } else { - stall = throttleSlotInterval * parseInt(String(Math.random() * Math.pow(2, attempt))); + stall = + throttleSlotInterval * parseInt(String(Math.random() * Math.pow(2, attempt))); } return [4, staller(stall)]; case 7: @@ -20434,11 +21709,11 @@ var require_lib27 = __commonJS({ response2 = error_1.response; if (response2 == null) { runningTimeout.cancel(); - logger.throwError("missing response", logger_1.Logger.errors.SERVER_ERROR, { - requestBody: bodyify(options2.body, flatHeaders["content-type"]), + logger.throwError('missing response', logger_1.Logger.errors.SERVER_ERROR, { + requestBody: bodyify(options2.body, flatHeaders['content-type']), requestMethod: options2.method, serverError: error_1, - url + url, }); } return [3, 10]; @@ -20448,17 +21723,19 @@ var require_lib27 = __commonJS({ body_1 = null; } else if (response2.statusCode < 200 || response2.statusCode >= 300) { runningTimeout.cancel(); - logger.throwError("bad response", logger_1.Logger.errors.SERVER_ERROR, { + logger.throwError('bad response', logger_1.Logger.errors.SERVER_ERROR, { status: response2.statusCode, headers: response2.headers, - body: bodyify(body_1, response2.headers ? response2.headers["content-type"] : null), - requestBody: bodyify(options2.body, flatHeaders["content-type"]), + body: bodyify( + body_1, + response2.headers ? response2.headers['content-type'] : null + ), + requestBody: bodyify(options2.body, flatHeaders['content-type']), requestMethod: options2.method, - url + url, }); } - if (!processFunc) - return [3, 18]; + if (!processFunc) return [3, 18]; _a7.label = 11; case 11: _a7.trys.push([11, 13, , 18]); @@ -20469,32 +21746,37 @@ var require_lib27 = __commonJS({ return [2, result2]; case 13: error_2 = _a7.sent(); - if (!(error_2.throttleRetry && attempt < attemptLimit)) - return [3, 17]; + if (!(error_2.throttleRetry && attempt < attemptLimit)) return [3, 17]; tryAgain = true; - if (!throttleCallback) - return [3, 15]; + if (!throttleCallback) return [3, 15]; return [4, throttleCallback(attempt, url)]; case 14: tryAgain = _a7.sent(); _a7.label = 15; case 15: - if (!tryAgain) - return [3, 17]; - timeout_1 = throttleSlotInterval * parseInt(String(Math.random() * Math.pow(2, attempt))); + if (!tryAgain) return [3, 17]; + timeout_1 = + throttleSlotInterval * parseInt(String(Math.random() * Math.pow(2, attempt))); return [4, staller(timeout_1)]; case 16: _a7.sent(); return [3, 19]; case 17: runningTimeout.cancel(); - logger.throwError("processing response error", logger_1.Logger.errors.SERVER_ERROR, { - body: bodyify(body_1, response2.headers ? response2.headers["content-type"] : null), - error: error_2, - requestBody: bodyify(options2.body, flatHeaders["content-type"]), - requestMethod: options2.method, - url - }); + logger.throwError( + 'processing response error', + logger_1.Logger.errors.SERVER_ERROR, + { + body: bodyify( + body_1, + response2.headers ? response2.headers['content-type'] : null + ), + error: error_2, + requestBody: bodyify(options2.body, flatHeaders['content-type']), + requestMethod: options2.method, + url, + } + ); return [3, 18]; case 18: runningTimeout.cancel(); @@ -20503,28 +21785,31 @@ var require_lib27 = __commonJS({ attempt++; return [3, 1]; case 20: - return [2, logger.throwError("failed response", logger_1.Logger.errors.SERVER_ERROR, { - requestBody: bodyify(options2.body, flatHeaders["content-type"]), - requestMethod: options2.method, - url - })]; + return [ + 2, + logger.throwError('failed response', logger_1.Logger.errors.SERVER_ERROR, { + requestBody: bodyify(options2.body, flatHeaders['content-type']), + requestMethod: options2.method, + url, + }), + ]; } }); }); - }(); + })(); return Promise.race([runningTimeout.promise, runningFetch]); } exports2._fetchData = _fetchData; function fetchJson(connection, json, processFunc) { - var processJsonFunc = function(value, response) { + var processJsonFunc = function (value, response) { var result = null; if (value != null) { try { result = JSON.parse((0, strings_1.toUtf8String)(value)); } catch (error) { - logger.throwError("invalid JSON", logger_1.Logger.errors.SERVER_ERROR, { + logger.throwError('invalid JSON', logger_1.Logger.errors.SERVER_ERROR, { body: value, - error + error, }); } } @@ -20536,17 +21821,21 @@ var require_lib27 = __commonJS({ var body = null; if (json != null) { body = (0, strings_1.toUtf8Bytes)(json); - var updated = typeof connection === "string" ? { url: connection } : (0, properties_1.shallowCopy)(connection); + var updated = + typeof connection === 'string' + ? { url: connection } + : (0, properties_1.shallowCopy)(connection); if (updated.headers) { - var hasContentType = Object.keys(updated.headers).filter(function(k) { - return k.toLowerCase() === "content-type"; - }).length !== 0; + var hasContentType = + Object.keys(updated.headers).filter(function (k) { + return k.toLowerCase() === 'content-type'; + }).length !== 0; if (!hasContentType) { updated.headers = (0, properties_1.shallowCopy)(updated.headers); - updated.headers["content-type"] = "application/json"; + updated.headers['content-type'] = 'application/json'; } } else { - updated.headers = { "content-type": "application/json" }; + updated.headers = { 'content-type': 'application/json' }; } connection = updated; } @@ -20567,10 +21856,10 @@ var require_lib27 = __commonJS({ if (options2.interval == null) { options2.interval = 250; } - return new Promise(function(resolve, reject) { + return new Promise(function (resolve, reject) { var timer = null; var done = false; - var cancel = function() { + var cancel = function () { if (done) { return false; } @@ -20581,556 +21870,991 @@ var require_lib27 = __commonJS({ return true; }; if (options2.timeout) { - timer = setTimeout(function() { + timer = setTimeout(function () { if (cancel()) { - reject(new Error("timeout")); + reject(new Error('timeout')); } }, options2.timeout); } var retryLimit = options2.retryLimit; var attempt = 0; function check() { - return func().then(function(result) { - if (result !== void 0) { - if (cancel()) { - resolve(result); - } - } else if (options2.oncePoll) { - options2.oncePoll.once("poll", check); - } else if (options2.onceBlock) { - options2.onceBlock.once("block", check); - } else if (!done) { - attempt++; - if (attempt > retryLimit) { + return func().then( + function (result) { + if (result !== void 0) { if (cancel()) { - reject(new Error("retry limit reached")); + resolve(result); } - return; - } - var timeout = options2.interval * parseInt(String(Math.random() * Math.pow(2, attempt))); - if (timeout < options2.floor) { - timeout = options2.floor; + } else if (options2.oncePoll) { + options2.oncePoll.once('poll', check); + } else if (options2.onceBlock) { + options2.onceBlock.once('block', check); + } else if (!done) { + attempt++; + if (attempt > retryLimit) { + if (cancel()) { + reject(new Error('retry limit reached')); + } + return; + } + var timeout = + options2.interval * parseInt(String(Math.random() * Math.pow(2, attempt))); + if (timeout < options2.floor) { + timeout = options2.floor; + } + if (timeout > options2.ceiling) { + timeout = options2.ceiling; + } + setTimeout(check, timeout); } - if (timeout > options2.ceiling) { - timeout = options2.ceiling; + return null; + }, + function (error) { + if (cancel()) { + reject(error); } - setTimeout(check, timeout); - } - return null; - }, function(error) { - if (cancel()) { - reject(error); } - }); + ); } check(); }); } exports2.poll = poll; - } + }, }); // node_modules/ethers/lib/utils.js var require_utils5 = __commonJS({ - "node_modules/ethers/lib/utils.js"(exports2) { - "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m[k]; - } }); - } : function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; - }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - } : function(o, v) { - o["default"] = v; - }); - var __importStar = exports2 && exports2.__importStar || function(mod) { - if (mod && mod.__esModule) - return mod; - var result = {}; - if (mod != null) { - for (var k in mod) - if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) - __createBinding(result, mod, k); - } - __setModuleDefault(result, mod); - return result; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.formatBytes32String = exports2.Utf8ErrorFuncs = exports2.toUtf8String = exports2.toUtf8CodePoints = exports2.toUtf8Bytes = exports2._toEscapedUtf8String = exports2.nameprep = exports2.hexDataSlice = exports2.hexDataLength = exports2.hexZeroPad = exports2.hexValue = exports2.hexStripZeros = exports2.hexConcat = exports2.isHexString = exports2.hexlify = exports2.base64 = exports2.base58 = exports2.TransactionDescription = exports2.LogDescription = exports2.Interface = exports2.SigningKey = exports2.HDNode = exports2.defaultPath = exports2.isBytesLike = exports2.isBytes = exports2.zeroPad = exports2.stripZeros = exports2.concat = exports2.arrayify = exports2.shallowCopy = exports2.resolveProperties = exports2.getStatic = exports2.defineReadOnly = exports2.deepCopy = exports2.checkProperties = exports2.poll = exports2.fetchJson = exports2._fetchData = exports2.RLP = exports2.Logger = exports2.checkResultErrors = exports2.FormatTypes = exports2.ParamType = exports2.FunctionFragment = exports2.EventFragment = exports2.ErrorFragment = exports2.ConstructorFragment = exports2.Fragment = exports2.defaultAbiCoder = exports2.AbiCoder = void 0; - exports2.Indexed = exports2.Utf8ErrorReason = exports2.UnicodeNormalizationForm = exports2.SupportedAlgorithm = exports2.mnemonicToSeed = exports2.isValidMnemonic = exports2.entropyToMnemonic = exports2.mnemonicToEntropy = exports2.getAccountPath = exports2.verifyTypedData = exports2.verifyMessage = exports2.recoverPublicKey = exports2.computePublicKey = exports2.recoverAddress = exports2.computeAddress = exports2.getJsonWalletAddress = exports2.TransactionTypes = exports2.serializeTransaction = exports2.parseTransaction = exports2.accessListify = exports2.joinSignature = exports2.splitSignature = exports2.soliditySha256 = exports2.solidityKeccak256 = exports2.solidityPack = exports2.shuffled = exports2.randomBytes = exports2.sha512 = exports2.sha256 = exports2.ripemd160 = exports2.keccak256 = exports2.computeHmac = exports2.commify = exports2.parseUnits = exports2.formatUnits = exports2.parseEther = exports2.formatEther = exports2.isAddress = exports2.getCreate2Address = exports2.getContractAddress = exports2.getIcapAddress = exports2.getAddress = exports2._TypedDataEncoder = exports2.id = exports2.isValidName = exports2.namehash = exports2.hashMessage = exports2.parseBytes32String = void 0; + 'node_modules/ethers/lib/utils.js'(exports2) { + 'use strict'; + var __createBinding = + (exports2 && exports2.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + Object.defineProperty(o, k2, { + enumerable: true, + get: function () { + return m[k]; + }, + }); + } + : function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __setModuleDefault = + (exports2 && exports2.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, 'default', { enumerable: true, value: v }); + } + : function (o, v) { + o['default'] = v; + }); + var __importStar = + (exports2 && exports2.__importStar) || + function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) { + for (var k in mod) + if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k)) + __createBinding(result, mod, k); + } + __setModuleDefault(result, mod); + return result; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.formatBytes32String = + exports2.Utf8ErrorFuncs = + exports2.toUtf8String = + exports2.toUtf8CodePoints = + exports2.toUtf8Bytes = + exports2._toEscapedUtf8String = + exports2.nameprep = + exports2.hexDataSlice = + exports2.hexDataLength = + exports2.hexZeroPad = + exports2.hexValue = + exports2.hexStripZeros = + exports2.hexConcat = + exports2.isHexString = + exports2.hexlify = + exports2.base64 = + exports2.base58 = + exports2.TransactionDescription = + exports2.LogDescription = + exports2.Interface = + exports2.SigningKey = + exports2.HDNode = + exports2.defaultPath = + exports2.isBytesLike = + exports2.isBytes = + exports2.zeroPad = + exports2.stripZeros = + exports2.concat = + exports2.arrayify = + exports2.shallowCopy = + exports2.resolveProperties = + exports2.getStatic = + exports2.defineReadOnly = + exports2.deepCopy = + exports2.checkProperties = + exports2.poll = + exports2.fetchJson = + exports2._fetchData = + exports2.RLP = + exports2.Logger = + exports2.checkResultErrors = + exports2.FormatTypes = + exports2.ParamType = + exports2.FunctionFragment = + exports2.EventFragment = + exports2.ErrorFragment = + exports2.ConstructorFragment = + exports2.Fragment = + exports2.defaultAbiCoder = + exports2.AbiCoder = + void 0; + exports2.Indexed = + exports2.Utf8ErrorReason = + exports2.UnicodeNormalizationForm = + exports2.SupportedAlgorithm = + exports2.mnemonicToSeed = + exports2.isValidMnemonic = + exports2.entropyToMnemonic = + exports2.mnemonicToEntropy = + exports2.getAccountPath = + exports2.verifyTypedData = + exports2.verifyMessage = + exports2.recoverPublicKey = + exports2.computePublicKey = + exports2.recoverAddress = + exports2.computeAddress = + exports2.getJsonWalletAddress = + exports2.TransactionTypes = + exports2.serializeTransaction = + exports2.parseTransaction = + exports2.accessListify = + exports2.joinSignature = + exports2.splitSignature = + exports2.soliditySha256 = + exports2.solidityKeccak256 = + exports2.solidityPack = + exports2.shuffled = + exports2.randomBytes = + exports2.sha512 = + exports2.sha256 = + exports2.ripemd160 = + exports2.keccak256 = + exports2.computeHmac = + exports2.commify = + exports2.parseUnits = + exports2.formatUnits = + exports2.parseEther = + exports2.formatEther = + exports2.isAddress = + exports2.getCreate2Address = + exports2.getContractAddress = + exports2.getIcapAddress = + exports2.getAddress = + exports2._TypedDataEncoder = + exports2.id = + exports2.isValidName = + exports2.namehash = + exports2.hashMessage = + exports2.parseBytes32String = + void 0; var abi_1 = require_lib11(); - Object.defineProperty(exports2, "AbiCoder", { enumerable: true, get: function() { - return abi_1.AbiCoder; - } }); - Object.defineProperty(exports2, "checkResultErrors", { enumerable: true, get: function() { - return abi_1.checkResultErrors; - } }); - Object.defineProperty(exports2, "ConstructorFragment", { enumerable: true, get: function() { - return abi_1.ConstructorFragment; - } }); - Object.defineProperty(exports2, "defaultAbiCoder", { enumerable: true, get: function() { - return abi_1.defaultAbiCoder; - } }); - Object.defineProperty(exports2, "ErrorFragment", { enumerable: true, get: function() { - return abi_1.ErrorFragment; - } }); - Object.defineProperty(exports2, "EventFragment", { enumerable: true, get: function() { - return abi_1.EventFragment; - } }); - Object.defineProperty(exports2, "FormatTypes", { enumerable: true, get: function() { - return abi_1.FormatTypes; - } }); - Object.defineProperty(exports2, "Fragment", { enumerable: true, get: function() { - return abi_1.Fragment; - } }); - Object.defineProperty(exports2, "FunctionFragment", { enumerable: true, get: function() { - return abi_1.FunctionFragment; - } }); - Object.defineProperty(exports2, "Indexed", { enumerable: true, get: function() { - return abi_1.Indexed; - } }); - Object.defineProperty(exports2, "Interface", { enumerable: true, get: function() { - return abi_1.Interface; - } }); - Object.defineProperty(exports2, "LogDescription", { enumerable: true, get: function() { - return abi_1.LogDescription; - } }); - Object.defineProperty(exports2, "ParamType", { enumerable: true, get: function() { - return abi_1.ParamType; - } }); - Object.defineProperty(exports2, "TransactionDescription", { enumerable: true, get: function() { - return abi_1.TransactionDescription; - } }); + Object.defineProperty(exports2, 'AbiCoder', { + enumerable: true, + get: function () { + return abi_1.AbiCoder; + }, + }); + Object.defineProperty(exports2, 'checkResultErrors', { + enumerable: true, + get: function () { + return abi_1.checkResultErrors; + }, + }); + Object.defineProperty(exports2, 'ConstructorFragment', { + enumerable: true, + get: function () { + return abi_1.ConstructorFragment; + }, + }); + Object.defineProperty(exports2, 'defaultAbiCoder', { + enumerable: true, + get: function () { + return abi_1.defaultAbiCoder; + }, + }); + Object.defineProperty(exports2, 'ErrorFragment', { + enumerable: true, + get: function () { + return abi_1.ErrorFragment; + }, + }); + Object.defineProperty(exports2, 'EventFragment', { + enumerable: true, + get: function () { + return abi_1.EventFragment; + }, + }); + Object.defineProperty(exports2, 'FormatTypes', { + enumerable: true, + get: function () { + return abi_1.FormatTypes; + }, + }); + Object.defineProperty(exports2, 'Fragment', { + enumerable: true, + get: function () { + return abi_1.Fragment; + }, + }); + Object.defineProperty(exports2, 'FunctionFragment', { + enumerable: true, + get: function () { + return abi_1.FunctionFragment; + }, + }); + Object.defineProperty(exports2, 'Indexed', { + enumerable: true, + get: function () { + return abi_1.Indexed; + }, + }); + Object.defineProperty(exports2, 'Interface', { + enumerable: true, + get: function () { + return abi_1.Interface; + }, + }); + Object.defineProperty(exports2, 'LogDescription', { + enumerable: true, + get: function () { + return abi_1.LogDescription; + }, + }); + Object.defineProperty(exports2, 'ParamType', { + enumerable: true, + get: function () { + return abi_1.ParamType; + }, + }); + Object.defineProperty(exports2, 'TransactionDescription', { + enumerable: true, + get: function () { + return abi_1.TransactionDescription; + }, + }); var address_1 = require_lib7(); - Object.defineProperty(exports2, "getAddress", { enumerable: true, get: function() { - return address_1.getAddress; - } }); - Object.defineProperty(exports2, "getCreate2Address", { enumerable: true, get: function() { - return address_1.getCreate2Address; - } }); - Object.defineProperty(exports2, "getContractAddress", { enumerable: true, get: function() { - return address_1.getContractAddress; - } }); - Object.defineProperty(exports2, "getIcapAddress", { enumerable: true, get: function() { - return address_1.getIcapAddress; - } }); - Object.defineProperty(exports2, "isAddress", { enumerable: true, get: function() { - return address_1.isAddress; - } }); + Object.defineProperty(exports2, 'getAddress', { + enumerable: true, + get: function () { + return address_1.getAddress; + }, + }); + Object.defineProperty(exports2, 'getCreate2Address', { + enumerable: true, + get: function () { + return address_1.getCreate2Address; + }, + }); + Object.defineProperty(exports2, 'getContractAddress', { + enumerable: true, + get: function () { + return address_1.getContractAddress; + }, + }); + Object.defineProperty(exports2, 'getIcapAddress', { + enumerable: true, + get: function () { + return address_1.getIcapAddress; + }, + }); + Object.defineProperty(exports2, 'isAddress', { + enumerable: true, + get: function () { + return address_1.isAddress; + }, + }); var base64 = __importStar(require_lib12()); exports2.base64 = base64; var basex_1 = require_lib13(); - Object.defineProperty(exports2, "base58", { enumerable: true, get: function() { - return basex_1.Base58; - } }); + Object.defineProperty(exports2, 'base58', { + enumerable: true, + get: function () { + return basex_1.Base58; + }, + }); var bytes_1 = require_lib2(); - Object.defineProperty(exports2, "arrayify", { enumerable: true, get: function() { - return bytes_1.arrayify; - } }); - Object.defineProperty(exports2, "concat", { enumerable: true, get: function() { - return bytes_1.concat; - } }); - Object.defineProperty(exports2, "hexConcat", { enumerable: true, get: function() { - return bytes_1.hexConcat; - } }); - Object.defineProperty(exports2, "hexDataSlice", { enumerable: true, get: function() { - return bytes_1.hexDataSlice; - } }); - Object.defineProperty(exports2, "hexDataLength", { enumerable: true, get: function() { - return bytes_1.hexDataLength; - } }); - Object.defineProperty(exports2, "hexlify", { enumerable: true, get: function() { - return bytes_1.hexlify; - } }); - Object.defineProperty(exports2, "hexStripZeros", { enumerable: true, get: function() { - return bytes_1.hexStripZeros; - } }); - Object.defineProperty(exports2, "hexValue", { enumerable: true, get: function() { - return bytes_1.hexValue; - } }); - Object.defineProperty(exports2, "hexZeroPad", { enumerable: true, get: function() { - return bytes_1.hexZeroPad; - } }); - Object.defineProperty(exports2, "isBytes", { enumerable: true, get: function() { - return bytes_1.isBytes; - } }); - Object.defineProperty(exports2, "isBytesLike", { enumerable: true, get: function() { - return bytes_1.isBytesLike; - } }); - Object.defineProperty(exports2, "isHexString", { enumerable: true, get: function() { - return bytes_1.isHexString; - } }); - Object.defineProperty(exports2, "joinSignature", { enumerable: true, get: function() { - return bytes_1.joinSignature; - } }); - Object.defineProperty(exports2, "zeroPad", { enumerable: true, get: function() { - return bytes_1.zeroPad; - } }); - Object.defineProperty(exports2, "splitSignature", { enumerable: true, get: function() { - return bytes_1.splitSignature; - } }); - Object.defineProperty(exports2, "stripZeros", { enumerable: true, get: function() { - return bytes_1.stripZeros; - } }); + Object.defineProperty(exports2, 'arrayify', { + enumerable: true, + get: function () { + return bytes_1.arrayify; + }, + }); + Object.defineProperty(exports2, 'concat', { + enumerable: true, + get: function () { + return bytes_1.concat; + }, + }); + Object.defineProperty(exports2, 'hexConcat', { + enumerable: true, + get: function () { + return bytes_1.hexConcat; + }, + }); + Object.defineProperty(exports2, 'hexDataSlice', { + enumerable: true, + get: function () { + return bytes_1.hexDataSlice; + }, + }); + Object.defineProperty(exports2, 'hexDataLength', { + enumerable: true, + get: function () { + return bytes_1.hexDataLength; + }, + }); + Object.defineProperty(exports2, 'hexlify', { + enumerable: true, + get: function () { + return bytes_1.hexlify; + }, + }); + Object.defineProperty(exports2, 'hexStripZeros', { + enumerable: true, + get: function () { + return bytes_1.hexStripZeros; + }, + }); + Object.defineProperty(exports2, 'hexValue', { + enumerable: true, + get: function () { + return bytes_1.hexValue; + }, + }); + Object.defineProperty(exports2, 'hexZeroPad', { + enumerable: true, + get: function () { + return bytes_1.hexZeroPad; + }, + }); + Object.defineProperty(exports2, 'isBytes', { + enumerable: true, + get: function () { + return bytes_1.isBytes; + }, + }); + Object.defineProperty(exports2, 'isBytesLike', { + enumerable: true, + get: function () { + return bytes_1.isBytesLike; + }, + }); + Object.defineProperty(exports2, 'isHexString', { + enumerable: true, + get: function () { + return bytes_1.isHexString; + }, + }); + Object.defineProperty(exports2, 'joinSignature', { + enumerable: true, + get: function () { + return bytes_1.joinSignature; + }, + }); + Object.defineProperty(exports2, 'zeroPad', { + enumerable: true, + get: function () { + return bytes_1.zeroPad; + }, + }); + Object.defineProperty(exports2, 'splitSignature', { + enumerable: true, + get: function () { + return bytes_1.splitSignature; + }, + }); + Object.defineProperty(exports2, 'stripZeros', { + enumerable: true, + get: function () { + return bytes_1.stripZeros; + }, + }); var hash_1 = require_lib10(); - Object.defineProperty(exports2, "_TypedDataEncoder", { enumerable: true, get: function() { - return hash_1._TypedDataEncoder; - } }); - Object.defineProperty(exports2, "hashMessage", { enumerable: true, get: function() { - return hash_1.hashMessage; - } }); - Object.defineProperty(exports2, "id", { enumerable: true, get: function() { - return hash_1.id; - } }); - Object.defineProperty(exports2, "isValidName", { enumerable: true, get: function() { - return hash_1.isValidName; - } }); - Object.defineProperty(exports2, "namehash", { enumerable: true, get: function() { - return hash_1.namehash; - } }); + Object.defineProperty(exports2, '_TypedDataEncoder', { + enumerable: true, + get: function () { + return hash_1._TypedDataEncoder; + }, + }); + Object.defineProperty(exports2, 'hashMessage', { + enumerable: true, + get: function () { + return hash_1.hashMessage; + }, + }); + Object.defineProperty(exports2, 'id', { + enumerable: true, + get: function () { + return hash_1.id; + }, + }); + Object.defineProperty(exports2, 'isValidName', { + enumerable: true, + get: function () { + return hash_1.isValidName; + }, + }); + Object.defineProperty(exports2, 'namehash', { + enumerable: true, + get: function () { + return hash_1.namehash; + }, + }); var hdnode_1 = require_lib19(); - Object.defineProperty(exports2, "defaultPath", { enumerable: true, get: function() { - return hdnode_1.defaultPath; - } }); - Object.defineProperty(exports2, "entropyToMnemonic", { enumerable: true, get: function() { - return hdnode_1.entropyToMnemonic; - } }); - Object.defineProperty(exports2, "getAccountPath", { enumerable: true, get: function() { - return hdnode_1.getAccountPath; - } }); - Object.defineProperty(exports2, "HDNode", { enumerable: true, get: function() { - return hdnode_1.HDNode; - } }); - Object.defineProperty(exports2, "isValidMnemonic", { enumerable: true, get: function() { - return hdnode_1.isValidMnemonic; - } }); - Object.defineProperty(exports2, "mnemonicToEntropy", { enumerable: true, get: function() { - return hdnode_1.mnemonicToEntropy; - } }); - Object.defineProperty(exports2, "mnemonicToSeed", { enumerable: true, get: function() { - return hdnode_1.mnemonicToSeed; - } }); + Object.defineProperty(exports2, 'defaultPath', { + enumerable: true, + get: function () { + return hdnode_1.defaultPath; + }, + }); + Object.defineProperty(exports2, 'entropyToMnemonic', { + enumerable: true, + get: function () { + return hdnode_1.entropyToMnemonic; + }, + }); + Object.defineProperty(exports2, 'getAccountPath', { + enumerable: true, + get: function () { + return hdnode_1.getAccountPath; + }, + }); + Object.defineProperty(exports2, 'HDNode', { + enumerable: true, + get: function () { + return hdnode_1.HDNode; + }, + }); + Object.defineProperty(exports2, 'isValidMnemonic', { + enumerable: true, + get: function () { + return hdnode_1.isValidMnemonic; + }, + }); + Object.defineProperty(exports2, 'mnemonicToEntropy', { + enumerable: true, + get: function () { + return hdnode_1.mnemonicToEntropy; + }, + }); + Object.defineProperty(exports2, 'mnemonicToSeed', { + enumerable: true, + get: function () { + return hdnode_1.mnemonicToSeed; + }, + }); var json_wallets_1 = require_lib21(); - Object.defineProperty(exports2, "getJsonWalletAddress", { enumerable: true, get: function() { - return json_wallets_1.getJsonWalletAddress; - } }); + Object.defineProperty(exports2, 'getJsonWalletAddress', { + enumerable: true, + get: function () { + return json_wallets_1.getJsonWalletAddress; + }, + }); var keccak256_1 = require_lib5(); - Object.defineProperty(exports2, "keccak256", { enumerable: true, get: function() { - return keccak256_1.keccak256; - } }); + Object.defineProperty(exports2, 'keccak256', { + enumerable: true, + get: function () { + return keccak256_1.keccak256; + }, + }); var logger_1 = require_lib(); - Object.defineProperty(exports2, "Logger", { enumerable: true, get: function() { - return logger_1.Logger; - } }); + Object.defineProperty(exports2, 'Logger', { + enumerable: true, + get: function () { + return logger_1.Logger; + }, + }); var sha2_1 = require_lib16(); - Object.defineProperty(exports2, "computeHmac", { enumerable: true, get: function() { - return sha2_1.computeHmac; - } }); - Object.defineProperty(exports2, "ripemd160", { enumerable: true, get: function() { - return sha2_1.ripemd160; - } }); - Object.defineProperty(exports2, "sha256", { enumerable: true, get: function() { - return sha2_1.sha256; - } }); - Object.defineProperty(exports2, "sha512", { enumerable: true, get: function() { - return sha2_1.sha512; - } }); + Object.defineProperty(exports2, 'computeHmac', { + enumerable: true, + get: function () { + return sha2_1.computeHmac; + }, + }); + Object.defineProperty(exports2, 'ripemd160', { + enumerable: true, + get: function () { + return sha2_1.ripemd160; + }, + }); + Object.defineProperty(exports2, 'sha256', { + enumerable: true, + get: function () { + return sha2_1.sha256; + }, + }); + Object.defineProperty(exports2, 'sha512', { + enumerable: true, + get: function () { + return sha2_1.sha512; + }, + }); var solidity_1 = require_lib22(); - Object.defineProperty(exports2, "solidityKeccak256", { enumerable: true, get: function() { - return solidity_1.keccak256; - } }); - Object.defineProperty(exports2, "solidityPack", { enumerable: true, get: function() { - return solidity_1.pack; - } }); - Object.defineProperty(exports2, "soliditySha256", { enumerable: true, get: function() { - return solidity_1.sha256; - } }); + Object.defineProperty(exports2, 'solidityKeccak256', { + enumerable: true, + get: function () { + return solidity_1.keccak256; + }, + }); + Object.defineProperty(exports2, 'solidityPack', { + enumerable: true, + get: function () { + return solidity_1.pack; + }, + }); + Object.defineProperty(exports2, 'soliditySha256', { + enumerable: true, + get: function () { + return solidity_1.sha256; + }, + }); var random_1 = require_lib20(); - Object.defineProperty(exports2, "randomBytes", { enumerable: true, get: function() { - return random_1.randomBytes; - } }); - Object.defineProperty(exports2, "shuffled", { enumerable: true, get: function() { - return random_1.shuffled; - } }); + Object.defineProperty(exports2, 'randomBytes', { + enumerable: true, + get: function () { + return random_1.randomBytes; + }, + }); + Object.defineProperty(exports2, 'shuffled', { + enumerable: true, + get: function () { + return random_1.shuffled; + }, + }); var properties_1 = require_lib4(); - Object.defineProperty(exports2, "checkProperties", { enumerable: true, get: function() { - return properties_1.checkProperties; - } }); - Object.defineProperty(exports2, "deepCopy", { enumerable: true, get: function() { - return properties_1.deepCopy; - } }); - Object.defineProperty(exports2, "defineReadOnly", { enumerable: true, get: function() { - return properties_1.defineReadOnly; - } }); - Object.defineProperty(exports2, "getStatic", { enumerable: true, get: function() { - return properties_1.getStatic; - } }); - Object.defineProperty(exports2, "resolveProperties", { enumerable: true, get: function() { - return properties_1.resolveProperties; - } }); - Object.defineProperty(exports2, "shallowCopy", { enumerable: true, get: function() { - return properties_1.shallowCopy; - } }); + Object.defineProperty(exports2, 'checkProperties', { + enumerable: true, + get: function () { + return properties_1.checkProperties; + }, + }); + Object.defineProperty(exports2, 'deepCopy', { + enumerable: true, + get: function () { + return properties_1.deepCopy; + }, + }); + Object.defineProperty(exports2, 'defineReadOnly', { + enumerable: true, + get: function () { + return properties_1.defineReadOnly; + }, + }); + Object.defineProperty(exports2, 'getStatic', { + enumerable: true, + get: function () { + return properties_1.getStatic; + }, + }); + Object.defineProperty(exports2, 'resolveProperties', { + enumerable: true, + get: function () { + return properties_1.resolveProperties; + }, + }); + Object.defineProperty(exports2, 'shallowCopy', { + enumerable: true, + get: function () { + return properties_1.shallowCopy; + }, + }); var RLP = __importStar(require_lib6()); exports2.RLP = RLP; var signing_key_1 = require_lib15(); - Object.defineProperty(exports2, "computePublicKey", { enumerable: true, get: function() { - return signing_key_1.computePublicKey; - } }); - Object.defineProperty(exports2, "recoverPublicKey", { enumerable: true, get: function() { - return signing_key_1.recoverPublicKey; - } }); - Object.defineProperty(exports2, "SigningKey", { enumerable: true, get: function() { - return signing_key_1.SigningKey; - } }); + Object.defineProperty(exports2, 'computePublicKey', { + enumerable: true, + get: function () { + return signing_key_1.computePublicKey; + }, + }); + Object.defineProperty(exports2, 'recoverPublicKey', { + enumerable: true, + get: function () { + return signing_key_1.recoverPublicKey; + }, + }); + Object.defineProperty(exports2, 'SigningKey', { + enumerable: true, + get: function () { + return signing_key_1.SigningKey; + }, + }); var strings_1 = require_lib9(); - Object.defineProperty(exports2, "formatBytes32String", { enumerable: true, get: function() { - return strings_1.formatBytes32String; - } }); - Object.defineProperty(exports2, "nameprep", { enumerable: true, get: function() { - return strings_1.nameprep; - } }); - Object.defineProperty(exports2, "parseBytes32String", { enumerable: true, get: function() { - return strings_1.parseBytes32String; - } }); - Object.defineProperty(exports2, "_toEscapedUtf8String", { enumerable: true, get: function() { - return strings_1._toEscapedUtf8String; - } }); - Object.defineProperty(exports2, "toUtf8Bytes", { enumerable: true, get: function() { - return strings_1.toUtf8Bytes; - } }); - Object.defineProperty(exports2, "toUtf8CodePoints", { enumerable: true, get: function() { - return strings_1.toUtf8CodePoints; - } }); - Object.defineProperty(exports2, "toUtf8String", { enumerable: true, get: function() { - return strings_1.toUtf8String; - } }); - Object.defineProperty(exports2, "Utf8ErrorFuncs", { enumerable: true, get: function() { - return strings_1.Utf8ErrorFuncs; - } }); + Object.defineProperty(exports2, 'formatBytes32String', { + enumerable: true, + get: function () { + return strings_1.formatBytes32String; + }, + }); + Object.defineProperty(exports2, 'nameprep', { + enumerable: true, + get: function () { + return strings_1.nameprep; + }, + }); + Object.defineProperty(exports2, 'parseBytes32String', { + enumerable: true, + get: function () { + return strings_1.parseBytes32String; + }, + }); + Object.defineProperty(exports2, '_toEscapedUtf8String', { + enumerable: true, + get: function () { + return strings_1._toEscapedUtf8String; + }, + }); + Object.defineProperty(exports2, 'toUtf8Bytes', { + enumerable: true, + get: function () { + return strings_1.toUtf8Bytes; + }, + }); + Object.defineProperty(exports2, 'toUtf8CodePoints', { + enumerable: true, + get: function () { + return strings_1.toUtf8CodePoints; + }, + }); + Object.defineProperty(exports2, 'toUtf8String', { + enumerable: true, + get: function () { + return strings_1.toUtf8String; + }, + }); + Object.defineProperty(exports2, 'Utf8ErrorFuncs', { + enumerable: true, + get: function () { + return strings_1.Utf8ErrorFuncs; + }, + }); var transactions_1 = require_lib17(); - Object.defineProperty(exports2, "accessListify", { enumerable: true, get: function() { - return transactions_1.accessListify; - } }); - Object.defineProperty(exports2, "computeAddress", { enumerable: true, get: function() { - return transactions_1.computeAddress; - } }); - Object.defineProperty(exports2, "parseTransaction", { enumerable: true, get: function() { - return transactions_1.parse; - } }); - Object.defineProperty(exports2, "recoverAddress", { enumerable: true, get: function() { - return transactions_1.recoverAddress; - } }); - Object.defineProperty(exports2, "serializeTransaction", { enumerable: true, get: function() { - return transactions_1.serialize; - } }); - Object.defineProperty(exports2, "TransactionTypes", { enumerable: true, get: function() { - return transactions_1.TransactionTypes; - } }); + Object.defineProperty(exports2, 'accessListify', { + enumerable: true, + get: function () { + return transactions_1.accessListify; + }, + }); + Object.defineProperty(exports2, 'computeAddress', { + enumerable: true, + get: function () { + return transactions_1.computeAddress; + }, + }); + Object.defineProperty(exports2, 'parseTransaction', { + enumerable: true, + get: function () { + return transactions_1.parse; + }, + }); + Object.defineProperty(exports2, 'recoverAddress', { + enumerable: true, + get: function () { + return transactions_1.recoverAddress; + }, + }); + Object.defineProperty(exports2, 'serializeTransaction', { + enumerable: true, + get: function () { + return transactions_1.serialize; + }, + }); + Object.defineProperty(exports2, 'TransactionTypes', { + enumerable: true, + get: function () { + return transactions_1.TransactionTypes; + }, + }); var units_1 = require_lib23(); - Object.defineProperty(exports2, "commify", { enumerable: true, get: function() { - return units_1.commify; - } }); - Object.defineProperty(exports2, "formatEther", { enumerable: true, get: function() { - return units_1.formatEther; - } }); - Object.defineProperty(exports2, "parseEther", { enumerable: true, get: function() { - return units_1.parseEther; - } }); - Object.defineProperty(exports2, "formatUnits", { enumerable: true, get: function() { - return units_1.formatUnits; - } }); - Object.defineProperty(exports2, "parseUnits", { enumerable: true, get: function() { - return units_1.parseUnits; - } }); + Object.defineProperty(exports2, 'commify', { + enumerable: true, + get: function () { + return units_1.commify; + }, + }); + Object.defineProperty(exports2, 'formatEther', { + enumerable: true, + get: function () { + return units_1.formatEther; + }, + }); + Object.defineProperty(exports2, 'parseEther', { + enumerable: true, + get: function () { + return units_1.parseEther; + }, + }); + Object.defineProperty(exports2, 'formatUnits', { + enumerable: true, + get: function () { + return units_1.formatUnits; + }, + }); + Object.defineProperty(exports2, 'parseUnits', { + enumerable: true, + get: function () { + return units_1.parseUnits; + }, + }); var wallet_1 = require_lib26(); - Object.defineProperty(exports2, "verifyMessage", { enumerable: true, get: function() { - return wallet_1.verifyMessage; - } }); - Object.defineProperty(exports2, "verifyTypedData", { enumerable: true, get: function() { - return wallet_1.verifyTypedData; - } }); + Object.defineProperty(exports2, 'verifyMessage', { + enumerable: true, + get: function () { + return wallet_1.verifyMessage; + }, + }); + Object.defineProperty(exports2, 'verifyTypedData', { + enumerable: true, + get: function () { + return wallet_1.verifyTypedData; + }, + }); var web_1 = require_lib27(); - Object.defineProperty(exports2, "_fetchData", { enumerable: true, get: function() { - return web_1._fetchData; - } }); - Object.defineProperty(exports2, "fetchJson", { enumerable: true, get: function() { - return web_1.fetchJson; - } }); - Object.defineProperty(exports2, "poll", { enumerable: true, get: function() { - return web_1.poll; - } }); + Object.defineProperty(exports2, '_fetchData', { + enumerable: true, + get: function () { + return web_1._fetchData; + }, + }); + Object.defineProperty(exports2, 'fetchJson', { + enumerable: true, + get: function () { + return web_1.fetchJson; + }, + }); + Object.defineProperty(exports2, 'poll', { + enumerable: true, + get: function () { + return web_1.poll; + }, + }); var sha2_2 = require_lib16(); - Object.defineProperty(exports2, "SupportedAlgorithm", { enumerable: true, get: function() { - return sha2_2.SupportedAlgorithm; - } }); + Object.defineProperty(exports2, 'SupportedAlgorithm', { + enumerable: true, + get: function () { + return sha2_2.SupportedAlgorithm; + }, + }); var strings_2 = require_lib9(); - Object.defineProperty(exports2, "UnicodeNormalizationForm", { enumerable: true, get: function() { - return strings_2.UnicodeNormalizationForm; - } }); - Object.defineProperty(exports2, "Utf8ErrorReason", { enumerable: true, get: function() { - return strings_2.Utf8ErrorReason; - } }); - } + Object.defineProperty(exports2, 'UnicodeNormalizationForm', { + enumerable: true, + get: function () { + return strings_2.UnicodeNormalizationForm; + }, + }); + Object.defineProperty(exports2, 'Utf8ErrorReason', { + enumerable: true, + get: function () { + return strings_2.Utf8ErrorReason; + }, + }); + }, }); // node_modules/@ethersproject/contracts/lib/_version.js var require_version22 = __commonJS({ - "node_modules/@ethersproject/contracts/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/contracts/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "contracts/5.5.0"; - } + exports2.version = 'contracts/5.5.0'; + }, }); // node_modules/@ethersproject/contracts/lib/index.js var require_lib28 = __commonJS({ - "node_modules/@ethersproject/contracts/lib/index.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/contracts/lib/index.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - var __spreadArray = exports2 && exports2.__spreadArray || function(to, from, pack) { - if (pack || arguments.length === 2) - for (var i = 0, l = from.length, ar; i < l; i++) { - if (ar || !(i in from)) { - if (!ar) - ar = Array.prototype.slice.call(from, 0, i); - ar[i] = from[i]; - } + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; } - return to.concat(ar || Array.prototype.slice.call(from)); - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + }; + var __spreadArray = + (exports2 && exports2.__spreadArray) || + function (to, from, pack) { + if (pack || arguments.length === 2) + for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ContractFactory = exports2.Contract = exports2.BaseContract = void 0; var abi_1 = require_lib11(); var abstract_provider_1 = require_lib24(); @@ -21156,34 +22880,41 @@ var require_lib28 = __commonJS({ accessList: true, maxFeePerGas: true, maxPriorityFeePerGas: true, - customData: true + customData: true, }; function resolveName(resolver, nameOrPromise) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var name2, address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, nameOrPromise]; case 1: name2 = _a7.sent(); - if (typeof name2 !== "string") { - logger.throwArgumentError("invalid address or ENS name", "name", name2); + if (typeof name2 !== 'string') { + logger.throwArgumentError('invalid address or ENS name', 'name', name2); } try { return [2, (0, address_1.getAddress)(name2)]; - } catch (error) { - } + } catch (error) {} if (!resolver) { - logger.throwError("a provider or signer is needed to resolve ENS names", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "resolveName" - }); + logger.throwError( + 'a provider or signer is needed to resolve ENS names', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'resolveName', + } + ); } return [4, resolver.resolveName(name2)]; case 2: address = _a7.sent(); if (address == null) { - logger.throwArgumentError("resolver or addr is not configured for ENS name", "name", name2); + logger.throwArgumentError( + 'resolver or addr is not configured for ENS name', + 'name', + name2 + ); } return [2, address]; } @@ -21191,41 +22922,60 @@ var require_lib28 = __commonJS({ }); } function resolveAddresses(resolver, value, paramType) { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - if (!Array.isArray(paramType)) - return [3, 2]; - return [4, Promise.all(paramType.map(function(paramType2, index) { - return resolveAddresses(resolver, Array.isArray(value) ? value[index] : value[paramType2.name], paramType2); - }))]; + if (!Array.isArray(paramType)) return [3, 2]; + return [ + 4, + Promise.all( + paramType.map(function (paramType2, index) { + return resolveAddresses( + resolver, + Array.isArray(value) ? value[index] : value[paramType2.name], + paramType2 + ); + }) + ), + ]; case 1: return [2, _a7.sent()]; case 2: - if (!(paramType.type === "address")) - return [3, 4]; + if (!(paramType.type === 'address')) return [3, 4]; return [4, resolveName(resolver, value)]; case 3: return [2, _a7.sent()]; case 4: - if (!(paramType.type === "tuple")) - return [3, 6]; + if (!(paramType.type === 'tuple')) return [3, 6]; return [4, resolveAddresses(resolver, value, paramType.components)]; case 5: return [2, _a7.sent()]; case 6: - if (!(paramType.baseType === "array")) - return [3, 8]; + if (!(paramType.baseType === 'array')) return [3, 8]; if (!Array.isArray(value)) { - return [2, Promise.reject(logger.makeError("invalid value for array", logger_1.Logger.errors.INVALID_ARGUMENT, { - argument: "value", - value - }))]; + return [ + 2, + Promise.reject( + logger.makeError( + 'invalid value for array', + logger_1.Logger.errors.INVALID_ARGUMENT, + { + argument: 'value', + value, + } + ) + ), + ]; } - return [4, Promise.all(value.map(function(v) { - return resolveAddresses(resolver, v, paramType.arrayChildren); - }))]; + return [ + 4, + Promise.all( + value.map(function (v) { + return resolveAddresses(resolver, v, paramType.arrayChildren); + }) + ), + ]; case 7: return [2, _a7.sent()]; case 8: @@ -21235,29 +22985,36 @@ var require_lib28 = __commonJS({ }); } function populateTransaction(contract, fragment, args) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var overrides, resolved, data, tx, ro, intrinsic, bytes, i, roValue, leftovers; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: overrides = {}; - if (args.length === fragment.inputs.length + 1 && typeof args[args.length - 1] === "object") { + if ( + args.length === fragment.inputs.length + 1 && + typeof args[args.length - 1] === 'object' + ) { overrides = (0, properties_1.shallowCopy)(args.pop()); } - logger.checkArgumentCount(args.length, fragment.inputs.length, "passed to contract"); + logger.checkArgumentCount(args.length, fragment.inputs.length, 'passed to contract'); if (contract.signer) { if (overrides.from) { overrides.from = (0, properties_1.resolveProperties)({ override: resolveName(contract.signer, overrides.from), - signer: contract.signer.getAddress() - }).then(function(check) { - return __awaiter(_this, void 0, void 0, function() { - return __generator(this, function(_a8) { + signer: contract.signer.getAddress(), + }).then(function (check) { + return __awaiter(_this, void 0, void 0, function () { + return __generator(this, function (_a8) { if ((0, address_1.getAddress)(check.signer) !== check.override) { - logger.throwError("Contract with a Signer cannot override from", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "overrides.from" - }); + logger.throwError( + 'Contract with a Signer cannot override from', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'overrides.from', + } + ); } return [2, check.override]; }); @@ -21269,17 +23026,24 @@ var require_lib28 = __commonJS({ } else if (overrides.from) { overrides.from = resolveName(contract.provider, overrides.from); } - return [4, (0, properties_1.resolveProperties)({ - args: resolveAddresses(contract.signer || contract.provider, args, fragment.inputs), - address: contract.resolvedAddress, - overrides: (0, properties_1.resolveProperties)(overrides) || {} - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + args: resolveAddresses( + contract.signer || contract.provider, + args, + fragment.inputs + ), + address: contract.resolvedAddress, + overrides: (0, properties_1.resolveProperties)(overrides) || {}, + }), + ]; case 1: resolved = _a7.sent(); data = contract.interface.encodeFunctionData(fragment, resolved.args); tx = { data, - to: resolved.address + to: resolved.address, }; ro = resolved.overrides; if (ro.nonce != null) { @@ -21320,10 +23084,14 @@ var require_lib28 = __commonJS({ if (ro.value) { roValue = bignumber_1.BigNumber.from(ro.value); if (!roValue.isZero() && !fragment.payable) { - logger.throwError("non-payable method cannot override value", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "overrides.value", - value: overrides.value - }); + logger.throwError( + 'non-payable method cannot override value', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'overrides.value', + value: overrides.value, + } + ); } tx.value = roValue; } @@ -21340,16 +23108,23 @@ var require_lib28 = __commonJS({ delete overrides.maxFeePerGas; delete overrides.maxPriorityFeePerGas; delete overrides.customData; - leftovers = Object.keys(overrides).filter(function(key) { + leftovers = Object.keys(overrides).filter(function (key) { return overrides[key] != null; }); if (leftovers.length) { - logger.throwError("cannot override " + leftovers.map(function(l) { - return JSON.stringify(l); - }).join(","), logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "overrides", - overrides: leftovers - }); + logger.throwError( + 'cannot override ' + + leftovers + .map(function (l) { + return JSON.stringify(l); + }) + .join(','), + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'overrides', + overrides: leftovers, + } + ); } return [2, tx]; } @@ -21357,7 +23132,7 @@ var require_lib28 = __commonJS({ }); } function buildPopulate(contract, fragment) { - return function() { + return function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; @@ -21367,20 +23142,24 @@ var require_lib28 = __commonJS({ } function buildEstimate(contract, fragment) { var signerOrProvider = contract.signer || contract.provider; - return function() { + return function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var tx; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: if (!signerOrProvider) { - logger.throwError("estimate require a provider or signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "estimateGas" - }); + logger.throwError( + 'estimate require a provider or signer', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'estimateGas', + } + ); } return [4, populateTransaction(contract, fragment, args)]; case 1: @@ -21395,33 +23174,32 @@ var require_lib28 = __commonJS({ } function addContractWait(contract, tx) { var wait = tx.wait.bind(tx); - tx.wait = function(confirmations) { - return wait(confirmations).then(function(receipt) { - receipt.events = receipt.logs.map(function(log) { + tx.wait = function (confirmations) { + return wait(confirmations).then(function (receipt) { + receipt.events = receipt.logs.map(function (log) { var event = (0, properties_1.deepCopy)(log); var parsed = null; try { parsed = contract.interface.parseLog(log); - } catch (e) { - } + } catch (e) {} if (parsed) { event.args = parsed.args; - event.decode = function(data, topics) { + event.decode = function (data, topics) { return contract.interface.decodeEventLog(parsed.eventFragment, data, topics); }; event.event = parsed.name; event.eventSignature = parsed.signature; } - event.removeListener = function() { + event.removeListener = function () { return contract.provider; }; - event.getBlock = function() { + event.getBlock = function () { return contract.provider.getBlock(receipt.blockHash); }; - event.getTransaction = function() { + event.getTransaction = function () { return contract.provider.getTransaction(receipt.transactionHash); }; - event.getTransactionReceipt = function() { + event.getTransactionReceipt = function () { return Promise.resolve(receipt); }; return event; @@ -21432,22 +23210,26 @@ var require_lib28 = __commonJS({ } function buildCall(contract, fragment, collapseSimple) { var signerOrProvider = contract.signer || contract.provider; - return function() { + return function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var blockTag, overrides, tx, result, value; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: blockTag = void 0; - if (!(args.length === fragment.inputs.length + 1 && typeof args[args.length - 1] === "object")) + if ( + !( + args.length === fragment.inputs.length + 1 && + typeof args[args.length - 1] === 'object' + ) + ) return [3, 3]; overrides = (0, properties_1.shallowCopy)(args.pop()); - if (!(overrides.blockTag != null)) - return [3, 2]; + if (!(overrides.blockTag != null)) return [3, 2]; return [4, overrides.blockTag]; case 1: blockTag = _a7.sent(); @@ -21457,8 +23239,7 @@ var require_lib28 = __commonJS({ args.push(overrides); _a7.label = 3; case 3: - if (!(contract.deployTransaction != null)) - return [3, 5]; + if (!(contract.deployTransaction != null)) return [3, 5]; return [4, contract._deployed(blockTag)]; case 4: _a7.sent(); @@ -21491,23 +23272,26 @@ var require_lib28 = __commonJS({ }; } function buildSend(contract, fragment) { - return function() { + return function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var txRequest, tx; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: if (!contract.signer) { - logger.throwError("sending a transaction requires a signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "sendTransaction" - }); + logger.throwError( + 'sending a transaction requires a signer', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'sendTransaction', + } + ); } - if (!(contract.deployTransaction != null)) - return [3, 2]; + if (!(contract.deployTransaction != null)) return [3, 2]; return [4, contract._deployed()]; case 1: _a7.sent(); @@ -21534,27 +23318,35 @@ var require_lib28 = __commonJS({ } function getEventTag(filter) { if (filter.address && (filter.topics == null || filter.topics.length === 0)) { - return "*"; - } - return (filter.address || "*") + "@" + (filter.topics ? filter.topics.map(function(topic) { - if (Array.isArray(topic)) { - return topic.join("|"); - } - return topic; - }).join(":") : ""); + return '*'; + } + return ( + (filter.address || '*') + + '@' + + (filter.topics + ? filter.topics + .map(function (topic) { + if (Array.isArray(topic)) { + return topic.join('|'); + } + return topic; + }) + .join(':') + : '') + ); } - var RunningEvent = function() { + var RunningEvent = (function () { function RunningEvent2(tag, filter) { - (0, properties_1.defineReadOnly)(this, "tag", tag); - (0, properties_1.defineReadOnly)(this, "filter", filter); + (0, properties_1.defineReadOnly)(this, 'tag', tag); + (0, properties_1.defineReadOnly)(this, 'filter', filter); this._listeners = []; } - RunningEvent2.prototype.addListener = function(listener, once) { + RunningEvent2.prototype.addListener = function (listener, once) { this._listeners.push({ listener, once }); }; - RunningEvent2.prototype.removeListener = function(listener) { + RunningEvent2.prototype.removeListener = function (listener) { var done = false; - this._listeners = this._listeners.filter(function(item) { + this._listeners = this._listeners.filter(function (item) { if (done || item.listener !== listener) { return true; } @@ -21562,71 +23354,70 @@ var require_lib28 = __commonJS({ return false; }); }; - RunningEvent2.prototype.removeAllListeners = function() { + RunningEvent2.prototype.removeAllListeners = function () { this._listeners = []; }; - RunningEvent2.prototype.listeners = function() { - return this._listeners.map(function(i) { + RunningEvent2.prototype.listeners = function () { + return this._listeners.map(function (i) { return i.listener; }); }; - RunningEvent2.prototype.listenerCount = function() { + RunningEvent2.prototype.listenerCount = function () { return this._listeners.length; }; - RunningEvent2.prototype.run = function(args) { + RunningEvent2.prototype.run = function (args) { var _this = this; var listenerCount = this.listenerCount(); - this._listeners = this._listeners.filter(function(item) { + this._listeners = this._listeners.filter(function (item) { var argsCopy = args.slice(); - setTimeout(function() { + setTimeout(function () { item.listener.apply(_this, argsCopy); }, 0); return !item.once; }); return listenerCount; }; - RunningEvent2.prototype.prepareEvent = function(event) { - }; - RunningEvent2.prototype.getEmit = function(event) { + RunningEvent2.prototype.prepareEvent = function (event) {}; + RunningEvent2.prototype.getEmit = function (event) { return [event]; }; return RunningEvent2; - }(); - var ErrorRunningEvent = function(_super) { + })(); + var ErrorRunningEvent = (function (_super) { __extends(ErrorRunningEvent2, _super); function ErrorRunningEvent2() { - return _super.call(this, "error", null) || this; + return _super.call(this, 'error', null) || this; } return ErrorRunningEvent2; - }(RunningEvent); - var FragmentRunningEvent = function(_super) { + })(RunningEvent); + var FragmentRunningEvent = (function (_super) { __extends(FragmentRunningEvent2, _super); function FragmentRunningEvent2(address, contractInterface, fragment, topics) { var _this = this; var filter = { - address + address, }; var topic = contractInterface.getEventTopic(fragment); if (topics) { if (topic !== topics[0]) { - logger.throwArgumentError("topic mismatch", "topics", topics); + logger.throwArgumentError('topic mismatch', 'topics', topics); } filter.topics = topics.slice(); } else { filter.topics = [topic]; } _this = _super.call(this, getEventTag(filter), filter) || this; - (0, properties_1.defineReadOnly)(_this, "address", address); - (0, properties_1.defineReadOnly)(_this, "interface", contractInterface); - (0, properties_1.defineReadOnly)(_this, "fragment", fragment); + (0, properties_1.defineReadOnly)(_this, 'address', address); + (0, properties_1.defineReadOnly)(_this, 'interface', contractInterface); + (0, properties_1.defineReadOnly)(_this, 'fragment', fragment); return _this; } - FragmentRunningEvent2.prototype.prepareEvent = function(event) { + FragmentRunningEvent2.prototype.prepareEvent = function (event) { var _this = this; _super.prototype.prepareEvent.call(this, event); event.event = this.fragment.name; event.eventSignature = this.fragment.format(); - event.decode = function(data, topics) { + event.decode = function (data, topics) { return _this.interface.decodeEventLog(_this.fragment, data, topics); }; try { @@ -21636,7 +23427,7 @@ var require_lib28 = __commonJS({ event.decodeError = error; } }; - FragmentRunningEvent2.prototype.getEmit = function(event) { + FragmentRunningEvent2.prototype.getEmit = function (event) { var errors = (0, abi_1.checkResultErrors)(event.args); if (errors.length) { throw errors[0].error; @@ -21646,66 +23437,73 @@ var require_lib28 = __commonJS({ return args; }; return FragmentRunningEvent2; - }(RunningEvent); - var WildcardRunningEvent = function(_super) { + })(RunningEvent); + var WildcardRunningEvent = (function (_super) { __extends(WildcardRunningEvent2, _super); function WildcardRunningEvent2(address, contractInterface) { - var _this = _super.call(this, "*", { address }) || this; - (0, properties_1.defineReadOnly)(_this, "address", address); - (0, properties_1.defineReadOnly)(_this, "interface", contractInterface); + var _this = _super.call(this, '*', { address }) || this; + (0, properties_1.defineReadOnly)(_this, 'address', address); + (0, properties_1.defineReadOnly)(_this, 'interface', contractInterface); return _this; } - WildcardRunningEvent2.prototype.prepareEvent = function(event) { + WildcardRunningEvent2.prototype.prepareEvent = function (event) { var _this = this; _super.prototype.prepareEvent.call(this, event); try { var parsed_1 = this.interface.parseLog(event); event.event = parsed_1.name; event.eventSignature = parsed_1.signature; - event.decode = function(data, topics) { + event.decode = function (data, topics) { return _this.interface.decodeEventLog(parsed_1.eventFragment, data, topics); }; event.args = parsed_1.args; - } catch (error) { - } + } catch (error) {} }; return WildcardRunningEvent2; - }(RunningEvent); - var BaseContract = function() { + })(RunningEvent); + var BaseContract = (function () { function BaseContract2(addressOrName, contractInterface, signerOrProvider) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, Contract); - (0, properties_1.defineReadOnly)(this, "interface", (0, properties_1.getStatic)(_newTarget, "getInterface")(contractInterface)); + (0, properties_1.defineReadOnly)( + this, + 'interface', + (0, properties_1.getStatic)(_newTarget, 'getInterface')(contractInterface) + ); if (signerOrProvider == null) { - (0, properties_1.defineReadOnly)(this, "provider", null); - (0, properties_1.defineReadOnly)(this, "signer", null); + (0, properties_1.defineReadOnly)(this, 'provider', null); + (0, properties_1.defineReadOnly)(this, 'signer', null); } else if (abstract_signer_1.Signer.isSigner(signerOrProvider)) { - (0, properties_1.defineReadOnly)(this, "provider", signerOrProvider.provider || null); - (0, properties_1.defineReadOnly)(this, "signer", signerOrProvider); + (0, properties_1.defineReadOnly)(this, 'provider', signerOrProvider.provider || null); + (0, properties_1.defineReadOnly)(this, 'signer', signerOrProvider); } else if (abstract_provider_1.Provider.isProvider(signerOrProvider)) { - (0, properties_1.defineReadOnly)(this, "provider", signerOrProvider); - (0, properties_1.defineReadOnly)(this, "signer", null); + (0, properties_1.defineReadOnly)(this, 'provider', signerOrProvider); + (0, properties_1.defineReadOnly)(this, 'signer', null); } else { - logger.throwArgumentError("invalid signer or provider", "signerOrProvider", signerOrProvider); + logger.throwArgumentError( + 'invalid signer or provider', + 'signerOrProvider', + signerOrProvider + ); } - (0, properties_1.defineReadOnly)(this, "callStatic", {}); - (0, properties_1.defineReadOnly)(this, "estimateGas", {}); - (0, properties_1.defineReadOnly)(this, "functions", {}); - (0, properties_1.defineReadOnly)(this, "populateTransaction", {}); - (0, properties_1.defineReadOnly)(this, "filters", {}); + (0, properties_1.defineReadOnly)(this, 'callStatic', {}); + (0, properties_1.defineReadOnly)(this, 'estimateGas', {}); + (0, properties_1.defineReadOnly)(this, 'functions', {}); + (0, properties_1.defineReadOnly)(this, 'populateTransaction', {}); + (0, properties_1.defineReadOnly)(this, 'filters', {}); { var uniqueFilters_1 = {}; - Object.keys(this.interface.events).forEach(function(eventSignature) { + Object.keys(this.interface.events).forEach(function (eventSignature) { var event = _this.interface.events[eventSignature]; - (0, properties_1.defineReadOnly)(_this.filters, eventSignature, function() { + (0, properties_1.defineReadOnly)(_this.filters, eventSignature, function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } return { address: _this.address, - topics: _this.interface.encodeFilterTopics(event, args) + topics: _this.interface.encodeFilterTopics(event, args), }; }); if (!uniqueFilters_1[event.name]) { @@ -21713,65 +23511,97 @@ var require_lib28 = __commonJS({ } uniqueFilters_1[event.name].push(eventSignature); }); - Object.keys(uniqueFilters_1).forEach(function(name2) { + Object.keys(uniqueFilters_1).forEach(function (name2) { var filters = uniqueFilters_1[name2]; if (filters.length === 1) { (0, properties_1.defineReadOnly)(_this.filters, name2, _this.filters[filters[0]]); } else { - logger.warn("Duplicate definition of " + name2 + " (" + filters.join(", ") + ")"); + logger.warn('Duplicate definition of ' + name2 + ' (' + filters.join(', ') + ')'); } }); } - (0, properties_1.defineReadOnly)(this, "_runningEvents", {}); - (0, properties_1.defineReadOnly)(this, "_wrappedEmits", {}); + (0, properties_1.defineReadOnly)(this, '_runningEvents', {}); + (0, properties_1.defineReadOnly)(this, '_wrappedEmits', {}); if (addressOrName == null) { - logger.throwArgumentError("invalid contract address or ENS name", "addressOrName", addressOrName); + logger.throwArgumentError( + 'invalid contract address or ENS name', + 'addressOrName', + addressOrName + ); } - (0, properties_1.defineReadOnly)(this, "address", addressOrName); + (0, properties_1.defineReadOnly)(this, 'address', addressOrName); if (this.provider) { - (0, properties_1.defineReadOnly)(this, "resolvedAddress", resolveName(this.provider, addressOrName)); + (0, properties_1.defineReadOnly)( + this, + 'resolvedAddress', + resolveName(this.provider, addressOrName) + ); } else { try { - (0, properties_1.defineReadOnly)(this, "resolvedAddress", Promise.resolve((0, address_1.getAddress)(addressOrName))); + (0, properties_1.defineReadOnly)( + this, + 'resolvedAddress', + Promise.resolve((0, address_1.getAddress)(addressOrName)) + ); } catch (error) { - logger.throwError("provider is required to use ENS name as contract address", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "new Contract" - }); + logger.throwError( + 'provider is required to use ENS name as contract address', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'new Contract', + } + ); } } var uniqueNames = {}; var uniqueSignatures = {}; - Object.keys(this.interface.functions).forEach(function(signature) { + Object.keys(this.interface.functions).forEach(function (signature) { var fragment = _this.interface.functions[signature]; if (uniqueSignatures[signature]) { - logger.warn("Duplicate ABI entry for " + JSON.stringify(signature)); + logger.warn('Duplicate ABI entry for ' + JSON.stringify(signature)); return; } uniqueSignatures[signature] = true; { var name_1 = fragment.name; - if (!uniqueNames["%" + name_1]) { - uniqueNames["%" + name_1] = []; + if (!uniqueNames['%' + name_1]) { + uniqueNames['%' + name_1] = []; } - uniqueNames["%" + name_1].push(signature); + uniqueNames['%' + name_1].push(signature); } if (_this[signature] == null) { (0, properties_1.defineReadOnly)(_this, signature, buildDefault(_this, fragment, true)); } if (_this.functions[signature] == null) { - (0, properties_1.defineReadOnly)(_this.functions, signature, buildDefault(_this, fragment, false)); + (0, properties_1.defineReadOnly)( + _this.functions, + signature, + buildDefault(_this, fragment, false) + ); } if (_this.callStatic[signature] == null) { - (0, properties_1.defineReadOnly)(_this.callStatic, signature, buildCall(_this, fragment, true)); + (0, properties_1.defineReadOnly)( + _this.callStatic, + signature, + buildCall(_this, fragment, true) + ); } if (_this.populateTransaction[signature] == null) { - (0, properties_1.defineReadOnly)(_this.populateTransaction, signature, buildPopulate(_this, fragment)); + (0, properties_1.defineReadOnly)( + _this.populateTransaction, + signature, + buildPopulate(_this, fragment) + ); } if (_this.estimateGas[signature] == null) { - (0, properties_1.defineReadOnly)(_this.estimateGas, signature, buildEstimate(_this, fragment)); + (0, properties_1.defineReadOnly)( + _this.estimateGas, + signature, + buildEstimate(_this, fragment) + ); } }); - Object.keys(uniqueNames).forEach(function(name2) { + Object.keys(uniqueNames).forEach(function (name2) { var signatures = uniqueNames[name2]; if (signatures.length > 1) { return; @@ -21782,8 +23612,7 @@ var require_lib28 = __commonJS({ if (_this[name2] == null) { (0, properties_1.defineReadOnly)(_this, name2, _this[signature]); } - } catch (e) { - } + } catch (e) {} if (_this.functions[name2] == null) { (0, properties_1.defineReadOnly)(_this.functions, name2, _this.functions[signature]); } @@ -21791,118 +23620,145 @@ var require_lib28 = __commonJS({ (0, properties_1.defineReadOnly)(_this.callStatic, name2, _this.callStatic[signature]); } if (_this.populateTransaction[name2] == null) { - (0, properties_1.defineReadOnly)(_this.populateTransaction, name2, _this.populateTransaction[signature]); + (0, properties_1.defineReadOnly)( + _this.populateTransaction, + name2, + _this.populateTransaction[signature] + ); } if (_this.estimateGas[name2] == null) { - (0, properties_1.defineReadOnly)(_this.estimateGas, name2, _this.estimateGas[signature]); + (0, properties_1.defineReadOnly)( + _this.estimateGas, + name2, + _this.estimateGas[signature] + ); } }); } - BaseContract2.getContractAddress = function(transaction) { + BaseContract2.getContractAddress = function (transaction) { return (0, address_1.getContractAddress)(transaction); }; - BaseContract2.getInterface = function(contractInterface) { + BaseContract2.getInterface = function (contractInterface) { if (abi_1.Interface.isInterface(contractInterface)) { return contractInterface; } return new abi_1.Interface(contractInterface); }; - BaseContract2.prototype.deployed = function() { + BaseContract2.prototype.deployed = function () { return this._deployed(); }; - BaseContract2.prototype._deployed = function(blockTag) { + BaseContract2.prototype._deployed = function (blockTag) { var _this = this; if (!this._deployedPromise) { if (this.deployTransaction) { - this._deployedPromise = this.deployTransaction.wait().then(function() { + this._deployedPromise = this.deployTransaction.wait().then(function () { return _this; }); } else { - this._deployedPromise = this.provider.getCode(this.address, blockTag).then(function(code) { - if (code === "0x") { - logger.throwError("contract not deployed", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - contractAddress: _this.address, - operation: "getDeployed" - }); - } - return _this; - }); + this._deployedPromise = this.provider + .getCode(this.address, blockTag) + .then(function (code) { + if (code === '0x') { + logger.throwError( + 'contract not deployed', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + contractAddress: _this.address, + operation: 'getDeployed', + } + ); + } + return _this; + }); } } return this._deployedPromise; }; - BaseContract2.prototype.fallback = function(overrides) { + BaseContract2.prototype.fallback = function (overrides) { var _this = this; if (!this.signer) { - logger.throwError("sending a transactions require a signer", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "sendTransaction(fallback)" }); + logger.throwError( + 'sending a transactions require a signer', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { operation: 'sendTransaction(fallback)' } + ); } var tx = (0, properties_1.shallowCopy)(overrides || {}); - ["from", "to"].forEach(function(key) { + ['from', 'to'].forEach(function (key) { if (tx[key] == null) { return; } - logger.throwError("cannot override " + key, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: key }); + logger.throwError( + 'cannot override ' + key, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { operation: key } + ); }); tx.to = this.resolvedAddress; - return this.deployed().then(function() { + return this.deployed().then(function () { return _this.signer.sendTransaction(tx); }); }; - BaseContract2.prototype.connect = function(signerOrProvider) { - if (typeof signerOrProvider === "string") { + BaseContract2.prototype.connect = function (signerOrProvider) { + if (typeof signerOrProvider === 'string') { signerOrProvider = new abstract_signer_1.VoidSigner(signerOrProvider, this.provider); } var contract = new this.constructor(this.address, this.interface, signerOrProvider); if (this.deployTransaction) { - (0, properties_1.defineReadOnly)(contract, "deployTransaction", this.deployTransaction); + (0, properties_1.defineReadOnly)(contract, 'deployTransaction', this.deployTransaction); } return contract; }; - BaseContract2.prototype.attach = function(addressOrName) { + BaseContract2.prototype.attach = function (addressOrName) { return new this.constructor(addressOrName, this.interface, this.signer || this.provider); }; - BaseContract2.isIndexed = function(value) { + BaseContract2.isIndexed = function (value) { return abi_1.Indexed.isIndexed(value); }; - BaseContract2.prototype._normalizeRunningEvent = function(runningEvent) { + BaseContract2.prototype._normalizeRunningEvent = function (runningEvent) { if (this._runningEvents[runningEvent.tag]) { return this._runningEvents[runningEvent.tag]; } return runningEvent; }; - BaseContract2.prototype._getRunningEvent = function(eventName) { - if (typeof eventName === "string") { - if (eventName === "error") { + BaseContract2.prototype._getRunningEvent = function (eventName) { + if (typeof eventName === 'string') { + if (eventName === 'error') { return this._normalizeRunningEvent(new ErrorRunningEvent()); } - if (eventName === "event") { - return this._normalizeRunningEvent(new RunningEvent("event", null)); + if (eventName === 'event') { + return this._normalizeRunningEvent(new RunningEvent('event', null)); } - if (eventName === "*") { - return this._normalizeRunningEvent(new WildcardRunningEvent(this.address, this.interface)); + if (eventName === '*') { + return this._normalizeRunningEvent( + new WildcardRunningEvent(this.address, this.interface) + ); } var fragment = this.interface.getEvent(eventName); - return this._normalizeRunningEvent(new FragmentRunningEvent(this.address, this.interface, fragment)); + return this._normalizeRunningEvent( + new FragmentRunningEvent(this.address, this.interface, fragment) + ); } if (eventName.topics && eventName.topics.length > 0) { try { var topic = eventName.topics[0]; - if (typeof topic !== "string") { - throw new Error("invalid topic"); + if (typeof topic !== 'string') { + throw new Error('invalid topic'); } var fragment = this.interface.getEvent(topic); - return this._normalizeRunningEvent(new FragmentRunningEvent(this.address, this.interface, fragment, eventName.topics)); - } catch (error) { - } + return this._normalizeRunningEvent( + new FragmentRunningEvent(this.address, this.interface, fragment, eventName.topics) + ); + } catch (error) {} var filter = { address: this.address, - topics: eventName.topics + topics: eventName.topics, }; return this._normalizeRunningEvent(new RunningEvent(getEventTag(filter), filter)); } return this._normalizeRunningEvent(new WildcardRunningEvent(this.address, this.interface)); }; - BaseContract2.prototype._checkRunningEvents = function(runningEvent) { + BaseContract2.prototype._checkRunningEvents = function (runningEvent) { if (runningEvent.listenerCount() === 0) { delete this._runningEvents[runningEvent.tag]; var emit = this._wrappedEmits[runningEvent.tag]; @@ -21912,37 +23768,41 @@ var require_lib28 = __commonJS({ } } }; - BaseContract2.prototype._wrapEvent = function(runningEvent, log, listener) { + BaseContract2.prototype._wrapEvent = function (runningEvent, log, listener) { var _this = this; var event = (0, properties_1.deepCopy)(log); - event.removeListener = function() { + event.removeListener = function () { if (!listener) { return; } runningEvent.removeListener(listener); _this._checkRunningEvents(runningEvent); }; - event.getBlock = function() { + event.getBlock = function () { return _this.provider.getBlock(log.blockHash); }; - event.getTransaction = function() { + event.getTransaction = function () { return _this.provider.getTransaction(log.transactionHash); }; - event.getTransactionReceipt = function() { + event.getTransactionReceipt = function () { return _this.provider.getTransactionReceipt(log.transactionHash); }; runningEvent.prepareEvent(event); return event; }; - BaseContract2.prototype._addEventListener = function(runningEvent, listener, once) { + BaseContract2.prototype._addEventListener = function (runningEvent, listener, once) { var _this = this; if (!this.provider) { - logger.throwError("events require a provider or a signer with a provider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" }); + logger.throwError( + 'events require a provider or a signer with a provider', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { operation: 'once' } + ); } runningEvent.addListener(listener, once); this._runningEvents[runningEvent.tag] = runningEvent; if (!this._wrappedEmits[runningEvent.tag]) { - var wrappedEmit = function(log) { + var wrappedEmit = function (log) { var event = _this._wrapEvent(runningEvent, log, listener); if (event.decodeError == null) { try { @@ -21953,10 +23813,10 @@ var require_lib28 = __commonJS({ } } if (runningEvent.filter != null) { - _this.emit("event", event); + _this.emit('event', event); } if (event.decodeError != null) { - _this.emit("error", event.decodeError, event); + _this.emit('error', event.decodeError, event); } }; this._wrappedEmits[runningEvent.tag] = wrappedEmit; @@ -21965,34 +23825,37 @@ var require_lib28 = __commonJS({ } } }; - BaseContract2.prototype.queryFilter = function(event, fromBlockOrBlockhash, toBlock) { + BaseContract2.prototype.queryFilter = function (event, fromBlockOrBlockhash, toBlock) { var _this = this; var runningEvent = this._getRunningEvent(event); var filter = (0, properties_1.shallowCopy)(runningEvent.filter); - if (typeof fromBlockOrBlockhash === "string" && (0, bytes_1.isHexString)(fromBlockOrBlockhash, 32)) { + if ( + typeof fromBlockOrBlockhash === 'string' && + (0, bytes_1.isHexString)(fromBlockOrBlockhash, 32) + ) { if (toBlock != null) { - logger.throwArgumentError("cannot specify toBlock with blockhash", "toBlock", toBlock); + logger.throwArgumentError('cannot specify toBlock with blockhash', 'toBlock', toBlock); } filter.blockHash = fromBlockOrBlockhash; } else { filter.fromBlock = fromBlockOrBlockhash != null ? fromBlockOrBlockhash : 0; - filter.toBlock = toBlock != null ? toBlock : "latest"; + filter.toBlock = toBlock != null ? toBlock : 'latest'; } - return this.provider.getLogs(filter).then(function(logs) { - return logs.map(function(log) { + return this.provider.getLogs(filter).then(function (logs) { + return logs.map(function (log) { return _this._wrapEvent(runningEvent, log, null); }); }); }; - BaseContract2.prototype.on = function(event, listener) { + BaseContract2.prototype.on = function (event, listener) { this._addEventListener(this._getRunningEvent(event), listener, false); return this; }; - BaseContract2.prototype.once = function(event, listener) { + BaseContract2.prototype.once = function (event, listener) { this._addEventListener(this._getRunningEvent(event), listener, true); return this; }; - BaseContract2.prototype.emit = function(eventName) { + BaseContract2.prototype.emit = function (eventName) { var args = []; for (var _i = 1; _i < arguments.length; _i++) { args[_i - 1] = arguments[_i]; @@ -22005,26 +23868,26 @@ var require_lib28 = __commonJS({ this._checkRunningEvents(runningEvent); return result; }; - BaseContract2.prototype.listenerCount = function(eventName) { + BaseContract2.prototype.listenerCount = function (eventName) { var _this = this; if (!this.provider) { return 0; } if (eventName == null) { - return Object.keys(this._runningEvents).reduce(function(accum, key) { + return Object.keys(this._runningEvents).reduce(function (accum, key) { return accum + _this._runningEvents[key].listenerCount(); }, 0); } return this._getRunningEvent(eventName).listenerCount(); }; - BaseContract2.prototype.listeners = function(eventName) { + BaseContract2.prototype.listeners = function (eventName) { if (!this.provider) { return []; } if (eventName == null) { var result_1 = []; for (var tag in this._runningEvents) { - this._runningEvents[tag].listeners().forEach(function(listener) { + this._runningEvents[tag].listeners().forEach(function (listener) { result_1.push(listener); }); } @@ -22032,7 +23895,7 @@ var require_lib28 = __commonJS({ } return this._getRunningEvent(eventName).listeners(); }; - BaseContract2.prototype.removeAllListeners = function(eventName) { + BaseContract2.prototype.removeAllListeners = function (eventName) { if (!this.provider) { return this; } @@ -22049,7 +23912,7 @@ var require_lib28 = __commonJS({ this._checkRunningEvents(runningEvent); return this; }; - BaseContract2.prototype.off = function(eventName, listener) { + BaseContract2.prototype.off = function (eventName, listener) { if (!this.provider) { return this; } @@ -22058,97 +23921,119 @@ var require_lib28 = __commonJS({ this._checkRunningEvents(runningEvent); return this; }; - BaseContract2.prototype.removeListener = function(eventName, listener) { + BaseContract2.prototype.removeListener = function (eventName, listener) { return this.off(eventName, listener); }; return BaseContract2; - }(); + })(); exports2.BaseContract = BaseContract; - var Contract = function(_super) { + var Contract = (function (_super) { __extends(Contract2, _super); function Contract2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } return Contract2; - }(BaseContract); + })(BaseContract); exports2.Contract = Contract; - var ContractFactory = function() { + var ContractFactory = (function () { function ContractFactory2(contractInterface, bytecode, signer) { var _newTarget = this.constructor; var bytecodeHex = null; - if (typeof bytecode === "string") { + if (typeof bytecode === 'string') { bytecodeHex = bytecode; } else if ((0, bytes_1.isBytes)(bytecode)) { bytecodeHex = (0, bytes_1.hexlify)(bytecode); - } else if (bytecode && typeof bytecode.object === "string") { + } else if (bytecode && typeof bytecode.object === 'string') { bytecodeHex = bytecode.object; } else { - bytecodeHex = "!"; + bytecodeHex = '!'; } - if (bytecodeHex.substring(0, 2) !== "0x") { - bytecodeHex = "0x" + bytecodeHex; + if (bytecodeHex.substring(0, 2) !== '0x') { + bytecodeHex = '0x' + bytecodeHex; } if (!(0, bytes_1.isHexString)(bytecodeHex) || bytecodeHex.length % 2) { - logger.throwArgumentError("invalid bytecode", "bytecode", bytecode); + logger.throwArgumentError('invalid bytecode', 'bytecode', bytecode); } if (signer && !abstract_signer_1.Signer.isSigner(signer)) { - logger.throwArgumentError("invalid signer", "signer", signer); + logger.throwArgumentError('invalid signer', 'signer', signer); } - (0, properties_1.defineReadOnly)(this, "bytecode", bytecodeHex); - (0, properties_1.defineReadOnly)(this, "interface", (0, properties_1.getStatic)(_newTarget, "getInterface")(contractInterface)); - (0, properties_1.defineReadOnly)(this, "signer", signer || null); + (0, properties_1.defineReadOnly)(this, 'bytecode', bytecodeHex); + (0, properties_1.defineReadOnly)( + this, + 'interface', + (0, properties_1.getStatic)(_newTarget, 'getInterface')(contractInterface) + ); + (0, properties_1.defineReadOnly)(this, 'signer', signer || null); } - ContractFactory2.prototype.getDeployTransaction = function() { + ContractFactory2.prototype.getDeployTransaction = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } var tx = {}; - if (args.length === this.interface.deploy.inputs.length + 1 && typeof args[args.length - 1] === "object") { + if ( + args.length === this.interface.deploy.inputs.length + 1 && + typeof args[args.length - 1] === 'object' + ) { tx = (0, properties_1.shallowCopy)(args.pop()); for (var key in tx) { if (!allowedTransactionKeys[key]) { - throw new Error("unknown transaction override " + key); + throw new Error('unknown transaction override ' + key); } } } - ["data", "from", "to"].forEach(function(key2) { + ['data', 'from', 'to'].forEach(function (key2) { if (tx[key2] == null) { return; } - logger.throwError("cannot override " + key2, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: key2 }); + logger.throwError( + 'cannot override ' + key2, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { operation: key2 } + ); }); if (tx.value) { var value = bignumber_1.BigNumber.from(tx.value); if (!value.isZero() && !this.interface.deploy.payable) { - logger.throwError("non-payable constructor cannot override value", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "overrides.value", - value: tx.value - }); + logger.throwError( + 'non-payable constructor cannot override value', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'overrides.value', + value: tx.value, + } + ); } } - logger.checkArgumentCount(args.length, this.interface.deploy.inputs.length, " in Contract constructor"); - tx.data = (0, bytes_1.hexlify)((0, bytes_1.concat)([ - this.bytecode, - this.interface.encodeDeploy(args) - ])); + logger.checkArgumentCount( + args.length, + this.interface.deploy.inputs.length, + ' in Contract constructor' + ); + tx.data = (0, bytes_1.hexlify)( + (0, bytes_1.concat)([this.bytecode, this.interface.encodeDeploy(args)]) + ); return tx; }; - ContractFactory2.prototype.deploy = function() { + ContractFactory2.prototype.deploy = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var overrides, params, unsignedTx, tx, address, contract; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: overrides = {}; if (args.length === this.interface.deploy.inputs.length + 1) { overrides = args.pop(); } - logger.checkArgumentCount(args.length, this.interface.deploy.inputs.length, " in Contract constructor"); + logger.checkArgumentCount( + args.length, + this.interface.deploy.inputs.length, + ' in Contract constructor' + ); return [4, resolveAddresses(this.signer, args, this.interface.deploy.inputs)]; case 1: params = _a7.sent(); @@ -22157,26 +24042,32 @@ var require_lib28 = __commonJS({ return [4, this.signer.sendTransaction(unsignedTx)]; case 2: tx = _a7.sent(); - address = (0, properties_1.getStatic)(this.constructor, "getContractAddress")(tx); - contract = (0, properties_1.getStatic)(this.constructor, "getContract")(address, this.interface, this.signer); + address = (0, properties_1.getStatic)(this.constructor, 'getContractAddress')(tx); + contract = (0, properties_1.getStatic)(this.constructor, 'getContract')( + address, + this.interface, + this.signer + ); addContractWait(contract, tx); - (0, properties_1.defineReadOnly)(contract, "deployTransaction", tx); + (0, properties_1.defineReadOnly)(contract, 'deployTransaction', tx); return [2, contract]; } }); }); }; - ContractFactory2.prototype.attach = function(address) { + ContractFactory2.prototype.attach = function (address) { return this.constructor.getContract(address, this.interface, this.signer); }; - ContractFactory2.prototype.connect = function(signer) { + ContractFactory2.prototype.connect = function (signer) { return new this.constructor(this.interface, this.bytecode, signer); }; - ContractFactory2.fromSolidity = function(compilerOutput, signer) { + ContractFactory2.fromSolidity = function (compilerOutput, signer) { if (compilerOutput == null) { - logger.throwError("missing compiler output", logger_1.Logger.errors.MISSING_ARGUMENT, { argument: "compilerOutput" }); + logger.throwError('missing compiler output', logger_1.Logger.errors.MISSING_ARGUMENT, { + argument: 'compilerOutput', + }); } - if (typeof compilerOutput === "string") { + if (typeof compilerOutput === 'string') { compilerOutput = JSON.parse(compilerOutput); } var abi = compilerOutput.abi; @@ -22188,26 +24079,28 @@ var require_lib28 = __commonJS({ } return new this(abi, bytecode, signer); }; - ContractFactory2.getInterface = function(contractInterface) { + ContractFactory2.getInterface = function (contractInterface) { return Contract.getInterface(contractInterface); }; - ContractFactory2.getContractAddress = function(tx) { + ContractFactory2.getContractAddress = function (tx) { return (0, address_1.getContractAddress)(tx); }; - ContractFactory2.getContract = function(address, contractInterface, signer) { + ContractFactory2.getContract = function (address, contractInterface, signer) { return new Contract(address, contractInterface, signer); }; return ContractFactory2; - }(); + })(); exports2.ContractFactory = ContractFactory; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/typechain/PermissionManagerFactory.js var require_PermissionManagerFactory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/typechain/PermissionManagerFactory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/typechain/PermissionManagerFactory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.PermissionManagerFactory = void 0; var contracts_1 = require_lib28(); var PermissionManagerFactory = class extends contracts_1.ContractFactory { @@ -22225,298 +24118,301 @@ var require_PermissionManagerFactory = __commonJS({ inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: false, - internalType: "bool", - name: "set", - type: "bool" - } + internalType: 'bool', + name: 'set', + type: 'bool', + }, ], - name: "PermissionsAdminSet", - type: "event" + name: 'PermissionsAdminSet', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "uint256", - name: "role", - type: "uint256" + internalType: 'uint256', + name: 'role', + type: 'uint256', }, { indexed: true, - internalType: "address", - name: "whiteLister", - type: "address" + internalType: 'address', + name: 'whiteLister', + type: 'address', }, { indexed: false, - internalType: "bool", - name: "set", - type: "bool" - } + internalType: 'bool', + name: 'set', + type: 'bool', + }, ], - name: "RoleSet", - type: "event" + name: 'RoleSet', + type: 'event', }, { inputs: [ { - internalType: "address[]", - name: "admins", - type: "address[]" - } + internalType: 'address[]', + name: 'admins', + type: 'address[]', + }, ], - name: "addPermissionAdmins", + name: 'addPermissionAdmins', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256[]", - name: "roles", - type: "uint256[]" + internalType: 'uint256[]', + name: 'roles', + type: 'uint256[]', }, { - internalType: "address[]", - name: "users", - type: "address[]" - } + internalType: 'address[]', + name: 'users', + type: 'address[]', + }, ], - name: "addPermissions", + name: 'addPermissions', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserPermissionAdmin", + name: 'getUserPermissionAdmin', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserPermissions", + name: 'getUserPermissions', outputs: [ { - internalType: "uint256[]", - name: "", - type: "uint256[]" + internalType: 'uint256[]', + name: '', + type: 'uint256[]', }, { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256[]", - name: "roles", - type: "uint256[]" - } + internalType: 'uint256[]', + name: 'roles', + type: 'uint256[]', + }, ], - name: "isInAllRoles", + name: 'isInAllRoles', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256[]", - name: "roles", - type: "uint256[]" - } + internalType: 'uint256[]', + name: 'roles', + type: 'uint256[]', + }, ], - name: "isInAnyRole", + name: 'isInAnyRole', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "role", - type: "uint256" - } + internalType: 'uint256', + name: 'role', + type: 'uint256', + }, ], - name: "isInRole", + name: 'isInRole', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "isPermissionsAdmin", + name: 'isPermissionsAdmin', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "isUserPermissionAdminValid", + name: 'isUserPermissionAdminValid', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "admins", - type: "address[]" - } + internalType: 'address[]', + name: 'admins', + type: 'address[]', + }, ], - name: "removePermissionAdmins", + name: 'removePermissionAdmins', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256[]", - name: "roles", - type: "uint256[]" + internalType: 'uint256[]', + name: 'roles', + type: 'uint256[]', }, { - internalType: "address[]", - name: "users", - type: "address[]" - } + internalType: 'address[]', + name: 'users', + type: 'address[]', + }, ], - name: "removePermissions", + name: 'removePermissions', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - var _bytecode = "0x608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6111488061007d6000396000f3fe608060405234801561001057600080fd5b50600436106100d55760003560e01c80638857a624116100875780638857a624146102fd5780638cadc3341461036b5780638da5cb5b14610429578063be5de6af14610431578063c9c8836014610457578063ca553a7a1461047d578063ea6c64fb146104eb578063f2fde38b146105a9576100d5565b80631cea0e8c146100da57806325fde6631461011c5780633e734f551461019d578063643148251461022f5780636d38f7841461025b578063715018a6146102d957806377133d81146102e3575b600080fd5b610100600480360360208110156100f057600080fd5b50356001600160a01b03166105cf565b604080516001600160a01b039092168252519081900360200190f35b6101426004803603602081101561013257600080fd5b50356001600160a01b03166105f1565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610188578181015183820152602001610170565b50505050905001935050505060405180910390f35b61021b600480360360408110156101b357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156101dd57600080fd5b8201836020820111156101ef57600080fd5b803590602001918460208302840111600160201b8311171561021057600080fd5b509092509050610680565b604080519115158252519081900360200190f35b61021b6004803603604081101561024557600080fd5b506001600160a01b0381351690602001356106f4565b61021b6004803603604081101561027157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561029b57600080fd5b8201836020820111156102ad57600080fd5b803590602001918460208302840111600160201b831117156102ce57600080fd5b50909250905061071b565b6102e161078d565b005b6102eb61082f565b60408051918252519081900360200190f35b6102e16004803603602081101561031357600080fd5b810190602081018135600160201b81111561032d57600080fd5b82018360208201111561033f57600080fd5b803590602001918460208302840111600160201b8311171561036057600080fd5b509092509050610835565b6102e16004803603604081101561038157600080fd5b810190602081018135600160201b81111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111600160201b831117156103ce57600080fd5b919390929091602081019035600160201b8111156103eb57600080fd5b8201836020820111156103fd57600080fd5b803590602001918460208302840111600160201b8311171561041e57600080fd5b50909250905061094a565b610100610be0565b61021b6004803603602081101561044757600080fd5b50356001600160a01b0316610bef565b61021b6004803603602081101561046d57600080fd5b50356001600160a01b0316610c0c565b6102e16004803603602081101561049357600080fd5b810190602081018135600160201b8111156104ad57600080fd5b8201836020820111156104bf57600080fd5b803590602001918460208302840111600160201b831117156104e057600080fd5b509092509050610c3d565b6102e16004803603604081101561050157600080fd5b810190602081018135600160201b81111561051b57600080fd5b82018360208201111561052d57600080fd5b803590602001918460208302840111600160201b8311171561054e57600080fd5b919390929091602081019035600160201b81111561056b57600080fd5b82018360208201111561057d57600080fd5b803590602001918460208302840111600160201b8311171561059e57600080fd5b509092509050610d4d565b6102e1600480360360208110156105bf57600080fd5b50356001600160a01b0316610fd0565b6001600160a01b03908116600090815260016020819052604090912001541690565b604080516101008082526120208201909252606091600091839160208201612000803683375050506001600160a01b03851660009081526001602052604081205491925090815b61010081101561067457600182821c161561066c578084848151811061065a57fe5b60209081029190910101526001909201915b600101610638565b50919350915050915091565b6000805b828110156106e75783838281811061069857fe5b9050602002013560016000876001600160a01b03166001600160a01b0316815260200190815260200160002060000154901c600116600014156106df5760009150506106ed565b600101610684565b50600190505b9392505050565b6001600160a01b038216600090815260016020819052604090912054821c16151592915050565b6000805b8281101561078257600084848381811061073557fe5b9050602002013560016000886001600160a01b03166001600160a01b0316815260200190815260200160002060000154901c600116111561077a5760019150506106ed565b60010161071f565b506000949350505050565b6107956110c8565b6000546001600160a01b039081169116146107e5576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61010081565b61083d6110c8565b6000546001600160a01b0390811691161461088d576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b60005b81811015610945576001600260008585858181106108aa57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020819055508282828181106108ea57fe5b905060200201356001600160a01b03166001600160a01b03167fce25e05cb98afcaf8f38f5668e4b0edc9248a8e1993151d180aa2f1823f4c79c600160405180821515815260200191505060405180910390a2600101610890565b505050565b336000818152600260205260409020546109ab576040805162461bcd60e51b815260206004820152601c60248201527f43414c4c45525f4e4f545f5045524d495353494f4e535f41444d494e00000000604482015290519081900360640190fd5b8382146109fc576040805162461bcd60e51b815260206004820152601a6024820152790929c869e9ca692a6a88a9ca8be82a4a482b2a6be988a9c8ea8960331b604482015290519081900360640190fd5b60005b82811015610bd8576000868683818110610a1557fe5b9050602002013590506000858584818110610a2c57fe5b905060200201356001600160a01b031690506101008210610a83576040805162461bcd60e51b815260206004820152600c60248201526b494e56414c49445f524f4c4560a01b604482015290519081900360640190fd5b6001600160a01b03808216600090815260016020819052604090912080549101549091168115801590610abe57506001600160a01b03811633145b80610ae557506001600160a01b038381166000908152600160208190526040909120015416155b610b30576040805162461bcd60e51b815260206004820152601760248201527624a72b20a624a22fa822a926a4a9a9a4a7a720a226a4a760491b604482015290519081900360640190fd5b6001600160a01b038316600090815260016020819052604090912090851b19831690819055610b84576001600160a01b03831660009081526001602081905260409091200180546001600160a01b03191690555b60408051600081529051339186916001600160a01b038716917fcd20d6b081e97182a607d072021b5e830136ec08ba1b05aeb25859a6a6649c94919081900360200190a45050600190920191506109ff9050565b505050505050565b6000546001600160a01b031690565b6001600160a01b0316600090815260026020526040902054151590565b6001600160a01b03908116600090815260016020818152604080842090920154909316825260029092522054151590565b610c456110c8565b6000546001600160a01b03908116911614610c95576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b60005b8181101561094557600060026000858585818110610cb257fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002081905550828282818110610cf257fe5b905060200201356001600160a01b03166001600160a01b03167fce25e05cb98afcaf8f38f5668e4b0edc9248a8e1993151d180aa2f1823f4c79c600060405180821515815260200191505060405180910390a2600101610c98565b33600081815260026020526040902054610dae576040805162461bcd60e51b815260206004820152601c60248201527f43414c4c45525f4e4f545f5045524d495353494f4e535f41444d494e00000000604482015290519081900360640190fd5b838214610dff576040805162461bcd60e51b815260206004820152601a6024820152790929c869e9ca692a6a88a9ca8be82a4a482b2a6be988a9c8ea8960331b604482015290519081900360640190fd5b60005b82811015610bd8576000868683818110610e1857fe5b9050602002013590506000858584818110610e2f57fe5b905060200201356001600160a01b031690506101008210610e86576040805162461bcd60e51b815260206004820152600c60248201526b494e56414c49445f524f4c4560a01b604482015290519081900360640190fd5b6001600160a01b03808216600090815260016020819052604090912080549101549091168115801590610ec157506001600160a01b03811633145b80610ee857506001600160a01b038381166000908152600160208190526040909120015416155b610f33576040805162461bcd60e51b815260206004820152601760248201527624a72b20a624a22fa822a926a4a9a9a4a7a720a226a4a760491b604482015290519081900360640190fd5b81610f65576001600160a01b03831660009081526001602081905260409091200180546001600160a01b031916331790555b6001600160a01b03831660008181526001602081815260409283902082891b87179055825191825291513393889390927fcd20d6b081e97182a607d072021b5e830136ec08ba1b05aeb25859a6a6649c94929081900390910190a4505060019092019150610e029050565b610fd86110c8565b6000546001600160a01b03908116911614611028576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b6001600160a01b03811661106d5760405162461bcd60e51b81526004018080602001828103825260268152602001806110cd6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220aee55fd2ffe4c1ae4ebcf66d0cd51779458160aebfc82117874fa1cd3a9ae4b664736f6c634300060c0033"; - } + var _bytecode = + '0x608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6111488061007d6000396000f3fe608060405234801561001057600080fd5b50600436106100d55760003560e01c80638857a624116100875780638857a624146102fd5780638cadc3341461036b5780638da5cb5b14610429578063be5de6af14610431578063c9c8836014610457578063ca553a7a1461047d578063ea6c64fb146104eb578063f2fde38b146105a9576100d5565b80631cea0e8c146100da57806325fde6631461011c5780633e734f551461019d578063643148251461022f5780636d38f7841461025b578063715018a6146102d957806377133d81146102e3575b600080fd5b610100600480360360208110156100f057600080fd5b50356001600160a01b03166105cf565b604080516001600160a01b039092168252519081900360200190f35b6101426004803603602081101561013257600080fd5b50356001600160a01b03166105f1565b6040518080602001838152602001828103825284818151815260200191508051906020019060200280838360005b83811015610188578181015183820152602001610170565b50505050905001935050505060405180910390f35b61021b600480360360408110156101b357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156101dd57600080fd5b8201836020820111156101ef57600080fd5b803590602001918460208302840111600160201b8311171561021057600080fd5b509092509050610680565b604080519115158252519081900360200190f35b61021b6004803603604081101561024557600080fd5b506001600160a01b0381351690602001356106f4565b61021b6004803603604081101561027157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561029b57600080fd5b8201836020820111156102ad57600080fd5b803590602001918460208302840111600160201b831117156102ce57600080fd5b50909250905061071b565b6102e161078d565b005b6102eb61082f565b60408051918252519081900360200190f35b6102e16004803603602081101561031357600080fd5b810190602081018135600160201b81111561032d57600080fd5b82018360208201111561033f57600080fd5b803590602001918460208302840111600160201b8311171561036057600080fd5b509092509050610835565b6102e16004803603604081101561038157600080fd5b810190602081018135600160201b81111561039b57600080fd5b8201836020820111156103ad57600080fd5b803590602001918460208302840111600160201b831117156103ce57600080fd5b919390929091602081019035600160201b8111156103eb57600080fd5b8201836020820111156103fd57600080fd5b803590602001918460208302840111600160201b8311171561041e57600080fd5b50909250905061094a565b610100610be0565b61021b6004803603602081101561044757600080fd5b50356001600160a01b0316610bef565b61021b6004803603602081101561046d57600080fd5b50356001600160a01b0316610c0c565b6102e16004803603602081101561049357600080fd5b810190602081018135600160201b8111156104ad57600080fd5b8201836020820111156104bf57600080fd5b803590602001918460208302840111600160201b831117156104e057600080fd5b509092509050610c3d565b6102e16004803603604081101561050157600080fd5b810190602081018135600160201b81111561051b57600080fd5b82018360208201111561052d57600080fd5b803590602001918460208302840111600160201b8311171561054e57600080fd5b919390929091602081019035600160201b81111561056b57600080fd5b82018360208201111561057d57600080fd5b803590602001918460208302840111600160201b8311171561059e57600080fd5b509092509050610d4d565b6102e1600480360360208110156105bf57600080fd5b50356001600160a01b0316610fd0565b6001600160a01b03908116600090815260016020819052604090912001541690565b604080516101008082526120208201909252606091600091839160208201612000803683375050506001600160a01b03851660009081526001602052604081205491925090815b61010081101561067457600182821c161561066c578084848151811061065a57fe5b60209081029190910101526001909201915b600101610638565b50919350915050915091565b6000805b828110156106e75783838281811061069857fe5b9050602002013560016000876001600160a01b03166001600160a01b0316815260200190815260200160002060000154901c600116600014156106df5760009150506106ed565b600101610684565b50600190505b9392505050565b6001600160a01b038216600090815260016020819052604090912054821c16151592915050565b6000805b8281101561078257600084848381811061073557fe5b9050602002013560016000886001600160a01b03166001600160a01b0316815260200190815260200160002060000154901c600116111561077a5760019150506106ed565b60010161071f565b506000949350505050565b6107956110c8565b6000546001600160a01b039081169116146107e5576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61010081565b61083d6110c8565b6000546001600160a01b0390811691161461088d576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b60005b81811015610945576001600260008585858181106108aa57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020819055508282828181106108ea57fe5b905060200201356001600160a01b03166001600160a01b03167fce25e05cb98afcaf8f38f5668e4b0edc9248a8e1993151d180aa2f1823f4c79c600160405180821515815260200191505060405180910390a2600101610890565b505050565b336000818152600260205260409020546109ab576040805162461bcd60e51b815260206004820152601c60248201527f43414c4c45525f4e4f545f5045524d495353494f4e535f41444d494e00000000604482015290519081900360640190fd5b8382146109fc576040805162461bcd60e51b815260206004820152601a6024820152790929c869e9ca692a6a88a9ca8be82a4a482b2a6be988a9c8ea8960331b604482015290519081900360640190fd5b60005b82811015610bd8576000868683818110610a1557fe5b9050602002013590506000858584818110610a2c57fe5b905060200201356001600160a01b031690506101008210610a83576040805162461bcd60e51b815260206004820152600c60248201526b494e56414c49445f524f4c4560a01b604482015290519081900360640190fd5b6001600160a01b03808216600090815260016020819052604090912080549101549091168115801590610abe57506001600160a01b03811633145b80610ae557506001600160a01b038381166000908152600160208190526040909120015416155b610b30576040805162461bcd60e51b815260206004820152601760248201527624a72b20a624a22fa822a926a4a9a9a4a7a720a226a4a760491b604482015290519081900360640190fd5b6001600160a01b038316600090815260016020819052604090912090851b19831690819055610b84576001600160a01b03831660009081526001602081905260409091200180546001600160a01b03191690555b60408051600081529051339186916001600160a01b038716917fcd20d6b081e97182a607d072021b5e830136ec08ba1b05aeb25859a6a6649c94919081900360200190a45050600190920191506109ff9050565b505050505050565b6000546001600160a01b031690565b6001600160a01b0316600090815260026020526040902054151590565b6001600160a01b03908116600090815260016020818152604080842090920154909316825260029092522054151590565b610c456110c8565b6000546001600160a01b03908116911614610c95576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b60005b8181101561094557600060026000858585818110610cb257fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002081905550828282818110610cf257fe5b905060200201356001600160a01b03166001600160a01b03167fce25e05cb98afcaf8f38f5668e4b0edc9248a8e1993151d180aa2f1823f4c79c600060405180821515815260200191505060405180910390a2600101610c98565b33600081815260026020526040902054610dae576040805162461bcd60e51b815260206004820152601c60248201527f43414c4c45525f4e4f545f5045524d495353494f4e535f41444d494e00000000604482015290519081900360640190fd5b838214610dff576040805162461bcd60e51b815260206004820152601a6024820152790929c869e9ca692a6a88a9ca8be82a4a482b2a6be988a9c8ea8960331b604482015290519081900360640190fd5b60005b82811015610bd8576000868683818110610e1857fe5b9050602002013590506000858584818110610e2f57fe5b905060200201356001600160a01b031690506101008210610e86576040805162461bcd60e51b815260206004820152600c60248201526b494e56414c49445f524f4c4560a01b604482015290519081900360640190fd5b6001600160a01b03808216600090815260016020819052604090912080549101549091168115801590610ec157506001600160a01b03811633145b80610ee857506001600160a01b038381166000908152600160208190526040909120015416155b610f33576040805162461bcd60e51b815260206004820152601760248201527624a72b20a624a22fa822a926a4a9a9a4a7a720a226a4a760491b604482015290519081900360640190fd5b81610f65576001600160a01b03831660009081526001602081905260409091200180546001600160a01b031916331790555b6001600160a01b03831660008181526001602081815260409283902082891b87179055825191825291513393889390927fcd20d6b081e97182a607d072021b5e830136ec08ba1b05aeb25859a6a6649c94929081900390910190a4505060019092019150610e029050565b610fd86110c8565b6000546001600160a01b03908116911614611028576040805162461bcd60e51b815260206004820181905260248201526000805160206110f3833981519152604482015290519081900360640190fd5b6001600160a01b03811661106d5760405162461bcd60e51b81526004018080602001828103825260268152602001806110cd6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b339056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220aee55fd2ffe4c1ae4ebcf66d0cd51779458160aebfc82117874fa1cd3a9ae4b664736f6c634300060c0033'; + }, }); // node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/types/PermissionManagerTypes.js var require_PermissionManagerTypes = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/types/PermissionManagerTypes.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/types/PermissionManagerTypes.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.PERMISSION_MAP = exports2.PERMISSION = void 0; var PERMISSION; - (function(PERMISSION2) { - PERMISSION2["DEPOSITOR"] = "DEPOSITOR"; - PERMISSION2["BORROWER"] = "BORROWER"; - PERMISSION2["LIQUIDATOR"] = "LIQUIDATOR"; - PERMISSION2["STABLE_RATE_MANAGER"] = "STABLE_RATE_MANAGER"; - })(PERMISSION = exports2.PERMISSION || (exports2.PERMISSION = {})); + (function (PERMISSION2) { + PERMISSION2['DEPOSITOR'] = 'DEPOSITOR'; + PERMISSION2['BORROWER'] = 'BORROWER'; + PERMISSION2['LIQUIDATOR'] = 'LIQUIDATOR'; + PERMISSION2['STABLE_RATE_MANAGER'] = 'STABLE_RATE_MANAGER'; + })((PERMISSION = exports2.PERMISSION || (exports2.PERMISSION = {}))); exports2.PERMISSION_MAP = { 0: PERMISSION.DEPOSITOR, 1: PERMISSION.BORROWER, 2: PERMISSION.LIQUIDATOR, - 3: PERMISSION.STABLE_RATE_MANAGER + 3: PERMISSION.STABLE_RATE_MANAGER, }; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/index.js var require_permissions_manager = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/permissions-manager/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.PermissionManager = void 0; var utils_1 = require_utils5(); var PermissionManagerFactory_1 = require_PermissionManagerFactory(); @@ -22524,14 +24420,17 @@ var require_permissions_manager = __commonJS({ var PermissionManager = class { constructor(context) { if (!(0, utils_1.isAddress)(context.permissionManagerAddress)) { - throw new Error("contract address is not valid"); + throw new Error('contract address is not valid'); } - this._contract = PermissionManagerFactory_1.PermissionManagerFactory.connect(context.permissionManagerAddress, context.provider); + this._contract = PermissionManagerFactory_1.PermissionManagerFactory.connect( + context.permissionManagerAddress, + context.provider + ); } getUserPermissions(user) { return __async(this, null, function* () { if (!(0, utils_1.isAddress)(user)) { - throw new Error("User address is not a valid ethereum address"); + throw new Error('User address is not a valid ethereum address'); } return this._contract.getUserPermissions(user); }); @@ -22544,7 +24443,7 @@ var require_permissions_manager = __commonJS({ if (index < permissionsNumber.toNumber()) { const permissionIndex = permission.toNumber(); if (permissionIndex < 0 || permissionIndex > 4) - throw new Error("Error parsing permission"); + throw new Error('Error parsing permission'); parsedPermissions[index] = PermissionManagerTypes_1.PERMISSION_MAP[permissionIndex]; } }); @@ -22553,33 +24452,33 @@ var require_permissions_manager = __commonJS({ } }; exports2.PermissionManager = PermissionManager; - } + }, }); // node_modules/@ethersproject/networks/lib/_version.js var require_version23 = __commonJS({ - "node_modules/@ethersproject/networks/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/networks/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "networks/5.5.2"; - } + exports2.version = 'networks/5.5.2'; + }, }); // node_modules/@ethersproject/networks/lib/index.js var require_lib29 = __commonJS({ - "node_modules/@ethersproject/networks/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/networks/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.getNetwork = void 0; var logger_1 = require_lib(); var _version_1 = require_version23(); var logger = new logger_1.Logger(_version_1.version); function isRenetworkable(value) { - return value && typeof value.renetwork === "function"; + return value && typeof value.renetwork === 'function'; } function ethDefaultProvider(network) { - var func = function(providers2, options2) { + var func = function (providers2, options2) { if (options2 == null) { options2 = {}; } @@ -22587,36 +24486,31 @@ var require_lib29 = __commonJS({ if (providers2.InfuraProvider) { try { providerList.push(new providers2.InfuraProvider(network, options2.infura)); - } catch (error) { - } + } catch (error) {} } if (providers2.EtherscanProvider) { try { providerList.push(new providers2.EtherscanProvider(network, options2.etherscan)); - } catch (error) { - } + } catch (error) {} } if (providers2.AlchemyProvider) { try { providerList.push(new providers2.AlchemyProvider(network, options2.alchemy)); - } catch (error) { - } + } catch (error) {} } if (providers2.PocketProvider) { - var skip = ["goerli", "ropsten", "rinkeby"]; + var skip = ['goerli', 'ropsten', 'rinkeby']; try { var provider = new providers2.PocketProvider(network); if (provider.network && skip.indexOf(provider.network.name) === -1) { providerList.push(provider); } - } catch (error) { - } + } catch (error) {} } if (providers2.CloudflareProvider) { try { providerList.push(new providers2.CloudflareProvider(network)); - } catch (error) { - } + } catch (error) {} } if (providerList.length === 0) { return null; @@ -22625,101 +24519,101 @@ var require_lib29 = __commonJS({ var quorum = 1; if (options2.quorum != null) { quorum = options2.quorum; - } else if (network === "homestead") { + } else if (network === 'homestead') { quorum = 2; } return new providers2.FallbackProvider(providerList, quorum); } return providerList[0]; }; - func.renetwork = function(network2) { + func.renetwork = function (network2) { return ethDefaultProvider(network2); }; return func; } function etcDefaultProvider(url, network) { - var func = function(providers2, options2) { + var func = function (providers2, options2) { if (providers2.JsonRpcProvider) { return new providers2.JsonRpcProvider(url, network); } return null; }; - func.renetwork = function(network2) { + func.renetwork = function (network2) { return etcDefaultProvider(url, network2); }; return func; } var homestead = { chainId: 1, - ensAddress: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - name: "homestead", - _defaultProvider: ethDefaultProvider("homestead") + ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', + name: 'homestead', + _defaultProvider: ethDefaultProvider('homestead'), }; var ropsten = { chainId: 3, - ensAddress: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - name: "ropsten", - _defaultProvider: ethDefaultProvider("ropsten") + ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', + name: 'ropsten', + _defaultProvider: ethDefaultProvider('ropsten'), }; var classicMordor = { chainId: 63, - name: "classicMordor", - _defaultProvider: etcDefaultProvider("https://www.ethercluster.com/mordor", "classicMordor") + name: 'classicMordor', + _defaultProvider: etcDefaultProvider('https://www.ethercluster.com/mordor', 'classicMordor'), }; var networks = { - unspecified: { chainId: 0, name: "unspecified" }, + unspecified: { chainId: 0, name: 'unspecified' }, homestead, mainnet: homestead, - morden: { chainId: 2, name: "morden" }, + morden: { chainId: 2, name: 'morden' }, ropsten, testnet: ropsten, rinkeby: { chainId: 4, - ensAddress: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - name: "rinkeby", - _defaultProvider: ethDefaultProvider("rinkeby") + ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', + name: 'rinkeby', + _defaultProvider: ethDefaultProvider('rinkeby'), }, kovan: { chainId: 42, - name: "kovan", - _defaultProvider: ethDefaultProvider("kovan") + name: 'kovan', + _defaultProvider: ethDefaultProvider('kovan'), }, goerli: { chainId: 5, - ensAddress: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e", - name: "goerli", - _defaultProvider: ethDefaultProvider("goerli") + ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', + name: 'goerli', + _defaultProvider: ethDefaultProvider('goerli'), }, - kintsugi: { chainId: 1337702, name: "kintsugi" }, + kintsugi: { chainId: 1337702, name: 'kintsugi' }, classic: { chainId: 61, - name: "classic", - _defaultProvider: etcDefaultProvider("https://www.ethercluster.com/etc", "classic") + name: 'classic', + _defaultProvider: etcDefaultProvider('https://www.ethercluster.com/etc', 'classic'), }, - classicMorden: { chainId: 62, name: "classicMorden" }, + classicMorden: { chainId: 62, name: 'classicMorden' }, classicMordor, classicTestnet: classicMordor, classicKotti: { chainId: 6, - name: "classicKotti", - _defaultProvider: etcDefaultProvider("https://www.ethercluster.com/kotti", "classicKotti") - }, - xdai: { chainId: 100, name: "xdai" }, - matic: { chainId: 137, name: "matic" }, - maticmum: { chainId: 80001, name: "maticmum" }, - optimism: { chainId: 10, name: "optimism" }, - "optimism-kovan": { chainId: 69, name: "optimism-kovan" }, - "optimism-goerli": { chainId: 420, name: "optimism-goerli" }, - arbitrum: { chainId: 42161, name: "arbitrum" }, - "arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" }, - bnb: { chainId: 56, name: "bnb" }, - bnbt: { chainId: 97, name: "bnbt" } + name: 'classicKotti', + _defaultProvider: etcDefaultProvider('https://www.ethercluster.com/kotti', 'classicKotti'), + }, + xdai: { chainId: 100, name: 'xdai' }, + matic: { chainId: 137, name: 'matic' }, + maticmum: { chainId: 80001, name: 'maticmum' }, + optimism: { chainId: 10, name: 'optimism' }, + 'optimism-kovan': { chainId: 69, name: 'optimism-kovan' }, + 'optimism-goerli': { chainId: 420, name: 'optimism-goerli' }, + arbitrum: { chainId: 42161, name: 'arbitrum' }, + 'arbitrum-rinkeby': { chainId: 421611, name: 'arbitrum-rinkeby' }, + bnb: { chainId: 56, name: 'bnb' }, + bnbt: { chainId: 97, name: 'bnbt' }, }; function getNetwork(network) { if (network == null) { return null; } - if (typeof network === "number") { + if (typeof network === 'number') { for (var name_1 in networks) { var standard_1 = networks[name_1]; if (standard_1.chainId === network) { @@ -22727,16 +24621,16 @@ var require_lib29 = __commonJS({ name: standard_1.name, chainId: standard_1.chainId, ensAddress: standard_1.ensAddress || null, - _defaultProvider: standard_1._defaultProvider || null + _defaultProvider: standard_1._defaultProvider || null, }; } } return { chainId: network, - name: "unknown" + name: 'unknown', }; } - if (typeof network === "string") { + if (typeof network === 'string') { var standard_2 = networks[network]; if (standard_2 == null) { return null; @@ -22745,18 +24639,18 @@ var require_lib29 = __commonJS({ name: standard_2.name, chainId: standard_2.chainId, ensAddress: standard_2.ensAddress, - _defaultProvider: standard_2._defaultProvider || null + _defaultProvider: standard_2._defaultProvider || null, }; } var standard = networks[network.name]; if (!standard) { - if (typeof network.chainId !== "number") { - logger.throwArgumentError("invalid network chainId", "network", network); + if (typeof network.chainId !== 'number') { + logger.throwArgumentError('invalid network chainId', 'network', network); } return network; } if (network.chainId !== 0 && network.chainId !== standard.chainId) { - logger.throwArgumentError("network chainId mismatch", "network", network); + logger.throwArgumentError('network chainId mismatch', 'network', network); } var defaultProvider = network._defaultProvider || null; if (defaultProvider == null && standard._defaultProvider) { @@ -22770,59 +24664,61 @@ var require_lib29 = __commonJS({ name: network.name, chainId: standard.chainId, ensAddress: network.ensAddress || standard.ensAddress || null, - _defaultProvider: defaultProvider + _defaultProvider: defaultProvider, }; } exports2.getNetwork = getNetwork; - } + }, }); // node_modules/bech32/index.js var require_bech32 = __commonJS({ - "node_modules/bech32/index.js"(exports2, module2) { - "use strict"; - var ALPHABET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l"; + 'node_modules/bech32/index.js'(exports2, module2) { + 'use strict'; + var ALPHABET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; var ALPHABET_MAP = {}; for (z = 0; z < ALPHABET.length; z++) { x = ALPHABET.charAt(z); - if (ALPHABET_MAP[x] !== void 0) - throw new TypeError(x + " is ambiguous"); + if (ALPHABET_MAP[x] !== void 0) throw new TypeError(x + ' is ambiguous'); ALPHABET_MAP[x] = z; } var x; var z; function polymodStep(pre) { var b = pre >> 25; - return (pre & 33554431) << 5 ^ -(b >> 0 & 1) & 996825010 ^ -(b >> 1 & 1) & 642813549 ^ -(b >> 2 & 1) & 513874426 ^ -(b >> 3 & 1) & 1027748829 ^ -(b >> 4 & 1) & 705979059; + return ( + ((pre & 33554431) << 5) ^ + (-((b >> 0) & 1) & 996825010) ^ + (-((b >> 1) & 1) & 642813549) ^ + (-((b >> 2) & 1) & 513874426) ^ + (-((b >> 3) & 1) & 1027748829) ^ + (-((b >> 4) & 1) & 705979059) + ); } function prefixChk(prefix) { var chk = 1; for (var i = 0; i < prefix.length; ++i) { var c = prefix.charCodeAt(i); - if (c < 33 || c > 126) - return "Invalid prefix (" + prefix + ")"; - chk = polymodStep(chk) ^ c >> 5; + if (c < 33 || c > 126) return 'Invalid prefix (' + prefix + ')'; + chk = polymodStep(chk) ^ (c >> 5); } chk = polymodStep(chk); for (i = 0; i < prefix.length; ++i) { var v = prefix.charCodeAt(i); - chk = polymodStep(chk) ^ v & 31; + chk = polymodStep(chk) ^ (v & 31); } return chk; } function encode(prefix, words, LIMIT) { LIMIT = LIMIT || 90; - if (prefix.length + 7 + words.length > LIMIT) - throw new TypeError("Exceeds length limit"); + if (prefix.length + 7 + words.length > LIMIT) throw new TypeError('Exceeds length limit'); prefix = prefix.toLowerCase(); var chk = prefixChk(prefix); - if (typeof chk === "string") - throw new Error(chk); - var result = prefix + "1"; + if (typeof chk === 'string') throw new Error(chk); + var result = prefix + '1'; for (var i = 0; i < words.length; ++i) { var x2 = words[i]; - if (x2 >> 5 !== 0) - throw new Error("Non 5-bit word"); + if (x2 >> 5 !== 0) throw new Error('Non 5-bit word'); chk = polymodStep(chk) ^ x2; result += ALPHABET.charAt(x2); } @@ -22831,58 +24727,46 @@ var require_bech32 = __commonJS({ } chk ^= 1; for (i = 0; i < 6; ++i) { - var v = chk >> (5 - i) * 5 & 31; + var v = (chk >> ((5 - i) * 5)) & 31; result += ALPHABET.charAt(v); } return result; } function __decode(str2, LIMIT) { LIMIT = LIMIT || 90; - if (str2.length < 8) - return str2 + " too short"; - if (str2.length > LIMIT) - return "Exceeds length limit"; + if (str2.length < 8) return str2 + ' too short'; + if (str2.length > LIMIT) return 'Exceeds length limit'; var lowered = str2.toLowerCase(); var uppered = str2.toUpperCase(); - if (str2 !== lowered && str2 !== uppered) - return "Mixed-case string " + str2; + if (str2 !== lowered && str2 !== uppered) return 'Mixed-case string ' + str2; str2 = lowered; - var split = str2.lastIndexOf("1"); - if (split === -1) - return "No separator character for " + str2; - if (split === 0) - return "Missing prefix for " + str2; + var split = str2.lastIndexOf('1'); + if (split === -1) return 'No separator character for ' + str2; + if (split === 0) return 'Missing prefix for ' + str2; var prefix = str2.slice(0, split); var wordChars = str2.slice(split + 1); - if (wordChars.length < 6) - return "Data too short"; + if (wordChars.length < 6) return 'Data too short'; var chk = prefixChk(prefix); - if (typeof chk === "string") - return chk; + if (typeof chk === 'string') return chk; var words = []; for (var i = 0; i < wordChars.length; ++i) { var c = wordChars.charAt(i); var v = ALPHABET_MAP[c]; - if (v === void 0) - return "Unknown character " + c; + if (v === void 0) return 'Unknown character ' + c; chk = polymodStep(chk) ^ v; - if (i + 6 >= wordChars.length) - continue; + if (i + 6 >= wordChars.length) continue; words.push(v); } - if (chk !== 1) - return "Invalid checksum for " + str2; + if (chk !== 1) return 'Invalid checksum for ' + str2; return { prefix, words }; } function decodeUnsafe() { var res = __decode.apply(null, arguments); - if (typeof res === "object") - return res; + if (typeof res === 'object') return res; } function decode(str2) { var res = __decode.apply(null, arguments); - if (typeof res === "object") - return res; + if (typeof res === 'object') return res; throw new Error(res); } function convert(data, inBits, outBits, pad) { @@ -22891,45 +24775,39 @@ var require_bech32 = __commonJS({ var maxV = (1 << outBits) - 1; var result = []; for (var i = 0; i < data.length; ++i) { - value = value << inBits | data[i]; + value = (value << inBits) | data[i]; bits += inBits; while (bits >= outBits) { bits -= outBits; - result.push(value >> bits & maxV); + result.push((value >> bits) & maxV); } } if (pad) { if (bits > 0) { - result.push(value << outBits - bits & maxV); + result.push((value << (outBits - bits)) & maxV); } } else { - if (bits >= inBits) - return "Excess padding"; - if (value << outBits - bits & maxV) - return "Non-zero padding"; + if (bits >= inBits) return 'Excess padding'; + if ((value << (outBits - bits)) & maxV) return 'Non-zero padding'; } return result; } function toWordsUnsafe(bytes) { var res = convert(bytes, 8, 5, true); - if (Array.isArray(res)) - return res; + if (Array.isArray(res)) return res; } function toWords(bytes) { var res = convert(bytes, 8, 5, true); - if (Array.isArray(res)) - return res; + if (Array.isArray(res)) return res; throw new Error(res); } function fromWordsUnsafe(words) { var res = convert(words, 5, 8, false); - if (Array.isArray(res)) - return res; + if (Array.isArray(res)) return res; } function fromWords(words) { var res = convert(words, 5, 8, false); - if (Array.isArray(res)) - return res; + if (Array.isArray(res)) return res; throw new Error(res); } module2.exports = { @@ -22939,27 +24817,31 @@ var require_bech32 = __commonJS({ toWordsUnsafe, toWords, fromWordsUnsafe, - fromWords + fromWords, }; - } + }, }); // node_modules/@ethersproject/providers/lib/_version.js var require_version24 = __commonJS({ - "node_modules/@ethersproject/providers/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/providers/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "providers/5.5.3"; - } + exports2.version = 'providers/5.5.3'; + }, }); // node_modules/@ethersproject/providers/lib/formatter.js var require_formatter = __commonJS({ - "node_modules/@ethersproject/providers/lib/formatter.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.showThrottleMessage = exports2.isCommunityResource = exports2.isCommunityResourcable = exports2.Formatter = void 0; + 'node_modules/@ethersproject/providers/lib/formatter.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.showThrottleMessage = + exports2.isCommunityResource = + exports2.isCommunityResourcable = + exports2.Formatter = + void 0; var address_1 = require_lib7(); var bignumber_1 = require_lib3(); var bytes_1 = require_lib2(); @@ -22969,13 +24851,13 @@ var require_formatter = __commonJS({ var logger_1 = require_lib(); var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); - var Formatter = function() { + var Formatter = (function () { function Formatter2() { var _newTarget = this.constructor; logger.checkNew(_newTarget, Formatter2); this.formats = this.getDefaultFormats(); } - Formatter2.prototype.getDefaultFormats = function() { + Formatter2.prototype.getDefaultFormats = function () { var _this = this; var formats = {}; var address = this.address.bind(this); @@ -22986,7 +24868,7 @@ var require_formatter = __commonJS({ var hex = this.hex.bind(this); var number = this.number.bind(this); var type = this.type.bind(this); - var strictData = function(v) { + var strictData = function (v) { return _this.data(v, true); }; formats.transaction = { @@ -23010,7 +24892,7 @@ var require_formatter = __commonJS({ s: Formatter2.allowNull(this.uint256), v: Formatter2.allowNull(number), creates: Formatter2.allowNull(address, null), - raw: Formatter2.allowNull(data) + raw: Formatter2.allowNull(data), }; formats.transactionRequest = { from: Formatter2.allowNull(address), @@ -23023,7 +24905,7 @@ var require_formatter = __commonJS({ value: Formatter2.allowNull(bigNumber), data: Formatter2.allowNull(strictData), type: Formatter2.allowNull(number), - accessList: Formatter2.allowNull(this.accessList.bind(this), null) + accessList: Formatter2.allowNull(this.accessList.bind(this), null), }; formats.receiptLog = { transactionIndex: number, @@ -23033,7 +24915,7 @@ var require_formatter = __commonJS({ topics: Formatter2.arrayOf(hash), data, logIndex: number, - blockHash: hash + blockHash: hash, }; formats.receipt = { to: Formatter2.allowNull(this.address, null), @@ -23051,7 +24933,7 @@ var require_formatter = __commonJS({ cumulativeGasUsed: bigNumber, effectiveGasPrice: Formatter2.allowNull(bigNumber), status: Formatter2.allowNull(number), - type + type, }; formats.block = { hash, @@ -23065,16 +24947,18 @@ var require_formatter = __commonJS({ miner: address, extraData: data, transactions: Formatter2.allowNull(Formatter2.arrayOf(hash)), - baseFeePerGas: Formatter2.allowNull(bigNumber) + baseFeePerGas: Formatter2.allowNull(bigNumber), }; formats.blockWithTransactions = (0, properties_1.shallowCopy)(formats.block); - formats.blockWithTransactions.transactions = Formatter2.allowNull(Formatter2.arrayOf(this.transactionResponse.bind(this))); + formats.blockWithTransactions.transactions = Formatter2.allowNull( + Formatter2.arrayOf(this.transactionResponse.bind(this)) + ); formats.filter = { fromBlock: Formatter2.allowNull(blockTag, void 0), toBlock: Formatter2.allowNull(blockTag, void 0), blockHash: Formatter2.allowNull(hash, void 0), address: Formatter2.allowNull(address, void 0), - topics: Formatter2.allowNull(this.topics.bind(this), void 0) + topics: Formatter2.allowNull(this.topics.bind(this), void 0), }; formats.filterLog = { blockNumber: Formatter2.allowNull(number), @@ -23082,117 +24966,116 @@ var require_formatter = __commonJS({ transactionIndex: number, removed: Formatter2.allowNull(this.boolean.bind(this)), address, - data: Formatter2.allowFalsish(data, "0x"), + data: Formatter2.allowFalsish(data, '0x'), topics: Formatter2.arrayOf(hash), transactionHash: hash, - logIndex: number + logIndex: number, }; return formats; }; - Formatter2.prototype.accessList = function(accessList) { + Formatter2.prototype.accessList = function (accessList) { return (0, transactions_1.accessListify)(accessList || []); }; - Formatter2.prototype.number = function(number) { - if (number === "0x") { + Formatter2.prototype.number = function (number) { + if (number === '0x') { return 0; } return bignumber_1.BigNumber.from(number).toNumber(); }; - Formatter2.prototype.type = function(number) { - if (number === "0x" || number == null) { + Formatter2.prototype.type = function (number) { + if (number === '0x' || number == null) { return 0; } return bignumber_1.BigNumber.from(number).toNumber(); }; - Formatter2.prototype.bigNumber = function(value) { + Formatter2.prototype.bigNumber = function (value) { return bignumber_1.BigNumber.from(value); }; - Formatter2.prototype.boolean = function(value) { - if (typeof value === "boolean") { + Formatter2.prototype.boolean = function (value) { + if (typeof value === 'boolean') { return value; } - if (typeof value === "string") { + if (typeof value === 'string') { value = value.toLowerCase(); - if (value === "true") { + if (value === 'true') { return true; } - if (value === "false") { + if (value === 'false') { return false; } } - throw new Error("invalid boolean - " + value); + throw new Error('invalid boolean - ' + value); }; - Formatter2.prototype.hex = function(value, strict) { - if (typeof value === "string") { - if (!strict && value.substring(0, 2) !== "0x") { - value = "0x" + value; + Formatter2.prototype.hex = function (value, strict) { + if (typeof value === 'string') { + if (!strict && value.substring(0, 2) !== '0x') { + value = '0x' + value; } if ((0, bytes_1.isHexString)(value)) { return value.toLowerCase(); } } - return logger.throwArgumentError("invalid hash", "value", value); + return logger.throwArgumentError('invalid hash', 'value', value); }; - Formatter2.prototype.data = function(value, strict) { + Formatter2.prototype.data = function (value, strict) { var result = this.hex(value, strict); if (result.length % 2 !== 0) { - throw new Error("invalid data; odd-length - " + value); + throw new Error('invalid data; odd-length - ' + value); } return result; }; - Formatter2.prototype.address = function(value) { + Formatter2.prototype.address = function (value) { return (0, address_1.getAddress)(value); }; - Formatter2.prototype.callAddress = function(value) { + Formatter2.prototype.callAddress = function (value) { if (!(0, bytes_1.isHexString)(value, 32)) { return null; } var address = (0, address_1.getAddress)((0, bytes_1.hexDataSlice)(value, 12)); return address === constants_1.AddressZero ? null : address; }; - Formatter2.prototype.contractAddress = function(value) { + Formatter2.prototype.contractAddress = function (value) { return (0, address_1.getContractAddress)(value); }; - Formatter2.prototype.blockTag = function(blockTag) { + Formatter2.prototype.blockTag = function (blockTag) { if (blockTag == null) { - return "latest"; + return 'latest'; } - if (blockTag === "earliest") { - return "0x0"; + if (blockTag === 'earliest') { + return '0x0'; } - if (blockTag === "latest" || blockTag === "pending") { + if (blockTag === 'latest' || blockTag === 'pending') { return blockTag; } - if (typeof blockTag === "number" || (0, bytes_1.isHexString)(blockTag)) { + if (typeof blockTag === 'number' || (0, bytes_1.isHexString)(blockTag)) { return (0, bytes_1.hexValue)(blockTag); } - throw new Error("invalid blockTag"); + throw new Error('invalid blockTag'); }; - Formatter2.prototype.hash = function(value, strict) { + Formatter2.prototype.hash = function (value, strict) { var result = this.hex(value, strict); if ((0, bytes_1.hexDataLength)(result) !== 32) { - return logger.throwArgumentError("invalid hash", "value", value); + return logger.throwArgumentError('invalid hash', 'value', value); } return result; }; - Formatter2.prototype.difficulty = function(value) { + Formatter2.prototype.difficulty = function (value) { if (value == null) { return null; } var v = bignumber_1.BigNumber.from(value); try { return v.toNumber(); - } catch (error) { - } + } catch (error) {} return null; }; - Formatter2.prototype.uint256 = function(value) { + Formatter2.prototype.uint256 = function (value) { if (!(0, bytes_1.isHexString)(value)) { - throw new Error("invalid uint256"); + throw new Error('invalid uint256'); } return (0, bytes_1.hexZeroPad)(value, 32); }; - Formatter2.prototype._block = function(value, format) { + Formatter2.prototype._block = function (value, format) { if (value.author != null && value.miner == null) { value.miner = value.author; } @@ -23201,21 +25084,21 @@ var require_formatter = __commonJS({ result._difficulty = difficulty == null ? null : bignumber_1.BigNumber.from(difficulty); return result; }; - Formatter2.prototype.block = function(value) { + Formatter2.prototype.block = function (value) { return this._block(value, this.formats.block); }; - Formatter2.prototype.blockWithTransactions = function(value) { + Formatter2.prototype.blockWithTransactions = function (value) { return this._block(value, this.formats.blockWithTransactions); }; - Formatter2.prototype.transactionRequest = function(value) { + Formatter2.prototype.transactionRequest = function (value) { return Formatter2.check(this.formats.transactionRequest, value); }; - Formatter2.prototype.transactionResponse = function(transaction) { + Formatter2.prototype.transactionResponse = function (transaction) { if (transaction.gas != null && transaction.gasLimit == null) { transaction.gasLimit = transaction.gas; } if (transaction.to && bignumber_1.BigNumber.from(transaction.to).isZero()) { - transaction.to = "0x0000000000000000000000000000000000000000"; + transaction.to = '0x0000000000000000000000000000000000000000'; } if (transaction.input != null && transaction.data == null) { transaction.data = transaction.input; @@ -23241,45 +25124,48 @@ var require_formatter = __commonJS({ if ((0, bytes_1.isHexString)(chainId)) { chainId = bignumber_1.BigNumber.from(chainId).toNumber(); } - if (typeof chainId !== "number" && result.v != null) { + if (typeof chainId !== 'number' && result.v != null) { chainId = (result.v - 35) / 2; if (chainId < 0) { chainId = 0; } chainId = parseInt(chainId); } - if (typeof chainId !== "number") { + if (typeof chainId !== 'number') { chainId = 0; } result.chainId = chainId; } - if (result.blockHash && result.blockHash.replace(/0/g, "") === "x") { + if (result.blockHash && result.blockHash.replace(/0/g, '') === 'x') { result.blockHash = null; } return result; }; - Formatter2.prototype.transaction = function(value) { + Formatter2.prototype.transaction = function (value) { return (0, transactions_1.parse)(value); }; - Formatter2.prototype.receiptLog = function(value) { + Formatter2.prototype.receiptLog = function (value) { return Formatter2.check(this.formats.receiptLog, value); }; - Formatter2.prototype.receipt = function(value) { + Formatter2.prototype.receipt = function (value) { var result = Formatter2.check(this.formats.receipt, value); if (result.root != null) { if (result.root.length <= 4) { var value_1 = bignumber_1.BigNumber.from(result.root).toNumber(); if (value_1 === 0 || value_1 === 1) { if (result.status != null && result.status !== value_1) { - logger.throwArgumentError("alt-root-status/status mismatch", "value", { root: result.root, status: result.status }); + logger.throwArgumentError('alt-root-status/status mismatch', 'value', { + root: result.root, + status: result.status, + }); } result.status = value_1; delete result.root; } else { - logger.throwArgumentError("invalid alt-root-status", "value.root", result.root); + logger.throwArgumentError('invalid alt-root-status', 'value.root', result.root); } } else if (result.root.length !== 66) { - logger.throwArgumentError("invalid root hash", "value.root", result.root); + logger.throwArgumentError('invalid root hash', 'value.root', result.root); } } if (result.status != null) { @@ -23287,10 +25173,10 @@ var require_formatter = __commonJS({ } return result; }; - Formatter2.prototype.topics = function(value) { + Formatter2.prototype.topics = function (value) { var _this = this; if (Array.isArray(value)) { - return value.map(function(v) { + return value.map(function (v) { return _this.topics(v); }); } else if (value != null) { @@ -23298,13 +25184,13 @@ var require_formatter = __commonJS({ } return null; }; - Formatter2.prototype.filter = function(value) { + Formatter2.prototype.filter = function (value) { return Formatter2.check(this.formats.filter, value); }; - Formatter2.prototype.filterLog = function(value) { + Formatter2.prototype.filterLog = function (value) { return Formatter2.check(this.formats.filterLog, value); }; - Formatter2.check = function(format, object) { + Formatter2.check = function (format, object) { var result = {}; for (var key in format) { try { @@ -23320,39 +25206,39 @@ var require_formatter = __commonJS({ } return result; }; - Formatter2.allowNull = function(format, nullValue) { - return function(value) { + Formatter2.allowNull = function (format, nullValue) { + return function (value) { if (value == null) { return nullValue; } return format(value); }; }; - Formatter2.allowFalsish = function(format, replaceValue) { - return function(value) { + Formatter2.allowFalsish = function (format, replaceValue) { + return function (value) { if (!value) { return replaceValue; } return format(value); }; }; - Formatter2.arrayOf = function(format) { - return function(array) { + Formatter2.arrayOf = function (format) { + return function (array) { if (!Array.isArray(array)) { - throw new Error("not an array"); + throw new Error('not an array'); } var result = []; - array.forEach(function(value) { + array.forEach(function (value) { result.push(format(value)); }); return result; }; }; return Formatter2; - }(); + })(); exports2.Formatter = Formatter; function isCommunityResourcable(value) { - return value && typeof value.isCommunityResource === "function"; + return value && typeof value.isCommunityResource === 'function'; } exports2.isCommunityResourcable = isCommunityResourcable; function isCommunityResource(value) { @@ -23365,155 +25251,191 @@ var require_formatter = __commonJS({ return; } throttleMessage = true; - console.log("========= NOTICE ========="); - console.log("Request-Rate Exceeded (this message will not be repeated)"); - console.log(""); - console.log("The default API keys for each service are provided as a highly-throttled,"); - console.log("community resource for low-traffic projects and early prototyping."); - console.log(""); - console.log("While your application will continue to function, we highly recommended"); - console.log("signing up for your own API keys to improve performance, increase your"); - console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."); - console.log(""); - console.log("For more details: https://docs.ethers.io/api-keys/"); - console.log("=========================="); + console.log('========= NOTICE ========='); + console.log('Request-Rate Exceeded (this message will not be repeated)'); + console.log(''); + console.log('The default API keys for each service are provided as a highly-throttled,'); + console.log('community resource for low-traffic projects and early prototyping.'); + console.log(''); + console.log('While your application will continue to function, we highly recommended'); + console.log('signing up for your own API keys to improve performance, increase your'); + console.log('request rate/limit and enable other perks, such as metrics and advanced APIs.'); + console.log(''); + console.log('For more details: https://docs.ethers.io/api-keys/'); + console.log('=========================='); } exports2.showThrottleMessage = showThrottleMessage; - } + }, }); // node_modules/@ethersproject/providers/lib/base-provider.js var require_base_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/base-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/base-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.BaseProvider = exports2.Resolver = exports2.Event = void 0; var abstract_provider_1 = require_lib24(); var basex_1 = require_lib13(); @@ -23533,10 +25455,10 @@ var require_base_provider = __commonJS({ var formatter_1 = require_formatter(); function checkTopic(topic) { if (topic == null) { - return "null"; + return 'null'; } if ((0, bytes_1.hexDataLength)(topic) !== 32) { - logger.throwArgumentError("invalid topic", "topic", topic); + logger.throwArgumentError('invalid topic', 'topic', topic); } return topic.toLowerCase(); } @@ -23545,103 +25467,107 @@ var require_base_provider = __commonJS({ while (topics.length > 0 && topics[topics.length - 1] == null) { topics.pop(); } - return topics.map(function(topic) { - if (Array.isArray(topic)) { - var unique_1 = {}; - topic.forEach(function(topic2) { - unique_1[checkTopic(topic2)] = true; - }); - var sorted = Object.keys(unique_1); - sorted.sort(); - return sorted.join("|"); - } else { - return checkTopic(topic); - } - }).join("&"); + return topics + .map(function (topic) { + if (Array.isArray(topic)) { + var unique_1 = {}; + topic.forEach(function (topic2) { + unique_1[checkTopic(topic2)] = true; + }); + var sorted = Object.keys(unique_1); + sorted.sort(); + return sorted.join('|'); + } else { + return checkTopic(topic); + } + }) + .join('&'); } function deserializeTopics(data) { - if (data === "") { + if (data === '') { return []; } - return data.split(/&/g).map(function(topic) { - if (topic === "") { + return data.split(/&/g).map(function (topic) { + if (topic === '') { return []; } - var comps = topic.split("|").map(function(topic2) { - return topic2 === "null" ? null : topic2; + var comps = topic.split('|').map(function (topic2) { + return topic2 === 'null' ? null : topic2; }); return comps.length === 1 ? comps[0] : comps; }); } function getEventTag(eventName) { - if (typeof eventName === "string") { + if (typeof eventName === 'string') { eventName = eventName.toLowerCase(); if ((0, bytes_1.hexDataLength)(eventName) === 32) { - return "tx:" + eventName; + return 'tx:' + eventName; } - if (eventName.indexOf(":") === -1) { + if (eventName.indexOf(':') === -1) { return eventName; } } else if (Array.isArray(eventName)) { - return "filter:*:" + serializeTopics(eventName); + return 'filter:*:' + serializeTopics(eventName); } else if (abstract_provider_1.ForkEvent.isForkEvent(eventName)) { - logger.warn("not implemented"); - throw new Error("not implemented"); - } else if (eventName && typeof eventName === "object") { - return "filter:" + (eventName.address || "*") + ":" + serializeTopics(eventName.topics || []); + logger.warn('not implemented'); + throw new Error('not implemented'); + } else if (eventName && typeof eventName === 'object') { + return ( + 'filter:' + (eventName.address || '*') + ':' + serializeTopics(eventName.topics || []) + ); } - throw new Error("invalid event - " + eventName); + throw new Error('invalid event - ' + eventName); } function getTime() { return new Date().getTime(); } function stall(duration) { - return new Promise(function(resolve) { + return new Promise(function (resolve) { setTimeout(resolve, duration); }); } - var PollableEvents = ["block", "network", "pending", "poll"]; - var Event = function() { + var PollableEvents = ['block', 'network', 'pending', 'poll']; + var Event = (function () { function Event2(tag, listener, once) { - (0, properties_1.defineReadOnly)(this, "tag", tag); - (0, properties_1.defineReadOnly)(this, "listener", listener); - (0, properties_1.defineReadOnly)(this, "once", once); + (0, properties_1.defineReadOnly)(this, 'tag', tag); + (0, properties_1.defineReadOnly)(this, 'listener', listener); + (0, properties_1.defineReadOnly)(this, 'once', once); } - Object.defineProperty(Event2.prototype, "event", { - get: function() { + Object.defineProperty(Event2.prototype, 'event', { + get: function () { switch (this.type) { - case "tx": + case 'tx': return this.hash; - case "filter": + case 'filter': return this.filter; } return this.tag; }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Event2.prototype, "type", { - get: function() { - return this.tag.split(":")[0]; + Object.defineProperty(Event2.prototype, 'type', { + get: function () { + return this.tag.split(':')[0]; }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Event2.prototype, "hash", { - get: function() { - var comps = this.tag.split(":"); - if (comps[0] !== "tx") { + Object.defineProperty(Event2.prototype, 'hash', { + get: function () { + var comps = this.tag.split(':'); + if (comps[0] !== 'tx') { return null; } return comps[1]; }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(Event2.prototype, "filter", { - get: function() { - var comps = this.tag.split(":"); - if (comps[0] !== "filter") { + Object.defineProperty(Event2.prototype, 'filter', { + get: function () { + var comps = this.tag.split(':'); + if (comps[0] !== 'filter') { return null; } var address = comps[1]; @@ -23650,54 +25576,60 @@ var require_base_provider = __commonJS({ if (topics.length > 0) { filter.topics = topics; } - if (address && address !== "*") { + if (address && address !== '*') { filter.address = address; } return filter; }, enumerable: false, - configurable: true + configurable: true, }); - Event2.prototype.pollable = function() { - return this.tag.indexOf(":") >= 0 || PollableEvents.indexOf(this.tag) >= 0; + Event2.prototype.pollable = function () { + return this.tag.indexOf(':') >= 0 || PollableEvents.indexOf(this.tag) >= 0; }; return Event2; - }(); + })(); exports2.Event = Event; var coinInfos = { - "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" } + 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 bytes32ify(value) { return (0, bytes_1.hexZeroPad)(bignumber_1.BigNumber.from(value).toHexString(), 32); } function base58Encode(data) { - return basex_1.Base58.encode((0, bytes_1.concat)([data, (0, bytes_1.hexDataSlice)((0, sha2_1.sha256)((0, sha2_1.sha256)(data)), 0, 4)])); + return basex_1.Base58.encode( + (0, bytes_1.concat)([ + data, + (0, bytes_1.hexDataSlice)((0, sha2_1.sha256)((0, sha2_1.sha256)(data)), 0, 4), + ]) + ); } - var matcherIpfs = new RegExp("^(ipfs)://(.*)$", "i"); + var matcherIpfs = new RegExp('^(ipfs)://(.*)$', 'i'); var matchers = [ - new RegExp("^(https)://(.*)$", "i"), - new RegExp("^(data):(.*)$", "i"), + new RegExp('^(https)://(.*)$', 'i'), + new RegExp('^(data):(.*)$', 'i'), matcherIpfs, - new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$", "i") + new RegExp('^eip155:[0-9]+/(erc[0-9]+):(.*)$', 'i'), ]; function _parseString(result) { try { return (0, strings_1.toUtf8String)(_parseBytes(result)); - } catch (error) { - } + } catch (error) {} return null; } function _parseBytes(result) { - if (result === "0x") { + if (result === '0x') { return null; } var offset = bignumber_1.BigNumber.from((0, bytes_1.hexDataSlice)(result, 0, 32)).toNumber(); - var length = bignumber_1.BigNumber.from((0, bytes_1.hexDataSlice)(result, offset, offset + 32)).toNumber(); + var length = bignumber_1.BigNumber.from( + (0, bytes_1.hexDataSlice)(result, offset, offset + 32) + ).toNumber(); return (0, bytes_1.hexDataSlice)(result, offset + 32, offset + 32 + length); } function getIpfsLink(link) { @@ -23706,26 +25638,30 @@ var require_base_provider = __commonJS({ } else if (link.match(/^ipfs:\/\//i)) { link = link.substring(7); } else { - logger.throwArgumentError("unsupported IPFS format", "link", link); + logger.throwArgumentError('unsupported IPFS format', 'link', link); } - return "https://gateway.ipfs.io/ipfs/" + link; + return 'https://gateway.ipfs.io/ipfs/' + link; } - var Resolver = function() { + var Resolver = (function () { function Resolver2(provider, address, name2, resolvedAddress) { - (0, properties_1.defineReadOnly)(this, "provider", provider); - (0, properties_1.defineReadOnly)(this, "name", name2); - (0, properties_1.defineReadOnly)(this, "address", provider.formatter.address(address)); - (0, properties_1.defineReadOnly)(this, "_resolvedAddress", resolvedAddress); + (0, properties_1.defineReadOnly)(this, 'provider', provider); + (0, properties_1.defineReadOnly)(this, 'name', name2); + (0, properties_1.defineReadOnly)(this, 'address', provider.formatter.address(address)); + (0, properties_1.defineReadOnly)(this, '_resolvedAddress', resolvedAddress); } - Resolver2.prototype._fetchBytes = function(selector, parameters) { - return __awaiter(this, void 0, void 0, function() { + Resolver2.prototype._fetchBytes = function (selector, parameters) { + return __awaiter(this, void 0, void 0, function () { var tx, _a7, error_1; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: tx = { to: this.address, - data: (0, bytes_1.hexConcat)([selector, (0, hash_1.namehash)(this.name), parameters || "0x"]) + data: (0, bytes_1.hexConcat)([ + selector, + (0, hash_1.namehash)(this.name), + parameters || '0x', + ]), }; _b.label = 1; case 1: @@ -23746,14 +25682,18 @@ var require_base_provider = __commonJS({ }); }); }; - Resolver2.prototype._getAddress = function(coinType, hexBytes) { + Resolver2.prototype._getAddress = function (coinType, hexBytes) { var coinInfo = coinInfos[String(coinType)]; if (coinInfo == null) { - logger.throwError("unsupported coin type: " + coinType, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "getAddress(" + coinType + ")" - }); + logger.throwError( + 'unsupported coin type: ' + coinType, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'getAddress(' + coinType + ')', + } + ); } - if (coinInfo.ilk === "eth") { + if (coinInfo.ilk === 'eth') { return this.provider.formatter.address(hexBytes); } var bytes = (0, bytes_1.arrayify)(hexBytes); @@ -23762,7 +25702,7 @@ var require_base_provider = __commonJS({ if (p2pkh) { var length_1 = parseInt(p2pkh[1], 16); if (p2pkh[2].length === length_1 * 2 && length_1 >= 1 && length_1 <= 75) { - return base58Encode((0, bytes_1.concat)([[coinInfo.p2pkh], "0x" + p2pkh[2]])); + return base58Encode((0, bytes_1.concat)([[coinInfo.p2pkh], '0x' + p2pkh[2]])); } } } @@ -23771,7 +25711,7 @@ var require_base_provider = __commonJS({ if (p2sh) { var length_2 = parseInt(p2sh[1], 16); if (p2sh[2].length === length_2 * 2 && length_2 >= 1 && length_2 <= 75) { - return base58Encode((0, bytes_1.concat)([[coinInfo.p2sh], "0x" + p2sh[2]])); + return base58Encode((0, bytes_1.concat)([[coinInfo.p2sh], '0x' + p2sh[2]])); } } } @@ -23793,28 +25733,27 @@ var require_base_provider = __commonJS({ } return null; }; - Resolver2.prototype.getAddress = function(coinType) { - return __awaiter(this, void 0, void 0, function() { + Resolver2.prototype.getAddress = function (coinType) { + return __awaiter(this, void 0, void 0, function () { var transaction, hexBytes_1, error_2, hexBytes, address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: if (coinType == null) { coinType = 60; } - if (!(coinType === 60)) - return [3, 4]; + if (!(coinType === 60)) return [3, 4]; _a7.label = 1; case 1: _a7.trys.push([1, 3, , 4]); transaction = { to: this.address, - data: "0x3b3b57de" + (0, hash_1.namehash)(this.name).substring(2) + data: '0x3b3b57de' + (0, hash_1.namehash)(this.name).substring(2), }; return [4, this.provider.call(transaction)]; case 2: hexBytes_1 = _a7.sent(); - if (hexBytes_1 === "0x" || hexBytes_1 === constants_1.HashZero) { + if (hexBytes_1 === '0x' || hexBytes_1 === constants_1.HashZero) { return [2, null]; } return [2, this.provider.formatter.callAddress(hexBytes_1)]; @@ -23825,36 +25764,64 @@ var require_base_provider = __commonJS({ } throw error_2; case 4: - return [4, this._fetchBytes("0xf1cb7e06", bytes32ify(coinType))]; + return [4, this._fetchBytes('0xf1cb7e06', bytes32ify(coinType))]; case 5: hexBytes = _a7.sent(); - if (hexBytes == null || hexBytes === "0x") { + if (hexBytes == null || hexBytes === '0x') { return [2, null]; } address = this._getAddress(coinType, hexBytes); if (address == null) { - logger.throwError("invalid or unsupported coin data", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "getAddress(" + coinType + ")", - coinType, - data: hexBytes - }); + logger.throwError( + 'invalid or unsupported coin data', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'getAddress(' + coinType + ')', + coinType, + data: hexBytes, + } + ); } return [2, address]; } }); }); }; - Resolver2.prototype.getAvatar = function() { - return __awaiter(this, void 0, void 0, function() { - var linkage, avatar, i, match, scheme, _a7, selector, owner, _b, comps, addr, tokenId, tokenOwner, _c, _d, balance, _e, _f, tx, metadataUrl, _g, metadata, imageUrl, ipfs, error_3; - return __generator(this, function(_h) { + Resolver2.prototype.getAvatar = function () { + return __awaiter(this, void 0, void 0, function () { + var linkage, + avatar, + i, + match, + scheme, + _a7, + selector, + owner, + _b, + comps, + addr, + tokenId, + tokenOwner, + _c, + _d, + balance, + _e, + _f, + tx, + metadataUrl, + _g, + metadata, + imageUrl, + ipfs, + error_3; + return __generator(this, function (_h) { switch (_h.label) { case 0: - linkage = [{ type: "name", content: this.name }]; + linkage = [{ type: 'name', content: this.name }]; _h.label = 1; case 1: _h.trys.push([1, 19, , 20]); - return [4, this.getText("avatar")]; + return [4, this.getText('avatar')]; case 2: avatar = _h.sent(); if (avatar == null) { @@ -23863,8 +25830,7 @@ var require_base_provider = __commonJS({ i = 0; _h.label = 3; case 3: - if (!(i < matchers.length)) - return [3, 18]; + if (!(i < matchers.length)) return [3, 18]; match = avatar.match(matchers[i]); if (match == null) { return [3, 17]; @@ -23872,80 +25838,90 @@ var require_base_provider = __commonJS({ scheme = match[1].toLowerCase(); _a7 = scheme; switch (_a7) { - case "https": + case 'https': return [3, 4]; - case "data": + case 'data': return [3, 5]; - case "ipfs": + case 'ipfs': return [3, 6]; - case "erc721": + case 'erc721': return [3, 7]; - case "erc1155": + case 'erc1155': return [3, 7]; } return [3, 17]; case 4: - linkage.push({ type: "url", content: avatar }); + linkage.push({ type: 'url', content: avatar }); return [2, { linkage, url: avatar }]; case 5: - linkage.push({ type: "data", content: avatar }); + linkage.push({ type: 'data', content: avatar }); return [2, { linkage, url: avatar }]; case 6: - linkage.push({ type: "ipfs", content: avatar }); + linkage.push({ type: 'ipfs', content: avatar }); return [2, { linkage, url: getIpfsLink(avatar) }]; case 7: - selector = scheme === "erc721" ? "0xc87b56dd" : "0x0e89341c"; + selector = scheme === 'erc721' ? '0xc87b56dd' : '0x0e89341c'; linkage.push({ type: scheme, content: avatar }); _b = this._resolvedAddress; - if (_b) - return [3, 9]; + if (_b) return [3, 9]; return [4, this.getAddress()]; case 8: _b = _h.sent(); _h.label = 9; case 9: owner = _b; - comps = (match[2] || "").split("/"); + comps = (match[2] || '').split('/'); if (comps.length !== 2) { return [2, null]; } return [4, this.provider.formatter.address(comps[0])]; case 10: addr = _h.sent(); - tokenId = (0, bytes_1.hexZeroPad)(bignumber_1.BigNumber.from(comps[1]).toHexString(), 32); - if (!(scheme === "erc721")) - return [3, 12]; + tokenId = (0, bytes_1.hexZeroPad)( + bignumber_1.BigNumber.from(comps[1]).toHexString(), + 32 + ); + if (!(scheme === 'erc721')) return [3, 12]; _d = (_c = this.provider.formatter).callAddress; - return [4, this.provider.call({ - to: addr, - data: (0, bytes_1.hexConcat)(["0x6352211e", tokenId]) - })]; + return [ + 4, + this.provider.call({ + to: addr, + data: (0, bytes_1.hexConcat)(['0x6352211e', tokenId]), + }), + ]; case 11: tokenOwner = _d.apply(_c, [_h.sent()]); if (owner !== tokenOwner) { return [2, null]; } - linkage.push({ type: "owner", content: tokenOwner }); + linkage.push({ type: 'owner', content: tokenOwner }); return [3, 14]; case 12: - if (!(scheme === "erc1155")) - return [3, 14]; + if (!(scheme === 'erc1155')) return [3, 14]; _f = (_e = bignumber_1.BigNumber).from; - return [4, this.provider.call({ - to: addr, - data: (0, bytes_1.hexConcat)(["0x00fdd58e", (0, bytes_1.hexZeroPad)(owner, 32), tokenId]) - })]; + return [ + 4, + this.provider.call({ + to: addr, + data: (0, bytes_1.hexConcat)([ + '0x00fdd58e', + (0, bytes_1.hexZeroPad)(owner, 32), + tokenId, + ]), + }), + ]; case 13: balance = _f.apply(_e, [_h.sent()]); if (balance.isZero()) { return [2, null]; } - linkage.push({ type: "balance", content: balance.toString() }); + linkage.push({ type: 'balance', content: balance.toString() }); _h.label = 14; case 14: tx = { to: this.provider.formatter.address(comps[0]), - data: (0, bytes_1.hexConcat)([selector, tokenId]) + data: (0, bytes_1.hexConcat)([selector, tokenId]), }; _g = _parseString; return [4, this.provider.call(tx)]; @@ -23954,24 +25930,24 @@ var require_base_provider = __commonJS({ if (metadataUrl == null) { return [2, null]; } - linkage.push({ type: "metadata-url-base", content: metadataUrl }); - if (scheme === "erc1155") { - metadataUrl = metadataUrl.replace("{id}", tokenId.substring(2)); - linkage.push({ type: "metadata-url-expanded", content: metadataUrl }); + linkage.push({ type: 'metadata-url-base', content: metadataUrl }); + if (scheme === 'erc1155') { + metadataUrl = metadataUrl.replace('{id}', tokenId.substring(2)); + linkage.push({ type: 'metadata-url-expanded', content: metadataUrl }); } if (metadataUrl.match(/^ipfs:/i)) { metadataUrl = getIpfsLink(metadataUrl); } - linkage.push({ type: "metadata-url", content: metadataUrl }); + linkage.push({ type: 'metadata-url', content: metadataUrl }); return [4, (0, web_1.fetchJson)(metadataUrl)]; case 16: metadata = _h.sent(); if (!metadata) { return [2, null]; } - linkage.push({ type: "metadata", content: JSON.stringify(metadata) }); + linkage.push({ type: 'metadata', content: JSON.stringify(metadata) }); imageUrl = metadata.image; - if (typeof imageUrl !== "string") { + if (typeof imageUrl !== 'string') { return [2, null]; } if (imageUrl.match(/^(https:\/\/|data:)/i)) { @@ -23980,10 +25956,10 @@ var require_base_provider = __commonJS({ if (ipfs == null) { return [2, null]; } - linkage.push({ type: "url-ipfs", content: imageUrl }); + linkage.push({ type: 'url-ipfs', content: imageUrl }); imageUrl = getIpfsLink(imageUrl); } - linkage.push({ type: "url", content: imageUrl }); + linkage.push({ type: 'url', content: imageUrl }); return [2, { linkage, url: imageUrl }]; case 17: i++; @@ -23999,54 +25975,70 @@ var require_base_provider = __commonJS({ }); }); }; - Resolver2.prototype.getContentHash = function() { - return __awaiter(this, void 0, void 0, function() { + Resolver2.prototype.getContentHash = function () { + return __awaiter(this, void 0, void 0, function () { var hexBytes, ipfs, length_4, swarm; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - return [4, this._fetchBytes("0xbc1c58d1")]; + return [4, this._fetchBytes('0xbc1c58d1')]; case 1: hexBytes = _a7.sent(); - if (hexBytes == null || hexBytes === "0x") { + if (hexBytes == null || hexBytes === '0x') { return [2, null]; } - ipfs = hexBytes.match(/^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/); + ipfs = hexBytes.match( + /^0xe3010170(([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f]*))$/ + ); if (ipfs) { length_4 = parseInt(ipfs[3], 16); if (ipfs[4].length === length_4 * 2) { - return [2, "ipfs://" + basex_1.Base58.encode("0x" + ipfs[1])]; + return [2, 'ipfs://' + basex_1.Base58.encode('0x' + ipfs[1])]; } } swarm = hexBytes.match(/^0xe40101fa011b20([0-9a-f]*)$/); if (swarm) { if (swarm[1].length === 32 * 2) { - return [2, "bzz://" + swarm[1]]; + return [2, 'bzz://' + swarm[1]]; } } - return [2, logger.throwError("invalid or unsupported content hash data", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "getContentHash()", - data: hexBytes - })]; + return [ + 2, + logger.throwError( + 'invalid or unsupported content hash data', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'getContentHash()', + data: hexBytes, + } + ), + ]; } }); }); }; - Resolver2.prototype.getText = function(key) { - return __awaiter(this, void 0, void 0, function() { + Resolver2.prototype.getText = function (key) { + return __awaiter(this, void 0, void 0, function () { var keyBytes, hexBytes; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: keyBytes = (0, strings_1.toUtf8Bytes)(key); - keyBytes = (0, bytes_1.concat)([bytes32ify(64), bytes32ify(keyBytes.length), keyBytes]); + keyBytes = (0, bytes_1.concat)([ + bytes32ify(64), + bytes32ify(keyBytes.length), + keyBytes, + ]); if (keyBytes.length % 32 !== 0) { - keyBytes = (0, bytes_1.concat)([keyBytes, (0, bytes_1.hexZeroPad)("0x", 32 - key.length % 32)]); + keyBytes = (0, bytes_1.concat)([ + keyBytes, + (0, bytes_1.hexZeroPad)('0x', 32 - (key.length % 32)), + ]); } - return [4, this._fetchBytes("0x59d1d43c", (0, bytes_1.hexlify)(keyBytes))]; + return [4, this._fetchBytes('0x59d1d43c', (0, bytes_1.hexlify)(keyBytes))]; case 1: hexBytes = _a7.sent(); - if (hexBytes == null || hexBytes === "0x") { + if (hexBytes == null || hexBytes === '0x') { return [2, null]; } return [2, (0, strings_1.toUtf8String)(hexBytes)]; @@ -24055,11 +26047,11 @@ var require_base_provider = __commonJS({ }); }; return Resolver2; - }(); + })(); exports2.Resolver = Resolver; var defaultFormatter = null; var nextPollId = 1; - var BaseProvider = function(_super) { + var BaseProvider = (function (_super) { __extends(BaseProvider2, _super); function BaseProvider2(network) { var _newTarget = this.constructor; @@ -24069,23 +26061,21 @@ var require_base_provider = __commonJS({ _this._events = []; _this._emitted = { block: -2 }; _this.formatter = _newTarget.getFormatter(); - (0, properties_1.defineReadOnly)(_this, "anyNetwork", network === "any"); + (0, properties_1.defineReadOnly)(_this, 'anyNetwork', network === 'any'); if (_this.anyNetwork) { network = _this.detectNetwork(); } if (network instanceof Promise) { _this._networkPromise = network; - network.catch(function(error) { - }); - _this._ready().catch(function(error) { - }); + network.catch(function (error) {}); + _this._ready().catch(function (error) {}); } else { - var knownNetwork = (0, properties_1.getStatic)(_newTarget, "getNetwork")(network); + var knownNetwork = (0, properties_1.getStatic)(_newTarget, 'getNetwork')(network); if (knownNetwork) { - (0, properties_1.defineReadOnly)(_this, "_network", knownNetwork); - _this.emit("network", knownNetwork, null); + (0, properties_1.defineReadOnly)(_this, '_network', knownNetwork); + _this.emit('network', knownNetwork, null); } else { - logger.throwArgumentError("invalid network", "network", network); + logger.throwArgumentError('invalid network', 'network', network); } } _this._maxInternalBlockNumber = -1024; @@ -24094,17 +26084,15 @@ var require_base_provider = __commonJS({ _this._fastQueryDate = 0; return _this; } - BaseProvider2.prototype._ready = function() { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._ready = function () { + return __awaiter(this, void 0, void 0, function () { var network, error_4; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - if (!(this._network == null)) - return [3, 7]; + if (!(this._network == null)) return [3, 7]; network = null; - if (!this._networkPromise) - return [3, 4]; + if (!this._networkPromise) return [3, 4]; _a7.label = 1; case 1: _a7.trys.push([1, 3, , 4]); @@ -24116,23 +26104,26 @@ var require_base_provider = __commonJS({ error_4 = _a7.sent(); return [3, 4]; case 4: - if (!(network == null)) - return [3, 6]; + if (!(network == null)) return [3, 6]; return [4, this.detectNetwork()]; case 5: network = _a7.sent(); _a7.label = 6; case 6: if (!network) { - logger.throwError("no network detected", logger_1.Logger.errors.UNKNOWN_ERROR, {}); + logger.throwError( + 'no network detected', + logger_1.Logger.errors.UNKNOWN_ERROR, + {} + ); } if (this._network == null) { if (this.anyNetwork) { this._network = network; } else { - (0, properties_1.defineReadOnly)(this, "_network", network); + (0, properties_1.defineReadOnly)(this, '_network', network); } - this.emit("network", network, null); + this.emit('network', network, null); } _a7.label = 7; case 7: @@ -24141,48 +26132,52 @@ var require_base_provider = __commonJS({ }); }); }; - Object.defineProperty(BaseProvider2.prototype, "ready", { - get: function() { + Object.defineProperty(BaseProvider2.prototype, 'ready', { + get: function () { var _this = this; - return (0, web_1.poll)(function() { - return _this._ready().then(function(network) { - return network; - }, function(error) { - if (error.code === logger_1.Logger.errors.NETWORK_ERROR && error.event === "noNetwork") { - return void 0; + return (0, web_1.poll)(function () { + return _this._ready().then( + function (network) { + return network; + }, + function (error) { + if ( + error.code === logger_1.Logger.errors.NETWORK_ERROR && + error.event === 'noNetwork' + ) { + return void 0; + } + throw error; } - throw error; - }); + ); }); }, enumerable: false, - configurable: true + configurable: true, }); - BaseProvider2.getFormatter = function() { + BaseProvider2.getFormatter = function () { if (defaultFormatter == null) { defaultFormatter = new formatter_1.Formatter(); } return defaultFormatter; }; - BaseProvider2.getNetwork = function(network) { - return (0, networks_1.getNetwork)(network == null ? "homestead" : network); + BaseProvider2.getNetwork = function (network) { + return (0, networks_1.getNetwork)(network == null ? 'homestead' : network); }; - BaseProvider2.prototype._getInternalBlockNumber = function(maxAge) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getInternalBlockNumber = function (maxAge) { + return __awaiter(this, void 0, void 0, function () { var internalBlockNumber, result, error_5, reqTime, checkInternalBlockNumber; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this._ready()]; case 1: _a7.sent(); - if (!(maxAge > 0)) - return [3, 7]; + if (!(maxAge > 0)) return [3, 7]; _a7.label = 2; case 2: - if (!this._internalBlockNumber) - return [3, 7]; + if (!this._internalBlockNumber) return [3, 7]; internalBlockNumber = this._internalBlockNumber; _a7.label = 3; case 3: @@ -24205,14 +26200,18 @@ var require_base_provider = __commonJS({ case 7: reqTime = getTime(); checkInternalBlockNumber = (0, properties_1.resolveProperties)({ - blockNumber: this.perform("getBlockNumber", {}), - networkError: this.getNetwork().then(function(network) { - return null; - }, function(error) { - return error; - }) - }).then(function(_a8) { - var blockNumber = _a8.blockNumber, networkError = _a8.networkError; + blockNumber: this.perform('getBlockNumber', {}), + networkError: this.getNetwork().then( + function (network) { + return null; + }, + function (error) { + return error; + } + ), + }).then(function (_a8) { + var blockNumber = _a8.blockNumber, + networkError = _a8.networkError; if (networkError) { if (_this._internalBlockNumber === checkInternalBlockNumber) { _this._internalBlockNumber = null; @@ -24229,7 +26228,7 @@ var require_base_provider = __commonJS({ return { blockNumber, reqTime, respTime }; }); this._internalBlockNumber = checkInternalBlockNumber; - checkInternalBlockNumber.catch(function(error) { + checkInternalBlockNumber.catch(function (error) { if (_this._internalBlockNumber === checkInternalBlockNumber) { _this._internalBlockNumber = null; } @@ -24241,11 +26240,11 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.poll = function() { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.poll = function () { + return __awaiter(this, void 0, void 0, function () { var pollId, runners, blockNumber, error_6, i; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: pollId = nextPollId++; @@ -24260,39 +26259,52 @@ var require_base_provider = __commonJS({ return [3, 4]; case 3: error_6 = _a7.sent(); - this.emit("error", error_6); + this.emit('error', error_6); return [2]; case 4: this._setFastBlockNumber(blockNumber); - this.emit("poll", pollId, blockNumber); + this.emit('poll', pollId, blockNumber); if (blockNumber === this._lastBlockNumber) { - this.emit("didPoll", pollId); + this.emit('didPoll', pollId); return [2]; } if (this._emitted.block === -2) { this._emitted.block = blockNumber - 1; } if (Math.abs(this._emitted.block - blockNumber) > 1e3) { - logger.warn("network block skew detected; skipping block events (emitted=" + this._emitted.block + " blockNumber" + blockNumber + ")"); - this.emit("error", logger.makeError("network block skew detected", logger_1.Logger.errors.NETWORK_ERROR, { - blockNumber, - event: "blockSkew", - previousBlockNumber: this._emitted.block - })); - this.emit("block", blockNumber); + logger.warn( + 'network block skew detected; skipping block events (emitted=' + + this._emitted.block + + ' blockNumber' + + blockNumber + + ')' + ); + this.emit( + 'error', + logger.makeError( + 'network block skew detected', + logger_1.Logger.errors.NETWORK_ERROR, + { + blockNumber, + event: 'blockSkew', + previousBlockNumber: this._emitted.block, + } + ) + ); + this.emit('block', blockNumber); } else { for (i = this._emitted.block + 1; i <= blockNumber; i++) { - this.emit("block", i); + this.emit('block', i); } } if (this._emitted.block !== blockNumber) { this._emitted.block = blockNumber; - Object.keys(this._emitted).forEach(function(key) { - if (key === "block") { + Object.keys(this._emitted).forEach(function (key) { + if (key === 'block') { return; } var eventBlockNumber = _this._emitted[key]; - if (eventBlockNumber === "pending") { + if (eventBlockNumber === 'pending') { return; } if (blockNumber - eventBlockNumber > 12) { @@ -24303,81 +26315,96 @@ var require_base_provider = __commonJS({ if (this._lastBlockNumber === -2) { this._lastBlockNumber = blockNumber - 1; } - this._events.forEach(function(event) { + this._events.forEach(function (event) { switch (event.type) { - case "tx": { + case 'tx': { var hash_2 = event.hash; - var runner = _this.getTransactionReceipt(hash_2).then(function(receipt) { - if (!receipt || receipt.blockNumber == null) { + var runner = _this + .getTransactionReceipt(hash_2) + .then(function (receipt) { + if (!receipt || receipt.blockNumber == null) { + return null; + } + _this._emitted['t:' + hash_2] = receipt.blockNumber; + _this.emit(hash_2, receipt); return null; - } - _this._emitted["t:" + hash_2] = receipt.blockNumber; - _this.emit(hash_2, receipt); - return null; - }).catch(function(error) { - _this.emit("error", error); - }); + }) + .catch(function (error) { + _this.emit('error', error); + }); runners.push(runner); break; } - case "filter": { + case 'filter': { var filter_1 = event.filter; filter_1.fromBlock = _this._lastBlockNumber + 1; filter_1.toBlock = blockNumber; - var runner = _this.getLogs(filter_1).then(function(logs) { - if (logs.length === 0) { - return; - } - logs.forEach(function(log) { - _this._emitted["b:" + log.blockHash] = log.blockNumber; - _this._emitted["t:" + log.transactionHash] = log.blockNumber; - _this.emit(filter_1, log); + var runner = _this + .getLogs(filter_1) + .then(function (logs) { + if (logs.length === 0) { + return; + } + logs.forEach(function (log) { + _this._emitted['b:' + log.blockHash] = log.blockNumber; + _this._emitted['t:' + log.transactionHash] = log.blockNumber; + _this.emit(filter_1, log); + }); + }) + .catch(function (error) { + _this.emit('error', error); }); - }).catch(function(error) { - _this.emit("error", error); - }); runners.push(runner); break; } } }); this._lastBlockNumber = blockNumber; - Promise.all(runners).then(function() { - _this.emit("didPoll", pollId); - }).catch(function(error) { - _this.emit("error", error); - }); + Promise.all(runners) + .then(function () { + _this.emit('didPoll', pollId); + }) + .catch(function (error) { + _this.emit('error', error); + }); return [2]; } }); }); }; - BaseProvider2.prototype.resetEventsBlock = function(blockNumber) { + BaseProvider2.prototype.resetEventsBlock = function (blockNumber) { this._lastBlockNumber = blockNumber - 1; if (this.polling) { this.poll(); } }; - Object.defineProperty(BaseProvider2.prototype, "network", { - get: function() { + Object.defineProperty(BaseProvider2.prototype, 'network', { + get: function () { return this._network; }, enumerable: false, - configurable: true + configurable: true, }); - BaseProvider2.prototype.detectNetwork = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { - return [2, logger.throwError("provider does not support network detection", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "provider.detectNetwork" - })]; + BaseProvider2.prototype.detectNetwork = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { + return [ + 2, + logger.throwError( + 'provider does not support network detection', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'provider.detectNetwork', + } + ), + ]; }); }); }; - BaseProvider2.prototype.getNetwork = function() { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getNetwork = function () { + return __awaiter(this, void 0, void 0, function () { var network, currentNetwork, error; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this._ready()]; @@ -24386,10 +26413,8 @@ var require_base_provider = __commonJS({ return [4, this.detectNetwork()]; case 2: currentNetwork = _a7.sent(); - if (!(network.chainId !== currentNetwork.chainId)) - return [3, 5]; - if (!this.anyNetwork) - return [3, 4]; + if (!(network.chainId !== currentNetwork.chainId)) return [3, 5]; + if (!this.anyNetwork) return [3, 4]; this._network = currentNetwork; this._lastBlockNumber = -2; this._fastBlockNumber = null; @@ -24398,18 +26423,22 @@ var require_base_provider = __commonJS({ this._emitted.block = -2; this._maxInternalBlockNumber = -1024; this._internalBlockNumber = null; - this.emit("network", currentNetwork, network); + this.emit('network', currentNetwork, network); return [4, stall(0)]; case 3: _a7.sent(); return [2, this._network]; case 4: - error = logger.makeError("underlying network changed", logger_1.Logger.errors.NETWORK_ERROR, { - event: "changed", - network, - detectedNetwork: currentNetwork - }); - this.emit("error", error); + error = logger.makeError( + 'underlying network changed', + logger_1.Logger.errors.NETWORK_ERROR, + { + event: 'changed', + network, + detectedNetwork: currentNetwork, + } + ); + this.emit('error', error); throw error; case 5: return [2, network]; @@ -24417,32 +26446,34 @@ var require_base_provider = __commonJS({ }); }); }; - Object.defineProperty(BaseProvider2.prototype, "blockNumber", { - get: function() { + Object.defineProperty(BaseProvider2.prototype, 'blockNumber', { + get: function () { var _this = this; - this._getInternalBlockNumber(100 + this.pollingInterval / 2).then(function(blockNumber) { - _this._setFastBlockNumber(blockNumber); - }, function(error) { - }); + this._getInternalBlockNumber(100 + this.pollingInterval / 2).then( + function (blockNumber) { + _this._setFastBlockNumber(blockNumber); + }, + function (error) {} + ); return this._fastBlockNumber != null ? this._fastBlockNumber : -1; }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(BaseProvider2.prototype, "polling", { - get: function() { + Object.defineProperty(BaseProvider2.prototype, 'polling', { + get: function () { return this._poller != null; }, - set: function(value) { + set: function (value) { var _this = this; if (value && !this._poller) { - this._poller = setInterval(function() { + this._poller = setInterval(function () { _this.poll(); }, this.pollingInterval); if (!this._bootstrapPoll) { - this._bootstrapPoll = setTimeout(function() { + this._bootstrapPoll = setTimeout(function () { _this.poll(); - _this._bootstrapPoll = setTimeout(function() { + _this._bootstrapPoll = setTimeout(function () { if (!_this._poller) { _this.poll(); } @@ -24456,34 +26487,34 @@ var require_base_provider = __commonJS({ } }, enumerable: false, - configurable: true + configurable: true, }); - Object.defineProperty(BaseProvider2.prototype, "pollingInterval", { - get: function() { + Object.defineProperty(BaseProvider2.prototype, 'pollingInterval', { + get: function () { return this._pollingInterval; }, - set: function(value) { + set: function (value) { var _this = this; - if (typeof value !== "number" || value <= 0 || parseInt(String(value)) != value) { - throw new Error("invalid polling interval"); + if (typeof value !== 'number' || value <= 0 || parseInt(String(value)) != value) { + throw new Error('invalid polling interval'); } this._pollingInterval = value; if (this._poller) { clearInterval(this._poller); - this._poller = setInterval(function() { + this._poller = setInterval(function () { _this.poll(); }, this._pollingInterval); } }, enumerable: false, - configurable: true + configurable: true, }); - BaseProvider2.prototype._getFastBlockNumber = function() { + BaseProvider2.prototype._getFastBlockNumber = function () { var _this = this; var now = getTime(); if (now - this._fastQueryDate > 2 * this._pollingInterval) { this._fastQueryDate = now; - this._fastBlockNumberPromise = this.getBlockNumber().then(function(blockNumber) { + this._fastBlockNumberPromise = this.getBlockNumber().then(function (blockNumber) { if (_this._fastBlockNumber == null || blockNumber > _this._fastBlockNumber) { _this._fastBlockNumber = blockNumber; } @@ -24492,7 +26523,7 @@ var require_base_provider = __commonJS({ } return this._fastBlockNumberPromise; }; - BaseProvider2.prototype._setFastBlockNumber = function(blockNumber) { + BaseProvider2.prototype._setFastBlockNumber = function (blockNumber) { if (this._fastBlockNumber != null && blockNumber < this._fastBlockNumber) { return; } @@ -24502,18 +26533,35 @@ var require_base_provider = __commonJS({ this._fastBlockNumberPromise = Promise.resolve(blockNumber); } }; - BaseProvider2.prototype.waitForTransaction = function(transactionHash, confirmations, timeout) { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { - return [2, this._waitForTransaction(transactionHash, confirmations == null ? 1 : confirmations, timeout || 0, null)]; + BaseProvider2.prototype.waitForTransaction = function ( + transactionHash, + confirmations, + timeout + ) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { + return [ + 2, + this._waitForTransaction( + transactionHash, + confirmations == null ? 1 : confirmations, + timeout || 0, + null + ), + ]; }); }); }; - BaseProvider2.prototype._waitForTransaction = function(transactionHash, confirmations, timeout, replaceable) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._waitForTransaction = function ( + transactionHash, + confirmations, + timeout, + replaceable + ) { + return __awaiter(this, void 0, void 0, function () { var receipt; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getTransactionReceipt(transactionHash)]; @@ -24522,351 +26570,435 @@ var require_base_provider = __commonJS({ if ((receipt ? receipt.confirmations : 0) >= confirmations) { return [2, receipt]; } - return [2, new Promise(function(resolve, reject) { - var cancelFuncs = []; - var done = false; - var alreadyDone = function() { - if (done) { - return true; - } - done = true; - cancelFuncs.forEach(function(func) { - func(); + return [ + 2, + new Promise(function (resolve, reject) { + var cancelFuncs = []; + var done = false; + var alreadyDone = function () { + if (done) { + return true; + } + done = true; + cancelFuncs.forEach(function (func) { + func(); + }); + return false; + }; + var minedHandler = function (receipt2) { + if (receipt2.confirmations < confirmations) { + return; + } + if (alreadyDone()) { + return; + } + resolve(receipt2); + }; + _this.on(transactionHash, minedHandler); + cancelFuncs.push(function () { + _this.removeListener(transactionHash, minedHandler); }); - return false; - }; - var minedHandler = function(receipt2) { - if (receipt2.confirmations < confirmations) { - return; - } - if (alreadyDone()) { - return; - } - resolve(receipt2); - }; - _this.on(transactionHash, minedHandler); - cancelFuncs.push(function() { - _this.removeListener(transactionHash, minedHandler); - }); - if (replaceable) { - var lastBlockNumber_1 = replaceable.startBlock; - var scannedBlock_1 = null; - var replaceHandler_1 = function(blockNumber) { - return __awaiter(_this, void 0, void 0, function() { - var _this2 = this; - return __generator(this, function(_a8) { - switch (_a8.label) { - case 0: - if (done) { - return [2]; - } - return [4, stall(1e3)]; - case 1: - _a8.sent(); - this.getTransactionCount(replaceable.from).then(function(nonce) { - return __awaiter(_this2, void 0, void 0, function() { - var mined, block, ti, tx, receipt_1, reason; - return __generator(this, function(_a9) { - switch (_a9.label) { - case 0: - if (done) { - return [2]; - } - if (!(nonce <= replaceable.nonce)) - return [3, 1]; - lastBlockNumber_1 = blockNumber; - return [3, 9]; - case 1: - return [4, this.getTransaction(transactionHash)]; - case 2: - mined = _a9.sent(); - if (mined && mined.blockNumber != null) { - return [2]; - } - if (scannedBlock_1 == null) { - scannedBlock_1 = lastBlockNumber_1 - 3; - if (scannedBlock_1 < replaceable.startBlock) { - scannedBlock_1 = replaceable.startBlock; - } - } - _a9.label = 3; - case 3: - if (!(scannedBlock_1 <= blockNumber)) - return [3, 9]; - if (done) { - return [2]; - } - return [4, this.getBlockWithTransactions(scannedBlock_1)]; - case 4: - block = _a9.sent(); - ti = 0; - _a9.label = 5; - case 5: - if (!(ti < block.transactions.length)) - return [3, 8]; - tx = block.transactions[ti]; - if (tx.hash === transactionHash) { - return [2]; - } - if (!(tx.from === replaceable.from && tx.nonce === replaceable.nonce)) - return [3, 7]; - if (done) { - return [2]; - } - return [4, this.waitForTransaction(tx.hash, confirmations)]; - case 6: - receipt_1 = _a9.sent(); - if (alreadyDone()) { - return [2]; - } - reason = "replaced"; - if (tx.data === replaceable.data && tx.to === replaceable.to && tx.value.eq(replaceable.value)) { - reason = "repriced"; - } else if (tx.data === "0x" && tx.from === tx.to && tx.value.isZero()) { - reason = "cancelled"; - } - reject(logger.makeError("transaction was replaced", logger_1.Logger.errors.TRANSACTION_REPLACED, { - cancelled: reason === "replaced" || reason === "cancelled", - reason, - replacement: this._wrapTransaction(tx), - hash: transactionHash, - receipt: receipt_1 - })); - return [2]; - case 7: - ti++; - return [3, 5]; - case 8: - scannedBlock_1++; - return [3, 3]; - case 9: - if (done) { - return [2]; - } - this.once("block", replaceHandler_1); - return [2]; - } - }); - }); - }, function(error) { + if (replaceable) { + var lastBlockNumber_1 = replaceable.startBlock; + var scannedBlock_1 = null; + var replaceHandler_1 = function (blockNumber) { + return __awaiter(_this, void 0, void 0, function () { + var _this2 = this; + return __generator(this, function (_a8) { + switch (_a8.label) { + case 0: if (done) { - return; + return [2]; } - _this2.once("block", replaceHandler_1); - }); - return [2]; - } + return [4, stall(1e3)]; + case 1: + _a8.sent(); + this.getTransactionCount(replaceable.from).then( + function (nonce) { + return __awaiter(_this2, void 0, void 0, function () { + var mined, block, ti, tx, receipt_1, reason; + return __generator(this, function (_a9) { + switch (_a9.label) { + case 0: + if (done) { + return [2]; + } + if (!(nonce <= replaceable.nonce)) return [3, 1]; + lastBlockNumber_1 = blockNumber; + return [3, 9]; + case 1: + return [4, this.getTransaction(transactionHash)]; + case 2: + mined = _a9.sent(); + if (mined && mined.blockNumber != null) { + return [2]; + } + if (scannedBlock_1 == null) { + scannedBlock_1 = lastBlockNumber_1 - 3; + if (scannedBlock_1 < replaceable.startBlock) { + scannedBlock_1 = replaceable.startBlock; + } + } + _a9.label = 3; + case 3: + if (!(scannedBlock_1 <= blockNumber)) return [3, 9]; + if (done) { + return [2]; + } + return [ + 4, + this.getBlockWithTransactions(scannedBlock_1), + ]; + case 4: + block = _a9.sent(); + ti = 0; + _a9.label = 5; + case 5: + if (!(ti < block.transactions.length)) return [3, 8]; + tx = block.transactions[ti]; + if (tx.hash === transactionHash) { + return [2]; + } + if ( + !( + tx.from === replaceable.from && + tx.nonce === replaceable.nonce + ) + ) + return [3, 7]; + if (done) { + return [2]; + } + return [ + 4, + this.waitForTransaction(tx.hash, confirmations), + ]; + case 6: + receipt_1 = _a9.sent(); + if (alreadyDone()) { + return [2]; + } + reason = 'replaced'; + if ( + tx.data === replaceable.data && + tx.to === replaceable.to && + tx.value.eq(replaceable.value) + ) { + reason = 'repriced'; + } else if ( + tx.data === '0x' && + tx.from === tx.to && + tx.value.isZero() + ) { + reason = 'cancelled'; + } + reject( + logger.makeError( + 'transaction was replaced', + logger_1.Logger.errors.TRANSACTION_REPLACED, + { + cancelled: + reason === 'replaced' || reason === 'cancelled', + reason, + replacement: this._wrapTransaction(tx), + hash: transactionHash, + receipt: receipt_1, + } + ) + ); + return [2]; + case 7: + ti++; + return [3, 5]; + case 8: + scannedBlock_1++; + return [3, 3]; + case 9: + if (done) { + return [2]; + } + this.once('block', replaceHandler_1); + return [2]; + } + }); + }); + }, + function (error) { + if (done) { + return; + } + _this2.once('block', replaceHandler_1); + } + ); + return [2]; + } + }); }); + }; + if (done) { + return; + } + _this.once('block', replaceHandler_1); + cancelFuncs.push(function () { + _this.removeListener('block', replaceHandler_1); }); - }; - if (done) { - return; } - _this.once("block", replaceHandler_1); - cancelFuncs.push(function() { - _this.removeListener("block", replaceHandler_1); - }); - } - if (typeof timeout === "number" && timeout > 0) { - var timer_1 = setTimeout(function() { - if (alreadyDone()) { - return; + if (typeof timeout === 'number' && timeout > 0) { + var timer_1 = setTimeout(function () { + if (alreadyDone()) { + return; + } + reject( + logger.makeError('timeout exceeded', logger_1.Logger.errors.TIMEOUT, { + timeout, + }) + ); + }, timeout); + if (timer_1.unref) { + timer_1.unref(); } - reject(logger.makeError("timeout exceeded", logger_1.Logger.errors.TIMEOUT, { timeout })); - }, timeout); - if (timer_1.unref) { - timer_1.unref(); + cancelFuncs.push(function () { + clearTimeout(timer_1); + }); } - cancelFuncs.push(function() { - clearTimeout(timer_1); - }); - } - })]; + }), + ]; } }); }); }; - BaseProvider2.prototype.getBlockNumber = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + BaseProvider2.prototype.getBlockNumber = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { return [2, this._getInternalBlockNumber(0)]; }); }); }; - BaseProvider2.prototype.getGasPrice = function() { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getGasPrice = function () { + return __awaiter(this, void 0, void 0, function () { var result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, this.perform("getGasPrice", {})]; + return [4, this.perform('getGasPrice', {})]; case 2: result = _a7.sent(); try { return [2, bignumber_1.BigNumber.from(result)]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "getGasPrice", - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'getGasPrice', + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype.getBalance = function(addressOrName, blockTag) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getBalance = function (addressOrName, blockTag) { + return __awaiter(this, void 0, void 0, function () { var params, result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ - address: this._getAddress(addressOrName), - blockTag: this._getBlockTag(blockTag) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + address: this._getAddress(addressOrName), + blockTag: this._getBlockTag(blockTag), + }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("getBalance", params)]; + return [4, this.perform('getBalance', params)]; case 3: result = _a7.sent(); try { return [2, bignumber_1.BigNumber.from(result)]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "getBalance", - params, - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'getBalance', + params, + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype.getTransactionCount = function(addressOrName, blockTag) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getTransactionCount = function (addressOrName, blockTag) { + return __awaiter(this, void 0, void 0, function () { var params, result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ - address: this._getAddress(addressOrName), - blockTag: this._getBlockTag(blockTag) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + address: this._getAddress(addressOrName), + blockTag: this._getBlockTag(blockTag), + }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("getTransactionCount", params)]; + return [4, this.perform('getTransactionCount', params)]; case 3: result = _a7.sent(); try { return [2, bignumber_1.BigNumber.from(result).toNumber()]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "getTransactionCount", - params, - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'getTransactionCount', + params, + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype.getCode = function(addressOrName, blockTag) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getCode = function (addressOrName, blockTag) { + return __awaiter(this, void 0, void 0, function () { var params, result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ - address: this._getAddress(addressOrName), - blockTag: this._getBlockTag(blockTag) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + address: this._getAddress(addressOrName), + blockTag: this._getBlockTag(blockTag), + }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("getCode", params)]; + return [4, this.perform('getCode', params)]; case 3: result = _a7.sent(); try { return [2, (0, bytes_1.hexlify)(result)]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "getCode", - params, - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'getCode', + params, + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype.getStorageAt = function(addressOrName, position, blockTag) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getStorageAt = function (addressOrName, position, blockTag) { + return __awaiter(this, void 0, void 0, function () { var params, result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ - address: this._getAddress(addressOrName), - blockTag: this._getBlockTag(blockTag), - position: Promise.resolve(position).then(function(p) { - return (0, bytes_1.hexValue)(p); - }) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + address: this._getAddress(addressOrName), + blockTag: this._getBlockTag(blockTag), + position: Promise.resolve(position).then(function (p) { + return (0, bytes_1.hexValue)(p); + }), + }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("getStorageAt", params)]; + return [4, this.perform('getStorageAt', params)]; case 3: result = _a7.sent(); try { return [2, (0, bytes_1.hexlify)(result)]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "getStorageAt", - params, - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'getStorageAt', + params, + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype._wrapTransaction = function(tx, hash, startBlock) { + BaseProvider2.prototype._wrapTransaction = function (tx, hash, startBlock) { var _this = this; if (hash != null && (0, bytes_1.hexDataLength)(hash) !== 32) { - throw new Error("invalid response - sendTransaction"); + throw new Error('invalid response - sendTransaction'); } var result = tx; if (hash != null && tx.hash !== hash) { - logger.throwError("Transaction hash mismatch from Provider.sendTransaction.", logger_1.Logger.errors.UNKNOWN_ERROR, { expectedHash: tx.hash, returnedHash: hash }); + logger.throwError( + 'Transaction hash mismatch from Provider.sendTransaction.', + logger_1.Logger.errors.UNKNOWN_ERROR, + { expectedHash: tx.hash, returnedHash: hash } + ); } - result.wait = function(confirms, timeout) { - return __awaiter(_this, void 0, void 0, function() { + result.wait = function (confirms, timeout) { + return __awaiter(_this, void 0, void 0, function () { var replacement, receipt; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: if (confirms == null) { @@ -24883,7 +27015,7 @@ var require_base_provider = __commonJS({ nonce: tx.nonce, to: tx.to, value: tx.value, - startBlock + startBlock, }; } return [4, this._waitForTransaction(tx.hash, confirms, timeout, replacement)]; @@ -24892,12 +27024,12 @@ var require_base_provider = __commonJS({ if (receipt == null && confirms === 0) { return [2, null]; } - this._emitted["t:" + tx.hash] = receipt.blockNumber; + this._emitted['t:' + tx.hash] = receipt.blockNumber; if (receipt.status === 0) { - logger.throwError("transaction failed", logger_1.Logger.errors.CALL_EXCEPTION, { + logger.throwError('transaction failed', logger_1.Logger.errors.CALL_EXCEPTION, { transactionHash: tx.hash, transaction: tx, - receipt + receipt, }); } return [2, receipt]; @@ -24907,18 +27039,21 @@ var require_base_provider = __commonJS({ }; return result; }; - BaseProvider2.prototype.sendTransaction = function(signedTransaction) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.sendTransaction = function (signedTransaction) { + return __awaiter(this, void 0, void 0, function () { var hexTx, tx, blockNumber, hash, error_7; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, Promise.resolve(signedTransaction).then(function(t) { - return (0, bytes_1.hexlify)(t); - })]; + return [ + 4, + Promise.resolve(signedTransaction).then(function (t) { + return (0, bytes_1.hexlify)(t); + }), + ]; case 2: hexTx = _a7.sent(); tx = this.formatter.transaction(signedTransaction); @@ -24931,7 +27066,7 @@ var require_base_provider = __commonJS({ _a7.label = 4; case 4: _a7.trys.push([4, 6, , 7]); - return [4, this.perform("sendTransaction", { signedTransaction: hexTx })]; + return [4, this.perform('sendTransaction', { signedTransaction: hexTx })]; case 5: hash = _a7.sent(); return [2, this._wrapTransaction(tx, hash, blockNumber)]; @@ -24946,49 +27081,51 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype._getTransactionRequest = function(transaction) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getTransactionRequest = function (transaction) { + return __awaiter(this, void 0, void 0, function () { var values, tx, _a7, _b; var _this = this; - return __generator(this, function(_c) { + return __generator(this, function (_c) { switch (_c.label) { case 0: return [4, transaction]; case 1: values = _c.sent(); tx = {}; - ["from", "to"].forEach(function(key) { + ['from', 'to'].forEach(function (key) { if (values[key] == null) { return; } - tx[key] = Promise.resolve(values[key]).then(function(v) { + tx[key] = Promise.resolve(values[key]).then(function (v) { return v ? _this._getAddress(v) : null; }); }); - ["gasLimit", "gasPrice", "maxFeePerGas", "maxPriorityFeePerGas", "value"].forEach(function(key) { - if (values[key] == null) { - return; + ['gasLimit', 'gasPrice', 'maxFeePerGas', 'maxPriorityFeePerGas', 'value'].forEach( + function (key) { + if (values[key] == null) { + return; + } + tx[key] = Promise.resolve(values[key]).then(function (v) { + return v ? bignumber_1.BigNumber.from(v) : null; + }); } - tx[key] = Promise.resolve(values[key]).then(function(v) { - return v ? bignumber_1.BigNumber.from(v) : null; - }); - }); - ["type"].forEach(function(key) { + ); + ['type'].forEach(function (key) { if (values[key] == null) { return; } - tx[key] = Promise.resolve(values[key]).then(function(v) { + tx[key] = Promise.resolve(values[key]).then(function (v) { return v != null ? v : null; }); }); if (values.accessList) { tx.accessList = this.formatter.accessList(values.accessList); } - ["data"].forEach(function(key) { + ['data'].forEach(function (key) { if (values[key] == null) { return; } - tx[key] = Promise.resolve(values[key]).then(function(v) { + tx[key] = Promise.resolve(values[key]).then(function (v) { return v ? (0, bytes_1.hexlify)(v) : null; }); }); @@ -25000,11 +27137,11 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype._getFilter = function(filter) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getFilter = function (filter) { + return __awaiter(this, void 0, void 0, function () { var result, _a7, _b; var _this = this; - return __generator(this, function(_c) { + return __generator(this, function (_c) { switch (_c.label) { case 0: return [4, filter]; @@ -25014,13 +27151,13 @@ var require_base_provider = __commonJS({ if (filter.address != null) { result.address = this._getAddress(filter.address); } - ["blockHash", "topics"].forEach(function(key) { + ['blockHash', 'topics'].forEach(function (key) { if (filter[key] == null) { return; } result[key] = filter[key]; }); - ["fromBlock", "toBlock"].forEach(function(key) { + ['fromBlock', 'toBlock'].forEach(function (key) { if (filter[key] == null) { return; } @@ -25034,101 +27171,125 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.call = function(transaction, blockTag) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.call = function (transaction, blockTag) { + return __awaiter(this, void 0, void 0, function () { var params, result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ - transaction: this._getTransactionRequest(transaction), - blockTag: this._getBlockTag(blockTag) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + transaction: this._getTransactionRequest(transaction), + blockTag: this._getBlockTag(blockTag), + }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("call", params)]; + return [4, this.perform('call', params)]; case 3: result = _a7.sent(); try { return [2, (0, bytes_1.hexlify)(result)]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "call", - params, - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'call', + params, + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype.estimateGas = function(transaction) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.estimateGas = function (transaction) { + return __awaiter(this, void 0, void 0, function () { var params, result; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ - transaction: this._getTransactionRequest(transaction) - })]; + return [ + 4, + (0, properties_1.resolveProperties)({ + transaction: this._getTransactionRequest(transaction), + }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("estimateGas", params)]; + return [4, this.perform('estimateGas', params)]; case 3: result = _a7.sent(); try { return [2, bignumber_1.BigNumber.from(result)]; } catch (error) { - return [2, logger.throwError("bad result from backend", logger_1.Logger.errors.SERVER_ERROR, { - method: "estimateGas", - params, - result, - error - })]; + return [ + 2, + logger.throwError( + 'bad result from backend', + logger_1.Logger.errors.SERVER_ERROR, + { + method: 'estimateGas', + params, + result, + error, + } + ), + ]; } return [2]; } }); }); }; - BaseProvider2.prototype._getAddress = function(addressOrName) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getAddress = function (addressOrName) { + return __awaiter(this, void 0, void 0, function () { var address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, addressOrName]; case 1: addressOrName = _a7.sent(); - if (typeof addressOrName !== "string") { - logger.throwArgumentError("invalid address or ENS name", "name", addressOrName); + if (typeof addressOrName !== 'string') { + logger.throwArgumentError('invalid address or ENS name', 'name', addressOrName); } return [4, this.resolveName(addressOrName)]; case 2: address = _a7.sent(); if (address == null) { - logger.throwError("ENS name not configured", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "resolveName(" + JSON.stringify(addressOrName) + ")" - }); + logger.throwError( + 'ENS name not configured', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'resolveName(' + JSON.stringify(addressOrName) + ')', + } + ); } return [2, address]; } }); }); }; - BaseProvider2.prototype._getBlock = function(blockHashOrBlockTag, includeTransactions) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getBlock = function (blockHashOrBlockTag, includeTransactions) { + return __awaiter(this, void 0, void 0, function () { var blockNumber, params, _a7, error_8; var _this = this; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: return [4, this.getNetwork()]; @@ -25139,10 +27300,9 @@ var require_base_provider = __commonJS({ blockHashOrBlockTag = _b.sent(); blockNumber = -128; params = { - includeTransactions: !!includeTransactions + includeTransactions: !!includeTransactions, }; - if (!(0, bytes_1.isHexString)(blockHashOrBlockTag, 32)) - return [3, 3]; + if (!(0, bytes_1.isHexString)(blockHashOrBlockTag, 32)) return [3, 3]; params.blockHash = blockHashOrBlockTag; return [3, 6]; case 3: @@ -25157,91 +27317,101 @@ var require_base_provider = __commonJS({ return [3, 6]; case 5: error_8 = _b.sent(); - logger.throwArgumentError("invalid block hash or block tag", "blockHashOrBlockTag", blockHashOrBlockTag); + logger.throwArgumentError( + 'invalid block hash or block tag', + 'blockHashOrBlockTag', + blockHashOrBlockTag + ); return [3, 6]; case 6: - return [2, (0, web_1.poll)(function() { - return __awaiter(_this, void 0, void 0, function() { - var block, blockNumber_1, i, tx, confirmations, blockWithTxs; - var _this2 = this; - return __generator(this, function(_a8) { - switch (_a8.label) { - case 0: - return [4, this.perform("getBlock", params)]; - case 1: - block = _a8.sent(); - if (block == null) { - if (params.blockHash != null) { - if (this._emitted["b:" + params.blockHash] == null) { - return [2, null]; + return [ + 2, + (0, web_1.poll)( + function () { + return __awaiter(_this, void 0, void 0, function () { + var block, blockNumber_1, i, tx, confirmations, blockWithTxs; + var _this2 = this; + return __generator(this, function (_a8) { + switch (_a8.label) { + case 0: + return [4, this.perform('getBlock', params)]; + case 1: + block = _a8.sent(); + if (block == null) { + if (params.blockHash != null) { + if (this._emitted['b:' + params.blockHash] == null) { + return [2, null]; + } + } + if (params.blockTag != null) { + if (blockNumber > this._emitted.block) { + return [2, null]; + } + } + return [2, void 0]; } - } - if (params.blockTag != null) { - if (blockNumber > this._emitted.block) { - return [2, null]; + if (!includeTransactions) return [3, 8]; + blockNumber_1 = null; + i = 0; + _a8.label = 2; + case 2: + if (!(i < block.transactions.length)) return [3, 7]; + tx = block.transactions[i]; + if (!(tx.blockNumber == null)) return [3, 3]; + tx.confirmations = 0; + return [3, 6]; + case 3: + if (!(tx.confirmations == null)) return [3, 6]; + if (!(blockNumber_1 == null)) return [3, 5]; + return [ + 4, + this._getInternalBlockNumber(100 + 2 * this.pollingInterval), + ]; + case 4: + blockNumber_1 = _a8.sent(); + _a8.label = 5; + case 5: + confirmations = blockNumber_1 - tx.blockNumber + 1; + if (confirmations <= 0) { + confirmations = 1; } - } - return [2, void 0]; - } - if (!includeTransactions) - return [3, 8]; - blockNumber_1 = null; - i = 0; - _a8.label = 2; - case 2: - if (!(i < block.transactions.length)) - return [3, 7]; - tx = block.transactions[i]; - if (!(tx.blockNumber == null)) - return [3, 3]; - tx.confirmations = 0; - return [3, 6]; - case 3: - if (!(tx.confirmations == null)) - return [3, 6]; - if (!(blockNumber_1 == null)) - return [3, 5]; - return [4, this._getInternalBlockNumber(100 + 2 * this.pollingInterval)]; - case 4: - blockNumber_1 = _a8.sent(); - _a8.label = 5; - case 5: - confirmations = blockNumber_1 - tx.blockNumber + 1; - if (confirmations <= 0) { - confirmations = 1; + tx.confirmations = confirmations; + _a8.label = 6; + case 6: + i++; + return [3, 2]; + case 7: + blockWithTxs = this.formatter.blockWithTransactions(block); + blockWithTxs.transactions = blockWithTxs.transactions.map(function ( + tx2 + ) { + return _this2._wrapTransaction(tx2); + }); + return [2, blockWithTxs]; + case 8: + return [2, this.formatter.block(block)]; } - tx.confirmations = confirmations; - _a8.label = 6; - case 6: - i++; - return [3, 2]; - case 7: - blockWithTxs = this.formatter.blockWithTransactions(block); - blockWithTxs.transactions = blockWithTxs.transactions.map(function(tx2) { - return _this2._wrapTransaction(tx2); - }); - return [2, blockWithTxs]; - case 8: - return [2, this.formatter.block(block)]; - } - }); - }); - }, { oncePoll: this })]; + }); + }); + }, + { oncePoll: this } + ), + ]; } }); }); }; - BaseProvider2.prototype.getBlock = function(blockHashOrBlockTag) { + BaseProvider2.prototype.getBlock = function (blockHashOrBlockTag) { return this._getBlock(blockHashOrBlockTag, false); }; - BaseProvider2.prototype.getBlockWithTransactions = function(blockHashOrBlockTag) { + BaseProvider2.prototype.getBlockWithTransactions = function (blockHashOrBlockTag) { return this._getBlock(blockHashOrBlockTag, true); }; - BaseProvider2.prototype.getTransaction = function(transactionHash) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getTransaction = function (transactionHash) { + return __awaiter(this, void 0, void 0, function () { var params; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; @@ -25251,53 +27421,60 @@ var require_base_provider = __commonJS({ case 2: transactionHash = _a7.sent(); params = { transactionHash: this.formatter.hash(transactionHash, true) }; - return [2, (0, web_1.poll)(function() { - return __awaiter(_this, void 0, void 0, function() { - var result, tx, blockNumber, confirmations; - return __generator(this, function(_a8) { - switch (_a8.label) { - case 0: - return [4, this.perform("getTransaction", params)]; - case 1: - result = _a8.sent(); - if (result == null) { - if (this._emitted["t:" + transactionHash] == null) { - return [2, null]; - } - return [2, void 0]; - } - tx = this.formatter.transactionResponse(result); - if (!(tx.blockNumber == null)) - return [3, 2]; - tx.confirmations = 0; - return [3, 4]; - case 2: - if (!(tx.confirmations == null)) - return [3, 4]; - return [4, this._getInternalBlockNumber(100 + 2 * this.pollingInterval)]; - case 3: - blockNumber = _a8.sent(); - confirmations = blockNumber - tx.blockNumber + 1; - if (confirmations <= 0) { - confirmations = 1; + return [ + 2, + (0, web_1.poll)( + function () { + return __awaiter(_this, void 0, void 0, function () { + var result, tx, blockNumber, confirmations; + return __generator(this, function (_a8) { + switch (_a8.label) { + case 0: + return [4, this.perform('getTransaction', params)]; + case 1: + result = _a8.sent(); + if (result == null) { + if (this._emitted['t:' + transactionHash] == null) { + return [2, null]; + } + return [2, void 0]; + } + tx = this.formatter.transactionResponse(result); + if (!(tx.blockNumber == null)) return [3, 2]; + tx.confirmations = 0; + return [3, 4]; + case 2: + if (!(tx.confirmations == null)) return [3, 4]; + return [ + 4, + this._getInternalBlockNumber(100 + 2 * this.pollingInterval), + ]; + case 3: + blockNumber = _a8.sent(); + confirmations = blockNumber - tx.blockNumber + 1; + if (confirmations <= 0) { + confirmations = 1; + } + tx.confirmations = confirmations; + _a8.label = 4; + case 4: + return [2, this._wrapTransaction(tx)]; } - tx.confirmations = confirmations; - _a8.label = 4; - case 4: - return [2, this._wrapTransaction(tx)]; - } - }); - }); - }, { oncePoll: this })]; + }); + }); + }, + { oncePoll: this } + ), + ]; } }); }); }; - BaseProvider2.prototype.getTransactionReceipt = function(transactionHash) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getTransactionReceipt = function (transactionHash) { + return __awaiter(this, void 0, void 0, function () { var params; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; @@ -25307,102 +27484,116 @@ var require_base_provider = __commonJS({ case 2: transactionHash = _a7.sent(); params = { transactionHash: this.formatter.hash(transactionHash, true) }; - return [2, (0, web_1.poll)(function() { - return __awaiter(_this, void 0, void 0, function() { - var result, receipt, blockNumber, confirmations; - return __generator(this, function(_a8) { - switch (_a8.label) { - case 0: - return [4, this.perform("getTransactionReceipt", params)]; - case 1: - result = _a8.sent(); - if (result == null) { - if (this._emitted["t:" + transactionHash] == null) { - return [2, null]; - } - return [2, void 0]; - } - if (result.blockHash == null) { - return [2, void 0]; - } - receipt = this.formatter.receipt(result); - if (!(receipt.blockNumber == null)) - return [3, 2]; - receipt.confirmations = 0; - return [3, 4]; - case 2: - if (!(receipt.confirmations == null)) - return [3, 4]; - return [4, this._getInternalBlockNumber(100 + 2 * this.pollingInterval)]; - case 3: - blockNumber = _a8.sent(); - confirmations = blockNumber - receipt.blockNumber + 1; - if (confirmations <= 0) { - confirmations = 1; + return [ + 2, + (0, web_1.poll)( + function () { + return __awaiter(_this, void 0, void 0, function () { + var result, receipt, blockNumber, confirmations; + return __generator(this, function (_a8) { + switch (_a8.label) { + case 0: + return [4, this.perform('getTransactionReceipt', params)]; + case 1: + result = _a8.sent(); + if (result == null) { + if (this._emitted['t:' + transactionHash] == null) { + return [2, null]; + } + return [2, void 0]; + } + if (result.blockHash == null) { + return [2, void 0]; + } + receipt = this.formatter.receipt(result); + if (!(receipt.blockNumber == null)) return [3, 2]; + receipt.confirmations = 0; + return [3, 4]; + case 2: + if (!(receipt.confirmations == null)) return [3, 4]; + return [ + 4, + this._getInternalBlockNumber(100 + 2 * this.pollingInterval), + ]; + case 3: + blockNumber = _a8.sent(); + confirmations = blockNumber - receipt.blockNumber + 1; + if (confirmations <= 0) { + confirmations = 1; + } + receipt.confirmations = confirmations; + _a8.label = 4; + case 4: + return [2, receipt]; } - receipt.confirmations = confirmations; - _a8.label = 4; - case 4: - return [2, receipt]; - } - }); - }); - }, { oncePoll: this })]; + }); + }); + }, + { oncePoll: this } + ), + ]; } }); }); }; - BaseProvider2.prototype.getLogs = function(filter) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getLogs = function (filter) { + return __awaiter(this, void 0, void 0, function () { var params, logs; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [4, (0, properties_1.resolveProperties)({ filter: this._getFilter(filter) })]; + return [ + 4, + (0, properties_1.resolveProperties)({ filter: this._getFilter(filter) }), + ]; case 2: params = _a7.sent(); - return [4, this.perform("getLogs", params)]; + return [4, this.perform('getLogs', params)]; case 3: logs = _a7.sent(); - logs.forEach(function(log) { + logs.forEach(function (log) { if (log.removed == null) { log.removed = false; } }); - return [2, formatter_1.Formatter.arrayOf(this.formatter.filterLog.bind(this.formatter))(logs)]; + return [ + 2, + formatter_1.Formatter.arrayOf(this.formatter.filterLog.bind(this.formatter))( + logs + ), + ]; } }); }); }; - BaseProvider2.prototype.getEtherPrice = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + BaseProvider2.prototype.getEtherPrice = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, this.getNetwork()]; case 1: _a7.sent(); - return [2, this.perform("getEtherPrice", {})]; + return [2, this.perform('getEtherPrice', {})]; } }); }); }; - BaseProvider2.prototype._getBlockTag = function(blockTag) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getBlockTag = function (blockTag) { + return __awaiter(this, void 0, void 0, function () { var blockNumber; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, blockTag]; case 1: blockTag = _a7.sent(); - if (!(typeof blockTag === "number" && blockTag < 0)) - return [3, 3]; + if (!(typeof blockTag === 'number' && blockTag < 0)) return [3, 3]; if (blockTag % 1) { - logger.throwArgumentError("invalid BlockTag", "blockTag", blockTag); + logger.throwArgumentError('invalid BlockTag', 'blockTag', blockTag); } return [4, this._getInternalBlockNumber(100 + 2 * this.pollingInterval)]; case 2: @@ -25418,10 +27609,10 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.getResolver = function(name2) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getResolver = function (name2) { + return __awaiter(this, void 0, void 0, function () { var address, error_9; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: _a7.trys.push([0, 2, , 3]); @@ -25444,21 +27635,25 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype._getResolver = function(name2) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype._getResolver = function (name2) { + return __awaiter(this, void 0, void 0, function () { var network, transaction, _a7, _b, error_10; - return __generator(this, function(_c) { + return __generator(this, function (_c) { switch (_c.label) { case 0: return [4, this.getNetwork()]; case 1: network = _c.sent(); if (!network.ensAddress) { - logger.throwError("network does not support ENS", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "ENS", network: network.name }); + logger.throwError( + 'network does not support ENS', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { operation: 'ENS', network: network.name } + ); } transaction = { to: network.ensAddress, - data: "0x0178b8bf" + (0, hash_1.namehash)(name2).substring(2) + data: '0x0178b8bf' + (0, hash_1.namehash)(name2).substring(2), }; _c.label = 2; case 2: @@ -25479,10 +27674,10 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.resolveName = function(name2) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.resolveName = function (name2) { + return __awaiter(this, void 0, void 0, function () { var resolver; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, name2]; @@ -25495,8 +27690,8 @@ var require_base_provider = __commonJS({ throw error; } } - if (typeof name2 !== "string") { - logger.throwArgumentError("invalid ENS name", "name", name2); + if (typeof name2 !== 'string') { + logger.throwArgumentError('invalid ENS name', 'name', name2); } return [4, this.getResolver(name2)]; case 2: @@ -25511,17 +27706,17 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.lookupAddress = function(address) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.lookupAddress = function (address) { + return __awaiter(this, void 0, void 0, function () { var reverseName, resolverAddress, bytes, _a7, length, name2, addr; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: return [4, address]; case 1: address = _b.sent(); address = this.formatter.address(address); - reverseName = address.substring(2).toLowerCase() + ".addr.reverse"; + reverseName = address.substring(2).toLowerCase() + '.addr.reverse'; return [4, this._getResolver(reverseName)]; case 2: resolverAddress = _b.sent(); @@ -25529,10 +27724,13 @@ var require_base_provider = __commonJS({ return [2, null]; } _a7 = bytes_1.arrayify; - return [4, this.call({ - to: resolverAddress, - data: "0x691f3431" + (0, hash_1.namehash)(reverseName).substring(2) - })]; + return [ + 4, + this.call({ + to: resolverAddress, + data: '0x691f3431' + (0, hash_1.namehash)(reverseName).substring(2), + }), + ]; case 3: bytes = _a7.apply(void 0, [_b.sent()]); if (bytes.length < 32 || !bignumber_1.BigNumber.from(bytes.slice(0, 32)).eq(32)) { @@ -25559,24 +27757,23 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.getAvatar = function(nameOrAddress) { - return __awaiter(this, void 0, void 0, function() { + BaseProvider2.prototype.getAvatar = function (nameOrAddress) { + return __awaiter(this, void 0, void 0, function () { var resolver, address, reverseName, resolverAddress, avatar; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: resolver = null; - if (!(0, bytes_1.isHexString)(nameOrAddress)) - return [3, 2]; + if (!(0, bytes_1.isHexString)(nameOrAddress)) return [3, 2]; address = this.formatter.address(nameOrAddress); - reverseName = address.substring(2).toLowerCase() + ".addr.reverse"; + reverseName = address.substring(2).toLowerCase() + '.addr.reverse'; return [4, this._getResolver(reverseName)]; case 1: resolverAddress = _a7.sent(); if (!resolverAddress) { return [2, null]; } - resolver = new Resolver(this, resolverAddress, "_", address); + resolver = new Resolver(this, resolverAddress, '_', address); return [3, 4]; case 2: return [4, this.getResolver(nameOrAddress)]; @@ -25598,32 +27795,38 @@ var require_base_provider = __commonJS({ }); }); }; - BaseProvider2.prototype.perform = function(method, params) { - return logger.throwError(method + " not implemented", logger_1.Logger.errors.NOT_IMPLEMENTED, { operation: method }); + BaseProvider2.prototype.perform = function (method, params) { + return logger.throwError( + method + ' not implemented', + logger_1.Logger.errors.NOT_IMPLEMENTED, + { operation: method } + ); }; - BaseProvider2.prototype._startEvent = function(event) { - this.polling = this._events.filter(function(e) { - return e.pollable(); - }).length > 0; + BaseProvider2.prototype._startEvent = function (event) { + this.polling = + this._events.filter(function (e) { + return e.pollable(); + }).length > 0; }; - BaseProvider2.prototype._stopEvent = function(event) { - this.polling = this._events.filter(function(e) { - return e.pollable(); - }).length > 0; + BaseProvider2.prototype._stopEvent = function (event) { + this.polling = + this._events.filter(function (e) { + return e.pollable(); + }).length > 0; }; - BaseProvider2.prototype._addEventListener = function(eventName, listener, once) { + BaseProvider2.prototype._addEventListener = function (eventName, listener, once) { var event = new Event(getEventTag(eventName), listener, once); this._events.push(event); this._startEvent(event); return this; }; - BaseProvider2.prototype.on = function(eventName, listener) { + BaseProvider2.prototype.on = function (eventName, listener) { return this._addEventListener(eventName, listener, false); }; - BaseProvider2.prototype.once = function(eventName, listener) { + BaseProvider2.prototype.once = function (eventName, listener) { return this._addEventListener(eventName, listener, true); }; - BaseProvider2.prototype.emit = function(eventName) { + BaseProvider2.prototype.emit = function (eventName) { var _this = this; var args = []; for (var _i = 1; _i < arguments.length; _i++) { @@ -25632,11 +27835,11 @@ var require_base_provider = __commonJS({ var result = false; var stopped = []; var eventTag = getEventTag(eventName); - this._events = this._events.filter(function(event) { + this._events = this._events.filter(function (event) { if (event.tag !== eventTag) { return true; } - setTimeout(function() { + setTimeout(function () { event.listener.apply(_this, args); }, 0); result = true; @@ -25646,34 +27849,36 @@ var require_base_provider = __commonJS({ } return true; }); - stopped.forEach(function(event) { + stopped.forEach(function (event) { _this._stopEvent(event); }); return result; }; - BaseProvider2.prototype.listenerCount = function(eventName) { + BaseProvider2.prototype.listenerCount = function (eventName) { if (!eventName) { return this._events.length; } var eventTag = getEventTag(eventName); - return this._events.filter(function(event) { + return this._events.filter(function (event) { return event.tag === eventTag; }).length; }; - BaseProvider2.prototype.listeners = function(eventName) { + BaseProvider2.prototype.listeners = function (eventName) { if (eventName == null) { - return this._events.map(function(event) { + return this._events.map(function (event) { return event.listener; }); } var eventTag = getEventTag(eventName); - return this._events.filter(function(event) { - return event.tag === eventTag; - }).map(function(event) { - return event.listener; - }); + return this._events + .filter(function (event) { + return event.tag === eventTag; + }) + .map(function (event) { + return event.listener; + }); }; - BaseProvider2.prototype.off = function(eventName, listener) { + BaseProvider2.prototype.off = function (eventName, listener) { var _this = this; if (listener == null) { return this.removeAllListeners(eventName); @@ -25681,7 +27886,7 @@ var require_base_provider = __commonJS({ var stopped = []; var found = false; var eventTag = getEventTag(eventName); - this._events = this._events.filter(function(event) { + this._events = this._events.filter(function (event) { if (event.tag !== eventTag || event.listener != listener) { return true; } @@ -25692,12 +27897,12 @@ var require_base_provider = __commonJS({ stopped.push(event); return false; }); - stopped.forEach(function(event) { + stopped.forEach(function (event) { _this._stopEvent(event); }); return this; }; - BaseProvider2.prototype.removeAllListeners = function(eventName) { + BaseProvider2.prototype.removeAllListeners = function (eventName) { var _this = this; var stopped = []; if (eventName == null) { @@ -25705,7 +27910,7 @@ var require_base_provider = __commonJS({ this._events = []; } else { var eventTag_1 = getEventTag(eventName); - this._events = this._events.filter(function(event) { + this._events = this._events.filter(function (event) { if (event.tag !== eventTag_1) { return true; } @@ -25713,146 +27918,180 @@ var require_base_provider = __commonJS({ return false; }); } - stopped.forEach(function(event) { + stopped.forEach(function (event) { _this._stopEvent(event); }); return this; }; return BaseProvider2; - }(abstract_provider_1.Provider); + })(abstract_provider_1.Provider); exports2.BaseProvider = BaseProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/json-rpc-provider.js var require_json_rpc_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/json-rpc-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/json-rpc-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.JsonRpcProvider = exports2.JsonRpcSigner = void 0; var abstract_signer_1 = require_lib25(); var bignumber_1 = require_lib3(); @@ -25866,67 +28105,96 @@ var require_json_rpc_provider = __commonJS({ var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); var base_provider_1 = require_base_provider(); - var errorGas = ["call", "estimateGas"]; + var errorGas = ['call', 'estimateGas']; function checkError(method, error, params) { - if (method === "call" && error.code === logger_1.Logger.errors.SERVER_ERROR) { + if (method === 'call' && error.code === logger_1.Logger.errors.SERVER_ERROR) { var e = error.error; - if (e && e.message.match("reverted") && (0, bytes_1.isHexString)(e.data)) { + if (e && e.message.match('reverted') && (0, bytes_1.isHexString)(e.data)) { return e.data; } - logger.throwError("missing revert data in call exception", logger_1.Logger.errors.CALL_EXCEPTION, { - error, - data: "0x" - }); + logger.throwError( + 'missing revert data in call exception', + logger_1.Logger.errors.CALL_EXCEPTION, + { + error, + data: '0x', + } + ); } var message = error.message; - if (error.code === logger_1.Logger.errors.SERVER_ERROR && error.error && typeof error.error.message === "string") { + if ( + error.code === logger_1.Logger.errors.SERVER_ERROR && + error.error && + typeof error.error.message === 'string' + ) { message = error.error.message; - } else if (typeof error.body === "string") { + } else if (typeof error.body === 'string') { message = error.body; - } else if (typeof error.responseText === "string") { + } else if (typeof error.responseText === 'string') { message = error.responseText; } - message = (message || "").toLowerCase(); + message = (message || '').toLowerCase(); var transaction = params.transaction || params.signedTransaction; if (message.match(/insufficient funds|base fee exceeds gas limit/)) { - logger.throwError("insufficient funds for intrinsic transaction cost", logger_1.Logger.errors.INSUFFICIENT_FUNDS, { - error, - method, - transaction - }); + logger.throwError( + 'insufficient funds for intrinsic transaction cost', + logger_1.Logger.errors.INSUFFICIENT_FUNDS, + { + error, + method, + transaction, + } + ); } if (message.match(/nonce too low/)) { - logger.throwError("nonce has already been used", logger_1.Logger.errors.NONCE_EXPIRED, { + logger.throwError('nonce has already been used', logger_1.Logger.errors.NONCE_EXPIRED, { error, method, - transaction + transaction, }); } if (message.match(/replacement transaction underpriced/)) { - logger.throwError("replacement fee too low", logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, { - error, - method, - transaction - }); + logger.throwError( + 'replacement fee too low', + logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, + { + error, + method, + transaction, + } + ); } if (message.match(/only replay-protected/)) { - logger.throwError("legacy pre-eip-155 transactions not supported", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - error, - method, - transaction - }); + logger.throwError( + 'legacy pre-eip-155 transactions not supported', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + error, + method, + transaction, + } + ); } - if (errorGas.indexOf(method) >= 0 && message.match(/gas required exceeds allowance|always failing transaction|execution reverted/)) { - logger.throwError("cannot estimate gas; transaction may fail or may require manual gas limit", logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, { - error, - method, - transaction - }); + if ( + errorGas.indexOf(method) >= 0 && + message.match( + /gas required exceeds allowance|always failing transaction|execution reverted/ + ) + ) { + logger.throwError( + 'cannot estimate gas; transaction may fail or may require manual gas limit', + logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, + { + error, + method, + transaction, + } + ); } throw error; } function timer(timeout) { - return new Promise(function(resolve) { + return new Promise(function (resolve) { setTimeout(resolve, timeout); }); } @@ -25946,7 +28214,7 @@ var require_json_rpc_provider = __commonJS({ return value; } var _constructorGuard = {}; - var JsonRpcSigner = function(_super) { + var JsonRpcSigner = (function (_super) { __extends(JsonRpcSigner2, _super); function JsonRpcSigner2(constructorGuard, provider, addressOrIndex) { var _newTarget = this.constructor; @@ -25954,49 +28222,67 @@ var require_json_rpc_provider = __commonJS({ logger.checkNew(_newTarget, JsonRpcSigner2); _this = _super.call(this) || this; if (constructorGuard !== _constructorGuard) { - throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner"); + throw new Error( + 'do not call the JsonRpcSigner constructor directly; use provider.getSigner' + ); } - (0, properties_1.defineReadOnly)(_this, "provider", provider); + (0, properties_1.defineReadOnly)(_this, 'provider', provider); if (addressOrIndex == null) { addressOrIndex = 0; } - if (typeof addressOrIndex === "string") { - (0, properties_1.defineReadOnly)(_this, "_address", _this.provider.formatter.address(addressOrIndex)); - (0, properties_1.defineReadOnly)(_this, "_index", null); - } else if (typeof addressOrIndex === "number") { - (0, properties_1.defineReadOnly)(_this, "_index", addressOrIndex); - (0, properties_1.defineReadOnly)(_this, "_address", null); + if (typeof addressOrIndex === 'string') { + (0, properties_1.defineReadOnly)( + _this, + '_address', + _this.provider.formatter.address(addressOrIndex) + ); + (0, properties_1.defineReadOnly)(_this, '_index', null); + } else if (typeof addressOrIndex === 'number') { + (0, properties_1.defineReadOnly)(_this, '_index', addressOrIndex); + (0, properties_1.defineReadOnly)(_this, '_address', null); } else { - logger.throwArgumentError("invalid address or index", "addressOrIndex", addressOrIndex); + logger.throwArgumentError('invalid address or index', 'addressOrIndex', addressOrIndex); } return _this; } - JsonRpcSigner2.prototype.connect = function(provider) { - return logger.throwError("cannot alter JSON-RPC Signer connection", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "connect" - }); + JsonRpcSigner2.prototype.connect = function (provider) { + return logger.throwError( + 'cannot alter JSON-RPC Signer connection', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'connect', + } + ); }; - JsonRpcSigner2.prototype.connectUnchecked = function() { - return new UncheckedJsonRpcSigner(_constructorGuard, this.provider, this._address || this._index); + JsonRpcSigner2.prototype.connectUnchecked = function () { + return new UncheckedJsonRpcSigner( + _constructorGuard, + this.provider, + this._address || this._index + ); }; - JsonRpcSigner2.prototype.getAddress = function() { + JsonRpcSigner2.prototype.getAddress = function () { var _this = this; if (this._address) { return Promise.resolve(this._address); } - return this.provider.send("eth_accounts", []).then(function(accounts) { + return this.provider.send('eth_accounts', []).then(function (accounts) { if (accounts.length <= _this._index) { - logger.throwError("unknown account #" + _this._index, logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "getAddress" - }); + logger.throwError( + 'unknown account #' + _this._index, + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'getAddress', + } + ); } return _this.provider.formatter.address(accounts[_this._index]); }); }; - JsonRpcSigner2.prototype.sendUncheckedTransaction = function(transaction) { + JsonRpcSigner2.prototype.sendUncheckedTransaction = function (transaction) { var _this = this; transaction = (0, properties_1.shallowCopy)(transaction); - var fromAddress = this.getAddress().then(function(address) { + var fromAddress = this.getAddress().then(function (address) { if (address) { address = address.toLowerCase(); } @@ -26008,10 +28294,10 @@ var require_json_rpc_provider = __commonJS({ transaction.gasLimit = this.provider.estimateGas(estimate); } if (transaction.to != null) { - transaction.to = Promise.resolve(transaction.to).then(function(to) { - return __awaiter(_this, void 0, void 0, function() { + transaction.to = Promise.resolve(transaction.to).then(function (to) { + return __awaiter(_this, void 0, void 0, function () { var address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: if (to == null) { @@ -26021,7 +28307,7 @@ var require_json_rpc_provider = __commonJS({ case 1: address = _a7.sent(); if (address == null) { - logger.throwArgumentError("provided ENS name resolves to null", "tx.to", to); + logger.throwArgumentError('provided ENS name resolves to null', 'tx.to', to); } return [2, address]; } @@ -26031,37 +28317,48 @@ var require_json_rpc_provider = __commonJS({ } return (0, properties_1.resolveProperties)({ tx: (0, properties_1.resolveProperties)(transaction), - sender: fromAddress - }).then(function(_a7) { - var tx = _a7.tx, sender = _a7.sender; + sender: fromAddress, + }).then(function (_a7) { + var tx = _a7.tx, + sender = _a7.sender; if (tx.from != null) { if (tx.from.toLowerCase() !== sender) { - logger.throwArgumentError("from address mismatch", "transaction", transaction); + logger.throwArgumentError('from address mismatch', 'transaction', transaction); } } else { tx.from = sender; } var hexTx = _this.provider.constructor.hexlifyTransaction(tx, { from: true }); - return _this.provider.send("eth_sendTransaction", [hexTx]).then(function(hash) { - return hash; - }, function(error) { - return checkError("sendTransaction", error, hexTx); - }); + return _this.provider.send('eth_sendTransaction', [hexTx]).then( + function (hash) { + return hash; + }, + function (error) { + return checkError('sendTransaction', error, hexTx); + } + ); }); }; - JsonRpcSigner2.prototype.signTransaction = function(transaction) { - return logger.throwError("signing transactions is unsupported", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "signTransaction" - }); + JsonRpcSigner2.prototype.signTransaction = function (transaction) { + return logger.throwError( + 'signing transactions is unsupported', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'signTransaction', + } + ); }; - JsonRpcSigner2.prototype.sendTransaction = function(transaction) { - return __awaiter(this, void 0, void 0, function() { + JsonRpcSigner2.prototype.sendTransaction = function (transaction) { + return __awaiter(this, void 0, void 0, function () { var blockNumber, hash, error_1; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - return [4, this.provider._getInternalBlockNumber(100 + 2 * this.provider.pollingInterval)]; + return [ + 4, + this.provider._getInternalBlockNumber(100 + 2 * this.provider.pollingInterval), + ]; case 1: blockNumber = _a7.sent(); return [4, this.sendUncheckedTransaction(transaction)]; @@ -26070,23 +28367,29 @@ var require_json_rpc_provider = __commonJS({ _a7.label = 3; case 3: _a7.trys.push([3, 5, , 6]); - return [4, (0, web_1.poll)(function() { - return __awaiter(_this, void 0, void 0, function() { - var tx; - return __generator(this, function(_a8) { - switch (_a8.label) { - case 0: - return [4, this.provider.getTransaction(hash)]; - case 1: - tx = _a8.sent(); - if (tx === null) { - return [2, void 0]; + return [ + 4, + (0, web_1.poll)( + function () { + return __awaiter(_this, void 0, void 0, function () { + var tx; + return __generator(this, function (_a8) { + switch (_a8.label) { + case 0: + return [4, this.provider.getTransaction(hash)]; + case 1: + tx = _a8.sent(); + if (tx === null) { + return [2, void 0]; + } + return [2, this.provider._wrapTransaction(tx, hash, blockNumber)]; } - return [2, this.provider._wrapTransaction(tx, hash, blockNumber)]; - } - }); - }); - }, { oncePoll: this.provider })]; + }); + }); + }, + { oncePoll: this.provider } + ), + ]; case 4: return [2, _a7.sent()]; case 5: @@ -26099,91 +28402,114 @@ var require_json_rpc_provider = __commonJS({ }); }); }; - JsonRpcSigner2.prototype.signMessage = function(message) { - return __awaiter(this, void 0, void 0, function() { + JsonRpcSigner2.prototype.signMessage = function (message) { + return __awaiter(this, void 0, void 0, function () { var data, address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - data = typeof message === "string" ? (0, strings_1.toUtf8Bytes)(message) : message; + data = typeof message === 'string' ? (0, strings_1.toUtf8Bytes)(message) : message; return [4, this.getAddress()]; case 1: address = _a7.sent(); - return [4, this.provider.send("personal_sign", [(0, bytes_1.hexlify)(data), address.toLowerCase()])]; + return [ + 4, + this.provider.send('personal_sign', [ + (0, bytes_1.hexlify)(data), + address.toLowerCase(), + ]), + ]; case 2: return [2, _a7.sent()]; } }); }); }; - JsonRpcSigner2.prototype._legacySignMessage = function(message) { - return __awaiter(this, void 0, void 0, function() { + JsonRpcSigner2.prototype._legacySignMessage = function (message) { + return __awaiter(this, void 0, void 0, function () { var data, address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - data = typeof message === "string" ? (0, strings_1.toUtf8Bytes)(message) : message; + data = typeof message === 'string' ? (0, strings_1.toUtf8Bytes)(message) : message; return [4, this.getAddress()]; case 1: address = _a7.sent(); - return [4, this.provider.send("eth_sign", [address.toLowerCase(), (0, bytes_1.hexlify)(data)])]; + return [ + 4, + this.provider.send('eth_sign', [ + address.toLowerCase(), + (0, bytes_1.hexlify)(data), + ]), + ]; case 2: return [2, _a7.sent()]; } }); }); }; - JsonRpcSigner2.prototype._signTypedData = function(domain, types, value) { - return __awaiter(this, void 0, void 0, function() { + JsonRpcSigner2.prototype._signTypedData = function (domain, types, value) { + return __awaiter(this, void 0, void 0, function () { var populated, address; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - return [4, hash_1._TypedDataEncoder.resolveNames(domain, types, value, function(name2) { - return _this.provider.resolveName(name2); - })]; + return [ + 4, + hash_1._TypedDataEncoder.resolveNames(domain, types, value, function (name2) { + return _this.provider.resolveName(name2); + }), + ]; case 1: populated = _a7.sent(); return [4, this.getAddress()]; case 2: address = _a7.sent(); - return [4, this.provider.send("eth_signTypedData_v4", [ - address.toLowerCase(), - JSON.stringify(hash_1._TypedDataEncoder.getPayload(populated.domain, types, populated.value)) - ])]; + return [ + 4, + this.provider.send('eth_signTypedData_v4', [ + address.toLowerCase(), + JSON.stringify( + hash_1._TypedDataEncoder.getPayload(populated.domain, types, populated.value) + ), + ]), + ]; case 3: return [2, _a7.sent()]; } }); }); }; - JsonRpcSigner2.prototype.unlock = function(password) { - return __awaiter(this, void 0, void 0, function() { + JsonRpcSigner2.prototype.unlock = function (password) { + return __awaiter(this, void 0, void 0, function () { var provider, address; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: provider = this.provider; return [4, this.getAddress()]; case 1: address = _a7.sent(); - return [2, provider.send("personal_unlockAccount", [address.toLowerCase(), password, null])]; + return [ + 2, + provider.send('personal_unlockAccount', [address.toLowerCase(), password, null]), + ]; } }); }); }; return JsonRpcSigner2; - }(abstract_signer_1.Signer); + })(abstract_signer_1.Signer); exports2.JsonRpcSigner = JsonRpcSigner; - var UncheckedJsonRpcSigner = function(_super) { + var UncheckedJsonRpcSigner = (function (_super) { __extends(UncheckedJsonRpcSigner2, _super); function UncheckedJsonRpcSigner2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - UncheckedJsonRpcSigner2.prototype.sendTransaction = function(transaction) { + UncheckedJsonRpcSigner2.prototype.sendTransaction = function (transaction) { var _this = this; - return this.sendUncheckedTransaction(transaction).then(function(hash) { + return this.sendUncheckedTransaction(transaction).then(function (hash) { return { hash, nonce: null, @@ -26194,14 +28520,14 @@ var require_json_rpc_provider = __commonJS({ chainId: null, confirmations: 0, from: null, - wait: function(confirmations) { + wait: function (confirmations) { return _this.provider.waitForTransaction(hash, confirmations); - } + }, }; }); }; return UncheckedJsonRpcSigner2; - }(JsonRpcSigner); + })(JsonRpcSigner); var allowedTransactionKeys = { chainId: true, data: true, @@ -26213,9 +28539,9 @@ var require_json_rpc_provider = __commonJS({ type: true, accessList: true, maxFeePerGas: true, - maxPriorityFeePerGas: true + maxPriorityFeePerGas: true, }; - var JsonRpcProvider = function(_super) { + var JsonRpcProvider = (function (_super) { __extends(JsonRpcProvider2, _super); function JsonRpcProvider2(url, network) { var _newTarget = this.constructor; @@ -26223,57 +28549,68 @@ var require_json_rpc_provider = __commonJS({ logger.checkNew(_newTarget, JsonRpcProvider2); var networkOrReady = network; if (networkOrReady == null) { - networkOrReady = new Promise(function(resolve, reject) { - setTimeout(function() { - _this.detectNetwork().then(function(network2) { - resolve(network2); - }, function(error) { - reject(error); - }); + networkOrReady = new Promise(function (resolve, reject) { + setTimeout(function () { + _this.detectNetwork().then( + function (network2) { + resolve(network2); + }, + function (error) { + reject(error); + } + ); }, 0); }); } _this = _super.call(this, networkOrReady) || this; if (!url) { - url = (0, properties_1.getStatic)(_this.constructor, "defaultUrl")(); - } - if (typeof url === "string") { - (0, properties_1.defineReadOnly)(_this, "connection", Object.freeze({ - url - })); + url = (0, properties_1.getStatic)(_this.constructor, 'defaultUrl')(); + } + if (typeof url === 'string') { + (0, properties_1.defineReadOnly)( + _this, + 'connection', + Object.freeze({ + url, + }) + ); } else { - (0, properties_1.defineReadOnly)(_this, "connection", Object.freeze((0, properties_1.shallowCopy)(url))); + (0, properties_1.defineReadOnly)( + _this, + 'connection', + Object.freeze((0, properties_1.shallowCopy)(url)) + ); } _this._nextId = 42; return _this; } - Object.defineProperty(JsonRpcProvider2.prototype, "_cache", { - get: function() { + Object.defineProperty(JsonRpcProvider2.prototype, '_cache', { + get: function () { if (this._eventLoopCache == null) { this._eventLoopCache = {}; } return this._eventLoopCache; }, enumerable: false, - configurable: true + configurable: true, }); - JsonRpcProvider2.defaultUrl = function() { - return "http://localhost:8545"; + JsonRpcProvider2.defaultUrl = function () { + return 'http://localhost:8545'; }; - JsonRpcProvider2.prototype.detectNetwork = function() { + JsonRpcProvider2.prototype.detectNetwork = function () { var _this = this; - if (!this._cache["detectNetwork"]) { - this._cache["detectNetwork"] = this._uncachedDetectNetwork(); - setTimeout(function() { - _this._cache["detectNetwork"] = null; + if (!this._cache['detectNetwork']) { + this._cache['detectNetwork'] = this._uncachedDetectNetwork(); + setTimeout(function () { + _this._cache['detectNetwork'] = null; }, 0); } - return this._cache["detectNetwork"]; + return this._cache['detectNetwork']; }; - JsonRpcProvider2.prototype._uncachedDetectNetwork = function() { - return __awaiter(this, void 0, void 0, function() { + JsonRpcProvider2.prototype._uncachedDetectNetwork = function () { + return __awaiter(this, void 0, void 0, function () { var chainId, error_2, error_3, getNetwork; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: return [4, timer(0)]; @@ -26283,7 +28620,7 @@ var require_json_rpc_provider = __commonJS({ _a7.label = 2; case 2: _a7.trys.push([2, 4, , 9]); - return [4, this.send("eth_chainId", [])]; + return [4, this.send('eth_chainId', [])]; case 3: chainId = _a7.sent(); return [3, 9]; @@ -26292,7 +28629,7 @@ var require_json_rpc_provider = __commonJS({ _a7.label = 5; case 5: _a7.trys.push([5, 7, , 8]); - return [4, this.send("net_version", [])]; + return [4, this.send('net_version', [])]; case 6: chainId = _a7.sent(); return [3, 8]; @@ -26303,138 +28640,165 @@ var require_json_rpc_provider = __commonJS({ return [3, 9]; case 9: if (chainId != null) { - getNetwork = (0, properties_1.getStatic)(this.constructor, "getNetwork"); + getNetwork = (0, properties_1.getStatic)(this.constructor, 'getNetwork'); try { return [2, getNetwork(bignumber_1.BigNumber.from(chainId).toNumber())]; } catch (error) { - return [2, logger.throwError("could not detect network", logger_1.Logger.errors.NETWORK_ERROR, { - chainId, - event: "invalidNetwork", - serverError: error - })]; + return [ + 2, + logger.throwError( + 'could not detect network', + logger_1.Logger.errors.NETWORK_ERROR, + { + chainId, + event: 'invalidNetwork', + serverError: error, + } + ), + ]; } } - return [2, logger.throwError("could not detect network", logger_1.Logger.errors.NETWORK_ERROR, { - event: "noNetwork" - })]; + return [ + 2, + logger.throwError( + 'could not detect network', + logger_1.Logger.errors.NETWORK_ERROR, + { + event: 'noNetwork', + } + ), + ]; } }); }); }; - JsonRpcProvider2.prototype.getSigner = function(addressOrIndex) { + JsonRpcProvider2.prototype.getSigner = function (addressOrIndex) { return new JsonRpcSigner(_constructorGuard, this, addressOrIndex); }; - JsonRpcProvider2.prototype.getUncheckedSigner = function(addressOrIndex) { + JsonRpcProvider2.prototype.getUncheckedSigner = function (addressOrIndex) { return this.getSigner(addressOrIndex).connectUnchecked(); }; - JsonRpcProvider2.prototype.listAccounts = function() { + JsonRpcProvider2.prototype.listAccounts = function () { var _this = this; - return this.send("eth_accounts", []).then(function(accounts) { - return accounts.map(function(a) { + return this.send('eth_accounts', []).then(function (accounts) { + return accounts.map(function (a) { return _this.formatter.address(a); }); }); }; - JsonRpcProvider2.prototype.send = function(method, params) { + JsonRpcProvider2.prototype.send = function (method, params) { var _this = this; var request = { method, params, id: this._nextId++, - jsonrpc: "2.0" + jsonrpc: '2.0', }; - this.emit("debug", { - action: "request", + this.emit('debug', { + action: 'request', request: (0, properties_1.deepCopy)(request), - provider: this + provider: this, }); - var cache = ["eth_chainId", "eth_blockNumber"].indexOf(method) >= 0; + var cache = ['eth_chainId', 'eth_blockNumber'].indexOf(method) >= 0; if (cache && this._cache[method]) { return this._cache[method]; } - var result = (0, web_1.fetchJson)(this.connection, JSON.stringify(request), getResult).then(function(result2) { - _this.emit("debug", { - action: "response", - request, - response: result2, - provider: _this - }); - return result2; - }, function(error) { - _this.emit("debug", { - action: "response", - error, - request, - provider: _this - }); - throw error; - }); + var result = (0, web_1.fetchJson)(this.connection, JSON.stringify(request), getResult).then( + function (result2) { + _this.emit('debug', { + action: 'response', + request, + response: result2, + provider: _this, + }); + return result2; + }, + function (error) { + _this.emit('debug', { + action: 'response', + error, + request, + provider: _this, + }); + throw error; + } + ); if (cache) { this._cache[method] = result; - setTimeout(function() { + setTimeout(function () { _this._cache[method] = null; }, 0); } return result; }; - JsonRpcProvider2.prototype.prepareRequest = function(method, params) { + JsonRpcProvider2.prototype.prepareRequest = function (method, params) { switch (method) { - case "getBlockNumber": - return ["eth_blockNumber", []]; - case "getGasPrice": - return ["eth_gasPrice", []]; - case "getBalance": - return ["eth_getBalance", [getLowerCase(params.address), params.blockTag]]; - case "getTransactionCount": - return ["eth_getTransactionCount", [getLowerCase(params.address), params.blockTag]]; - case "getCode": - return ["eth_getCode", [getLowerCase(params.address), params.blockTag]]; - case "getStorageAt": - return ["eth_getStorageAt", [getLowerCase(params.address), params.position, params.blockTag]]; - case "sendTransaction": - return ["eth_sendRawTransaction", [params.signedTransaction]]; - case "getBlock": + case 'getBlockNumber': + return ['eth_blockNumber', []]; + case 'getGasPrice': + return ['eth_gasPrice', []]; + case 'getBalance': + return ['eth_getBalance', [getLowerCase(params.address), params.blockTag]]; + case 'getTransactionCount': + return ['eth_getTransactionCount', [getLowerCase(params.address), params.blockTag]]; + case 'getCode': + return ['eth_getCode', [getLowerCase(params.address), params.blockTag]]; + case 'getStorageAt': + return [ + 'eth_getStorageAt', + [getLowerCase(params.address), params.position, params.blockTag], + ]; + case 'sendTransaction': + return ['eth_sendRawTransaction', [params.signedTransaction]]; + case 'getBlock': if (params.blockTag) { - return ["eth_getBlockByNumber", [params.blockTag, !!params.includeTransactions]]; + return ['eth_getBlockByNumber', [params.blockTag, !!params.includeTransactions]]; } else if (params.blockHash) { - return ["eth_getBlockByHash", [params.blockHash, !!params.includeTransactions]]; + return ['eth_getBlockByHash', [params.blockHash, !!params.includeTransactions]]; } return null; - case "getTransaction": - return ["eth_getTransactionByHash", [params.transactionHash]]; - case "getTransactionReceipt": - return ["eth_getTransactionReceipt", [params.transactionHash]]; - case "call": { - var hexlifyTransaction = (0, properties_1.getStatic)(this.constructor, "hexlifyTransaction"); - return ["eth_call", [hexlifyTransaction(params.transaction, { from: true }), params.blockTag]]; - } - case "estimateGas": { - var hexlifyTransaction = (0, properties_1.getStatic)(this.constructor, "hexlifyTransaction"); - return ["eth_estimateGas", [hexlifyTransaction(params.transaction, { from: true })]]; - } - case "getLogs": + case 'getTransaction': + return ['eth_getTransactionByHash', [params.transactionHash]]; + case 'getTransactionReceipt': + return ['eth_getTransactionReceipt', [params.transactionHash]]; + case 'call': { + var hexlifyTransaction = (0, properties_1.getStatic)( + this.constructor, + 'hexlifyTransaction' + ); + return [ + 'eth_call', + [hexlifyTransaction(params.transaction, { from: true }), params.blockTag], + ]; + } + case 'estimateGas': { + var hexlifyTransaction = (0, properties_1.getStatic)( + this.constructor, + 'hexlifyTransaction' + ); + return ['eth_estimateGas', [hexlifyTransaction(params.transaction, { from: true })]]; + } + case 'getLogs': if (params.filter && params.filter.address != null) { params.filter.address = getLowerCase(params.filter.address); } - return ["eth_getLogs", [params.filter]]; + return ['eth_getLogs', [params.filter]]; default: break; } return null; }; - JsonRpcProvider2.prototype.perform = function(method, params) { - return __awaiter(this, void 0, void 0, function() { + JsonRpcProvider2.prototype.perform = function (method, params) { + return __awaiter(this, void 0, void 0, function () { var tx, feeData, args, error_4; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - if (!(method === "call" || method === "estimateGas")) - return [3, 2]; + if (!(method === 'call' || method === 'estimateGas')) return [3, 2]; tx = params.transaction; if (!(tx && tx.type != null && bignumber_1.BigNumber.from(tx.type).isZero())) return [3, 2]; - if (!(tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null)) - return [3, 2]; + if (!(tx.maxFeePerGas == null && tx.maxPriorityFeePerGas == null)) return [3, 2]; return [4, this.getFeeData()]; case 1: feeData = _a7.sent(); @@ -26447,7 +28811,11 @@ var require_json_rpc_provider = __commonJS({ case 2: args = this.prepareRequest(method, params); if (args == null) { - logger.throwError(method + " not implemented", logger_1.Logger.errors.NOT_IMPLEMENTED, { operation: method }); + logger.throwError( + method + ' not implemented', + logger_1.Logger.errors.NOT_IMPLEMENTED, + { operation: method } + ); } _a7.label = 3; case 3: @@ -26464,62 +28832,66 @@ var require_json_rpc_provider = __commonJS({ }); }); }; - JsonRpcProvider2.prototype._startEvent = function(event) { - if (event.tag === "pending") { + JsonRpcProvider2.prototype._startEvent = function (event) { + if (event.tag === 'pending') { this._startPending(); } _super.prototype._startEvent.call(this, event); }; - JsonRpcProvider2.prototype._startPending = function() { + JsonRpcProvider2.prototype._startPending = function () { if (this._pendingFilter != null) { return; } var self2 = this; - var pendingFilter = this.send("eth_newPendingTransactionFilter", []); + var pendingFilter = this.send('eth_newPendingTransactionFilter', []); this._pendingFilter = pendingFilter; - pendingFilter.then(function(filterId) { - function poll() { - self2.send("eth_getFilterChanges", [filterId]).then(function(hashes) { - if (self2._pendingFilter != pendingFilter) { - return null; - } - var seq = Promise.resolve(); - hashes.forEach(function(hash) { - self2._emitted["t:" + hash.toLowerCase()] = "pending"; - seq = seq.then(function() { - return self2.getTransaction(hash).then(function(tx) { - self2.emit("pending", tx); + pendingFilter + .then(function (filterId) { + function poll() { + self2 + .send('eth_getFilterChanges', [filterId]) + .then(function (hashes) { + if (self2._pendingFilter != pendingFilter) { return null; + } + var seq = Promise.resolve(); + hashes.forEach(function (hash) { + self2._emitted['t:' + hash.toLowerCase()] = 'pending'; + seq = seq.then(function () { + return self2.getTransaction(hash).then(function (tx) { + self2.emit('pending', tx); + return null; + }); + }); }); - }); - }); - return seq.then(function() { - return timer(1e3); - }); - }).then(function() { - if (self2._pendingFilter != pendingFilter) { - self2.send("eth_uninstallFilter", [filterId]); - return; - } - setTimeout(function() { - poll(); - }, 0); - return null; - }).catch(function(error) { - }); - } - poll(); - return filterId; - }).catch(function(error) { - }); + return seq.then(function () { + return timer(1e3); + }); + }) + .then(function () { + if (self2._pendingFilter != pendingFilter) { + self2.send('eth_uninstallFilter', [filterId]); + return; + } + setTimeout(function () { + poll(); + }, 0); + return null; + }) + .catch(function (error) {}); + } + poll(); + return filterId; + }) + .catch(function (error) {}); }; - JsonRpcProvider2.prototype._stopEvent = function(event) { - if (event.tag === "pending" && this.listenerCount("pending") === 0) { + JsonRpcProvider2.prototype._stopEvent = function (event) { + if (event.tag === 'pending' && this.listenerCount('pending') === 0) { this._pendingFilter = null; } _super.prototype._stopEvent.call(this, event); }; - JsonRpcProvider2.hexlifyTransaction = function(transaction, allowExtra) { + JsonRpcProvider2.hexlifyTransaction = function (transaction, allowExtra) { var allowed = (0, properties_1.shallowCopy)(allowedTransactionKeys); if (allowExtra) { for (var key in allowExtra) { @@ -26530,115 +28902,121 @@ var require_json_rpc_provider = __commonJS({ } (0, properties_1.checkProperties)(transaction, allowed); var result = {}; - ["gasLimit", "gasPrice", "type", "maxFeePerGas", "maxPriorityFeePerGas", "nonce", "value"].forEach(function(key2) { + [ + 'gasLimit', + 'gasPrice', + 'type', + 'maxFeePerGas', + 'maxPriorityFeePerGas', + 'nonce', + 'value', + ].forEach(function (key2) { if (transaction[key2] == null) { return; } var value = (0, bytes_1.hexValue)(transaction[key2]); - if (key2 === "gasLimit") { - key2 = "gas"; + if (key2 === 'gasLimit') { + key2 = 'gas'; } result[key2] = value; }); - ["from", "to", "data"].forEach(function(key2) { + ['from', 'to', 'data'].forEach(function (key2) { if (transaction[key2] == null) { return; } result[key2] = (0, bytes_1.hexlify)(transaction[key2]); }); if (transaction.accessList) { - result["accessList"] = (0, transactions_1.accessListify)(transaction.accessList); + result['accessList'] = (0, transactions_1.accessListify)(transaction.accessList); } return result; }; return JsonRpcProvider2; - }(base_provider_1.BaseProvider); + })(base_provider_1.BaseProvider); exports2.JsonRpcProvider = JsonRpcProvider; - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/constants.js var require_constants = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/constants.js"(exports2, module2) { - "use strict"; + 'node_modules/@ethersproject/providers/node_modules/ws/lib/constants.js'(exports2, module2) { + 'use strict'; module2.exports = { - BINARY_TYPES: ["nodebuffer", "arraybuffer", "fragments"], - GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11", - kStatusCode: Symbol("status-code"), - kWebSocket: Symbol("websocket"), + BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'], + GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', + kStatusCode: Symbol('status-code'), + kWebSocket: Symbol('websocket'), EMPTY_BUFFER: Buffer.alloc(0), - NOOP: () => { - } + NOOP: () => {}, }; - } + }, }); // node_modules/node-gyp-build/index.js var require_node_gyp_build = __commonJS({ - "node_modules/node-gyp-build/index.js"(exports2, module2) { - var fs3 = require("fs"); - var path2 = require("path"); - var os = require("os"); - var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : require; - var vars = process.config && process.config.variables || {}; + 'node_modules/node-gyp-build/index.js'(exports2, module2) { + var fs3 = require('fs'); + var path2 = require('path'); + var os = require('os'); + var runtimeRequire = + typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require; + var vars = (process.config && process.config.variables) || {}; var prebuildsOnly = !!process.env.PREBUILDS_ONLY; var abi = process.versions.modules; - var runtime = isElectron() ? "electron" : "node"; + var runtime = isElectron() ? 'electron' : 'node'; var arch = os.arch(); var platform = os.platform(); - var libc = process.env.LIBC || (isAlpine(platform) ? "musl" : "glibc"); - var armv = process.env.ARM_VERSION || (arch === "arm64" ? "8" : vars.arm_version) || ""; - var uv = (process.versions.uv || "").split(".")[0]; + var libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc'); + var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''; + var uv = (process.versions.uv || '').split('.')[0]; module2.exports = load; function load(dir) { return runtimeRequire(load.path(dir)); } - load.path = function(dir) { - dir = path2.resolve(dir || "."); + load.path = function (dir) { + dir = path2.resolve(dir || '.'); try { - var name2 = runtimeRequire(path2.join(dir, "package.json")).name.toUpperCase().replace(/-/g, "_"); - if (process.env[name2 + "_PREBUILD"]) - dir = process.env[name2 + "_PREBUILD"]; - } catch (err) { - } + var name2 = runtimeRequire(path2.join(dir, 'package.json')) + .name.toUpperCase() + .replace(/-/g, '_'); + if (process.env[name2 + '_PREBUILD']) dir = process.env[name2 + '_PREBUILD']; + } catch (err) {} if (!prebuildsOnly) { - var release = getFirst(path2.join(dir, "build/Release"), matchBuild); - if (release) - return release; - var debug = getFirst(path2.join(dir, "build/Debug"), matchBuild); - if (debug) - return debug; + var release = getFirst(path2.join(dir, 'build/Release'), matchBuild); + if (release) return release; + var debug = getFirst(path2.join(dir, 'build/Debug'), matchBuild); + if (debug) return debug; } var prebuild = resolve(dir); - if (prebuild) - return prebuild; + if (prebuild) return prebuild; var nearby = resolve(path2.dirname(process.execPath)); - if (nearby) - return nearby; + if (nearby) return nearby; var target = [ - "platform=" + platform, - "arch=" + arch, - "runtime=" + runtime, - "abi=" + abi, - "uv=" + uv, - armv ? "armv=" + armv : "", - "libc=" + libc, - "node=" + process.versions.node, - process.versions.electron ? "electron=" + process.versions.electron : "", - typeof __webpack_require__ === "function" ? "webpack=true" : "" - ].filter(Boolean).join(" "); - throw new Error("No native build was found for " + target + "\n loaded from: " + dir + "\n"); + 'platform=' + platform, + 'arch=' + arch, + 'runtime=' + runtime, + 'abi=' + abi, + 'uv=' + uv, + armv ? 'armv=' + armv : '', + 'libc=' + libc, + 'node=' + process.versions.node, + process.versions.electron ? 'electron=' + process.versions.electron : '', + typeof __webpack_require__ === 'function' ? 'webpack=true' : '', + ] + .filter(Boolean) + .join(' '); + throw new Error( + 'No native build was found for ' + target + '\n loaded from: ' + dir + '\n' + ); function resolve(dir2) { - var tuples = readdirSync(path2.join(dir2, "prebuilds")).map(parseTuple); + var tuples = readdirSync(path2.join(dir2, 'prebuilds')).map(parseTuple); var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]; - if (!tuple) - return; - var prebuilds = path2.join(dir2, "prebuilds", tuple.name); + if (!tuple) return; + var prebuilds = path2.join(dir2, 'prebuilds', tuple.name); var parsed = readdirSync(prebuilds).map(parseTags); var candidates = parsed.filter(matchTags(runtime, abi)); var winner = candidates.sort(compareTags(runtime))[0]; - if (winner) - return path2.join(prebuilds, winner.file); + if (winner) return path2.join(prebuilds, winner.file); } }; function readdirSync(dir) { @@ -26656,25 +29034,19 @@ var require_node_gyp_build = __commonJS({ return /\.node$/.test(name2); } function parseTuple(name2) { - var arr = name2.split("-"); - if (arr.length !== 2) - return; + var arr = name2.split('-'); + if (arr.length !== 2) return; var platform2 = arr[0]; - var architectures = arr[1].split("+"); - if (!platform2) - return; - if (!architectures.length) - return; - if (!architectures.every(Boolean)) - return; + var architectures = arr[1].split('+'); + if (!platform2) return; + if (!architectures.length) return; + if (!architectures.every(Boolean)) return; return { name: name2, platform: platform2, architectures }; } function matchTuple(platform2, arch2) { - return function(tuple) { - if (tuple == null) - return false; - if (tuple.platform !== platform2) - return false; + return function (tuple) { + if (tuple == null) return false; + if (tuple.platform !== platform2) return false; return tuple.architectures.includes(arch2); }; } @@ -26682,24 +29054,23 @@ var require_node_gyp_build = __commonJS({ return a.architectures.length - b.architectures.length; } function parseTags(file3) { - var arr = file3.split("."); + var arr = file3.split('.'); var extension = arr.pop(); var tags = { file: file3, specificity: 0 }; - if (extension !== "node") - return; + if (extension !== 'node') return; for (var i = 0; i < arr.length; i++) { var tag = arr[i]; - if (tag === "node" || tag === "electron" || tag === "node-webkit") { + if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') { tags.runtime = tag; - } else if (tag === "napi") { + } else if (tag === 'napi') { tags.napi = true; - } else if (tag.slice(0, 3) === "abi") { + } else if (tag.slice(0, 3) === 'abi') { tags.abi = tag.slice(3); - } else if (tag.slice(0, 2) === "uv") { + } else if (tag.slice(0, 2) === 'uv') { tags.uv = tag.slice(2); - } else if (tag.slice(0, 4) === "armv") { + } else if (tag.slice(0, 4) === 'armv') { tags.armv = tag.slice(4); - } else if (tag === "glibc" || tag === "musl") { + } else if (tag === 'glibc' || tag === 'musl') { tags.libc = tag; } else { continue; @@ -26709,27 +29080,21 @@ var require_node_gyp_build = __commonJS({ return tags; } function matchTags(runtime2, abi2) { - return function(tags) { - if (tags == null) - return false; - if (tags.runtime !== runtime2 && !runtimeAgnostic(tags)) - return false; - if (tags.abi !== abi2 && !tags.napi) - return false; - if (tags.uv && tags.uv !== uv) - return false; - if (tags.armv && tags.armv !== armv) - return false; - if (tags.libc && tags.libc !== libc) - return false; + return function (tags) { + if (tags == null) return false; + if (tags.runtime !== runtime2 && !runtimeAgnostic(tags)) return false; + if (tags.abi !== abi2 && !tags.napi) return false; + if (tags.uv && tags.uv !== uv) return false; + if (tags.armv && tags.armv !== armv) return false; + if (tags.libc && tags.libc !== libc) return false; return true; }; } function runtimeAgnostic(tags) { - return tags.runtime === "node" && tags.napi; + return tags.runtime === 'node' && tags.napi; } function compareTags(runtime2) { - return function(a, b) { + return function (a, b) { if (a.runtime !== b.runtime) { return a.runtime === runtime2 ? -1 : 1; } else if (a.abi !== b.abi) { @@ -26742,14 +29107,12 @@ var require_node_gyp_build = __commonJS({ }; } function isElectron() { - if (process.versions && process.versions.electron) - return true; - if (process.env.ELECTRON_RUN_AS_NODE) - return true; - return typeof window !== "undefined" && window.process && window.process.type === "renderer"; + if (process.versions && process.versions.electron) return true; + if (process.env.ELECTRON_RUN_AS_NODE) return true; + return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'; } function isAlpine(platform2) { - return platform2 === "linux" && fs3.existsSync("/etc/alpine-release"); + return platform2 === 'linux' && fs3.existsSync('/etc/alpine-release'); } load.parseTags = parseTags; load.matchTags = matchTags; @@ -26757,13 +29120,13 @@ var require_node_gyp_build = __commonJS({ load.parseTuple = parseTuple; load.matchTuple = matchTuple; load.compareTuples = compareTuples; - } + }, }); // node_modules/bufferutil/fallback.js var require_fallback = __commonJS({ - "node_modules/bufferutil/fallback.js"(exports2, module2) { - "use strict"; + 'node_modules/bufferutil/fallback.js'(exports2, module2) { + 'use strict'; var mask = (source, mask2, output, offset, length) => { for (var i = 0; i < length; i++) { output[offset + i] = source[i] ^ mask2[i & 3]; @@ -26776,31 +29139,29 @@ var require_fallback = __commonJS({ } }; module2.exports = { mask, unmask }; - } + }, }); // node_modules/bufferutil/index.js var require_bufferutil = __commonJS({ - "node_modules/bufferutil/index.js"(exports2, module2) { - "use strict"; + 'node_modules/bufferutil/index.js'(exports2, module2) { + 'use strict'; try { module2.exports = require_node_gyp_build()(__dirname); } catch (e) { module2.exports = require_fallback(); } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/buffer-util.js var require_buffer_util = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/buffer-util.js"(exports2, module2) { - "use strict"; + 'node_modules/@ethersproject/providers/node_modules/ws/lib/buffer-util.js'(exports2, module2) { + 'use strict'; var { EMPTY_BUFFER } = require_constants(); function concat(list, totalLength) { - if (list.length === 0) - return EMPTY_BUFFER; - if (list.length === 1) - return list[0]; + if (list.length === 0) return EMPTY_BUFFER; + if (list.length === 1) return list[0]; const target = Buffer.allocUnsafe(totalLength); let offset = 0; for (let i = 0; i < list.length; i++) { @@ -26808,8 +29169,7 @@ var require_buffer_util = __commonJS({ target.set(buf, offset); offset += buf.length; } - if (offset < totalLength) - return target.slice(0, offset); + if (offset < totalLength) return target.slice(0, offset); return target; } function _mask(source, mask, output, offset, length) { @@ -26831,8 +29191,7 @@ var require_buffer_util = __commonJS({ } function toBuffer(data) { toBuffer.readOnly = true; - if (Buffer.isBuffer(data)) - return data; + if (Buffer.isBuffer(data)) return data; let buf; if (data instanceof ArrayBuffer) { buf = Buffer.from(data); @@ -26850,19 +29209,15 @@ var require_buffer_util = __commonJS({ module2.exports = { concat, mask(source, mask, output, offset, length) { - if (length < 48) - _mask(source, mask, output, offset, length); - else - bu.mask(source, mask, output, offset, length); + if (length < 48) _mask(source, mask, output, offset, length); + else bu.mask(source, mask, output, offset, length); }, toArrayBuffer, toBuffer, unmask(buffer, mask) { - if (buffer.length < 32) - _unmask(buffer, mask); - else - bu.unmask(buffer, mask); - } + if (buffer.length < 32) _unmask(buffer, mask); + else bu.unmask(buffer, mask); + }, }; } catch (e) { module2.exports = { @@ -26870,18 +29225,18 @@ var require_buffer_util = __commonJS({ mask: _mask, toArrayBuffer, toBuffer, - unmask: _unmask + unmask: _unmask, }; } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/limiter.js var require_limiter = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/limiter.js"(exports2, module2) { - "use strict"; - var kDone = Symbol("kDone"); - var kRun = Symbol("kRun"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/limiter.js'(exports2, module2) { + 'use strict'; + var kDone = Symbol('kDone'); + var kRun = Symbol('kRun'); var Limiter = class { constructor(concurrency) { this[kDone] = () => { @@ -26897,8 +29252,7 @@ var require_limiter = __commonJS({ this[kRun](); } [kRun]() { - if (this.pending === this.concurrency) - return; + if (this.pending === this.concurrency) return; if (this.jobs.length) { const job = this.jobs.shift(); this.pending++; @@ -26907,23 +29261,26 @@ var require_limiter = __commonJS({ } }; module2.exports = Limiter; - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/permessage-deflate.js var require_permessage_deflate = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/permessage-deflate.js"(exports2, module2) { - "use strict"; - var zlib = require("zlib"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/permessage-deflate.js'( + exports2, + module2 + ) { + 'use strict'; + var zlib = require('zlib'); var bufferUtil = require_buffer_util(); var Limiter = require_limiter(); var { kStatusCode, NOOP } = require_constants(); var TRAILER = Buffer.from([0, 0, 255, 255]); - var kPerMessageDeflate = Symbol("permessage-deflate"); - var kTotalLength = Symbol("total-length"); - var kCallback = Symbol("callback"); - var kBuffers = Symbol("buffers"); - var kError = Symbol("error"); + var kPerMessageDeflate = Symbol('permessage-deflate'); + var kTotalLength = Symbol('total-length'); + var kCallback = Symbol('callback'); + var kBuffers = Symbol('buffers'); + var kError = Symbol('error'); var zlibLimiter; var PerMessageDeflate = class { constructor(options2, isServer, maxPayload) { @@ -26935,12 +29292,13 @@ var require_permessage_deflate = __commonJS({ this._inflate = null; this.params = null; if (!zlibLimiter) { - const concurrency = this._options.concurrencyLimit !== void 0 ? this._options.concurrencyLimit : 10; + const concurrency = + this._options.concurrencyLimit !== void 0 ? this._options.concurrencyLimit : 10; zlibLimiter = new Limiter(concurrency); } } static get extensionName() { - return "permessage-deflate"; + return 'permessage-deflate'; } offer() { const params = {}; @@ -26962,7 +29320,9 @@ var require_permessage_deflate = __commonJS({ } accept(configurations) { configurations = this.normalizeParams(configurations); - this.params = this._isServer ? this.acceptAsServer(configurations) : this.acceptAsClient(configurations); + this.params = this._isServer + ? this.acceptAsServer(configurations) + : this.acceptAsClient(configurations); return this.params; } cleanup() { @@ -26975,24 +29335,27 @@ var require_permessage_deflate = __commonJS({ this._deflate.close(); this._deflate = null; if (callback) { - callback( - new Error( - "The deflate stream was closed while data was being processed" - ) - ); + callback(new Error('The deflate stream was closed while data was being processed')); } } } acceptAsServer(offers) { const opts = this._options; const accepted = offers.find((params) => { - if (opts.serverNoContextTakeover === false && params.server_no_context_takeover || params.server_max_window_bits && (opts.serverMaxWindowBits === false || typeof opts.serverMaxWindowBits === "number" && opts.serverMaxWindowBits > params.server_max_window_bits) || typeof opts.clientMaxWindowBits === "number" && !params.client_max_window_bits) { + if ( + (opts.serverNoContextTakeover === false && params.server_no_context_takeover) || + (params.server_max_window_bits && + (opts.serverMaxWindowBits === false || + (typeof opts.serverMaxWindowBits === 'number' && + opts.serverMaxWindowBits > params.server_max_window_bits))) || + (typeof opts.clientMaxWindowBits === 'number' && !params.client_max_window_bits) + ) { return false; } return true; }); if (!accepted) { - throw new Error("None of the extension offers can be accepted"); + throw new Error('None of the extension offers can be accepted'); } if (opts.serverNoContextTakeover) { accepted.server_no_context_takeover = true; @@ -27000,10 +29363,10 @@ var require_permessage_deflate = __commonJS({ if (opts.clientNoContextTakeover) { accepted.client_no_context_takeover = true; } - if (typeof opts.serverMaxWindowBits === "number") { + if (typeof opts.serverMaxWindowBits === 'number') { accepted.server_max_window_bits = opts.serverMaxWindowBits; } - if (typeof opts.clientMaxWindowBits === "number") { + if (typeof opts.clientMaxWindowBits === 'number') { accepted.client_max_window_bits = opts.clientMaxWindowBits; } else if (accepted.client_max_window_bits === true || opts.clientMaxWindowBits === false) { delete accepted.client_max_window_bits; @@ -27016,13 +29379,15 @@ var require_permessage_deflate = __commonJS({ throw new Error('Unexpected parameter "client_no_context_takeover"'); } if (!params.client_max_window_bits) { - if (typeof this._options.clientMaxWindowBits === "number") { + if (typeof this._options.clientMaxWindowBits === 'number') { params.client_max_window_bits = this._options.clientMaxWindowBits; } - } else if (this._options.clientMaxWindowBits === false || typeof this._options.clientMaxWindowBits === "number" && params.client_max_window_bits > this._options.clientMaxWindowBits) { - throw new Error( - 'Unexpected or invalid parameter "client_max_window_bits"' - ); + } else if ( + this._options.clientMaxWindowBits === false || + (typeof this._options.clientMaxWindowBits === 'number' && + params.client_max_window_bits > this._options.clientMaxWindowBits) + ) { + throw new Error('Unexpected or invalid parameter "client_max_window_bits"'); } return params; } @@ -27034,33 +29399,28 @@ var require_permessage_deflate = __commonJS({ throw new Error(`Parameter "${key}" must have only a single value`); } value = value[0]; - if (key === "client_max_window_bits") { + if (key === 'client_max_window_bits') { if (value !== true) { const num = +value; if (!Number.isInteger(num) || num < 8 || num > 15) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); + throw new TypeError(`Invalid value for parameter "${key}": ${value}`); } value = num; } else if (!this._isServer) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); + throw new TypeError(`Invalid value for parameter "${key}": ${value}`); } - } else if (key === "server_max_window_bits") { + } else if (key === 'server_max_window_bits') { const num = +value; if (!Number.isInteger(num) || num < 8 || num > 15) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); + throw new TypeError(`Invalid value for parameter "${key}": ${value}`); } value = num; - } else if (key === "client_no_context_takeover" || key === "server_no_context_takeover") { + } else if ( + key === 'client_no_context_takeover' || + key === 'server_no_context_takeover' + ) { if (value !== true) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); + throw new TypeError(`Invalid value for parameter "${key}": ${value}`); } } else { throw new Error(`Unknown parameter "${key}"`); @@ -27087,23 +29447,25 @@ var require_permessage_deflate = __commonJS({ }); } _decompress(data, fin, callback) { - const endpoint = this._isServer ? "client" : "server"; + const endpoint = this._isServer ? 'client' : 'server'; if (!this._inflate) { const key = `${endpoint}_max_window_bits`; - const windowBits = typeof this.params[key] !== "number" ? zlib.Z_DEFAULT_WINDOWBITS : this.params[key]; - this._inflate = zlib.createInflateRaw(__spreadProps(__spreadValues({}, this._options.zlibInflateOptions), { - windowBits - })); + const windowBits = + typeof this.params[key] !== 'number' ? zlib.Z_DEFAULT_WINDOWBITS : this.params[key]; + this._inflate = zlib.createInflateRaw( + __spreadProps(__spreadValues({}, this._options.zlibInflateOptions), { + windowBits, + }) + ); this._inflate[kPerMessageDeflate] = this; this._inflate[kTotalLength] = 0; this._inflate[kBuffers] = []; - this._inflate.on("error", inflateOnError); - this._inflate.on("data", inflateOnData); + this._inflate.on('error', inflateOnError); + this._inflate.on('data', inflateOnData); } this._inflate[kCallback] = callback; this._inflate.write(data); - if (fin) - this._inflate.write(TRAILER); + if (fin) this._inflate.write(TRAILER); this._inflate.flush(() => { const err = this._inflate[kError]; if (err) { @@ -27112,10 +29474,7 @@ var require_permessage_deflate = __commonJS({ callback(err); return; } - const data2 = bufferUtil.concat( - this._inflate[kBuffers], - this._inflate[kTotalLength] - ); + const data2 = bufferUtil.concat(this._inflate[kBuffers], this._inflate[kTotalLength]); if (this._inflate._readableState.endEmitted) { this._inflate.close(); this._inflate = null; @@ -27130,17 +29489,20 @@ var require_permessage_deflate = __commonJS({ }); } _compress(data, fin, callback) { - const endpoint = this._isServer ? "server" : "client"; + const endpoint = this._isServer ? 'server' : 'client'; if (!this._deflate) { const key = `${endpoint}_max_window_bits`; - const windowBits = typeof this.params[key] !== "number" ? zlib.Z_DEFAULT_WINDOWBITS : this.params[key]; - this._deflate = zlib.createDeflateRaw(__spreadProps(__spreadValues({}, this._options.zlibDeflateOptions), { - windowBits - })); + const windowBits = + typeof this.params[key] !== 'number' ? zlib.Z_DEFAULT_WINDOWBITS : this.params[key]; + this._deflate = zlib.createDeflateRaw( + __spreadProps(__spreadValues({}, this._options.zlibDeflateOptions), { + windowBits, + }) + ); this._deflate[kTotalLength] = 0; this._deflate[kBuffers] = []; - this._deflate.on("error", NOOP); - this._deflate.on("data", deflateOnData); + this._deflate.on('error', NOOP); + this._deflate.on('data', deflateOnData); } this._deflate[kCallback] = callback; this._deflate.write(data); @@ -27148,12 +29510,8 @@ var require_permessage_deflate = __commonJS({ if (!this._deflate) { return; } - let data2 = bufferUtil.concat( - this._deflate[kBuffers], - this._deflate[kTotalLength] - ); - if (fin) - data2 = data2.slice(0, data2.length - 4); + let data2 = bufferUtil.concat(this._deflate[kBuffers], this._deflate[kTotalLength]); + if (fin) data2 = data2.slice(0, data2.length - 4); this._deflate[kCallback] = null; this._deflate[kTotalLength] = 0; this._deflate[kBuffers] = []; @@ -27171,13 +29529,16 @@ var require_permessage_deflate = __commonJS({ } function inflateOnData(chunk) { this[kTotalLength] += chunk.length; - if (this[kPerMessageDeflate]._maxPayload < 1 || this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload) { + if ( + this[kPerMessageDeflate]._maxPayload < 1 || + this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload + ) { this[kBuffers].push(chunk); return; } - this[kError] = new RangeError("Max payload size exceeded"); + this[kError] = new RangeError('Max payload size exceeded'); this[kError][kStatusCode] = 1009; - this.removeListener("data", inflateOnData); + this.removeListener('data', inflateOnData); this.reset(); } function inflateOnError(err) { @@ -27185,13 +29546,13 @@ var require_permessage_deflate = __commonJS({ err[kStatusCode] = 1007; this[kCallback](err); } - } + }, }); // node_modules/utf-8-validate/fallback.js var require_fallback2 = __commonJS({ - "node_modules/utf-8-validate/fallback.js"(exports2, module2) { - "use strict"; + 'node_modules/utf-8-validate/fallback.js'(exports2, module2) { + 'use strict'; function isValidUTF8(buf) { const len = buf.length; let i = 0; @@ -27204,12 +29565,26 @@ var require_fallback2 = __commonJS({ } i += 2; } else if ((buf[i] & 240) === 224) { - if (i + 2 >= len || (buf[i + 1] & 192) !== 128 || (buf[i + 2] & 192) !== 128 || buf[i] === 224 && (buf[i + 1] & 224) === 128 || buf[i] === 237 && (buf[i + 1] & 224) === 160) { + if ( + i + 2 >= len || + (buf[i + 1] & 192) !== 128 || + (buf[i + 2] & 192) !== 128 || + (buf[i] === 224 && (buf[i + 1] & 224) === 128) || + (buf[i] === 237 && (buf[i + 1] & 224) === 160) + ) { return false; } i += 3; } else if ((buf[i] & 248) === 240) { - if (i + 3 >= len || (buf[i + 1] & 192) !== 128 || (buf[i + 2] & 192) !== 128 || (buf[i + 3] & 192) !== 128 || buf[i] === 240 && (buf[i + 1] & 240) === 128 || buf[i] === 244 && buf[i + 1] > 143 || buf[i] > 244) { + if ( + i + 3 >= len || + (buf[i + 1] & 192) !== 128 || + (buf[i + 2] & 192) !== 128 || + (buf[i + 3] & 192) !== 128 || + (buf[i] === 240 && (buf[i + 1] & 240) === 128) || + (buf[i] === 244 && buf[i + 1] > 143) || + buf[i] > 244 + ) { return false; } i += 4; @@ -27220,27 +29595,30 @@ var require_fallback2 = __commonJS({ return true; } module2.exports = isValidUTF8; - } + }, }); // node_modules/utf-8-validate/index.js var require_utf_8_validate = __commonJS({ - "node_modules/utf-8-validate/index.js"(exports2, module2) { - "use strict"; + 'node_modules/utf-8-validate/index.js'(exports2, module2) { + 'use strict'; try { module2.exports = require_node_gyp_build()(__dirname); } catch (e) { module2.exports = require_fallback2(); } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/validation.js var require_validation = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/validation.js"(exports2, module2) { - "use strict"; + 'node_modules/@ethersproject/providers/node_modules/ws/lib/validation.js'(exports2, module2) { + 'use strict'; function isValidStatusCode(code) { - return code >= 1e3 && code <= 1014 && code !== 1004 && code !== 1005 && code !== 1006 || code >= 3e3 && code <= 4999; + return ( + (code >= 1e3 && code <= 1014 && code !== 1004 && code !== 1005 && code !== 1006) || + (code >= 3e3 && code <= 4999) + ); } function _isValidUTF8(buf) { const len = buf.length; @@ -27254,12 +29632,26 @@ var require_validation = __commonJS({ } i += 2; } else if ((buf[i] & 240) === 224) { - if (i + 2 >= len || (buf[i + 1] & 192) !== 128 || (buf[i + 2] & 192) !== 128 || buf[i] === 224 && (buf[i + 1] & 224) === 128 || buf[i] === 237 && (buf[i + 1] & 224) === 160) { + if ( + i + 2 >= len || + (buf[i + 1] & 192) !== 128 || + (buf[i + 2] & 192) !== 128 || + (buf[i] === 224 && (buf[i + 1] & 224) === 128) || + (buf[i] === 237 && (buf[i + 1] & 224) === 160) + ) { return false; } i += 3; } else if ((buf[i] & 248) === 240) { - if (i + 3 >= len || (buf[i + 1] & 192) !== 128 || (buf[i + 2] & 192) !== 128 || (buf[i + 3] & 192) !== 128 || buf[i] === 240 && (buf[i + 1] & 240) === 128 || buf[i] === 244 && buf[i + 1] > 143 || buf[i] > 244) { + if ( + i + 3 >= len || + (buf[i + 1] & 192) !== 128 || + (buf[i + 2] & 192) !== 128 || + (buf[i + 3] & 192) !== 128 || + (buf[i] === 240 && (buf[i + 1] & 240) === 128) || + (buf[i] === 244 && buf[i + 1] > 143) || + buf[i] > 244 + ) { return false; } i += 4; @@ -27271,36 +29663,31 @@ var require_validation = __commonJS({ } try { let isValidUTF8 = require_utf_8_validate(); - if (typeof isValidUTF8 === "object") { + if (typeof isValidUTF8 === 'object') { isValidUTF8 = isValidUTF8.Validation.isValidUTF8; } module2.exports = { isValidStatusCode, isValidUTF8(buf) { return buf.length < 150 ? _isValidUTF8(buf) : isValidUTF8(buf); - } + }, }; } catch (e) { module2.exports = { isValidStatusCode, - isValidUTF8: _isValidUTF8 + isValidUTF8: _isValidUTF8, }; } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/receiver.js var require_receiver = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/receiver.js"(exports2, module2) { - "use strict"; - var { Writable } = require("stream"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/receiver.js'(exports2, module2) { + 'use strict'; + var { Writable } = require('stream'); var PerMessageDeflate = require_permessage_deflate(); - var { - BINARY_TYPES, - EMPTY_BUFFER, - kStatusCode, - kWebSocket - } = require_constants(); + var { BINARY_TYPES, EMPTY_BUFFER, kStatusCode, kWebSocket } = require_constants(); var { concat, toArrayBuffer, unmask } = require_buffer_util(); var { isValidStatusCode, isValidUTF8 } = require_validation(); var GET_INFO = 0; @@ -27333,16 +29720,14 @@ var require_receiver = __commonJS({ this._loop = false; } _write(chunk, encoding, cb) { - if (this._opcode === 8 && this._state == GET_INFO) - return cb(); + if (this._opcode === 8 && this._state == GET_INFO) return cb(); this._bufferedBytes += chunk.length; this._buffers.push(chunk); this.startLoop(cb); } consume(n) { this._bufferedBytes -= n; - if (n === this._buffers[0].length) - return this._buffers.shift(); + if (n === this._buffers[0].length) return this._buffers.shift(); if (n < this._buffers[0].length) { const buf = this._buffers[0]; this._buffers[0] = buf.slice(n); @@ -27397,12 +29782,12 @@ var require_receiver = __commonJS({ const buf = this.consume(2); if ((buf[0] & 48) !== 0) { this._loop = false; - return error(RangeError, "RSV2 and RSV3 must be clear", true, 1002); + return error(RangeError, 'RSV2 and RSV3 must be clear', true, 1002); } const compressed = (buf[0] & 64) === 64; if (compressed && !this._extensions[PerMessageDeflate.extensionName]) { this._loop = false; - return error(RangeError, "RSV1 must be clear", true, 1002); + return error(RangeError, 'RSV1 must be clear', true, 1002); } this._fin = (buf[0] & 128) === 128; this._opcode = buf[0] & 15; @@ -27410,11 +29795,11 @@ var require_receiver = __commonJS({ if (this._opcode === 0) { if (compressed) { this._loop = false; - return error(RangeError, "RSV1 must be clear", true, 1002); + return error(RangeError, 'RSV1 must be clear', true, 1002); } if (!this._fragmented) { this._loop = false; - return error(RangeError, "invalid opcode 0", true, 1002); + return error(RangeError, 'invalid opcode 0', true, 1002); } this._opcode = this._fragmented; } else if (this._opcode === 1 || this._opcode === 2) { @@ -27426,43 +29811,34 @@ var require_receiver = __commonJS({ } else if (this._opcode > 7 && this._opcode < 11) { if (!this._fin) { this._loop = false; - return error(RangeError, "FIN must be set", true, 1002); + return error(RangeError, 'FIN must be set', true, 1002); } if (compressed) { this._loop = false; - return error(RangeError, "RSV1 must be clear", true, 1002); + return error(RangeError, 'RSV1 must be clear', true, 1002); } if (this._payloadLength > 125) { this._loop = false; - return error( - RangeError, - `invalid payload length ${this._payloadLength}`, - true, - 1002 - ); + return error(RangeError, `invalid payload length ${this._payloadLength}`, true, 1002); } } else { this._loop = false; return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); } - if (!this._fin && !this._fragmented) - this._fragmented = this._opcode; + if (!this._fin && !this._fragmented) this._fragmented = this._opcode; this._masked = (buf[1] & 128) === 128; if (this._isServer) { if (!this._masked) { this._loop = false; - return error(RangeError, "MASK must be set", true, 1002); + return error(RangeError, 'MASK must be set', true, 1002); } } else if (this._masked) { this._loop = false; - return error(RangeError, "MASK must be clear", true, 1002); + return error(RangeError, 'MASK must be clear', true, 1002); } - if (this._payloadLength === 126) - this._state = GET_PAYLOAD_LENGTH_16; - else if (this._payloadLength === 127) - this._state = GET_PAYLOAD_LENGTH_64; - else - return this.haveLength(); + if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16; + else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64; + else return this.haveLength(); } getPayloadLength16() { if (this._bufferedBytes < 2) { @@ -27483,7 +29859,7 @@ var require_receiver = __commonJS({ this._loop = false; return error( RangeError, - "Unsupported WebSocket frame: payload length > 2^53 - 1", + 'Unsupported WebSocket frame: payload length > 2^53 - 1', false, 1009 ); @@ -27496,13 +29872,11 @@ var require_receiver = __commonJS({ this._totalPayloadLength += this._payloadLength; if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) { this._loop = false; - return error(RangeError, "Max payload size exceeded", false, 1009); + return error(RangeError, 'Max payload size exceeded', false, 1009); } } - if (this._masked) - this._state = GET_MASK; - else - this._state = GET_DATA; + if (this._masked) this._state = GET_MASK; + else this._state = GET_DATA; } getMask() { if (this._bufferedBytes < 4) { @@ -27520,11 +29894,9 @@ var require_receiver = __commonJS({ return; } data = this.consume(this._payloadLength); - if (this._masked) - unmask(data, this._mask); + if (this._masked) unmask(data, this._mask); } - if (this._opcode > 7) - return this.controlMessage(data); + if (this._opcode > 7) return this.controlMessage(data); if (this._compressed) { this._state = INFLATING; this.decompress(data, cb); @@ -27539,20 +29911,16 @@ var require_receiver = __commonJS({ decompress(data, cb) { const perMessageDeflate = this._extensions[PerMessageDeflate.extensionName]; perMessageDeflate.decompress(data, this._fin, (err, buf) => { - if (err) - return cb(err); + if (err) return cb(err); if (buf.length) { this._messageLength += buf.length; if (this._messageLength > this._maxPayload && this._maxPayload > 0) { - return cb( - error(RangeError, "Max payload size exceeded", false, 1009) - ); + return cb(error(RangeError, 'Max payload size exceeded', false, 1009)); } this._fragments.push(buf); } const er = this.dataMessage(); - if (er) - return cb(er); + if (er) return cb(er); this.startLoop(cb); }); } @@ -27566,21 +29934,21 @@ var require_receiver = __commonJS({ this._fragments = []; if (this._opcode === 2) { let data; - if (this._binaryType === "nodebuffer") { + if (this._binaryType === 'nodebuffer') { data = concat(fragments, messageLength); - } else if (this._binaryType === "arraybuffer") { + } else if (this._binaryType === 'arraybuffer') { data = toArrayBuffer(concat(fragments, messageLength)); } else { data = fragments; } - this.emit("message", data); + this.emit('message', data); } else { const buf = concat(fragments, messageLength); if (!isValidUTF8(buf)) { this._loop = false; - return error(Error, "invalid UTF-8 sequence", true, 1007); + return error(Error, 'invalid UTF-8 sequence', true, 1007); } - this.emit("message", buf.toString()); + this.emit('message', buf.toString()); } } this._state = GET_INFO; @@ -27589,10 +29957,10 @@ var require_receiver = __commonJS({ if (this._opcode === 8) { this._loop = false; if (data.length === 0) { - this.emit("conclude", 1005, ""); + this.emit('conclude', 1005, ''); this.end(); } else if (data.length === 1) { - return error(RangeError, "invalid payload length 1", true, 1002); + return error(RangeError, 'invalid payload length 1', true, 1002); } else { const code = data.readUInt16BE(0); if (!isValidStatusCode(code)) { @@ -27600,36 +29968,34 @@ var require_receiver = __commonJS({ } const buf = data.slice(2); if (!isValidUTF8(buf)) { - return error(Error, "invalid UTF-8 sequence", true, 1007); + return error(Error, 'invalid UTF-8 sequence', true, 1007); } - this.emit("conclude", code, buf.toString()); + this.emit('conclude', code, buf.toString()); this.end(); } } else if (this._opcode === 9) { - this.emit("ping", data); + this.emit('ping', data); } else { - this.emit("pong", data); + this.emit('pong', data); } this._state = GET_INFO; } }; module2.exports = Receiver; function error(ErrorCtor, message, prefix, statusCode) { - const err = new ErrorCtor( - prefix ? `Invalid WebSocket frame: ${message}` : message - ); + const err = new ErrorCtor(prefix ? `Invalid WebSocket frame: ${message}` : message); Error.captureStackTrace(err, error); err[kStatusCode] = statusCode; return err; } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/sender.js var require_sender = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/sender.js"(exports2, module2) { - "use strict"; - var { randomFillSync } = require("crypto"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/sender.js'(exports2, module2) { + 'use strict'; + var { randomFillSync } = require('crypto'); var PerMessageDeflate = require_permessage_deflate(); var { EMPTY_BUFFER } = require_constants(); var { isValidStatusCode } = require_validation(); @@ -27658,8 +30024,7 @@ var require_sender = __commonJS({ } const target = Buffer.allocUnsafe(merge ? data.length + offset : offset); target[0] = options2.fin ? options2.opcode | 128 : options2.opcode; - if (options2.rsv1) - target[0] |= 64; + if (options2.rsv1) target[0] |= 64; target[1] = payloadLength; if (payloadLength === 126) { target.writeUInt16BE(data.length, 2); @@ -27667,8 +30032,7 @@ var require_sender = __commonJS({ target.writeUInt32BE(0, 2); target.writeUInt32BE(data.length, 6); } - if (!options2.mask) - return [target, data]; + if (!options2.mask) return [target, data]; randomFillSync(mask, 0, 4); target[1] |= 128; target[offset - 4] = mask[0]; @@ -27686,15 +30050,15 @@ var require_sender = __commonJS({ let buf; if (code === void 0) { buf = EMPTY_BUFFER; - } else if (typeof code !== "number" || !isValidStatusCode(code)) { - throw new TypeError("First argument must be a valid error code number"); - } else if (data === void 0 || data === "") { + } else if (typeof code !== 'number' || !isValidStatusCode(code)) { + throw new TypeError('First argument must be a valid error code number'); + } else if (data === void 0 || data === '') { buf = Buffer.allocUnsafe(2); buf.writeUInt16BE(code, 0); } else { const length = Buffer.byteLength(data); if (length > 123) { - throw new RangeError("The message must not be greater than 123 bytes"); + throw new RangeError('The message must not be greater than 123 bytes'); } buf = Buffer.allocUnsafe(2 + length); buf.writeUInt16BE(code, 0); @@ -27713,7 +30077,7 @@ var require_sender = __commonJS({ rsv1: false, opcode: 8, mask: mask2, - readOnly: false + readOnly: false, }), cb ); @@ -27721,7 +30085,7 @@ var require_sender = __commonJS({ ping(data, mask2, cb) { const buf = toBuffer(data); if (buf.length > 125) { - throw new RangeError("The data size must not be greater than 125 bytes"); + throw new RangeError('The data size must not be greater than 125 bytes'); } if (this._deflating) { this.enqueue([this.doPing, buf, mask2, toBuffer.readOnly, cb]); @@ -27736,7 +30100,7 @@ var require_sender = __commonJS({ rsv1: false, opcode: 9, mask: mask2, - readOnly + readOnly, }), cb ); @@ -27744,7 +30108,7 @@ var require_sender = __commonJS({ pong(data, mask2, cb) { const buf = toBuffer(data); if (buf.length > 125) { - throw new RangeError("The data size must not be greater than 125 bytes"); + throw new RangeError('The data size must not be greater than 125 bytes'); } if (this._deflating) { this.enqueue([this.doPong, buf, mask2, toBuffer.readOnly, cb]); @@ -27759,7 +30123,7 @@ var require_sender = __commonJS({ rsv1: false, opcode: 10, mask: mask2, - readOnly + readOnly, }), cb ); @@ -27779,15 +30143,14 @@ var require_sender = __commonJS({ rsv1 = false; opcode = 0; } - if (options2.fin) - this._firstFragment = true; + if (options2.fin) this._firstFragment = true; if (perMessageDeflate) { const opts = { fin: options2.fin, rsv1, opcode, mask: options2.mask, - readOnly: toBuffer.readOnly + readOnly: toBuffer.readOnly, }; if (this._deflating) { this.enqueue([this.dispatch, buf, this._compress, opts, cb]); @@ -27801,7 +30164,7 @@ var require_sender = __commonJS({ rsv1: false, opcode, mask: options2.mask, - readOnly: toBuffer.readOnly + readOnly: toBuffer.readOnly, }), cb ); @@ -27817,15 +30180,11 @@ var require_sender = __commonJS({ this._deflating = true; perMessageDeflate.compress(data, options2.fin, (_, buf) => { if (this._socket.destroyed) { - const err = new Error( - "The socket was closed while data was being compressed" - ); - if (typeof cb === "function") - cb(err); + const err = new Error('The socket was closed while data was being compressed'); + if (typeof cb === 'function') cb(err); for (let i = 0; i < this._queue.length; i++) { const callback = this._queue[i][4]; - if (typeof callback === "function") - callback(err); + if (typeof callback === 'function') callback(err); } return; } @@ -27859,13 +30218,13 @@ var require_sender = __commonJS({ } }; module2.exports = Sender; - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/event-target.js var require_event_target = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/event-target.js"(exports2, module2) { - "use strict"; + 'node_modules/@ethersproject/providers/node_modules/ws/lib/event-target.js'(exports2, module2) { + 'use strict'; var Event = class { constructor(type, target) { this.target = target; @@ -27874,13 +30233,13 @@ var require_event_target = __commonJS({ }; var MessageEvent = class extends Event { constructor(data, target) { - super("message", target); + super('message', target); this.data = data; } }; var CloseEvent = class extends Event { constructor(code, reason, target) { - super("close", target); + super('close', target); this.wasClean = target._closeFrameReceived && target._closeFrameSent; this.reason = reason; this.code = code; @@ -27888,20 +30247,19 @@ var require_event_target = __commonJS({ }; var OpenEvent = class extends Event { constructor(target) { - super("open", target); + super('open', target); } }; var ErrorEvent = class extends Event { constructor(error, target) { - super("error", target); + super('error', target); this.message = error.message; this.error = error; } }; var EventTarget = { addEventListener(type, listener, options2) { - if (typeof listener !== "function") - return; + if (typeof listener !== 'function') return; function onMessage(data) { listener.call(this, new MessageEvent(data, this)); } @@ -27914,17 +30272,17 @@ var require_event_target = __commonJS({ function onOpen() { listener.call(this, new OpenEvent(this)); } - const method = options2 && options2.once ? "once" : "on"; - if (type === "message") { + const method = options2 && options2.once ? 'once' : 'on'; + if (type === 'message') { onMessage._listener = listener; this[method](type, onMessage); - } else if (type === "close") { + } else if (type === 'close') { onClose._listener = listener; this[method](type, onClose); - } else if (type === "error") { + } else if (type === 'error') { onError._listener = listener; this[method](type, onError); - } else if (type === "open") { + } else if (type === 'open') { onOpen._listener = listener; this[method](type, onOpen); } else { @@ -27938,156 +30296,30 @@ var require_event_target = __commonJS({ this.removeListener(type, listeners[i]); } } - } + }, }; module2.exports = EventTarget; - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/extension.js var require_extension = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/extension.js"(exports2, module2) { - "use strict"; + 'node_modules/@ethersproject/providers/node_modules/ws/lib/extension.js'(exports2, module2) { + 'use strict'; var tokenChars = [ - 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, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 1, - 1, - 1, - 1, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 1, - 0, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 0, - 1, - 0, - 1, - 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, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 0, 1, 0, ]; function push(dest, name2, elem) { - if (dest[name2] === void 0) - dest[name2] = [elem]; - else - dest[name2].push(elem); + if (dest[name2] === void 0) dest[name2] = [elem]; + else dest[name2].push(elem); } function parse2(header) { const offers = /* @__PURE__ */ Object.create(null); - if (header === void 0 || header === "") - return offers; + if (header === void 0 || header === '') return offers; let params = /* @__PURE__ */ Object.create(null); let mustUnescape = false; let isEscaping = false; @@ -28101,17 +30333,14 @@ var require_extension = __commonJS({ const code = header.charCodeAt(i); if (extensionName === void 0) { if (end === -1 && tokenChars[code] === 1) { - if (start === -1) - start = i; + if (start === -1) start = i; } else if (code === 32 || code === 9) { - if (end === -1 && start !== -1) - end = i; + if (end === -1 && start !== -1) end = i; } else if (code === 59 || code === 44) { if (start === -1) { throw new SyntaxError(`Unexpected character at index ${i}`); } - if (end === -1) - end = i; + if (end === -1) end = i; const name2 = header.slice(start, end); if (code === 44) { push(offers, name2, params); @@ -28125,17 +30354,14 @@ var require_extension = __commonJS({ } } else if (paramName === void 0) { if (end === -1 && tokenChars[code] === 1) { - if (start === -1) - start = i; + if (start === -1) start = i; } else if (code === 32 || code === 9) { - if (end === -1 && start !== -1) - end = i; + if (end === -1 && start !== -1) end = i; } else if (code === 59 || code === 44) { if (start === -1) { throw new SyntaxError(`Unexpected character at index ${i}`); } - if (end === -1) - end = i; + if (end === -1) end = i; push(params, header.slice(start, end), true); if (code === 44) { push(offers, extensionName, params); @@ -28154,15 +30380,12 @@ var require_extension = __commonJS({ if (tokenChars[code] !== 1) { throw new SyntaxError(`Unexpected character at index ${i}`); } - if (start === -1) - start = i; - else if (!mustUnescape) - mustUnescape = true; + if (start === -1) start = i; + else if (!mustUnescape) mustUnescape = true; isEscaping = false; } else if (inQuotes) { if (tokenChars[code] === 1) { - if (start === -1) - start = i; + if (start === -1) start = i; } else if (code === 34 && start !== -1) { inQuotes = false; end = i; @@ -28174,20 +30397,17 @@ var require_extension = __commonJS({ } else if (code === 34 && header.charCodeAt(i - 1) === 61) { inQuotes = true; } else if (end === -1 && tokenChars[code] === 1) { - if (start === -1) - start = i; + if (start === -1) start = i; } else if (start !== -1 && (code === 32 || code === 9)) { - if (end === -1) - end = i; + if (end === -1) end = i; } else if (code === 59 || code === 44) { if (start === -1) { throw new SyntaxError(`Unexpected character at index ${i}`); } - if (end === -1) - end = i; + if (end === -1) end = i; let value = header.slice(start, end); if (mustUnescape) { - value = value.replace(/\\/g, ""); + value = value.replace(/\\/g, ''); mustUnescape = false; } push(params, paramName, value); @@ -28204,10 +30424,9 @@ var require_extension = __commonJS({ } } if (start === -1 || inQuotes) { - throw new SyntaxError("Unexpected end of input"); + throw new SyntaxError('Unexpected end of input'); } - if (end === -1) - end = i; + if (end === -1) end = i; const token = header.slice(start, end); if (extensionName === void 0) { push(offers, token, params); @@ -28215,7 +30434,7 @@ var require_extension = __commonJS({ if (paramName === void 0) { push(params, token, true); } else if (mustUnescape) { - push(params, paramName, token.replace(/\\/g, "")); + push(params, paramName, token.replace(/\\/g, '')); } else { push(params, paramName, token); } @@ -28224,52 +30443,49 @@ var require_extension = __commonJS({ return offers; } function format(extensions) { - return Object.keys(extensions).map((extension) => { - let configurations = extensions[extension]; - if (!Array.isArray(configurations)) - configurations = [configurations]; - return configurations.map((params) => { - return [extension].concat( - Object.keys(params).map((k) => { - let values = params[k]; - if (!Array.isArray(values)) - values = [values]; - return values.map((v) => v === true ? k : `${k}=${v}`).join("; "); + return Object.keys(extensions) + .map((extension) => { + let configurations = extensions[extension]; + if (!Array.isArray(configurations)) configurations = [configurations]; + return configurations + .map((params) => { + return [extension] + .concat( + Object.keys(params).map((k) => { + let values = params[k]; + if (!Array.isArray(values)) values = [values]; + return values.map((v) => (v === true ? k : `${k}=${v}`)).join('; '); + }) + ) + .join('; '); }) - ).join("; "); - }).join(", "); - }).join(", "); + .join(', '); + }) + .join(', '); } module2.exports = { format, parse: parse2 }; - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/websocket.js var require_websocket = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/websocket.js"(exports2, module2) { - "use strict"; - var EventEmitter = require("events"); - var https = require("https"); - var http = require("http"); - var net = require("net"); - var tls = require("tls"); - var { randomBytes, createHash } = require("crypto"); - var { URL } = require("url"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/websocket.js'(exports2, module2) { + 'use strict'; + var EventEmitter = require('events'); + var https = require('https'); + var http = require('http'); + var net = require('net'); + var tls = require('tls'); + var { randomBytes, createHash } = require('crypto'); + var { URL } = require('url'); var PerMessageDeflate = require_permessage_deflate(); var Receiver = require_receiver(); var Sender = require_sender(); - var { - BINARY_TYPES, - EMPTY_BUFFER, - GUID, - kStatusCode, - kWebSocket, - NOOP - } = require_constants(); + var { BINARY_TYPES, EMPTY_BUFFER, GUID, kStatusCode, kWebSocket, NOOP } = require_constants(); var { addEventListener, removeEventListener } = require_event_target(); var { format, parse: parse2 } = require_extension(); var { toBuffer } = require_buffer_util(); - var readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"]; + var readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED']; var protocolVersions = [8, 13]; var closeTimeout = 30 * 1e3; var WebSocket = class extends EventEmitter { @@ -28279,10 +30495,10 @@ var require_websocket = __commonJS({ this._closeCode = 1006; this._closeFrameReceived = false; this._closeFrameSent = false; - this._closeMessage = ""; + this._closeMessage = ''; this._closeTimer = null; this._extensions = {}; - this._protocol = ""; + this._protocol = ''; this._readyState = WebSocket.CONNECTING; this._receiver = null; this._sender = null; @@ -28292,8 +30508,8 @@ var require_websocket = __commonJS({ this._isServer = false; this._redirects = 0; if (Array.isArray(protocols)) { - protocols = protocols.join(", "); - } else if (typeof protocols === "object" && protocols !== null) { + protocols = protocols.join(', '); + } else if (typeof protocols === 'object' && protocols !== null) { options2 = protocols; protocols = void 0; } @@ -28306,15 +30522,12 @@ var require_websocket = __commonJS({ return this._binaryType; } set binaryType(type) { - if (!BINARY_TYPES.includes(type)) - return; + if (!BINARY_TYPES.includes(type)) return; this._binaryType = type; - if (this._receiver) - this._receiver._binaryType = type; + if (this._receiver) this._receiver._binaryType = type; } get bufferedAmount() { - if (!this._socket) - return this._bufferedAmount; + if (!this._socket) return this._bufferedAmount; return this._socket._writableState.length + this._sender._bufferedBytes; } get extensions() { @@ -28341,27 +30554,26 @@ var require_websocket = __commonJS({ this._socket = socket; receiver[kWebSocket] = this; socket[kWebSocket] = this; - receiver.on("conclude", receiverOnConclude); - receiver.on("drain", receiverOnDrain); - receiver.on("error", receiverOnError); - receiver.on("message", receiverOnMessage); - receiver.on("ping", receiverOnPing); - receiver.on("pong", receiverOnPong); + receiver.on('conclude', receiverOnConclude); + receiver.on('drain', receiverOnDrain); + receiver.on('error', receiverOnError); + receiver.on('message', receiverOnMessage); + receiver.on('ping', receiverOnPing); + receiver.on('pong', receiverOnPong); socket.setTimeout(0); socket.setNoDelay(); - if (head.length > 0) - socket.unshift(head); - socket.on("close", socketOnClose); - socket.on("data", socketOnData); - socket.on("end", socketOnEnd); - socket.on("error", socketOnError); + if (head.length > 0) socket.unshift(head); + socket.on('close', socketOnClose); + socket.on('data', socketOnData); + socket.on('end', socketOnEnd); + socket.on('error', socketOnError); this._readyState = WebSocket.OPEN; - this.emit("open"); + this.emit('open'); } emitClose() { if (!this._socket) { this._readyState = WebSocket.CLOSED; - this.emit("close", this._closeCode, this._closeMessage); + this.emit('close', this._closeCode, this._closeMessage); return; } if (this._extensions[PerMessageDeflate.extensionName]) { @@ -28369,105 +30581,95 @@ var require_websocket = __commonJS({ } this._receiver.removeAllListeners(); this._readyState = WebSocket.CLOSED; - this.emit("close", this._closeCode, this._closeMessage); + this.emit('close', this._closeCode, this._closeMessage); } close(code, data) { - if (this.readyState === WebSocket.CLOSED) - return; + if (this.readyState === WebSocket.CLOSED) return; if (this.readyState === WebSocket.CONNECTING) { - const msg = "WebSocket was closed before the connection was established"; + const msg = 'WebSocket was closed before the connection was established'; return abortHandshake(this, this._req, msg); } if (this.readyState === WebSocket.CLOSING) { - if (this._closeFrameSent && this._closeFrameReceived) - this._socket.end(); + if (this._closeFrameSent && this._closeFrameReceived) this._socket.end(); return; } this._readyState = WebSocket.CLOSING; this._sender.close(code, data, !this._isServer, (err) => { - if (err) - return; + if (err) return; this._closeFrameSent = true; - if (this._closeFrameReceived) - this._socket.end(); + if (this._closeFrameReceived) this._socket.end(); }); - this._closeTimer = setTimeout( - this._socket.destroy.bind(this._socket), - closeTimeout - ); + this._closeTimer = setTimeout(this._socket.destroy.bind(this._socket), closeTimeout); } ping(data, mask, cb) { if (this.readyState === WebSocket.CONNECTING) { - throw new Error("WebSocket is not open: readyState 0 (CONNECTING)"); + throw new Error('WebSocket is not open: readyState 0 (CONNECTING)'); } - if (typeof data === "function") { + if (typeof data === 'function') { cb = data; data = mask = void 0; - } else if (typeof mask === "function") { + } else if (typeof mask === 'function') { cb = mask; mask = void 0; } - if (typeof data === "number") - data = data.toString(); + if (typeof data === 'number') data = data.toString(); if (this.readyState !== WebSocket.OPEN) { sendAfterClose(this, data, cb); return; } - if (mask === void 0) - mask = !this._isServer; + if (mask === void 0) mask = !this._isServer; this._sender.ping(data || EMPTY_BUFFER, mask, cb); } pong(data, mask, cb) { if (this.readyState === WebSocket.CONNECTING) { - throw new Error("WebSocket is not open: readyState 0 (CONNECTING)"); + throw new Error('WebSocket is not open: readyState 0 (CONNECTING)'); } - if (typeof data === "function") { + if (typeof data === 'function') { cb = data; data = mask = void 0; - } else if (typeof mask === "function") { + } else if (typeof mask === 'function') { cb = mask; mask = void 0; } - if (typeof data === "number") - data = data.toString(); + if (typeof data === 'number') data = data.toString(); if (this.readyState !== WebSocket.OPEN) { sendAfterClose(this, data, cb); return; } - if (mask === void 0) - mask = !this._isServer; + if (mask === void 0) mask = !this._isServer; this._sender.pong(data || EMPTY_BUFFER, mask, cb); } send(data, options2, cb) { if (this.readyState === WebSocket.CONNECTING) { - throw new Error("WebSocket is not open: readyState 0 (CONNECTING)"); + throw new Error('WebSocket is not open: readyState 0 (CONNECTING)'); } - if (typeof options2 === "function") { + if (typeof options2 === 'function') { cb = options2; options2 = {}; } - if (typeof data === "number") - data = data.toString(); + if (typeof data === 'number') data = data.toString(); if (this.readyState !== WebSocket.OPEN) { sendAfterClose(this, data, cb); return; } - const opts = __spreadValues({ - binary: typeof data !== "string", - mask: !this._isServer, - compress: true, - fin: true - }, options2); + const opts = __spreadValues( + { + binary: typeof data !== 'string', + mask: !this._isServer, + compress: true, + fin: true, + }, + options2 + ); if (!this._extensions[PerMessageDeflate.extensionName]) { opts.compress = false; } this._sender.send(data || EMPTY_BUFFER, opts, cb); } terminate() { - if (this.readyState === WebSocket.CLOSED) - return; + if (this.readyState === WebSocket.CLOSED) return; if (this.readyState === WebSocket.CONNECTING) { - const msg = "WebSocket was closed before the connection was established"; + const msg = 'WebSocket was closed before the connection was established'; return abortHandshake(this, this._req, msg); } if (this._socket) { @@ -28481,62 +30683,63 @@ var require_websocket = __commonJS({ Object.defineProperty(WebSocket.prototype, readyState, descriptor); Object.defineProperty(WebSocket, readyState, descriptor); }); - [ - "binaryType", - "bufferedAmount", - "extensions", - "protocol", - "readyState", - "url" - ].forEach((property) => { - Object.defineProperty(WebSocket.prototype, property, { enumerable: true }); - }); - ["open", "error", "close", "message"].forEach((method) => { + ['binaryType', 'bufferedAmount', 'extensions', 'protocol', 'readyState', 'url'].forEach( + (property) => { + Object.defineProperty(WebSocket.prototype, property, { enumerable: true }); + } + ); + ['open', 'error', 'close', 'message'].forEach((method) => { Object.defineProperty(WebSocket.prototype, `on${method}`, { configurable: true, enumerable: true, get() { const listeners = this.listeners(method); for (let i = 0; i < listeners.length; i++) { - if (listeners[i]._listener) - return listeners[i]._listener; + if (listeners[i]._listener) return listeners[i]._listener; } return void 0; }, set(listener) { const listeners = this.listeners(method); for (let i = 0; i < listeners.length; i++) { - if (listeners[i]._listener) - this.removeListener(method, listeners[i]); + if (listeners[i]._listener) this.removeListener(method, listeners[i]); } this.addEventListener(method, listener); - } + }, }); }); WebSocket.prototype.addEventListener = addEventListener; WebSocket.prototype.removeEventListener = removeEventListener; module2.exports = WebSocket; function initAsClient(websocket, address, protocols, options2) { - const opts = __spreadProps(__spreadValues({ - protocolVersion: protocolVersions[1], - maxPayload: 100 * 1024 * 1024, - perMessageDeflate: true, - followRedirects: false, - maxRedirects: 10 - }, options2), { - createConnection: void 0, - socketPath: void 0, - hostname: void 0, - protocol: void 0, - timeout: void 0, - method: void 0, - host: void 0, - path: void 0, - port: void 0 - }); + const opts = __spreadProps( + __spreadValues( + { + protocolVersion: protocolVersions[1], + maxPayload: 100 * 1024 * 1024, + perMessageDeflate: true, + followRedirects: false, + maxRedirects: 10, + }, + options2 + ), + { + createConnection: void 0, + socketPath: void 0, + hostname: void 0, + protocol: void 0, + timeout: void 0, + method: void 0, + host: void 0, + path: void 0, + port: void 0, + } + ); if (!protocolVersions.includes(opts.protocolVersion)) { throw new RangeError( - `Unsupported protocol version: ${opts.protocolVersion} (supported versions: ${protocolVersions.join(", ")})` + `Unsupported protocol version: ${ + opts.protocolVersion + } (supported versions: ${protocolVersions.join(', ')})` ); } let parsedUrl; @@ -28547,25 +30750,30 @@ var require_websocket = __commonJS({ parsedUrl = new URL(address); websocket._url = address; } - const isUnixSocket = parsedUrl.protocol === "ws+unix:"; + const isUnixSocket = parsedUrl.protocol === 'ws+unix:'; if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) { throw new Error(`Invalid URL: ${websocket.url}`); } - const isSecure = parsedUrl.protocol === "wss:" || parsedUrl.protocol === "https:"; + const isSecure = parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:'; const defaultPort = isSecure ? 443 : 80; - const key = randomBytes(16).toString("base64"); + const key = randomBytes(16).toString('base64'); const get = isSecure ? https.get : http.get; let perMessageDeflate; opts.createConnection = isSecure ? tlsConnect : netConnect; opts.defaultPort = opts.defaultPort || defaultPort; opts.port = parsedUrl.port || defaultPort; - opts.host = parsedUrl.hostname.startsWith("[") ? parsedUrl.hostname.slice(1, -1) : parsedUrl.hostname; - opts.headers = __spreadValues({ - "Sec-WebSocket-Version": opts.protocolVersion, - "Sec-WebSocket-Key": key, - Connection: "Upgrade", - Upgrade: "websocket" - }, opts.headers); + opts.host = parsedUrl.hostname.startsWith('[') + ? parsedUrl.hostname.slice(1, -1) + : parsedUrl.hostname; + opts.headers = __spreadValues( + { + 'Sec-WebSocket-Version': opts.protocolVersion, + 'Sec-WebSocket-Key': key, + Connection: 'Upgrade', + Upgrade: 'websocket', + }, + opts.headers + ); opts.path = parsedUrl.pathname + parsedUrl.search; opts.timeout = opts.handshakeTimeout; if (opts.perMessageDeflate) { @@ -28574,16 +30782,16 @@ var require_websocket = __commonJS({ false, opts.maxPayload ); - opts.headers["Sec-WebSocket-Extensions"] = format({ - [PerMessageDeflate.extensionName]: perMessageDeflate.offer() + opts.headers['Sec-WebSocket-Extensions'] = format({ + [PerMessageDeflate.extensionName]: perMessageDeflate.offer(), }); } if (protocols) { - opts.headers["Sec-WebSocket-Protocol"] = protocols; + opts.headers['Sec-WebSocket-Protocol'] = protocols; } if (opts.origin) { if (opts.protocolVersion < 13) { - opts.headers["Sec-WebSocket-Origin"] = opts.origin; + opts.headers['Sec-WebSocket-Origin'] = opts.origin; } else { opts.headers.Origin = opts.origin; } @@ -28592,82 +30800,73 @@ var require_websocket = __commonJS({ opts.auth = `${parsedUrl.username}:${parsedUrl.password}`; } if (isUnixSocket) { - const parts = opts.path.split(":"); + const parts = opts.path.split(':'); opts.socketPath = parts[0]; opts.path = parts[1]; } - let req = websocket._req = get(opts); + let req = (websocket._req = get(opts)); if (opts.timeout) { - req.on("timeout", () => { - abortHandshake(websocket, req, "Opening handshake has timed out"); + req.on('timeout', () => { + abortHandshake(websocket, req, 'Opening handshake has timed out'); }); } - req.on("error", (err) => { - if (req === null || req.aborted) - return; + req.on('error', (err) => { + if (req === null || req.aborted) return; req = websocket._req = null; websocket._readyState = WebSocket.CLOSING; - websocket.emit("error", err); + websocket.emit('error', err); websocket.emitClose(); }); - req.on("response", (res) => { + req.on('response', (res) => { const location = res.headers.location; const statusCode = res.statusCode; if (location && opts.followRedirects && statusCode >= 300 && statusCode < 400) { if (++websocket._redirects > opts.maxRedirects) { - abortHandshake(websocket, req, "Maximum redirects exceeded"); + abortHandshake(websocket, req, 'Maximum redirects exceeded'); return; } req.abort(); const addr = new URL(location, address); initAsClient(websocket, addr, protocols, options2); - } else if (!websocket.emit("unexpected-response", req, res)) { - abortHandshake( - websocket, - req, - `Unexpected server response: ${res.statusCode}` - ); + } else if (!websocket.emit('unexpected-response', req, res)) { + abortHandshake(websocket, req, `Unexpected server response: ${res.statusCode}`); } }); - req.on("upgrade", (res, socket, head) => { - websocket.emit("upgrade", res); - if (websocket.readyState !== WebSocket.CONNECTING) - return; + req.on('upgrade', (res, socket, head) => { + websocket.emit('upgrade', res); + if (websocket.readyState !== WebSocket.CONNECTING) return; req = websocket._req = null; - const digest = createHash("sha1").update(key + GUID).digest("base64"); - if (res.headers["sec-websocket-accept"] !== digest) { - abortHandshake(websocket, socket, "Invalid Sec-WebSocket-Accept header"); + const digest = createHash('sha1') + .update(key + GUID) + .digest('base64'); + if (res.headers['sec-websocket-accept'] !== digest) { + abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header'); return; } - const serverProt = res.headers["sec-websocket-protocol"]; - const protList = (protocols || "").split(/, */); + const serverProt = res.headers['sec-websocket-protocol']; + const protList = (protocols || '').split(/, */); let protError; if (!protocols && serverProt) { - protError = "Server sent a subprotocol but none was requested"; + protError = 'Server sent a subprotocol but none was requested'; } else if (protocols && !serverProt) { - protError = "Server sent no subprotocol"; + protError = 'Server sent no subprotocol'; } else if (serverProt && !protList.includes(serverProt)) { - protError = "Server sent an invalid subprotocol"; + protError = 'Server sent an invalid subprotocol'; } if (protError) { abortHandshake(websocket, socket, protError); return; } - if (serverProt) - websocket._protocol = serverProt; + if (serverProt) websocket._protocol = serverProt; if (perMessageDeflate) { try { - const extensions = parse2(res.headers["sec-websocket-extensions"]); + const extensions = parse2(res.headers['sec-websocket-extensions']); if (extensions[PerMessageDeflate.extensionName]) { perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]); websocket._extensions[PerMessageDeflate.extensionName] = perMessageDeflate; } } catch (err) { - abortHandshake( - websocket, - socket, - "Invalid Sec-WebSocket-Extensions header" - ); + abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Extensions header'); return; } } @@ -28680,8 +30879,8 @@ var require_websocket = __commonJS({ } function tlsConnect(options2) { options2.path = void 0; - if (!options2.servername && options2.servername !== "") { - options2.servername = net.isIP(options2.host) ? "" : options2.host; + if (!options2.servername && options2.servername !== '') { + options2.servername = net.isIP(options2.host) ? '' : options2.host; } return tls.connect(options2); } @@ -28694,81 +30893,82 @@ var require_websocket = __commonJS({ if (stream.socket && !stream.socket.destroyed) { stream.socket.destroy(); } - stream.once("abort", websocket.emitClose.bind(websocket)); - websocket.emit("error", err); + stream.once('abort', websocket.emitClose.bind(websocket)); + websocket.emit('error', err); } else { stream.destroy(err); - stream.once("error", websocket.emit.bind(websocket, "error")); - stream.once("close", websocket.emitClose.bind(websocket)); + stream.once('error', websocket.emit.bind(websocket, 'error')); + stream.once('close', websocket.emitClose.bind(websocket)); } } function sendAfterClose(websocket, data, cb) { if (data) { const length = toBuffer(data).length; - if (websocket._socket) - websocket._sender._bufferedBytes += length; - else - websocket._bufferedAmount += length; + if (websocket._socket) websocket._sender._bufferedBytes += length; + else websocket._bufferedAmount += length; } if (cb) { const err = new Error( - `WebSocket is not open: readyState ${websocket.readyState} (${readyStates[websocket.readyState]})` + `WebSocket is not open: readyState ${websocket.readyState} (${ + readyStates[websocket.readyState] + })` ); cb(err); } } function receiverOnConclude(code, reason) { const websocket = this[kWebSocket]; - websocket._socket.removeListener("data", socketOnData); + websocket._socket.removeListener('data', socketOnData); websocket._socket.resume(); websocket._closeFrameReceived = true; websocket._closeMessage = reason; websocket._closeCode = code; - if (code === 1005) - websocket.close(); - else - websocket.close(code, reason); + if (code === 1005) websocket.close(); + else websocket.close(code, reason); } function receiverOnDrain() { this[kWebSocket]._socket.resume(); } function receiverOnError(err) { const websocket = this[kWebSocket]; - websocket._socket.removeListener("data", socketOnData); + websocket._socket.removeListener('data', socketOnData); websocket._readyState = WebSocket.CLOSING; websocket._closeCode = err[kStatusCode]; - websocket.emit("error", err); + websocket.emit('error', err); websocket._socket.destroy(); } function receiverOnFinish() { this[kWebSocket].emitClose(); } function receiverOnMessage(data) { - this[kWebSocket].emit("message", data); + this[kWebSocket].emit('message', data); } function receiverOnPing(data) { const websocket = this[kWebSocket]; websocket.pong(data, !websocket._isServer, NOOP); - websocket.emit("ping", data); + websocket.emit('ping', data); } function receiverOnPong(data) { - this[kWebSocket].emit("pong", data); + this[kWebSocket].emit('pong', data); } function socketOnClose() { const websocket = this[kWebSocket]; - this.removeListener("close", socketOnClose); - this.removeListener("end", socketOnEnd); + this.removeListener('close', socketOnClose); + this.removeListener('end', socketOnEnd); websocket._readyState = WebSocket.CLOSING; websocket._socket.read(); websocket._receiver.end(); - this.removeListener("data", socketOnData); + this.removeListener('data', socketOnData); this[kWebSocket] = void 0; clearTimeout(websocket._closeTimer); - if (websocket._receiver._writableState.finished || websocket._receiver._writableState.errorEmitted) { + if ( + websocket._receiver._writableState.finished || + websocket._receiver._writableState.errorEmitted + ) { websocket.emitClose(); } else { - websocket._receiver.on("error", receiverOnFinish); - websocket._receiver.on("finish", receiverOnFinish); + websocket._receiver.on('error', receiverOnFinish); + websocket._receiver.on('finish', receiverOnFinish); } } function socketOnData(chunk) { @@ -28784,23 +30984,23 @@ var require_websocket = __commonJS({ } function socketOnError() { const websocket = this[kWebSocket]; - this.removeListener("error", socketOnError); - this.on("error", NOOP); + this.removeListener('error', socketOnError); + this.on('error', NOOP); if (websocket) { websocket._readyState = WebSocket.CLOSING; this.destroy(); } } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/stream.js var require_stream = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/stream.js"(exports2, module2) { - "use strict"; - var { Duplex } = require("stream"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/stream.js'(exports2, module2) { + 'use strict'; + var { Duplex } = require('stream'); function emitClose(stream) { - stream.emit("close"); + stream.emit('close'); } function duplexOnEnd() { if (!this.destroyed && this._writableState.finished) { @@ -28808,118 +31008,116 @@ var require_stream = __commonJS({ } } function duplexOnError(err) { - this.removeListener("error", duplexOnError); + this.removeListener('error', duplexOnError); this.destroy(); - if (this.listenerCount("error") === 0) { - this.emit("error", err); + if (this.listenerCount('error') === 0) { + this.emit('error', err); } } function createWebSocketStream(ws, options2) { let resumeOnReceiverDrain = true; function receiverOnDrain() { - if (resumeOnReceiverDrain) - ws._socket.resume(); + if (resumeOnReceiverDrain) ws._socket.resume(); } if (ws.readyState === ws.CONNECTING) { - ws.once("open", function open() { - ws._receiver.removeAllListeners("drain"); - ws._receiver.on("drain", receiverOnDrain); + ws.once('open', function open() { + ws._receiver.removeAllListeners('drain'); + ws._receiver.on('drain', receiverOnDrain); }); } else { - ws._receiver.removeAllListeners("drain"); - ws._receiver.on("drain", receiverOnDrain); - } - const duplex = new Duplex(__spreadProps(__spreadValues({}, options2), { - autoDestroy: false, - emitClose: false, - objectMode: false, - writableObjectMode: false - })); - ws.on("message", function message(msg) { + ws._receiver.removeAllListeners('drain'); + ws._receiver.on('drain', receiverOnDrain); + } + const duplex = new Duplex( + __spreadProps(__spreadValues({}, options2), { + autoDestroy: false, + emitClose: false, + objectMode: false, + writableObjectMode: false, + }) + ); + ws.on('message', function message(msg) { if (!duplex.push(msg)) { resumeOnReceiverDrain = false; ws._socket.pause(); } }); - ws.once("error", function error(err) { - if (duplex.destroyed) - return; + ws.once('error', function error(err) { + if (duplex.destroyed) return; duplex.destroy(err); }); - ws.once("close", function close() { - if (duplex.destroyed) - return; + ws.once('close', function close() { + if (duplex.destroyed) return; duplex.push(null); }); - duplex._destroy = function(err, callback) { + duplex._destroy = function (err, callback) { if (ws.readyState === ws.CLOSED) { callback(err); process.nextTick(emitClose, duplex); return; } let called = false; - ws.once("error", function error(err2) { + ws.once('error', function error(err2) { called = true; callback(err2); }); - ws.once("close", function close() { - if (!called) - callback(err); + ws.once('close', function close() { + if (!called) callback(err); process.nextTick(emitClose, duplex); }); ws.terminate(); }; - duplex._final = function(callback) { + duplex._final = function (callback) { if (ws.readyState === ws.CONNECTING) { - ws.once("open", function open() { + ws.once('open', function open() { duplex._final(callback); }); return; } - if (ws._socket === null) - return; + if (ws._socket === null) return; if (ws._socket._writableState.finished) { callback(); - if (duplex._readableState.endEmitted) - duplex.destroy(); + if (duplex._readableState.endEmitted) duplex.destroy(); } else { - ws._socket.once("finish", function finish() { + ws._socket.once('finish', function finish() { callback(); }); ws.close(); } }; - duplex._read = function() { + duplex._read = function () { if (ws.readyState === ws.OPEN && !resumeOnReceiverDrain) { resumeOnReceiverDrain = true; - if (!ws._receiver._writableState.needDrain) - ws._socket.resume(); + if (!ws._receiver._writableState.needDrain) ws._socket.resume(); } }; - duplex._write = function(chunk, encoding, callback) { + duplex._write = function (chunk, encoding, callback) { if (ws.readyState === ws.CONNECTING) { - ws.once("open", function open() { + ws.once('open', function open() { duplex._write(chunk, encoding, callback); }); return; } ws.send(chunk, callback); }; - duplex.on("end", duplexOnEnd); - duplex.on("error", duplexOnError); + duplex.on('end', duplexOnEnd); + duplex.on('error', duplexOnError); return duplex; } module2.exports = createWebSocketStream; - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/lib/websocket-server.js var require_websocket_server = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/lib/websocket-server.js"(exports2, module2) { - "use strict"; - var EventEmitter = require("events"); - var { createHash } = require("crypto"); - var { createServer, STATUS_CODES } = require("http"); + 'node_modules/@ethersproject/providers/node_modules/ws/lib/websocket-server.js'( + exports2, + module2 + ) { + 'use strict'; + var EventEmitter = require('events'); + var { createHash } = require('crypto'); + var { createServer, STATUS_CODES } = require('http'); var PerMessageDeflate = require_permessage_deflate(); var WebSocket = require_websocket(); var { format, parse: parse2 } = require_extension(); @@ -28928,19 +31126,22 @@ var require_websocket_server = __commonJS({ var WebSocketServer = class extends EventEmitter { constructor(options2, callback) { super(); - options2 = __spreadValues({ - maxPayload: 100 * 1024 * 1024, - perMessageDeflate: false, - handleProtocols: null, - clientTracking: true, - verifyClient: null, - noServer: false, - backlog: null, - server: null, - host: null, - path: null, - port: null - }, options2); + options2 = __spreadValues( + { + maxPayload: 100 * 1024 * 1024, + perMessageDeflate: false, + handleProtocols: null, + clientTracking: true, + verifyClient: null, + noServer: false, + backlog: null, + server: null, + host: null, + path: null, + port: null, + }, + options2 + ); if (options2.port == null && !options2.server && !options2.noServer) { throw new TypeError( 'One of the "port", "server", or "noServer" options must be specified' @@ -28950,57 +31151,47 @@ var require_websocket_server = __commonJS({ this._server = createServer((req, res) => { const body = STATUS_CODES[426]; res.writeHead(426, { - "Content-Length": body.length, - "Content-Type": "text/plain" + 'Content-Length': body.length, + 'Content-Type': 'text/plain', }); res.end(body); }); - this._server.listen( - options2.port, - options2.host, - options2.backlog, - callback - ); + this._server.listen(options2.port, options2.host, options2.backlog, callback); } else if (options2.server) { this._server = options2.server; } if (this._server) { - const emitConnection = this.emit.bind(this, "connection"); + const emitConnection = this.emit.bind(this, 'connection'); this._removeListeners = addListeners(this._server, { - listening: this.emit.bind(this, "listening"), - error: this.emit.bind(this, "error"), + listening: this.emit.bind(this, 'listening'), + error: this.emit.bind(this, 'error'), upgrade: (req, socket, head) => { this.handleUpgrade(req, socket, head, emitConnection); - } + }, }); } - if (options2.perMessageDeflate === true) - options2.perMessageDeflate = {}; - if (options2.clientTracking) - this.clients = /* @__PURE__ */ new Set(); + if (options2.perMessageDeflate === true) options2.perMessageDeflate = {}; + if (options2.clientTracking) this.clients = /* @__PURE__ */ new Set(); this.options = options2; } address() { if (this.options.noServer) { throw new Error('The server is operating in "noServer" mode'); } - if (!this._server) - return null; + if (!this._server) return null; return this._server.address(); } close(cb) { - if (cb) - this.once("close", cb); + if (cb) this.once('close', cb); if (this.clients) { - for (const client of this.clients) - client.terminate(); + for (const client of this.clients) client.terminate(); } const server = this._server; if (server) { this._removeListeners(); this._removeListeners = this._server = null; if (this.options.port != null) { - server.close(() => this.emit("close")); + server.close(() => this.emit('close')); return; } } @@ -29008,19 +31199,28 @@ var require_websocket_server = __commonJS({ } shouldHandle(req) { if (this.options.path) { - const index = req.url.indexOf("?"); + const index = req.url.indexOf('?'); const pathname = index !== -1 ? req.url.slice(0, index) : req.url; - if (pathname !== this.options.path) - return false; + if (pathname !== this.options.path) return false; } return true; } handleUpgrade(req, socket, head, cb) { - socket.on("error", socketOnError); - const key = req.headers["sec-websocket-key"] !== void 0 ? req.headers["sec-websocket-key"].trim() : false; - const version = +req.headers["sec-websocket-version"]; + socket.on('error', socketOnError); + const key = + req.headers['sec-websocket-key'] !== void 0 + ? req.headers['sec-websocket-key'].trim() + : false; + const version = +req.headers['sec-websocket-version']; const extensions = {}; - if (req.method !== "GET" || req.headers.upgrade.toLowerCase() !== "websocket" || !key || !keyRegex.test(key) || version !== 8 && version !== 13 || !this.shouldHandle(req)) { + if ( + req.method !== 'GET' || + req.headers.upgrade.toLowerCase() !== 'websocket' || + !key || + !keyRegex.test(key) || + (version !== 8 && version !== 13) || + !this.shouldHandle(req) + ) { return abortHandshake(socket, 400); } if (this.options.perMessageDeflate) { @@ -29030,7 +31230,7 @@ var require_websocket_server = __commonJS({ this.options.maxPayload ); try { - const offers = parse2(req.headers["sec-websocket-extensions"]); + const offers = parse2(req.headers['sec-websocket-extensions']); if (offers[PerMessageDeflate.extensionName]) { perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]); extensions[PerMessageDeflate.extensionName] = perMessageDeflate; @@ -29041,9 +31241,9 @@ var require_websocket_server = __commonJS({ } if (this.options.verifyClient) { const info = { - origin: req.headers[`${version === 8 ? "sec-websocket-origin" : "origin"}`], + origin: req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`], secure: !!(req.socket.authorized || req.socket.encrypted), - req + req, }; if (this.options.verifyClient.length === 2) { this.options.verifyClient(info, (verified, code, message, headers) => { @@ -29054,30 +31254,30 @@ var require_websocket_server = __commonJS({ }); return; } - if (!this.options.verifyClient(info)) - return abortHandshake(socket, 401); + if (!this.options.verifyClient(info)) return abortHandshake(socket, 401); } this.completeUpgrade(key, extensions, req, socket, head, cb); } completeUpgrade(key, extensions, req, socket, head, cb) { - if (!socket.readable || !socket.writable) - return socket.destroy(); + if (!socket.readable || !socket.writable) return socket.destroy(); if (socket[kWebSocket]) { throw new Error( - "server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration" + 'server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration' ); } - const digest = createHash("sha1").update(key + GUID).digest("base64"); + const digest = createHash('sha1') + .update(key + GUID) + .digest('base64'); const headers = [ - "HTTP/1.1 101 Switching Protocols", - "Upgrade: websocket", - "Connection: Upgrade", - `Sec-WebSocket-Accept: ${digest}` + 'HTTP/1.1 101 Switching Protocols', + 'Upgrade: websocket', + 'Connection: Upgrade', + `Sec-WebSocket-Accept: ${digest}`, ]; const ws = new WebSocket(null); - let protocol = req.headers["sec-websocket-protocol"]; + let protocol = req.headers['sec-websocket-protocol']; if (protocol) { - protocol = protocol.split(",").map(trim); + protocol = protocol.split(',').map(trim); if (this.options.handleProtocols) { protocol = this.options.handleProtocols(protocol, req); } else { @@ -29091,26 +31291,25 @@ var require_websocket_server = __commonJS({ if (extensions[PerMessageDeflate.extensionName]) { const params = extensions[PerMessageDeflate.extensionName].params; const value = format({ - [PerMessageDeflate.extensionName]: [params] + [PerMessageDeflate.extensionName]: [params], }); headers.push(`Sec-WebSocket-Extensions: ${value}`); ws._extensions = extensions; } - this.emit("headers", headers, req); - socket.write(headers.concat("\r\n").join("\r\n")); - socket.removeListener("error", socketOnError); + this.emit('headers', headers, req); + socket.write(headers.concat('\r\n').join('\r\n')); + socket.removeListener('error', socketOnError); ws.setSocket(socket, head, this.options.maxPayload); if (this.clients) { this.clients.add(ws); - ws.on("close", () => this.clients.delete(ws)); + ws.on('close', () => this.clients.delete(ws)); } cb(ws, req); } }; module2.exports = WebSocketServer; function addListeners(server, map) { - for (const event of Object.keys(map)) - server.on(event, map[event]); + for (const event of Object.keys(map)) server.on(event, map[event]); return function removeListeners() { for (const event of Object.keys(map)) { server.removeListener(event, map[event]); @@ -29118,7 +31317,7 @@ var require_websocket_server = __commonJS({ }; } function emitClose(server) { - server.emit("close"); + server.emit('close'); } function socketOnError() { this.destroy(); @@ -29126,181 +31325,225 @@ var require_websocket_server = __commonJS({ function abortHandshake(socket, code, message, headers) { if (socket.writable) { message = message || STATUS_CODES[code]; - headers = __spreadValues({ - Connection: "close", - "Content-Type": "text/html", - "Content-Length": Buffer.byteLength(message) - }, headers); + headers = __spreadValues( + { + Connection: 'close', + 'Content-Type': 'text/html', + 'Content-Length': Buffer.byteLength(message), + }, + headers + ); socket.write( `HTTP/1.1 ${code} ${STATUS_CODES[code]}\r -` + Object.keys(headers).map((h) => `${h}: ${headers[h]}`).join("\r\n") + "\r\n\r\n" + message +` + + Object.keys(headers) + .map((h) => `${h}: ${headers[h]}`) + .join('\r\n') + + '\r\n\r\n' + + message ); } - socket.removeListener("error", socketOnError); + socket.removeListener('error', socketOnError); socket.destroy(); } function trim(str2) { return str2.trim(); } - } + }, }); // node_modules/@ethersproject/providers/node_modules/ws/index.js var require_ws = __commonJS({ - "node_modules/@ethersproject/providers/node_modules/ws/index.js"(exports2, module2) { - "use strict"; + 'node_modules/@ethersproject/providers/node_modules/ws/index.js'(exports2, module2) { + 'use strict'; var WebSocket = require_websocket(); WebSocket.createWebSocketStream = require_stream(); WebSocket.Server = require_websocket_server(); WebSocket.Receiver = require_receiver(); WebSocket.Sender = require_sender(); module2.exports = WebSocket; - } + }, }); // node_modules/@ethersproject/providers/lib/ws.js var require_ws2 = __commonJS({ - "node_modules/@ethersproject/providers/lib/ws.js"(exports2) { - "use strict"; - var __importDefault = exports2 && exports2.__importDefault || function(mod) { - return mod && mod.__esModule ? mod : { "default": mod }; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@ethersproject/providers/lib/ws.js'(exports2) { + 'use strict'; + var __importDefault = + (exports2 && exports2.__importDefault) || + function (mod) { + return mod && mod.__esModule ? mod : { default: mod }; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.WebSocket = void 0; var ws_1 = __importDefault(require_ws()); exports2.WebSocket = ws_1.default; - } + }, }); // node_modules/@ethersproject/providers/lib/websocket-provider.js var require_websocket_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/websocket-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/websocket-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.WebSocketProvider = void 0; var bignumber_1 = require_lib3(); var properties_1 = require_lib4(); @@ -29310,30 +31553,42 @@ var require_websocket_provider = __commonJS({ var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); var NextId = 1; - var WebSocketProvider = function(_super) { + var WebSocketProvider = (function (_super) { __extends(WebSocketProvider2, _super); function WebSocketProvider2(url, network) { var _this = this; - if (network === "any") { - logger.throwError("WebSocketProvider does not support 'any' network yet", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "network:any" - }); + if (network === 'any') { + logger.throwError( + "WebSocketProvider does not support 'any' network yet", + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'network:any', + } + ); } _this = _super.call(this, url, network) || this; _this._pollingInterval = -1; _this._wsReady = false; - (0, properties_1.defineReadOnly)(_this, "_websocket", new ws_1.WebSocket(_this.connection.url)); - (0, properties_1.defineReadOnly)(_this, "_requests", {}); - (0, properties_1.defineReadOnly)(_this, "_subs", {}); - (0, properties_1.defineReadOnly)(_this, "_subIds", {}); - (0, properties_1.defineReadOnly)(_this, "_detectNetwork", _super.prototype.detectNetwork.call(_this)); - _this._websocket.onopen = function() { + (0, properties_1.defineReadOnly)( + _this, + '_websocket', + new ws_1.WebSocket(_this.connection.url) + ); + (0, properties_1.defineReadOnly)(_this, '_requests', {}); + (0, properties_1.defineReadOnly)(_this, '_subs', {}); + (0, properties_1.defineReadOnly)(_this, '_subIds', {}); + (0, properties_1.defineReadOnly)( + _this, + '_detectNetwork', + _super.prototype.detectNetwork.call(_this) + ); + _this._websocket.onopen = function () { _this._wsReady = true; - Object.keys(_this._requests).forEach(function(id) { + Object.keys(_this._requests).forEach(function (id) { _this._websocket.send(_this._requests[id].payload); }); }; - _this._websocket.onmessage = function(messageEvent) { + _this._websocket.onmessage = function (messageEvent) { var data = messageEvent.data; var result = JSON.parse(data); if (result.id != null) { @@ -29342,89 +31597,101 @@ var require_websocket_provider = __commonJS({ delete _this._requests[id]; if (result.result !== void 0) { request.callback(null, result.result); - _this.emit("debug", { - action: "response", + _this.emit('debug', { + action: 'response', request: JSON.parse(request.payload), response: result.result, - provider: _this + provider: _this, }); } else { var error = null; if (result.error) { - error = new Error(result.error.message || "unknown error"); - (0, properties_1.defineReadOnly)(error, "code", result.error.code || null); - (0, properties_1.defineReadOnly)(error, "response", data); + error = new Error(result.error.message || 'unknown error'); + (0, properties_1.defineReadOnly)(error, 'code', result.error.code || null); + (0, properties_1.defineReadOnly)(error, 'response', data); } else { - error = new Error("unknown error"); + error = new Error('unknown error'); } request.callback(error, void 0); - _this.emit("debug", { - action: "response", + _this.emit('debug', { + action: 'response', error, request: JSON.parse(request.payload), - provider: _this + provider: _this, }); } - } else if (result.method === "eth_subscription") { + } else if (result.method === 'eth_subscription') { var sub = _this._subs[result.params.subscription]; if (sub) { sub.processFunc(result.params.result); } } else { - console.warn("this should not happen"); + console.warn('this should not happen'); } }; - var fauxPoll = setInterval(function() { - _this.emit("poll"); + var fauxPoll = setInterval(function () { + _this.emit('poll'); }, 1e3); if (fauxPoll.unref) { fauxPoll.unref(); } return _this; } - WebSocketProvider2.prototype.detectNetwork = function() { + WebSocketProvider2.prototype.detectNetwork = function () { return this._detectNetwork; }; - Object.defineProperty(WebSocketProvider2.prototype, "pollingInterval", { - get: function() { + Object.defineProperty(WebSocketProvider2.prototype, 'pollingInterval', { + get: function () { return 0; }, - set: function(value) { - logger.throwError("cannot set polling interval on WebSocketProvider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "setPollingInterval" - }); + set: function (value) { + logger.throwError( + 'cannot set polling interval on WebSocketProvider', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'setPollingInterval', + } + ); }, enumerable: false, - configurable: true + configurable: true, }); - WebSocketProvider2.prototype.resetEventsBlock = function(blockNumber) { - logger.throwError("cannot reset events block on WebSocketProvider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "resetEventBlock" - }); + WebSocketProvider2.prototype.resetEventsBlock = function (blockNumber) { + logger.throwError( + 'cannot reset events block on WebSocketProvider', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'resetEventBlock', + } + ); }; - WebSocketProvider2.prototype.poll = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + WebSocketProvider2.prototype.poll = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { return [2, null]; }); }); }; - Object.defineProperty(WebSocketProvider2.prototype, "polling", { - set: function(value) { + Object.defineProperty(WebSocketProvider2.prototype, 'polling', { + set: function (value) { if (!value) { return; } - logger.throwError("cannot set polling on WebSocketProvider", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "setPolling" - }); + logger.throwError( + 'cannot set polling on WebSocketProvider', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'setPolling', + } + ); }, enumerable: false, - configurable: true + configurable: true, }); - WebSocketProvider2.prototype.send = function(method, params) { + WebSocketProvider2.prototype.send = function (method, params) { var _this = this; var rid = NextId++; - return new Promise(function(resolve, reject) { + return new Promise(function (resolve, reject) { function callback(error, result) { if (error) { return reject(error); @@ -29435,12 +31702,12 @@ var require_websocket_provider = __commonJS({ method, params, id: rid, - jsonrpc: "2.0" + jsonrpc: '2.0', }); - _this.emit("debug", { - action: "request", + _this.emit('debug', { + action: 'request', request: JSON.parse(payload), - provider: _this + provider: _this, }); _this._requests[String(rid)] = { callback, payload }; if (_this._wsReady) { @@ -29448,20 +31715,20 @@ var require_websocket_provider = __commonJS({ } }); }; - WebSocketProvider2.defaultUrl = function() { - return "ws://localhost:8546"; + WebSocketProvider2.defaultUrl = function () { + return 'ws://localhost:8546'; }; - WebSocketProvider2.prototype._subscribe = function(tag, param, processFunc) { - return __awaiter(this, void 0, void 0, function() { + WebSocketProvider2.prototype._subscribe = function (tag, param, processFunc) { + return __awaiter(this, void 0, void 0, function () { var subIdPromise, subId; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: subIdPromise = this._subIds[tag]; if (subIdPromise == null) { - subIdPromise = Promise.all(param).then(function(param2) { - return _this.send("eth_subscribe", param2); + subIdPromise = Promise.all(param).then(function (param2) { + return _this.send('eth_subscribe', param2); }); this._subIds[tag] = subIdPromise; } @@ -29474,33 +31741,33 @@ var require_websocket_provider = __commonJS({ }); }); }; - WebSocketProvider2.prototype._startEvent = function(event) { + WebSocketProvider2.prototype._startEvent = function (event) { var _this = this; switch (event.type) { - case "block": - this._subscribe("block", ["newHeads"], function(result) { + case 'block': + this._subscribe('block', ['newHeads'], function (result) { var blockNumber = bignumber_1.BigNumber.from(result.number).toNumber(); _this._emitted.block = blockNumber; - _this.emit("block", blockNumber); + _this.emit('block', blockNumber); }); break; - case "pending": - this._subscribe("pending", ["newPendingTransactions"], function(result) { - _this.emit("pending", result); + case 'pending': + this._subscribe('pending', ['newPendingTransactions'], function (result) { + _this.emit('pending', result); }); break; - case "filter": - this._subscribe(event.tag, ["logs", this._getFilter(event.filter)], function(result) { + case 'filter': + this._subscribe(event.tag, ['logs', this._getFilter(event.filter)], function (result) { if (result.removed == null) { result.removed = false; } _this.emit(event.filter, _this.formatter.filterLog(result)); }); break; - case "tx": { - var emitReceipt_1 = function(event2) { + case 'tx': { + var emitReceipt_1 = function (event2) { var hash = event2.hash; - _this.getTransactionReceipt(hash).then(function(receipt) { + _this.getTransactionReceipt(hash).then(function (receipt) { if (!receipt) { return; } @@ -29508,34 +31775,38 @@ var require_websocket_provider = __commonJS({ }); }; emitReceipt_1(event); - this._subscribe("tx", ["newHeads"], function(result) { - _this._events.filter(function(e) { - return e.type === "tx"; - }).forEach(emitReceipt_1); + this._subscribe('tx', ['newHeads'], function (result) { + _this._events + .filter(function (e) { + return e.type === 'tx'; + }) + .forEach(emitReceipt_1); }); break; } - case "debug": - case "poll": - case "willPoll": - case "didPoll": - case "error": + case 'debug': + case 'poll': + case 'willPoll': + case 'didPoll': + case 'error': break; default: - console.log("unhandled:", event); + console.log('unhandled:', event); break; } }; - WebSocketProvider2.prototype._stopEvent = function(event) { + WebSocketProvider2.prototype._stopEvent = function (event) { var _this = this; var tag = event.tag; - if (event.type === "tx") { - if (this._events.filter(function(e) { - return e.type === "tx"; - }).length) { + if (event.type === 'tx') { + if ( + this._events.filter(function (e) { + return e.type === 'tx'; + }).length + ) { return; } - tag = "tx"; + tag = 'tx'; } else if (this.listenerCount(event.event)) { return; } @@ -29544,30 +31815,32 @@ var require_websocket_provider = __commonJS({ return; } delete this._subIds[tag]; - subId.then(function(subId2) { + subId.then(function (subId2) { if (!_this._subs[subId2]) { return; } delete _this._subs[subId2]; - _this.send("eth_unsubscribe", [subId2]); + _this.send('eth_unsubscribe', [subId2]); }); }; - WebSocketProvider2.prototype.destroy = function() { - return __awaiter(this, void 0, void 0, function() { + WebSocketProvider2.prototype.destroy = function () { + return __awaiter(this, void 0, void 0, function () { var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - if (!(this._websocket.readyState === ws_1.WebSocket.CONNECTING)) - return [3, 2]; - return [4, new Promise(function(resolve) { - _this._websocket.onopen = function() { - resolve(true); - }; - _this._websocket.onerror = function() { - resolve(false); - }; - })]; + if (!(this._websocket.readyState === ws_1.WebSocket.CONNECTING)) return [3, 2]; + return [ + 4, + new Promise(function (resolve) { + _this._websocket.onopen = function () { + resolve(true); + }; + _this._websocket.onerror = function () { + resolve(false); + }; + }), + ]; case 1: _a7.sent(); _a7.label = 2; @@ -29579,169 +31852,206 @@ var require_websocket_provider = __commonJS({ }); }; return WebSocketProvider2; - }(json_rpc_provider_1.JsonRpcProvider); + })(json_rpc_provider_1.JsonRpcProvider); exports2.WebSocketProvider = WebSocketProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/url-json-rpc-provider.js var require_url_json_rpc_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/url-json-rpc-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/url-json-rpc-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.UrlJsonRpcProvider = exports2.StaticJsonRpcProvider = void 0; var properties_1 = require_lib4(); var logger_1 = require_lib(); var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); var json_rpc_provider_1 = require_json_rpc_provider(); - var StaticJsonRpcProvider = function(_super) { + var StaticJsonRpcProvider = (function (_super) { __extends(StaticJsonRpcProvider2, _super); function StaticJsonRpcProvider2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - StaticJsonRpcProvider2.prototype.detectNetwork = function() { - return __awaiter(this, void 0, void 0, function() { + StaticJsonRpcProvider2.prototype.detectNetwork = function () { + return __awaiter(this, void 0, void 0, function () { var network; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: network = this.network; - if (!(network == null)) - return [3, 2]; + if (!(network == null)) return [3, 2]; return [4, _super.prototype.detectNetwork.call(this)]; case 1: network = _a7.sent(); if (!network) { - logger.throwError("no network detected", logger_1.Logger.errors.UNKNOWN_ERROR, {}); + logger.throwError( + 'no network detected', + logger_1.Logger.errors.UNKNOWN_ERROR, + {} + ); } if (this._network == null) { - (0, properties_1.defineReadOnly)(this, "_network", network); - this.emit("network", network, null); + (0, properties_1.defineReadOnly)(this, '_network', network); + this.emit('network', network, null); } _a7.label = 2; case 2: @@ -29751,79 +32061,93 @@ var require_url_json_rpc_provider = __commonJS({ }); }; return StaticJsonRpcProvider2; - }(json_rpc_provider_1.JsonRpcProvider); + })(json_rpc_provider_1.JsonRpcProvider); exports2.StaticJsonRpcProvider = StaticJsonRpcProvider; - var UrlJsonRpcProvider = function(_super) { + var UrlJsonRpcProvider = (function (_super) { __extends(UrlJsonRpcProvider2, _super); function UrlJsonRpcProvider2(network, apiKey) { var _newTarget = this.constructor; var _this = this; logger.checkAbstract(_newTarget, UrlJsonRpcProvider2); - network = (0, properties_1.getStatic)(_newTarget, "getNetwork")(network); - apiKey = (0, properties_1.getStatic)(_newTarget, "getApiKey")(apiKey); - var connection = (0, properties_1.getStatic)(_newTarget, "getUrl")(network, apiKey); + network = (0, properties_1.getStatic)(_newTarget, 'getNetwork')(network); + apiKey = (0, properties_1.getStatic)(_newTarget, 'getApiKey')(apiKey); + var connection = (0, properties_1.getStatic)(_newTarget, 'getUrl')(network, apiKey); _this = _super.call(this, connection, network) || this; - if (typeof apiKey === "string") { - (0, properties_1.defineReadOnly)(_this, "apiKey", apiKey); + if (typeof apiKey === 'string') { + (0, properties_1.defineReadOnly)(_this, 'apiKey', apiKey); } else if (apiKey != null) { - Object.keys(apiKey).forEach(function(key) { + Object.keys(apiKey).forEach(function (key) { (0, properties_1.defineReadOnly)(_this, key, apiKey[key]); }); } return _this; } - UrlJsonRpcProvider2.prototype._startPending = function() { - logger.warn("WARNING: API provider does not support pending filters"); + UrlJsonRpcProvider2.prototype._startPending = function () { + logger.warn('WARNING: API provider does not support pending filters'); }; - UrlJsonRpcProvider2.prototype.isCommunityResource = function() { + UrlJsonRpcProvider2.prototype.isCommunityResource = function () { return false; }; - UrlJsonRpcProvider2.prototype.getSigner = function(address) { - return logger.throwError("API provider does not support signing", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { operation: "getSigner" }); + UrlJsonRpcProvider2.prototype.getSigner = function (address) { + return logger.throwError( + 'API provider does not support signing', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { operation: 'getSigner' } + ); }; - UrlJsonRpcProvider2.prototype.listAccounts = function() { + UrlJsonRpcProvider2.prototype.listAccounts = function () { return Promise.resolve([]); }; - UrlJsonRpcProvider2.getApiKey = function(apiKey) { + UrlJsonRpcProvider2.getApiKey = function (apiKey) { return apiKey; }; - UrlJsonRpcProvider2.getUrl = function(network, apiKey) { - return logger.throwError("not implemented; sub-classes must override getUrl", logger_1.Logger.errors.NOT_IMPLEMENTED, { - operation: "getUrl" - }); + UrlJsonRpcProvider2.getUrl = function (network, apiKey) { + return logger.throwError( + 'not implemented; sub-classes must override getUrl', + logger_1.Logger.errors.NOT_IMPLEMENTED, + { + operation: 'getUrl', + } + ); }; return UrlJsonRpcProvider2; - }(StaticJsonRpcProvider); + })(StaticJsonRpcProvider); exports2.UrlJsonRpcProvider = UrlJsonRpcProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/alchemy-provider.js var require_alchemy_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/alchemy-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/alchemy-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.AlchemyProvider = exports2.AlchemyWebSocketProvider = void 0; var properties_1 = require_lib4(); var formatter_1 = require_formatter(); @@ -29832,264 +32156,299 @@ var require_alchemy_provider = __commonJS({ var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); var url_json_rpc_provider_1 = require_url_json_rpc_provider(); - var defaultApiKey = "_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC"; - var AlchemyWebSocketProvider = function(_super) { + var defaultApiKey = '_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC'; + var AlchemyWebSocketProvider = (function (_super) { __extends(AlchemyWebSocketProvider2, _super); function AlchemyWebSocketProvider2(network, apiKey) { var _this = this; var provider = new AlchemyProvider(network, apiKey); - var url = provider.connection.url.replace(/^http/i, "ws").replace(".alchemyapi.", ".ws.alchemyapi."); + var url = provider.connection.url + .replace(/^http/i, 'ws') + .replace('.alchemyapi.', '.ws.alchemyapi.'); _this = _super.call(this, url, provider.network) || this; - (0, properties_1.defineReadOnly)(_this, "apiKey", provider.apiKey); + (0, properties_1.defineReadOnly)(_this, 'apiKey', provider.apiKey); return _this; } - AlchemyWebSocketProvider2.prototype.isCommunityResource = function() { + AlchemyWebSocketProvider2.prototype.isCommunityResource = function () { return this.apiKey === defaultApiKey; }; return AlchemyWebSocketProvider2; - }(websocket_provider_1.WebSocketProvider); + })(websocket_provider_1.WebSocketProvider); exports2.AlchemyWebSocketProvider = AlchemyWebSocketProvider; - var AlchemyProvider = function(_super) { + var AlchemyProvider = (function (_super) { __extends(AlchemyProvider2, _super); function AlchemyProvider2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - AlchemyProvider2.getWebSocketProvider = function(network, apiKey) { + AlchemyProvider2.getWebSocketProvider = function (network, apiKey) { return new AlchemyWebSocketProvider(network, apiKey); }; - AlchemyProvider2.getApiKey = function(apiKey) { + AlchemyProvider2.getApiKey = function (apiKey) { if (apiKey == null) { return defaultApiKey; } - if (apiKey && typeof apiKey !== "string") { - logger.throwArgumentError("invalid apiKey", "apiKey", apiKey); + if (apiKey && typeof apiKey !== 'string') { + logger.throwArgumentError('invalid apiKey', 'apiKey', apiKey); } return apiKey; }; - AlchemyProvider2.getUrl = function(network, apiKey) { + AlchemyProvider2.getUrl = function (network, apiKey) { var host = null; switch (network.name) { - case "homestead": - host = "eth-mainnet.alchemyapi.io/v2/"; + case 'homestead': + host = 'eth-mainnet.alchemyapi.io/v2/'; break; - case "ropsten": - host = "eth-ropsten.alchemyapi.io/v2/"; + case 'ropsten': + host = 'eth-ropsten.alchemyapi.io/v2/'; break; - case "rinkeby": - host = "eth-rinkeby.alchemyapi.io/v2/"; + case 'rinkeby': + host = 'eth-rinkeby.alchemyapi.io/v2/'; break; - case "goerli": - host = "eth-goerli.alchemyapi.io/v2/"; + case 'goerli': + host = 'eth-goerli.alchemyapi.io/v2/'; break; - case "kovan": - host = "eth-kovan.alchemyapi.io/v2/"; + case 'kovan': + host = 'eth-kovan.alchemyapi.io/v2/'; break; - case "matic": - host = "polygon-mainnet.g.alchemy.com/v2/"; + case 'matic': + host = 'polygon-mainnet.g.alchemy.com/v2/'; break; - case "maticmum": - host = "polygon-mumbai.g.alchemy.com/v2/"; + case 'maticmum': + host = 'polygon-mumbai.g.alchemy.com/v2/'; break; - case "arbitrum": - host = "arb-mainnet.g.alchemy.com/v2/"; + case 'arbitrum': + host = 'arb-mainnet.g.alchemy.com/v2/'; break; - case "arbitrum-rinkeby": - host = "arb-rinkeby.g.alchemy.com/v2/"; + case 'arbitrum-rinkeby': + host = 'arb-rinkeby.g.alchemy.com/v2/'; break; - case "optimism": - host = "opt-mainnet.g.alchemy.com/v2/"; + case 'optimism': + host = 'opt-mainnet.g.alchemy.com/v2/'; break; - case "optimism-kovan": - host = "opt-kovan.g.alchemy.com/v2/"; + case 'optimism-kovan': + host = 'opt-kovan.g.alchemy.com/v2/'; break; default: - logger.throwArgumentError("unsupported network", "network", arguments[0]); + logger.throwArgumentError('unsupported network', 'network', arguments[0]); } return { allowGzip: true, - url: "https://" + host + apiKey, - throttleCallback: function(attempt, url) { + url: 'https://' + host + apiKey, + throttleCallback: function (attempt, url) { if (apiKey === defaultApiKey) { (0, formatter_1.showThrottleMessage)(); } return Promise.resolve(true); - } + }, }; }; - AlchemyProvider2.prototype.isCommunityResource = function() { + AlchemyProvider2.prototype.isCommunityResource = function () { return this.apiKey === defaultApiKey; }; return AlchemyProvider2; - }(url_json_rpc_provider_1.UrlJsonRpcProvider); + })(url_json_rpc_provider_1.UrlJsonRpcProvider); exports2.AlchemyProvider = AlchemyProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/cloudflare-provider.js var require_cloudflare_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/cloudflare-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/cloudflare-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.CloudflareProvider = void 0; var url_json_rpc_provider_1 = require_url_json_rpc_provider(); var logger_1 = require_lib(); var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); - var CloudflareProvider = function(_super) { + var CloudflareProvider = (function (_super) { __extends(CloudflareProvider2, _super); function CloudflareProvider2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - CloudflareProvider2.getApiKey = function(apiKey) { + CloudflareProvider2.getApiKey = function (apiKey) { if (apiKey != null) { - logger.throwArgumentError("apiKey not supported for cloudflare", "apiKey", apiKey); + logger.throwArgumentError('apiKey not supported for cloudflare', 'apiKey', apiKey); } return null; }; - CloudflareProvider2.getUrl = function(network, apiKey) { + CloudflareProvider2.getUrl = function (network, apiKey) { var host = null; switch (network.name) { - case "homestead": - host = "https://cloudflare-eth.com/"; + case 'homestead': + host = 'https://cloudflare-eth.com/'; break; default: - logger.throwArgumentError("unsupported network", "network", arguments[0]); + logger.throwArgumentError('unsupported network', 'network', arguments[0]); } return host; }; - CloudflareProvider2.prototype.perform = function(method, params) { - return __awaiter(this, void 0, void 0, function() { + CloudflareProvider2.prototype.perform = function (method, params) { + return __awaiter(this, void 0, void 0, function () { var block; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - if (!(method === "getBlockNumber")) - return [3, 2]; - return [4, _super.prototype.perform.call(this, "getBlock", { blockTag: "latest" })]; + if (!(method === 'getBlockNumber')) return [3, 2]; + return [4, _super.prototype.perform.call(this, 'getBlock', { blockTag: 'latest' })]; case 1: block = _a7.sent(); return [2, block.number]; @@ -30100,140 +32459,174 @@ var require_cloudflare_provider = __commonJS({ }); }; return CloudflareProvider2; - }(url_json_rpc_provider_1.UrlJsonRpcProvider); + })(url_json_rpc_provider_1.UrlJsonRpcProvider); exports2.CloudflareProvider = CloudflareProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/etherscan-provider.js var require_etherscan_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/etherscan-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/etherscan-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.EtherscanProvider = void 0; var bytes_1 = require_lib2(); var properties_1 = require_lib4(); @@ -30251,15 +32644,36 @@ var require_etherscan_provider = __commonJS({ continue; } var value = transaction[key]; - if (key === "type" && value === 0) { + if (key === 'type' && value === 0) { continue; } - if ({ type: true, gasLimit: true, gasPrice: true, maxFeePerGs: true, maxPriorityFeePerGas: true, nonce: true, value: true }[key]) { + if ( + { + type: true, + gasLimit: true, + gasPrice: true, + maxFeePerGs: true, + maxPriorityFeePerGas: true, + nonce: true, + value: true, + }[key] + ) { value = (0, bytes_1.hexValue)((0, bytes_1.hexlify)(value)); - } else if (key === "accessList") { - value = "[" + (0, transactions_1.accessListify)(value).map(function(set) { - return '{address:"' + set.address + '",storageKeys:["' + set.storageKeys.join('","') + '"]}'; - }).join(",") + "]"; + } else if (key === 'accessList') { + value = + '[' + + (0, transactions_1.accessListify)(value) + .map(function (set) { + return ( + '{address:"' + + set.address + + '",storageKeys:["' + + set.storageKeys.join('","') + + '"]}' + ); + }) + .join(',') + + ']'; } else { value = (0, bytes_1.hexlify)(value); } @@ -30268,13 +32682,16 @@ var require_etherscan_provider = __commonJS({ return result; } function getResult(result) { - if (result.status == 0 && (result.message === "No records found" || result.message === "No transactions found")) { + if ( + result.status == 0 && + (result.message === 'No records found' || result.message === 'No transactions found') + ) { return result.result; } - if (result.status != 1 || result.message != "OK") { - var error = new Error("invalid response"); + if (result.status != 1 || result.message != 'OK') { + var error = new Error('invalid response'); error.result = JSON.stringify(result); - if ((result.result || "").toLowerCase().indexOf("rate limit") >= 0) { + if ((result.result || '').toLowerCase().indexOf('rate limit') >= 0) { error.throttleRetry = true; } throw error; @@ -30282,19 +32699,24 @@ var require_etherscan_provider = __commonJS({ return result.result; } function getJsonResult(result) { - if (result && result.status == 0 && result.message == "NOTOK" && (result.result || "").toLowerCase().indexOf("rate limit") >= 0) { - var error = new Error("throttled response"); + if ( + result && + result.status == 0 && + result.message == 'NOTOK' && + (result.result || '').toLowerCase().indexOf('rate limit') >= 0 + ) { + var error = new Error('throttled response'); error.result = JSON.stringify(result); error.throttleRetry = true; throw error; } - if (result.jsonrpc != "2.0") { - var error = new Error("invalid response"); + if (result.jsonrpc != '2.0') { + var error = new Error('invalid response'); error.result = JSON.stringify(result); throw error; } if (result.error) { - var error = new Error(result.error.message || "unknown error"); + var error = new Error(result.error.message || 'unknown error'); if (result.error.code) { error.code = result.error.code; } @@ -30306,296 +32728,358 @@ var require_etherscan_provider = __commonJS({ return result.result; } function checkLogTag(blockTag) { - if (blockTag === "pending") { - throw new Error("pending not supported"); + if (blockTag === 'pending') { + throw new Error('pending not supported'); } - if (blockTag === "latest") { + if (blockTag === 'latest') { return blockTag; } return parseInt(blockTag.substring(2), 16); } - var defaultApiKey = "9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB"; + var defaultApiKey = '9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB'; function checkError(method, error, transaction) { - if (method === "call" && error.code === logger_1.Logger.errors.SERVER_ERROR) { + if (method === 'call' && error.code === logger_1.Logger.errors.SERVER_ERROR) { var e = error.error; if (e && (e.message.match(/reverted/i) || e.message.match(/VM execution error/i))) { var data = e.data; if (data) { - data = "0x" + data.replace(/^.*0x/i, ""); + data = '0x' + data.replace(/^.*0x/i, ''); } if ((0, bytes_1.isHexString)(data)) { return data; } - logger.throwError("missing revert data in call exception", logger_1.Logger.errors.CALL_EXCEPTION, { - error, - data: "0x" - }); + logger.throwError( + 'missing revert data in call exception', + logger_1.Logger.errors.CALL_EXCEPTION, + { + error, + data: '0x', + } + ); } } var message = error.message; if (error.code === logger_1.Logger.errors.SERVER_ERROR) { - if (error.error && typeof error.error.message === "string") { + if (error.error && typeof error.error.message === 'string') { message = error.error.message; - } else if (typeof error.body === "string") { + } else if (typeof error.body === 'string') { message = error.body; - } else if (typeof error.responseText === "string") { + } else if (typeof error.responseText === 'string') { message = error.responseText; } } - message = (message || "").toLowerCase(); + message = (message || '').toLowerCase(); if (message.match(/insufficient funds/)) { - logger.throwError("insufficient funds for intrinsic transaction cost", logger_1.Logger.errors.INSUFFICIENT_FUNDS, { - error, - method, - transaction - }); + logger.throwError( + 'insufficient funds for intrinsic transaction cost', + logger_1.Logger.errors.INSUFFICIENT_FUNDS, + { + error, + method, + transaction, + } + ); } - if (message.match(/same hash was already imported|transaction nonce is too low|nonce too low/)) { - logger.throwError("nonce has already been used", logger_1.Logger.errors.NONCE_EXPIRED, { + if ( + message.match(/same hash was already imported|transaction nonce is too low|nonce too low/) + ) { + logger.throwError('nonce has already been used', logger_1.Logger.errors.NONCE_EXPIRED, { error, method, - transaction + transaction, }); } if (message.match(/another transaction with same nonce/)) { - logger.throwError("replacement fee too low", logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, { - error, - method, - transaction - }); + logger.throwError( + 'replacement fee too low', + logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, + { + error, + method, + transaction, + } + ); } if (message.match(/execution failed due to an exception|execution reverted/)) { - logger.throwError("cannot estimate gas; transaction may fail or may require manual gas limit", logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, { - error, - method, - transaction - }); + logger.throwError( + 'cannot estimate gas; transaction may fail or may require manual gas limit', + logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, + { + error, + method, + transaction, + } + ); } throw error; } - var EtherscanProvider = function(_super) { + var EtherscanProvider = (function (_super) { __extends(EtherscanProvider2, _super); function EtherscanProvider2(network, apiKey) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, EtherscanProvider2); _this = _super.call(this, network) || this; - (0, properties_1.defineReadOnly)(_this, "baseUrl", _this.getBaseUrl()); - (0, properties_1.defineReadOnly)(_this, "apiKey", apiKey || defaultApiKey); + (0, properties_1.defineReadOnly)(_this, 'baseUrl', _this.getBaseUrl()); + (0, properties_1.defineReadOnly)(_this, 'apiKey', apiKey || defaultApiKey); return _this; } - EtherscanProvider2.prototype.getBaseUrl = function() { - switch (this.network ? this.network.name : "invalid") { - case "homestead": - return "https://api.etherscan.io"; - case "ropsten": - return "https://api-ropsten.etherscan.io"; - case "rinkeby": - return "https://api-rinkeby.etherscan.io"; - case "kovan": - return "https://api-kovan.etherscan.io"; - case "goerli": - return "https://api-goerli.etherscan.io"; + EtherscanProvider2.prototype.getBaseUrl = function () { + switch (this.network ? this.network.name : 'invalid') { + case 'homestead': + return 'https://api.etherscan.io'; + case 'ropsten': + return 'https://api-ropsten.etherscan.io'; + case 'rinkeby': + return 'https://api-rinkeby.etherscan.io'; + case 'kovan': + return 'https://api-kovan.etherscan.io'; + case 'goerli': + return 'https://api-goerli.etherscan.io'; default: } - return logger.throwArgumentError("unsupported network", "network", name); + return logger.throwArgumentError('unsupported network', 'network', name); }; - EtherscanProvider2.prototype.getUrl = function(module3, params) { - var query = Object.keys(params).reduce(function(accum, key) { + EtherscanProvider2.prototype.getUrl = function (module3, params) { + var query = Object.keys(params).reduce(function (accum, key) { var value = params[key]; if (value != null) { - accum += "&" + key + "=" + value; + accum += '&' + key + '=' + value; } return accum; - }, ""); - var apiKey = this.apiKey ? "&apikey=" + this.apiKey : ""; - return this.baseUrl + "/api?module=" + module3 + query + apiKey; + }, ''); + var apiKey = this.apiKey ? '&apikey=' + this.apiKey : ''; + return this.baseUrl + '/api?module=' + module3 + query + apiKey; }; - EtherscanProvider2.prototype.getPostUrl = function() { - return this.baseUrl + "/api"; + EtherscanProvider2.prototype.getPostUrl = function () { + return this.baseUrl + '/api'; }; - EtherscanProvider2.prototype.getPostData = function(module3, params) { + EtherscanProvider2.prototype.getPostData = function (module3, params) { params.module = module3; params.apikey = this.apiKey; return params; }; - EtherscanProvider2.prototype.fetch = function(module3, params, post) { - return __awaiter(this, void 0, void 0, function() { + EtherscanProvider2.prototype.fetch = function (module3, params, post) { + return __awaiter(this, void 0, void 0, function () { var url, payload, procFunc, connection, payloadStr, result; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: url = post ? this.getPostUrl() : this.getUrl(module3, params); payload = post ? this.getPostData(module3, params) : null; - procFunc = module3 === "proxy" ? getJsonResult : getResult; - this.emit("debug", { - action: "request", + procFunc = module3 === 'proxy' ? getJsonResult : getResult; + this.emit('debug', { + action: 'request', request: url, - provider: this + provider: this, }); connection = { url, throttleSlotInterval: 1e3, - throttleCallback: function(attempt, url2) { + throttleCallback: function (attempt, url2) { if (_this.isCommunityResource()) { (0, formatter_1.showThrottleMessage)(); } return Promise.resolve(true); - } + }, }; payloadStr = null; if (payload) { - connection.headers = { "content-type": "application/x-www-form-urlencoded; charset=UTF-8" }; - payloadStr = Object.keys(payload).map(function(key) { - return key + "=" + payload[key]; - }).join("&"); + connection.headers = { + 'content-type': 'application/x-www-form-urlencoded; charset=UTF-8', + }; + payloadStr = Object.keys(payload) + .map(function (key) { + return key + '=' + payload[key]; + }) + .join('&'); } return [4, (0, web_1.fetchJson)(connection, payloadStr, procFunc || getJsonResult)]; case 1: result = _a7.sent(); - this.emit("debug", { - action: "response", + this.emit('debug', { + action: 'response', request: url, response: (0, properties_1.deepCopy)(result), - provider: this + provider: this, }); return [2, result]; } }); }); }; - EtherscanProvider2.prototype.detectNetwork = function() { - return __awaiter(this, void 0, void 0, function() { - return __generator(this, function(_a7) { + EtherscanProvider2.prototype.detectNetwork = function () { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a7) { return [2, this.network]; }); }); }; - EtherscanProvider2.prototype.perform = function(method, params) { - return __awaiter(this, void 0, void 0, function() { - var _a7, postData, error_1, postData, error_2, args, topic0, logs, blocks, i, log, block, _b; - return __generator(this, function(_c) { + EtherscanProvider2.prototype.perform = function (method, params) { + return __awaiter(this, void 0, void 0, function () { + var _a7, + postData, + error_1, + postData, + error_2, + args, + topic0, + logs, + blocks, + i, + log, + block, + _b; + return __generator(this, function (_c) { switch (_c.label) { case 0: _a7 = method; switch (_a7) { - case "getBlockNumber": + case 'getBlockNumber': return [3, 1]; - case "getGasPrice": + case 'getGasPrice': return [3, 2]; - case "getBalance": + case 'getBalance': return [3, 3]; - case "getTransactionCount": + case 'getTransactionCount': return [3, 4]; - case "getCode": + case 'getCode': return [3, 5]; - case "getStorageAt": + case 'getStorageAt': return [3, 6]; - case "sendTransaction": + case 'sendTransaction': return [3, 7]; - case "getBlock": + case 'getBlock': return [3, 8]; - case "getTransaction": + case 'getTransaction': return [3, 9]; - case "getTransactionReceipt": + case 'getTransactionReceipt': return [3, 10]; - case "call": + case 'call': return [3, 11]; - case "estimateGas": + case 'estimateGas': return [3, 15]; - case "getLogs": + case 'getLogs': return [3, 19]; - case "getEtherPrice": + case 'getEtherPrice': return [3, 26]; } return [3, 28]; case 1: - return [2, this.fetch("proxy", { action: "eth_blockNumber" })]; + return [2, this.fetch('proxy', { action: 'eth_blockNumber' })]; case 2: - return [2, this.fetch("proxy", { action: "eth_gasPrice" })]; + return [2, this.fetch('proxy', { action: 'eth_gasPrice' })]; case 3: - return [2, this.fetch("account", { - action: "balance", - address: params.address, - tag: params.blockTag - })]; + return [ + 2, + this.fetch('account', { + action: 'balance', + address: params.address, + tag: params.blockTag, + }), + ]; case 4: - return [2, this.fetch("proxy", { - action: "eth_getTransactionCount", - address: params.address, - tag: params.blockTag - })]; + return [ + 2, + this.fetch('proxy', { + action: 'eth_getTransactionCount', + address: params.address, + tag: params.blockTag, + }), + ]; case 5: - return [2, this.fetch("proxy", { - action: "eth_getCode", - address: params.address, - tag: params.blockTag - })]; + return [ + 2, + this.fetch('proxy', { + action: 'eth_getCode', + address: params.address, + tag: params.blockTag, + }), + ]; case 6: - return [2, this.fetch("proxy", { - action: "eth_getStorageAt", - address: params.address, - position: params.position, - tag: params.blockTag - })]; + return [ + 2, + this.fetch('proxy', { + action: 'eth_getStorageAt', + address: params.address, + position: params.position, + tag: params.blockTag, + }), + ]; case 7: - return [2, this.fetch("proxy", { - action: "eth_sendRawTransaction", - hex: params.signedTransaction - }, true).catch(function(error) { - return checkError("sendTransaction", error, params.signedTransaction); - })]; + return [ + 2, + this.fetch( + 'proxy', + { + action: 'eth_sendRawTransaction', + hex: params.signedTransaction, + }, + true + ).catch(function (error) { + return checkError('sendTransaction', error, params.signedTransaction); + }), + ]; case 8: if (params.blockTag) { - return [2, this.fetch("proxy", { - action: "eth_getBlockByNumber", - tag: params.blockTag, - boolean: params.includeTransactions ? "true" : "false" - })]; + return [ + 2, + this.fetch('proxy', { + action: 'eth_getBlockByNumber', + tag: params.blockTag, + boolean: params.includeTransactions ? 'true' : 'false', + }), + ]; } - throw new Error("getBlock by blockHash not implemented"); + throw new Error('getBlock by blockHash not implemented'); case 9: - return [2, this.fetch("proxy", { - action: "eth_getTransactionByHash", - txhash: params.transactionHash - })]; + return [ + 2, + this.fetch('proxy', { + action: 'eth_getTransactionByHash', + txhash: params.transactionHash, + }), + ]; case 10: - return [2, this.fetch("proxy", { - action: "eth_getTransactionReceipt", - txhash: params.transactionHash - })]; + return [ + 2, + this.fetch('proxy', { + action: 'eth_getTransactionReceipt', + txhash: params.transactionHash, + }), + ]; case 11: - if (params.blockTag !== "latest") { - throw new Error("EtherscanProvider does not support blockTag for call"); + if (params.blockTag !== 'latest') { + throw new Error('EtherscanProvider does not support blockTag for call'); } postData = getTransactionPostData(params.transaction); - postData.module = "proxy"; - postData.action = "eth_call"; + postData.module = 'proxy'; + postData.action = 'eth_call'; _c.label = 12; case 12: _c.trys.push([12, 14, , 15]); - return [4, this.fetch("proxy", postData, true)]; + return [4, this.fetch('proxy', postData, true)]; case 13: return [2, _c.sent()]; case 14: error_1 = _c.sent(); - return [2, checkError("call", error_1, params.transaction)]; + return [2, checkError('call', error_1, params.transaction)]; case 15: postData = getTransactionPostData(params.transaction); - postData.module = "proxy"; - postData.action = "eth_estimateGas"; + postData.module = 'proxy'; + postData.action = 'eth_estimateGas'; _c.label = 16; case 16: _c.trys.push([16, 18, , 19]); - return [4, this.fetch("proxy", postData, true)]; + return [4, this.fetch('proxy', postData, true)]; case 17: return [2, _c.sent()]; case 18: error_2 = _c.sent(); - return [2, checkError("estimateGas", error_2, params.transaction)]; + return [2, checkError('estimateGas', error_2, params.transaction)]; case 19: - args = { action: "getLogs" }; + args = { action: 'getLogs' }; if (params.filter.fromBlock) { args.fromBlock = checkLogTag(params.filter.fromBlock); } @@ -30607,31 +33091,37 @@ var require_etherscan_provider = __commonJS({ } if (params.filter.topics && params.filter.topics.length > 0) { if (params.filter.topics.length > 1) { - logger.throwError("unsupported topic count", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { topics: params.filter.topics }); + logger.throwError( + 'unsupported topic count', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { topics: params.filter.topics } + ); } if (params.filter.topics.length === 1) { topic0 = params.filter.topics[0]; - if (typeof topic0 !== "string" || topic0.length !== 66) { - logger.throwError("unsupported topic format", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { topic0 }); + if (typeof topic0 !== 'string' || topic0.length !== 66) { + logger.throwError( + 'unsupported topic format', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { topic0 } + ); } args.topic0 = topic0; } } - return [4, this.fetch("logs", args)]; + return [4, this.fetch('logs', args)]; case 20: logs = _c.sent(); blocks = {}; i = 0; _c.label = 21; case 21: - if (!(i < logs.length)) - return [3, 25]; + if (!(i < logs.length)) return [3, 25]; log = logs[i]; if (log.blockHash != null) { return [3, 24]; } - if (!(blocks[log.blockNumber] == null)) - return [3, 23]; + if (!(blocks[log.blockNumber] == null)) return [3, 23]; return [4, this.getBlock(log.blockNumber)]; case 22: block = _c.sent(); @@ -30648,11 +33138,11 @@ var require_etherscan_provider = __commonJS({ case 25: return [2, logs]; case 26: - if (this.network.name !== "homestead") { + if (this.network.name !== 'homestead') { return [2, 0]; } _b = parseFloat; - return [4, this.fetch("stats", { action: "ethprice" })]; + return [4, this.fetch('stats', { action: 'ethprice' })]; case 27: return [2, _b.apply(void 0, [_c.sent().ethusd])]; case 28: @@ -30663,180 +33153,222 @@ var require_etherscan_provider = __commonJS({ }); }); }; - EtherscanProvider2.prototype.getHistory = function(addressOrName, startBlock, endBlock) { - return __awaiter(this, void 0, void 0, function() { + EtherscanProvider2.prototype.getHistory = function (addressOrName, startBlock, endBlock) { + return __awaiter(this, void 0, void 0, function () { var params, result; var _a7; var _this = this; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: _a7 = { - action: "txlist" + action: 'txlist', }; return [4, this.resolveName(addressOrName)]; case 1: - params = (_a7.address = _b.sent(), _a7.startblock = startBlock == null ? 0 : startBlock, _a7.endblock = endBlock == null ? 99999999 : endBlock, _a7.sort = "asc", _a7); - return [4, this.fetch("account", params)]; + params = + ((_a7.address = _b.sent()), + (_a7.startblock = startBlock == null ? 0 : startBlock), + (_a7.endblock = endBlock == null ? 99999999 : endBlock), + (_a7.sort = 'asc'), + _a7); + return [4, this.fetch('account', params)]; case 2: result = _b.sent(); - return [2, result.map(function(tx) { - ["contractAddress", "to"].forEach(function(key) { - if (tx[key] == "") { - delete tx[key]; + return [ + 2, + result.map(function (tx) { + ['contractAddress', 'to'].forEach(function (key) { + if (tx[key] == '') { + delete tx[key]; + } + }); + if (tx.creates == null && tx.contractAddress != null) { + tx.creates = tx.contractAddress; } - }); - if (tx.creates == null && tx.contractAddress != null) { - tx.creates = tx.contractAddress; - } - var item = _this.formatter.transactionResponse(tx); - if (tx.timeStamp) { - item.timestamp = parseInt(tx.timeStamp); - } - return item; - })]; + var item = _this.formatter.transactionResponse(tx); + if (tx.timeStamp) { + item.timestamp = parseInt(tx.timeStamp); + } + return item; + }), + ]; } }); }); }; - EtherscanProvider2.prototype.isCommunityResource = function() { + EtherscanProvider2.prototype.isCommunityResource = function () { return this.apiKey === defaultApiKey; }; return EtherscanProvider2; - }(base_provider_1.BaseProvider); + })(base_provider_1.BaseProvider); exports2.EtherscanProvider = EtherscanProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/fallback-provider.js var require_fallback_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/fallback-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/fallback-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { - function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { - resolve(value); - }); - } - return new (P || (P = Promise))(function(resolve, reject) { - function fulfilled(value) { - try { - step(generator.next(value)); - } catch (e) { - reject(e); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + var __awaiter = + (exports2 && exports2.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); } - function rejected(value) { - try { - step(generator["throw"](value)); - } catch (e) { - reject(e); + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } } + function rejected(value) { + try { + step(generator['throw'](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); + } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + var __generator = + (exports2 && exports2.__generator) || + function (thisArg, body) { + var _ = { + label: 0, + sent: function () { + if (t[0] & 1) throw t[1]; + return t[1]; + }, + trys: [], + ops: [], + }, + f, + y, + t, + g; + return ( + (g = { next: verb(0), throw: verb(1), return: verb(2) }), + typeof Symbol === 'function' && + (g[Symbol.iterator] = function () { + return this; + }), + g + ); + function verb(n) { + return function (v) { + return step([n, v]); + }; } - function step(result) { - result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); - } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); - }; - var __generator = exports2 && exports2.__generator || function(thisArg, body) { - var _ = { label: 0, sent: function() { - if (t[0] & 1) - throw t[1]; - return t[1]; - }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { - return this; - }), g; - function verb(n) { - return function(v) { - return step([n, v]); - }; - } - function step(op) { - if (f) - throw new TypeError("Generator is already executing."); - while (_) - try { - if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) - return t; - if (y = 0, t) - op = [op[0] & 2, t.value]; - switch (op[0]) { - case 0: - case 1: - t = op; - break; - case 4: - _.label++; - return { value: op[1], done: false }; - case 5: - _.label++; - y = op[1]; - op = [0]; - continue; - case 7: - op = _.ops.pop(); - _.trys.pop(); - continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { - _ = 0; - continue; - } - if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) { - _.label = op[1]; - break; - } - if (op[0] === 6 && _.label < t[1]) { - _.label = t[1]; + function step(op) { + if (f) throw new TypeError('Generator is already executing.'); + while (_) + try { + if ( + ((f = 1), + y && + (t = + op[0] & 2 + ? y['return'] + : op[0] + ? y['throw'] || ((t = y['return']) && t.call(y), 0) + : y.next) && + !(t = t.call(y, op[1])).done) + ) + return t; + if (((y = 0), t)) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: + case 1: t = op; break; - } - if (t && _.label < t[2]) { - _.label = t[2]; - _.ops.push(op); - break; - } - if (t[2]) - _.ops.pop(); - _.trys.pop(); - continue; + case 4: + _.label++; + return { value: op[1], done: false }; + case 5: + _.label++; + y = op[1]; + op = [0]; + continue; + case 7: + op = _.ops.pop(); + _.trys.pop(); + continue; + default: + if ( + !((t = _.trys), (t = t.length > 0 && t[t.length - 1])) && + (op[0] === 6 || op[0] === 2) + ) { + _ = 0; + continue; + } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { + _.label = op[1]; + break; + } + if (op[0] === 6 && _.label < t[1]) { + _.label = t[1]; + t = op; + break; + } + if (t && _.label < t[2]) { + _.label = t[2]; + _.ops.push(op); + break; + } + if (t[2]) _.ops.pop(); + _.trys.pop(); + continue; + } + op = body.call(thisArg, _); + } catch (e) { + op = [6, e]; + y = 0; + } finally { + f = t = 0; } - op = body.call(thisArg, _); - } catch (e) { - op = [6, e]; - y = 0; - } finally { - f = t = 0; - } - if (op[0] & 5) - throw op[1]; - return { value: op[0] ? op[1] : void 0, done: true }; - } - }; - Object.defineProperty(exports2, "__esModule", { value: true }); + if (op[0] & 5) throw op[1]; + return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.FallbackProvider = void 0; var abstract_provider_1 = require_lib24(); var bignumber_1 = require_lib3(); @@ -30860,8 +33392,15 @@ var require_fallback_provider = __commonJS({ return null; } if (result) { - if (!(result.name === network.name && result.chainId === network.chainId && (result.ensAddress === network.ensAddress || result.ensAddress == null && network.ensAddress == null))) { - logger.throwArgumentError("provider mismatch", "networks", networks); + if ( + !( + result.name === network.name && + result.chainId === network.chainId && + (result.ensAddress === network.ensAddress || + (result.ensAddress == null && network.ensAddress == null)) + ) + ) { + logger.throwArgumentError('provider mismatch', 'networks', networks); } } else { result = network; @@ -30875,7 +33414,8 @@ var require_fallback_provider = __commonJS({ if (values.length % 2) { return values[middle]; } - var a = values[middle - 1], b = values[middle]; + var a = values[middle - 1], + b = values[middle]; if (maxDelta != null && Math.abs(a - b) > maxDelta) { return null; } @@ -30883,38 +33423,46 @@ var require_fallback_provider = __commonJS({ } function serialize(value) { if (value === null) { - return "null"; - } else if (typeof value === "number" || typeof value === "boolean") { + return 'null'; + } else if (typeof value === 'number' || typeof value === 'boolean') { return JSON.stringify(value); - } else if (typeof value === "string") { + } else if (typeof value === 'string') { return value; } else if (bignumber_1.BigNumber.isBigNumber(value)) { return value.toString(); } else if (Array.isArray(value)) { - return JSON.stringify(value.map(function(i) { - return serialize(i); - })); - } else if (typeof value === "object") { + return JSON.stringify( + value.map(function (i) { + return serialize(i); + }) + ); + } else if (typeof value === 'object') { var keys = Object.keys(value); keys.sort(); - return "{" + keys.map(function(key) { - var v = value[key]; - if (typeof v === "function") { - v = "[function]"; - } else { - v = serialize(v); - } - return JSON.stringify(key) + ":" + v; - }).join(",") + "}"; + return ( + '{' + + keys + .map(function (key) { + var v = value[key]; + if (typeof v === 'function') { + v = '[function]'; + } else { + v = serialize(v); + } + return JSON.stringify(key) + ':' + v; + }) + .join(',') + + '}' + ); } - throw new Error("unknown value type: " + typeof value); + throw new Error('unknown value type: ' + typeof value); } var nextRid = 1; function stall(duration) { var cancel = null; var timer = null; - var promise = new Promise(function(resolve) { - cancel = function() { + var promise = new Promise(function (resolve) { + cancel = function () { if (timer) { clearTimeout(timer); timer = null; @@ -30923,7 +33471,7 @@ var require_fallback_provider = __commonJS({ }; timer = setTimeout(cancel, duration); }); - var wait = function(func) { + var wait = function (func) { promise = promise.then(func); return promise; }; @@ -30937,23 +33485,25 @@ var require_fallback_provider = __commonJS({ logger_1.Logger.errors.INSUFFICIENT_FUNDS, logger_1.Logger.errors.NONCE_EXPIRED, logger_1.Logger.errors.REPLACEMENT_UNDERPRICED, - logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT + logger_1.Logger.errors.UNPREDICTABLE_GAS_LIMIT, ]; var ForwardProperties = [ - "address", - "args", - "errorArgs", - "errorSignature", - "method", - "transaction" + 'address', + 'args', + 'errorArgs', + 'errorSignature', + 'method', + 'transaction', ]; function exposeDebugConfig(config, now2) { var result = { - weight: config.weight + weight: config.weight, }; - Object.defineProperty(result, "provider", { get: function() { - return config.provider; - } }); + Object.defineProperty(result, 'provider', { + get: function () { + return config.provider; + }, + }); if (config.start) { result.start = config.start; } @@ -30970,9 +33520,9 @@ var require_fallback_provider = __commonJS({ return result; } function normalizedTally(normalize, quorum) { - return function(configs) { + return function (configs) { var tally = {}; - configs.forEach(function(c) { + configs.forEach(function (c) { var value = normalize(c.result); if (!tally[value]) { tally[value] = { count: 0, result: c.result }; @@ -30992,14 +33542,17 @@ var require_fallback_provider = __commonJS({ function getProcessFunc(provider, method, params) { var normalize = serialize; switch (method) { - case "getBlockNumber": - return function(configs) { - var values = configs.map(function(c) { + case 'getBlockNumber': + return function (configs) { + var values = configs.map(function (c) { return c.result; }); - var blockNumber = median(configs.map(function(c) { - return c.result; - }), 2); + var blockNumber = median( + configs.map(function (c) { + return c.result; + }), + 2 + ); if (blockNumber == null) { return void 0; } @@ -31012,31 +33565,33 @@ var require_fallback_provider = __commonJS({ } return provider._highestBlockNumber; }; - case "getGasPrice": - return function(configs) { - var values = configs.map(function(c) { + case 'getGasPrice': + return function (configs) { + var values = configs.map(function (c) { return c.result; }); values.sort(); return values[Math.floor(values.length / 2)]; }; - case "getEtherPrice": - return function(configs) { - return median(configs.map(function(c) { - return c.result; - })); + case 'getEtherPrice': + return function (configs) { + return median( + configs.map(function (c) { + return c.result; + }) + ); }; - case "getBalance": - case "getTransactionCount": - case "getCode": - case "getStorageAt": - case "call": - case "estimateGas": - case "getLogs": + case 'getBalance': + case 'getTransactionCount': + case 'getCode': + case 'getStorageAt': + case 'call': + case 'estimateGas': + case 'getLogs': break; - case "getTransaction": - case "getTransactionReceipt": - normalize = function(tx) { + case 'getTransaction': + case 'getTransactionReceipt': + normalize = function (tx) { if (tx == null) { return null; } @@ -31045,14 +33600,14 @@ var require_fallback_provider = __commonJS({ return serialize(tx); }; break; - case "getBlock": + case 'getBlock': if (params.includeTransactions) { - normalize = function(block) { + normalize = function (block) { if (block == null) { return null; } block = (0, properties_1.shallowCopy)(block); - block.transactions = block.transactions.map(function(tx) { + block.transactions = block.transactions.map(function (tx) { tx = (0, properties_1.shallowCopy)(tx); tx.confirmations = -1; return tx; @@ -31060,7 +33615,7 @@ var require_fallback_provider = __commonJS({ return serialize(block); }; } else { - normalize = function(block) { + normalize = function (block) { if (block == null) { return null; } @@ -31069,68 +33624,77 @@ var require_fallback_provider = __commonJS({ } break; default: - throw new Error("unknown method: " + method); + throw new Error('unknown method: ' + method); } return normalizedTally(normalize, provider.quorum); } function waitForSync(config, blockNumber) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var provider; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { provider = config.provider; - if (provider.blockNumber != null && provider.blockNumber >= blockNumber || blockNumber === -1) { + if ( + (provider.blockNumber != null && provider.blockNumber >= blockNumber) || + blockNumber === -1 + ) { return [2, provider]; } - return [2, (0, web_1.poll)(function() { - return new Promise(function(resolve, reject) { - setTimeout(function() { - if (provider.blockNumber >= blockNumber) { - return resolve(provider); - } - if (config.cancelled) { - return resolve(null); - } - return resolve(void 0); - }, 0); - }); - }, { oncePoll: provider })]; + return [ + 2, + (0, web_1.poll)( + function () { + return new Promise(function (resolve, reject) { + setTimeout(function () { + if (provider.blockNumber >= blockNumber) { + return resolve(provider); + } + if (config.cancelled) { + return resolve(null); + } + return resolve(void 0); + }, 0); + }); + }, + { oncePoll: provider } + ), + ]; }); }); } function getRunner(config, currentBlockNumber, method, params) { - return __awaiter(this, void 0, void 0, function() { + return __awaiter(this, void 0, void 0, function () { var provider, _a7, filter; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: provider = config.provider; _a7 = method; switch (_a7) { - case "getBlockNumber": + case 'getBlockNumber': return [3, 1]; - case "getGasPrice": + case 'getGasPrice': return [3, 1]; - case "getEtherPrice": + case 'getEtherPrice': return [3, 2]; - case "getBalance": + case 'getBalance': return [3, 3]; - case "getTransactionCount": + case 'getTransactionCount': return [3, 3]; - case "getCode": + case 'getCode': return [3, 3]; - case "getStorageAt": + case 'getStorageAt': return [3, 6]; - case "getBlock": + case 'getBlock': return [3, 9]; - case "call": + case 'call': return [3, 12]; - case "estimateGas": + case 'estimateGas': return [3, 12]; - case "getTransaction": + case 'getTransaction': return [3, 15]; - case "getTransactionReceipt": + case 'getTransactionReceipt': return [3, 15]; - case "getLogs": + case 'getLogs': return [3, 16]; } return [3, 19]; @@ -31142,35 +33706,39 @@ var require_fallback_provider = __commonJS({ } return [3, 19]; case 3: - if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) - return [3, 5]; + if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) return [3, 5]; return [4, waitForSync(config, currentBlockNumber)]; case 4: provider = _b.sent(); _b.label = 5; case 5: - return [2, provider[method](params.address, params.blockTag || "latest")]; + return [2, provider[method](params.address, params.blockTag || 'latest')]; case 6: - if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) - return [3, 8]; + if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) return [3, 8]; return [4, waitForSync(config, currentBlockNumber)]; case 7: provider = _b.sent(); _b.label = 8; case 8: - return [2, provider.getStorageAt(params.address, params.position, params.blockTag || "latest")]; + return [ + 2, + provider.getStorageAt(params.address, params.position, params.blockTag || 'latest'), + ]; case 9: - if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) - return [3, 11]; + if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) return [3, 11]; return [4, waitForSync(config, currentBlockNumber)]; case 10: provider = _b.sent(); _b.label = 11; case 11: - return [2, provider[params.includeTransactions ? "getBlockWithTransactions" : "getBlock"](params.blockTag || params.blockHash)]; + return [ + 2, + provider[params.includeTransactions ? 'getBlockWithTransactions' : 'getBlock']( + params.blockTag || params.blockHash + ), + ]; case 12: - if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) - return [3, 14]; + if (!(params.blockTag && (0, bytes_1.isHexString)(params.blockTag))) return [3, 14]; return [4, waitForSync(config, currentBlockNumber)]; case 13: provider = _b.sent(); @@ -31181,7 +33749,12 @@ var require_fallback_provider = __commonJS({ return [2, provider[method](params.transactionHash)]; case 16: filter = params.filter; - if (!(filter.fromBlock && (0, bytes_1.isHexString)(filter.fromBlock) || filter.toBlock && (0, bytes_1.isHexString)(filter.toBlock))) + if ( + !( + (filter.fromBlock && (0, bytes_1.isHexString)(filter.fromBlock)) || + (filter.toBlock && (0, bytes_1.isHexString)(filter.toBlock)) + ) + ) return [3, 18]; return [4, waitForSync(config, currentBlockNumber)]; case 17: @@ -31190,24 +33763,27 @@ var require_fallback_provider = __commonJS({ case 18: return [2, provider.getLogs(filter)]; case 19: - return [2, logger.throwError("unknown method error", logger_1.Logger.errors.UNKNOWN_ERROR, { - method, - params - })]; + return [ + 2, + logger.throwError('unknown method error', logger_1.Logger.errors.UNKNOWN_ERROR, { + method, + params, + }), + ]; } }); }); } - var FallbackProvider = function(_super) { + var FallbackProvider = (function (_super) { __extends(FallbackProvider2, _super); function FallbackProvider2(providers2, quorum) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, FallbackProvider2); if (providers2.length === 0) { - logger.throwArgumentError("missing providers", "providers", providers2); + logger.throwArgumentError('missing providers', 'providers', providers2); } - var providerConfigs = providers2.map(function(configOrProvider, index) { + var providerConfigs = providers2.map(function (configOrProvider, index) { if (abstract_provider_1.Provider.isProvider(configOrProvider)) { var stallTimeout = (0, formatter_1.isCommunityResource)(configOrProvider) ? 2e3 : 750; var priority = 1; @@ -31218,50 +33794,67 @@ var require_fallback_provider = __commonJS({ config.priority = 1; } if (config.stallTimeout == null) { - config.stallTimeout = (0, formatter_1.isCommunityResource)(configOrProvider) ? 2e3 : 750; + config.stallTimeout = (0, formatter_1.isCommunityResource)(configOrProvider) + ? 2e3 + : 750; } if (config.weight == null) { config.weight = 1; } var weight = config.weight; if (weight % 1 || weight > 512 || weight < 1) { - logger.throwArgumentError("invalid weight; must be integer in [1, 512]", "providers[" + index + "].weight", weight); + logger.throwArgumentError( + 'invalid weight; must be integer in [1, 512]', + 'providers[' + index + '].weight', + weight + ); } return Object.freeze(config); }); - var total = providerConfigs.reduce(function(accum, c) { + var total = providerConfigs.reduce(function (accum, c) { return accum + c.weight; }, 0); if (quorum == null) { quorum = total / 2; } else if (quorum > total) { - logger.throwArgumentError("quorum will always fail; larger than total weight", "quorum", quorum); + logger.throwArgumentError( + 'quorum will always fail; larger than total weight', + 'quorum', + quorum + ); } - var networkOrReady = checkNetworks(providerConfigs.map(function(c) { - return c.provider.network; - })); + var networkOrReady = checkNetworks( + providerConfigs.map(function (c) { + return c.provider.network; + }) + ); if (networkOrReady == null) { - networkOrReady = new Promise(function(resolve, reject) { - setTimeout(function() { + networkOrReady = new Promise(function (resolve, reject) { + setTimeout(function () { _this.detectNetwork().then(resolve, reject); }, 0); }); } _this = _super.call(this, networkOrReady) || this; - (0, properties_1.defineReadOnly)(_this, "providerConfigs", Object.freeze(providerConfigs)); - (0, properties_1.defineReadOnly)(_this, "quorum", quorum); + (0, properties_1.defineReadOnly)(_this, 'providerConfigs', Object.freeze(providerConfigs)); + (0, properties_1.defineReadOnly)(_this, 'quorum', quorum); _this._highestBlockNumber = -1; return _this; } - FallbackProvider2.prototype.detectNetwork = function() { - return __awaiter(this, void 0, void 0, function() { + FallbackProvider2.prototype.detectNetwork = function () { + return __awaiter(this, void 0, void 0, function () { var networks; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - return [4, Promise.all(this.providerConfigs.map(function(c) { - return c.provider.getNetwork(); - }))]; + return [ + 4, + Promise.all( + this.providerConfigs.map(function (c) { + return c.provider.getNetwork(); + }) + ), + ]; case 1: networks = _a7.sent(); return [2, checkNetworks(networks)]; @@ -31269,33 +33862,50 @@ var require_fallback_provider = __commonJS({ }); }); }; - FallbackProvider2.prototype.perform = function(method, params) { - return __awaiter(this, void 0, void 0, function() { - var results, i_1, result, processFunc, configs, currentBlockNumber, i, first, _loop_1, this_1, state_1; + FallbackProvider2.prototype.perform = function (method, params) { + return __awaiter(this, void 0, void 0, function () { + var results, + i_1, + result, + processFunc, + configs, + currentBlockNumber, + i, + first, + _loop_1, + this_1, + state_1; var _this = this; - return __generator(this, function(_a7) { + return __generator(this, function (_a7) { switch (_a7.label) { case 0: - if (!(method === "sendTransaction")) - return [3, 2]; - return [4, Promise.all(this.providerConfigs.map(function(c) { - return c.provider.sendTransaction(params.signedTransaction).then(function(result2) { - return result2.hash; - }, function(error) { - return error; - }); - }))]; + if (!(method === 'sendTransaction')) return [3, 2]; + return [ + 4, + Promise.all( + this.providerConfigs.map(function (c) { + return c.provider.sendTransaction(params.signedTransaction).then( + function (result2) { + return result2.hash; + }, + function (error) { + return error; + } + ); + }) + ), + ]; case 1: results = _a7.sent(); for (i_1 = 0; i_1 < results.length; i_1++) { result = results[i_1]; - if (typeof result === "string") { + if (typeof result === 'string') { return [2, result]; } } throw results[0]; case 2: - if (!(this._highestBlockNumber === -1 && method !== "getBlockNumber")) + if (!(this._highestBlockNumber === -1 && method !== 'getBlockNumber')) return [3, 4]; return [4, this.getBlockNumber()]; case 3: @@ -31303,64 +33913,76 @@ var require_fallback_provider = __commonJS({ _a7.label = 4; case 4: processFunc = getProcessFunc(this, method, params); - configs = (0, random_1.shuffled)(this.providerConfigs.map(properties_1.shallowCopy)); - configs.sort(function(a, b) { + configs = (0, random_1.shuffled)( + this.providerConfigs.map(properties_1.shallowCopy) + ); + configs.sort(function (a, b) { return a.priority - b.priority; }); currentBlockNumber = this._highestBlockNumber; i = 0; first = true; - _loop_1 = function() { + _loop_1 = function () { var t0, inflightWeight, _loop_2, waiting, results2, result2, errors; - return __generator(this, function(_b) { + return __generator(this, function (_b) { switch (_b.label) { case 0: t0 = now(); - inflightWeight = configs.filter(function(c) { - return c.runner && t0 - c.start < c.stallTimeout; - }).reduce(function(accum, c) { - return accum + c.weight; - }, 0); - _loop_2 = function() { + inflightWeight = configs + .filter(function (c) { + return c.runner && t0 - c.start < c.stallTimeout; + }) + .reduce(function (accum, c) { + return accum + c.weight; + }, 0); + _loop_2 = function () { var config = configs[i++]; var rid = nextRid++; config.start = now(); config.staller = stall(config.stallTimeout); - config.staller.wait(function() { + config.staller.wait(function () { config.staller = null; }); - config.runner = getRunner(config, currentBlockNumber, method, params).then(function(result3) { - config.done = true; - config.result = result3; - if (_this.listenerCount("debug")) { - _this.emit("debug", { - action: "request", - rid, - backend: exposeDebugConfig(config, now()), - request: { method, params: (0, properties_1.deepCopy)(params) }, - provider: _this - }); - } - }, function(error) { - config.done = true; - config.error = error; - if (_this.listenerCount("debug")) { - _this.emit("debug", { - action: "request", - rid, - backend: exposeDebugConfig(config, now()), - request: { method, params: (0, properties_1.deepCopy)(params) }, - provider: _this - }); + config.runner = getRunner( + config, + currentBlockNumber, + method, + params + ).then( + function (result3) { + config.done = true; + config.result = result3; + if (_this.listenerCount('debug')) { + _this.emit('debug', { + action: 'request', + rid, + backend: exposeDebugConfig(config, now()), + request: { method, params: (0, properties_1.deepCopy)(params) }, + provider: _this, + }); + } + }, + function (error) { + config.done = true; + config.error = error; + if (_this.listenerCount('debug')) { + _this.emit('debug', { + action: 'request', + rid, + backend: exposeDebugConfig(config, now()), + request: { method, params: (0, properties_1.deepCopy)(params) }, + provider: _this, + }); + } } - }); - if (this_1.listenerCount("debug")) { - this_1.emit("debug", { - action: "request", + ); + if (this_1.listenerCount('debug')) { + this_1.emit('debug', { + action: 'request', rid, backend: exposeDebugConfig(config, null), request: { method, params: (0, properties_1.deepCopy)(params) }, - provider: this_1 + provider: this_1, }); } inflightWeight += config.weight; @@ -31369,7 +33991,7 @@ var require_fallback_provider = __commonJS({ _loop_2(); } waiting = []; - configs.forEach(function(c) { + configs.forEach(function (c) { if (c.done || !c.runner) { return; } @@ -31378,21 +34000,19 @@ var require_fallback_provider = __commonJS({ waiting.push(c.staller.getPromise()); } }); - if (!waiting.length) - return [3, 2]; + if (!waiting.length) return [3, 2]; return [4, Promise.race(waiting)]; case 1: _b.sent(); _b.label = 2; case 2: - results2 = configs.filter(function(c) { + results2 = configs.filter(function (c) { return c.done && c.error == null; }); - if (!(results2.length >= this_1.quorum)) - return [3, 5]; + if (!(results2.length >= this_1.quorum)) return [3, 5]; result2 = processFunc(results2); if (result2 !== void 0) { - configs.forEach(function(c) { + configs.forEach(function (c) { if (c.staller) { c.staller.cancel(); } @@ -31400,8 +34020,7 @@ var require_fallback_provider = __commonJS({ }); return [2, { value: result2 }]; } - if (!!first) - return [3, 4]; + if (!!first) return [3, 4]; return [4, stall(100).getPromise()]; case 3: _b.sent(); @@ -31410,7 +34029,7 @@ var require_fallback_provider = __commonJS({ first = false; _b.label = 5; case 5: - errors = configs.reduce(function(accum, c) { + errors = configs.reduce(function (accum, c) { if (!c.done || c.error == null) { return accum; } @@ -31423,12 +34042,12 @@ var require_fallback_provider = __commonJS({ } return accum; }, {}); - Object.keys(errors).forEach(function(errorCode) { + Object.keys(errors).forEach(function (errorCode) { var tally = errors[errorCode]; if (tally.weight < _this.quorum) { return; } - configs.forEach(function(c) { + configs.forEach(function (c) { if (c.staller) { c.staller.cancel(); } @@ -31436,7 +34055,7 @@ var require_fallback_provider = __commonJS({ }); var e = tally.error; var props = {}; - ForwardProperties.forEach(function(name2) { + ForwardProperties.forEach(function (name2) { if (e[name2] == null) { return; } @@ -31444,10 +34063,12 @@ var require_fallback_provider = __commonJS({ }); logger.throwError(e.reason || e.message, errorCode, props); }); - if (configs.filter(function(c) { - return !c.done; - }).length === 0) { - return [2, "break"]; + if ( + configs.filter(function (c) { + return !c.done; + }).length === 0 + ) { + return [2, 'break']; } return [2]; } @@ -31456,102 +34077,110 @@ var require_fallback_provider = __commonJS({ this_1 = this; _a7.label = 5; case 5: - if (false) - return [3, 7]; + if (false) return [3, 7]; return [5, _loop_1()]; case 6: state_1 = _a7.sent(); - if (typeof state_1 === "object") - return [2, state_1.value]; - if (state_1 === "break") - return [3, 7]; + if (typeof state_1 === 'object') return [2, state_1.value]; + if (state_1 === 'break') return [3, 7]; return [3, 5]; case 7: - configs.forEach(function(c) { + configs.forEach(function (c) { if (c.staller) { c.staller.cancel(); } c.cancelled = true; }); - return [2, logger.throwError("failed to meet quorum", logger_1.Logger.errors.SERVER_ERROR, { - method, - params, - results: configs.map(function(c) { - return exposeDebugConfig(c); + return [ + 2, + logger.throwError('failed to meet quorum', logger_1.Logger.errors.SERVER_ERROR, { + method, + params, + results: configs.map(function (c) { + return exposeDebugConfig(c); + }), + provider: this, }), - provider: this - })]; + ]; } }); }); }; return FallbackProvider2; - }(base_provider_1.BaseProvider); + })(base_provider_1.BaseProvider); exports2.FallbackProvider = FallbackProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/ipc-provider.js var require_ipc_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/ipc-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/ipc-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IpcProvider = void 0; - var net_1 = require("net"); + var net_1 = require('net'); var properties_1 = require_lib4(); var logger_1 = require_lib(); var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); var json_rpc_provider_1 = require_json_rpc_provider(); - var IpcProvider = function(_super) { + var IpcProvider = (function (_super) { __extends(IpcProvider2, _super); function IpcProvider2(path2, network) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, IpcProvider2); if (path2 == null) { - logger.throwError("missing path", logger_1.Logger.errors.MISSING_ARGUMENT, { arg: "path" }); + logger.throwError('missing path', logger_1.Logger.errors.MISSING_ARGUMENT, { + arg: 'path', + }); } - _this = _super.call(this, "ipc://" + path2, network) || this; - (0, properties_1.defineReadOnly)(_this, "path", path2); + _this = _super.call(this, 'ipc://' + path2, network) || this; + (0, properties_1.defineReadOnly)(_this, 'path', path2); return _this; } - IpcProvider2.prototype.send = function(method, params) { + IpcProvider2.prototype.send = function (method, params) { var _this = this; var payload = JSON.stringify({ method, params, id: 42, - jsonrpc: "2.0" + jsonrpc: '2.0', }); - return new Promise(function(resolve, reject) { + return new Promise(function (resolve, reject) { var response = Buffer.alloc(0); var stream = (0, net_1.connect)(_this.path); - stream.on("data", function(data) { + stream.on('data', function (data) { response = Buffer.concat([response, data]); }); - stream.on("end", function() { + stream.on('end', function () { try { resolve(JSON.parse(response.toString()).result); stream.destroy(); @@ -31560,7 +34189,7 @@ var require_ipc_provider = __commonJS({ stream.destroy(); } }); - stream.on("error", function(error) { + stream.on('error', function (error) { reject(error); stream.destroy(); }); @@ -31569,37 +34198,43 @@ var require_ipc_provider = __commonJS({ }); }; return IpcProvider2; - }(json_rpc_provider_1.JsonRpcProvider); + })(json_rpc_provider_1.JsonRpcProvider); exports2.IpcProvider = IpcProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/infura-provider.js var require_infura_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/infura-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/infura-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.InfuraProvider = exports2.InfuraWebSocketProvider = void 0; var properties_1 = require_lib4(); var websocket_provider_1 = require_websocket_provider(); @@ -31608,53 +34243,67 @@ var require_infura_provider = __commonJS({ var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); var url_json_rpc_provider_1 = require_url_json_rpc_provider(); - var defaultProjectId = "84842078b09946638c03157f83405213"; - var InfuraWebSocketProvider = function(_super) { + var defaultProjectId = '84842078b09946638c03157f83405213'; + var InfuraWebSocketProvider = (function (_super) { __extends(InfuraWebSocketProvider2, _super); function InfuraWebSocketProvider2(network, apiKey) { var _this = this; var provider = new InfuraProvider(network, apiKey); var connection = provider.connection; if (connection.password) { - logger.throwError("INFURA WebSocket project secrets unsupported", logger_1.Logger.errors.UNSUPPORTED_OPERATION, { - operation: "InfuraProvider.getWebSocketProvider()" - }); + logger.throwError( + 'INFURA WebSocket project secrets unsupported', + logger_1.Logger.errors.UNSUPPORTED_OPERATION, + { + operation: 'InfuraProvider.getWebSocketProvider()', + } + ); } - var url = connection.url.replace(/^http/i, "ws").replace("/v3/", "/ws/v3/"); + var url = connection.url.replace(/^http/i, 'ws').replace('/v3/', '/ws/v3/'); _this = _super.call(this, url, network) || this; - (0, properties_1.defineReadOnly)(_this, "apiKey", provider.projectId); - (0, properties_1.defineReadOnly)(_this, "projectId", provider.projectId); - (0, properties_1.defineReadOnly)(_this, "projectSecret", provider.projectSecret); + (0, properties_1.defineReadOnly)(_this, 'apiKey', provider.projectId); + (0, properties_1.defineReadOnly)(_this, 'projectId', provider.projectId); + (0, properties_1.defineReadOnly)(_this, 'projectSecret', provider.projectSecret); return _this; } - InfuraWebSocketProvider2.prototype.isCommunityResource = function() { + InfuraWebSocketProvider2.prototype.isCommunityResource = function () { return this.projectId === defaultProjectId; }; return InfuraWebSocketProvider2; - }(websocket_provider_1.WebSocketProvider); + })(websocket_provider_1.WebSocketProvider); exports2.InfuraWebSocketProvider = InfuraWebSocketProvider; - var InfuraProvider = function(_super) { + var InfuraProvider = (function (_super) { __extends(InfuraProvider2, _super); function InfuraProvider2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - InfuraProvider2.getWebSocketProvider = function(network, apiKey) { + InfuraProvider2.getWebSocketProvider = function (network, apiKey) { return new InfuraWebSocketProvider(network, apiKey); }; - InfuraProvider2.getApiKey = function(apiKey) { + InfuraProvider2.getApiKey = function (apiKey) { var apiKeyObj = { apiKey: defaultProjectId, projectId: defaultProjectId, - projectSecret: null + projectSecret: null, }; if (apiKey == null) { return apiKeyObj; } - if (typeof apiKey === "string") { + if (typeof apiKey === 'string') { apiKeyObj.projectId = apiKey; } else if (apiKey.projectSecret != null) { - logger.assertArgument(typeof apiKey.projectId === "string", "projectSecret requires a projectId", "projectId", apiKey.projectId); - logger.assertArgument(typeof apiKey.projectSecret === "string", "invalid projectSecret", "projectSecret", "[REDACTED]"); + logger.assertArgument( + typeof apiKey.projectId === 'string', + 'projectSecret requires a projectId', + 'projectId', + apiKey.projectId + ); + logger.assertArgument( + typeof apiKey.projectSecret === 'string', + 'invalid projectSecret', + 'projectSecret', + '[REDACTED]' + ); apiKeyObj.projectId = apiKey.projectId; apiKeyObj.projectSecret = apiKey.projectSecret; } else if (apiKey.projectId) { @@ -31663,276 +34312,299 @@ var require_infura_provider = __commonJS({ apiKeyObj.apiKey = apiKeyObj.projectId; return apiKeyObj; }; - InfuraProvider2.getUrl = function(network, apiKey) { + InfuraProvider2.getUrl = function (network, apiKey) { var host = null; - switch (network ? network.name : "unknown") { - case "homestead": - host = "mainnet.infura.io"; + switch (network ? network.name : 'unknown') { + case 'homestead': + host = 'mainnet.infura.io'; break; - case "ropsten": - host = "ropsten.infura.io"; + case 'ropsten': + host = 'ropsten.infura.io'; break; - case "rinkeby": - host = "rinkeby.infura.io"; + case 'rinkeby': + host = 'rinkeby.infura.io'; break; - case "kovan": - host = "kovan.infura.io"; + case 'kovan': + host = 'kovan.infura.io'; break; - case "goerli": - host = "goerli.infura.io"; + case 'goerli': + host = 'goerli.infura.io'; break; - case "matic": - host = "polygon-mainnet.infura.io"; + case 'matic': + host = 'polygon-mainnet.infura.io'; break; - case "maticmum": - host = "polygon-mumbai.infura.io"; + case 'maticmum': + host = 'polygon-mumbai.infura.io'; break; - case "optimism": - host = "optimism-mainnet.infura.io"; + case 'optimism': + host = 'optimism-mainnet.infura.io'; break; - case "optimism-kovan": - host = "optimism-kovan.infura.io"; + case 'optimism-kovan': + host = 'optimism-kovan.infura.io'; break; - case "arbitrum": - host = "arbitrum-mainnet.infura.io"; + case 'arbitrum': + host = 'arbitrum-mainnet.infura.io'; break; - case "arbitrum-rinkeby": - host = "arbitrum-rinkeby.infura.io"; + case 'arbitrum-rinkeby': + host = 'arbitrum-rinkeby.infura.io'; break; default: - logger.throwError("unsupported network", logger_1.Logger.errors.INVALID_ARGUMENT, { - argument: "network", - value: network + logger.throwError('unsupported network', logger_1.Logger.errors.INVALID_ARGUMENT, { + argument: 'network', + value: network, }); } var connection = { allowGzip: true, - url: "https://" + host + "/v3/" + apiKey.projectId, - throttleCallback: function(attempt, url) { + url: 'https://' + host + '/v3/' + apiKey.projectId, + throttleCallback: function (attempt, url) { if (apiKey.projectId === defaultProjectId) { (0, formatter_1.showThrottleMessage)(); } return Promise.resolve(true); - } + }, }; if (apiKey.projectSecret != null) { - connection.user = ""; + connection.user = ''; connection.password = apiKey.projectSecret; } return connection; }; - InfuraProvider2.prototype.isCommunityResource = function() { + InfuraProvider2.prototype.isCommunityResource = function () { return this.projectId === defaultProjectId; }; return InfuraProvider2; - }(url_json_rpc_provider_1.UrlJsonRpcProvider); + })(url_json_rpc_provider_1.UrlJsonRpcProvider); exports2.InfuraProvider = InfuraProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.js var require_json_rpc_batch_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/json-rpc-batch-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.JsonRpcBatchProvider = void 0; var properties_1 = require_lib4(); var web_1 = require_lib27(); var json_rpc_provider_1 = require_json_rpc_provider(); - var JsonRpcBatchProvider = function(_super) { + var JsonRpcBatchProvider = (function (_super) { __extends(JsonRpcBatchProvider2, _super); function JsonRpcBatchProvider2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - JsonRpcBatchProvider2.prototype.send = function(method, params) { + JsonRpcBatchProvider2.prototype.send = function (method, params) { var _this = this; var request = { method, params, id: this._nextId++, - jsonrpc: "2.0" + jsonrpc: '2.0', }; if (this._pendingBatch == null) { this._pendingBatch = []; } var inflightRequest = { request, resolve: null, reject: null }; - var promise = new Promise(function(resolve, reject) { + var promise = new Promise(function (resolve, reject) { inflightRequest.resolve = resolve; inflightRequest.reject = reject; }); this._pendingBatch.push(inflightRequest); if (!this._pendingBatchAggregator) { - this._pendingBatchAggregator = setTimeout(function() { + this._pendingBatchAggregator = setTimeout(function () { var batch = _this._pendingBatch; _this._pendingBatch = null; _this._pendingBatchAggregator = null; - var request2 = batch.map(function(inflight) { + var request2 = batch.map(function (inflight) { return inflight.request; }); - _this.emit("debug", { - action: "requestBatch", + _this.emit('debug', { + action: 'requestBatch', request: (0, properties_1.deepCopy)(request2), - provider: _this + provider: _this, }); - return (0, web_1.fetchJson)(_this.connection, JSON.stringify(request2)).then(function(result) { - _this.emit("debug", { - action: "response", - request: request2, - response: result, - provider: _this - }); - batch.forEach(function(inflightRequest2, index) { - var payload = result[index]; - if (payload.error) { - var error = new Error(payload.error.message); - error.code = payload.error.code; - error.data = payload.error.data; + return (0, web_1.fetchJson)(_this.connection, JSON.stringify(request2)).then( + function (result) { + _this.emit('debug', { + action: 'response', + request: request2, + response: result, + provider: _this, + }); + batch.forEach(function (inflightRequest2, index) { + var payload = result[index]; + if (payload.error) { + var error = new Error(payload.error.message); + error.code = payload.error.code; + error.data = payload.error.data; + inflightRequest2.reject(error); + } else { + inflightRequest2.resolve(payload.result); + } + }); + }, + function (error) { + _this.emit('debug', { + action: 'response', + error, + request: request2, + provider: _this, + }); + batch.forEach(function (inflightRequest2) { inflightRequest2.reject(error); - } else { - inflightRequest2.resolve(payload.result); - } - }); - }, function(error) { - _this.emit("debug", { - action: "response", - error, - request: request2, - provider: _this - }); - batch.forEach(function(inflightRequest2) { - inflightRequest2.reject(error); - }); - }); + }); + } + ); }, 10); } return promise; }; return JsonRpcBatchProvider2; - }(json_rpc_provider_1.JsonRpcProvider); + })(json_rpc_provider_1.JsonRpcProvider); exports2.JsonRpcBatchProvider = JsonRpcBatchProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/nodesmith-provider.js var require_nodesmith_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/nodesmith-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/nodesmith-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.NodesmithProvider = void 0; var url_json_rpc_provider_1 = require_url_json_rpc_provider(); var logger_1 = require_lib(); var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); - var defaultApiKey = "ETHERS_JS_SHARED"; - var NodesmithProvider = function(_super) { + var defaultApiKey = 'ETHERS_JS_SHARED'; + var NodesmithProvider = (function (_super) { __extends(NodesmithProvider2, _super); function NodesmithProvider2() { - return _super !== null && _super.apply(this, arguments) || this; + return (_super !== null && _super.apply(this, arguments)) || this; } - NodesmithProvider2.getApiKey = function(apiKey) { - if (apiKey && typeof apiKey !== "string") { - logger.throwArgumentError("invalid apiKey", "apiKey", apiKey); + NodesmithProvider2.getApiKey = function (apiKey) { + if (apiKey && typeof apiKey !== 'string') { + logger.throwArgumentError('invalid apiKey', 'apiKey', apiKey); } return apiKey || defaultApiKey; }; - NodesmithProvider2.getUrl = function(network, apiKey) { - logger.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform."); + NodesmithProvider2.getUrl = function (network, apiKey) { + logger.warn( + 'NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.' + ); var host = null; switch (network.name) { - case "homestead": - host = "https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc"; + case 'homestead': + host = 'https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc'; break; - case "ropsten": - host = "https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc"; + case 'ropsten': + host = 'https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc'; break; - case "rinkeby": - host = "https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc"; + case 'rinkeby': + host = 'https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc'; break; - case "goerli": - host = "https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc"; + case 'goerli': + host = 'https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc'; break; - case "kovan": - host = "https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc"; + case 'kovan': + host = 'https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc'; break; default: - logger.throwArgumentError("unsupported network", "network", arguments[0]); + logger.throwArgumentError('unsupported network', 'network', arguments[0]); } - return host + "?apiKey=" + apiKey; + return host + '?apiKey=' + apiKey; }; return NodesmithProvider2; - }(url_json_rpc_provider_1.UrlJsonRpcProvider); + })(url_json_rpc_provider_1.UrlJsonRpcProvider); exports2.NodesmithProvider = NodesmithProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/pocket-provider.js var require_pocket_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/pocket-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/pocket-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.PocketProvider = void 0; var properties_1 = require_lib4(); var logger_1 = require_lib(); @@ -31940,133 +34612,158 @@ var require_pocket_provider = __commonJS({ var logger = new logger_1.Logger(_version_1.version); var url_json_rpc_provider_1 = require_url_json_rpc_provider(); var defaultApplicationIds = { - homestead: "6004bcd10040261633ade990", - ropsten: "6004bd4d0040261633ade991", - rinkeby: "6004bda20040261633ade994", - goerli: "6004bd860040261633ade992" + homestead: '6004bcd10040261633ade990', + ropsten: '6004bd4d0040261633ade991', + rinkeby: '6004bda20040261633ade994', + goerli: '6004bd860040261633ade992', }; - var PocketProvider = function(_super) { + var PocketProvider = (function (_super) { __extends(PocketProvider2, _super); function PocketProvider2(network, apiKey) { var _newTarget = this.constructor; var _this = this; if (apiKey == null) { - var n = (0, properties_1.getStatic)(_newTarget, "getNetwork")(network); + var n = (0, properties_1.getStatic)(_newTarget, 'getNetwork')(network); if (n) { var applicationId = defaultApplicationIds[n.name]; if (applicationId) { apiKey = { applicationId, - loadBalancer: true + loadBalancer: true, }; } } if (apiKey == null) { - logger.throwError("unsupported network", logger_1.Logger.errors.INVALID_ARGUMENT, { - argument: "network", - value: network + logger.throwError('unsupported network', logger_1.Logger.errors.INVALID_ARGUMENT, { + argument: 'network', + value: network, }); } } _this = _super.call(this, network, apiKey) || this; return _this; } - PocketProvider2.getApiKey = function(apiKey) { + PocketProvider2.getApiKey = function (apiKey) { if (apiKey == null) { - logger.throwArgumentError("PocketProvider.getApiKey does not support null apiKey", "apiKey", apiKey); + logger.throwArgumentError( + 'PocketProvider.getApiKey does not support null apiKey', + 'apiKey', + apiKey + ); } var apiKeyObj = { applicationId: null, loadBalancer: false, - applicationSecretKey: null + applicationSecretKey: null, }; - if (typeof apiKey === "string") { + if (typeof apiKey === 'string') { apiKeyObj.applicationId = apiKey; } else if (apiKey.applicationSecretKey != null) { - logger.assertArgument(typeof apiKey.applicationId === "string", "applicationSecretKey requires an applicationId", "applicationId", apiKey.applicationId); - logger.assertArgument(typeof apiKey.applicationSecretKey === "string", "invalid applicationSecretKey", "applicationSecretKey", "[REDACTED]"); + logger.assertArgument( + typeof apiKey.applicationId === 'string', + 'applicationSecretKey requires an applicationId', + 'applicationId', + apiKey.applicationId + ); + logger.assertArgument( + typeof apiKey.applicationSecretKey === 'string', + 'invalid applicationSecretKey', + 'applicationSecretKey', + '[REDACTED]' + ); apiKeyObj.applicationId = apiKey.applicationId; apiKeyObj.applicationSecretKey = apiKey.applicationSecretKey; apiKeyObj.loadBalancer = !!apiKey.loadBalancer; } else if (apiKey.applicationId) { - logger.assertArgument(typeof apiKey.applicationId === "string", "apiKey.applicationId must be a string", "apiKey.applicationId", apiKey.applicationId); + logger.assertArgument( + typeof apiKey.applicationId === 'string', + 'apiKey.applicationId must be a string', + 'apiKey.applicationId', + apiKey.applicationId + ); apiKeyObj.applicationId = apiKey.applicationId; apiKeyObj.loadBalancer = !!apiKey.loadBalancer; } else { - logger.throwArgumentError("unsupported PocketProvider apiKey", "apiKey", apiKey); + logger.throwArgumentError('unsupported PocketProvider apiKey', 'apiKey', apiKey); } return apiKeyObj; }; - PocketProvider2.getUrl = function(network, apiKey) { + PocketProvider2.getUrl = function (network, apiKey) { var host = null; - switch (network ? network.name : "unknown") { - case "homestead": - host = "eth-mainnet.gateway.pokt.network"; + switch (network ? network.name : 'unknown') { + case 'homestead': + host = 'eth-mainnet.gateway.pokt.network'; break; - case "ropsten": - host = "eth-ropsten.gateway.pokt.network"; + case 'ropsten': + host = 'eth-ropsten.gateway.pokt.network'; break; - case "rinkeby": - host = "eth-rinkeby.gateway.pokt.network"; + case 'rinkeby': + host = 'eth-rinkeby.gateway.pokt.network'; break; - case "goerli": - host = "eth-goerli.gateway.pokt.network"; + case 'goerli': + host = 'eth-goerli.gateway.pokt.network'; break; default: - logger.throwError("unsupported network", logger_1.Logger.errors.INVALID_ARGUMENT, { - argument: "network", - value: network + logger.throwError('unsupported network', logger_1.Logger.errors.INVALID_ARGUMENT, { + argument: 'network', + value: network, }); } var url = null; if (apiKey.loadBalancer) { - url = "https://" + host + "/v1/lb/" + apiKey.applicationId; + url = 'https://' + host + '/v1/lb/' + apiKey.applicationId; } else { - url = "https://" + host + "/v1/" + apiKey.applicationId; + url = 'https://' + host + '/v1/' + apiKey.applicationId; } var connection = { url }; connection.headers = {}; if (apiKey.applicationSecretKey != null) { - connection.user = ""; + connection.user = ''; connection.password = apiKey.applicationSecretKey; } return connection; }; - PocketProvider2.prototype.isCommunityResource = function() { + PocketProvider2.prototype.isCommunityResource = function () { return this.applicationId === defaultApplicationIds[this.network.name]; }; return PocketProvider2; - }(url_json_rpc_provider_1.UrlJsonRpcProvider); + })(url_json_rpc_provider_1.UrlJsonRpcProvider); exports2.PocketProvider = PocketProvider; - } + }, }); // node_modules/@ethersproject/providers/lib/web3-provider.js var require_web3_provider = __commonJS({ - "node_modules/@ethersproject/providers/lib/web3-provider.js"(exports2) { - "use strict"; - var __extends = exports2 && exports2.__extends || function() { - var extendStatics = function(d, b) { - extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) { - d2.__proto__ = b2; - } || function(d2, b2) { - for (var p in b2) - if (Object.prototype.hasOwnProperty.call(b2, p)) - d2[p] = b2[p]; + 'node_modules/@ethersproject/providers/lib/web3-provider.js'(exports2) { + 'use strict'; + var __extends = + (exports2 && exports2.__extends) || + (function () { + var extendStatics = function (d, b) { + extendStatics = + Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && + function (d2, b2) { + d2.__proto__ = b2; + }) || + function (d2, b2) { + for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p]; + }; + return extendStatics(d, b); }; - return extendStatics(d, b); - }; - return function(d, b) { - if (typeof b !== "function" && b !== null) - throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); - extendStatics(d, b); - function __() { - this.constructor = d; - } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - }(); - Object.defineProperty(exports2, "__esModule", { value: true }); + return function (d, b) { + if (typeof b !== 'function' && b !== null) + throw new TypeError( + 'Class extends value ' + String(b) + ' is not a constructor or null' + ); + extendStatics(d, b); + function __() { + this.constructor = d; + } + d.prototype = b === null ? Object.create(b) : ((__.prototype = b.prototype), new __()); + }; + })(); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.Web3Provider = void 0; var properties_1 = require_lib4(); var logger_1 = require_lib(); @@ -32075,39 +34772,39 @@ var require_web3_provider = __commonJS({ var json_rpc_provider_1 = require_json_rpc_provider(); var _nextId = 1; function buildWeb3LegacyFetcher(provider, sendFunc) { - var fetcher = "Web3LegacyFetcher"; - return function(method, params) { + var fetcher = 'Web3LegacyFetcher'; + return function (method, params) { var _this = this; var request = { method, params, id: _nextId++, - jsonrpc: "2.0" + jsonrpc: '2.0', }; - return new Promise(function(resolve, reject) { - _this.emit("debug", { - action: "request", + return new Promise(function (resolve, reject) { + _this.emit('debug', { + action: 'request', fetcher, request: (0, properties_1.deepCopy)(request), - provider: _this + provider: _this, }); - sendFunc(request, function(error, response) { + sendFunc(request, function (error, response) { if (error) { - _this.emit("debug", { - action: "response", + _this.emit('debug', { + action: 'response', fetcher, error, request, - provider: _this + provider: _this, }); return reject(error); } - _this.emit("debug", { - action: "response", + _this.emit('debug', { + action: 'response', fetcher, request, response, - provider: _this + provider: _this, }); if (response.error) { var error_1 = new Error(response.error.message); @@ -32121,63 +34818,66 @@ var require_web3_provider = __commonJS({ }; } function buildEip1193Fetcher(provider) { - return function(method, params) { + return function (method, params) { var _this = this; if (params == null) { params = []; } var request = { method, params }; - this.emit("debug", { - action: "request", - fetcher: "Eip1193Fetcher", + this.emit('debug', { + action: 'request', + fetcher: 'Eip1193Fetcher', request: (0, properties_1.deepCopy)(request), - provider: this - }); - return provider.request(request).then(function(response) { - _this.emit("debug", { - action: "response", - fetcher: "Eip1193Fetcher", - request, - response, - provider: _this - }); - return response; - }, function(error) { - _this.emit("debug", { - action: "response", - fetcher: "Eip1193Fetcher", - request, - error, - provider: _this - }); - throw error; + provider: this, }); + return provider.request(request).then( + function (response) { + _this.emit('debug', { + action: 'response', + fetcher: 'Eip1193Fetcher', + request, + response, + provider: _this, + }); + return response; + }, + function (error) { + _this.emit('debug', { + action: 'response', + fetcher: 'Eip1193Fetcher', + request, + error, + provider: _this, + }); + throw error; + } + ); }; } - var Web3Provider = function(_super) { + var Web3Provider = (function (_super) { __extends(Web3Provider2, _super); function Web3Provider2(provider, network) { var _newTarget = this.constructor; var _this = this; logger.checkNew(_newTarget, Web3Provider2); if (provider == null) { - logger.throwArgumentError("missing provider", "provider", provider); + logger.throwArgumentError('missing provider', 'provider', provider); } var path2 = null; var jsonRpcFetchFunc = null; var subprovider = null; - if (typeof provider === "function") { - path2 = "unknown:"; + if (typeof provider === 'function') { + path2 = 'unknown:'; jsonRpcFetchFunc = provider; } else { - path2 = provider.host || provider.path || ""; + path2 = provider.host || provider.path || ''; if (!path2 && provider.isMetaMask) { - path2 = "metamask"; + path2 = 'metamask'; } subprovider = provider; if (provider.request) { - if (path2 === "") { - path2 = "eip-1193:"; + if (path2 === '') { + path2 = 'eip-1193:'; } jsonRpcFetchFunc = buildEip1193Fetcher(provider); } else if (provider.sendAsync) { @@ -32185,304 +34885,506 @@ var require_web3_provider = __commonJS({ } else if (provider.send) { jsonRpcFetchFunc = buildWeb3LegacyFetcher(provider, provider.send.bind(provider)); } else { - logger.throwArgumentError("unsupported provider", "provider", provider); + logger.throwArgumentError('unsupported provider', 'provider', provider); } if (!path2) { - path2 = "unknown:"; + path2 = 'unknown:'; } } _this = _super.call(this, path2, network) || this; - (0, properties_1.defineReadOnly)(_this, "jsonRpcFetchFunc", jsonRpcFetchFunc); - (0, properties_1.defineReadOnly)(_this, "provider", subprovider); + (0, properties_1.defineReadOnly)(_this, 'jsonRpcFetchFunc', jsonRpcFetchFunc); + (0, properties_1.defineReadOnly)(_this, 'provider', subprovider); return _this; } - Web3Provider2.prototype.send = function(method, params) { + Web3Provider2.prototype.send = function (method, params) { return this.jsonRpcFetchFunc(method, params); }; return Web3Provider2; - }(json_rpc_provider_1.JsonRpcProvider); + })(json_rpc_provider_1.JsonRpcProvider); exports2.Web3Provider = Web3Provider; - } + }, }); // node_modules/@ethersproject/providers/lib/index.js var require_lib30 = __commonJS({ - "node_modules/@ethersproject/providers/lib/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Formatter = exports2.showThrottleMessage = exports2.isCommunityResourcable = exports2.isCommunityResource = exports2.getNetwork = exports2.getDefaultProvider = exports2.JsonRpcSigner = exports2.IpcProvider = exports2.WebSocketProvider = exports2.Web3Provider = exports2.StaticJsonRpcProvider = exports2.PocketProvider = exports2.NodesmithProvider = exports2.JsonRpcBatchProvider = exports2.JsonRpcProvider = exports2.InfuraWebSocketProvider = exports2.InfuraProvider = exports2.EtherscanProvider = exports2.CloudflareProvider = exports2.AlchemyWebSocketProvider = exports2.AlchemyProvider = exports2.FallbackProvider = exports2.UrlJsonRpcProvider = exports2.Resolver = exports2.BaseProvider = exports2.Provider = void 0; + 'node_modules/@ethersproject/providers/lib/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Formatter = + exports2.showThrottleMessage = + exports2.isCommunityResourcable = + exports2.isCommunityResource = + exports2.getNetwork = + exports2.getDefaultProvider = + exports2.JsonRpcSigner = + exports2.IpcProvider = + exports2.WebSocketProvider = + exports2.Web3Provider = + exports2.StaticJsonRpcProvider = + exports2.PocketProvider = + exports2.NodesmithProvider = + exports2.JsonRpcBatchProvider = + exports2.JsonRpcProvider = + exports2.InfuraWebSocketProvider = + exports2.InfuraProvider = + exports2.EtherscanProvider = + exports2.CloudflareProvider = + exports2.AlchemyWebSocketProvider = + exports2.AlchemyProvider = + exports2.FallbackProvider = + exports2.UrlJsonRpcProvider = + exports2.Resolver = + exports2.BaseProvider = + exports2.Provider = + void 0; var abstract_provider_1 = require_lib24(); - Object.defineProperty(exports2, "Provider", { enumerable: true, get: function() { - return abstract_provider_1.Provider; - } }); + Object.defineProperty(exports2, 'Provider', { + enumerable: true, + get: function () { + return abstract_provider_1.Provider; + }, + }); var networks_1 = require_lib29(); - Object.defineProperty(exports2, "getNetwork", { enumerable: true, get: function() { - return networks_1.getNetwork; - } }); + Object.defineProperty(exports2, 'getNetwork', { + enumerable: true, + get: function () { + return networks_1.getNetwork; + }, + }); var base_provider_1 = require_base_provider(); - Object.defineProperty(exports2, "BaseProvider", { enumerable: true, get: function() { - return base_provider_1.BaseProvider; - } }); - Object.defineProperty(exports2, "Resolver", { enumerable: true, get: function() { - return base_provider_1.Resolver; - } }); + Object.defineProperty(exports2, 'BaseProvider', { + enumerable: true, + get: function () { + return base_provider_1.BaseProvider; + }, + }); + Object.defineProperty(exports2, 'Resolver', { + enumerable: true, + get: function () { + return base_provider_1.Resolver; + }, + }); var alchemy_provider_1 = require_alchemy_provider(); - Object.defineProperty(exports2, "AlchemyProvider", { enumerable: true, get: function() { - return alchemy_provider_1.AlchemyProvider; - } }); - Object.defineProperty(exports2, "AlchemyWebSocketProvider", { enumerable: true, get: function() { - return alchemy_provider_1.AlchemyWebSocketProvider; - } }); + Object.defineProperty(exports2, 'AlchemyProvider', { + enumerable: true, + get: function () { + return alchemy_provider_1.AlchemyProvider; + }, + }); + Object.defineProperty(exports2, 'AlchemyWebSocketProvider', { + enumerable: true, + get: function () { + return alchemy_provider_1.AlchemyWebSocketProvider; + }, + }); var cloudflare_provider_1 = require_cloudflare_provider(); - Object.defineProperty(exports2, "CloudflareProvider", { enumerable: true, get: function() { - return cloudflare_provider_1.CloudflareProvider; - } }); + Object.defineProperty(exports2, 'CloudflareProvider', { + enumerable: true, + get: function () { + return cloudflare_provider_1.CloudflareProvider; + }, + }); var etherscan_provider_1 = require_etherscan_provider(); - Object.defineProperty(exports2, "EtherscanProvider", { enumerable: true, get: function() { - return etherscan_provider_1.EtherscanProvider; - } }); + Object.defineProperty(exports2, 'EtherscanProvider', { + enumerable: true, + get: function () { + return etherscan_provider_1.EtherscanProvider; + }, + }); var fallback_provider_1 = require_fallback_provider(); - Object.defineProperty(exports2, "FallbackProvider", { enumerable: true, get: function() { - return fallback_provider_1.FallbackProvider; - } }); + Object.defineProperty(exports2, 'FallbackProvider', { + enumerable: true, + get: function () { + return fallback_provider_1.FallbackProvider; + }, + }); var ipc_provider_1 = require_ipc_provider(); - Object.defineProperty(exports2, "IpcProvider", { enumerable: true, get: function() { - return ipc_provider_1.IpcProvider; - } }); + Object.defineProperty(exports2, 'IpcProvider', { + enumerable: true, + get: function () { + return ipc_provider_1.IpcProvider; + }, + }); var infura_provider_1 = require_infura_provider(); - Object.defineProperty(exports2, "InfuraProvider", { enumerable: true, get: function() { - return infura_provider_1.InfuraProvider; - } }); - Object.defineProperty(exports2, "InfuraWebSocketProvider", { enumerable: true, get: function() { - return infura_provider_1.InfuraWebSocketProvider; - } }); + Object.defineProperty(exports2, 'InfuraProvider', { + enumerable: true, + get: function () { + return infura_provider_1.InfuraProvider; + }, + }); + Object.defineProperty(exports2, 'InfuraWebSocketProvider', { + enumerable: true, + get: function () { + return infura_provider_1.InfuraWebSocketProvider; + }, + }); var json_rpc_provider_1 = require_json_rpc_provider(); - Object.defineProperty(exports2, "JsonRpcProvider", { enumerable: true, get: function() { - return json_rpc_provider_1.JsonRpcProvider; - } }); - Object.defineProperty(exports2, "JsonRpcSigner", { enumerable: true, get: function() { - return json_rpc_provider_1.JsonRpcSigner; - } }); + Object.defineProperty(exports2, 'JsonRpcProvider', { + enumerable: true, + get: function () { + return json_rpc_provider_1.JsonRpcProvider; + }, + }); + Object.defineProperty(exports2, 'JsonRpcSigner', { + enumerable: true, + get: function () { + return json_rpc_provider_1.JsonRpcSigner; + }, + }); var json_rpc_batch_provider_1 = require_json_rpc_batch_provider(); - Object.defineProperty(exports2, "JsonRpcBatchProvider", { enumerable: true, get: function() { - return json_rpc_batch_provider_1.JsonRpcBatchProvider; - } }); + Object.defineProperty(exports2, 'JsonRpcBatchProvider', { + enumerable: true, + get: function () { + return json_rpc_batch_provider_1.JsonRpcBatchProvider; + }, + }); var nodesmith_provider_1 = require_nodesmith_provider(); - Object.defineProperty(exports2, "NodesmithProvider", { enumerable: true, get: function() { - return nodesmith_provider_1.NodesmithProvider; - } }); + Object.defineProperty(exports2, 'NodesmithProvider', { + enumerable: true, + get: function () { + return nodesmith_provider_1.NodesmithProvider; + }, + }); var pocket_provider_1 = require_pocket_provider(); - Object.defineProperty(exports2, "PocketProvider", { enumerable: true, get: function() { - return pocket_provider_1.PocketProvider; - } }); + Object.defineProperty(exports2, 'PocketProvider', { + enumerable: true, + get: function () { + return pocket_provider_1.PocketProvider; + }, + }); var url_json_rpc_provider_1 = require_url_json_rpc_provider(); - Object.defineProperty(exports2, "StaticJsonRpcProvider", { enumerable: true, get: function() { - return url_json_rpc_provider_1.StaticJsonRpcProvider; - } }); - Object.defineProperty(exports2, "UrlJsonRpcProvider", { enumerable: true, get: function() { - return url_json_rpc_provider_1.UrlJsonRpcProvider; - } }); + Object.defineProperty(exports2, 'StaticJsonRpcProvider', { + enumerable: true, + get: function () { + return url_json_rpc_provider_1.StaticJsonRpcProvider; + }, + }); + Object.defineProperty(exports2, 'UrlJsonRpcProvider', { + enumerable: true, + get: function () { + return url_json_rpc_provider_1.UrlJsonRpcProvider; + }, + }); var web3_provider_1 = require_web3_provider(); - Object.defineProperty(exports2, "Web3Provider", { enumerable: true, get: function() { - return web3_provider_1.Web3Provider; - } }); + Object.defineProperty(exports2, 'Web3Provider', { + enumerable: true, + get: function () { + return web3_provider_1.Web3Provider; + }, + }); var websocket_provider_1 = require_websocket_provider(); - Object.defineProperty(exports2, "WebSocketProvider", { enumerable: true, get: function() { - return websocket_provider_1.WebSocketProvider; - } }); + Object.defineProperty(exports2, 'WebSocketProvider', { + enumerable: true, + get: function () { + return websocket_provider_1.WebSocketProvider; + }, + }); var formatter_1 = require_formatter(); - Object.defineProperty(exports2, "Formatter", { enumerable: true, get: function() { - return formatter_1.Formatter; - } }); - Object.defineProperty(exports2, "isCommunityResourcable", { enumerable: true, get: function() { - return formatter_1.isCommunityResourcable; - } }); - Object.defineProperty(exports2, "isCommunityResource", { enumerable: true, get: function() { - return formatter_1.isCommunityResource; - } }); - Object.defineProperty(exports2, "showThrottleMessage", { enumerable: true, get: function() { - return formatter_1.showThrottleMessage; - } }); + Object.defineProperty(exports2, 'Formatter', { + enumerable: true, + get: function () { + return formatter_1.Formatter; + }, + }); + Object.defineProperty(exports2, 'isCommunityResourcable', { + enumerable: true, + get: function () { + return formatter_1.isCommunityResourcable; + }, + }); + Object.defineProperty(exports2, 'isCommunityResource', { + enumerable: true, + get: function () { + return formatter_1.isCommunityResource; + }, + }); + Object.defineProperty(exports2, 'showThrottleMessage', { + enumerable: true, + get: function () { + return formatter_1.showThrottleMessage; + }, + }); var logger_1 = require_lib(); var _version_1 = require_version24(); var logger = new logger_1.Logger(_version_1.version); function getDefaultProvider(network, options2) { if (network == null) { - network = "homestead"; + network = 'homestead'; } - if (typeof network === "string") { + if (typeof network === 'string') { var match = network.match(/^(ws|http)s?:/i); if (match) { switch (match[1]) { - case "http": + case 'http': return new json_rpc_provider_1.JsonRpcProvider(network); - case "ws": + case 'ws': return new websocket_provider_1.WebSocketProvider(network); default: - logger.throwArgumentError("unsupported URL scheme", "network", network); + logger.throwArgumentError('unsupported URL scheme', 'network', network); } } } var n = (0, networks_1.getNetwork)(network); if (!n || !n._defaultProvider) { - logger.throwError("unsupported getDefaultProvider network", logger_1.Logger.errors.NETWORK_ERROR, { - operation: "getDefaultProvider", - network - }); - } - return n._defaultProvider({ - FallbackProvider: fallback_provider_1.FallbackProvider, - AlchemyProvider: alchemy_provider_1.AlchemyProvider, - CloudflareProvider: cloudflare_provider_1.CloudflareProvider, - EtherscanProvider: etherscan_provider_1.EtherscanProvider, - InfuraProvider: infura_provider_1.InfuraProvider, - JsonRpcProvider: json_rpc_provider_1.JsonRpcProvider, - NodesmithProvider: nodesmith_provider_1.NodesmithProvider, - PocketProvider: pocket_provider_1.PocketProvider, - Web3Provider: web3_provider_1.Web3Provider, - IpcProvider: ipc_provider_1.IpcProvider - }, options2); + logger.throwError( + 'unsupported getDefaultProvider network', + logger_1.Logger.errors.NETWORK_ERROR, + { + operation: 'getDefaultProvider', + network, + } + ); + } + return n._defaultProvider( + { + FallbackProvider: fallback_provider_1.FallbackProvider, + AlchemyProvider: alchemy_provider_1.AlchemyProvider, + CloudflareProvider: cloudflare_provider_1.CloudflareProvider, + EtherscanProvider: etherscan_provider_1.EtherscanProvider, + InfuraProvider: infura_provider_1.InfuraProvider, + JsonRpcProvider: json_rpc_provider_1.JsonRpcProvider, + NodesmithProvider: nodesmith_provider_1.NodesmithProvider, + PocketProvider: pocket_provider_1.PocketProvider, + Web3Provider: web3_provider_1.Web3Provider, + IpcProvider: ipc_provider_1.IpcProvider, + }, + options2 + ); } exports2.getDefaultProvider = getDefaultProvider; - } + }, }); // node_modules/ethers/lib/_version.js var require_version25 = __commonJS({ - "node_modules/ethers/lib/_version.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/ethers/lib/_version.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.version = void 0; - exports2.version = "ethers/5.5.4"; - } + exports2.version = 'ethers/5.5.4'; + }, }); // node_modules/ethers/lib/ethers.js var require_ethers = __commonJS({ - "node_modules/ethers/lib/ethers.js"(exports2) { - "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m[k]; - } }); - } : function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; - }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - } : function(o, v) { - o["default"] = v; - }); - var __importStar = exports2 && exports2.__importStar || function(mod) { - if (mod && mod.__esModule) - return mod; - var result = {}; - if (mod != null) { - for (var k in mod) - if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) - __createBinding(result, mod, k); - } - __setModuleDefault(result, mod); - return result; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Wordlist = exports2.version = exports2.wordlists = exports2.utils = exports2.logger = exports2.errors = exports2.constants = exports2.FixedNumber = exports2.BigNumber = exports2.ContractFactory = exports2.Contract = exports2.BaseContract = exports2.providers = exports2.getDefaultProvider = exports2.VoidSigner = exports2.Wallet = exports2.Signer = void 0; + 'node_modules/ethers/lib/ethers.js'(exports2) { + 'use strict'; + var __createBinding = + (exports2 && exports2.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + Object.defineProperty(o, k2, { + enumerable: true, + get: function () { + return m[k]; + }, + }); + } + : function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __setModuleDefault = + (exports2 && exports2.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, 'default', { enumerable: true, value: v }); + } + : function (o, v) { + o['default'] = v; + }); + var __importStar = + (exports2 && exports2.__importStar) || + function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) { + for (var k in mod) + if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k)) + __createBinding(result, mod, k); + } + __setModuleDefault(result, mod); + return result; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Wordlist = + exports2.version = + exports2.wordlists = + exports2.utils = + exports2.logger = + exports2.errors = + exports2.constants = + exports2.FixedNumber = + exports2.BigNumber = + exports2.ContractFactory = + exports2.Contract = + exports2.BaseContract = + exports2.providers = + exports2.getDefaultProvider = + exports2.VoidSigner = + exports2.Wallet = + exports2.Signer = + void 0; var contracts_1 = require_lib28(); - Object.defineProperty(exports2, "BaseContract", { enumerable: true, get: function() { - return contracts_1.BaseContract; - } }); - Object.defineProperty(exports2, "Contract", { enumerable: true, get: function() { - return contracts_1.Contract; - } }); - Object.defineProperty(exports2, "ContractFactory", { enumerable: true, get: function() { - return contracts_1.ContractFactory; - } }); + Object.defineProperty(exports2, 'BaseContract', { + enumerable: true, + get: function () { + return contracts_1.BaseContract; + }, + }); + Object.defineProperty(exports2, 'Contract', { + enumerable: true, + get: function () { + return contracts_1.Contract; + }, + }); + Object.defineProperty(exports2, 'ContractFactory', { + enumerable: true, + get: function () { + return contracts_1.ContractFactory; + }, + }); var bignumber_1 = require_lib3(); - Object.defineProperty(exports2, "BigNumber", { enumerable: true, get: function() { - return bignumber_1.BigNumber; - } }); - Object.defineProperty(exports2, "FixedNumber", { enumerable: true, get: function() { - return bignumber_1.FixedNumber; - } }); + Object.defineProperty(exports2, 'BigNumber', { + enumerable: true, + get: function () { + return bignumber_1.BigNumber; + }, + }); + Object.defineProperty(exports2, 'FixedNumber', { + enumerable: true, + get: function () { + return bignumber_1.FixedNumber; + }, + }); var abstract_signer_1 = require_lib25(); - Object.defineProperty(exports2, "Signer", { enumerable: true, get: function() { - return abstract_signer_1.Signer; - } }); - Object.defineProperty(exports2, "VoidSigner", { enumerable: true, get: function() { - return abstract_signer_1.VoidSigner; - } }); + Object.defineProperty(exports2, 'Signer', { + enumerable: true, + get: function () { + return abstract_signer_1.Signer; + }, + }); + Object.defineProperty(exports2, 'VoidSigner', { + enumerable: true, + get: function () { + return abstract_signer_1.VoidSigner; + }, + }); var wallet_1 = require_lib26(); - Object.defineProperty(exports2, "Wallet", { enumerable: true, get: function() { - return wallet_1.Wallet; - } }); + Object.defineProperty(exports2, 'Wallet', { + enumerable: true, + get: function () { + return wallet_1.Wallet; + }, + }); var constants = __importStar(require_lib8()); exports2.constants = constants; var providers2 = __importStar(require_lib30()); exports2.providers = providers2; var providers_1 = require_lib30(); - Object.defineProperty(exports2, "getDefaultProvider", { enumerable: true, get: function() { - return providers_1.getDefaultProvider; - } }); + Object.defineProperty(exports2, 'getDefaultProvider', { + enumerable: true, + get: function () { + return providers_1.getDefaultProvider; + }, + }); var wordlists_1 = require_lib18(); - Object.defineProperty(exports2, "Wordlist", { enumerable: true, get: function() { - return wordlists_1.Wordlist; - } }); - Object.defineProperty(exports2, "wordlists", { enumerable: true, get: function() { - return wordlists_1.wordlists; - } }); + Object.defineProperty(exports2, 'Wordlist', { + enumerable: true, + get: function () { + return wordlists_1.Wordlist; + }, + }); + Object.defineProperty(exports2, 'wordlists', { + enumerable: true, + get: function () { + return wordlists_1.wordlists; + }, + }); var utils = __importStar(require_utils5()); exports2.utils = utils; var logger_1 = require_lib(); - Object.defineProperty(exports2, "errors", { enumerable: true, get: function() { - return logger_1.ErrorCode; - } }); + Object.defineProperty(exports2, 'errors', { + enumerable: true, + get: function () { + return logger_1.ErrorCode; + }, + }); var _version_1 = require_version25(); - Object.defineProperty(exports2, "version", { enumerable: true, get: function() { - return _version_1.version; - } }); + Object.defineProperty(exports2, 'version', { + enumerable: true, + get: function () { + return _version_1.version; + }, + }); var logger = new logger_1.Logger(_version_1.version); exports2.logger = logger; - } + }, }); // node_modules/ethers/lib/index.js var require_lib31 = __commonJS({ - "node_modules/ethers/lib/index.js"(exports2) { - "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m[k]; - } }); - } : function(o, m, k, k2) { - if (k2 === void 0) - k2 = k; - o[k2] = m[k]; - }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); - } : function(o, v) { - o["default"] = v; - }); - var __importStar = exports2 && exports2.__importStar || function(mod) { - if (mod && mod.__esModule) - return mod; - var result = {}; - if (mod != null) { - for (var k in mod) - if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) - __createBinding(result, mod, k); - } - __setModuleDefault(result, mod); - return result; - }; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Wordlist = exports2.version = exports2.wordlists = exports2.utils = exports2.logger = exports2.errors = exports2.constants = exports2.FixedNumber = exports2.BigNumber = exports2.ContractFactory = exports2.Contract = exports2.BaseContract = exports2.providers = exports2.getDefaultProvider = exports2.VoidSigner = exports2.Wallet = exports2.Signer = exports2.ethers = void 0; + 'node_modules/ethers/lib/index.js'(exports2) { + 'use strict'; + var __createBinding = + (exports2 && exports2.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + Object.defineProperty(o, k2, { + enumerable: true, + get: function () { + return m[k]; + }, + }); + } + : function (o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __setModuleDefault = + (exports2 && exports2.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, 'default', { enumerable: true, value: v }); + } + : function (o, v) { + o['default'] = v; + }); + var __importStar = + (exports2 && exports2.__importStar) || + function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) { + for (var k in mod) + if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k)) + __createBinding(result, mod, k); + } + __setModuleDefault(result, mod); + return result; + }; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Wordlist = + exports2.version = + exports2.wordlists = + exports2.utils = + exports2.logger = + exports2.errors = + exports2.constants = + exports2.FixedNumber = + exports2.BigNumber = + exports2.ContractFactory = + exports2.Contract = + exports2.BaseContract = + exports2.providers = + exports2.getDefaultProvider = + exports2.VoidSigner = + exports2.Wallet = + exports2.Signer = + exports2.ethers = + void 0; var ethers = __importStar(require_ethers()); exports2.ethers = ethers; try { @@ -32490,69 +35392,121 @@ var require_lib31 = __commonJS({ if (anyGlobal._ethers == null) { anyGlobal._ethers = ethers; } - } catch (error) { - } + } catch (error) {} var anyGlobal; var ethers_1 = require_ethers(); - Object.defineProperty(exports2, "Signer", { enumerable: true, get: function() { - return ethers_1.Signer; - } }); - Object.defineProperty(exports2, "Wallet", { enumerable: true, get: function() { - return ethers_1.Wallet; - } }); - Object.defineProperty(exports2, "VoidSigner", { enumerable: true, get: function() { - return ethers_1.VoidSigner; - } }); - Object.defineProperty(exports2, "getDefaultProvider", { enumerable: true, get: function() { - return ethers_1.getDefaultProvider; - } }); - Object.defineProperty(exports2, "providers", { enumerable: true, get: function() { - return ethers_1.providers; - } }); - Object.defineProperty(exports2, "BaseContract", { enumerable: true, get: function() { - return ethers_1.BaseContract; - } }); - Object.defineProperty(exports2, "Contract", { enumerable: true, get: function() { - return ethers_1.Contract; - } }); - Object.defineProperty(exports2, "ContractFactory", { enumerable: true, get: function() { - return ethers_1.ContractFactory; - } }); - Object.defineProperty(exports2, "BigNumber", { enumerable: true, get: function() { - return ethers_1.BigNumber; - } }); - Object.defineProperty(exports2, "FixedNumber", { enumerable: true, get: function() { - return ethers_1.FixedNumber; - } }); - Object.defineProperty(exports2, "constants", { enumerable: true, get: function() { - return ethers_1.constants; - } }); - Object.defineProperty(exports2, "errors", { enumerable: true, get: function() { - return ethers_1.errors; - } }); - Object.defineProperty(exports2, "logger", { enumerable: true, get: function() { - return ethers_1.logger; - } }); - Object.defineProperty(exports2, "utils", { enumerable: true, get: function() { - return ethers_1.utils; - } }); - Object.defineProperty(exports2, "wordlists", { enumerable: true, get: function() { - return ethers_1.wordlists; - } }); - Object.defineProperty(exports2, "version", { enumerable: true, get: function() { - return ethers_1.version; - } }); - Object.defineProperty(exports2, "Wordlist", { enumerable: true, get: function() { - return ethers_1.Wordlist; - } }); - } + Object.defineProperty(exports2, 'Signer', { + enumerable: true, + get: function () { + return ethers_1.Signer; + }, + }); + Object.defineProperty(exports2, 'Wallet', { + enumerable: true, + get: function () { + return ethers_1.Wallet; + }, + }); + Object.defineProperty(exports2, 'VoidSigner', { + enumerable: true, + get: function () { + return ethers_1.VoidSigner; + }, + }); + Object.defineProperty(exports2, 'getDefaultProvider', { + enumerable: true, + get: function () { + return ethers_1.getDefaultProvider; + }, + }); + Object.defineProperty(exports2, 'providers', { + enumerable: true, + get: function () { + return ethers_1.providers; + }, + }); + Object.defineProperty(exports2, 'BaseContract', { + enumerable: true, + get: function () { + return ethers_1.BaseContract; + }, + }); + Object.defineProperty(exports2, 'Contract', { + enumerable: true, + get: function () { + return ethers_1.Contract; + }, + }); + Object.defineProperty(exports2, 'ContractFactory', { + enumerable: true, + get: function () { + return ethers_1.ContractFactory; + }, + }); + Object.defineProperty(exports2, 'BigNumber', { + enumerable: true, + get: function () { + return ethers_1.BigNumber; + }, + }); + Object.defineProperty(exports2, 'FixedNumber', { + enumerable: true, + get: function () { + return ethers_1.FixedNumber; + }, + }); + Object.defineProperty(exports2, 'constants', { + enumerable: true, + get: function () { + return ethers_1.constants; + }, + }); + Object.defineProperty(exports2, 'errors', { + enumerable: true, + get: function () { + return ethers_1.errors; + }, + }); + Object.defineProperty(exports2, 'logger', { + enumerable: true, + get: function () { + return ethers_1.logger; + }, + }); + Object.defineProperty(exports2, 'utils', { + enumerable: true, + get: function () { + return ethers_1.utils; + }, + }); + Object.defineProperty(exports2, 'wordlists', { + enumerable: true, + get: function () { + return ethers_1.wordlists; + }, + }); + Object.defineProperty(exports2, 'version', { + enumerable: true, + get: function () { + return ethers_1.version; + }, + }); + Object.defineProperty(exports2, 'Wordlist', { + enumerable: true, + get: function () { + return ethers_1.Wordlist; + }, + }); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/typechain/FeedRegistryInterface__factory.js var require_FeedRegistryInterface_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/typechain/FeedRegistryInterface__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/typechain/FeedRegistryInterface__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.FeedRegistryInterface__factory = void 0; var ethers_1 = require_lib31(); var FeedRegistryInterface__factory = class { @@ -32565,123 +35519,128 @@ var require_FeedRegistryInterface_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "base", - type: "address" + internalType: 'address', + name: 'base', + type: 'address', }, { - internalType: "address", - name: "quote", - type: "address" - } + internalType: 'address', + name: 'quote', + type: 'address', + }, ], - name: "decimals", + name: 'decimals', outputs: [ { - internalType: "uint8", - name: "", - type: "uint8" - } + internalType: 'uint8', + name: '', + type: 'uint8', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "base", - type: "address" + internalType: 'address', + name: 'base', + type: 'address', }, { - internalType: "address", - name: "quote", - type: "address" - } + internalType: 'address', + name: 'quote', + type: 'address', + }, ], - name: "description", + name: 'description', outputs: [ { - internalType: "string", - name: "", - type: "string" - } + internalType: 'string', + name: '', + type: 'string', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "base", - type: "address" + internalType: 'address', + name: 'base', + type: 'address', }, { - internalType: "address", - name: "quote", - type: "address" - } + internalType: 'address', + name: 'quote', + type: 'address', + }, ], - name: "latestRoundData", + name: 'latestRoundData', outputs: [ { - internalType: "uint80", - name: "roundId", - type: "uint80" + internalType: 'uint80', + name: 'roundId', + type: 'uint80', }, { - internalType: "int256", - name: "answer", - type: "int256" + internalType: 'int256', + name: 'answer', + type: 'int256', }, { - internalType: "uint256", - name: "startedAt", - type: "uint256" + internalType: 'uint256', + name: 'startedAt', + type: 'uint256', }, { - internalType: "uint256", - name: "updatedAt", - type: "uint256" + internalType: 'uint256', + name: 'updatedAt', + type: 'uint256', }, { - internalType: "uint80", - name: "answeredInRound", - type: "uint80" - } + internalType: 'uint80', + name: 'answeredInRound', + type: 'uint80', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/types/ChainlinkFeedsRegistryTypes.js var require_ChainlinkFeedsRegistryTypes = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/types/ChainlinkFeedsRegistryTypes.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/types/ChainlinkFeedsRegistryTypes.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.DenominationAddresses = exports2.Denominations = void 0; var Denominations; - (function(Denominations2) { - Denominations2["eth"] = "eth"; - Denominations2["usd"] = "usd"; - })(Denominations = exports2.Denominations || (exports2.Denominations = {})); + (function (Denominations2) { + Denominations2['eth'] = 'eth'; + Denominations2['usd'] = 'usd'; + })((Denominations = exports2.Denominations || (exports2.Denominations = {}))); var DenominationAddresses; - (function(DenominationAddresses2) { - DenominationAddresses2["eth"] = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; - DenominationAddresses2["usd"] = "0x0000000000000000000000000000000000000348"; - })(DenominationAddresses = exports2.DenominationAddresses || (exports2.DenominationAddresses = {})); - } + (function (DenominationAddresses2) { + DenominationAddresses2['eth'] = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'; + DenominationAddresses2['usd'] = '0x0000000000000000000000000000000000000348'; + })( + (DenominationAddresses = + exports2.DenominationAddresses || (exports2.DenominationAddresses = {})) + ); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/index.js var require_cl_feed_registry = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/cl-feed-registry/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ChainlinkFeedsRegistry = void 0; var tslib_1 = require_tslib(); var utils_1 = require_utils5(); @@ -32690,198 +35649,261 @@ var require_cl_feed_registry = __commonJS({ (0, tslib_1.__exportStar)(require_ChainlinkFeedsRegistryTypes(), exports2); var ChainlinkFeedsRegistry = class { constructor({ provider, chainlinkFeedsRegistry }) { - this.latestRoundData = (tokenAddress, quote) => __async(this, null, function* () { - if (!(0, utils_1.isAddress)(tokenAddress)) { - throw new Error("tokenAddress is not valid"); - } - return this._registryContract.latestRoundData(tokenAddress, ChainlinkFeedsRegistryTypes_1.DenominationAddresses[quote]); - }); - this.decimals = (tokenAddress, quote) => __async(this, null, function* () { - if (!(0, utils_1.isAddress)(tokenAddress)) { - throw new Error("tokenAddress is not valid"); - } - return this._registryContract.decimals(tokenAddress, ChainlinkFeedsRegistryTypes_1.DenominationAddresses[quote]); - }); - this.getPriceFeed = (tokenAddress, quote) => __async(this, null, function* () { - const rawFeed = yield this.latestRoundData(tokenAddress, quote); - const feedDecimals = yield this.decimals(tokenAddress, quote); - return { - answer: rawFeed[1].toString(), - updatedAt: rawFeed[3].toNumber(), - decimals: feedDecimals - }; - }); + this.latestRoundData = (tokenAddress, quote) => + __async(this, null, function* () { + if (!(0, utils_1.isAddress)(tokenAddress)) { + throw new Error('tokenAddress is not valid'); + } + return this._registryContract.latestRoundData( + tokenAddress, + ChainlinkFeedsRegistryTypes_1.DenominationAddresses[quote] + ); + }); + this.decimals = (tokenAddress, quote) => + __async(this, null, function* () { + if (!(0, utils_1.isAddress)(tokenAddress)) { + throw new Error('tokenAddress is not valid'); + } + return this._registryContract.decimals( + tokenAddress, + ChainlinkFeedsRegistryTypes_1.DenominationAddresses[quote] + ); + }); + this.getPriceFeed = (tokenAddress, quote) => + __async(this, null, function* () { + const rawFeed = yield this.latestRoundData(tokenAddress, quote); + const feedDecimals = yield this.decimals(tokenAddress, quote); + return { + answer: rawFeed[1].toString(), + updatedAt: rawFeed[3].toNumber(), + decimals: feedDecimals, + }; + }); if (!(0, utils_1.isAddress)(chainlinkFeedsRegistry)) { - throw new Error("contract address is not valid"); + throw new Error('contract address is not valid'); } - this._registryContract = FeedRegistryInterface__factory_1.FeedRegistryInterface__factory.connect(chainlinkFeedsRegistry, provider); + this._registryContract = + FeedRegistryInterface__factory_1.FeedRegistryInterface__factory.connect( + chainlinkFeedsRegistry, + provider + ); } }; exports2.ChainlinkFeedsRegistry = ChainlinkFeedsRegistry; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/types.js var require_types2 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/types.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.Stake = exports2.GovernanceVote = exports2.ProtocolAction = exports2.eEthereumTxType = exports2.ChainId = exports2.ChainIdToNetwork = exports2.InterestRate = void 0; + 'node_modules/@aave/contract-helpers/dist/cjs/commons/types.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.Stake = + exports2.GovernanceVote = + exports2.ProtocolAction = + exports2.eEthereumTxType = + exports2.ChainId = + exports2.ChainIdToNetwork = + exports2.InterestRate = + void 0; var InterestRate; - (function(InterestRate2) { - InterestRate2["None"] = "None"; - InterestRate2["Stable"] = "Stable"; - InterestRate2["Variable"] = "Variable"; - })(InterestRate = exports2.InterestRate || (exports2.InterestRate = {})); + (function (InterestRate2) { + InterestRate2['None'] = 'None'; + InterestRate2['Stable'] = 'Stable'; + InterestRate2['Variable'] = 'Variable'; + })((InterestRate = exports2.InterestRate || (exports2.InterestRate = {}))); exports2.ChainIdToNetwork = { - 1: "mainnet", - 3: "ropsten", - 4: "rinkeby", - 5: "goerli", - 42: "kovan", - 100: "xDAI", - 137: "polygon", - 80001: "mumbai", - 43114: "avalanche", - 43113: "fuji", - 42161: "arbitrum_one", - 421611: "arbitrum_rinkeby", - 421613: "arbitrum_goerli", - 250: "fantom_opera", - 4002: "fantom_testnet", - 10: "optimism", - 69: "optimism_kovan", - 420: "optimism_goerli", - 16666e5: "harmony", - 16667e5: "harmony_testnet" + 1: 'mainnet', + 3: 'ropsten', + 4: 'rinkeby', + 5: 'goerli', + 42: 'kovan', + 100: 'xDAI', + 137: 'polygon', + 80001: 'mumbai', + 43114: 'avalanche', + 43113: 'fuji', + 42161: 'arbitrum_one', + 421611: 'arbitrum_rinkeby', + 421613: 'arbitrum_goerli', + 250: 'fantom_opera', + 4002: 'fantom_testnet', + 10: 'optimism', + 69: 'optimism_kovan', + 420: 'optimism_goerli', + 16666e5: 'harmony', + 16667e5: 'harmony_testnet', }; var ChainId6; - (function(ChainId7) { - ChainId7[ChainId7["mainnet"] = 1] = "mainnet"; - ChainId7[ChainId7["ropsten"] = 3] = "ropsten"; - ChainId7[ChainId7["rinkeby"] = 4] = "rinkeby"; - ChainId7[ChainId7["goerli"] = 5] = "goerli"; - ChainId7[ChainId7["kovan"] = 42] = "kovan"; - ChainId7[ChainId7["xdai"] = 100] = "xdai"; - ChainId7[ChainId7["polygon"] = 137] = "polygon"; - ChainId7[ChainId7["mumbai"] = 80001] = "mumbai"; - ChainId7[ChainId7["avalanche"] = 43114] = "avalanche"; - ChainId7[ChainId7["fuji"] = 43113] = "fuji"; - ChainId7[ChainId7["arbitrum_one"] = 42161] = "arbitrum_one"; - ChainId7[ChainId7["arbitrum_rinkeby"] = 421611] = "arbitrum_rinkeby"; - ChainId7[ChainId7["arbitrum_goerli"] = 421613] = "arbitrum_goerli"; - ChainId7[ChainId7["fantom"] = 250] = "fantom"; - ChainId7[ChainId7["fantom_testnet"] = 4002] = "fantom_testnet"; - ChainId7[ChainId7["optimism"] = 10] = "optimism"; - ChainId7[ChainId7["optimism_kovan"] = 69] = "optimism_kovan"; - ChainId7[ChainId7["optimism_goerli"] = 420] = "optimism_goerli"; - ChainId7[ChainId7["harmony"] = 16666e5] = "harmony"; - ChainId7[ChainId7["harmony_testnet"] = 16667e5] = "harmony_testnet"; - })(ChainId6 = exports2.ChainId || (exports2.ChainId = {})); + (function (ChainId7) { + ChainId7[(ChainId7['mainnet'] = 1)] = 'mainnet'; + ChainId7[(ChainId7['ropsten'] = 3)] = 'ropsten'; + ChainId7[(ChainId7['rinkeby'] = 4)] = 'rinkeby'; + ChainId7[(ChainId7['goerli'] = 5)] = 'goerli'; + ChainId7[(ChainId7['kovan'] = 42)] = 'kovan'; + ChainId7[(ChainId7['xdai'] = 100)] = 'xdai'; + ChainId7[(ChainId7['polygon'] = 137)] = 'polygon'; + ChainId7[(ChainId7['mumbai'] = 80001)] = 'mumbai'; + ChainId7[(ChainId7['avalanche'] = 43114)] = 'avalanche'; + ChainId7[(ChainId7['fuji'] = 43113)] = 'fuji'; + ChainId7[(ChainId7['arbitrum_one'] = 42161)] = 'arbitrum_one'; + ChainId7[(ChainId7['arbitrum_rinkeby'] = 421611)] = 'arbitrum_rinkeby'; + ChainId7[(ChainId7['arbitrum_goerli'] = 421613)] = 'arbitrum_goerli'; + ChainId7[(ChainId7['fantom'] = 250)] = 'fantom'; + ChainId7[(ChainId7['fantom_testnet'] = 4002)] = 'fantom_testnet'; + ChainId7[(ChainId7['optimism'] = 10)] = 'optimism'; + ChainId7[(ChainId7['optimism_kovan'] = 69)] = 'optimism_kovan'; + ChainId7[(ChainId7['optimism_goerli'] = 420)] = 'optimism_goerli'; + ChainId7[(ChainId7['harmony'] = 16666e5)] = 'harmony'; + ChainId7[(ChainId7['harmony_testnet'] = 16667e5)] = 'harmony_testnet'; + })((ChainId6 = exports2.ChainId || (exports2.ChainId = {}))); var eEthereumTxType; - (function(eEthereumTxType2) { - eEthereumTxType2["ERC20_APPROVAL"] = "ERC20_APPROVAL"; - eEthereumTxType2["DLP_ACTION"] = "DLP_ACTION"; - eEthereumTxType2["GOVERNANCE_ACTION"] = "GOVERNANCE_ACTION"; - eEthereumTxType2["GOV_DELEGATION_ACTION"] = "GOV_DELEGATION_ACTION"; - eEthereumTxType2["STAKE_ACTION"] = "STAKE_ACTION"; - eEthereumTxType2["MIGRATION_LEND_AAVE"] = "MIGRATION_LEND_AAVE"; - eEthereumTxType2["FAUCET_MINT"] = "FAUCET_MINT"; - eEthereumTxType2["REWARD_ACTION"] = "REWARD_ACTION"; - })(eEthereumTxType = exports2.eEthereumTxType || (exports2.eEthereumTxType = {})); + (function (eEthereumTxType2) { + eEthereumTxType2['ERC20_APPROVAL'] = 'ERC20_APPROVAL'; + eEthereumTxType2['DLP_ACTION'] = 'DLP_ACTION'; + eEthereumTxType2['GOVERNANCE_ACTION'] = 'GOVERNANCE_ACTION'; + eEthereumTxType2['GOV_DELEGATION_ACTION'] = 'GOV_DELEGATION_ACTION'; + eEthereumTxType2['STAKE_ACTION'] = 'STAKE_ACTION'; + eEthereumTxType2['MIGRATION_LEND_AAVE'] = 'MIGRATION_LEND_AAVE'; + eEthereumTxType2['FAUCET_MINT'] = 'FAUCET_MINT'; + eEthereumTxType2['REWARD_ACTION'] = 'REWARD_ACTION'; + })((eEthereumTxType = exports2.eEthereumTxType || (exports2.eEthereumTxType = {}))); var ProtocolAction; - (function(ProtocolAction2) { - ProtocolAction2["default"] = "default"; - ProtocolAction2["supply"] = "supply"; - ProtocolAction2["withdraw"] = "withdraw"; - ProtocolAction2["deposit"] = "deposit"; - ProtocolAction2["liquidationCall"] = "liquidationCall"; - ProtocolAction2["liquidationFlash"] = "liquidationFlash"; - ProtocolAction2["repay"] = "repay"; - ProtocolAction2["swapCollateral"] = "swapCollateral"; - ProtocolAction2["repayCollateral"] = "repayCollateral"; - ProtocolAction2["withdrawETH"] = "withdrawETH"; - ProtocolAction2["borrowETH"] = "borrwoETH"; - })(ProtocolAction = exports2.ProtocolAction || (exports2.ProtocolAction = {})); + (function (ProtocolAction2) { + ProtocolAction2['default'] = 'default'; + ProtocolAction2['supply'] = 'supply'; + ProtocolAction2['withdraw'] = 'withdraw'; + ProtocolAction2['deposit'] = 'deposit'; + ProtocolAction2['liquidationCall'] = 'liquidationCall'; + ProtocolAction2['liquidationFlash'] = 'liquidationFlash'; + ProtocolAction2['repay'] = 'repay'; + ProtocolAction2['swapCollateral'] = 'swapCollateral'; + ProtocolAction2['repayCollateral'] = 'repayCollateral'; + ProtocolAction2['withdrawETH'] = 'withdrawETH'; + ProtocolAction2['borrowETH'] = 'borrwoETH'; + })((ProtocolAction = exports2.ProtocolAction || (exports2.ProtocolAction = {}))); var GovernanceVote; - (function(GovernanceVote2) { - GovernanceVote2[GovernanceVote2["Abstain"] = 0] = "Abstain"; - GovernanceVote2[GovernanceVote2["Yes"] = 1] = "Yes"; - GovernanceVote2[GovernanceVote2["No"] = 2] = "No"; - })(GovernanceVote = exports2.GovernanceVote || (exports2.GovernanceVote = {})); + (function (GovernanceVote2) { + GovernanceVote2[(GovernanceVote2['Abstain'] = 0)] = 'Abstain'; + GovernanceVote2[(GovernanceVote2['Yes'] = 1)] = 'Yes'; + GovernanceVote2[(GovernanceVote2['No'] = 2)] = 'No'; + })((GovernanceVote = exports2.GovernanceVote || (exports2.GovernanceVote = {}))); var Stake; - (function(Stake2) { - Stake2["aave"] = "aave"; - Stake2["bpt"] = "bpt"; - })(Stake = exports2.Stake || (exports2.Stake = {})); - } + (function (Stake2) { + Stake2['aave'] = 'aave'; + Stake2['bpt'] = 'bpt'; + })((Stake = exports2.Stake || (exports2.Stake = {}))); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/gasStation.js var require_gasStation = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/gasStation.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/commons/gasStation.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.estimateGasByNetwork = exports2.estimateGas = void 0; var types_1 = require_types2(); var DEFAULT_SURPLUS = 30; var POLYGON_SURPLUS = 60; - var estimateGas = (tx, provider, gasSurplus) => __async(exports2, null, function* () { - const estimatedGas = yield provider.estimateGas(tx); - return estimatedGas.add(estimatedGas.mul(gasSurplus !== null && gasSurplus !== void 0 ? gasSurplus : DEFAULT_SURPLUS).div(100)); - }); + var estimateGas = (tx, provider, gasSurplus) => + __async(exports2, null, function* () { + const estimatedGas = yield provider.estimateGas(tx); + return estimatedGas.add( + estimatedGas + .mul(gasSurplus !== null && gasSurplus !== void 0 ? gasSurplus : DEFAULT_SURPLUS) + .div(100) + ); + }); exports2.estimateGas = estimateGas; - var estimateGasByNetwork = (tx, provider, gasSurplus) => __async(exports2, null, function* () { - const estimatedGas = yield provider.estimateGas(tx); - const providerNework = yield provider.getNetwork(); - if (providerNework.chainId === types_1.ChainId.polygon) { - return estimatedGas.add(estimatedGas.mul(POLYGON_SURPLUS).div(100)); - } - return estimatedGas.add(estimatedGas.mul(gasSurplus !== null && gasSurplus !== void 0 ? gasSurplus : DEFAULT_SURPLUS).div(100)); - }); + var estimateGasByNetwork = (tx, provider, gasSurplus) => + __async(exports2, null, function* () { + const estimatedGas = yield provider.estimateGas(tx); + const providerNework = yield provider.getNetwork(); + if (providerNework.chainId === types_1.ChainId.polygon) { + return estimatedGas.add(estimatedGas.mul(POLYGON_SURPLUS).div(100)); + } + return estimatedGas.add( + estimatedGas + .mul(gasSurplus !== null && gasSurplus !== void 0 ? gasSurplus : DEFAULT_SURPLUS) + .div(100) + ); + }); exports2.estimateGasByNetwork = estimateGasByNetwork; - } + }, }); // node_modules/bignumber.js/bignumber.js var require_bignumber2 = __commonJS({ - "node_modules/bignumber.js/bignumber.js"(exports2, module2) { - (function(globalObject) { - "use strict"; - var BigNumber2, isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, mathceil = Math.ceil, mathfloor = Math.floor, bignumberError = "[BigNumber Error] ", tooManyDigits = bignumberError + "Number primitive has more than 15 significant digits: ", BASE = 1e14, LOG_BASE = 14, MAX_SAFE_INTEGER = 9007199254740991, POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], SQRT_BASE = 1e7, MAX = 1e9; + 'node_modules/bignumber.js/bignumber.js'(exports2, module2) { + (function (globalObject) { + 'use strict'; + var BigNumber2, + isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, + mathceil = Math.ceil, + mathfloor = Math.floor, + bignumberError = '[BigNumber Error] ', + tooManyDigits = bignumberError + 'Number primitive has more than 15 significant digits: ', + BASE = 1e14, + LOG_BASE = 14, + MAX_SAFE_INTEGER = 9007199254740991, + POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], + SQRT_BASE = 1e7, + MAX = 1e9; function clone(configObject) { - var div, convertBase, parseNumeric, P = BigNumber3.prototype = { constructor: BigNumber3, toString: null, valueOf: null }, ONE = new BigNumber3(1), DECIMAL_PLACES = 20, ROUNDING_MODE = 4, TO_EXP_NEG = -7, TO_EXP_POS = 21, MIN_EXP = -1e7, MAX_EXP = 1e7, CRYPTO = false, MODULO_MODE = 1, POW_PRECISION = 0, FORMAT = { - prefix: "", - groupSize: 3, - secondaryGroupSize: 0, - groupSeparator: ",", - decimalSeparator: ".", - fractionGroupSize: 0, - fractionGroupSeparator: "\xA0", - suffix: "" - }, ALPHABET = "0123456789abcdefghijklmnopqrstuvwxyz", alphabetHasNormalDecimalDigits = true; + var div, + convertBase, + parseNumeric, + P = (BigNumber3.prototype = { constructor: BigNumber3, toString: null, valueOf: null }), + ONE = new BigNumber3(1), + DECIMAL_PLACES = 20, + ROUNDING_MODE = 4, + TO_EXP_NEG = -7, + TO_EXP_POS = 21, + MIN_EXP = -1e7, + MAX_EXP = 1e7, + CRYPTO = false, + MODULO_MODE = 1, + POW_PRECISION = 0, + FORMAT = { + prefix: '', + groupSize: 3, + secondaryGroupSize: 0, + groupSeparator: ',', + decimalSeparator: '.', + fractionGroupSize: 0, + fractionGroupSeparator: '\xA0', + suffix: '', + }, + ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz', + alphabetHasNormalDecimalDigits = true; function BigNumber3(v, b) { - var alphabet, c, caseChanged, e, i, isNum, len, str2, x = this; - if (!(x instanceof BigNumber3)) - return new BigNumber3(v, b); + var alphabet, + c, + caseChanged, + e, + i, + isNum, + len, + str2, + x = this; + if (!(x instanceof BigNumber3)) return new BigNumber3(v, b); if (b == null) { if (v && v._isBigNumber === true) { x.s = v.s; if (!v.c || v.e > MAX_EXP) { x.c = x.e = null; } else if (v.e < MIN_EXP) { - x.c = [x.e = 0]; + x.c = [(x.e = 0)]; } else { x.e = v.e; x.c = v.c.slice(); } return; } - if ((isNum = typeof v == "number") && v * 0 == 0) { - x.s = 1 / v < 0 ? (v = -v, -1) : 1; + if ((isNum = typeof v == 'number') && v * 0 == 0) { + x.s = 1 / v < 0 ? ((v = -v), -1) : 1; if (v === ~~v) { - for (e = 0, i = v; i >= 10; i /= 10, e++) - ; + for (e = 0, i = v; i >= 10; i /= 10, e++); if (e > MAX_EXP) { x.c = x.e = null; } else { @@ -32892,48 +35914,47 @@ var require_bignumber2 = __commonJS({ } str2 = String(v); } else { - if (!isNumeric.test(str2 = String(v))) - return parseNumeric(x, str2, isNum); - x.s = str2.charCodeAt(0) == 45 ? (str2 = str2.slice(1), -1) : 1; + if (!isNumeric.test((str2 = String(v)))) return parseNumeric(x, str2, isNum); + x.s = str2.charCodeAt(0) == 45 ? ((str2 = str2.slice(1)), -1) : 1; } - if ((e = str2.indexOf(".")) > -1) - str2 = str2.replace(".", ""); + if ((e = str2.indexOf('.')) > -1) str2 = str2.replace('.', ''); if ((i = str2.search(/e/i)) > 0) { - if (e < 0) - e = i; + if (e < 0) e = i; e += +str2.slice(i + 1); str2 = str2.substring(0, i); } else if (e < 0) { e = str2.length; } } else { - intCheck(b, 2, ALPHABET.length, "Base"); + intCheck(b, 2, ALPHABET.length, 'Base'); if (b == 10 && alphabetHasNormalDecimalDigits) { x = new BigNumber3(v); return round(x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE); } str2 = String(v); - if (isNum = typeof v == "number") { - if (v * 0 != 0) - return parseNumeric(x, str2, isNum, b); - x.s = 1 / v < 0 ? (str2 = str2.slice(1), -1) : 1; - if (BigNumber3.DEBUG && str2.replace(/^0\.0*|\./, "").length > 15) { + if ((isNum = typeof v == 'number')) { + if (v * 0 != 0) return parseNumeric(x, str2, isNum, b); + x.s = 1 / v < 0 ? ((str2 = str2.slice(1)), -1) : 1; + if (BigNumber3.DEBUG && str2.replace(/^0\.0*|\./, '').length > 15) { throw Error(tooManyDigits + v); } } else { - x.s = str2.charCodeAt(0) === 45 ? (str2 = str2.slice(1), -1) : 1; + x.s = str2.charCodeAt(0) === 45 ? ((str2 = str2.slice(1)), -1) : 1; } alphabet = ALPHABET.slice(0, b); e = i = 0; for (len = str2.length; i < len; i++) { - if (alphabet.indexOf(c = str2.charAt(i)) < 0) { - if (c == ".") { + if (alphabet.indexOf((c = str2.charAt(i))) < 0) { + if (c == '.') { if (i > e) { e = len; continue; } } else if (!caseChanged) { - if (str2 == str2.toUpperCase() && (str2 = str2.toLowerCase()) || str2 == str2.toLowerCase() && (str2 = str2.toUpperCase())) { + if ( + (str2 == str2.toUpperCase() && (str2 = str2.toLowerCase())) || + (str2 == str2.toLowerCase() && (str2 = str2.toUpperCase())) + ) { caseChanged = true; i = -1; e = 0; @@ -32945,46 +35966,44 @@ var require_bignumber2 = __commonJS({ } isNum = false; str2 = convertBase(str2, b, 10, x.s); - if ((e = str2.indexOf(".")) > -1) - str2 = str2.replace(".", ""); - else - e = str2.length; + if ((e = str2.indexOf('.')) > -1) str2 = str2.replace('.', ''); + else e = str2.length; } - for (i = 0; str2.charCodeAt(i) === 48; i++) - ; - for (len = str2.length; str2.charCodeAt(--len) === 48; ) - ; - if (str2 = str2.slice(i, ++len)) { + for (i = 0; str2.charCodeAt(i) === 48; i++); + for (len = str2.length; str2.charCodeAt(--len) === 48; ); + if ((str2 = str2.slice(i, ++len))) { len -= i; - if (isNum && BigNumber3.DEBUG && len > 15 && (v > MAX_SAFE_INTEGER || v !== mathfloor(v))) { + if ( + isNum && + BigNumber3.DEBUG && + len > 15 && + (v > MAX_SAFE_INTEGER || v !== mathfloor(v)) + ) { throw Error(tooManyDigits + x.s * v); } if ((e = e - i - 1) > MAX_EXP) { x.c = x.e = null; } else if (e < MIN_EXP) { - x.c = [x.e = 0]; + x.c = [(x.e = 0)]; } else { x.e = e; x.c = []; i = (e + 1) % LOG_BASE; - if (e < 0) - i += LOG_BASE; + if (e < 0) i += LOG_BASE; if (i < len) { - if (i) - x.c.push(+str2.slice(0, i)); + if (i) x.c.push(+str2.slice(0, i)); for (len -= LOG_BASE; i < len; ) { - x.c.push(+str2.slice(i, i += LOG_BASE)); + x.c.push(+str2.slice(i, (i += LOG_BASE))); } i = LOG_BASE - (str2 = str2.slice(i)).length; } else { i -= len; } - for (; i--; str2 += "0") - ; + for (; i--; str2 += '0'); x.c.push(+str2); } } else { - x.c = [x.e = 0]; + x.c = [(x.e = 0)]; } } BigNumber3.clone = clone; @@ -32998,21 +36017,21 @@ var require_bignumber2 = __commonJS({ BigNumber3.ROUND_HALF_CEIL = 7; BigNumber3.ROUND_HALF_FLOOR = 8; BigNumber3.EUCLID = 9; - BigNumber3.config = BigNumber3.set = function(obj) { + BigNumber3.config = BigNumber3.set = function (obj) { var p, v; if (obj != null) { - if (typeof obj == "object") { - if (obj.hasOwnProperty(p = "DECIMAL_PLACES")) { + if (typeof obj == 'object') { + if (obj.hasOwnProperty((p = 'DECIMAL_PLACES'))) { v = obj[p]; intCheck(v, 0, MAX, p); DECIMAL_PLACES = v; } - if (obj.hasOwnProperty(p = "ROUNDING_MODE")) { + if (obj.hasOwnProperty((p = 'ROUNDING_MODE'))) { v = obj[p]; intCheck(v, 0, 8, p); ROUNDING_MODE = v; } - if (obj.hasOwnProperty(p = "EXPONENTIAL_AT")) { + if (obj.hasOwnProperty((p = 'EXPONENTIAL_AT'))) { v = obj[p]; if (v && v.pop) { intCheck(v[0], -MAX, 0, p); @@ -33024,7 +36043,7 @@ var require_bignumber2 = __commonJS({ TO_EXP_NEG = -(TO_EXP_POS = v < 0 ? -v : v); } } - if (obj.hasOwnProperty(p = "RANGE")) { + if (obj.hasOwnProperty((p = 'RANGE'))) { v = obj[p]; if (v && v.pop) { intCheck(v[0], -MAX, -1, p); @@ -33036,55 +36055,57 @@ var require_bignumber2 = __commonJS({ if (v) { MIN_EXP = -(MAX_EXP = v < 0 ? -v : v); } else { - throw Error(bignumberError + p + " cannot be zero: " + v); + throw Error(bignumberError + p + ' cannot be zero: ' + v); } } } - if (obj.hasOwnProperty(p = "CRYPTO")) { + if (obj.hasOwnProperty((p = 'CRYPTO'))) { v = obj[p]; if (v === !!v) { if (v) { - if (typeof crypto != "undefined" && crypto && (crypto.getRandomValues || crypto.randomBytes)) { + if ( + typeof crypto != 'undefined' && + crypto && + (crypto.getRandomValues || crypto.randomBytes) + ) { CRYPTO = v; } else { CRYPTO = !v; - throw Error(bignumberError + "crypto unavailable"); + throw Error(bignumberError + 'crypto unavailable'); } } else { CRYPTO = v; } } else { - throw Error(bignumberError + p + " not true or false: " + v); + throw Error(bignumberError + p + ' not true or false: ' + v); } } - if (obj.hasOwnProperty(p = "MODULO_MODE")) { + if (obj.hasOwnProperty((p = 'MODULO_MODE'))) { v = obj[p]; intCheck(v, 0, 9, p); MODULO_MODE = v; } - if (obj.hasOwnProperty(p = "POW_PRECISION")) { + if (obj.hasOwnProperty((p = 'POW_PRECISION'))) { v = obj[p]; intCheck(v, 0, MAX, p); POW_PRECISION = v; } - if (obj.hasOwnProperty(p = "FORMAT")) { + if (obj.hasOwnProperty((p = 'FORMAT'))) { v = obj[p]; - if (typeof v == "object") - FORMAT = v; - else - throw Error(bignumberError + p + " not an object: " + v); + if (typeof v == 'object') FORMAT = v; + else throw Error(bignumberError + p + ' not an object: ' + v); } - if (obj.hasOwnProperty(p = "ALPHABET")) { + if (obj.hasOwnProperty((p = 'ALPHABET'))) { v = obj[p]; - if (typeof v == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(v)) { - alphabetHasNormalDecimalDigits = v.slice(0, 10) == "0123456789"; + if (typeof v == 'string' && !/^.?$|[+\-.\s]|(.).*\1/.test(v)) { + alphabetHasNormalDecimalDigits = v.slice(0, 10) == '0123456789'; ALPHABET = v; } else { - throw Error(bignumberError + p + " invalid: " + v); + throw Error(bignumberError + p + ' invalid: ' + v); } } } else { - throw Error(bignumberError + "Object expected: " + obj); + throw Error(bignumberError + 'Object expected: ' + obj); } } return { @@ -33096,64 +36117,71 @@ var require_bignumber2 = __commonJS({ MODULO_MODE, POW_PRECISION, FORMAT, - ALPHABET + ALPHABET, }; }; - BigNumber3.isBigNumber = function(v) { - if (!v || v._isBigNumber !== true) - return false; - if (!BigNumber3.DEBUG) - return true; - var i, n, c = v.c, e = v.e, s = v.s; - out: - if ({}.toString.call(c) == "[object Array]") { - if ((s === 1 || s === -1) && e >= -MAX && e <= MAX && e === mathfloor(e)) { - if (c[0] === 0) { - if (e === 0 && c.length === 1) - return true; - break out; - } - i = (e + 1) % LOG_BASE; - if (i < 1) - i += LOG_BASE; - if (String(c[0]).length == i) { - for (i = 0; i < c.length; i++) { - n = c[i]; - if (n < 0 || n >= BASE || n !== mathfloor(n)) - break out; - } - if (n !== 0) - return true; + BigNumber3.isBigNumber = function (v) { + if (!v || v._isBigNumber !== true) return false; + if (!BigNumber3.DEBUG) return true; + var i, + n, + c = v.c, + e = v.e, + s = v.s; + out: if ({}.toString.call(c) == '[object Array]') { + if ((s === 1 || s === -1) && e >= -MAX && e <= MAX && e === mathfloor(e)) { + if (c[0] === 0) { + if (e === 0 && c.length === 1) return true; + break out; + } + i = (e + 1) % LOG_BASE; + if (i < 1) i += LOG_BASE; + if (String(c[0]).length == i) { + for (i = 0; i < c.length; i++) { + n = c[i]; + if (n < 0 || n >= BASE || n !== mathfloor(n)) break out; } + if (n !== 0) return true; } - } else if (c === null && e === null && (s === null || s === 1 || s === -1)) { - return true; } - throw Error(bignumberError + "Invalid BigNumber: " + v); + } else if (c === null && e === null && (s === null || s === 1 || s === -1)) { + return true; + } + throw Error(bignumberError + 'Invalid BigNumber: ' + v); }; - BigNumber3.maximum = BigNumber3.max = function() { + BigNumber3.maximum = BigNumber3.max = function () { return maxOrMin(arguments, P.lt); }; - BigNumber3.minimum = BigNumber3.min = function() { + BigNumber3.minimum = BigNumber3.min = function () { return maxOrMin(arguments, P.gt); }; - BigNumber3.random = function() { + BigNumber3.random = (function () { var pow2_53 = 9007199254740992; - var random53bitInt = Math.random() * pow2_53 & 2097151 ? function() { - return mathfloor(Math.random() * pow2_53); - } : function() { - return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0); - }; - return function(dp) { - var a, b, e, k, v, i = 0, c = [], rand = new BigNumber3(ONE); - if (dp == null) - dp = DECIMAL_PLACES; - else - intCheck(dp, 0, MAX); + var random53bitInt = + (Math.random() * pow2_53) & 2097151 + ? function () { + return mathfloor(Math.random() * pow2_53); + } + : function () { + return ( + ((Math.random() * 1073741824) | 0) * 8388608 + ((Math.random() * 8388608) | 0) + ); + }; + return function (dp) { + var a, + b, + e, + k, + v, + i = 0, + c = [], + rand = new BigNumber3(ONE); + if (dp == null) dp = DECIMAL_PLACES; + else intCheck(dp, 0, MAX); k = mathceil(dp / LOG_BASE); if (CRYPTO) { if (crypto.getRandomValues) { - a = crypto.getRandomValues(new Uint32Array(k *= 2)); + a = crypto.getRandomValues(new Uint32Array((k *= 2))); for (; i < k; ) { v = a[i] * 131072 + (a[i + 1] >>> 11); if (v >= 9e15) { @@ -33167,9 +36195,16 @@ var require_bignumber2 = __commonJS({ } i = k / 2; } else if (crypto.randomBytes) { - a = crypto.randomBytes(k *= 7); + a = crypto.randomBytes((k *= 7)); for (; i < k; ) { - v = (a[i] & 31) * 281474976710656 + a[i + 1] * 1099511627776 + a[i + 2] * 4294967296 + a[i + 3] * 16777216 + (a[i + 4] << 16) + (a[i + 5] << 8) + a[i + 6]; + v = + (a[i] & 31) * 281474976710656 + + a[i + 1] * 1099511627776 + + a[i + 2] * 4294967296 + + a[i + 3] * 16777216 + + (a[i + 4] << 16) + + (a[i + 5] << 8) + + a[i + 6]; if (v >= 9e15) { crypto.randomBytes(7).copy(a, i); } else { @@ -33180,14 +36215,13 @@ var require_bignumber2 = __commonJS({ i = k / 7; } else { CRYPTO = false; - throw Error(bignumberError + "crypto unavailable"); + throw Error(bignumberError + 'crypto unavailable'); } } if (!CRYPTO) { for (; i < k; ) { v = random53bitInt(); - if (v < 9e15) - c[i++] = v % 1e14; + if (v < 9e15) c[i++] = v % 1e14; } } k = c[--i]; @@ -33196,71 +36230,78 @@ var require_bignumber2 = __commonJS({ v = POWS_TEN[LOG_BASE - dp]; c[i] = mathfloor(k / v) * v; } - for (; c[i] === 0; c.pop(), i--) - ; + for (; c[i] === 0; c.pop(), i--); if (i < 0) { - c = [e = 0]; + c = [(e = 0)]; } else { - for (e = -1; c[0] === 0; c.splice(0, 1), e -= LOG_BASE) - ; - for (i = 1, v = c[0]; v >= 10; v /= 10, i++) - ; - if (i < LOG_BASE) - e -= LOG_BASE - i; + for (e = -1; c[0] === 0; c.splice(0, 1), e -= LOG_BASE); + for (i = 1, v = c[0]; v >= 10; v /= 10, i++); + if (i < LOG_BASE) e -= LOG_BASE - i; } rand.e = e; rand.c = c; return rand; }; - }(); - BigNumber3.sum = function() { - var i = 1, args = arguments, sum = new BigNumber3(args[0]); - for (; i < args.length; ) - sum = sum.plus(args[i++]); + })(); + BigNumber3.sum = function () { + var i = 1, + args = arguments, + sum = new BigNumber3(args[0]); + for (; i < args.length; ) sum = sum.plus(args[i++]); return sum; }; - convertBase = function() { - var decimal = "0123456789"; + convertBase = (function () { + var decimal = '0123456789'; function toBaseOut(str2, baseIn, baseOut, alphabet) { - var j, arr = [0], arrL, i = 0, len = str2.length; + var j, + arr = [0], + arrL, + i = 0, + len = str2.length; for (; i < len; ) { - for (arrL = arr.length; arrL--; arr[arrL] *= baseIn) - ; + for (arrL = arr.length; arrL--; arr[arrL] *= baseIn); arr[0] += alphabet.indexOf(str2.charAt(i++)); for (j = 0; j < arr.length; j++) { if (arr[j] > baseOut - 1) { - if (arr[j + 1] == null) - arr[j + 1] = 0; - arr[j + 1] += arr[j] / baseOut | 0; + if (arr[j + 1] == null) arr[j + 1] = 0; + arr[j + 1] += (arr[j] / baseOut) | 0; arr[j] %= baseOut; } } } return arr.reverse(); } - return function(str2, baseIn, baseOut, sign, callerIsToString) { - var alphabet, d, e, k, r, x, xc, y, i = str2.indexOf("."), dp = DECIMAL_PLACES, rm = ROUNDING_MODE; + return function (str2, baseIn, baseOut, sign, callerIsToString) { + var alphabet, + d, + e, + k, + r, + x, + xc, + y, + i = str2.indexOf('.'), + dp = DECIMAL_PLACES, + rm = ROUNDING_MODE; if (i >= 0) { k = POW_PRECISION; POW_PRECISION = 0; - str2 = str2.replace(".", ""); + str2 = str2.replace('.', ''); y = new BigNumber3(baseIn); x = y.pow(str2.length - i); POW_PRECISION = k; - y.c = toBaseOut( - toFixedPoint(coeffToString(x.c), x.e, "0"), - 10, - baseOut, - decimal - ); + y.c = toBaseOut(toFixedPoint(coeffToString(x.c), x.e, '0'), 10, baseOut, decimal); y.e = y.c.length; } - xc = toBaseOut(str2, baseIn, baseOut, callerIsToString ? (alphabet = ALPHABET, decimal) : (alphabet = decimal, ALPHABET)); + xc = toBaseOut( + str2, + baseIn, + baseOut, + callerIsToString ? ((alphabet = ALPHABET), decimal) : ((alphabet = decimal), ALPHABET) + ); e = k = xc.length; - for (; xc[--k] == 0; xc.pop()) - ; - if (!xc[0]) - return alphabet.charAt(0); + for (; xc[--k] == 0; xc.pop()); + if (!xc[0]) return alphabet.charAt(0); if (i < 0) { --e; } else { @@ -33276,9 +36317,16 @@ var require_bignumber2 = __commonJS({ i = xc[d]; k = baseOut / 2; r = r || d < 0 || xc[d + 1] != null; - r = rm < 4 ? (i != null || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : i > k || i == k && (rm == 4 || r || rm == 6 && xc[d - 1] & 1 || rm == (x.s < 0 ? 8 : 7)); + r = + rm < 4 + ? (i != null || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) + : i > k || + (i == k && + (rm == 4 || r || (rm == 6 && xc[d - 1] & 1) || rm == (x.s < 0 ? 8 : 7))); if (d < 1 || !xc[0]) { - str2 = r ? toFixedPoint(alphabet.charAt(1), -dp, alphabet.charAt(0)) : alphabet.charAt(0); + str2 = r + ? toFixedPoint(alphabet.charAt(1), -dp, alphabet.charAt(0)) + : alphabet.charAt(0); } else { xc.length = d; if (r) { @@ -33290,28 +36338,32 @@ var require_bignumber2 = __commonJS({ } } } - for (k = xc.length; !xc[--k]; ) - ; - for (i = 0, str2 = ""; i <= k; str2 += alphabet.charAt(xc[i++])) - ; + for (k = xc.length; !xc[--k]; ); + for (i = 0, str2 = ''; i <= k; str2 += alphabet.charAt(xc[i++])); str2 = toFixedPoint(str2, e, alphabet.charAt(0)); } return str2; }; - }(); - div = function() { + })(); + div = (function () { function multiply(x, k, base) { - var m, temp, xlo, xhi, carry = 0, i = x.length, klo = k % SQRT_BASE, khi = k / SQRT_BASE | 0; + var m, + temp, + xlo, + xhi, + carry = 0, + i = x.length, + klo = k % SQRT_BASE, + khi = (k / SQRT_BASE) | 0; for (x = x.slice(); i--; ) { xlo = x[i] % SQRT_BASE; - xhi = x[i] / SQRT_BASE | 0; + xhi = (x[i] / SQRT_BASE) | 0; m = khi * xlo + xhi * klo; - temp = klo * xlo + m % SQRT_BASE * SQRT_BASE + carry; - carry = (temp / base | 0) + (m / SQRT_BASE | 0) + khi * xhi; + temp = klo * xlo + (m % SQRT_BASE) * SQRT_BASE + carry; + carry = ((temp / base) | 0) + ((m / SQRT_BASE) | 0) + khi * xhi; x[i] = temp % base; } - if (carry) - x = [carry].concat(x); + if (carry) x = [carry].concat(x); return x; } function compare2(a, b, aL, bL) { @@ -33335,14 +36387,36 @@ var require_bignumber2 = __commonJS({ i = a[aL] < b[aL] ? 1 : 0; a[aL] = i * base + a[aL] - b[aL]; } - for (; !a[0] && a.length > 1; a.splice(0, 1)) - ; - } - return function(x, y, dp, rm, base) { - var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, yL, yz, s = x.s == y.s ? 1 : -1, xc = x.c, yc = y.c; + for (; !a[0] && a.length > 1; a.splice(0, 1)); + } + return function (x, y, dp, rm, base) { + var cmp, + e, + i, + more, + n, + prod, + prodL, + q, + qc, + rem, + remL, + rem0, + xi, + xL, + yc0, + yL, + yz, + s = x.s == y.s ? 1 : -1, + xc = x.c, + yc = y.c; if (!xc || !xc[0] || !yc || !yc[0]) { return new BigNumber3( - !x.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) ? NaN : xc && xc[0] == 0 || !yc ? s * 0 : s / 0 + !x.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) + ? NaN + : (xc && xc[0] == 0) || !yc + ? s * 0 + : s / 0 ); } q = new BigNumber3(s); @@ -33352,12 +36426,10 @@ var require_bignumber2 = __commonJS({ if (!base) { base = BASE; e = bitFloor(x.e / LOG_BASE) - bitFloor(y.e / LOG_BASE); - s = s / LOG_BASE | 0; + s = (s / LOG_BASE) | 0; } - for (i = 0; yc[i] == (xc[i] || 0); i++) - ; - if (yc[i] > (xc[i] || 0)) - e--; + for (i = 0; yc[i] == (xc[i] || 0); i++); + if (yc[i] > (xc[i] || 0)) e--; if (s < 0) { qc.push(1); more = true; @@ -33376,24 +36448,20 @@ var require_bignumber2 = __commonJS({ xi = yL; rem = xc.slice(0, yL); remL = rem.length; - for (; remL < yL; rem[remL++] = 0) - ; + for (; remL < yL; rem[remL++] = 0); yz = yc.slice(); yz = [0].concat(yz); yc0 = yc[0]; - if (yc[1] >= base / 2) - yc0++; + if (yc[1] >= base / 2) yc0++; do { n = 0; cmp = compare2(yc, rem, yL, remL); if (cmp < 0) { rem0 = rem[0]; - if (yL != remL) - rem0 = rem0 * base + (rem[1] || 0); + if (yL != remL) rem0 = rem0 * base + (rem[1] || 0); n = mathfloor(rem0 / yc0); if (n > 1) { - if (n >= base) - n = base - 1; + if (n >= base) n = base - 1; prod = multiply(yc, n, base); prodL = prod.length; remL = rem.length; @@ -33410,8 +36478,7 @@ var require_bignumber2 = __commonJS({ prod = yc.slice(); prodL = prod.length; } - if (prodL < remL) - prod = [0].concat(prod); + if (prodL < remL) prod = [0].concat(prod); subtract(rem, prod, remL, base); remL = rem.length; if (cmp == -1) { @@ -33434,12 +36501,10 @@ var require_bignumber2 = __commonJS({ } } while ((xi++ < xL || rem[0] != null) && s--); more = rem[0] != null; - if (!qc[0]) - qc.splice(0, 1); + if (!qc[0]) qc.splice(0, 1); } if (base == BASE) { - for (i = 1, s = qc[0]; s >= 10; s /= 10, i++) - ; + for (i = 1, s = qc[0]; s >= 10; s /= 10, i++); round(q, dp + (q.e = i + e * LOG_BASE - 1) + 1, rm, more); } else { q.e = e; @@ -33447,51 +36512,48 @@ var require_bignumber2 = __commonJS({ } return q; }; - }(); + })(); function format(n, i, rm, id) { var c0, e, ne, len, str2; - if (rm == null) - rm = ROUNDING_MODE; - else - intCheck(rm, 0, 8); - if (!n.c) - return n.toString(); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); + if (!n.c) return n.toString(); c0 = n.c[0]; ne = n.e; if (i == null) { str2 = coeffToString(n.c); - str2 = id == 1 || id == 2 && (ne <= TO_EXP_NEG || ne >= TO_EXP_POS) ? toExponential(str2, ne) : toFixedPoint(str2, ne, "0"); + str2 = + id == 1 || (id == 2 && (ne <= TO_EXP_NEG || ne >= TO_EXP_POS)) + ? toExponential(str2, ne) + : toFixedPoint(str2, ne, '0'); } else { n = round(new BigNumber3(n), i, rm); e = n.e; str2 = coeffToString(n.c); len = str2.length; - if (id == 1 || id == 2 && (i <= e || e <= TO_EXP_NEG)) { - for (; len < i; str2 += "0", len++) - ; + if (id == 1 || (id == 2 && (i <= e || e <= TO_EXP_NEG))) { + for (; len < i; str2 += '0', len++); str2 = toExponential(str2, e); } else { i -= ne; - str2 = toFixedPoint(str2, e, "0"); + str2 = toFixedPoint(str2, e, '0'); if (e + 1 > len) { - if (--i > 0) - for (str2 += "."; i--; str2 += "0") - ; + if (--i > 0) for (str2 += '.'; i--; str2 += '0'); } else { i += e - len; if (i > 0) { - if (e + 1 == len) - str2 += "."; - for (; i--; str2 += "0") - ; + if (e + 1 == len) str2 += '.'; + for (; i--; str2 += '0'); } } } } - return n.s < 0 && c0 ? "-" + str2 : str2; + return n.s < 0 && c0 ? '-' + str2 : str2; } function maxOrMin(args, method) { - var n, i = 1, m = new BigNumber3(args[0]); + var n, + i = 1, + m = new BigNumber3(args[0]); for (; i < args.length; i++) { n = new BigNumber3(args[i]); if (!n.s) { @@ -33504,66 +36566,77 @@ var require_bignumber2 = __commonJS({ return m; } function normalise(n, c, e) { - var i = 1, j = c.length; - for (; !c[--j]; c.pop()) - ; - for (j = c[0]; j >= 10; j /= 10, i++) - ; + var i = 1, + j = c.length; + for (; !c[--j]; c.pop()); + for (j = c[0]; j >= 10; j /= 10, i++); if ((e = i + e * LOG_BASE - 1) > MAX_EXP) { n.c = n.e = null; } else if (e < MIN_EXP) { - n.c = [n.e = 0]; + n.c = [(n.e = 0)]; } else { n.e = e; n.c = c; } return n; } - parseNumeric = function() { - var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, dotAfter = /^([^.]+)\.$/, dotBefore = /^\.([^.]+)$/, isInfinityOrNaN = /^-?(Infinity|NaN)$/, whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; - return function(x, str2, isNum, b) { - var base, s = isNum ? str2 : str2.replace(whitespaceOrPlus, ""); + parseNumeric = (function () { + var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, + dotAfter = /^([^.]+)\.$/, + dotBefore = /^\.([^.]+)$/, + isInfinityOrNaN = /^-?(Infinity|NaN)$/, + whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; + return function (x, str2, isNum, b) { + var base, + s = isNum ? str2 : str2.replace(whitespaceOrPlus, ''); if (isInfinityOrNaN.test(s)) { x.s = isNaN(s) ? null : s < 0 ? -1 : 1; } else { if (!isNum) { - s = s.replace(basePrefix, function(m, p1, p2) { - base = (p2 = p2.toLowerCase()) == "x" ? 16 : p2 == "b" ? 2 : 8; + s = s.replace(basePrefix, function (m, p1, p2) { + base = (p2 = p2.toLowerCase()) == 'x' ? 16 : p2 == 'b' ? 2 : 8; return !b || b == base ? p1 : m; }); if (b) { base = b; - s = s.replace(dotAfter, "$1").replace(dotBefore, "0.$1"); + s = s.replace(dotAfter, '$1').replace(dotBefore, '0.$1'); } - if (str2 != s) - return new BigNumber3(s, base); + if (str2 != s) return new BigNumber3(s, base); } if (BigNumber3.DEBUG) { - throw Error(bignumberError + "Not a" + (b ? " base " + b : "") + " number: " + str2); + throw Error( + bignumberError + 'Not a' + (b ? ' base ' + b : '') + ' number: ' + str2 + ); } x.s = null; } x.c = x.e = null; }; - }(); + })(); function round(x, sd, rm, r) { - var d, i, j, k, n, ni, rd, xc = x.c, pows10 = POWS_TEN; + var d, + i, + j, + k, + n, + ni, + rd, + xc = x.c, + pows10 = POWS_TEN; if (xc) { out: { - for (d = 1, k = xc[0]; k >= 10; k /= 10, d++) - ; + for (d = 1, k = xc[0]; k >= 10; k /= 10, d++); i = sd - d; if (i < 0) { i += LOG_BASE; j = sd; - n = xc[ni = 0]; - rd = n / pows10[d - j - 1] % 10 | 0; + n = xc[(ni = 0)]; + rd = (n / pows10[d - j - 1]) % 10 | 0; } else { ni = mathceil((i + 1) / LOG_BASE); if (ni >= xc.length) { if (r) { - for (; xc.length <= ni; xc.push(0)) - ; + for (; xc.length <= ni; xc.push(0)); n = rd = 0; d = 1; i %= LOG_BASE; @@ -33573,20 +36646,28 @@ var require_bignumber2 = __commonJS({ } } else { n = k = xc[ni]; - for (d = 1; k >= 10; k /= 10, d++) - ; + for (d = 1; k >= 10; k /= 10, d++); i %= LOG_BASE; j = i - LOG_BASE + d; - rd = j < 0 ? 0 : n / pows10[d - j - 1] % 10 | 0; + rd = j < 0 ? 0 : (n / pows10[d - j - 1]) % 10 | 0; } } r = r || sd < 0 || xc[ni + 1] != null || (j < 0 ? n : n % pows10[d - j - 1]); - r = rm < 4 ? (rd || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : rd > 5 || rd == 5 && (rm == 4 || r || rm == 6 && (i > 0 ? j > 0 ? n / pows10[d - j] : 0 : xc[ni - 1]) % 10 & 1 || rm == (x.s < 0 ? 8 : 7)); + r = + rm < 4 + ? (rd || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) + : rd > 5 || + (rd == 5 && + (rm == 4 || + r || + (rm == 6 && + (i > 0 ? (j > 0 ? n / pows10[d - j] : 0) : xc[ni - 1]) % 10 & 1) || + rm == (x.s < 0 ? 8 : 7))); if (sd < 1 || !xc[0]) { xc.length = 0; if (r) { sd -= x.e + 1; - xc[0] = pows10[(LOG_BASE - sd % LOG_BASE) % LOG_BASE]; + xc[0] = pows10[(LOG_BASE - (sd % LOG_BASE)) % LOG_BASE]; x.e = -sd || 0; } else { xc[0] = x.e = 0; @@ -33600,139 +36681,141 @@ var require_bignumber2 = __commonJS({ } else { xc.length = ni + 1; k = pows10[LOG_BASE - i]; - xc[ni] = j > 0 ? mathfloor(n / pows10[d - j] % pows10[j]) * k : 0; + xc[ni] = j > 0 ? mathfloor((n / pows10[d - j]) % pows10[j]) * k : 0; } if (r) { - for (; ; ) { + for (;;) { if (ni == 0) { - for (i = 1, j = xc[0]; j >= 10; j /= 10, i++) - ; + for (i = 1, j = xc[0]; j >= 10; j /= 10, i++); j = xc[0] += k; - for (k = 1; j >= 10; j /= 10, k++) - ; + for (k = 1; j >= 10; j /= 10, k++); if (i != k) { x.e++; - if (xc[0] == BASE) - xc[0] = 1; + if (xc[0] == BASE) xc[0] = 1; } break; } else { xc[ni] += k; - if (xc[ni] != BASE) - break; + if (xc[ni] != BASE) break; xc[ni--] = 0; k = 1; } } } - for (i = xc.length; xc[--i] === 0; xc.pop()) - ; + for (i = xc.length; xc[--i] === 0; xc.pop()); } if (x.e > MAX_EXP) { x.c = x.e = null; } else if (x.e < MIN_EXP) { - x.c = [x.e = 0]; + x.c = [(x.e = 0)]; } } return x; } function valueOf(n) { - var str2, e = n.e; - if (e === null) - return n.toString(); + var str2, + e = n.e; + if (e === null) return n.toString(); str2 = coeffToString(n.c); - str2 = e <= TO_EXP_NEG || e >= TO_EXP_POS ? toExponential(str2, e) : toFixedPoint(str2, e, "0"); - return n.s < 0 ? "-" + str2 : str2; + str2 = + e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential(str2, e) + : toFixedPoint(str2, e, '0'); + return n.s < 0 ? '-' + str2 : str2; } - P.absoluteValue = P.abs = function() { + P.absoluteValue = P.abs = function () { var x = new BigNumber3(this); - if (x.s < 0) - x.s = 1; + if (x.s < 0) x.s = 1; return x; }; - P.comparedTo = function(y, b) { + P.comparedTo = function (y, b) { return compare(this, new BigNumber3(y, b)); }; - P.decimalPlaces = P.dp = function(dp, rm) { - var c, n, v, x = this; + P.decimalPlaces = P.dp = function (dp, rm) { + var c, + n, + v, + x = this; if (dp != null) { intCheck(dp, 0, MAX); - if (rm == null) - rm = ROUNDING_MODE; - else - intCheck(rm, 0, 8); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); return round(new BigNumber3(x), dp + x.e + 1, rm); } - if (!(c = x.c)) - return null; + if (!(c = x.c)) return null; n = ((v = c.length - 1) - bitFloor(this.e / LOG_BASE)) * LOG_BASE; - if (v = c[v]) - for (; v % 10 == 0; v /= 10, n--) - ; - if (n < 0) - n = 0; + if ((v = c[v])) for (; v % 10 == 0; v /= 10, n--); + if (n < 0) n = 0; return n; }; - P.dividedBy = P.div = function(y, b) { + P.dividedBy = P.div = function (y, b) { return div(this, new BigNumber3(y, b), DECIMAL_PLACES, ROUNDING_MODE); }; - P.dividedToIntegerBy = P.idiv = function(y, b) { + P.dividedToIntegerBy = P.idiv = function (y, b) { return div(this, new BigNumber3(y, b), 0, 1); }; - P.exponentiatedBy = P.pow = function(n, m) { - var half, isModExp, i, k, more, nIsBig, nIsNeg, nIsOdd, y, x = this; + P.exponentiatedBy = P.pow = function (n, m) { + var half, + isModExp, + i, + k, + more, + nIsBig, + nIsNeg, + nIsOdd, + y, + x = this; n = new BigNumber3(n); if (n.c && !n.isInteger()) { - throw Error(bignumberError + "Exponent not an integer: " + valueOf(n)); + throw Error(bignumberError + 'Exponent not an integer: ' + valueOf(n)); } - if (m != null) - m = new BigNumber3(m); + if (m != null) m = new BigNumber3(m); nIsBig = n.e > 14; - if (!x.c || !x.c[0] || x.c[0] == 1 && !x.e && x.c.length == 1 || !n.c || !n.c[0]) { + if (!x.c || !x.c[0] || (x.c[0] == 1 && !x.e && x.c.length == 1) || !n.c || !n.c[0]) { y = new BigNumber3(Math.pow(+valueOf(x), nIsBig ? 2 - isOdd(n) : +valueOf(n))); return m ? y.mod(m) : y; } nIsNeg = n.s < 0; if (m) { - if (m.c ? !m.c[0] : !m.s) - return new BigNumber3(NaN); + if (m.c ? !m.c[0] : !m.s) return new BigNumber3(NaN); isModExp = !nIsNeg && x.isInteger() && m.isInteger(); - if (isModExp) - x = x.mod(m); - } else if (n.e > 9 && (x.e > 0 || x.e < -1 || (x.e == 0 ? x.c[0] > 1 || nIsBig && x.c[1] >= 24e7 : x.c[0] < 8e13 || nIsBig && x.c[0] <= 9999975e7))) { + if (isModExp) x = x.mod(m); + } else if ( + n.e > 9 && + (x.e > 0 || + x.e < -1 || + (x.e == 0 + ? x.c[0] > 1 || (nIsBig && x.c[1] >= 24e7) + : x.c[0] < 8e13 || (nIsBig && x.c[0] <= 9999975e7))) + ) { k = x.s < 0 && isOdd(n) ? -0 : 0; - if (x.e > -1) - k = 1 / k; + if (x.e > -1) k = 1 / k; return new BigNumber3(nIsNeg ? 1 / k : k); } else if (POW_PRECISION) { k = mathceil(POW_PRECISION / LOG_BASE + 2); } if (nIsBig) { half = new BigNumber3(0.5); - if (nIsNeg) - n.s = 1; + if (nIsNeg) n.s = 1; nIsOdd = isOdd(n); } else { i = Math.abs(+valueOf(n)); nIsOdd = i % 2; } y = new BigNumber3(ONE); - for (; ; ) { + for (;;) { if (nIsOdd) { y = y.times(x); - if (!y.c) - break; + if (!y.c) break; if (k) { - if (y.c.length > k) - y.c.length = k; + if (y.c.length > k) y.c.length = k; } else if (isModExp) { y = y.mod(m); } } if (i) { i = mathfloor(i / 2); - if (i === 0) - break; + if (i === 0) break; nIsOdd = i % 2; } else { n = n.times(half); @@ -33741,89 +36824,91 @@ var require_bignumber2 = __commonJS({ nIsOdd = isOdd(n); } else { i = +valueOf(n); - if (i === 0) - break; + if (i === 0) break; nIsOdd = i % 2; } } x = x.times(x); if (k) { - if (x.c && x.c.length > k) - x.c.length = k; + if (x.c && x.c.length > k) x.c.length = k; } else if (isModExp) { x = x.mod(m); } } - if (isModExp) - return y; - if (nIsNeg) - y = ONE.div(y); + if (isModExp) return y; + if (nIsNeg) y = ONE.div(y); return m ? y.mod(m) : k ? round(y, POW_PRECISION, ROUNDING_MODE, more) : y; }; - P.integerValue = function(rm) { + P.integerValue = function (rm) { var n = new BigNumber3(this); - if (rm == null) - rm = ROUNDING_MODE; - else - intCheck(rm, 0, 8); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); return round(n, n.e + 1, rm); }; - P.isEqualTo = P.eq = function(y, b) { + P.isEqualTo = P.eq = function (y, b) { return compare(this, new BigNumber3(y, b)) === 0; }; - P.isFinite = function() { + P.isFinite = function () { return !!this.c; }; - P.isGreaterThan = P.gt = function(y, b) { + P.isGreaterThan = P.gt = function (y, b) { return compare(this, new BigNumber3(y, b)) > 0; }; - P.isGreaterThanOrEqualTo = P.gte = function(y, b) { + P.isGreaterThanOrEqualTo = P.gte = function (y, b) { return (b = compare(this, new BigNumber3(y, b))) === 1 || b === 0; }; - P.isInteger = function() { + P.isInteger = function () { return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2; }; - P.isLessThan = P.lt = function(y, b) { + P.isLessThan = P.lt = function (y, b) { return compare(this, new BigNumber3(y, b)) < 0; }; - P.isLessThanOrEqualTo = P.lte = function(y, b) { + P.isLessThanOrEqualTo = P.lte = function (y, b) { return (b = compare(this, new BigNumber3(y, b))) === -1 || b === 0; }; - P.isNaN = function() { + P.isNaN = function () { return !this.s; }; - P.isNegative = function() { + P.isNegative = function () { return this.s < 0; }; - P.isPositive = function() { + P.isPositive = function () { return this.s > 0; }; - P.isZero = function() { + P.isZero = function () { return !!this.c && this.c[0] == 0; }; - P.minus = function(y, b) { - var i, j, t, xLTy, x = this, a = x.s; + P.minus = function (y, b) { + var i, + j, + t, + xLTy, + x = this, + a = x.s; y = new BigNumber3(y, b); b = y.s; - if (!a || !b) - return new BigNumber3(NaN); + if (!a || !b) return new BigNumber3(NaN); if (a != b) { y.s = -b; return x.plus(y); } - var xe = x.e / LOG_BASE, ye = y.e / LOG_BASE, xc = x.c, yc = y.c; + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; if (!xe || !ye) { - if (!xc || !yc) - return xc ? (y.s = -b, y) : new BigNumber3(yc ? x : NaN); + if (!xc || !yc) return xc ? ((y.s = -b), y) : new BigNumber3(yc ? x : NaN); if (!xc[0] || !yc[0]) { - return yc[0] ? (y.s = -b, y) : new BigNumber3(xc[0] ? x : ROUNDING_MODE == 3 ? -0 : 0); + return yc[0] + ? ((y.s = -b), y) + : new BigNumber3(xc[0] ? x : ROUNDING_MODE == 3 ? -0 : 0); } } xe = bitFloor(xe); ye = bitFloor(ye); xc = xc.slice(); - if (a = xe - ye) { - if (xLTy = a < 0) { + if ((a = xe - ye)) { + if ((xLTy = a < 0)) { a = -a; t = xc; } else { @@ -33831,8 +36916,7 @@ var require_bignumber2 = __commonJS({ t = yc; } t.reverse(); - for (b = a; b--; t.push(0)) - ; + for (b = a; b--; t.push(0)); t.reverse(); } else { j = (xLTy = (a = xc.length) < (b = yc.length)) ? a : b; @@ -33843,37 +36927,34 @@ var require_bignumber2 = __commonJS({ } } } - if (xLTy) - t = xc, xc = yc, yc = t, y.s = -y.s; + if (xLTy) (t = xc), (xc = yc), (yc = t), (y.s = -y.s); b = (j = yc.length) - (i = xc.length); - if (b > 0) - for (; b--; xc[i++] = 0) - ; + if (b > 0) for (; b--; xc[i++] = 0); b = BASE - 1; for (; j > a; ) { if (xc[--j] < yc[j]) { - for (i = j; i && !xc[--i]; xc[i] = b) - ; + for (i = j; i && !xc[--i]; xc[i] = b); --xc[i]; xc[j] += BASE; } xc[j] -= yc[j]; } - for (; xc[0] == 0; xc.splice(0, 1), --ye) - ; + for (; xc[0] == 0; xc.splice(0, 1), --ye); if (!xc[0]) { y.s = ROUNDING_MODE == 3 ? -1 : 1; - y.c = [y.e = 0]; + y.c = [(y.e = 0)]; return y; } return normalise(y, xc, ye); }; - P.modulo = P.mod = function(y, b) { - var q, s, x = this; + P.modulo = P.mod = function (y, b) { + var q, + s, + x = this; y = new BigNumber3(y, b); - if (!x.c || !y.s || y.c && !y.c[0]) { + if (!x.c || !y.s || (y.c && !y.c[0])) { return new BigNumber3(NaN); - } else if (!y.c || x.c && !x.c[0]) { + } else if (!y.c || (x.c && !x.c[0])) { return new BigNumber3(x); } if (MODULO_MODE == 9) { @@ -33886,14 +36967,30 @@ var require_bignumber2 = __commonJS({ q = div(x, y, 0, MODULO_MODE); } y = x.minus(q.times(y)); - if (!y.c[0] && MODULO_MODE == 1) - y.s = x.s; + if (!y.c[0] && MODULO_MODE == 1) y.s = x.s; return y; }; - P.multipliedBy = P.times = function(y, b) { - var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc, base, sqrtBase, x = this, xc = x.c, yc = (y = new BigNumber3(y, b)).c; + P.multipliedBy = P.times = function (y, b) { + var c, + e, + i, + j, + k, + m, + xcL, + xlo, + xhi, + ycL, + ylo, + yhi, + zc, + base, + sqrtBase, + x = this, + xc = x.c, + yc = (y = new BigNumber3(y, b)).c; if (!xc || !yc || !xc[0] || !yc[0]) { - if (!x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) { + if (!x.s || !y.s || (xc && !xc[0] && !yc) || (yc && !yc[0] && !xc)) { y.c = y.e = y.s = null; } else { y.s *= x.s; @@ -33910,22 +37007,20 @@ var require_bignumber2 = __commonJS({ y.s *= x.s; xcL = xc.length; ycL = yc.length; - if (xcL < ycL) - zc = xc, xc = yc, yc = zc, i = xcL, xcL = ycL, ycL = i; - for (i = xcL + ycL, zc = []; i--; zc.push(0)) - ; + if (xcL < ycL) (zc = xc), (xc = yc), (yc = zc), (i = xcL), (xcL = ycL), (ycL = i); + for (i = xcL + ycL, zc = []; i--; zc.push(0)); base = BASE; sqrtBase = SQRT_BASE; for (i = ycL; --i >= 0; ) { c = 0; ylo = yc[i] % sqrtBase; - yhi = yc[i] / sqrtBase | 0; + yhi = (yc[i] / sqrtBase) | 0; for (k = xcL, j = i + k; j > i; ) { xlo = xc[--k] % sqrtBase; - xhi = xc[k] / sqrtBase | 0; + xhi = (xc[k] / sqrtBase) | 0; m = yhi * xlo + xhi * ylo; - xlo = ylo * xlo + m % sqrtBase * sqrtBase + zc[j] + c; - c = (xlo / base | 0) + (m / sqrtBase | 0) + yhi * xhi; + xlo = ylo * xlo + (m % sqrtBase) * sqrtBase + zc[j] + c; + c = ((xlo / base) | 0) + ((m / sqrtBase) | 0) + yhi * xhi; zc[j--] = xlo % base; } zc[j] = c; @@ -33937,32 +37032,34 @@ var require_bignumber2 = __commonJS({ } return normalise(y, zc, e); }; - P.negated = function() { + P.negated = function () { var x = new BigNumber3(this); x.s = -x.s || null; return x; }; - P.plus = function(y, b) { - var t, x = this, a = x.s; + P.plus = function (y, b) { + var t, + x = this, + a = x.s; y = new BigNumber3(y, b); b = y.s; - if (!a || !b) - return new BigNumber3(NaN); + if (!a || !b) return new BigNumber3(NaN); if (a != b) { y.s = -b; return x.minus(y); } - var xe = x.e / LOG_BASE, ye = y.e / LOG_BASE, xc = x.c, yc = y.c; + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; if (!xe || !ye) { - if (!xc || !yc) - return new BigNumber3(a / 0); - if (!xc[0] || !yc[0]) - return yc[0] ? y : new BigNumber3(xc[0] ? x : a * 0); + if (!xc || !yc) return new BigNumber3(a / 0); + if (!xc[0] || !yc[0]) return yc[0] ? y : new BigNumber3(xc[0] ? x : a * 0); } xe = bitFloor(xe); ye = bitFloor(ye); xc = xc.slice(); - if (a = xe - ye) { + if ((a = xe - ye)) { if (a > 0) { ye = xe; t = yc; @@ -33971,16 +37068,14 @@ var require_bignumber2 = __commonJS({ t = xc; } t.reverse(); - for (; a--; t.push(0)) - ; + for (; a--; t.push(0)); t.reverse(); } a = xc.length; b = yc.length; - if (a - b < 0) - t = yc, yc = xc, xc = t, b = a; + if (a - b < 0) (t = yc), (yc = xc), (xc = t), (b = a); for (a = 0; b; ) { - a = (xc[--b] = xc[b] + yc[b] + a) / BASE | 0; + a = ((xc[--b] = xc[b] + yc[b] + a) / BASE) | 0; xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE; } if (a) { @@ -33989,69 +37084,73 @@ var require_bignumber2 = __commonJS({ } return normalise(y, xc, ye); }; - P.precision = P.sd = function(sd, rm) { - var c, n, v, x = this; + P.precision = P.sd = function (sd, rm) { + var c, + n, + v, + x = this; if (sd != null && sd !== !!sd) { intCheck(sd, 1, MAX); - if (rm == null) - rm = ROUNDING_MODE; - else - intCheck(rm, 0, 8); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); return round(new BigNumber3(x), sd, rm); } - if (!(c = x.c)) - return null; + if (!(c = x.c)) return null; v = c.length - 1; n = v * LOG_BASE + 1; - if (v = c[v]) { - for (; v % 10 == 0; v /= 10, n--) - ; - for (v = c[0]; v >= 10; v /= 10, n++) - ; - } - if (sd && x.e + 1 > n) - n = x.e + 1; + if ((v = c[v])) { + for (; v % 10 == 0; v /= 10, n--); + for (v = c[0]; v >= 10; v /= 10, n++); + } + if (sd && x.e + 1 > n) n = x.e + 1; return n; }; - P.shiftedBy = function(k) { + P.shiftedBy = function (k) { intCheck(k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER); - return this.times("1e" + k); + return this.times('1e' + k); }; - P.squareRoot = P.sqrt = function() { - var m, n, r, rep, t, x = this, c = x.c, s = x.s, e = x.e, dp = DECIMAL_PLACES + 4, half = new BigNumber3("0.5"); + P.squareRoot = P.sqrt = function () { + var m, + n, + r, + rep, + t, + x = this, + c = x.c, + s = x.s, + e = x.e, + dp = DECIMAL_PLACES + 4, + half = new BigNumber3('0.5'); if (s !== 1 || !c || !c[0]) { - return new BigNumber3(!s || s < 0 && (!c || c[0]) ? NaN : c ? x : 1 / 0); + return new BigNumber3(!s || (s < 0 && (!c || c[0])) ? NaN : c ? x : 1 / 0); } s = Math.sqrt(+valueOf(x)); if (s == 0 || s == 1 / 0) { n = coeffToString(c); - if ((n.length + e) % 2 == 0) - n += "0"; + if ((n.length + e) % 2 == 0) n += '0'; s = Math.sqrt(+n); e = bitFloor((e + 1) / 2) - (e < 0 || e % 2); if (s == 1 / 0) { - n = "5e" + e; + n = '5e' + e; } else { n = s.toExponential(); - n = n.slice(0, n.indexOf("e") + 1) + e; + n = n.slice(0, n.indexOf('e') + 1) + e; } r = new BigNumber3(n); } else { - r = new BigNumber3(s + ""); + r = new BigNumber3(s + ''); } if (r.c[0]) { e = r.e; s = e + dp; - if (s < 3) - s = 0; - for (; ; ) { + if (s < 3) s = 0; + for (;;) { t = r; r = half.times(t.plus(div(x, t, dp, 1))); if (coeffToString(t.c).slice(0, s) === (n = coeffToString(r.c)).slice(0, s)) { - if (r.e < e) - --s; + if (r.e < e) --s; n = n.slice(s - 3, s + 1); - if (n == "9999" || !rep && n == "4999") { + if (n == '9999' || (!rep && n == '4999')) { if (!rep) { round(t, t.e + DECIMAL_PLACES + 2, 0); if (t.times(t).eq(x)) { @@ -34063,7 +37162,7 @@ var require_bignumber2 = __commonJS({ s += 4; rep = 1; } else { - if (!+n || !+n.slice(1) && n.charAt(0) == "5") { + if (!+n || (!+n.slice(1) && n.charAt(0) == '5')) { round(r, r.e + DECIMAL_PLACES + 2, 1); m = !r.times(r).eq(x); } @@ -34074,88 +37173,116 @@ var require_bignumber2 = __commonJS({ } return round(r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m); }; - P.toExponential = function(dp, rm) { + P.toExponential = function (dp, rm) { if (dp != null) { intCheck(dp, 0, MAX); dp++; } return format(this, dp, rm, 1); }; - P.toFixed = function(dp, rm) { + P.toFixed = function (dp, rm) { if (dp != null) { intCheck(dp, 0, MAX); dp = dp + this.e + 1; } return format(this, dp, rm); }; - P.toFormat = function(dp, rm, format2) { - var str2, x = this; + P.toFormat = function (dp, rm, format2) { + var str2, + x = this; if (format2 == null) { - if (dp != null && rm && typeof rm == "object") { + if (dp != null && rm && typeof rm == 'object') { format2 = rm; rm = null; - } else if (dp && typeof dp == "object") { + } else if (dp && typeof dp == 'object') { format2 = dp; dp = rm = null; } else { format2 = FORMAT; } - } else if (typeof format2 != "object") { - throw Error(bignumberError + "Argument not an object: " + format2); + } else if (typeof format2 != 'object') { + throw Error(bignumberError + 'Argument not an object: ' + format2); } str2 = x.toFixed(dp, rm); if (x.c) { - var i, arr = str2.split("."), g1 = +format2.groupSize, g2 = +format2.secondaryGroupSize, groupSeparator = format2.groupSeparator || "", intPart = arr[0], fractionPart = arr[1], isNeg = x.s < 0, intDigits = isNeg ? intPart.slice(1) : intPart, len = intDigits.length; - if (g2) - i = g1, g1 = g2, g2 = i, len -= i; + var i, + arr = str2.split('.'), + g1 = +format2.groupSize, + g2 = +format2.secondaryGroupSize, + groupSeparator = format2.groupSeparator || '', + intPart = arr[0], + fractionPart = arr[1], + isNeg = x.s < 0, + intDigits = isNeg ? intPart.slice(1) : intPart, + len = intDigits.length; + if (g2) (i = g1), (g1 = g2), (g2 = i), (len -= i); if (g1 > 0 && len > 0) { i = len % g1 || g1; intPart = intDigits.substr(0, i); - for (; i < len; i += g1) - intPart += groupSeparator + intDigits.substr(i, g1); - if (g2 > 0) - intPart += groupSeparator + intDigits.slice(i); - if (isNeg) - intPart = "-" + intPart; - } - str2 = fractionPart ? intPart + (format2.decimalSeparator || "") + ((g2 = +format2.fractionGroupSize) ? fractionPart.replace( - new RegExp("\\d{" + g2 + "}\\B", "g"), - "$&" + (format2.fractionGroupSeparator || "") - ) : fractionPart) : intPart; - } - return (format2.prefix || "") + str2 + (format2.suffix || ""); + for (; i < len; i += g1) intPart += groupSeparator + intDigits.substr(i, g1); + if (g2 > 0) intPart += groupSeparator + intDigits.slice(i); + if (isNeg) intPart = '-' + intPart; + } + str2 = fractionPart + ? intPart + + (format2.decimalSeparator || '') + + ((g2 = +format2.fractionGroupSize) + ? fractionPart.replace( + new RegExp('\\d{' + g2 + '}\\B', 'g'), + '$&' + (format2.fractionGroupSeparator || '') + ) + : fractionPart) + : intPart; + } + return (format2.prefix || '') + str2 + (format2.suffix || ''); }; - P.toFraction = function(md) { - var d, d0, d1, d2, e, exp, n, n0, n1, q, r, s, x = this, xc = x.c; + P.toFraction = function (md) { + var d, + d0, + d1, + d2, + e, + exp, + n, + n0, + n1, + q, + r, + s, + x = this, + xc = x.c; if (md != null) { n = new BigNumber3(md); - if (!n.isInteger() && (n.c || n.s !== 1) || n.lt(ONE)) { - throw Error(bignumberError + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + valueOf(n)); + if ((!n.isInteger() && (n.c || n.s !== 1)) || n.lt(ONE)) { + throw Error( + bignumberError + + 'Argument ' + + (n.isInteger() ? 'out of range: ' : 'not an integer: ') + + valueOf(n) + ); } } - if (!xc) - return new BigNumber3(x); + if (!xc) return new BigNumber3(x); d = new BigNumber3(ONE); n1 = d0 = new BigNumber3(ONE); d1 = n0 = new BigNumber3(ONE); s = coeffToString(xc); e = d.e = s.length - x.e - 1; d.c[0] = POWS_TEN[(exp = e % LOG_BASE) < 0 ? LOG_BASE + exp : exp]; - md = !md || n.comparedTo(d) > 0 ? e > 0 ? d : n1 : n; + md = !md || n.comparedTo(d) > 0 ? (e > 0 ? d : n1) : n; exp = MAX_EXP; MAX_EXP = 1 / 0; n = new BigNumber3(s); n0.c[0] = 0; - for (; ; ) { + for (;;) { q = div(n, d, 0, 1); d2 = d0.plus(q.times(d1)); - if (d2.comparedTo(md) == 1) - break; + if (d2.comparedTo(md) == 1) break; d0 = d1; d1 = d2; - n1 = n0.plus(q.times(d2 = n1)); + n1 = n0.plus(q.times((d2 = n1))); n0 = d2; - d = n.minus(q.times(d2 = d)); + d = n.minus(q.times((d2 = d))); n = d2; } d2 = div(md.minus(d0), d1, 0, 1); @@ -34163,51 +37290,57 @@ var require_bignumber2 = __commonJS({ d0 = d0.plus(d2.times(d1)); n0.s = n1.s = x.s; e = e * 2; - r = div(n1, d1, e, ROUNDING_MODE).minus(x).abs().comparedTo( - div(n0, d0, e, ROUNDING_MODE).minus(x).abs() - ) < 1 ? [n1, d1] : [n0, d0]; + r = + div(n1, d1, e, ROUNDING_MODE) + .minus(x) + .abs() + .comparedTo(div(n0, d0, e, ROUNDING_MODE).minus(x).abs()) < 1 + ? [n1, d1] + : [n0, d0]; MAX_EXP = exp; return r; }; - P.toNumber = function() { + P.toNumber = function () { return +valueOf(this); }; - P.toPrecision = function(sd, rm) { - if (sd != null) - intCheck(sd, 1, MAX); + P.toPrecision = function (sd, rm) { + if (sd != null) intCheck(sd, 1, MAX); return format(this, sd, rm, 2); }; - P.toString = function(b) { - var str2, n = this, s = n.s, e = n.e; + P.toString = function (b) { + var str2, + n = this, + s = n.s, + e = n.e; if (e === null) { if (s) { - str2 = "Infinity"; - if (s < 0) - str2 = "-" + str2; + str2 = 'Infinity'; + if (s < 0) str2 = '-' + str2; } else { - str2 = "NaN"; + str2 = 'NaN'; } } else { if (b == null) { - str2 = e <= TO_EXP_NEG || e >= TO_EXP_POS ? toExponential(coeffToString(n.c), e) : toFixedPoint(coeffToString(n.c), e, "0"); + str2 = + e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential(coeffToString(n.c), e) + : toFixedPoint(coeffToString(n.c), e, '0'); } else if (b === 10 && alphabetHasNormalDecimalDigits) { n = round(new BigNumber3(n), DECIMAL_PLACES + e + 1, ROUNDING_MODE); - str2 = toFixedPoint(coeffToString(n.c), n.e, "0"); + str2 = toFixedPoint(coeffToString(n.c), n.e, '0'); } else { - intCheck(b, 2, ALPHABET.length, "Base"); - str2 = convertBase(toFixedPoint(coeffToString(n.c), e, "0"), 10, b, s, true); + intCheck(b, 2, ALPHABET.length, 'Base'); + str2 = convertBase(toFixedPoint(coeffToString(n.c), e, '0'), 10, b, s, true); } - if (s < 0 && n.c[0]) - str2 = "-" + str2; + if (s < 0 && n.c[0]) str2 = '-' + str2; } return str2; }; - P.valueOf = P.toJSON = function() { + P.valueOf = P.toJSON = function () { return valueOf(this); }; P._isBigNumber = true; - if (configObject != null) - BigNumber3.set(configObject); + if (configObject != null) BigNumber3.set(configObject); return BigNumber3; } function bitFloor(n) { @@ -34215,43 +37348,54 @@ var require_bignumber2 = __commonJS({ return n > 0 || n === i ? i : i - 1; } function coeffToString(a) { - var s, z, i = 1, j = a.length, r = a[0] + ""; + var s, + z, + i = 1, + j = a.length, + r = a[0] + ''; for (; i < j; ) { - s = a[i++] + ""; + s = a[i++] + ''; z = LOG_BASE - s.length; - for (; z--; s = "0" + s) - ; + for (; z--; s = '0' + s); r += s; } - for (j = r.length; r.charCodeAt(--j) === 48; ) - ; + for (j = r.length; r.charCodeAt(--j) === 48; ); return r.slice(0, j + 1 || 1); } function compare(x, y) { - var a, b, xc = x.c, yc = y.c, i = x.s, j = y.s, k = x.e, l = y.e; - if (!i || !j) - return null; + var a, + b, + xc = x.c, + yc = y.c, + i = x.s, + j = y.s, + k = x.e, + l = y.e; + if (!i || !j) return null; a = xc && !xc[0]; b = yc && !yc[0]; - if (a || b) - return a ? b ? 0 : -j : i; - if (i != j) - return i; + if (a || b) return a ? (b ? 0 : -j) : i; + if (i != j) return i; a = i < 0; b = k == l; - if (!xc || !yc) - return b ? 0 : !xc ^ a ? 1 : -1; - if (!b) - return k > l ^ a ? 1 : -1; + if (!xc || !yc) return b ? 0 : !xc ^ a ? 1 : -1; + if (!b) return (k > l) ^ a ? 1 : -1; j = (k = xc.length) < (l = yc.length) ? k : l; - for (i = 0; i < j; i++) - if (xc[i] != yc[i]) - return xc[i] > yc[i] ^ a ? 1 : -1; - return k == l ? 0 : k > l ^ a ? 1 : -1; + for (i = 0; i < j; i++) if (xc[i] != yc[i]) return (xc[i] > yc[i]) ^ a ? 1 : -1; + return k == l ? 0 : (k > l) ^ a ? 1 : -1; } function intCheck(n, min, max, name2) { if (n < min || n > max || n !== mathfloor(n)) { - throw Error(bignumberError + (name2 || "Argument") + (typeof n == "number" ? n < min || n > max ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(n)); + throw Error( + bignumberError + + (name2 || 'Argument') + + (typeof n == 'number' + ? n < min || n > max + ? ' out of range: ' + : ' not an integer: ' + : ' not a primitive number: ') + + String(n) + ); } } function isOdd(n) { @@ -34259,50 +37403,64 @@ var require_bignumber2 = __commonJS({ return bitFloor(n.e / LOG_BASE) == k && n.c[k] % 2 != 0; } function toExponential(str2, e) { - return (str2.length > 1 ? str2.charAt(0) + "." + str2.slice(1) : str2) + (e < 0 ? "e" : "e+") + e; + return ( + (str2.length > 1 ? str2.charAt(0) + '.' + str2.slice(1) : str2) + (e < 0 ? 'e' : 'e+') + e + ); } function toFixedPoint(str2, e, z) { var len, zs; if (e < 0) { - for (zs = z + "."; ++e; zs += z) - ; + for (zs = z + '.'; ++e; zs += z); str2 = zs + str2; } else { len = str2.length; if (++e > len) { - for (zs = z, e -= len; --e; zs += z) - ; + for (zs = z, e -= len; --e; zs += z); str2 += zs; } else if (e < len) { - str2 = str2.slice(0, e) + "." + str2.slice(e); + str2 = str2.slice(0, e) + '.' + str2.slice(e); } } return str2; } BigNumber2 = clone(); - BigNumber2["default"] = BigNumber2.BigNumber = BigNumber2; - if (typeof define == "function" && define.amd) { - define(function() { + BigNumber2['default'] = BigNumber2.BigNumber = BigNumber2; + if (typeof define == 'function' && define.amd) { + define(function () { return BigNumber2; }); - } else if (typeof module2 != "undefined" && module2.exports) { + } else if (typeof module2 != 'undefined' && module2.exports) { module2.exports = BigNumber2; } else { if (!globalObject) { - globalObject = typeof self != "undefined" && self ? self : window; + globalObject = typeof self != 'undefined' && self ? self : window; } globalObject.BigNumber = BigNumber2; } })(exports2); - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/utils.js var require_utils6 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/utils.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.augustusToAmountOffsetFromCalldata = exports2.mintAmountsPerToken = exports2.gasLimitRecommendations = exports2.SURPLUS = exports2.uniswapEthAmount = exports2.API_ETH_MOCK_ADDRESS = exports2.SUPER_BIG_ALLOWANCE_NUMBER = exports2.MAX_UINT_AMOUNT = exports2.DEFAULT_APPROVE_AMOUNT = exports2.DEFAULT_NULL_VALUE_ON_TX = exports2.getTxValue = exports2.decimalsToCurrencyUnits = exports2.canBeEnsAddress = exports2.valueToWei = void 0; + 'node_modules/@aave/contract-helpers/dist/cjs/commons/utils.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.augustusToAmountOffsetFromCalldata = + exports2.mintAmountsPerToken = + exports2.gasLimitRecommendations = + exports2.SURPLUS = + exports2.uniswapEthAmount = + exports2.API_ETH_MOCK_ADDRESS = + exports2.SUPER_BIG_ALLOWANCE_NUMBER = + exports2.MAX_UINT_AMOUNT = + exports2.DEFAULT_APPROVE_AMOUNT = + exports2.DEFAULT_NULL_VALUE_ON_TX = + exports2.getTxValue = + exports2.decimalsToCurrencyUnits = + exports2.canBeEnsAddress = + exports2.valueToWei = + void 0; var bignumber_js_1 = require_bignumber2(); var ethers_1 = require_lib31(); var types_1 = require_types2(); @@ -34311,91 +37469,96 @@ var require_utils6 = __commonJS({ }; exports2.valueToWei = valueToWei; var canBeEnsAddress = (ensAddress) => { - return ensAddress.toLowerCase().endsWith(".eth"); + return ensAddress.toLowerCase().endsWith('.eth'); }; exports2.canBeEnsAddress = canBeEnsAddress; - var decimalsToCurrencyUnits = (value, decimals) => new bignumber_js_1.BigNumber(value).shiftedBy(decimals * -1).toFixed(); + var decimalsToCurrencyUnits = (value, decimals) => + new bignumber_js_1.BigNumber(value).shiftedBy(decimals * -1).toFixed(); exports2.decimalsToCurrencyUnits = decimalsToCurrencyUnits; var getTxValue = (reserve, amount) => { - return reserve.toLowerCase() === exports2.API_ETH_MOCK_ADDRESS.toLowerCase() ? amount : exports2.DEFAULT_NULL_VALUE_ON_TX; + return reserve.toLowerCase() === exports2.API_ETH_MOCK_ADDRESS.toLowerCase() + ? amount + : exports2.DEFAULT_NULL_VALUE_ON_TX; }; exports2.getTxValue = getTxValue; exports2.DEFAULT_NULL_VALUE_ON_TX = ethers_1.BigNumber.from(0).toHexString(); exports2.DEFAULT_APPROVE_AMOUNT = ethers_1.constants.MaxUint256.toString(); - exports2.MAX_UINT_AMOUNT = "115792089237316195423570985008687907853269984665640564039457584007913129639935"; - exports2.SUPER_BIG_ALLOWANCE_NUMBER = "11579208923731619542357098500868790785326998466564056403945758400791"; - exports2.API_ETH_MOCK_ADDRESS = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"; - exports2.uniswapEthAmount = "0.1"; - exports2.SURPLUS = "0.05"; + exports2.MAX_UINT_AMOUNT = + '115792089237316195423570985008687907853269984665640564039457584007913129639935'; + exports2.SUPER_BIG_ALLOWANCE_NUMBER = + '11579208923731619542357098500868790785326998466564056403945758400791'; + exports2.API_ETH_MOCK_ADDRESS = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE'; + exports2.uniswapEthAmount = '0.1'; + exports2.SURPLUS = '0.05'; exports2.gasLimitRecommendations = { [types_1.ProtocolAction.default]: { - limit: "210000", - recommended: "210000" + limit: '210000', + recommended: '210000', }, [types_1.ProtocolAction.supply]: { - limit: "300000", - recommended: "300000" + limit: '300000', + recommended: '300000', }, [types_1.ProtocolAction.deposit]: { - limit: "300000", - recommended: "300000" + limit: '300000', + recommended: '300000', }, [types_1.ProtocolAction.withdraw]: { - limit: "230000", - recommended: "300000" + limit: '230000', + recommended: '300000', }, [types_1.ProtocolAction.liquidationCall]: { - limit: "700000", - recommended: "700000" + limit: '700000', + recommended: '700000', }, [types_1.ProtocolAction.liquidationFlash]: { - limit: "995000", - recommended: "995000" + limit: '995000', + recommended: '995000', }, [types_1.ProtocolAction.repay]: { - limit: "300000", - recommended: "300000" + limit: '300000', + recommended: '300000', }, [types_1.ProtocolAction.borrowETH]: { - limit: "450000", - recommended: "450000" + limit: '450000', + recommended: '450000', }, [types_1.ProtocolAction.withdrawETH]: { - limit: "640000", - recommended: "640000" + limit: '640000', + recommended: '640000', }, [types_1.ProtocolAction.swapCollateral]: { - limit: "1000000", - recommended: "1000000" + limit: '1000000', + recommended: '1000000', }, [types_1.ProtocolAction.repayCollateral]: { - limit: "700000", - recommended: "700000" - } + limit: '700000', + recommended: '700000', + }, }; exports2.mintAmountsPerToken = { - AAVE: (0, exports2.valueToWei)("100", 18), - BAT: (0, exports2.valueToWei)("100000", 18), - BUSD: (0, exports2.valueToWei)("10000", 18), - DAI: (0, exports2.valueToWei)("10000", 18), - ENJ: (0, exports2.valueToWei)("100000", 18), - KNC: (0, exports2.valueToWei)("10000", 18), - LEND: (0, exports2.valueToWei)("1000", 18), - LINK: (0, exports2.valueToWei)("1000", 18), - MANA: (0, exports2.valueToWei)("100000", 18), - MKR: (0, exports2.valueToWei)("10", 18), - WETH: (0, exports2.valueToWei)("10", 18), - REN: (0, exports2.valueToWei)("10000", 18), - REP: (0, exports2.valueToWei)("1000", 18), - SNX: (0, exports2.valueToWei)("100", 18), - SUSD: (0, exports2.valueToWei)("10000", 18), - TUSD: "0", - UNI: (0, exports2.valueToWei)("1000", 18), - USDC: (0, exports2.valueToWei)("10000", 6), - USDT: (0, exports2.valueToWei)("10000", 6), - WBTC: (0, exports2.valueToWei)("1", 8), - YFI: (0, exports2.valueToWei)("1", 18), - ZRX: (0, exports2.valueToWei)("100000", 18), + AAVE: (0, exports2.valueToWei)('100', 18), + BAT: (0, exports2.valueToWei)('100000', 18), + BUSD: (0, exports2.valueToWei)('10000', 18), + DAI: (0, exports2.valueToWei)('10000', 18), + ENJ: (0, exports2.valueToWei)('100000', 18), + KNC: (0, exports2.valueToWei)('10000', 18), + LEND: (0, exports2.valueToWei)('1000', 18), + LINK: (0, exports2.valueToWei)('1000', 18), + MANA: (0, exports2.valueToWei)('100000', 18), + MKR: (0, exports2.valueToWei)('10', 18), + WETH: (0, exports2.valueToWei)('10', 18), + REN: (0, exports2.valueToWei)('10000', 18), + REP: (0, exports2.valueToWei)('1000', 18), + SNX: (0, exports2.valueToWei)('100', 18), + SUSD: (0, exports2.valueToWei)('10000', 18), + TUSD: '0', + UNI: (0, exports2.valueToWei)('1000', 18), + USDC: (0, exports2.valueToWei)('10000', 6), + USDT: (0, exports2.valueToWei)('10000', 6), + WBTC: (0, exports2.valueToWei)('1', 8), + YFI: (0, exports2.valueToWei)('1', 18), + ZRX: (0, exports2.valueToWei)('100000', 18), UNIUSDC: (0, exports2.valueToWei)(exports2.uniswapEthAmount, 6), UNIDAI: (0, exports2.valueToWei)(exports2.uniswapEthAmount, 18), UNIUSDT: (0, exports2.valueToWei)(exports2.uniswapEthAmount, 6), @@ -34405,39 +37568,39 @@ var require_utils6 = __commonJS({ UNILENDETH: (0, exports2.valueToWei)(exports2.uniswapEthAmount, 18), UNILINKETH: (0, exports2.valueToWei)(exports2.uniswapEthAmount, 18), UNIMKRETH: (0, exports2.valueToWei)(exports2.uniswapEthAmount, 18), - EURS: (0, exports2.valueToWei)("10000", 2), - AGEUR: (0, exports2.valueToWei)("10000", 18), - BAL: (0, exports2.valueToWei)("10000", 18), - CRV: (0, exports2.valueToWei)("10000", 18), - DPI: (0, exports2.valueToWei)("10000", 18), - GHST: (0, exports2.valueToWei)("10000", 18), - JEUR: (0, exports2.valueToWei)("10000", 18), - SUSHI: (0, exports2.valueToWei)("10000", 18) + EURS: (0, exports2.valueToWei)('10000', 2), + AGEUR: (0, exports2.valueToWei)('10000', 18), + BAL: (0, exports2.valueToWei)('10000', 18), + CRV: (0, exports2.valueToWei)('10000', 18), + DPI: (0, exports2.valueToWei)('10000', 18), + GHST: (0, exports2.valueToWei)('10000', 18), + JEUR: (0, exports2.valueToWei)('10000', 18), + SUSHI: (0, exports2.valueToWei)('10000', 18), }; var augustusToAmountOffsetFromCalldata = (calldata) => { switch (calldata.slice(0, 10)) { - case "0x935fb84b": + case '0x935fb84b': return 36; - case "0xc03786b0": + case '0xc03786b0': return 100; - case "0xb2f1e6db": + case '0xb2f1e6db': return 68; - case "0xb66bcbac": - case "0x35326910": + case '0xb66bcbac': + case '0x35326910': return 164; default: - throw new Error("Unrecognized function selector for Augustus"); + throw new Error('Unrecognized function selector for Augustus'); } }; exports2.augustusToAmountOffsetFromCalldata = augustusToAmountOffsetFromCalldata; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/BaseService.js var require_BaseService = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/BaseService.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/commons/BaseService.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); var ethers_1 = require_lib31(); var gasStation_1 = require_gasStation(); var types_1 = require_types2(); @@ -34450,213 +37613,237 @@ var require_BaseService = __commonJS({ } return this.contractInstances[address]; }; - this.generateTxCallback = ({ rawTxMethod, from, value, gasSurplus, action }) => () => __async(this, null, function* () { - const txRaw = yield rawTxMethod(); - const tx = Object.assign(Object.assign({}, txRaw), { from, value: value !== null && value !== void 0 ? value : utils_1.DEFAULT_NULL_VALUE_ON_TX }); - tx.gasLimit = yield (0, gasStation_1.estimateGasByNetwork)(tx, this.provider, gasSurplus); - if (action && utils_1.gasLimitRecommendations[action] && tx.gasLimit.lte(ethers_1.BigNumber.from(utils_1.gasLimitRecommendations[action].limit))) { - tx.gasLimit = ethers_1.BigNumber.from(utils_1.gasLimitRecommendations[action].recommended); - } - return tx; - }); - this.generateTxPriceEstimation = (txs, txCallback, action = types_1.ProtocolAction.default) => (force = false) => __async(this, null, function* () { - const gasPrice = yield this.provider.getGasPrice(); - const hasPendingApprovals = txs.find((tx) => tx.txType === types_1.eEthereumTxType.ERC20_APPROVAL); - if (!hasPendingApprovals || force) { - const { gasLimit, gasPrice: gasPriceProv } = yield txCallback(); - if (!gasLimit) { - throw new Error("Transaction calculation error"); - } - return { - gasLimit: gasLimit.toString(), - gasPrice: gasPriceProv ? gasPriceProv.toString() : gasPrice.toString() - }; - } - return { - gasLimit: utils_1.gasLimitRecommendations[action].recommended, - gasPrice: gasPrice.toString() - }; - }); + this.generateTxCallback = + ({ rawTxMethod, from, value, gasSurplus, action }) => + () => + __async(this, null, function* () { + const txRaw = yield rawTxMethod(); + const tx = Object.assign(Object.assign({}, txRaw), { + from, + value: + value !== null && value !== void 0 ? value : utils_1.DEFAULT_NULL_VALUE_ON_TX, + }); + tx.gasLimit = yield (0, gasStation_1.estimateGasByNetwork)( + tx, + this.provider, + gasSurplus + ); + if ( + action && + utils_1.gasLimitRecommendations[action] && + tx.gasLimit.lte( + ethers_1.BigNumber.from(utils_1.gasLimitRecommendations[action].limit) + ) + ) { + tx.gasLimit = ethers_1.BigNumber.from( + utils_1.gasLimitRecommendations[action].recommended + ); + } + return tx; + }); + this.generateTxPriceEstimation = + (txs, txCallback, action = types_1.ProtocolAction.default) => + (force = false) => + __async(this, null, function* () { + const gasPrice = yield this.provider.getGasPrice(); + const hasPendingApprovals = txs.find( + (tx) => tx.txType === types_1.eEthereumTxType.ERC20_APPROVAL + ); + if (!hasPendingApprovals || force) { + const { gasLimit, gasPrice: gasPriceProv } = yield txCallback(); + if (!gasLimit) { + throw new Error('Transaction calculation error'); + } + return { + gasLimit: gasLimit.toString(), + gasPrice: gasPriceProv ? gasPriceProv.toString() : gasPrice.toString(), + }; + } + return { + gasLimit: utils_1.gasLimitRecommendations[action].recommended, + gasPrice: gasPrice.toString(), + }; + }); this.contractFactory = contractFactory; this.provider = provider; this.contractInstances = {}; } }; exports2.default = BaseService; - } + }, }); // node_modules/reflect-metadata/Reflect.js var require_Reflect = __commonJS({ - "node_modules/reflect-metadata/Reflect.js"() { + 'node_modules/reflect-metadata/Reflect.js'() { var Reflect2; - (function(Reflect3) { - (function(factory) { - var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : Function("return this;")(); + (function (Reflect3) { + (function (factory) { + var root = + typeof global === 'object' + ? global + : typeof self === 'object' + ? self + : typeof this === 'object' + ? this + : Function('return this;')(); var exporter = makeExporter(Reflect3); - if (typeof root.Reflect === "undefined") { + if (typeof root.Reflect === 'undefined') { root.Reflect = Reflect3; } else { exporter = makeExporter(root.Reflect, exporter); } factory(exporter); function makeExporter(target, previous) { - return function(key, value) { - if (typeof target[key] !== "function") { + return function (key, value) { + if (typeof target[key] !== 'function') { Object.defineProperty(target, key, { configurable: true, writable: true, value }); } - if (previous) - previous(key, value); + if (previous) previous(key, value); }; } - })(function(exporter) { + })(function (exporter) { var hasOwn = Object.prototype.hasOwnProperty; - var supportsSymbol = typeof Symbol === "function"; - var toPrimitiveSymbol = supportsSymbol && typeof Symbol.toPrimitive !== "undefined" ? Symbol.toPrimitive : "@@toPrimitive"; - var iteratorSymbol = supportsSymbol && typeof Symbol.iterator !== "undefined" ? Symbol.iterator : "@@iterator"; - var supportsCreate = typeof Object.create === "function"; + var supportsSymbol = typeof Symbol === 'function'; + var toPrimitiveSymbol = + supportsSymbol && typeof Symbol.toPrimitive !== 'undefined' + ? Symbol.toPrimitive + : '@@toPrimitive'; + var iteratorSymbol = + supportsSymbol && typeof Symbol.iterator !== 'undefined' ? Symbol.iterator : '@@iterator'; + var supportsCreate = typeof Object.create === 'function'; var supportsProto = { __proto__: [] } instanceof Array; var downLevel = !supportsCreate && !supportsProto; var HashMap = { - create: supportsCreate ? function() { - return MakeDictionary(/* @__PURE__ */ Object.create(null)); - } : supportsProto ? function() { - return MakeDictionary({ __proto__: null }); - } : function() { - return MakeDictionary({}); - }, - has: downLevel ? function(map, key) { - return hasOwn.call(map, key); - } : function(map, key) { - return key in map; - }, - get: downLevel ? function(map, key) { - return hasOwn.call(map, key) ? map[key] : void 0; - } : function(map, key) { - return map[key]; - } + create: supportsCreate + ? function () { + return MakeDictionary(/* @__PURE__ */ Object.create(null)); + } + : supportsProto + ? function () { + return MakeDictionary({ __proto__: null }); + } + : function () { + return MakeDictionary({}); + }, + has: downLevel + ? function (map, key) { + return hasOwn.call(map, key); + } + : function (map, key) { + return key in map; + }, + get: downLevel + ? function (map, key) { + return hasOwn.call(map, key) ? map[key] : void 0; + } + : function (map, key) { + return map[key]; + }, }; var functionPrototype = Object.getPrototypeOf(Function); - var usePolyfill = typeof process === "object" && process.env && process.env["REFLECT_METADATA_USE_MAP_POLYFILL"] === "true"; - var _Map = !usePolyfill && typeof Map === "function" && typeof Map.prototype.entries === "function" ? Map : CreateMapPolyfill(); - var _Set = !usePolyfill && typeof Set === "function" && typeof Set.prototype.entries === "function" ? Set : CreateSetPolyfill(); - var _WeakMap = !usePolyfill && typeof WeakMap === "function" ? WeakMap : CreateWeakMapPolyfill(); + var usePolyfill = + typeof process === 'object' && + process.env && + process.env['REFLECT_METADATA_USE_MAP_POLYFILL'] === 'true'; + var _Map = + !usePolyfill && typeof Map === 'function' && typeof Map.prototype.entries === 'function' + ? Map + : CreateMapPolyfill(); + var _Set = + !usePolyfill && typeof Set === 'function' && typeof Set.prototype.entries === 'function' + ? Set + : CreateSetPolyfill(); + var _WeakMap = + !usePolyfill && typeof WeakMap === 'function' ? WeakMap : CreateWeakMapPolyfill(); var Metadata = new _WeakMap(); function decorate(decorators, target, propertyKey, attributes) { if (!IsUndefined(propertyKey)) { - if (!IsArray(decorators)) - throw new TypeError(); - if (!IsObject(target)) - throw new TypeError(); + if (!IsArray(decorators)) throw new TypeError(); + if (!IsObject(target)) throw new TypeError(); if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes)) throw new TypeError(); - if (IsNull(attributes)) - attributes = void 0; + if (IsNull(attributes)) attributes = void 0; propertyKey = ToPropertyKey(propertyKey); return DecorateProperty(decorators, target, propertyKey, attributes); } else { - if (!IsArray(decorators)) - throw new TypeError(); - if (!IsConstructor(target)) - throw new TypeError(); + if (!IsArray(decorators)) throw new TypeError(); + if (!IsConstructor(target)) throw new TypeError(); return DecorateConstructor(decorators, target); } } - exporter("decorate", decorate); + exporter('decorate', decorate); function metadata(metadataKey, metadataValue) { function decorator(target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey)) - throw new TypeError(); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey)) throw new TypeError(); OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey); } return decorator; } - exporter("metadata", metadata); + exporter('metadata', metadata); function defineMetadata(metadataKey, metadataValue, target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey); } - exporter("defineMetadata", defineMetadata); + exporter('defineMetadata', defineMetadata); function hasMetadata(metadataKey, target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryHasMetadata(metadataKey, target, propertyKey); } - exporter("hasMetadata", hasMetadata); + exporter('hasMetadata', hasMetadata); function hasOwnMetadata(metadataKey, target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey); } - exporter("hasOwnMetadata", hasOwnMetadata); + exporter('hasOwnMetadata', hasOwnMetadata); function getMetadata(metadataKey, target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryGetMetadata(metadataKey, target, propertyKey); } - exporter("getMetadata", getMetadata); + exporter('getMetadata', getMetadata); function getOwnMetadata(metadataKey, target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey); } - exporter("getOwnMetadata", getOwnMetadata); + exporter('getOwnMetadata', getOwnMetadata); function getMetadataKeys(target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryMetadataKeys(target, propertyKey); } - exporter("getMetadataKeys", getMetadataKeys); + exporter('getMetadataKeys', getMetadataKeys); function getOwnMetadataKeys(target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); return OrdinaryOwnMetadataKeys(target, propertyKey); } - exporter("getOwnMetadataKeys", getOwnMetadataKeys); + exporter('getOwnMetadataKeys', getOwnMetadataKeys); function deleteMetadata(metadataKey, target, propertyKey) { - if (!IsObject(target)) - throw new TypeError(); - if (!IsUndefined(propertyKey)) - propertyKey = ToPropertyKey(propertyKey); + if (!IsObject(target)) throw new TypeError(); + if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey); var metadataMap = GetOrCreateMetadataMap(target, propertyKey, false); - if (IsUndefined(metadataMap)) - return false; - if (!metadataMap.delete(metadataKey)) - return false; - if (metadataMap.size > 0) - return true; + if (IsUndefined(metadataMap)) return false; + if (!metadataMap.delete(metadataKey)) return false; + if (metadataMap.size > 0) return true; var targetMetadata = Metadata.get(target); targetMetadata.delete(propertyKey); - if (targetMetadata.size > 0) - return true; + if (targetMetadata.size > 0) return true; Metadata.delete(target); return true; } - exporter("deleteMetadata", deleteMetadata); + exporter('deleteMetadata', deleteMetadata); function DecorateConstructor(decorators, target) { for (var i = decorators.length - 1; i >= 0; --i) { var decorator = decorators[i]; var decorated = decorator(target); if (!IsUndefined(decorated) && !IsNull(decorated)) { - if (!IsConstructor(decorated)) - throw new TypeError(); + if (!IsConstructor(decorated)) throw new TypeError(); target = decorated; } } @@ -34667,8 +37854,7 @@ var require_Reflect = __commonJS({ var decorator = decorators[i]; var decorated = decorator(target, propertyKey, descriptor); if (!IsUndefined(decorated) && !IsNull(decorated)) { - if (!IsObject(decorated)) - throw new TypeError(); + if (!IsObject(decorated)) throw new TypeError(); descriptor = decorated; } } @@ -34677,15 +37863,13 @@ var require_Reflect = __commonJS({ function GetOrCreateMetadataMap(O, P, Create) { var targetMetadata = Metadata.get(O); if (IsUndefined(targetMetadata)) { - if (!Create) - return void 0; + if (!Create) return void 0; targetMetadata = new _Map(); Metadata.set(O, targetMetadata); } var metadataMap = targetMetadata.get(P); if (IsUndefined(metadataMap)) { - if (!Create) - return void 0; + if (!Create) return void 0; metadataMap = new _Map(); targetMetadata.set(P, metadataMap); } @@ -34693,32 +37877,26 @@ var require_Reflect = __commonJS({ } function OrdinaryHasMetadata(MetadataKey, O, P) { var hasOwn2 = OrdinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn2) - return true; + if (hasOwn2) return true; var parent = OrdinaryGetPrototypeOf(O); - if (!IsNull(parent)) - return OrdinaryHasMetadata(MetadataKey, parent, P); + if (!IsNull(parent)) return OrdinaryHasMetadata(MetadataKey, parent, P); return false; } function OrdinaryHasOwnMetadata(MetadataKey, O, P) { var metadataMap = GetOrCreateMetadataMap(O, P, false); - if (IsUndefined(metadataMap)) - return false; + if (IsUndefined(metadataMap)) return false; return ToBoolean(metadataMap.has(MetadataKey)); } function OrdinaryGetMetadata(MetadataKey, O, P) { var hasOwn2 = OrdinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn2) - return OrdinaryGetOwnMetadata(MetadataKey, O, P); + if (hasOwn2) return OrdinaryGetOwnMetadata(MetadataKey, O, P); var parent = OrdinaryGetPrototypeOf(O); - if (!IsNull(parent)) - return OrdinaryGetMetadata(MetadataKey, parent, P); + if (!IsNull(parent)) return OrdinaryGetMetadata(MetadataKey, parent, P); return void 0; } function OrdinaryGetOwnMetadata(MetadataKey, O, P) { var metadataMap = GetOrCreateMetadataMap(O, P, false); - if (IsUndefined(metadataMap)) - return void 0; + if (IsUndefined(metadataMap)) return void 0; return metadataMap.get(MetadataKey); } function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) { @@ -34728,13 +37906,10 @@ var require_Reflect = __commonJS({ function OrdinaryMetadataKeys(O, P) { var ownKeys = OrdinaryOwnMetadataKeys(O, P); var parent = OrdinaryGetPrototypeOf(O); - if (parent === null) - return ownKeys; + if (parent === null) return ownKeys; var parentKeys = OrdinaryMetadataKeys(parent, P); - if (parentKeys.length <= 0) - return ownKeys; - if (ownKeys.length <= 0) - return parentKeys; + if (parentKeys.length <= 0) return ownKeys; + if (ownKeys.length <= 0) return parentKeys; var set = new _Set(); var keys = []; for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) { @@ -34758,8 +37933,7 @@ var require_Reflect = __commonJS({ function OrdinaryOwnMetadataKeys(O, P) { var keys = []; var metadataMap = GetOrCreateMetadataMap(O, P, false); - if (IsUndefined(metadataMap)) - return keys; + if (IsUndefined(metadataMap)) return keys; var keysObj = metadataMap.keys(); var iterator = GetIterator(keysObj); var k = 0; @@ -34783,20 +37957,19 @@ var require_Reflect = __commonJS({ } } function Type(x) { - if (x === null) - return 1; + if (x === null) return 1; switch (typeof x) { - case "undefined": + case 'undefined': return 0; - case "boolean": + case 'boolean': return 2; - case "string": + case 'string': return 3; - case "symbol": + case 'symbol': return 4; - case "number": + case 'number': return 5; - case "object": + case 'object': return x === null ? 1 : 6; default: return 6; @@ -34809,10 +37982,10 @@ var require_Reflect = __commonJS({ return x === null; } function IsSymbol(x) { - return typeof x === "symbol"; + return typeof x === 'symbol'; } function IsObject(x) { - return typeof x === "object" ? x !== null : typeof x === "function"; + return typeof x === 'object' ? x !== null : typeof x === 'function'; } function ToPrimitive(input, PreferredType) { switch (Type(input)) { @@ -34829,42 +38002,37 @@ var require_Reflect = __commonJS({ case 5: return input; } - var hint = PreferredType === 3 ? "string" : PreferredType === 5 ? "number" : "default"; + var hint = PreferredType === 3 ? 'string' : PreferredType === 5 ? 'number' : 'default'; var exoticToPrim = GetMethod(input, toPrimitiveSymbol); if (exoticToPrim !== void 0) { var result = exoticToPrim.call(input, hint); - if (IsObject(result)) - throw new TypeError(); + if (IsObject(result)) throw new TypeError(); return result; } - return OrdinaryToPrimitive(input, hint === "default" ? "number" : hint); + return OrdinaryToPrimitive(input, hint === 'default' ? 'number' : hint); } function OrdinaryToPrimitive(O, hint) { - if (hint === "string") { + if (hint === 'string') { var toString_1 = O.toString; if (IsCallable(toString_1)) { var result = toString_1.call(O); - if (!IsObject(result)) - return result; + if (!IsObject(result)) return result; } var valueOf = O.valueOf; if (IsCallable(valueOf)) { var result = valueOf.call(O); - if (!IsObject(result)) - return result; + if (!IsObject(result)) return result; } } else { var valueOf = O.valueOf; if (IsCallable(valueOf)) { var result = valueOf.call(O); - if (!IsObject(result)) - return result; + if (!IsObject(result)) return result; } var toString_2 = O.toString; if (IsCallable(toString_2)) { var result = toString_2.call(O); - if (!IsObject(result)) - return result; + if (!IsObject(result)) return result; } } throw new TypeError(); @@ -34873,22 +38041,25 @@ var require_Reflect = __commonJS({ return !!argument; } function ToString(argument) { - return "" + argument; + return '' + argument; } function ToPropertyKey(argument) { var key = ToPrimitive(argument, 3); - if (IsSymbol(key)) - return key; + if (IsSymbol(key)) return key; return ToString(key); } function IsArray(argument) { - return Array.isArray ? Array.isArray(argument) : argument instanceof Object ? argument instanceof Array : Object.prototype.toString.call(argument) === "[object Array]"; + return Array.isArray + ? Array.isArray(argument) + : argument instanceof Object + ? argument instanceof Array + : Object.prototype.toString.call(argument) === '[object Array]'; } function IsCallable(argument) { - return typeof argument === "function"; + return typeof argument === 'function'; } function IsConstructor(argument) { - return typeof argument === "function"; + return typeof argument === 'function'; } function IsPropertyKey(argument) { switch (Type(argument)) { @@ -34902,19 +38073,15 @@ var require_Reflect = __commonJS({ } function GetMethod(V, P) { var func = V[P]; - if (func === void 0 || func === null) - return void 0; - if (!IsCallable(func)) - throw new TypeError(); + if (func === void 0 || func === null) return void 0; + if (!IsCallable(func)) throw new TypeError(); return func; } function GetIterator(obj) { var method = GetMethod(obj, iteratorSymbol); - if (!IsCallable(method)) - throw new TypeError(); + if (!IsCallable(method)) throw new TypeError(); var iterator = method.call(obj); - if (!IsObject(iterator)) - throw new TypeError(); + if (!IsObject(iterator)) throw new TypeError(); return iterator; } function IteratorValue(iterResult) { @@ -34925,44 +38092,38 @@ var require_Reflect = __commonJS({ return result.done ? false : result; } function IteratorClose(iterator) { - var f = iterator["return"]; - if (f) - f.call(iterator); + var f = iterator['return']; + if (f) f.call(iterator); } function OrdinaryGetPrototypeOf(O) { var proto = Object.getPrototypeOf(O); - if (typeof O !== "function" || O === functionPrototype) - return proto; - if (proto !== functionPrototype) - return proto; + if (typeof O !== 'function' || O === functionPrototype) return proto; + if (proto !== functionPrototype) return proto; var prototype = O.prototype; var prototypeProto = prototype && Object.getPrototypeOf(prototype); - if (prototypeProto == null || prototypeProto === Object.prototype) - return proto; + if (prototypeProto == null || prototypeProto === Object.prototype) return proto; var constructor = prototypeProto.constructor; - if (typeof constructor !== "function") - return proto; - if (constructor === O) - return proto; + if (typeof constructor !== 'function') return proto; + if (constructor === O) return proto; return constructor; } function CreateMapPolyfill() { var cacheSentinel = {}; var arraySentinel = []; - var MapIterator = function() { + var MapIterator = (function () { function MapIterator2(keys, values, selector) { this._index = 0; this._keys = keys; this._values = values; this._selector = selector; } - MapIterator2.prototype["@@iterator"] = function() { + MapIterator2.prototype['@@iterator'] = function () { return this; }; - MapIterator2.prototype[iteratorSymbol] = function() { + MapIterator2.prototype[iteratorSymbol] = function () { return this; }; - MapIterator2.prototype.next = function() { + MapIterator2.prototype.next = function () { var index = this._index; if (index >= 0 && index < this._keys.length) { var result = this._selector(this._keys[index], this._values[index]); @@ -34977,7 +38138,7 @@ var require_Reflect = __commonJS({ } return { value: void 0, done: true }; }; - MapIterator2.prototype.throw = function(error) { + MapIterator2.prototype.throw = function (error) { if (this._index >= 0) { this._index = -1; this._keys = arraySentinel; @@ -34985,7 +38146,7 @@ var require_Reflect = __commonJS({ } throw error; }; - MapIterator2.prototype.return = function(value) { + MapIterator2.prototype.return = function (value) { if (this._index >= 0) { this._index = -1; this._keys = arraySentinel; @@ -34994,34 +38155,34 @@ var require_Reflect = __commonJS({ return { value, done: true }; }; return MapIterator2; - }(); - return function() { + })(); + return (function () { function Map2() { this._keys = []; this._values = []; this._cacheKey = cacheSentinel; this._cacheIndex = -2; } - Object.defineProperty(Map2.prototype, "size", { - get: function() { + Object.defineProperty(Map2.prototype, 'size', { + get: function () { return this._keys.length; }, enumerable: true, - configurable: true + configurable: true, }); - Map2.prototype.has = function(key) { + Map2.prototype.has = function (key) { return this._find(key, false) >= 0; }; - Map2.prototype.get = function(key) { + Map2.prototype.get = function (key) { var index = this._find(key, false); return index >= 0 ? this._values[index] : void 0; }; - Map2.prototype.set = function(key, value) { + Map2.prototype.set = function (key, value) { var index = this._find(key, true); this._values[index] = value; return this; }; - Map2.prototype.delete = function(key) { + Map2.prototype.delete = function (key) { var index = this._find(key, false); if (index >= 0) { var size = this._keys.length; @@ -35039,30 +38200,30 @@ var require_Reflect = __commonJS({ } return false; }; - Map2.prototype.clear = function() { + Map2.prototype.clear = function () { this._keys.length = 0; this._values.length = 0; this._cacheKey = cacheSentinel; this._cacheIndex = -2; }; - Map2.prototype.keys = function() { + Map2.prototype.keys = function () { return new MapIterator(this._keys, this._values, getKey); }; - Map2.prototype.values = function() { + Map2.prototype.values = function () { return new MapIterator(this._keys, this._values, getValue); }; - Map2.prototype.entries = function() { + Map2.prototype.entries = function () { return new MapIterator(this._keys, this._values, getEntry); }; - Map2.prototype["@@iterator"] = function() { + Map2.prototype['@@iterator'] = function () { return this.entries(); }; - Map2.prototype[iteratorSymbol] = function() { + Map2.prototype[iteratorSymbol] = function () { return this.entries(); }; - Map2.prototype._find = function(key, insert) { + Map2.prototype._find = function (key, insert) { if (this._cacheKey !== key) { - this._cacheIndex = this._keys.indexOf(this._cacheKey = key); + this._cacheIndex = this._keys.indexOf((this._cacheKey = key)); } if (this._cacheIndex < 0 && insert) { this._cacheIndex = this._keys.length; @@ -35072,7 +38233,7 @@ var require_Reflect = __commonJS({ return this._cacheIndex; }; return Map2; - }(); + })(); function getKey(key, _) { return key; } @@ -35084,103 +38245,100 @@ var require_Reflect = __commonJS({ } } function CreateSetPolyfill() { - return function() { + return (function () { function Set2() { this._map = new _Map(); } - Object.defineProperty(Set2.prototype, "size", { - get: function() { + Object.defineProperty(Set2.prototype, 'size', { + get: function () { return this._map.size; }, enumerable: true, - configurable: true + configurable: true, }); - Set2.prototype.has = function(value) { + Set2.prototype.has = function (value) { return this._map.has(value); }; - Set2.prototype.add = function(value) { + Set2.prototype.add = function (value) { return this._map.set(value, value), this; }; - Set2.prototype.delete = function(value) { + Set2.prototype.delete = function (value) { return this._map.delete(value); }; - Set2.prototype.clear = function() { + Set2.prototype.clear = function () { this._map.clear(); }; - Set2.prototype.keys = function() { + Set2.prototype.keys = function () { return this._map.keys(); }; - Set2.prototype.values = function() { + Set2.prototype.values = function () { return this._map.values(); }; - Set2.prototype.entries = function() { + Set2.prototype.entries = function () { return this._map.entries(); }; - Set2.prototype["@@iterator"] = function() { + Set2.prototype['@@iterator'] = function () { return this.keys(); }; - Set2.prototype[iteratorSymbol] = function() { + Set2.prototype[iteratorSymbol] = function () { return this.keys(); }; return Set2; - }(); + })(); } function CreateWeakMapPolyfill() { var UUID_SIZE = 16; var keys = HashMap.create(); var rootKey = CreateUniqueKey(); - return function() { + return (function () { function WeakMap2() { this._key = CreateUniqueKey(); } - WeakMap2.prototype.has = function(target) { + WeakMap2.prototype.has = function (target) { var table = GetOrCreateWeakMapTable(target, false); return table !== void 0 ? HashMap.has(table, this._key) : false; }; - WeakMap2.prototype.get = function(target) { + WeakMap2.prototype.get = function (target) { var table = GetOrCreateWeakMapTable(target, false); return table !== void 0 ? HashMap.get(table, this._key) : void 0; }; - WeakMap2.prototype.set = function(target, value) { + WeakMap2.prototype.set = function (target, value) { var table = GetOrCreateWeakMapTable(target, true); table[this._key] = value; return this; }; - WeakMap2.prototype.delete = function(target) { + WeakMap2.prototype.delete = function (target) { var table = GetOrCreateWeakMapTable(target, false); return table !== void 0 ? delete table[this._key] : false; }; - WeakMap2.prototype.clear = function() { + WeakMap2.prototype.clear = function () { this._key = CreateUniqueKey(); }; return WeakMap2; - }(); + })(); function CreateUniqueKey() { var key; - do - key = "@@WeakMap@@" + CreateUUID(); + do key = '@@WeakMap@@' + CreateUUID(); while (HashMap.has(keys, key)); keys[key] = true; return key; } function GetOrCreateWeakMapTable(target, create) { if (!hasOwn.call(target, rootKey)) { - if (!create) - return void 0; + if (!create) return void 0; Object.defineProperty(target, rootKey, { value: HashMap.create() }); } return target[rootKey]; } function FillRandomBytes(buffer, size) { - for (var i = 0; i < size; ++i) - buffer[i] = Math.random() * 255 | 0; + for (var i = 0; i < size; ++i) buffer[i] = (Math.random() * 255) | 0; return buffer; } function GenRandomBytes(size) { - if (typeof Uint8Array === "function") { - if (typeof crypto !== "undefined") + if (typeof Uint8Array === 'function') { + if (typeof crypto !== 'undefined') return crypto.getRandomValues(new Uint8Array(size)); - if (typeof msCrypto !== "undefined") + if (typeof msCrypto !== 'undefined') return msCrypto.getRandomValues(new Uint8Array(size)); return FillRandomBytes(new Uint8Array(size), size); } @@ -35188,15 +38346,13 @@ var require_Reflect = __commonJS({ } function CreateUUID() { var data = GenRandomBytes(UUID_SIZE); - data[6] = data[6] & 79 | 64; - data[8] = data[8] & 191 | 128; - var result = ""; + data[6] = (data[6] & 79) | 64; + data[8] = (data[8] & 191) | 128; + var result = ''; for (var offset = 0; offset < UUID_SIZE; ++offset) { var byte = data[offset]; - if (offset === 4 || offset === 6 || offset === 8) - result += "-"; - if (byte < 16) - result += "0"; + if (offset === 4 || offset === 6 || offset === 8) result += '-'; + if (byte < 16) result += '0'; result += byte.toString(16).toLowerCase(); } return result; @@ -35209,117 +38365,192 @@ var require_Reflect = __commonJS({ } }); })(Reflect2 || (Reflect2 = {})); - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/validators/paramValidators.js var require_paramValidators = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/validators/paramValidators.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.isPositiveOrMinusOneAmount = exports2.is0OrPositiveAmount = exports2.isPositiveAmount = exports2.isEthAddressOrENS = exports2.isEthAddressArray = exports2.isEthAddress = exports2.isDeadline32Bytes = exports2.isEthAddressArrayMetadataKeyNotEmpty = exports2.optionalMetadataKey = exports2.is0OrPositiveMetadataKey = exports2.isPositiveOrMinusOneMetadataKey = exports2.isPositiveMetadataKey = exports2.isEthAddressOrENSMetadataKey = exports2.isEthAddressArrayMetadataKey = exports2.isPermitDeadline32Bytes = exports2.isEthAddressMetadataKey = void 0; + 'node_modules/@aave/contract-helpers/dist/cjs/commons/validators/paramValidators.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.isPositiveOrMinusOneAmount = + exports2.is0OrPositiveAmount = + exports2.isPositiveAmount = + exports2.isEthAddressOrENS = + exports2.isEthAddressArray = + exports2.isEthAddress = + exports2.isDeadline32Bytes = + exports2.isEthAddressArrayMetadataKeyNotEmpty = + exports2.optionalMetadataKey = + exports2.is0OrPositiveMetadataKey = + exports2.isPositiveOrMinusOneMetadataKey = + exports2.isPositiveMetadataKey = + exports2.isEthAddressOrENSMetadataKey = + exports2.isEthAddressArrayMetadataKey = + exports2.isPermitDeadline32Bytes = + exports2.isEthAddressMetadataKey = + void 0; require_Reflect(); - exports2.isEthAddressMetadataKey = Symbol("ethAddress"); - exports2.isPermitDeadline32Bytes = Symbol("deadline32Bytes"); - exports2.isEthAddressArrayMetadataKey = Symbol("ethAddressArray"); - exports2.isEthAddressOrENSMetadataKey = Symbol("ethOrENSAddress"); - exports2.isPositiveMetadataKey = Symbol("isPositive"); - exports2.isPositiveOrMinusOneMetadataKey = Symbol("isPositiveOrMinusOne"); - exports2.is0OrPositiveMetadataKey = Symbol("is0OrPositiveMetadataKey"); - exports2.optionalMetadataKey = Symbol("Optional"); - exports2.isEthAddressArrayMetadataKeyNotEmpty = Symbol("isEthAddressArrayMetadataKeyNotEmpty"); + exports2.isEthAddressMetadataKey = Symbol('ethAddress'); + exports2.isPermitDeadline32Bytes = Symbol('deadline32Bytes'); + exports2.isEthAddressArrayMetadataKey = Symbol('ethAddressArray'); + exports2.isEthAddressOrENSMetadataKey = Symbol('ethOrENSAddress'); + exports2.isPositiveMetadataKey = Symbol('isPositive'); + exports2.isPositiveOrMinusOneMetadataKey = Symbol('isPositiveOrMinusOne'); + exports2.is0OrPositiveMetadataKey = Symbol('is0OrPositiveMetadataKey'); + exports2.optionalMetadataKey = Symbol('Optional'); + exports2.isEthAddressArrayMetadataKeyNotEmpty = Symbol('isEthAddressArrayMetadataKeyNotEmpty'); function isDeadline32Bytes(field) { - return function(target, propertyKey, parameterIndex) { - const existingPossibleAddresses = Reflect.getOwnMetadata(exports2.isPermitDeadline32Bytes, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const existingPossibleAddresses = + Reflect.getOwnMetadata(exports2.isPermitDeadline32Bytes, target, propertyKey) || []; existingPossibleAddresses.push({ index: parameterIndex, - field + field, }); - Reflect.defineMetadata(exports2.isPermitDeadline32Bytes, existingPossibleAddresses, target, propertyKey); + Reflect.defineMetadata( + exports2.isPermitDeadline32Bytes, + existingPossibleAddresses, + target, + propertyKey + ); }; } exports2.isDeadline32Bytes = isDeadline32Bytes; function isEthAddress(field) { - return function(target, propertyKey, parameterIndex) { - const existingPossibleAddresses = Reflect.getOwnMetadata(exports2.isEthAddressMetadataKey, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const existingPossibleAddresses = + Reflect.getOwnMetadata(exports2.isEthAddressMetadataKey, target, propertyKey) || []; existingPossibleAddresses.push({ index: parameterIndex, - field + field, }); - Reflect.defineMetadata(exports2.isEthAddressMetadataKey, existingPossibleAddresses, target, propertyKey); + Reflect.defineMetadata( + exports2.isEthAddressMetadataKey, + existingPossibleAddresses, + target, + propertyKey + ); }; } exports2.isEthAddress = isEthAddress; function isEthAddressArray(field) { - return function(target, propertyKey, parameterIndex) { - const existingPossibleAddresses = Reflect.getOwnMetadata(exports2.isEthAddressArrayMetadataKey, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const existingPossibleAddresses = + Reflect.getOwnMetadata(exports2.isEthAddressArrayMetadataKey, target, propertyKey) || []; existingPossibleAddresses.push({ index: parameterIndex, - field + field, }); - Reflect.defineMetadata(exports2.isEthAddressArrayMetadataKey, existingPossibleAddresses, target, propertyKey); + Reflect.defineMetadata( + exports2.isEthAddressArrayMetadataKey, + existingPossibleAddresses, + target, + propertyKey + ); }; } exports2.isEthAddressArray = isEthAddressArray; function isEthAddressOrENS(field) { - return function(target, propertyKey, parameterIndex) { - const existingPossibleAddresses = Reflect.getOwnMetadata(exports2.isEthAddressOrENSMetadataKey, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const existingPossibleAddresses = + Reflect.getOwnMetadata(exports2.isEthAddressOrENSMetadataKey, target, propertyKey) || []; existingPossibleAddresses.push({ index: parameterIndex, - field + field, }); - Reflect.defineMetadata(exports2.isEthAddressOrENSMetadataKey, existingPossibleAddresses, target, propertyKey); + Reflect.defineMetadata( + exports2.isEthAddressOrENSMetadataKey, + existingPossibleAddresses, + target, + propertyKey + ); }; } exports2.isEthAddressOrENS = isEthAddressOrENS; function isPositiveAmount(field) { - return function(target, propertyKey, parameterIndex) { - const params = Reflect.getOwnMetadata(exports2.isPositiveMetadataKey, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const params = + Reflect.getOwnMetadata(exports2.isPositiveMetadataKey, target, propertyKey) || []; params.push({ index: parameterIndex, field }); Reflect.defineMetadata(exports2.isPositiveMetadataKey, params, target, propertyKey); }; } exports2.isPositiveAmount = isPositiveAmount; function is0OrPositiveAmount(field) { - return function(target, propertyKey, parameterIndex) { - const params = Reflect.getOwnMetadata(exports2.is0OrPositiveMetadataKey, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const params = + Reflect.getOwnMetadata(exports2.is0OrPositiveMetadataKey, target, propertyKey) || []; params.push({ index: parameterIndex, field }); Reflect.defineMetadata(exports2.is0OrPositiveMetadataKey, params, target, propertyKey); }; } exports2.is0OrPositiveAmount = is0OrPositiveAmount; function isPositiveOrMinusOneAmount(field) { - return function(target, propertyKey, parameterIndex) { - const params = Reflect.getOwnMetadata(exports2.isPositiveOrMinusOneMetadataKey, target, propertyKey) || []; + return function (target, propertyKey, parameterIndex) { + const params = + Reflect.getOwnMetadata(exports2.isPositiveOrMinusOneMetadataKey, target, propertyKey) || + []; params.push({ index: parameterIndex, field }); - Reflect.defineMetadata(exports2.isPositiveOrMinusOneMetadataKey, params, target, propertyKey); + Reflect.defineMetadata( + exports2.isPositiveOrMinusOneMetadataKey, + params, + target, + propertyKey + ); }; } exports2.isPositiveOrMinusOneAmount = isPositiveOrMinusOneAmount; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/validators/validations.js var require_validations = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/validators/validations.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.amountGtThan0OrMinus1 = exports2.amount0OrPositiveValidator = exports2.amountGtThan0Validator = exports2.isEthAddressOrEnsValidator = exports2.isEthAddressArrayValidatorNotEmpty = exports2.isEthAddressArrayValidator = exports2.isEthAddressValidator = exports2.isDeadline32BytesValidator = void 0; + 'node_modules/@aave/contract-helpers/dist/cjs/commons/validators/validations.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.amountGtThan0OrMinus1 = + exports2.amount0OrPositiveValidator = + exports2.amountGtThan0Validator = + exports2.isEthAddressOrEnsValidator = + exports2.isEthAddressArrayValidatorNotEmpty = + exports2.isEthAddressArrayValidator = + exports2.isEthAddressValidator = + exports2.isDeadline32BytesValidator = + void 0; var ethers_1 = require_lib31(); var utils_1 = require_utils6(); var paramValidators_1 = require_paramValidators(); function isDeadline32BytesValidator(target, propertyName, methodArguments, isParamOptional) { - const addressParameters = Reflect.getOwnMetadata(paramValidators_1.isPermitDeadline32Bytes, target, propertyName); + const addressParameters = Reflect.getOwnMetadata( + paramValidators_1.isPermitDeadline32Bytes, + target, + propertyName + ); if (addressParameters) { addressParameters.forEach((storedParams) => { if (storedParams.field) { - if (methodArguments[0][storedParams.field] && Buffer.byteLength(methodArguments[0][storedParams.field], "utf8") > 32) { - throw new Error(`Deadline: ${methodArguments[0][storedParams.field]} is bigger than 32 bytes`); + if ( + methodArguments[0][storedParams.field] && + Buffer.byteLength(methodArguments[0][storedParams.field], 'utf8') > 32 + ) { + throw new Error( + `Deadline: ${methodArguments[0][storedParams.field]} is bigger than 32 bytes` + ); } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; - if (methodArguments[storedParams.index] && !isOptional && Buffer.byteLength(methodArguments[storedParams.index], "utf8") > 32) { - throw new Error(`Deadline: ${methodArguments[storedParams.index]} is bigger than 32 bytes`); + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; + if ( + methodArguments[storedParams.index] && + !isOptional && + Buffer.byteLength(methodArguments[storedParams.index], 'utf8') > 32 + ) { + throw new Error( + `Deadline: ${methodArguments[storedParams.index]} is bigger than 32 bytes` + ); } } }); @@ -35327,17 +38558,35 @@ var require_validations = __commonJS({ } exports2.isDeadline32BytesValidator = isDeadline32BytesValidator; function isEthAddressValidator(target, propertyName, methodArguments, isParamOptional) { - const addressParameters = Reflect.getOwnMetadata(paramValidators_1.isEthAddressMetadataKey, target, propertyName); + const addressParameters = Reflect.getOwnMetadata( + paramValidators_1.isEthAddressMetadataKey, + target, + propertyName + ); if (addressParameters) { addressParameters.forEach((storedParams) => { if (storedParams.field) { - if (methodArguments[0][storedParams.field] && !ethers_1.utils.isAddress(methodArguments[0][storedParams.field])) { - throw new Error(`Address: ${methodArguments[0][storedParams.field]} is not a valid ethereum Address`); + if ( + methodArguments[0][storedParams.field] && + !ethers_1.utils.isAddress(methodArguments[0][storedParams.field]) + ) { + throw new Error( + `Address: ${methodArguments[0][storedParams.field]} is not a valid ethereum Address` + ); } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; - if (methodArguments[storedParams.index] && !isOptional && !ethers_1.utils.isAddress(methodArguments[storedParams.index])) { - throw new Error(`Address: ${methodArguments[storedParams.index]} is not a valid ethereum Address`); + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; + if ( + methodArguments[storedParams.index] && + !isOptional && + !ethers_1.utils.isAddress(methodArguments[storedParams.index]) + ) { + throw new Error( + `Address: ${methodArguments[storedParams.index]} is not a valid ethereum Address` + ); } } }); @@ -35345,7 +38594,11 @@ var require_validations = __commonJS({ } exports2.isEthAddressValidator = isEthAddressValidator; function isEthAddressArrayValidator(target, propertyName, methodArguments, isParamOptional) { - const addressParameters = Reflect.getOwnMetadata(paramValidators_1.isEthAddressArrayMetadataKey, target, propertyName); + const addressParameters = Reflect.getOwnMetadata( + paramValidators_1.isEthAddressArrayMetadataKey, + target, + propertyName + ); if (addressParameters) { addressParameters.forEach((storedParams) => { if (storedParams.field) { @@ -35360,7 +38613,10 @@ var require_validations = __commonJS({ } } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; if (methodArguments[storedParams.index] && !isOptional) { if (methodArguments[storedParams.index].length > 0) { const fieldArray = methodArguments[storedParams.index]; @@ -35376,8 +38632,17 @@ var require_validations = __commonJS({ } } exports2.isEthAddressArrayValidator = isEthAddressArrayValidator; - function isEthAddressArrayValidatorNotEmpty(target, propertyName, methodArguments, isParamOptional) { - const addressParameters = Reflect.getOwnMetadata(paramValidators_1.isEthAddressArrayMetadataKeyNotEmpty, target, propertyName); + function isEthAddressArrayValidatorNotEmpty( + target, + propertyName, + methodArguments, + isParamOptional + ) { + const addressParameters = Reflect.getOwnMetadata( + paramValidators_1.isEthAddressArrayMetadataKeyNotEmpty, + target, + propertyName + ); if (addressParameters) { addressParameters.forEach((storedParams) => { if (storedParams.field) { @@ -35390,11 +38655,14 @@ var require_validations = __commonJS({ } }); } else { - throw new Error("Addresses Array should not be empty"); + throw new Error('Addresses Array should not be empty'); } } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; if (methodArguments[storedParams.index] && !isOptional) { if (methodArguments[storedParams.index].length > 0) { const fieldArray = methodArguments[storedParams.index]; @@ -35404,7 +38672,7 @@ var require_validations = __commonJS({ } }); } else { - throw new Error("Addresses Array should not be empty"); + throw new Error('Addresses Array should not be empty'); } } } @@ -35413,20 +38681,42 @@ var require_validations = __commonJS({ } exports2.isEthAddressArrayValidatorNotEmpty = isEthAddressArrayValidatorNotEmpty; function isEthAddressOrEnsValidator(target, propertyName, methodArguments, isParamOptional) { - const addressParameters = Reflect.getOwnMetadata(paramValidators_1.isEthAddressOrENSMetadataKey, target, propertyName); + const addressParameters = Reflect.getOwnMetadata( + paramValidators_1.isEthAddressOrENSMetadataKey, + target, + propertyName + ); if (addressParameters) { addressParameters.forEach((storedParams) => { if (storedParams.field) { - if (methodArguments[0][storedParams.field] && !ethers_1.utils.isAddress(methodArguments[0][storedParams.field])) { + if ( + methodArguments[0][storedParams.field] && + !ethers_1.utils.isAddress(methodArguments[0][storedParams.field]) + ) { if (!(0, utils_1.canBeEnsAddress)(methodArguments[0][storedParams.field])) { - throw new Error(`Address ${methodArguments[0][storedParams.field]} is not valid ENS format or a valid ethereum Address`); + throw new Error( + `Address ${ + methodArguments[0][storedParams.field] + } is not valid ENS format or a valid ethereum Address` + ); } } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; - if (methodArguments[storedParams.index] && !isOptional && !ethers_1.utils.isAddress(methodArguments[storedParams.index])) { + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; + if ( + methodArguments[storedParams.index] && + !isOptional && + !ethers_1.utils.isAddress(methodArguments[storedParams.index]) + ) { if (!(0, utils_1.canBeEnsAddress)(methodArguments[storedParams.index])) { - throw new Error(`Address ${methodArguments[storedParams.index]} is not valid ENS format or a valid ethereum Address`); + throw new Error( + `Address ${ + methodArguments[storedParams.index] + } is not valid ENS format or a valid ethereum Address` + ); } } } @@ -35435,17 +38725,31 @@ var require_validations = __commonJS({ } exports2.isEthAddressOrEnsValidator = isEthAddressOrEnsValidator; function amountGtThan0Validator(target, propertyName, methodArguments, isParamOptional) { - const amountParameters = Reflect.getOwnMetadata(paramValidators_1.isPositiveMetadataKey, target, propertyName); + const amountParameters = Reflect.getOwnMetadata( + paramValidators_1.isPositiveMetadataKey, + target, + propertyName + ); if (amountParameters) { amountParameters.forEach((storedParams) => { if (storedParams.field) { - if (methodArguments[0][storedParams.field] && !(Number(methodArguments[0][storedParams.field]) > 0)) { - throw new Error(`Amount: ${methodArguments[0][storedParams.field]} needs to be greater than 0`); + if ( + methodArguments[0][storedParams.field] && + !(Number(methodArguments[0][storedParams.field]) > 0) + ) { + throw new Error( + `Amount: ${methodArguments[0][storedParams.field]} needs to be greater than 0` + ); } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; if (!isOptional && !(Number(methodArguments[storedParams.index]) > 0)) { - throw new Error(`Amount: ${methodArguments[storedParams.index]} needs to be greater than 0`); + throw new Error( + `Amount: ${methodArguments[storedParams.index]} needs to be greater than 0` + ); } } }); @@ -35453,17 +38757,33 @@ var require_validations = __commonJS({ } exports2.amountGtThan0Validator = amountGtThan0Validator; function amount0OrPositiveValidator(target, propertyName, methodArguments, isParamOptional) { - const amountParameters = Reflect.getOwnMetadata(paramValidators_1.is0OrPositiveMetadataKey, target, propertyName); + const amountParameters = Reflect.getOwnMetadata( + paramValidators_1.is0OrPositiveMetadataKey, + target, + propertyName + ); if (amountParameters) { amountParameters.forEach((storedParams) => { if (storedParams.field) { - if (methodArguments[0][storedParams.field] && !(Number(methodArguments[0][storedParams.field]) >= 0)) { - throw new Error(`Amount: ${methodArguments[0][storedParams.field]} needs to be greater or equal than 0`); + if ( + methodArguments[0][storedParams.field] && + !(Number(methodArguments[0][storedParams.field]) >= 0) + ) { + throw new Error( + `Amount: ${ + methodArguments[0][storedParams.field] + } needs to be greater or equal than 0` + ); } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; if (!isOptional && !(Number(methodArguments[storedParams.index]) >= 0)) { - throw new Error(`Amount: ${methodArguments[storedParams.index]} needs to be greater or equal than 0`); + throw new Error( + `Amount: ${methodArguments[storedParams.index]} needs to be greater or equal than 0` + ); } } }); @@ -35471,38 +38791,88 @@ var require_validations = __commonJS({ } exports2.amount0OrPositiveValidator = amount0OrPositiveValidator; function amountGtThan0OrMinus1(target, propertyName, methodArguments, isParamOptional) { - const amountMinusOneParameters = Reflect.getOwnMetadata(paramValidators_1.isPositiveOrMinusOneMetadataKey, target, propertyName); + const amountMinusOneParameters = Reflect.getOwnMetadata( + paramValidators_1.isPositiveOrMinusOneMetadataKey, + target, + propertyName + ); if (amountMinusOneParameters) { amountMinusOneParameters.forEach((storedParams) => { if (storedParams.field) { - if (methodArguments[0][storedParams.field] && !(Number(methodArguments[0][storedParams.field]) > 0 || methodArguments[0][storedParams.field] === "-1")) { - throw new Error(`Amount: ${methodArguments[0][storedParams.field]} needs to be greater than 0 or -1`); + if ( + methodArguments[0][storedParams.field] && + !( + Number(methodArguments[0][storedParams.field]) > 0 || + methodArguments[0][storedParams.field] === '-1' + ) + ) { + throw new Error( + `Amount: ${methodArguments[0][storedParams.field]} needs to be greater than 0 or -1` + ); } } else { - const isOptional = isParamOptional === null || isParamOptional === void 0 ? void 0 : isParamOptional[storedParams.index]; - if (!isOptional && !(Number(methodArguments[storedParams.index]) > 0 || methodArguments[storedParams.index] === "-1")) { - throw new Error(`Amount: ${methodArguments[storedParams.index]} needs to be greater than 0 or -1`); + const isOptional = + isParamOptional === null || isParamOptional === void 0 + ? void 0 + : isParamOptional[storedParams.index]; + if ( + !isOptional && + !( + Number(methodArguments[storedParams.index]) > 0 || + methodArguments[storedParams.index] === '-1' + ) + ) { + throw new Error( + `Amount: ${methodArguments[storedParams.index]} needs to be greater than 0 or -1` + ); } } }); } } exports2.amountGtThan0OrMinus1 = amountGtThan0OrMinus1; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/validators/methodValidators.js var require_methodValidators = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/validators/methodValidators.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - exports2.StackeUiDataProviderValidator = exports2.GovDelegationValidator = exports2.GovValidator = exports2.GovHelperValidator = exports2.WETHValidator = exports2.FaucetValidator = exports2.SignStakingValidator = exports2.StakingValidator = exports2.RepayWithCollateralValidator = exports2.LiquiditySwapValidator = exports2.ERC20Validator = exports2.SynthetixValidator = exports2.DebtTokenValidator = exports2.IncentivesValidator = exports2.UiIncentiveDataProviderValidator = exports2.LPValidatorV3 = exports2.L2PValidator = exports2.LPValidator = exports2.LPSwapCollateralValidatorV3 = exports2.LPRepayWithCollateralValidatorV3 = exports2.LPSwapCollateralValidator = exports2.LPRepayWithCollateralValidator = exports2.LPFlashLiquidationValidatorV3 = exports2.LPFlashLiquidationValidator = void 0; + 'node_modules/@aave/contract-helpers/dist/cjs/commons/validators/methodValidators.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + exports2.StackeUiDataProviderValidator = + exports2.GovDelegationValidator = + exports2.GovValidator = + exports2.GovHelperValidator = + exports2.WETHValidator = + exports2.FaucetValidator = + exports2.SignStakingValidator = + exports2.StakingValidator = + exports2.RepayWithCollateralValidator = + exports2.LiquiditySwapValidator = + exports2.ERC20Validator = + exports2.SynthetixValidator = + exports2.DebtTokenValidator = + exports2.IncentivesValidator = + exports2.UiIncentiveDataProviderValidator = + exports2.LPValidatorV3 = + exports2.L2PValidator = + exports2.LPValidator = + exports2.LPSwapCollateralValidatorV3 = + exports2.LPRepayWithCollateralValidatorV3 = + exports2.LPSwapCollateralValidator = + exports2.LPRepayWithCollateralValidator = + exports2.LPFlashLiquidationValidatorV3 = + exports2.LPFlashLiquidationValidator = + void 0; var ethers_1 = require_lib31(); var validations_1 = require_validations(); function LPFlashLiquidationValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.lendingPoolAddress) || !ethers_1.utils.isAddress(this.flashLiquidationAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.lendingPoolAddress) || + !ethers_1.utils.isAddress(this.flashLiquidationAddress) + ) { console.error(`[LPFlahsLiquidationValidator] You need to pass valid addresses`); return []; } @@ -35515,8 +38885,11 @@ var require_methodValidators = __commonJS({ exports2.LPFlashLiquidationValidator = LPFlashLiquidationValidator; function LPFlashLiquidationValidatorV3(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.poolAddress) || !ethers_1.utils.isAddress(this.flashLiquidationAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.poolAddress) || + !ethers_1.utils.isAddress(this.flashLiquidationAddress) + ) { console.error(`[LPFlahsLiquidationValidator] You need to pass valid addresses`); return []; } @@ -35529,8 +38902,11 @@ var require_methodValidators = __commonJS({ exports2.LPFlashLiquidationValidatorV3 = LPFlashLiquidationValidatorV3; function LPRepayWithCollateralValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.lendingPoolAddress) || !ethers_1.utils.isAddress(this.repayWithCollateralAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.lendingPoolAddress) || + !ethers_1.utils.isAddress(this.repayWithCollateralAddress) + ) { console.error(`[LPRepayWithCollateralValidator] You need to pass valid addresses`); return []; } @@ -35542,8 +38918,11 @@ var require_methodValidators = __commonJS({ exports2.LPRepayWithCollateralValidator = LPRepayWithCollateralValidator; function LPSwapCollateralValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.lendingPoolAddress) || !ethers_1.utils.isAddress(this.swapCollateralAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.lendingPoolAddress) || + !ethers_1.utils.isAddress(this.swapCollateralAddress) + ) { console.error(`[LPSwapCollateralValidator] You need to pass valid addresses`); return []; } @@ -35555,8 +38934,11 @@ var require_methodValidators = __commonJS({ exports2.LPSwapCollateralValidator = LPSwapCollateralValidator; function LPRepayWithCollateralValidatorV3(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.poolAddress) || !ethers_1.utils.isAddress(this.repayWithCollateralAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.poolAddress) || + !ethers_1.utils.isAddress(this.repayWithCollateralAddress) + ) { console.error(`[LPRepayWithCollateralValidator] You need to pass valid addresses`); return []; } @@ -35568,8 +38950,11 @@ var require_methodValidators = __commonJS({ exports2.LPRepayWithCollateralValidatorV3 = LPRepayWithCollateralValidatorV3; function LPSwapCollateralValidatorV3(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.poolAddress) || !ethers_1.utils.isAddress(this.swapCollateralAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.poolAddress) || + !ethers_1.utils.isAddress(this.swapCollateralAddress) + ) { console.error(`[LPSwapCollateralValidator] You need to pass valid addresses`); return []; } @@ -35581,7 +38966,7 @@ var require_methodValidators = __commonJS({ exports2.LPSwapCollateralValidatorV3 = LPSwapCollateralValidatorV3; function LPValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.lendingPoolAddress)) { console.error(`[LendingPoolValidator] You need to pass valid addresses`); return []; @@ -35596,8 +38981,11 @@ var require_methodValidators = __commonJS({ exports2.LPValidator = LPValidator; function L2PValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.l2PoolAddress) || !ethers_1.utils.isAddress(this.encoderAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.l2PoolAddress) || + !ethers_1.utils.isAddress(this.encoderAddress) + ) { console.error( `[L2PoolValidator] You need to pass valid addresses: l2pool: ${this.l2PoolAddress} encoder: ${this.encoderAddress}` ); @@ -35610,7 +38998,7 @@ var require_methodValidators = __commonJS({ exports2.L2PValidator = L2PValidator; function LPValidatorV3(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.poolAddress)) { console.error(`[PoolValidator] You need to pass valid addresses`); return []; @@ -35625,10 +39013,10 @@ var require_methodValidators = __commonJS({ exports2.LPValidatorV3 = LPValidatorV3; function UiIncentiveDataProviderValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.uiIncentiveDataProviderAddress)) { console.error(`[UiIncentiveDataProviderValidator] You need to pass valid addresses`); - throw new Error("UiIncentiveDataProviderAddress must be an eth valid address"); + throw new Error('UiIncentiveDataProviderAddress must be an eth valid address'); } (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); return method.apply(this, arguments); @@ -35637,7 +39025,7 @@ var require_methodValidators = __commonJS({ exports2.UiIncentiveDataProviderValidator = UiIncentiveDataProviderValidator; function IncentivesValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); (0, validations_1.isEthAddressArrayValidator)(target, propertyName, arguments); return method.apply(this, arguments); @@ -35646,7 +39034,7 @@ var require_methodValidators = __commonJS({ exports2.IncentivesValidator = IncentivesValidator; function DebtTokenValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); (0, validations_1.amountGtThan0Validator)(target, propertyName, arguments); return method.apply(this, arguments); @@ -35655,7 +39043,7 @@ var require_methodValidators = __commonJS({ exports2.DebtTokenValidator = DebtTokenValidator; function SynthetixValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); (0, validations_1.amountGtThan0Validator)(target, propertyName, arguments); return method.apply(this, arguments); @@ -35664,7 +39052,7 @@ var require_methodValidators = __commonJS({ exports2.SynthetixValidator = SynthetixValidator; function ERC20Validator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); (0, validations_1.amountGtThan0Validator)(target, propertyName, arguments); (0, validations_1.amountGtThan0OrMinus1)(target, propertyName, arguments); @@ -35674,7 +39062,7 @@ var require_methodValidators = __commonJS({ exports2.ERC20Validator = ERC20Validator; function LiquiditySwapValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.liquiditySwapAdapterAddress)) { console.error(`[LiquiditySwapValidator] You need to pass valid addresses`); return []; @@ -35688,7 +39076,7 @@ var require_methodValidators = __commonJS({ exports2.LiquiditySwapValidator = LiquiditySwapValidator; function RepayWithCollateralValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.repayWithCollateralAddress)) { console.error(`[RepayWithCollateralValidator] You need to pass valid addresses`); return []; @@ -35702,7 +39090,7 @@ var require_methodValidators = __commonJS({ exports2.RepayWithCollateralValidator = RepayWithCollateralValidator; function StakingValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.stakingContractAddress)) { console.error(`[StakingValidator] You need to pass valid addresses`); return []; @@ -35716,8 +39104,11 @@ var require_methodValidators = __commonJS({ exports2.StakingValidator = StakingValidator; function SignStakingValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.stakingContractAddress) || !ethers_1.utils.isAddress(this.stakingHelperContractAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.stakingContractAddress) || + !ethers_1.utils.isAddress(this.stakingHelperContractAddress) + ) { console.error(`[StakingValidator] You need to pass valid addresses`); return []; } @@ -35730,7 +39121,7 @@ var require_methodValidators = __commonJS({ exports2.SignStakingValidator = SignStakingValidator; function FaucetValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.faucetAddress)) { console.error(`[FaucetValidator] You need to pass valid addresses`); return []; @@ -35743,7 +39134,7 @@ var require_methodValidators = __commonJS({ exports2.FaucetValidator = FaucetValidator; function WETHValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.wethGatewayAddress)) { console.error(`[WethGatewayValidator] You need to pass valid addresses`); return []; @@ -35758,8 +39149,11 @@ var require_methodValidators = __commonJS({ exports2.WETHValidator = WETHValidator; function GovHelperValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { - if (!ethers_1.utils.isAddress(this.aaveGovernanceV2Address) || !ethers_1.utils.isAddress(this.aaveGovernanceV2HelperAddress)) { + descriptor.value = function () { + if ( + !ethers_1.utils.isAddress(this.aaveGovernanceV2Address) || + !ethers_1.utils.isAddress(this.aaveGovernanceV2HelperAddress) + ) { console.error(`[GovernanceValidator] You need to pass valid addresses`); return []; } @@ -35772,7 +39166,7 @@ var require_methodValidators = __commonJS({ exports2.GovHelperValidator = GovHelperValidator; function GovValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { if (!ethers_1.utils.isAddress(this.aaveGovernanceV2Address)) { console.error(`[GovernanceValidator] You need to pass valid addresses`); return []; @@ -35785,7 +39179,7 @@ var require_methodValidators = __commonJS({ exports2.GovValidator = GovValidator; function GovDelegationValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); (0, validations_1.isEthAddressOrEnsValidator)(target, propertyName, arguments); (0, validations_1.amountGtThan0Validator)(target, propertyName, arguments); @@ -35796,981 +39190,983 @@ var require_methodValidators = __commonJS({ exports2.GovDelegationValidator = GovDelegationValidator; function StackeUiDataProviderValidator(target, propertyName, descriptor) { const method = descriptor.value; - descriptor.value = function() { + descriptor.value = function () { (0, validations_1.isEthAddressValidator)(target, propertyName, arguments); return method.apply(this, arguments); }; } exports2.StackeUiDataProviderValidator = StackeUiDataProviderValidator; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/typechain/IUiIncentiveDataProviderV3__factory.js var require_IUiIncentiveDataProviderV3_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/typechain/IUiIncentiveDataProviderV3__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/typechain/IUiIncentiveDataProviderV3__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IUiIncentiveDataProviderV3__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "provider", - type: "address" + internalType: 'contract IPoolAddressesProvider', + name: 'provider', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getFullReservesIncentiveData", + name: 'getFullReservesIncentiveData', outputs: [ { components: [ { - internalType: "address", - name: "underlyingAsset", - type: "address" + internalType: 'address', + name: 'underlyingAsset', + type: 'address', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "uint256", - name: "emissionPerSecond", - type: "uint256" + internalType: 'uint256', + name: 'emissionPerSecond', + type: 'uint256', }, { - internalType: "uint256", - name: "incentivesLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'incentivesLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesIndex', + type: 'uint256', }, { - internalType: "uint256", - name: "emissionEndTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'emissionEndTimestamp', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "precision", - type: "uint8" + internalType: 'uint8', + name: 'precision', + type: 'uint8', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]", - name: "rewardsTokenInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.RewardInfo[]', + name: 'rewardsTokenInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.IncentiveData", - name: "aIncentiveData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.IncentiveData', + name: 'aIncentiveData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "uint256", - name: "emissionPerSecond", - type: "uint256" + internalType: 'uint256', + name: 'emissionPerSecond', + type: 'uint256', }, { - internalType: "uint256", - name: "incentivesLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'incentivesLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesIndex', + type: 'uint256', }, { - internalType: "uint256", - name: "emissionEndTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'emissionEndTimestamp', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "precision", - type: "uint8" + internalType: 'uint8', + name: 'precision', + type: 'uint8', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]", - name: "rewardsTokenInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.RewardInfo[]', + name: 'rewardsTokenInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.IncentiveData", - name: "vIncentiveData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.IncentiveData', + name: 'vIncentiveData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "uint256", - name: "emissionPerSecond", - type: "uint256" + internalType: 'uint256', + name: 'emissionPerSecond', + type: 'uint256', }, { - internalType: "uint256", - name: "incentivesLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'incentivesLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesIndex', + type: 'uint256', }, { - internalType: "uint256", - name: "emissionEndTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'emissionEndTimestamp', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "precision", - type: "uint8" + internalType: 'uint8', + name: 'precision', + type: 'uint8', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]", - name: "rewardsTokenInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.RewardInfo[]', + name: 'rewardsTokenInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.IncentiveData", - name: "sIncentiveData", - type: "tuple" - } + internalType: 'struct IUiIncentiveDataProviderV3.IncentiveData', + name: 'sIncentiveData', + type: 'tuple', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]", - name: "", - type: "tuple[]" + internalType: 'struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]', + name: '', + type: 'tuple[]', }, { components: [ { - internalType: "address", - name: "underlyingAsset", - type: "address" + internalType: 'address', + name: 'underlyingAsset', + type: 'address', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "uint256", - name: "userUnclaimedRewards", - type: "uint256" + internalType: 'uint256', + name: 'userUnclaimedRewards', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesUserIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesUserIndex', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]", - name: "userRewardsInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserRewardInfo[]', + name: 'userRewardsInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData", - name: "aTokenIncentivesUserData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.UserIncentiveData', + name: 'aTokenIncentivesUserData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "uint256", - name: "userUnclaimedRewards", - type: "uint256" + internalType: 'uint256', + name: 'userUnclaimedRewards', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesUserIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesUserIndex', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]", - name: "userRewardsInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserRewardInfo[]', + name: 'userRewardsInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData", - name: "vTokenIncentivesUserData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.UserIncentiveData', + name: 'vTokenIncentivesUserData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "uint256", - name: "userUnclaimedRewards", - type: "uint256" + internalType: 'uint256', + name: 'userUnclaimedRewards', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesUserIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesUserIndex', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]", - name: "userRewardsInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserRewardInfo[]', + name: 'userRewardsInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData", - name: "sTokenIncentivesUserData", - type: "tuple" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserIncentiveData', + name: 'sTokenIncentivesUserData', + type: 'tuple', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]", - name: "", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]', + name: '', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "provider", - type: "address" - } + internalType: 'contract IPoolAddressesProvider', + name: 'provider', + type: 'address', + }, ], - name: "getReservesIncentivesData", + name: 'getReservesIncentivesData', outputs: [ { components: [ { - internalType: "address", - name: "underlyingAsset", - type: "address" + internalType: 'address', + name: 'underlyingAsset', + type: 'address', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "uint256", - name: "emissionPerSecond", - type: "uint256" + internalType: 'uint256', + name: 'emissionPerSecond', + type: 'uint256', }, { - internalType: "uint256", - name: "incentivesLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'incentivesLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesIndex', + type: 'uint256', }, { - internalType: "uint256", - name: "emissionEndTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'emissionEndTimestamp', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "precision", - type: "uint8" + internalType: 'uint8', + name: 'precision', + type: 'uint8', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]", - name: "rewardsTokenInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.RewardInfo[]', + name: 'rewardsTokenInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.IncentiveData", - name: "aIncentiveData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.IncentiveData', + name: 'aIncentiveData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "uint256", - name: "emissionPerSecond", - type: "uint256" + internalType: 'uint256', + name: 'emissionPerSecond', + type: 'uint256', }, { - internalType: "uint256", - name: "incentivesLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'incentivesLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesIndex', + type: 'uint256', }, { - internalType: "uint256", - name: "emissionEndTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'emissionEndTimestamp', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "precision", - type: "uint8" + internalType: 'uint8', + name: 'precision', + type: 'uint8', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]", - name: "rewardsTokenInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.RewardInfo[]', + name: 'rewardsTokenInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.IncentiveData", - name: "vIncentiveData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.IncentiveData', + name: 'vIncentiveData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "uint256", - name: "emissionPerSecond", - type: "uint256" + internalType: 'uint256', + name: 'emissionPerSecond', + type: 'uint256', }, { - internalType: "uint256", - name: "incentivesLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'incentivesLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesIndex', + type: 'uint256', }, { - internalType: "uint256", - name: "emissionEndTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'emissionEndTimestamp', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "precision", - type: "uint8" + internalType: 'uint8', + name: 'precision', + type: 'uint8', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]", - name: "rewardsTokenInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.RewardInfo[]', + name: 'rewardsTokenInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.IncentiveData", - name: "sIncentiveData", - type: "tuple" - } + internalType: 'struct IUiIncentiveDataProviderV3.IncentiveData', + name: 'sIncentiveData', + type: 'tuple', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]", - name: "", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]', + name: '', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "provider", - type: "address" + internalType: 'contract IPoolAddressesProvider', + name: 'provider', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserReservesIncentivesData", + name: 'getUserReservesIncentivesData', outputs: [ { components: [ { - internalType: "address", - name: "underlyingAsset", - type: "address" + internalType: 'address', + name: 'underlyingAsset', + type: 'address', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "uint256", - name: "userUnclaimedRewards", - type: "uint256" + internalType: 'uint256', + name: 'userUnclaimedRewards', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesUserIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesUserIndex', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]", - name: "userRewardsInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserRewardInfo[]', + name: 'userRewardsInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData", - name: "aTokenIncentivesUserData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.UserIncentiveData', + name: 'aTokenIncentivesUserData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "uint256", - name: "userUnclaimedRewards", - type: "uint256" + internalType: 'uint256', + name: 'userUnclaimedRewards', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesUserIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesUserIndex', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]", - name: "userRewardsInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserRewardInfo[]', + name: 'userRewardsInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData", - name: "vTokenIncentivesUserData", - type: "tuple" + internalType: 'struct IUiIncentiveDataProviderV3.UserIncentiveData', + name: 'vTokenIncentivesUserData', + type: 'tuple', }, { components: [ { - internalType: "address", - name: "tokenAddress", - type: "address" + internalType: 'address', + name: 'tokenAddress', + type: 'address', }, { - internalType: "address", - name: "incentiveControllerAddress", - type: "address" + internalType: 'address', + name: 'incentiveControllerAddress', + type: 'address', }, { components: [ { - internalType: "string", - name: "rewardTokenSymbol", - type: "string" + internalType: 'string', + name: 'rewardTokenSymbol', + type: 'string', }, { - internalType: "address", - name: "rewardOracleAddress", - type: "address" + internalType: 'address', + name: 'rewardOracleAddress', + type: 'address', }, { - internalType: "address", - name: "rewardTokenAddress", - type: "address" + internalType: 'address', + name: 'rewardTokenAddress', + type: 'address', }, { - internalType: "uint256", - name: "userUnclaimedRewards", - type: "uint256" + internalType: 'uint256', + name: 'userUnclaimedRewards', + type: 'uint256', }, { - internalType: "uint256", - name: "tokenIncentivesUserIndex", - type: "uint256" + internalType: 'uint256', + name: 'tokenIncentivesUserIndex', + type: 'uint256', }, { - internalType: "int256", - name: "rewardPriceFeed", - type: "int256" + internalType: 'int256', + name: 'rewardPriceFeed', + type: 'int256', }, { - internalType: "uint8", - name: "priceFeedDecimals", - type: "uint8" + internalType: 'uint8', + name: 'priceFeedDecimals', + type: 'uint8', }, { - internalType: "uint8", - name: "rewardTokenDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'rewardTokenDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserRewardInfo[]", - name: "userRewardsInformation", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserRewardInfo[]', + name: 'userRewardsInformation', + type: 'tuple[]', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserIncentiveData", - name: "sTokenIncentivesUserData", - type: "tuple" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserIncentiveData', + name: 'sTokenIncentivesUserData', + type: 'tuple', + }, ], - internalType: "struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]", - name: "", - type: "tuple[]" - } + internalType: 'struct IUiIncentiveDataProviderV3.UserReserveIncentiveData[]', + name: '', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; var IUiIncentiveDataProviderV3__factory = class { static createInterface() { @@ -36782,22 +40178,26 @@ var require_IUiIncentiveDataProviderV3_factory = __commonJS({ }; exports2.IUiIncentiveDataProviderV3__factory = IUiIncentiveDataProviderV3__factory; IUiIncentiveDataProviderV3__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/types.js var require_types3 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/types.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - } + 'node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/types.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/index.js var require_v3_UiIncentiveDataProvider_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-UiIncentiveDataProvider-contract/index.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.UiIncentiveDataProvider = void 0; var tslib_1 = require_tslib(); var utils_1 = require_utils5(); @@ -36811,10 +40211,14 @@ var require_v3_UiIncentiveDataProvider_contract = __commonJS({ var UiIncentiveDataProvider = class extends BaseService_1.default { constructor({ provider, uiIncentiveDataProviderAddress, chainId }) { super(provider, IUiIncentiveDataProviderV3__factory_1.IUiIncentiveDataProviderV3__factory); - this._getFeed = (rewardToken, chainlinkFeedsRegistry, quote) => __async(this, null, function* () { - const feed = yield this._chainlinkFeedsRegistries[chainlinkFeedsRegistry].getPriceFeed(rewardToken, quote); - return Object.assign(Object.assign({}, feed), { rewardTokenAddress: rewardToken }); - }); + this._getFeed = (rewardToken, chainlinkFeedsRegistry, quote) => + __async(this, null, function* () { + const feed = yield this._chainlinkFeedsRegistries[chainlinkFeedsRegistry].getPriceFeed( + rewardToken, + quote + ); + return Object.assign(Object.assign({}, feed), { rewardTokenAddress: rewardToken }); + }); this.uiIncentiveDataProviderAddress = uiIncentiveDataProviderAddress; this._chainlinkFeedsRegistries = {}; this.chainId = chainId; @@ -36834,7 +40238,10 @@ var require_v3_UiIncentiveDataProvider_contract = __commonJS({ getUserReservesIncentivesData(_0) { return __async(this, arguments, function* ({ user, lendingPoolAddressProvider }) { const uiIncentiveContract = this.getContractInstance(this.uiIncentiveDataProviderAddress); - return uiIncentiveContract.getUserReservesIncentivesData(lendingPoolAddressProvider, user); + return uiIncentiveContract.getUserReservesIncentivesData( + lendingPoolAddressProvider, + user + ); }); } getReservesIncentivesDataHumanized(_0) { @@ -36845,7 +40252,7 @@ var require_v3_UiIncentiveDataProvider_contract = __commonJS({ underlyingAsset: r.underlyingAsset.toLowerCase(), aIncentiveData: this._formatIncentiveData(r.aIncentiveData), vIncentiveData: this._formatIncentiveData(r.vIncentiveData), - sIncentiveData: this._formatIncentiveData(r.sIncentiveData) + sIncentiveData: this._formatIncentiveData(r.sIncentiveData), })); }); } @@ -36853,63 +40260,124 @@ var require_v3_UiIncentiveDataProvider_contract = __commonJS({ return __async(this, arguments, function* ({ user, lendingPoolAddressProvider }) { const response = yield this.getUserReservesIncentivesData({ user, - lendingPoolAddressProvider + lendingPoolAddressProvider, }); return response.map((r) => ({ id: `${this.chainId}-${user}-${r.underlyingAsset}-${lendingPoolAddressProvider}`.toLowerCase(), underlyingAsset: r.underlyingAsset.toLowerCase(), aTokenIncentivesUserData: this._formatUserIncentiveData(r.aTokenIncentivesUserData), vTokenIncentivesUserData: this._formatUserIncentiveData(r.vTokenIncentivesUserData), - sTokenIncentivesUserData: this._formatUserIncentiveData(r.sTokenIncentivesUserData) + sTokenIncentivesUserData: this._formatUserIncentiveData(r.sTokenIncentivesUserData), })); }); } getIncentivesDataWithPriceLegacy(_0) { - return __async(this, arguments, function* ({ lendingPoolAddressProvider, chainlinkFeedsRegistry, quote = ChainlinkFeedsRegistryTypes_1.Denominations.eth }) { - const incentives = yield this.getReservesIncentivesDataHumanized({ - lendingPoolAddressProvider - }); - const feeds = []; - if (chainlinkFeedsRegistry && (0, utils_1.isAddress)(chainlinkFeedsRegistry)) { - if (!this._chainlinkFeedsRegistries[chainlinkFeedsRegistry]) { - this._chainlinkFeedsRegistries[chainlinkFeedsRegistry] = new index_1.ChainlinkFeedsRegistry({ - provider: this.provider, - chainlinkFeedsRegistry + return __async( + this, + arguments, + function* ({ + lendingPoolAddressProvider, + chainlinkFeedsRegistry, + quote = ChainlinkFeedsRegistryTypes_1.Denominations.eth, + }) { + const incentives = yield this.getReservesIncentivesDataHumanized({ + lendingPoolAddressProvider, + }); + const feeds = []; + if (chainlinkFeedsRegistry && (0, utils_1.isAddress)(chainlinkFeedsRegistry)) { + if (!this._chainlinkFeedsRegistries[chainlinkFeedsRegistry]) { + this._chainlinkFeedsRegistries[chainlinkFeedsRegistry] = + new index_1.ChainlinkFeedsRegistry({ + provider: this.provider, + chainlinkFeedsRegistry, + }); + } + const allIncentiveRewardTokens = /* @__PURE__ */ new Set(); + incentives.forEach((incentive) => { + incentive.aIncentiveData.rewardsTokenInformation.map((rewardInfo) => + allIncentiveRewardTokens.add(rewardInfo.rewardTokenAddress) + ); + incentive.vIncentiveData.rewardsTokenInformation.map((rewardInfo) => + allIncentiveRewardTokens.add(rewardInfo.rewardTokenAddress) + ); + incentive.sIncentiveData.rewardsTokenInformation.map((rewardInfo) => + allIncentiveRewardTokens.add(rewardInfo.rewardTokenAddress) + ); + }); + const incentiveRewardTokens = Array.from(allIncentiveRewardTokens); + const rewardFeedPromises = incentiveRewardTokens.map((rewardToken) => + this._getFeed(rewardToken, chainlinkFeedsRegistry, quote) + ); + const feedResults = yield Promise.allSettled(rewardFeedPromises); + feedResults.forEach((feedResult) => { + if (feedResult.status === 'fulfilled') feeds.push(feedResult.value); }); } - const allIncentiveRewardTokens = /* @__PURE__ */ new Set(); - incentives.forEach((incentive) => { - incentive.aIncentiveData.rewardsTokenInformation.map((rewardInfo) => allIncentiveRewardTokens.add(rewardInfo.rewardTokenAddress)); - incentive.vIncentiveData.rewardsTokenInformation.map((rewardInfo) => allIncentiveRewardTokens.add(rewardInfo.rewardTokenAddress)); - incentive.sIncentiveData.rewardsTokenInformation.map((rewardInfo) => allIncentiveRewardTokens.add(rewardInfo.rewardTokenAddress)); - }); - const incentiveRewardTokens = Array.from(allIncentiveRewardTokens); - const rewardFeedPromises = incentiveRewardTokens.map((rewardToken) => this._getFeed(rewardToken, chainlinkFeedsRegistry, quote)); - const feedResults = yield Promise.allSettled(rewardFeedPromises); - feedResults.forEach((feedResult) => { - if (feedResult.status === "fulfilled") - feeds.push(feedResult.value); + return incentives.map((incentive) => { + return { + id: `${this.chainId}-${incentive.underlyingAsset}-${lendingPoolAddressProvider}`.toLowerCase(), + underlyingAsset: incentive.underlyingAsset, + aIncentiveData: Object.assign(Object.assign({}, incentive.aIncentiveData), { + rewardsTokenInformation: incentive.aIncentiveData.rewardsTokenInformation.map( + (rewardTokenInfo) => { + const feed = feeds.find( + (feed2) => feed2.rewardTokenAddress === rewardTokenInfo.rewardTokenAddress + ); + return Object.assign(Object.assign({}, rewardTokenInfo), { + rewardPriceFeed: (feed === null || feed === void 0 ? void 0 : feed.answer) + ? feed.answer + : rewardTokenInfo.rewardPriceFeed, + priceFeedDecimals: ( + feed === null || feed === void 0 ? void 0 : feed.decimals + ) + ? feed.decimals + : rewardTokenInfo.priceFeedDecimals, + }); + } + ), + }), + vIncentiveData: Object.assign(Object.assign({}, incentive.vIncentiveData), { + rewardsTokenInformation: incentive.vIncentiveData.rewardsTokenInformation.map( + (rewardTokenInfo) => { + const feed = feeds.find( + (feed2) => feed2.rewardTokenAddress === rewardTokenInfo.rewardTokenAddress + ); + return Object.assign(Object.assign({}, rewardTokenInfo), { + rewardPriceFeed: (feed === null || feed === void 0 ? void 0 : feed.answer) + ? feed.answer + : rewardTokenInfo.rewardPriceFeed, + priceFeedDecimals: ( + feed === null || feed === void 0 ? void 0 : feed.decimals + ) + ? feed.decimals + : rewardTokenInfo.priceFeedDecimals, + }); + } + ), + }), + sIncentiveData: Object.assign(Object.assign({}, incentive.sIncentiveData), { + rewardsTokenInformation: incentive.sIncentiveData.rewardsTokenInformation.map( + (rewardTokenInfo) => { + const feed = feeds.find( + (feed2) => feed2.rewardTokenAddress === rewardTokenInfo.rewardTokenAddress + ); + return Object.assign(Object.assign({}, rewardTokenInfo), { + rewardPriceFeed: (feed === null || feed === void 0 ? void 0 : feed.answer) + ? feed.answer + : rewardTokenInfo.rewardPriceFeed, + priceFeedDecimals: ( + feed === null || feed === void 0 ? void 0 : feed.decimals + ) + ? feed.decimals + : rewardTokenInfo.priceFeedDecimals, + }); + } + ), + }), + }; }); } - return incentives.map((incentive) => { - return { - id: `${this.chainId}-${incentive.underlyingAsset}-${lendingPoolAddressProvider}`.toLowerCase(), - underlyingAsset: incentive.underlyingAsset, - aIncentiveData: Object.assign(Object.assign({}, incentive.aIncentiveData), { rewardsTokenInformation: incentive.aIncentiveData.rewardsTokenInformation.map((rewardTokenInfo) => { - const feed = feeds.find((feed2) => feed2.rewardTokenAddress === rewardTokenInfo.rewardTokenAddress); - return Object.assign(Object.assign({}, rewardTokenInfo), { rewardPriceFeed: (feed === null || feed === void 0 ? void 0 : feed.answer) ? feed.answer : rewardTokenInfo.rewardPriceFeed, priceFeedDecimals: (feed === null || feed === void 0 ? void 0 : feed.decimals) ? feed.decimals : rewardTokenInfo.priceFeedDecimals }); - }) }), - vIncentiveData: Object.assign(Object.assign({}, incentive.vIncentiveData), { rewardsTokenInformation: incentive.vIncentiveData.rewardsTokenInformation.map((rewardTokenInfo) => { - const feed = feeds.find((feed2) => feed2.rewardTokenAddress === rewardTokenInfo.rewardTokenAddress); - return Object.assign(Object.assign({}, rewardTokenInfo), { rewardPriceFeed: (feed === null || feed === void 0 ? void 0 : feed.answer) ? feed.answer : rewardTokenInfo.rewardPriceFeed, priceFeedDecimals: (feed === null || feed === void 0 ? void 0 : feed.decimals) ? feed.decimals : rewardTokenInfo.priceFeedDecimals }); - }) }), - sIncentiveData: Object.assign(Object.assign({}, incentive.sIncentiveData), { rewardsTokenInformation: incentive.sIncentiveData.rewardsTokenInformation.map((rewardTokenInfo) => { - const feed = feeds.find((feed2) => feed2.rewardTokenAddress === rewardTokenInfo.rewardTokenAddress); - return Object.assign(Object.assign({}, rewardTokenInfo), { rewardPriceFeed: (feed === null || feed === void 0 ? void 0 : feed.answer) ? feed.answer : rewardTokenInfo.rewardPriceFeed, priceFeedDecimals: (feed === null || feed === void 0 ? void 0 : feed.decimals) ? feed.decimals : rewardTokenInfo.priceFeedDecimals }); - }) }) - }; - }); - }); + ); } _formatIncentiveData(data) { return { @@ -36926,8 +40394,8 @@ var require_v3_UiIncentiveDataProvider_contract = __commonJS({ rewardTokenSymbol: rawRewardInfo.rewardTokenSymbol, rewardOracleAddress: rawRewardInfo.rewardOracleAddress, rewardPriceFeed: rawRewardInfo.rewardPriceFeed.toString(), - priceFeedDecimals: rawRewardInfo.priceFeedDecimals - })) + priceFeedDecimals: rawRewardInfo.priceFeedDecimals, + })), }; } _formatUserIncentiveData(data) { @@ -36942,467 +40410,499 @@ var require_v3_UiIncentiveDataProvider_contract = __commonJS({ rewardTokenSymbol: userRewardInformation.rewardTokenSymbol, rewardOracleAddress: userRewardInformation.rewardOracleAddress, rewardPriceFeed: userRewardInformation.rewardPriceFeed.toString(), - priceFeedDecimals: userRewardInformation.priceFeedDecimals - })) + priceFeedDecimals: userRewardInformation.priceFeedDecimals, + })), }; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.UiIncentiveDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPoolAddressProvider")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiIncentiveDataProvider.prototype, "getFullReservesIncentiveData", null); - (0, tslib_1.__decorate)([ - methodValidators_1.UiIncentiveDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPoolAddressProvider")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiIncentiveDataProvider.prototype, "getReservesIncentivesData", null); - (0, tslib_1.__decorate)([ - methodValidators_1.UiIncentiveDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPoolAddressProvider")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiIncentiveDataProvider.prototype, "getUserReservesIncentivesData", null); - (0, tslib_1.__decorate)([ - methodValidators_1.UiIncentiveDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPoolAddressProvider")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiIncentiveDataProvider.prototype, "getReservesIncentivesDataHumanized", null); - (0, tslib_1.__decorate)([ - methodValidators_1.UiIncentiveDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPoolAddressProvider")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiIncentiveDataProvider.prototype, "getUserReservesIncentivesDataHumanized", null); - (0, tslib_1.__decorate)([ - methodValidators_1.UiIncentiveDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPoolAddressProvider")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("chainlinkFeedsRegistry")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiIncentiveDataProvider.prototype, "getIncentivesDataWithPriceLegacy", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.UiIncentiveDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPoolAddressProvider')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiIncentiveDataProvider.prototype, + 'getFullReservesIncentiveData', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.UiIncentiveDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPoolAddressProvider')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiIncentiveDataProvider.prototype, + 'getReservesIncentivesData', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.UiIncentiveDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPoolAddressProvider')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiIncentiveDataProvider.prototype, + 'getUserReservesIncentivesData', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.UiIncentiveDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPoolAddressProvider')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiIncentiveDataProvider.prototype, + 'getReservesIncentivesDataHumanized', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.UiIncentiveDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPoolAddressProvider')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiIncentiveDataProvider.prototype, + 'getUserReservesIncentivesDataHumanized', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.UiIncentiveDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPoolAddressProvider')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('chainlinkFeedsRegistry')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiIncentiveDataProvider.prototype, + 'getIncentivesDataWithPriceLegacy', + null + ); exports2.UiIncentiveDataProvider = UiIncentiveDataProvider; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/typechain/IUiPoolDataProviderV3__factory.js var require_IUiPoolDataProviderV3_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/typechain/IUiPoolDataProviderV3__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/typechain/IUiPoolDataProviderV3__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IUiPoolDataProviderV3__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "provider", - type: "address" - } + internalType: 'contract IPoolAddressesProvider', + name: 'provider', + type: 'address', + }, ], - name: "getReservesData", + name: 'getReservesData', outputs: [ { components: [ { - internalType: "address", - name: "underlyingAsset", - type: "address" + internalType: 'address', + name: 'underlyingAsset', + type: 'address', }, { - internalType: "string", - name: "name", - type: "string" + internalType: 'string', + name: 'name', + type: 'string', }, { - internalType: "string", - name: "symbol", - type: "string" + internalType: 'string', + name: 'symbol', + type: 'string', }, { - internalType: "uint256", - name: "decimals", - type: "uint256" + internalType: 'uint256', + name: 'decimals', + type: 'uint256', }, { - internalType: "uint256", - name: "baseLTVasCollateral", - type: "uint256" + internalType: 'uint256', + name: 'baseLTVasCollateral', + type: 'uint256', }, { - internalType: "uint256", - name: "reserveLiquidationThreshold", - type: "uint256" + internalType: 'uint256', + name: 'reserveLiquidationThreshold', + type: 'uint256', }, { - internalType: "uint256", - name: "reserveLiquidationBonus", - type: "uint256" + internalType: 'uint256', + name: 'reserveLiquidationBonus', + type: 'uint256', }, { - internalType: "uint256", - name: "reserveFactor", - type: "uint256" + internalType: 'uint256', + name: 'reserveFactor', + type: 'uint256', }, { - internalType: "bool", - name: "usageAsCollateralEnabled", - type: "bool" + internalType: 'bool', + name: 'usageAsCollateralEnabled', + type: 'bool', }, { - internalType: "bool", - name: "borrowingEnabled", - type: "bool" + internalType: 'bool', + name: 'borrowingEnabled', + type: 'bool', }, { - internalType: "bool", - name: "stableBorrowRateEnabled", - type: "bool" + internalType: 'bool', + name: 'stableBorrowRateEnabled', + type: 'bool', }, { - internalType: "bool", - name: "isActive", - type: "bool" + internalType: 'bool', + name: 'isActive', + type: 'bool', }, { - internalType: "bool", - name: "isFrozen", - type: "bool" + internalType: 'bool', + name: 'isFrozen', + type: 'bool', }, { - internalType: "uint128", - name: "liquidityIndex", - type: "uint128" + internalType: 'uint128', + name: 'liquidityIndex', + type: 'uint128', }, { - internalType: "uint128", - name: "variableBorrowIndex", - type: "uint128" + internalType: 'uint128', + name: 'variableBorrowIndex', + type: 'uint128', }, { - internalType: "uint128", - name: "liquidityRate", - type: "uint128" + internalType: 'uint128', + name: 'liquidityRate', + type: 'uint128', }, { - internalType: "uint128", - name: "variableBorrowRate", - type: "uint128" + internalType: 'uint128', + name: 'variableBorrowRate', + type: 'uint128', }, { - internalType: "uint128", - name: "stableBorrowRate", - type: "uint128" + internalType: 'uint128', + name: 'stableBorrowRate', + type: 'uint128', }, { - internalType: "uint40", - name: "lastUpdateTimestamp", - type: "uint40" + internalType: 'uint40', + name: 'lastUpdateTimestamp', + type: 'uint40', }, { - internalType: "address", - name: "aTokenAddress", - type: "address" + internalType: 'address', + name: 'aTokenAddress', + type: 'address', }, { - internalType: "address", - name: "stableDebtTokenAddress", - type: "address" + internalType: 'address', + name: 'stableDebtTokenAddress', + type: 'address', }, { - internalType: "address", - name: "variableDebtTokenAddress", - type: "address" + internalType: 'address', + name: 'variableDebtTokenAddress', + type: 'address', }, { - internalType: "address", - name: "interestRateStrategyAddress", - type: "address" + internalType: 'address', + name: 'interestRateStrategyAddress', + type: 'address', }, { - internalType: "uint256", - name: "availableLiquidity", - type: "uint256" + internalType: 'uint256', + name: 'availableLiquidity', + type: 'uint256', }, { - internalType: "uint256", - name: "totalPrincipalStableDebt", - type: "uint256" + internalType: 'uint256', + name: 'totalPrincipalStableDebt', + type: 'uint256', }, { - internalType: "uint256", - name: "averageStableRate", - type: "uint256" + internalType: 'uint256', + name: 'averageStableRate', + type: 'uint256', }, { - internalType: "uint256", - name: "stableDebtLastUpdateTimestamp", - type: "uint256" + internalType: 'uint256', + name: 'stableDebtLastUpdateTimestamp', + type: 'uint256', }, { - internalType: "uint256", - name: "totalScaledVariableDebt", - type: "uint256" + internalType: 'uint256', + name: 'totalScaledVariableDebt', + type: 'uint256', }, { - internalType: "uint256", - name: "priceInMarketReferenceCurrency", - type: "uint256" + internalType: 'uint256', + name: 'priceInMarketReferenceCurrency', + type: 'uint256', }, { - internalType: "address", - name: "priceOracle", - type: "address" + internalType: 'address', + name: 'priceOracle', + type: 'address', }, { - internalType: "uint256", - name: "variableRateSlope1", - type: "uint256" + internalType: 'uint256', + name: 'variableRateSlope1', + type: 'uint256', }, { - internalType: "uint256", - name: "variableRateSlope2", - type: "uint256" + internalType: 'uint256', + name: 'variableRateSlope2', + type: 'uint256', }, { - internalType: "uint256", - name: "stableRateSlope1", - type: "uint256" + internalType: 'uint256', + name: 'stableRateSlope1', + type: 'uint256', }, { - internalType: "uint256", - name: "stableRateSlope2", - type: "uint256" + internalType: 'uint256', + name: 'stableRateSlope2', + type: 'uint256', }, { - internalType: "uint256", - name: "baseStableBorrowRate", - type: "uint256" + internalType: 'uint256', + name: 'baseStableBorrowRate', + type: 'uint256', }, { - internalType: "uint256", - name: "baseVariableBorrowRate", - type: "uint256" + internalType: 'uint256', + name: 'baseVariableBorrowRate', + type: 'uint256', }, { - internalType: "uint256", - name: "optimalUsageRatio", - type: "uint256" + internalType: 'uint256', + name: 'optimalUsageRatio', + type: 'uint256', }, { - internalType: "bool", - name: "isPaused", - type: "bool" + internalType: 'bool', + name: 'isPaused', + type: 'bool', }, { - internalType: "bool", - name: "isSiloedBorrowing", - type: "bool" + internalType: 'bool', + name: 'isSiloedBorrowing', + type: 'bool', }, { - internalType: "uint128", - name: "accruedToTreasury", - type: "uint128" + internalType: 'uint128', + name: 'accruedToTreasury', + type: 'uint128', }, { - internalType: "uint128", - name: "unbacked", - type: "uint128" + internalType: 'uint128', + name: 'unbacked', + type: 'uint128', }, { - internalType: "uint128", - name: "isolationModeTotalDebt", - type: "uint128" + internalType: 'uint128', + name: 'isolationModeTotalDebt', + type: 'uint128', }, { - internalType: "uint256", - name: "debtCeiling", - type: "uint256" + internalType: 'uint256', + name: 'debtCeiling', + type: 'uint256', }, { - internalType: "uint256", - name: "debtCeilingDecimals", - type: "uint256" + internalType: 'uint256', + name: 'debtCeilingDecimals', + type: 'uint256', }, { - internalType: "uint8", - name: "eModeCategoryId", - type: "uint8" + internalType: 'uint8', + name: 'eModeCategoryId', + type: 'uint8', }, { - internalType: "uint256", - name: "borrowCap", - type: "uint256" + internalType: 'uint256', + name: 'borrowCap', + type: 'uint256', }, { - internalType: "uint256", - name: "supplyCap", - type: "uint256" + internalType: 'uint256', + name: 'supplyCap', + type: 'uint256', }, { - internalType: "uint16", - name: "eModeLtv", - type: "uint16" + internalType: 'uint16', + name: 'eModeLtv', + type: 'uint16', }, { - internalType: "uint16", - name: "eModeLiquidationThreshold", - type: "uint16" + internalType: 'uint16', + name: 'eModeLiquidationThreshold', + type: 'uint16', }, { - internalType: "uint16", - name: "eModeLiquidationBonus", - type: "uint16" + internalType: 'uint16', + name: 'eModeLiquidationBonus', + type: 'uint16', }, { - internalType: "address", - name: "eModePriceSource", - type: "address" + internalType: 'address', + name: 'eModePriceSource', + type: 'address', }, { - internalType: "string", - name: "eModeLabel", - type: "string" + internalType: 'string', + name: 'eModeLabel', + type: 'string', }, { - internalType: "bool", - name: "borrowableInIsolation", - type: "bool" - } + internalType: 'bool', + name: 'borrowableInIsolation', + type: 'bool', + }, ], - internalType: "struct IUiPoolDataProviderV3.AggregatedReserveData[]", - name: "", - type: "tuple[]" + internalType: 'struct IUiPoolDataProviderV3.AggregatedReserveData[]', + name: '', + type: 'tuple[]', }, { components: [ { - internalType: "uint256", - name: "marketReferenceCurrencyUnit", - type: "uint256" + internalType: 'uint256', + name: 'marketReferenceCurrencyUnit', + type: 'uint256', }, { - internalType: "int256", - name: "marketReferenceCurrencyPriceInUsd", - type: "int256" + internalType: 'int256', + name: 'marketReferenceCurrencyPriceInUsd', + type: 'int256', }, { - internalType: "int256", - name: "networkBaseTokenPriceInUsd", - type: "int256" + internalType: 'int256', + name: 'networkBaseTokenPriceInUsd', + type: 'int256', }, { - internalType: "uint8", - name: "networkBaseTokenPriceDecimals", - type: "uint8" - } + internalType: 'uint8', + name: 'networkBaseTokenPriceDecimals', + type: 'uint8', + }, ], - internalType: "struct IUiPoolDataProviderV3.BaseCurrencyInfo", - name: "", - type: "tuple" - } + internalType: 'struct IUiPoolDataProviderV3.BaseCurrencyInfo', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "provider", - type: "address" - } + internalType: 'contract IPoolAddressesProvider', + name: 'provider', + type: 'address', + }, ], - name: "getReservesList", + name: 'getReservesList', outputs: [ { - internalType: "address[]", - name: "", - type: "address[]" - } + internalType: 'address[]', + name: '', + type: 'address[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "provider", - type: "address" + internalType: 'contract IPoolAddressesProvider', + name: 'provider', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserReservesData", + name: 'getUserReservesData', outputs: [ { components: [ { - internalType: "address", - name: "underlyingAsset", - type: "address" + internalType: 'address', + name: 'underlyingAsset', + type: 'address', }, { - internalType: "uint256", - name: "scaledATokenBalance", - type: "uint256" + internalType: 'uint256', + name: 'scaledATokenBalance', + type: 'uint256', }, { - internalType: "bool", - name: "usageAsCollateralEnabledOnUser", - type: "bool" + internalType: 'bool', + name: 'usageAsCollateralEnabledOnUser', + type: 'bool', }, { - internalType: "uint256", - name: "stableBorrowRate", - type: "uint256" + internalType: 'uint256', + name: 'stableBorrowRate', + type: 'uint256', }, { - internalType: "uint256", - name: "scaledVariableDebt", - type: "uint256" + internalType: 'uint256', + name: 'scaledVariableDebt', + type: 'uint256', }, { - internalType: "uint256", - name: "principalStableDebt", - type: "uint256" + internalType: 'uint256', + name: 'principalStableDebt', + type: 'uint256', }, { - internalType: "uint256", - name: "stableBorrowLastUpdateTimestamp", - type: "uint256" - } + internalType: 'uint256', + name: 'stableBorrowLastUpdateTimestamp', + type: 'uint256', + }, ], - internalType: "struct IUiPoolDataProviderV3.UserReserveData[]", - name: "", - type: "tuple[]" + internalType: 'struct IUiPoolDataProviderV3.UserReserveData[]', + name: '', + type: 'tuple[]', }, { - internalType: "uint8", - name: "", - type: "uint8" - } + internalType: 'uint8', + name: '', + type: 'uint8', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; var IUiPoolDataProviderV3__factory = class { static createInterface() { @@ -37414,57 +40914,60 @@ var require_IUiPoolDataProviderV3_factory = __commonJS({ }; exports2.IUiPoolDataProviderV3__factory = IUiPoolDataProviderV3__factory; IUiPoolDataProviderV3__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/types.js var require_types4 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/types.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - } + 'node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/types.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/index.js var require_v3_UiPoolDataProvider_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-UiPoolDataProvider-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.UiPoolDataProvider = void 0; var tslib_1 = require_tslib(); var utils_1 = require_utils5(); var IUiPoolDataProviderV3__factory_1 = require_IUiPoolDataProviderV3_factory(); (0, tslib_1.__exportStar)(require_types4(), exports2); var ammSymbolMap = { - "0xae461ca67b15dc8dc81ce7615e0320da1a9ab8d5": "UNIDAIUSDC", - "0x004375dff511095cc5a197a54140a24efef3a416": "UNIWBTCUSDC", - "0xa478c2975ab1ea89e8196811f51a7b7ade33eb11": "UNIDAIWETH", - "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc": "UNIUSDCWETH", - "0xdfc14d2af169b0d36c4eff567ada9b2e0cae044f": "UNIAAVEWETH", - "0xb6909b960dbbe7392d405429eb2b3649752b4838": "UNIBATWETH", - "0x3da1313ae46132a397d90d95b1424a9a7e3e0fce": "UNICRVWETH", - "0xa2107fa5b38d9bbd2c461d6edf11b11a50f6b974": "UNILINKWETH", - "0xc2adda861f89bbb333c90c492cb837741916a225": "UNIMKRWETH", - "0x8bd1661da98ebdd3bd080f0be4e6d9be8ce9858c": "UNIRENWETH", - "0x43ae24960e5534731fc831386c07755a2dc33d47": "UNISNXWETH", - "0xd3d2e2692501a5c9ca623199d38826e513033a17": "UNIUNIWETH", - "0xbb2b8038a1640196fbe3e38816f3e67cba72d940": "UNIWBTCWETH", - "0x2fdbadf3c4d5a8666bc06645b8358ab803996e28": "UNIYFIWETH", - "0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5": "BPTWBTCWETH", - "0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4": "BPTBALWETH" + '0xae461ca67b15dc8dc81ce7615e0320da1a9ab8d5': 'UNIDAIUSDC', + '0x004375dff511095cc5a197a54140a24efef3a416': 'UNIWBTCUSDC', + '0xa478c2975ab1ea89e8196811f51a7b7ade33eb11': 'UNIDAIWETH', + '0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc': 'UNIUSDCWETH', + '0xdfc14d2af169b0d36c4eff567ada9b2e0cae044f': 'UNIAAVEWETH', + '0xb6909b960dbbe7392d405429eb2b3649752b4838': 'UNIBATWETH', + '0x3da1313ae46132a397d90d95b1424a9a7e3e0fce': 'UNICRVWETH', + '0xa2107fa5b38d9bbd2c461d6edf11b11a50f6b974': 'UNILINKWETH', + '0xc2adda861f89bbb333c90c492cb837741916a225': 'UNIMKRWETH', + '0x8bd1661da98ebdd3bd080f0be4e6d9be8ce9858c': 'UNIRENWETH', + '0x43ae24960e5534731fc831386c07755a2dc33d47': 'UNISNXWETH', + '0xd3d2e2692501a5c9ca623199d38826e513033a17': 'UNIUNIWETH', + '0xbb2b8038a1640196fbe3e38816f3e67cba72d940': 'UNIWBTCWETH', + '0x2fdbadf3c4d5a8666bc06645b8358ab803996e28': 'UNIYFIWETH', + '0x1eff8af5d577060ba4ac8a29a13525bb0ee2a3d5': 'BPTWBTCWETH', + '0x59a19d8c652fa0284f44113d0ff9aba70bd46fb4': 'BPTBALWETH', }; var UiPoolDataProvider = class { constructor(context) { if (!(0, utils_1.isAddress)(context.uiPoolDataProviderAddress)) { - throw new Error("contract address is not valid"); + throw new Error('contract address is not valid'); } - this._contract = IUiPoolDataProviderV3__factory_1.IUiPoolDataProviderV3__factory.connect(context.uiPoolDataProviderAddress, context.provider); + this._contract = IUiPoolDataProviderV3__factory_1.IUiPoolDataProviderV3__factory.connect( + context.uiPoolDataProviderAddress, + context.provider + ); this.chainId = context.chainId; } getReservesList(_0) { return __async(this, arguments, function* ({ lendingPoolAddressProvider }) { if (!(0, utils_1.isAddress)(lendingPoolAddressProvider)) { - throw new Error("Lending pool address is not valid"); + throw new Error('Lending pool address is not valid'); } return this._contract.getReservesList(lendingPoolAddressProvider); }); @@ -37472,7 +40975,7 @@ var require_v3_UiPoolDataProvider_contract = __commonJS({ getReservesData(_0) { return __async(this, arguments, function* ({ lendingPoolAddressProvider }) { if (!(0, utils_1.isAddress)(lendingPoolAddressProvider)) { - throw new Error("Lending pool address is not valid"); + throw new Error('Lending pool address is not valid'); } return this._contract.getReservesData(lendingPoolAddressProvider); }); @@ -37480,22 +40983,26 @@ var require_v3_UiPoolDataProvider_contract = __commonJS({ getUserReservesData(_0) { return __async(this, arguments, function* ({ lendingPoolAddressProvider, user }) { if (!(0, utils_1.isAddress)(lendingPoolAddressProvider)) { - throw new Error("Lending pool address is not valid"); + throw new Error('Lending pool address is not valid'); } if (!(0, utils_1.isAddress)(user)) { - throw new Error("User address is not a valid ethereum address"); + throw new Error('User address is not a valid ethereum address'); } return this._contract.getUserReservesData(lendingPoolAddressProvider, user); }); } getReservesHumanized(_0) { return __async(this, arguments, function* ({ lendingPoolAddressProvider }) { - const { 0: reservesRaw, 1: poolBaseCurrencyRaw } = yield this.getReservesData({ lendingPoolAddressProvider }); + const { 0: reservesRaw, 1: poolBaseCurrencyRaw } = yield this.getReservesData({ + lendingPoolAddressProvider, + }); const reservesData = reservesRaw.map((reserveRaw) => ({ id: `${this.chainId}-${reserveRaw.underlyingAsset}-${lendingPoolAddressProvider}`.toLowerCase(), underlyingAsset: reserveRaw.underlyingAsset.toLowerCase(), name: reserveRaw.name, - symbol: ammSymbolMap[reserveRaw.underlyingAsset.toLowerCase()] ? ammSymbolMap[reserveRaw.underlyingAsset.toLowerCase()] : reserveRaw.symbol, + symbol: ammSymbolMap[reserveRaw.underlyingAsset.toLowerCase()] + ? ammSymbolMap[reserveRaw.underlyingAsset.toLowerCase()] + : reserveRaw.symbol, decimals: reserveRaw.decimals.toNumber(), baseLTVasCollateral: reserveRaw.baseLTVasCollateral.toString(), reserveLiquidationThreshold: reserveRaw.reserveLiquidationThreshold.toString(), @@ -37545,23 +41052,28 @@ var require_v3_UiPoolDataProvider_contract = __commonJS({ unbacked: reserveRaw.unbacked.toString(), isolationModeTotalDebt: reserveRaw.isolationModeTotalDebt.toString(), debtCeilingDecimals: reserveRaw.debtCeilingDecimals.toNumber(), - isSiloedBorrowing: reserveRaw.isSiloedBorrowing + isSiloedBorrowing: reserveRaw.isSiloedBorrowing, })); const baseCurrencyData = { - marketReferenceCurrencyDecimals: poolBaseCurrencyRaw.marketReferenceCurrencyUnit.toString().length - 1, - marketReferenceCurrencyPriceInUsd: poolBaseCurrencyRaw.marketReferenceCurrencyPriceInUsd.toString(), + marketReferenceCurrencyDecimals: + poolBaseCurrencyRaw.marketReferenceCurrencyUnit.toString().length - 1, + marketReferenceCurrencyPriceInUsd: + poolBaseCurrencyRaw.marketReferenceCurrencyPriceInUsd.toString(), networkBaseTokenPriceInUsd: poolBaseCurrencyRaw.networkBaseTokenPriceInUsd.toString(), - networkBaseTokenPriceDecimals: poolBaseCurrencyRaw.networkBaseTokenPriceDecimals + networkBaseTokenPriceDecimals: poolBaseCurrencyRaw.networkBaseTokenPriceDecimals, }; return { reservesData, - baseCurrencyData + baseCurrencyData, }; }); } getUserReservesHumanized(_0) { return __async(this, arguments, function* ({ lendingPoolAddressProvider, user }) { - const { 0: userReservesRaw, 1: userEmodeCategoryId } = yield this.getUserReservesData({ lendingPoolAddressProvider, user }); + const { 0: userReservesRaw, 1: userEmodeCategoryId } = yield this.getUserReservesData({ + lendingPoolAddressProvider, + user, + }); return { userReserves: userReservesRaw.map((userReserveRaw) => ({ id: `${this.chainId}-${user}-${userReserveRaw.underlyingAsset}-${lendingPoolAddressProvider}`.toLowerCase(), @@ -37571,22 +41083,25 @@ var require_v3_UiPoolDataProvider_contract = __commonJS({ stableBorrowRate: userReserveRaw.stableBorrowRate.toString(), scaledVariableDebt: userReserveRaw.scaledVariableDebt.toString(), principalStableDebt: userReserveRaw.principalStableDebt.toString(), - stableBorrowLastUpdateTimestamp: userReserveRaw.stableBorrowLastUpdateTimestamp.toNumber() + stableBorrowLastUpdateTimestamp: + userReserveRaw.stableBorrowLastUpdateTimestamp.toNumber(), })), - userEmodeCategoryId + userEmodeCategoryId, }; }); } }; exports2.UiPoolDataProvider = UiPoolDataProvider; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/typechain/WalletBalanceProviderFactory.js var require_WalletBalanceProviderFactory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/typechain/WalletBalanceProviderFactory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/typechain/WalletBalanceProviderFactory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.WalletBalanceProviderFactory = void 0; var contracts_1 = require_lib28(); var WalletBalanceProviderFactory = class extends contracts_1.ContractFactory { @@ -37602,102 +41117,105 @@ var require_WalletBalanceProviderFactory = __commonJS({ { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "token", - type: "address" - } + internalType: 'address', + name: 'token', + type: 'address', + }, ], - name: "balanceOf", + name: 'balanceOf', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "users", - type: "address[]" + internalType: 'address[]', + name: 'users', + type: 'address[]', }, { - internalType: "address[]", - name: "tokens", - type: "address[]" - } + internalType: 'address[]', + name: 'tokens', + type: 'address[]', + }, ], - name: "batchBalanceOf", + name: 'batchBalanceOf', outputs: [ { - internalType: "uint256[]", - name: "", - type: "uint256[]" - } + internalType: 'uint256[]', + name: '', + type: 'uint256[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "provider", - type: "address" + internalType: 'address', + name: 'provider', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserWalletBalances", + name: 'getUserWalletBalances', outputs: [ { - internalType: "address[]", - name: "", - type: "address[]" + internalType: 'address[]', + name: '', + type: 'address[]', }, { - internalType: "uint256[]", - name: "", - type: "uint256[]" - } + internalType: 'uint256[]', + name: '', + type: 'uint256[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { - stateMutability: "payable", - type: "receive" - } + stateMutability: 'payable', + type: 'receive', + }, ]; - var _bytecode = "0x608060405234801561001057600080fd5b50610a63806100206000396000f3fe6080604052600436106100385760003560e01c80630240534314610072578063b59b28ef146100a9578063f7888aec146100d65761006d565b3661006d5761004633610103565b61006b5760405162461bcd60e51b8152600401610062906109c9565b60405180910390fd5b005b600080fd5b34801561007e57600080fd5b5061009261008d366004610758565b61013f565b6040516100a092919061092f565b60405180910390f35b3480156100b557600080fd5b506100c96100c4366004610790565b6104b1565b6040516100a0919061098f565b3480156100e257600080fd5b506100f66100f1366004610758565b61058d565b6040516100a091906109e5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061013757508115155b949350505050565b6060806000846001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561017d57600080fd5b505afa158015610191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b5919061073c565b90506060816001600160a01b031663d1946dbc6040518163ffffffff1660e01b815260040160006040518083038186803b1580156101f257600080fd5b505afa158015610206573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261022e91908101906107f9565b90506060815160010167ffffffffffffffff8111801561024d57600080fd5b50604051908082528060200260200182016040528015610277578160200160208202803683370190505b50905060005b82518110156102c65782818151811061029257fe5b60200260200101518282815181106102a657fe5b6001600160a01b039092166020928302919091019091015260010161027d565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee818351815181106102e957fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506060815167ffffffffffffffff8111801561032357600080fd5b5060405190808252806020026020018201604052801561034d578160200160208202803683370190505b50905060005b835181101561046b576103646106b9565b856001600160a01b031663c44b11f785848151811061037f57fe5b60200260200101516040518263ffffffff1660e01b81526004016103a3919061091b565b60206040518083038186803b1580156103bb57600080fd5b505afa1580156103cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f391906108a4565b905060006104008261067d565b50505090508061042b57600084848151811061041857fe5b6020026020010181815250505050610463565b6104488a86858151811061043b57fe5b602002602001015161058d565b84848151811061045457fe5b60200260200101818152505050505b600101610353565b5061048a8773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61058d565b8184518151811061049757fe5b6020908102919091010152909450925050505b9250929050565b60608084830267ffffffffffffffff811180156104cd57600080fd5b506040519080825280602002602001820160405280156104f7578160200160208202803683370190505b50905060005b858110156105835760005b8481101561057a5761055588888481811061051f57fe5b90506020020160208101906105349190610719565b87878481811061054057fe5b90506020020160208101906100f19190610719565b83518490848802840190811061056757fe5b6020908102919091010152600101610508565b506001016104fd565b5095945050505050565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156105c557506001600160a01b03821631610677565b6105d7826001600160a01b0316610103565b1561065f576040516370a0823160e01b81526001600160a01b038316906370a082319061060890869060040161091b565b60206040518083038186803b15801561062057600080fd5b505afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065891906108c9565b9050610677565b60405162461bcd60e51b8152600401610062906109a2565b92915050565b51670100000000000000811615159167020000000000000082161515916704000000000000008116151591670800000000000000909116151590565b6040518060200160405280600081525090565b805161067781610a15565b60008083601f8401126106e8578182fd5b50813567ffffffffffffffff8111156106ff578182fd5b60208301915083602080830285010111156104aa57600080fd5b60006020828403121561072a578081fd5b813561073581610a15565b9392505050565b60006020828403121561074d578081fd5b815161073581610a15565b6000806040838503121561076a578081fd5b823561077581610a15565b9150602083013561078581610a15565b809150509250929050565b600080600080604085870312156107a5578182fd5b843567ffffffffffffffff808211156107bc578384fd5b6107c8888389016106d7565b909650945060208701359150808211156107e0578384fd5b506107ed878288016106d7565b95989497509550505050565b6000602080838503121561080b578182fd5b825167ffffffffffffffff80821115610822578384fd5b818501915085601f830112610835578384fd5b815181811115610843578485fd5b83810291506108538483016109ee565b8181528481019084860184860187018a101561086d578788fd5b8795505b83861015610897576108838a826106cc565b835260019590950194918601918601610871565b5098975050505050505050565b6000602082840312156108b5578081fd5b6108bf60206109ee565b9151825250919050565b6000602082840312156108da578081fd5b5051919050565b6000815180845260208085019450808401835b83811015610910578151875295820195908201906001016108f4565b509495945050505050565b6001600160a01b0391909116815260200190565b604080825283519082018190526000906020906060840190828701845b828110156109715781516001600160a01b03168452928401929084019060010161094c565b5050508381038285015261098581866108e1565b9695505050505050565b60006020825261073560208301846108e1565b6020808252600d908201526c24a72b20a624a22faa27a5a2a760991b604082015260600190565b602080825260029082015261191960f11b604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715610a0d57600080fd5b604052919050565b6001600160a01b0381168114610a2a57600080fd5b5056fea26469706673582212207ae67703d49267c117fb5657d5acf71315b42fa382a2989a68cd98ccc5351bc964736f6c634300060c0033"; - } + var _bytecode = + '0x608060405234801561001057600080fd5b50610a63806100206000396000f3fe6080604052600436106100385760003560e01c80630240534314610072578063b59b28ef146100a9578063f7888aec146100d65761006d565b3661006d5761004633610103565b61006b5760405162461bcd60e51b8152600401610062906109c9565b60405180910390fd5b005b600080fd5b34801561007e57600080fd5b5061009261008d366004610758565b61013f565b6040516100a092919061092f565b60405180910390f35b3480156100b557600080fd5b506100c96100c4366004610790565b6104b1565b6040516100a0919061098f565b3480156100e257600080fd5b506100f66100f1366004610758565b61058d565b6040516100a091906109e5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061013757508115155b949350505050565b6060806000846001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561017d57600080fd5b505afa158015610191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101b5919061073c565b90506060816001600160a01b031663d1946dbc6040518163ffffffff1660e01b815260040160006040518083038186803b1580156101f257600080fd5b505afa158015610206573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261022e91908101906107f9565b90506060815160010167ffffffffffffffff8111801561024d57600080fd5b50604051908082528060200260200182016040528015610277578160200160208202803683370190505b50905060005b82518110156102c65782818151811061029257fe5b60200260200101518282815181106102a657fe5b6001600160a01b039092166020928302919091019091015260010161027d565b5073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee818351815181106102e957fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506060815167ffffffffffffffff8111801561032357600080fd5b5060405190808252806020026020018201604052801561034d578160200160208202803683370190505b50905060005b835181101561046b576103646106b9565b856001600160a01b031663c44b11f785848151811061037f57fe5b60200260200101516040518263ffffffff1660e01b81526004016103a3919061091b565b60206040518083038186803b1580156103bb57600080fd5b505afa1580156103cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f391906108a4565b905060006104008261067d565b50505090508061042b57600084848151811061041857fe5b6020026020010181815250505050610463565b6104488a86858151811061043b57fe5b602002602001015161058d565b84848151811061045457fe5b60200260200101818152505050505b600101610353565b5061048a8773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61058d565b8184518151811061049757fe5b6020908102919091010152909450925050505b9250929050565b60608084830267ffffffffffffffff811180156104cd57600080fd5b506040519080825280602002602001820160405280156104f7578160200160208202803683370190505b50905060005b858110156105835760005b8481101561057a5761055588888481811061051f57fe5b90506020020160208101906105349190610719565b87878481811061054057fe5b90506020020160208101906100f19190610719565b83518490848802840190811061056757fe5b6020908102919091010152600101610508565b506001016104fd565b5095945050505050565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156105c557506001600160a01b03821631610677565b6105d7826001600160a01b0316610103565b1561065f576040516370a0823160e01b81526001600160a01b038316906370a082319061060890869060040161091b565b60206040518083038186803b15801561062057600080fd5b505afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065891906108c9565b9050610677565b60405162461bcd60e51b8152600401610062906109a2565b92915050565b51670100000000000000811615159167020000000000000082161515916704000000000000008116151591670800000000000000909116151590565b6040518060200160405280600081525090565b805161067781610a15565b60008083601f8401126106e8578182fd5b50813567ffffffffffffffff8111156106ff578182fd5b60208301915083602080830285010111156104aa57600080fd5b60006020828403121561072a578081fd5b813561073581610a15565b9392505050565b60006020828403121561074d578081fd5b815161073581610a15565b6000806040838503121561076a578081fd5b823561077581610a15565b9150602083013561078581610a15565b809150509250929050565b600080600080604085870312156107a5578182fd5b843567ffffffffffffffff808211156107bc578384fd5b6107c8888389016106d7565b909650945060208701359150808211156107e0578384fd5b506107ed878288016106d7565b95989497509550505050565b6000602080838503121561080b578182fd5b825167ffffffffffffffff80821115610822578384fd5b818501915085601f830112610835578384fd5b815181811115610843578485fd5b83810291506108538483016109ee565b8181528481019084860184860187018a101561086d578788fd5b8795505b83861015610897576108838a826106cc565b835260019590950194918601918601610871565b5098975050505050505050565b6000602082840312156108b5578081fd5b6108bf60206109ee565b9151825250919050565b6000602082840312156108da578081fd5b5051919050565b6000815180845260208085019450808401835b83811015610910578151875295820195908201906001016108f4565b509495945050505050565b6001600160a01b0391909116815260200190565b604080825283519082018190526000906020906060840190828701845b828110156109715781516001600160a01b03168452928401929084019060010161094c565b5050508381038285015261098581866108e1565b9695505050505050565b60006020825261073560208301846108e1565b6020808252600d908201526c24a72b20a624a22faa27a5a2a760991b604082015260600190565b602080825260029082015261191960f11b604082015260600190565b90815260200190565b60405181810167ffffffffffffffff81118282101715610a0d57600080fd5b604052919050565b6001600160a01b0381168114610a2a57600080fd5b5056fea26469706673582212207ae67703d49267c117fb5657d5acf71315b42fa382a2989a68cd98ccc5351bc964736f6c634300060c0033'; + }, }); // node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/types/WalletBalanceProviderTypes.js var require_WalletBalanceProviderTypes = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/types/WalletBalanceProviderTypes.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - } + 'node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/types/WalletBalanceProviderTypes.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/index.js var require_wallet_balance_provider = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/wallet-balance-provider/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.WalletBalanceProvider = void 0; var tslib_1 = require_tslib(); var utils_1 = require_utils5(); @@ -37705,15 +41223,18 @@ var require_wallet_balance_provider = __commonJS({ (0, tslib_1.__exportStar)(require_WalletBalanceProviderTypes(), exports2); var WalletBalanceProvider = class { constructor(context) { - this._contract = WalletBalanceProviderFactory_1.WalletBalanceProviderFactory.connect(context.walletBalanceProviderAddress, context.provider); + this._contract = WalletBalanceProviderFactory_1.WalletBalanceProviderFactory.connect( + context.walletBalanceProviderAddress, + context.provider + ); } balanceOf(user, token) { return __async(this, null, function* () { if (!(0, utils_1.isAddress)(user)) { - throw new Error("User address is not a valid ethereum address"); + throw new Error('User address is not a valid ethereum address'); } if (!(0, utils_1.isAddress)(token)) { - throw new Error("Token address is not a valid ethereum address"); + throw new Error('Token address is not a valid ethereum address'); } return this._contract.balanceOf(user, token); }); @@ -37721,10 +41242,10 @@ var require_wallet_balance_provider = __commonJS({ batchBalanceOf(users, tokens) { return __async(this, null, function* () { if (!users.every((u) => (0, utils_1.isAddress)(u))) { - throw new Error("One of the user address is not a valid ethereum address"); + throw new Error('One of the user address is not a valid ethereum address'); } if (!tokens.every((u) => (0, utils_1.isAddress)(u))) { - throw new Error("One of the token address is not a valid ethereum address"); + throw new Error('One of the token address is not a valid ethereum address'); } return this._contract.batchBalanceOf(users, tokens); }); @@ -37732,24 +41253,26 @@ var require_wallet_balance_provider = __commonJS({ getUserWalletBalancesForLendingPoolProvider(user, lendingPoolAddressProvider) { return __async(this, null, function* () { if (!(0, utils_1.isAddress)(user)) { - throw new Error("User address is not a valid ethereum address"); + throw new Error('User address is not a valid ethereum address'); } if (!(0, utils_1.isAddress)(lendingPoolAddressProvider)) { - throw new Error("Lending pool address provider is not a valid ethereum address"); + throw new Error('Lending pool address provider is not a valid ethereum address'); } return this._contract.getUserWalletBalances(lendingPoolAddressProvider, user); }); } }; exports2.WalletBalanceProvider = WalletBalanceProvider; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/typechain/StakeUiHelperFactory.js var require_StakeUiHelperFactory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/typechain/StakeUiHelperFactory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/typechain/StakeUiHelperFactory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.StakeUiHelperFactory = void 0; var ethers_1 = require_lib31(); var StakeUiHelperFactory = class { @@ -37761,923 +41284,923 @@ var require_StakeUiHelperFactory = __commonJS({ var _abi = [ { inputs: [], - name: "getGeneralStakeUIData", + name: 'getGeneralStakeUIData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" - } + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.GeneralStakeUIData", - name: "", - type: "tuple" + internalType: 'struct StakeUIHelperI.GeneralStakeUIData', + name: '', + type: 'tuple', }, { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" - } + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.GeneralStakeUIData", - name: "", - type: "tuple" + internalType: 'struct StakeUIHelperI.GeneralStakeUIData', + name: '', + type: 'tuple', }, { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getStkAaveData", + name: 'getStkAaveData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.AssetUIData", - name: "", - type: "tuple" - } + internalType: 'struct StakeUIHelperI.AssetUIData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getStkBptData", + name: 'getStkBptData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.AssetUIData", - name: "", - type: "tuple" - } + internalType: 'struct StakeUIHelperI.AssetUIData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getStkGeneralAaveData", + name: 'getStkGeneralAaveData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" - } + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.GeneralStakeUIData", - name: "", - type: "tuple" - } + internalType: 'struct StakeUIHelperI.GeneralStakeUIData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getStkGeneralBptData", + name: 'getStkGeneralBptData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" - } + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.GeneralStakeUIData", - name: "", - type: "tuple" - } + internalType: 'struct StakeUIHelperI.GeneralStakeUIData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getStkUserAaveData", + name: 'getStkUserAaveData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData", - name: "", - type: "tuple" - } + internalType: 'struct StakeUIHelperI.UserStakeUIData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getStkUserBptData", + name: 'getStkUserBptData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData", - name: "", - type: "tuple" - } + internalType: 'struct StakeUIHelperI.UserStakeUIData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "user", - type: "address[]" - } + internalType: 'address[]', + name: 'user', + type: 'address[]', + }, ], - name: "getStkUsersAaveData", + name: 'getStkUsersAaveData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData[]", - name: "", - type: "tuple[]" - } + internalType: 'struct StakeUIHelperI.UserStakeUIData[]', + name: '', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "user", - type: "address[]" - } + internalType: 'address[]', + name: 'user', + type: 'address[]', + }, ], - name: "getStkUsersBptData", + name: 'getStkUsersBptData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData[]", - name: "", - type: "tuple[]" - } + internalType: 'struct StakeUIHelperI.UserStakeUIData[]', + name: '', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserStakeUIData", + name: 'getUserStakeUIData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData", - name: "", - type: "tuple" + internalType: 'struct StakeUIHelperI.UserStakeUIData', + name: '', + type: 'tuple', }, { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData", - name: "", - type: "tuple" + internalType: 'struct StakeUIHelperI.UserStakeUIData', + name: '', + type: 'tuple', }, { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserUIData", + name: 'getUserUIData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.AssetUIData", - name: "", - type: "tuple" + internalType: 'struct StakeUIHelperI.AssetUIData', + name: '', + type: 'tuple', }, { components: [ { - internalType: "uint256", - name: "stakeTokenTotalSupply", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenTotalSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeCooldownSeconds", - type: "uint256" + internalType: 'uint256', + name: 'stakeCooldownSeconds', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeUnstakeWindow", - type: "uint256" + internalType: 'uint256', + name: 'stakeUnstakeWindow', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "rewardTokenPriceEth", - type: "uint256" + internalType: 'uint256', + name: 'rewardTokenPriceEth', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeApy", - type: "uint256" + internalType: 'uint256', + name: 'stakeApy', + type: 'uint256', }, { - internalType: "uint128", - name: "distributionPerSecond", - type: "uint128" + internalType: 'uint128', + name: 'distributionPerSecond', + type: 'uint128', }, { - internalType: "uint256", - name: "distributionEnd", - type: "uint256" + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', }, { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.AssetUIData", - name: "", - type: "tuple" + internalType: 'struct StakeUIHelperI.AssetUIData', + name: '', + type: 'tuple', }, { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "user", - type: "address[]" - } + internalType: 'address[]', + name: 'user', + type: 'address[]', + }, ], - name: "getUsersStakeUIData", + name: 'getUsersStakeUIData', outputs: [ { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData[]", - name: "", - type: "tuple[]" + internalType: 'struct StakeUIHelperI.UserStakeUIData[]', + name: '', + type: 'tuple[]', }, { components: [ { - internalType: "uint256", - name: "stakeTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'stakeTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "underlyingTokenUserBalance", - type: "uint256" + internalType: 'uint256', + name: 'underlyingTokenUserBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "userCooldown", - type: "uint256" + internalType: 'uint256', + name: 'userCooldown', + type: 'uint256', }, { - internalType: "uint256", - name: "userIncentivesToClaim", - type: "uint256" + internalType: 'uint256', + name: 'userIncentivesToClaim', + type: 'uint256', }, { - internalType: "uint256", - name: "userPermitNonce", - type: "uint256" - } + internalType: 'uint256', + name: 'userPermitNonce', + type: 'uint256', + }, ], - internalType: "struct StakeUIHelperI.UserStakeUIData[]", - name: "", - type: "tuple[]" + internalType: 'struct StakeUIHelperI.UserStakeUIData[]', + name: '', + type: 'tuple[]', }, { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/types.js var require_types5 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/types.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); - } + 'node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/types.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/index.js var require_uiStakeDataProvider_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/uiStakeDataProvider-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.UiStakeDataProvider = void 0; var tslib_1 = require_tslib(); var methodValidators_1 = require_methodValidators(); @@ -38686,7 +42209,10 @@ var require_uiStakeDataProvider_contract = __commonJS({ (0, tslib_1.__exportStar)(require_types5(), exports2); var UiStakeDataProvider = class { constructor(context) { - this._contract = StakeUiHelperFactory_1.StakeUiHelperFactory.connect(context.uiStakeDataProvider, context.provider); + this._contract = StakeUiHelperFactory_1.StakeUiHelperFactory.connect( + context.uiStakeDataProvider, + context.provider + ); } getUserStakeUIData(_0) { return __async(this, arguments, function* ({ user }) { @@ -38702,16 +42228,16 @@ var require_uiStakeDataProvider_contract = __commonJS({ underlyingTokenUserBalance: aave.underlyingTokenUserBalance.toString(), userCooldown: aave.userCooldown.toNumber(), userIncentivesToClaim: aave.userIncentivesToClaim.toString(), - userPermitNonce: aave.userPermitNonce.toString() + userPermitNonce: aave.userPermitNonce.toString(), }, bpt: { stakeTokenUserBalance: bpt.stakeTokenUserBalance.toString(), underlyingTokenUserBalance: bpt.underlyingTokenUserBalance.toString(), userCooldown: bpt.userCooldown.toNumber(), userIncentivesToClaim: bpt.userIncentivesToClaim.toString(), - userPermitNonce: bpt.userPermitNonce.toString() + userPermitNonce: bpt.userPermitNonce.toString(), }, - usdPriceEth: usdPriceEth.toString() + usdPriceEth: usdPriceEth.toString(), }; }); } @@ -38732,7 +42258,7 @@ var require_uiStakeDataProvider_contract = __commonJS({ rewardTokenPriceEth: aave.rewardTokenPriceEth.toString(), stakeApy: aave.stakeApy.toString(), distributionPerSecond: aave.distributionPerSecond.toString(), - distributionEnd: aave.distributionEnd.toString() + distributionEnd: aave.distributionEnd.toString(), }, bpt: { stakeTokenTotalSupply: bpt.stakeTokenTotalSupply.toString(), @@ -38742,36 +42268,48 @@ var require_uiStakeDataProvider_contract = __commonJS({ rewardTokenPriceEth: bpt.rewardTokenPriceEth.toString(), stakeApy: bpt.stakeApy.toString(), distributionPerSecond: bpt.distributionPerSecond.toString(), - distributionEnd: bpt.distributionEnd.toString() + distributionEnd: bpt.distributionEnd.toString(), }, - usdPriceEth: usdPriceEth.toString() + usdPriceEth: usdPriceEth.toString(), }; }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.StackeUiDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiStakeDataProvider.prototype, "getUserStakeUIData", null); - (0, tslib_1.__decorate)([ - methodValidators_1.StackeUiDataProviderValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], UiStakeDataProvider.prototype, "getUserStakeUIDataHumanized", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.StackeUiDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiStakeDataProvider.prototype, + 'getUserStakeUIData', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.StackeUiDataProviderValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + UiStakeDataProvider.prototype, + 'getUserStakeUIDataHumanized', + null + ); exports2.UiStakeDataProvider = UiStakeDataProvider; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/incentive-controller/typechain/IAaveIncentivesController__factory.js var require_IAaveIncentivesController_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/incentive-controller/typechain/IAaveIncentivesController__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/incentive-controller/typechain/IAaveIncentivesController__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IAaveIncentivesController__factory = void 0; var ethers_1 = require_lib31(); var IAaveIncentivesController__factory = class { @@ -38784,41 +42322,41 @@ var require_IAaveIncentivesController_factory = __commonJS({ { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "to", - type: "address" - } + internalType: 'address', + name: 'to', + type: 'address', + }, ], - name: "claimRewards", + name: 'claimRewards', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/incentive-controller/index.js var require_incentive_controller = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/incentive-controller/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/incentive-controller/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IncentivesController = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -38834,39 +42372,51 @@ var require_incentive_controller = __commonJS({ claimRewards({ user, assets, to, incentivesControllerAddress }) { const incentivesContract = this.getContractInstance(incentivesControllerAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return incentivesContract.populateTransaction.claimRewards(assets, ethers_1.constants.MaxUint256.toString(), to !== null && to !== void 0 ? to : user); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return incentivesContract.populateTransaction.claimRewards( + assets, + ethers_1.constants.MaxUint256.toString(), + to !== null && to !== void 0 ? to : user + ); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.REWARD_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.IncentivesValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("incentivesControllerAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("to")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)("assets")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], IncentivesController.prototype, "claimRewards", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.IncentivesValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('incentivesControllerAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('to')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)('assets')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + IncentivesController.prototype, + 'claimRewards', + null + ); exports2.IncentivesController = IncentivesController; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/incentive-controller-v2/typechain/IAaveIncentivesControllerV2__factory.js var require_IAaveIncentivesControllerV2_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/incentive-controller-v2/typechain/IAaveIncentivesControllerV2__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/incentive-controller-v2/typechain/IAaveIncentivesControllerV2__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IAaveIncentivesControllerV2__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ @@ -38875,832 +42425,832 @@ var require_IAaveIncentivesControllerV2_factory = __commonJS({ inputs: [ { indexed: true, - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "emission", - type: "uint256" + internalType: 'uint256', + name: 'emission', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "distributionEnd", - type: "uint256" - } + internalType: 'uint256', + name: 'distributionEnd', + type: 'uint256', + }, ], - name: "AssetConfigUpdated", - type: "event" + name: 'AssetConfigUpdated', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "index", - type: "uint256" - } + internalType: 'uint256', + name: 'index', + type: 'uint256', + }, ], - name: "AssetIndexUpdated", - type: "event" + name: 'AssetIndexUpdated', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "claimer", - type: "address" - } + internalType: 'address', + name: 'claimer', + type: 'address', + }, ], - name: "ClaimerSet", - type: "event" + name: 'ClaimerSet', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: true, - internalType: "address", - name: "rewardOracle", - type: "address" - } + internalType: 'address', + name: 'rewardOracle', + type: 'address', + }, ], - name: "RewardOracleUpdated", - type: "event" + name: 'RewardOracleUpdated', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "RewardsAccrued", - type: "event" + name: 'RewardsAccrued', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: true, - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { indexed: false, - internalType: "address", - name: "claimer", - type: "address" + internalType: 'address', + name: 'claimer', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "RewardsClaimed", - type: "event" + name: 'RewardsClaimed', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: true, - internalType: "address", - name: "transferStrategy", - type: "address" - } + internalType: 'address', + name: 'transferStrategy', + type: 'address', + }, ], - name: "TransferStrategyInstalled", - type: "event" + name: 'TransferStrategyInstalled', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "index", - type: "uint256" - } + internalType: 'uint256', + name: 'index', + type: 'uint256', + }, ], - name: "UserIndexUpdated", - type: "event" + name: 'UserIndexUpdated', + type: 'event', }, { inputs: [], - name: "PRECISION", + name: 'PRECISION', outputs: [ { - internalType: "uint8", - name: "", - type: "uint8" - } + internalType: 'uint8', + name: '', + type: 'uint8', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "address", - name: "to", - type: "address" - } + internalType: 'address', + name: 'to', + type: 'address', + }, ], - name: "claimAllRewards", + name: 'claimAllRewards', outputs: [ { - internalType: "address[]", - name: "rewardsList", - type: "address[]" + internalType: 'address[]', + name: 'rewardsList', + type: 'address[]', }, { - internalType: "uint256[]", - name: "claimedAmounts", - type: "uint256[]" - } + internalType: 'uint256[]', + name: 'claimedAmounts', + type: 'uint256[]', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "to", - type: "address" - } + internalType: 'address', + name: 'to', + type: 'address', + }, ], - name: "claimAllRewardsOnBehalf", + name: 'claimAllRewardsOnBehalf', outputs: [ { - internalType: "address[]", - name: "rewardsList", - type: "address[]" + internalType: 'address[]', + name: 'rewardsList', + type: 'address[]', }, { - internalType: "uint256[]", - name: "claimedAmounts", - type: "uint256[]" - } + internalType: 'uint256[]', + name: 'claimedAmounts', + type: 'uint256[]', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" - } + internalType: 'address[]', + name: 'assets', + type: 'address[]', + }, ], - name: "claimAllRewardsToSelf", + name: 'claimAllRewardsToSelf', outputs: [ { - internalType: "address[]", - name: "rewardsList", - type: "address[]" + internalType: 'address[]', + name: 'rewardsList', + type: 'address[]', }, { - internalType: "uint256[]", - name: "claimedAmounts", - type: "uint256[]" - } + internalType: 'uint256[]', + name: 'claimedAmounts', + type: 'uint256[]', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "claimRewards", + name: 'claimRewards', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "claimRewardsOnBehalf", + name: 'claimRewardsOnBehalf', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "claimRewardsToSelf", + name: 'claimRewardsToSelf', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { components: [ { - internalType: "uint104", - name: "emissionPerSecond", - type: "uint104" + internalType: 'uint104', + name: 'emissionPerSecond', + type: 'uint104', }, { - internalType: "uint256", - name: "totalSupply", - type: "uint256" + internalType: 'uint256', + name: 'totalSupply', + type: 'uint256', }, { - internalType: "uint40", - name: "distributionEnd", - type: "uint40" + internalType: 'uint40', + name: 'distributionEnd', + type: 'uint40', }, { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { - internalType: "contract ITransferStrategy", - name: "transferStrategy", - type: "address" + internalType: 'contract ITransferStrategy', + name: 'transferStrategy', + type: 'address', }, { - internalType: "bytes", - name: "transferStrategyParams", - type: "bytes" + internalType: 'bytes', + name: 'transferStrategyParams', + type: 'bytes', }, { - internalType: "contract IEACAggregatorProxy", - name: "rewardOracle", - type: "address" - } + internalType: 'contract IEACAggregatorProxy', + name: 'rewardOracle', + type: 'address', + }, ], - internalType: "struct DistributionTypesV2.RewardsConfigInput[]", - name: "config", - type: "tuple[]" - } + internalType: 'struct DistributionTypesV2.RewardsConfigInput[]', + name: 'config', + type: 'tuple[]', + }, ], - name: "configureAssets", + name: 'configureAssets', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getAllUserRewardsBalance", + name: 'getAllUserRewardsBalance', outputs: [ { - internalType: "address[]", - name: "", - type: "address[]" + internalType: 'address[]', + name: '', + type: 'address[]', }, { - internalType: "uint256[]", - name: "", - type: "uint256[]" - } + internalType: 'uint256[]', + name: '', + type: 'uint256[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getClaimer", + name: 'getClaimer', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getDistributionEnd", + name: 'getDistributionEnd', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getRewardOracle", + name: 'getRewardOracle', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" - } + internalType: 'address', + name: 'asset', + type: 'address', + }, ], - name: "getRewardsByAsset", + name: 'getRewardsByAsset', outputs: [ { - internalType: "address[]", - name: "", - type: "address[]" - } + internalType: 'address[]', + name: '', + type: 'address[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getRewardsData", + name: 'getRewardsData', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" + internalType: 'uint256', + name: '', + type: 'uint256', }, { - internalType: "uint256", - name: "", - type: "uint256" + internalType: 'uint256', + name: '', + type: 'uint256', }, { - internalType: "uint256", - name: "", - type: "uint256" + internalType: 'uint256', + name: '', + type: 'uint256', }, { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getRewardsList", + name: 'getRewardsList', outputs: [ { - internalType: "address[]", - name: "", - type: "address[]" - } + internalType: 'address[]', + name: '', + type: 'address[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getTransferStrategy", + name: 'getTransferStrategy', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getUserAssetData", + name: 'getUserAssetData', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getUserRewardsBalance", + name: 'getUserRewardsBalance', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" - } + internalType: 'address', + name: 'reward', + type: 'address', + }, ], - name: "getUserUnclaimedRewardsFromStorage", + name: 'getUserUnclaimedRewardsFromStorage', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "userBalance", - type: "uint256" + internalType: 'uint256', + name: 'userBalance', + type: 'uint256', }, { - internalType: "uint256", - name: "totalSupply", - type: "uint256" - } + internalType: 'uint256', + name: 'totalSupply', + type: 'uint256', + }, ], - name: "handleAction", + name: 'handleAction', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address", - name: "claimer", - type: "address" - } + internalType: 'address', + name: 'claimer', + type: 'address', + }, ], - name: "setClaimer", + name: 'setClaimer', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { - internalType: "uint40", - name: "distributionEnd", - type: "uint40" - } + internalType: 'uint40', + name: 'distributionEnd', + type: 'uint40', + }, ], - name: "setDistributionEnd", + name: 'setDistributionEnd', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { - internalType: "contract IEACAggregatorProxy", - name: "rewardOracle", - type: "address" - } + internalType: 'contract IEACAggregatorProxy', + name: 'rewardOracle', + type: 'address', + }, ], - name: "setRewardOracle", + name: 'setRewardOracle', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reward", - type: "address" + internalType: 'address', + name: 'reward', + type: 'address', }, { - internalType: "contract ITransferStrategy", - name: "transferStrategy", - type: "address" + internalType: 'contract ITransferStrategy', + name: 'transferStrategy', + type: 'address', }, { - internalType: "bytes", - name: "params", - type: "bytes" - } + internalType: 'bytes', + name: 'params', + type: 'bytes', + }, ], - name: "setTransferStrategy", + name: 'setTransferStrategy', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; var IAaveIncentivesControllerV2__factory = class { static createInterface() { @@ -39712,14 +43262,14 @@ var require_IAaveIncentivesControllerV2_factory = __commonJS({ }; exports2.IAaveIncentivesControllerV2__factory = IAaveIncentivesControllerV2__factory; IAaveIncentivesControllerV2__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/incentive-controller-v2/index.js var require_incentive_controller_v2 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/incentive-controller-v2/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/incentive-controller-v2/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IncentivesControllerV2 = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -39730,71 +43280,96 @@ var require_incentive_controller_v2 = __commonJS({ var IAaveIncentivesControllerV2__factory_1 = require_IAaveIncentivesControllerV2_factory(); var IncentivesControllerV2 = class extends BaseService_1.default { constructor(provider) { - super(provider, IAaveIncentivesControllerV2__factory_1.IAaveIncentivesControllerV2__factory); + super( + provider, + IAaveIncentivesControllerV2__factory_1.IAaveIncentivesControllerV2__factory + ); } claimRewards({ user, assets, to, incentivesControllerAddress, reward }) { const incentivesContract = this.getContractInstance(incentivesControllerAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return incentivesContract.populateTransaction.claimRewards(assets, ethers_1.constants.MaxUint256.toString(), to !== null && to !== void 0 ? to : user, reward); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return incentivesContract.populateTransaction.claimRewards( + assets, + ethers_1.constants.MaxUint256.toString(), + to !== null && to !== void 0 ? to : user, + reward + ); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.REWARD_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } claimAllRewards({ user, assets, to, incentivesControllerAddress }) { const incentivesContract = this.getContractInstance(incentivesControllerAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return incentivesContract.populateTransaction.claimAllRewards(assets, to !== null && to !== void 0 ? to : user); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return incentivesContract.populateTransaction.claimAllRewards( + assets, + to !== null && to !== void 0 ? to : user + ); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.REWARD_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.IncentivesValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("incentivesControllerAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("to")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reward")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)("assets")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], IncentivesControllerV2.prototype, "claimRewards", null); - (0, tslib_1.__decorate)([ - methodValidators_1.IncentivesValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("incentivesControllerAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("to")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)("assets")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], IncentivesControllerV2.prototype, "claimAllRewards", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.IncentivesValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('incentivesControllerAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('to')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reward')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)('assets')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + IncentivesControllerV2.prototype, + 'claimRewards', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.IncentivesValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('incentivesControllerAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('to')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)('assets')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + IncentivesControllerV2.prototype, + 'claimAllRewards', + null + ); exports2.IncentivesControllerV2 = IncentivesControllerV2; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/erc20-contract/typechain/IERC20Detailed__factory.js var require_IERC20Detailed_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/erc20-contract/typechain/IERC20Detailed__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/erc20-contract/typechain/IERC20Detailed__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IERC20Detailed__factory = void 0; var ethers_1 = require_lib31(); var IERC20Detailed__factory = class { @@ -39807,99 +43382,99 @@ var require_IERC20Detailed_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "owner", - type: "address" + internalType: 'address', + name: 'owner', + type: 'address', }, { - internalType: "address", - name: "spender", - type: "address" - } + internalType: 'address', + name: 'spender', + type: 'address', + }, ], - name: "allowance", + name: 'allowance', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "spender", - type: "address" + internalType: 'address', + name: 'spender', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "approve", + name: 'approve', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [], - name: "decimals", + name: 'decimals', outputs: [ { - internalType: "uint8", - name: "", - type: "uint8" - } + internalType: 'uint8', + name: '', + type: 'uint8', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "name", + name: 'name', outputs: [ { - internalType: "string", - name: "", - type: "string" - } + internalType: 'string', + name: '', + type: 'string', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "symbol", + name: 'symbol', outputs: [ { - internalType: "string", - name: "", - type: "string" - } + internalType: 'string', + name: '', + type: 'string', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/erc20-contract/index.js var require_erc20_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/erc20-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/erc20-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ERC20Service = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -39922,32 +43497,34 @@ var require_erc20_contract = __commonJS({ approve({ user, token, spender, amount }) { const erc20Contract = this.getContractInstance(token); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return erc20Contract.populateTransaction.approve(spender, amount); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return erc20Contract.populateTransaction.approve(spender, amount); + }), + from: user, }); return { tx: txCallback, txType: types_1.eEthereumTxType.ERC20_APPROVAL, - gas: this.generateTxPriceEstimation([], txCallback) + gas: this.generateTxPriceEstimation([], txCallback), }; } isApproved(_0) { return __async(this, arguments, function* ({ user, token, spender, amount }) { - if (token.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) - return true; + if (token.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) return true; const decimals = yield this.decimalsOf(token); const erc20Contract = this.getContractInstance(token); const allowance = yield erc20Contract.allowance(user, spender); - const amountBNWithDecimals = amount === "-1" ? ethers_1.BigNumber.from(utils_1.SUPER_BIG_ALLOWANCE_NUMBER) : ethers_1.BigNumber.from((0, utils_1.valueToWei)(amount, decimals)); + const amountBNWithDecimals = + amount === '-1' + ? ethers_1.BigNumber.from(utils_1.SUPER_BIG_ALLOWANCE_NUMBER) + : ethers_1.BigNumber.from((0, utils_1.valueToWei)(amount, decimals)); return allowance.gte(amountBNWithDecimals); }); } decimalsOf(token) { return __async(this, null, function* () { - if (token.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) - return 18; + if (token.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) return 18; if (!this.tokenDecimals[token]) { const erc20Contract = this.getContractInstance(token); this.tokenDecimals[token] = yield erc20Contract.decimals(); @@ -39959,18 +43536,18 @@ var require_erc20_contract = __commonJS({ return __async(this, null, function* () { if (token.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { return { - name: "Ethereum", - symbol: "ETH", + name: 'Ethereum', + symbol: 'ETH', decimals: 18, - address: token + address: token, }; } - if (token.toLowerCase() === "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2".toLowerCase()) { + if (token.toLowerCase() === '0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2'.toLowerCase()) { return { - name: "Maker", - symbol: "MKR", + name: 'Maker', + symbol: 'MKR', decimals: 18, - address: token + address: token, }; } if (!this.tokenMetadata[token]) { @@ -39978,62 +43555,84 @@ var require_erc20_contract = __commonJS({ const [name2, symbol, decimals] = yield Promise.all([ nameGetter(), symbolGetter(), - this.decimalsOf(token) + this.decimalsOf(token), ]); this.tokenMetadata[token] = { name: name2, symbol, decimals, - address: token + address: token, }; } return this.tokenMetadata[token]; }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.ERC20Validator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("token")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("spender")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Object) - ], ERC20Service.prototype, "approve", null); - (0, tslib_1.__decorate)([ - methodValidators_1.ERC20Validator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("token")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("spender")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], ERC20Service.prototype, "isApproved", null); - (0, tslib_1.__decorate)([ - methodValidators_1.ERC20Validator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], ERC20Service.prototype, "decimalsOf", null); - (0, tslib_1.__decorate)([ - methodValidators_1.ERC20Validator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], ERC20Service.prototype, "getTokenData", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.ERC20Validator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('token')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('spender')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Object), + ], + ERC20Service.prototype, + 'approve', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.ERC20Validator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('token')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('spender')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + ERC20Service.prototype, + 'isApproved', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.ERC20Validator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + ERC20Service.prototype, + 'decimalsOf', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.ERC20Validator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + ERC20Service.prototype, + 'getTokenData', + null + ); exports2.ERC20Service = ERC20Service; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/paraswap-liquiditySwapAdapter-contract/typechain/IParaSwapLiquiditySwapAdapter__factory.js var require_IParaSwapLiquiditySwapAdapter_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/paraswap-liquiditySwapAdapter-contract/typechain/IParaSwapLiquiditySwapAdapter__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/paraswap-liquiditySwapAdapter-contract/typechain/IParaSwapLiquiditySwapAdapter__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IParaSwapLiquiditySwapAdapter__factory = void 0; var ethers_1 = require_lib31(); var IParaSwapLiquiditySwapAdapter__factory = class { @@ -40046,87 +43645,89 @@ var require_IParaSwapLiquiditySwapAdapter_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "assetToSwapFrom", - type: "address" + internalType: 'address', + name: 'assetToSwapFrom', + type: 'address', }, { - internalType: "address", - name: "assetToSwapTo", - type: "address" + internalType: 'address', + name: 'assetToSwapTo', + type: 'address', }, { - internalType: "uint256", - name: "amountToSwap", - type: "uint256" + internalType: 'uint256', + name: 'amountToSwap', + type: 'uint256', }, { - internalType: "uint256", - name: "minAmountToReceive", - type: "uint256" + internalType: 'uint256', + name: 'minAmountToReceive', + type: 'uint256', }, { - internalType: "uint256", - name: "swapAllBalanceOffset", - type: "uint256" + internalType: 'uint256', + name: 'swapAllBalanceOffset', + type: 'uint256', }, { - internalType: "bytes", - name: "swapCalldata", - type: "bytes" + internalType: 'bytes', + name: 'swapCalldata', + type: 'bytes', }, { - internalType: "address", - name: "augustus", - type: "address" + internalType: 'address', + name: 'augustus', + type: 'address', }, { components: [ { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - internalType: "struct IParaSwapLiquiditySwapAdapter.PermitSignature", - name: "permitParams", - type: "tuple" - } + internalType: 'struct IParaSwapLiquiditySwapAdapter.PermitSignature', + name: 'permitParams', + type: 'tuple', + }, ], - name: "swapAndDeposit", + name: 'swapAndDeposit', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/paraswap-liquiditySwapAdapter-contract/index.js var require_paraswap_liquiditySwapAdapter_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/paraswap-liquiditySwapAdapter-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/paraswap-liquiditySwapAdapter-contract/index.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.LiquiditySwapAdapterService = exports2.augustusFromAmountOffsetFromCalldata = void 0; var tslib_1 = require_tslib(); var BaseService_1 = (0, tslib_1.__importDefault)(require_BaseService()); @@ -40136,402 +43737,443 @@ var require_paraswap_liquiditySwapAdapter_contract = __commonJS({ var IParaSwapLiquiditySwapAdapter__factory_1 = require_IParaSwapLiquiditySwapAdapter_factory(); function augustusFromAmountOffsetFromCalldata(calldata) { switch (calldata.slice(0, 10)) { - case "0xda8567c8": + case '0xda8567c8': return 100; - case "0x58b9d179": + case '0x58b9d179': return 4; - case "0x0863b7ac": + case '0x0863b7ac': return 68; - case "0x8f00eccb": + case '0x8f00eccb': return 68; - case "0xec1d21dd": + case '0xec1d21dd': return 68; - case "0x54840d1a": + case '0x54840d1a': return 4; - case "0xf5661034": + case '0xf5661034': return 68; - case "0x0b86a4c1": + case '0x0b86a4c1': return 36; - case "0x64466805": + case '0x64466805': return 68; - case "0xa94e78ef": + case '0xa94e78ef': return 68; - case "0x46c67b6d": + case '0x46c67b6d': return 68; default: - throw new Error("Unrecognized function selector for Augustus"); + throw new Error('Unrecognized function selector for Augustus'); } } exports2.augustusFromAmountOffsetFromCalldata = augustusFromAmountOffsetFromCalldata; var LiquiditySwapAdapterService = class extends BaseService_1.default { constructor(provider, swapCollateralAdapterAddress) { - super(provider, IParaSwapLiquiditySwapAdapter__factory_1.IParaSwapLiquiditySwapAdapter__factory); - this.liquiditySwapAdapterAddress = swapCollateralAdapterAddress !== null && swapCollateralAdapterAddress !== void 0 ? swapCollateralAdapterAddress : ""; + super( + provider, + IParaSwapLiquiditySwapAdapter__factory_1.IParaSwapLiquiditySwapAdapter__factory + ); + this.liquiditySwapAdapterAddress = + swapCollateralAdapterAddress !== null && swapCollateralAdapterAddress !== void 0 + ? swapCollateralAdapterAddress + : ''; this.swapAndDeposit = this.swapAndDeposit.bind(this); } - swapAndDeposit({ user, assetToSwapFrom, assetToSwapTo, amountToSwap, minAmountToReceive, permitParams, augustus, swapCallData, swapAll }, txs) { + swapAndDeposit( + { + user, + assetToSwapFrom, + assetToSwapTo, + amountToSwap, + minAmountToReceive, + permitParams, + augustus, + swapCallData, + swapAll, + }, + txs + ) { const liquiditySwapContract = this.getContractInstance(this.liquiditySwapAdapterAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return liquiditySwapContract.populateTransaction.swapAndDeposit(assetToSwapFrom, assetToSwapTo, amountToSwap, minAmountToReceive, swapAll ? augustusFromAmountOffsetFromCalldata(swapCallData) : 0, swapCallData, augustus, permitParams); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return liquiditySwapContract.populateTransaction.swapAndDeposit( + assetToSwapFrom, + assetToSwapTo, + amountToSwap, + minAmountToReceive, + swapAll ? augustusFromAmountOffsetFromCalldata(swapCallData) : 0, + swapCallData, + augustus, + permitParams + ); + }), + from: user, }); return { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs !== null && txs !== void 0 ? txs : [], txCallback, types_1.ProtocolAction.swapCollateral) + gas: this.generateTxPriceEstimation( + txs !== null && txs !== void 0 ? txs : [], + txCallback, + types_1.ProtocolAction.swapCollateral + ), }; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.LiquiditySwapValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("assetToSwapFrom")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("assetToSwapTo")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("augustus")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amountToSwap")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("minAmountToReceive")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Object) - ], LiquiditySwapAdapterService.prototype, "swapAndDeposit", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LiquiditySwapValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('assetToSwapFrom')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('assetToSwapTo')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('augustus')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amountToSwap')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('minAmountToReceive')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Object), + ], + LiquiditySwapAdapterService.prototype, + 'swapAndDeposit', + null + ); exports2.LiquiditySwapAdapterService = LiquiditySwapAdapterService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/paraswap-repayWithCollateralAdapter-contract/typechain/ParaSwapRepayAdapter__factory.js var require_ParaSwapRepayAdapter_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/paraswap-repayWithCollateralAdapter-contract/typechain/ParaSwapRepayAdapter__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/paraswap-repayWithCollateralAdapter-contract/typechain/ParaSwapRepayAdapter__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ParaSwapRepayAdapter__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ { inputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "addressesProvider", - type: "address" + internalType: 'contract IPoolAddressesProvider', + name: 'addressesProvider', + type: 'address', }, { - internalType: "contract IParaSwapAugustusRegistry", - name: "augustusRegistry", - type: "address" - } + internalType: 'contract IParaSwapAugustusRegistry', + name: 'augustusRegistry', + type: 'address', + }, ], - stateMutability: "nonpayable", - type: "constructor" + stateMutability: 'nonpayable', + type: 'constructor', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "fromAsset", - type: "address" + internalType: 'address', + name: 'fromAsset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "toAsset", - type: "address" + internalType: 'address', + name: 'toAsset', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amountSold", - type: "uint256" + internalType: 'uint256', + name: 'amountSold', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "receivedAmount", - type: "uint256" - } + internalType: 'uint256', + name: 'receivedAmount', + type: 'uint256', + }, ], - name: "Bought", - type: "event" + name: 'Bought', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "previousOwner", - type: "address" + internalType: 'address', + name: 'previousOwner', + type: 'address', }, { indexed: true, - internalType: "address", - name: "newOwner", - type: "address" - } + internalType: 'address', + name: 'newOwner', + type: 'address', + }, ], - name: "OwnershipTransferred", - type: "event" + name: 'OwnershipTransferred', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "fromAsset", - type: "address" + internalType: 'address', + name: 'fromAsset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "toAsset", - type: "address" + internalType: 'address', + name: 'toAsset', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "fromAmount", - type: "uint256" + internalType: 'uint256', + name: 'fromAmount', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "receivedAmount", - type: "uint256" - } + internalType: 'uint256', + name: 'receivedAmount', + type: 'uint256', + }, ], - name: "Swapped", - type: "event" + name: 'Swapped', + type: 'event', }, { inputs: [], - name: "ADDRESSES_PROVIDER", + name: 'ADDRESSES_PROVIDER', outputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "", - type: "address" - } + internalType: 'contract IPoolAddressesProvider', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "AUGUSTUS_REGISTRY", + name: 'AUGUSTUS_REGISTRY', outputs: [ { - internalType: "contract IParaSwapAugustusRegistry", - name: "", - type: "address" - } + internalType: 'contract IParaSwapAugustusRegistry', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "MAX_SLIPPAGE_PERCENT", + name: 'MAX_SLIPPAGE_PERCENT', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "ORACLE", + name: 'ORACLE', outputs: [ { - internalType: "contract IPriceOracleGetter", - name: "", - type: "address" - } + internalType: 'contract IPriceOracleGetter', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "POOL", + name: 'POOL', outputs: [ { - internalType: "contract IPool", - name: "", - type: "address" - } + internalType: 'contract IPool', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "amounts", - type: "uint256[]" + internalType: 'uint256[]', + name: 'amounts', + type: 'uint256[]', }, { - internalType: "uint256[]", - name: "premiums", - type: "uint256[]" + internalType: 'uint256[]', + name: 'premiums', + type: 'uint256[]', }, { - internalType: "address", - name: "initiator", - type: "address" + internalType: 'address', + name: 'initiator', + type: 'address', }, { - internalType: "bytes", - name: "params", - type: "bytes" - } + internalType: 'bytes', + name: 'params', + type: 'bytes', + }, ], - name: "executeOperation", + name: 'executeOperation', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [], - name: "owner", + name: 'owner', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "renounceOwnership", + name: 'renounceOwnership', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "contract IERC20", - name: "token", - type: "address" - } + internalType: 'contract IERC20', + name: 'token', + type: 'address', + }, ], - name: "rescueTokens", + name: 'rescueTokens', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "contract IERC20Detailed", - name: "collateralAsset", - type: "address" + internalType: 'contract IERC20Detailed', + name: 'collateralAsset', + type: 'address', }, { - internalType: "contract IERC20Detailed", - name: "debtAsset", - type: "address" + internalType: 'contract IERC20Detailed', + name: 'debtAsset', + type: 'address', }, { - internalType: "uint256", - name: "collateralAmount", - type: "uint256" + internalType: 'uint256', + name: 'collateralAmount', + type: 'uint256', }, { - internalType: "uint256", - name: "debtRepayAmount", - type: "uint256" + internalType: 'uint256', + name: 'debtRepayAmount', + type: 'uint256', }, { - internalType: "uint256", - name: "debtRateMode", - type: "uint256" + internalType: 'uint256', + name: 'debtRateMode', + type: 'uint256', }, { - internalType: "uint256", - name: "buyAllBalanceOffset", - type: "uint256" + internalType: 'uint256', + name: 'buyAllBalanceOffset', + type: 'uint256', }, { - internalType: "bytes", - name: "paraswapData", - type: "bytes" + internalType: 'bytes', + name: 'paraswapData', + type: 'bytes', }, { components: [ { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - internalType: "struct BaseParaSwapAdapter.PermitSignature", - name: "permitSignature", - type: "tuple" - } + internalType: 'struct BaseParaSwapAdapter.PermitSignature', + name: 'permitSignature', + type: 'tuple', + }, ], - name: "swapAndRepay", + name: 'swapAndRepay', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "newOwner", - type: "address" - } + internalType: 'address', + name: 'newOwner', + type: 'address', + }, ], - name: "transferOwnership", + name: 'transferOwnership', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - var _bytecode = "0x6101006040523480156200001257600080fd5b506040516200333638038062003336833981016040819052620000359162000263565b81818180806001600160a01b03166080816001600160a01b031681525050806001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000092573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b89190620002a2565b6001600160a01b031660a05250600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350806001600160a01b031663fca513a86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000145573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016b9190620002a2565b6001600160a01b0390811660c05260405163fb04e17b60e01b815260006004820152908316915063fb04e17b90602401602060405180830381865afa158015620001b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001df9190620002c9565b15620002315760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420612076616c6964204175677573747573206164647265737300000000604482015260640160405180910390fd5b6001600160a01b031660e05250506001805550620002ed565b6001600160a01b03811681146200026057600080fd5b50565b600080604083850312156200027757600080fd5b825162000284816200024a565b602084015190925062000297816200024a565b809150509250929050565b600060208284031215620002b557600080fd5b8151620002c2816200024a565b9392505050565b600060208284031215620002dc57600080fd5b81518015158114620002c257600080fd5b60805160a05160c05160e051612fa06200039660003960008181610176015261111801526000818161014f015261237b0152600081816101b8015281816104bb015281816105750152818161064b015281816106e50152818161079f0152818161087501528181610a7001528181611a6801528181611b2601528181611bfe01528181611cc301528181611d5e01528181611fc6015261217b0152600060e70152612fa06000f3fe608060405234801561001057600080fd5b50600436106100c85760003560e01c80634db9dc97116100815780638da5cb5b1161005b5780638da5cb5b146101da578063920f5c84146101f8578063f2fde38b1461021b57600080fd5b80634db9dc9714610198578063715018a6146101ab5780637535d246146101b357600080fd5b806332e4b286116100b257806332e4b2861461013357806338013f021461014a5780633a8298671461017157600080fd5b8062ae3bf8146100cd5780630542975c146100e2575b600080fd5b6100e06100db366004612585565b61022e565b005b6101097f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61013c610bb881565b60405190815260200161012a565b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6100e06101a63660046125eb565b610385565b6100e06108f4565b6101097f000000000000000000000000000000000000000000000000000000000000000081565b60005473ffffffffffffffffffffffffffffffffffffffff16610109565b61020b6102063660046126f9565b6109e4565b604051901515815260200161012a565b6100e0610229366004612585565b610c31565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6103826102d660005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036491906127d4565b73ffffffffffffffffffffffffffffffffffffffff84169190610de2565b50565b600260015414156103f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102ab565b60026001556104048886868933610ebb565b955061042089338961041b3686900386018661291f565b61108e565b60006104688585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92508e91508d90508c6110b4565b90506000610476828a61296a565b905080156106a8576040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301528c169063095ea7b3906044016020604051808303816000875af1158015610513573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105379190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390528c169063095ea7b3906044016020604051808303816000875af11580156105cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f19190612981565b506040517fe8eda9df00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c8116600483015260248201839052336044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063e8eda9df90608401600060405180830381600087803b15801561068f57600080fd5b505af11580156106a3573d6000803e3d6000fd5b505050505b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301528b169063095ea7b3906044016020604051808303816000875af115801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018a90528b169063095ea7b3906044016020604051808303816000875af11580156107f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081b9190612981565b506040517f573ade8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b81166004830152602482018a9052604482018990523360648301527f0000000000000000000000000000000000000000000000000000000000000000169063573ade81906084016020604051808303816000875af11580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906127d4565b50506001805550505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ab565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600060026001541415610a53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102ab565b60026001553373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f43414c4c45525f4d5553545f42455f504f4f4c0000000000000000000000000060448201526064016102ab565b600189148015610b075750600187145b8015610b135750600185145b610b9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f464c4153484c4f414e5f4d554c5449504c455f4153534554535f4e4f545f535560448201527f50504f525445440000000000000000000000000000000000000000000000000060648201526084016102ab565b600088886000818110610bb457610bb46129a3565b905060200201359050600087876000818110610bd257610bd26129a3565b905060200201359050600086905060008d8d6000818110610bf557610bf56129a3565b9050602002016020810190610c0a9190612585565b9050610c1a8787858585896119ed565b505060018080559c9b505050505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ab565b73ffffffffffffffffffffffffffffffffffffffff8116610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102ab565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000080825273ffffffffffffffffffffffffffffffffffffffff84166004830152602482018390529060008060448382895af1610e45573d6000803e3d6000fd5b50610e4f84611e35565b610eb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f475076323a206661696c6564207472616e73666572000000000000000000000060448201526064016102ab565b50505050565b600080610ec787611f01565b905060006001876002811115610edf57610edf6129d2565b6002811115610ef057610ef06129d2565b14610f0057816101400151610f07565b8161012001515b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301529192506000918316906370a0823190602401602060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d91906127d4565b90508615611017578581111561100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f494e53554646494349454e545f414d4f554e545f544f5f52455041590000000060448201526064016102ab565b809550611081565b80861115611081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f494e56414c49445f444542545f52455041595f414d4f554e540000000000000060448201526064016102ab565b5093979650505050505050565b600061109985611f01565b610100015190506110ad8582868686612038565b5050505050565b6000806000878060200190518101906110cd9190612a73565b6040517ffb04e17b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301529294509092507f00000000000000000000000000000000000000000000000000000000000000009091169063fb04e17b90602401602060405180830381865afa158015611161573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111859190612981565b6111eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f494e56414c49445f41554755535455530000000000000000000000000000000060448201526064016102ab565b60006111f688612251565b60ff169050600061120688612251565b60ff16905060006112168a612333565b905060006112238a612333565b9050600061127b611238612710610bb86123e8565b61127561125061124988600a612c26565b87906123f8565b61126f6112686112618b600a612c26565b88906123f8565b8e906123f8565b90612422565b90612435565b9050808a111561130d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f6d6178416d6f756e74546f5377617020657863656564206d617820736c69707060448201527f616765000000000000000000000000000000000000000000000000000000000060648201526084016102ab565b50506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff8b1692506370a082319150602401602060405180830381865afa15801561137f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a391906127d4565b90508581101561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f494e53554646494349454e545f42414c414e43455f4245464f52455f5357415060448201526064016102ab565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8916906370a0823190602401602060405180830381865afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a091906127d4565b905060008373ffffffffffffffffffffffffffffffffffffffff1663d2c4b5986040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115139190612c42565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015260006024830152919250908b169063095ea7b3906044016020604051808303816000875af115801561158c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b09190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152602482018a90528b169063095ea7b3906044016020604051808303816000875af1158015611626573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164a9190612981565b508b156116dd5760048c1015801561166e5750845161166a906020612478565b8c11155b6116d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f544f5f414d4f554e545f4f46465345545f4f55545f4f465f52414e474500000060448201526064016102ab565b8660208d018601525b60008473ffffffffffffffffffffffffffffffffffffffff16866040516117049190612c5f565b6000604051808303816000865af19150503d8060008114611741576040519150601f19603f3d011682016040523d82523d6000602084013e611746565b606091505b5050905080611759573d6000803e3d6000fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8d16906370a0823190602401602060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ea91906127d4565b90506117f6818661296a565b975089881115611862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f57524f4e475f42414c414e43455f41465445525f53574150000000000000000060448201526064016102ab565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906118ff90869073ffffffffffffffffffffffffffffffffffffffff8f16906370a0823190602401602060405180830381865afa1580156118d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f991906127d4565b90612478565b90508981101561196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f494e53554646494349454e545f414d4f554e545f52454345495645440000000060448201526064016102ab565b8b73ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff167fbf77fd13a39d14dc0da779342c14105c38d9a5d0c60f2caa22f5fd1d5525416d8b846040516119d3929190918252602082015260400190565b60405180910390a350505050505050509695505050505050565b60008080808080611a008b8d018d612c7b565b955095509550955095509550611a19868486888d610ebb565b94506000611a2b85848b8a8c8b6110b4565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301529192509088169063095ea7b3906044016020604051808303816000875af1158015611ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae89190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820188905288169063095ea7b3906044016020604051808303816000875af1158015611b7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba29190612981565b506040517f573ade8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015260248201889052604482018690528b811660648301527f0000000000000000000000000000000000000000000000000000000000000000169063573ade81906084016020604051808303816000875af1158015611c47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6b91906127d4565b506000611c78828d6123e8565b9050611c868a8c838661108e565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301528b169063095ea7b3906044016020604051808303816000875af1158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190612981565b508973ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000611d908f8d6123e890919063ffffffff16565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015611e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e249190612981565b505050505050505050505050505050565b6000611e75565b7f08c379a00000000000000000000000000000000000000000000000000000000060005260206004528060245250806044525060646000fd5b3d8015611eb45760208114611eee57611eaf7f475076323a206d616c666f726d6564207472616e7366657220726573756c7400601f611e3c565b611efb565b823b611ee557611ee57f475076323a206e6f74206120636f6e74726163740000000000000000000000006014611e3c565b60019150611efb565b3d6000803e600051151591505b50919050565b604080516102008101825260006101e08201818152825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301527f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa15801561200e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120329190612dc0565b92915050565b60208101511561210557805160208201516040808401516060850151608086015192517fd505accf00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301523060248301526044820196909652606481019490945260ff909116608484015260a483015260c48201529085169063d505accf9060e401600060405180830381600087803b1580156120ec57600080fd5b505af1158015612100573d6000803e3d6000fd5b505050505b61212773ffffffffffffffffffffffffffffffffffffffff8516843085612488565b6040517f69328dec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526024820184905230604483015283917f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec906064016020604051808303816000875af11580156121c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ea91906127d4565b146110ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f554e45585045435445445f414d4f554e545f57495448445241574e000000000060448201526064016102ab565b6000808273ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c39190612ee3565b9050604d8160ff161115612032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f544f4f5f4d414e595f444543494d414c535f4f4e5f544f4b454e00000000000060448201526064016102ab565b6040517fb3596f0700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063b3596f0790602401602060405180830381865afa1580156123c4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203291906127d4565b8082018281101561203257600080fd5b60008215806124195750508181028183828161241657612416612f00565b04145b61203257600080fd5b600061242e8284612f2f565b9392505050565b600081157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec778390048411151761246a57600080fd5b506127109102611388010490565b8082038281111561203257600080fd5b6040517f23b872dd0000000000000000000000000000000000000000000000000000000080825273ffffffffffffffffffffffffffffffffffffffff8581166004840152841660248301526044820183905290600080606483828a5af16124f3573d6000803e3d6000fd5b506124fd85611e35565b6110ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f475076323a206661696c6564207472616e7366657246726f6d0000000000000060448201526064016102ab565b73ffffffffffffffffffffffffffffffffffffffff8116811461038257600080fd5b60006020828403121561259757600080fd5b813561242e81612563565b60008083601f8401126125b457600080fd5b50813567ffffffffffffffff8111156125cc57600080fd5b6020830191508360208285010111156125e457600080fd5b9250929050565b6000806000806000806000806000898b0361018081121561260b57600080fd5b8a3561261681612563565b995060208b013561262681612563565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b013567ffffffffffffffff81111561265e57600080fd5b61266a8d828e016125a2565b90955093505060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff20820112156126a057600080fd5b5060e08a0190509295985092959850929598565b60008083601f8401126126c657600080fd5b50813567ffffffffffffffff8111156126de57600080fd5b6020830191508360208260051b85010111156125e457600080fd5b600080600080600080600080600060a08a8c03121561271757600080fd5b893567ffffffffffffffff8082111561272f57600080fd5b61273b8d838e016126b4565b909b50995060208c013591508082111561275457600080fd5b6127608d838e016126b4565b909950975060408c013591508082111561277957600080fd5b6127858d838e016126b4565b909750955060608c0135915061279a82612563565b90935060808b013590808211156127b057600080fd5b506127bd8c828d016125a2565b915080935050809150509295985092959850929598565b6000602082840312156127e657600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516101e0810167ffffffffffffffff81118282101715612840576128406127ed565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561288d5761288d6127ed565b604052919050565b60ff8116811461038257600080fd5b600060a082840312156128b657600080fd5b60405160a0810181811067ffffffffffffffff821117156128d9576128d96127ed565b8060405250809150823581526020830135602082015260408301356128fd81612895565b8060408301525060608301356060820152608083013560808201525092915050565b600060a0828403121561293157600080fd5b61242e83836128a4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561297c5761297c61293b565b500390565b60006020828403121561299357600080fd5b8151801515811461242e57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600067ffffffffffffffff821115612a1b57612a1b6127ed565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60005b83811015612a62578181015183820152602001612a4a565b83811115610eb55750506000910152565b60008060408385031215612a8657600080fd5b825167ffffffffffffffff811115612a9d57600080fd5b8301601f81018513612aae57600080fd5b8051612ac1612abc82612a01565b612846565b818152866020838501011115612ad657600080fd5b612ae7826020830160208601612a47565b8094505050506020830151612afb81612563565b809150509250929050565b600181815b80851115612b5f57817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612b4557612b4561293b565b80851615612b5257918102915b93841c9390800290612b0b565b509250929050565b600082612b7657506001612032565b81612b8357506000612032565b8160018114612b995760028114612ba357612bbf565b6001915050612032565b60ff841115612bb457612bb461293b565b50506001821b612032565b5060208310610133831016604e8410600b8410161715612be2575081810a612032565b612bec8383612b06565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612c1e57612c1e61293b565b029392505050565b600061242e8383612b67565b8051612c3d81612563565b919050565b600060208284031215612c5457600080fd5b815161242e81612563565b60008251612c71818460208701612a47565b9190910192915050565b6000806000806000806101408789031215612c9557600080fd5b8635612ca081612563565b9550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115612cd157600080fd5b8701601f81018913612ce257600080fd5b8035612cf0612abc82612a01565b8181528a6020838501011115612d0557600080fd5b81602084016020830137600060208383010152809450505050612d2b8860a089016128a4565b90509295509295509295565b600060208284031215612d4957600080fd5b6040516020810181811067ffffffffffffffff82111715612d6c57612d6c6127ed565b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff81168114612c3d57600080fd5b805164ffffffffff81168114612c3d57600080fd5b805161ffff81168114612c3d57600080fd5b60006101e08284031215612dd357600080fd5b612ddb61281c565b612de58484612d37565b8152612df360208401612d79565b6020820152612e0460408401612d79565b6040820152612e1560608401612d79565b6060820152612e2660808401612d79565b6080820152612e3760a08401612d79565b60a0820152612e4860c08401612d99565b60c0820152612e5960e08401612dae565b60e0820152610100612e6c818501612c32565b90820152610120612e7e848201612c32565b90820152610140612e90848201612c32565b90820152610160612ea2848201612c32565b90820152610180612eb4848201612d79565b908201526101a0612ec6848201612d79565b908201526101c0612ed8848201612d79565b908201529392505050565b600060208284031215612ef557600080fd5b815161242e81612895565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612f65577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea26469706673582212201ae79dd35f34ecf1387bee8e87022a83fa61b3a7ba8b1ecade15267edadaceb264736f6c634300080a0033"; + var _bytecode = + '0x6101006040523480156200001257600080fd5b506040516200333638038062003336833981016040819052620000359162000263565b81818180806001600160a01b03166080816001600160a01b031681525050806001600160a01b031663026b1d5f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000092573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000b89190620002a2565b6001600160a01b031660a05250600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350806001600160a01b031663fca513a86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000145573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016b9190620002a2565b6001600160a01b0390811660c05260405163fb04e17b60e01b815260006004820152908316915063fb04e17b90602401602060405180830381865afa158015620001b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001df9190620002c9565b15620002315760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420612076616c6964204175677573747573206164647265737300000000604482015260640160405180910390fd5b6001600160a01b031660e05250506001805550620002ed565b6001600160a01b03811681146200026057600080fd5b50565b600080604083850312156200027757600080fd5b825162000284816200024a565b602084015190925062000297816200024a565b809150509250929050565b600060208284031215620002b557600080fd5b8151620002c2816200024a565b9392505050565b600060208284031215620002dc57600080fd5b81518015158114620002c257600080fd5b60805160a05160c05160e051612fa06200039660003960008181610176015261111801526000818161014f015261237b0152600081816101b8015281816104bb015281816105750152818161064b015281816106e50152818161079f0152818161087501528181610a7001528181611a6801528181611b2601528181611bfe01528181611cc301528181611d5e01528181611fc6015261217b0152600060e70152612fa06000f3fe608060405234801561001057600080fd5b50600436106100c85760003560e01c80634db9dc97116100815780638da5cb5b1161005b5780638da5cb5b146101da578063920f5c84146101f8578063f2fde38b1461021b57600080fd5b80634db9dc9714610198578063715018a6146101ab5780637535d246146101b357600080fd5b806332e4b286116100b257806332e4b2861461013357806338013f021461014a5780633a8298671461017157600080fd5b8062ae3bf8146100cd5780630542975c146100e2575b600080fd5b6100e06100db366004612585565b61022e565b005b6101097f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61013c610bb881565b60405190815260200161012a565b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6101097f000000000000000000000000000000000000000000000000000000000000000081565b6100e06101a63660046125eb565b610385565b6100e06108f4565b6101097f000000000000000000000000000000000000000000000000000000000000000081565b60005473ffffffffffffffffffffffffffffffffffffffff16610109565b61020b6102063660046126f9565b6109e4565b604051901515815260200161012a565b6100e0610229366004612585565b610c31565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6103826102d660005473ffffffffffffffffffffffffffffffffffffffff1690565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036491906127d4565b73ffffffffffffffffffffffffffffffffffffffff84169190610de2565b50565b600260015414156103f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102ab565b60026001556104048886868933610ebb565b955061042089338961041b3686900386018661291f565b61108e565b60006104688585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508f92508e91508d90508c6110b4565b90506000610476828a61296a565b905080156106a8576040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301528c169063095ea7b3906044016020604051808303816000875af1158015610513573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105379190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390528c169063095ea7b3906044016020604051808303816000875af11580156105cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f19190612981565b506040517fe8eda9df00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c8116600483015260248201839052336044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063e8eda9df90608401600060405180830381600087803b15801561068f57600080fd5b505af11580156106a3573d6000803e3d6000fd5b505050505b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301528b169063095ea7b3906044016020604051808303816000875af115801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018a90528b169063095ea7b3906044016020604051808303816000875af11580156107f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081b9190612981565b506040517f573ade8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b81166004830152602482018a9052604482018990523360648301527f0000000000000000000000000000000000000000000000000000000000000000169063573ade81906084016020604051808303816000875af11580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906127d4565b50506001805550505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ab565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600060026001541415610a53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102ab565b60026001553373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f43414c4c45525f4d5553545f42455f504f4f4c0000000000000000000000000060448201526064016102ab565b600189148015610b075750600187145b8015610b135750600185145b610b9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f464c4153484c4f414e5f4d554c5449504c455f4153534554535f4e4f545f535560448201527f50504f525445440000000000000000000000000000000000000000000000000060648201526084016102ab565b600088886000818110610bb457610bb46129a3565b905060200201359050600087876000818110610bd257610bd26129a3565b905060200201359050600086905060008d8d6000818110610bf557610bf56129a3565b9050602002016020810190610c0a9190612585565b9050610c1a8787858585896119ed565b505060018080559c9b505050505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610cb2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ab565b73ffffffffffffffffffffffffffffffffffffffff8116610d55576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102ab565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000080825273ffffffffffffffffffffffffffffffffffffffff84166004830152602482018390529060008060448382895af1610e45573d6000803e3d6000fd5b50610e4f84611e35565b610eb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f475076323a206661696c6564207472616e73666572000000000000000000000060448201526064016102ab565b50505050565b600080610ec787611f01565b905060006001876002811115610edf57610edf6129d2565b6002811115610ef057610ef06129d2565b14610f0057816101400151610f07565b8161012001515b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301529192506000918316906370a0823190602401602060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d91906127d4565b90508615611017578581111561100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f494e53554646494349454e545f414d4f554e545f544f5f52455041590000000060448201526064016102ab565b809550611081565b80861115611081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f494e56414c49445f444542545f52455041595f414d4f554e540000000000000060448201526064016102ab565b5093979650505050505050565b600061109985611f01565b610100015190506110ad8582868686612038565b5050505050565b6000806000878060200190518101906110cd9190612a73565b6040517ffb04e17b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff80831660048301529294509092507f00000000000000000000000000000000000000000000000000000000000000009091169063fb04e17b90602401602060405180830381865afa158015611161573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111859190612981565b6111eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f494e56414c49445f41554755535455530000000000000000000000000000000060448201526064016102ab565b60006111f688612251565b60ff169050600061120688612251565b60ff16905060006112168a612333565b905060006112238a612333565b9050600061127b611238612710610bb86123e8565b61127561125061124988600a612c26565b87906123f8565b61126f6112686112618b600a612c26565b88906123f8565b8e906123f8565b90612422565b90612435565b9050808a111561130d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f6d6178416d6f756e74546f5377617020657863656564206d617820736c69707060448201527f616765000000000000000000000000000000000000000000000000000000000060648201526084016102ab565b50506040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff8b1692506370a082319150602401602060405180830381865afa15801561137f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a391906127d4565b90508581101561140f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f494e53554646494349454e545f42414c414e43455f4245464f52455f5357415060448201526064016102ab565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8916906370a0823190602401602060405180830381865afa15801561147c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a091906127d4565b905060008373ffffffffffffffffffffffffffffffffffffffff1663d2c4b5986040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115139190612c42565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015260006024830152919250908b169063095ea7b3906044016020604051808303816000875af115801561158c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b09190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152602482018a90528b169063095ea7b3906044016020604051808303816000875af1158015611626573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164a9190612981565b508b156116dd5760048c1015801561166e5750845161166a906020612478565b8c11155b6116d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f544f5f414d4f554e545f4f46465345545f4f55545f4f465f52414e474500000060448201526064016102ab565b8660208d018601525b60008473ffffffffffffffffffffffffffffffffffffffff16866040516117049190612c5f565b6000604051808303816000865af19150503d8060008114611741576040519150601f19603f3d011682016040523d82523d6000602084013e611746565b606091505b5050905080611759573d6000803e3d6000fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8d16906370a0823190602401602060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ea91906127d4565b90506117f6818661296a565b975089881115611862576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f57524f4e475f42414c414e43455f41465445525f53574150000000000000000060448201526064016102ab565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906118ff90869073ffffffffffffffffffffffffffffffffffffffff8f16906370a0823190602401602060405180830381865afa1580156118d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f991906127d4565b90612478565b90508981101561196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f494e53554646494349454e545f414d4f554e545f52454345495645440000000060448201526064016102ab565b8b73ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff167fbf77fd13a39d14dc0da779342c14105c38d9a5d0c60f2caa22f5fd1d5525416d8b846040516119d3929190918252602082015260400190565b60405180910390a350505050505050509695505050505050565b60008080808080611a008b8d018d612c7b565b955095509550955095509550611a19868486888d610ebb565b94506000611a2b85848b8a8c8b6110b4565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301529192509088169063095ea7b3906044016020604051808303816000875af1158015611ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae89190612981565b506040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820188905288169063095ea7b3906044016020604051808303816000875af1158015611b7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba29190612981565b506040517f573ade8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015260248201889052604482018690528b811660648301527f0000000000000000000000000000000000000000000000000000000000000000169063573ade81906084016020604051808303816000875af1158015611c47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6b91906127d4565b506000611c78828d6123e8565b9050611c868a8c838661108e565b6040517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152600060248301528b169063095ea7b3906044016020604051808303816000875af1158015611d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d3f9190612981565b508973ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000611d908f8d6123e890919063ffffffff16565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015611e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e249190612981565b505050505050505050505050505050565b6000611e75565b7f08c379a00000000000000000000000000000000000000000000000000000000060005260206004528060245250806044525060646000fd5b3d8015611eb45760208114611eee57611eaf7f475076323a206d616c666f726d6564207472616e7366657220726573756c7400601f611e3c565b611efb565b823b611ee557611ee57f475076323a206e6f74206120636f6e74726163740000000000000000000000006014611e3c565b60019150611efb565b3d6000803e600051151591505b50919050565b604080516102008101825260006101e08201818152825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301527f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa15801561200e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120329190612dc0565b92915050565b60208101511561210557805160208201516040808401516060850151608086015192517fd505accf00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301523060248301526044820196909652606481019490945260ff909116608484015260a483015260c48201529085169063d505accf9060e401600060405180830381600087803b1580156120ec57600080fd5b505af1158015612100573d6000803e3d6000fd5b505050505b61212773ffffffffffffffffffffffffffffffffffffffff8516843085612488565b6040517f69328dec00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301526024820184905230604483015283917f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec906064016020604051808303816000875af11580156121c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ea91906127d4565b146110ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f554e45585045435445445f414d4f554e545f57495448445241574e000000000060448201526064016102ab565b6000808273ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c39190612ee3565b9050604d8160ff161115612032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f544f4f5f4d414e595f444543494d414c535f4f4e5f544f4b454e00000000000060448201526064016102ab565b6040517fb3596f0700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063b3596f0790602401602060405180830381865afa1580156123c4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203291906127d4565b8082018281101561203257600080fd5b60008215806124195750508181028183828161241657612416612f00565b04145b61203257600080fd5b600061242e8284612f2f565b9392505050565b600081157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec778390048411151761246a57600080fd5b506127109102611388010490565b8082038281111561203257600080fd5b6040517f23b872dd0000000000000000000000000000000000000000000000000000000080825273ffffffffffffffffffffffffffffffffffffffff8581166004840152841660248301526044820183905290600080606483828a5af16124f3573d6000803e3d6000fd5b506124fd85611e35565b6110ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f475076323a206661696c6564207472616e7366657246726f6d0000000000000060448201526064016102ab565b73ffffffffffffffffffffffffffffffffffffffff8116811461038257600080fd5b60006020828403121561259757600080fd5b813561242e81612563565b60008083601f8401126125b457600080fd5b50813567ffffffffffffffff8111156125cc57600080fd5b6020830191508360208285010111156125e457600080fd5b9250929050565b6000806000806000806000806000898b0361018081121561260b57600080fd5b8a3561261681612563565b995060208b013561262681612563565b985060408b0135975060608b0135965060808b0135955060a08b0135945060c08b013567ffffffffffffffff81111561265e57600080fd5b61266a8d828e016125a2565b90955093505060a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff20820112156126a057600080fd5b5060e08a0190509295985092959850929598565b60008083601f8401126126c657600080fd5b50813567ffffffffffffffff8111156126de57600080fd5b6020830191508360208260051b85010111156125e457600080fd5b600080600080600080600080600060a08a8c03121561271757600080fd5b893567ffffffffffffffff8082111561272f57600080fd5b61273b8d838e016126b4565b909b50995060208c013591508082111561275457600080fd5b6127608d838e016126b4565b909950975060408c013591508082111561277957600080fd5b6127858d838e016126b4565b909750955060608c0135915061279a82612563565b90935060808b013590808211156127b057600080fd5b506127bd8c828d016125a2565b915080935050809150509295985092959850929598565b6000602082840312156127e657600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516101e0810167ffffffffffffffff81118282101715612840576128406127ed565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561288d5761288d6127ed565b604052919050565b60ff8116811461038257600080fd5b600060a082840312156128b657600080fd5b60405160a0810181811067ffffffffffffffff821117156128d9576128d96127ed565b8060405250809150823581526020830135602082015260408301356128fd81612895565b8060408301525060608301356060820152608083013560808201525092915050565b600060a0828403121561293157600080fd5b61242e83836128a4565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008282101561297c5761297c61293b565b500390565b60006020828403121561299357600080fd5b8151801515811461242e57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600067ffffffffffffffff821115612a1b57612a1b6127ed565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60005b83811015612a62578181015183820152602001612a4a565b83811115610eb55750506000910152565b60008060408385031215612a8657600080fd5b825167ffffffffffffffff811115612a9d57600080fd5b8301601f81018513612aae57600080fd5b8051612ac1612abc82612a01565b612846565b818152866020838501011115612ad657600080fd5b612ae7826020830160208601612a47565b8094505050506020830151612afb81612563565b809150509250929050565b600181815b80851115612b5f57817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612b4557612b4561293b565b80851615612b5257918102915b93841c9390800290612b0b565b509250929050565b600082612b7657506001612032565b81612b8357506000612032565b8160018114612b995760028114612ba357612bbf565b6001915050612032565b60ff841115612bb457612bb461293b565b50506001821b612032565b5060208310610133831016604e8410600b8410161715612be2575081810a612032565b612bec8383612b06565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612c1e57612c1e61293b565b029392505050565b600061242e8383612b67565b8051612c3d81612563565b919050565b600060208284031215612c5457600080fd5b815161242e81612563565b60008251612c71818460208701612a47565b9190910192915050565b6000806000806000806101408789031215612c9557600080fd5b8635612ca081612563565b9550602087013594506040870135935060608701359250608087013567ffffffffffffffff811115612cd157600080fd5b8701601f81018913612ce257600080fd5b8035612cf0612abc82612a01565b8181528a6020838501011115612d0557600080fd5b81602084016020830137600060208383010152809450505050612d2b8860a089016128a4565b90509295509295509295565b600060208284031215612d4957600080fd5b6040516020810181811067ffffffffffffffff82111715612d6c57612d6c6127ed565b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff81168114612c3d57600080fd5b805164ffffffffff81168114612c3d57600080fd5b805161ffff81168114612c3d57600080fd5b60006101e08284031215612dd357600080fd5b612ddb61281c565b612de58484612d37565b8152612df360208401612d79565b6020820152612e0460408401612d79565b6040820152612e1560608401612d79565b6060820152612e2660808401612d79565b6080820152612e3760a08401612d79565b60a0820152612e4860c08401612d99565b60c0820152612e5960e08401612dae565b60e0820152610100612e6c818501612c32565b90820152610120612e7e848201612c32565b90820152610140612e90848201612c32565b90820152610160612ea2848201612c32565b90820152610180612eb4848201612d79565b908201526101a0612ec6848201612d79565b908201526101c0612ed8848201612d79565b908201529392505050565b600060208284031215612ef557600080fd5b815161242e81612895565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612f65577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea26469706673582212201ae79dd35f34ecf1387bee8e87022a83fa61b3a7ba8b1ecade15267edadaceb264736f6c634300080a0033'; var ParaSwapRepayAdapter__factory = class extends ethers_1.ContractFactory { constructor(signer) { super(_abi, _bytecode, signer); @@ -40558,14 +44200,16 @@ var require_ParaSwapRepayAdapter_factory = __commonJS({ exports2.ParaSwapRepayAdapter__factory = ParaSwapRepayAdapter__factory; ParaSwapRepayAdapter__factory.bytecode = _bytecode; ParaSwapRepayAdapter__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/paraswap-repayWithCollateralAdapter-contract/index.js var require_paraswap_repayWithCollateralAdapter_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/paraswap-repayWithCollateralAdapter-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/paraswap-repayWithCollateralAdapter-contract/index.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ParaswapRepayWithCollateral = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -40578,47 +44222,90 @@ var require_paraswap_repayWithCollateralAdapter_contract = __commonJS({ var ParaswapRepayWithCollateral = class extends BaseService_1.default { constructor(provider, repayWithCollateralAddress) { super(provider, ParaSwapRepayAdapter__factory_1.ParaSwapRepayAdapter__factory); - this.repayWithCollateralAddress = repayWithCollateralAddress !== null && repayWithCollateralAddress !== void 0 ? repayWithCollateralAddress : ""; + this.repayWithCollateralAddress = + repayWithCollateralAddress !== null && repayWithCollateralAddress !== void 0 + ? repayWithCollateralAddress + : ''; this.swapAndRepay = this.swapAndRepay.bind(this); } - swapAndRepay({ collateralAsset, debtAsset, collateralAmount, debtRepayAmount, debtRateMode, repayAll, permitParams, swapAndRepayCallData, user, augustus }, txs) { + swapAndRepay( + { + collateralAsset, + debtAsset, + collateralAmount, + debtRepayAmount, + debtRateMode, + repayAll, + permitParams, + swapAndRepayCallData, + user, + augustus, + }, + txs + ) { const numericInterestRate = debtRateMode === types_1.InterestRate.Stable ? 1 : 2; const swapAndRepayContract = this.getContractInstance(this.repayWithCollateralAddress); - const callDataEncoded = ethers_1.utils.defaultAbiCoder.encode(["bytes", "address"], [swapAndRepayCallData, augustus]); + const callDataEncoded = ethers_1.utils.defaultAbiCoder.encode( + ['bytes', 'address'], + [swapAndRepayCallData, augustus] + ); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return swapAndRepayContract.populateTransaction.swapAndRepay(collateralAsset, debtAsset, collateralAmount, debtRepayAmount, numericInterestRate, repayAll ? (0, utils_1.augustusToAmountOffsetFromCalldata)(swapAndRepayCallData) : 0, callDataEncoded, permitParams); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return swapAndRepayContract.populateTransaction.swapAndRepay( + collateralAsset, + debtAsset, + collateralAmount, + debtRepayAmount, + numericInterestRate, + repayAll + ? (0, utils_1.augustusToAmountOffsetFromCalldata)(swapAndRepayCallData) + : 0, + callDataEncoded, + permitParams + ); + }), + from: user, }); return { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs !== null && txs !== void 0 ? txs : [], txCallback, types_1.ProtocolAction.repayCollateral) + gas: this.generateTxPriceEstimation( + txs !== null && txs !== void 0 ? txs : [], + txCallback, + types_1.ProtocolAction.repayCollateral + ), }; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.RepayWithCollateralValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("collateralAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("collateralAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("debtRepayAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("augustus")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Object) - ], ParaswapRepayWithCollateral.prototype, "swapAndRepay", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.RepayWithCollateralValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('collateralAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('collateralAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('debtRepayAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('augustus')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Object), + ], + ParaswapRepayWithCollateral.prototype, + 'swapAndRepay', + null + ); exports2.ParaswapRepayWithCollateral = ParaswapRepayWithCollateral; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/repayWithCollateralAdapter-contract/typechain/IRepayWithCollateral__factory.js var require_IRepayWithCollateral_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/repayWithCollateralAdapter-contract/typechain/IRepayWithCollateral__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/repayWithCollateralAdapter-contract/typechain/IRepayWithCollateral__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IRepayWithCollateral__factory = void 0; var ethers_1 = require_lib31(); var IRepayWithCollateral__factory = class { @@ -40631,82 +44318,84 @@ var require_IRepayWithCollateral_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "collateralAsset", - type: "address" + internalType: 'address', + name: 'collateralAsset', + type: 'address', }, { - internalType: "address", - name: "debtAsset", - type: "address" + internalType: 'address', + name: 'debtAsset', + type: 'address', }, { - internalType: "uint256", - name: "collateralAmount", - type: "uint256" + internalType: 'uint256', + name: 'collateralAmount', + type: 'uint256', }, { - internalType: "uint256", - name: "debtRepayAmount", - type: "uint256" + internalType: 'uint256', + name: 'debtRepayAmount', + type: 'uint256', }, { - internalType: "uint256", - name: "debtRateMode", - type: "uint256" + internalType: 'uint256', + name: 'debtRateMode', + type: 'uint256', }, { components: [ { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - internalType: "struct IRepayWithCollateral.PermitSignature", - name: "permitSignature", - type: "tuple" + internalType: 'struct IRepayWithCollateral.PermitSignature', + name: 'permitSignature', + type: 'tuple', }, { - internalType: "bool", - name: "useEthPath", - type: "bool" - } + internalType: 'bool', + name: 'useEthPath', + type: 'bool', + }, ], - name: "swapAndRepay", + name: 'swapAndRepay', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/repayWithCollateralAdapter-contract/index.js var require_repayWithCollateralAdapter_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/repayWithCollateralAdapter-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/repayWithCollateralAdapter-contract/index.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.RepayWithCollateralAdapterService = void 0; var tslib_1 = require_tslib(); var BaseService_1 = (0, tslib_1.__importDefault)(require_BaseService()); @@ -40717,45 +44406,82 @@ var require_repayWithCollateralAdapter_contract = __commonJS({ var RepayWithCollateralAdapterService = class extends BaseService_1.default { constructor(provider, repayWithCollateralAddress) { super(provider, IRepayWithCollateral__factory_1.IRepayWithCollateral__factory); - this.repayWithCollateralAddress = repayWithCollateralAddress !== null && repayWithCollateralAddress !== void 0 ? repayWithCollateralAddress : ""; + this.repayWithCollateralAddress = + repayWithCollateralAddress !== null && repayWithCollateralAddress !== void 0 + ? repayWithCollateralAddress + : ''; this.swapAndRepay = this.swapAndRepay.bind(this); } - swapAndRepay({ user, collateralAsset, debtAsset, collateralAmount, debtRepayAmount, debtRateMode, permit, useEthPath }, txs) { + swapAndRepay( + { + user, + collateralAsset, + debtAsset, + collateralAmount, + debtRepayAmount, + debtRateMode, + permit, + useEthPath, + }, + txs + ) { const numericInterestRate = debtRateMode === types_1.InterestRate.Stable ? 1 : 2; - const repayWithCollateralContract = this.getContractInstance(this.repayWithCollateralAddress); + const repayWithCollateralContract = this.getContractInstance( + this.repayWithCollateralAddress + ); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return repayWithCollateralContract.populateTransaction.swapAndRepay(collateralAsset, debtAsset, collateralAmount, debtRepayAmount, numericInterestRate, permit, useEthPath !== null && useEthPath !== void 0 ? useEthPath : false); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return repayWithCollateralContract.populateTransaction.swapAndRepay( + collateralAsset, + debtAsset, + collateralAmount, + debtRepayAmount, + numericInterestRate, + permit, + useEthPath !== null && useEthPath !== void 0 ? useEthPath : false + ); + }), + from: user, }); return { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs !== null && txs !== void 0 ? txs : [], txCallback, types_1.ProtocolAction.repayCollateral) + gas: this.generateTxPriceEstimation( + txs !== null && txs !== void 0 ? txs : [], + txCallback, + types_1.ProtocolAction.repayCollateral + ), }; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.RepayWithCollateralValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("collateralAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("collateralAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("debtRepayAmount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Object) - ], RepayWithCollateralAdapterService.prototype, "swapAndRepay", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.RepayWithCollateralValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('collateralAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('collateralAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('debtRepayAmount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Object), + ], + RepayWithCollateralAdapterService.prototype, + 'swapAndRepay', + null + ); exports2.RepayWithCollateralAdapterService = RepayWithCollateralAdapterService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/synthetix-contract/typechain/ISynthetix__factory.js var require_ISynthetix_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/synthetix-contract/typechain/ISynthetix__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/synthetix-contract/typechain/ISynthetix__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ISynthetix__factory = void 0; var ethers_1 = require_lib31(); var ISynthetix__factory = class { @@ -40768,31 +44494,31 @@ var require_ISynthetix_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "account", - type: "address" - } + internalType: 'address', + name: 'account', + type: 'address', + }, ], - name: "transferableSynthetix", + name: 'transferableSynthetix', outputs: [ { - internalType: "uint256", - name: "transferable", - type: "uint256" - } + internalType: 'uint256', + name: 'transferable', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/synthetix-contract/index.js var require_synthetix_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/synthetix-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/synthetix-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.SynthetixService = exports2.synthetixProxyByChainId = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -40802,7 +44528,7 @@ var require_synthetix_contract = __commonJS({ var paramValidators_1 = require_paramValidators(); var ISynthetix__factory_1 = require_ISynthetix_factory(); exports2.synthetixProxyByChainId = { - [types_1.ChainId.mainnet]: "0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f" + [types_1.ChainId.mainnet]: '0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f', }; var SynthetixService = class extends BaseService_1.default { constructor(provider) { @@ -40810,14 +44536,15 @@ var require_synthetix_contract = __commonJS({ this.synthetixValidation = this.synthetixValidation.bind(this); } synthetixValidation(_0) { - return __async(this, arguments, function* ({ - user, - reserve, - amount - }) { + return __async(this, arguments, function* ({ user, reserve, amount }) { const { chainId } = yield this.provider.getNetwork(); - if (exports2.synthetixProxyByChainId[chainId] && reserve.toLowerCase() === exports2.synthetixProxyByChainId[chainId].toLowerCase()) { - const synthContract = this.getContractInstance(exports2.synthetixProxyByChainId[chainId]); + if ( + exports2.synthetixProxyByChainId[chainId] && + reserve.toLowerCase() === exports2.synthetixProxyByChainId[chainId].toLowerCase() + ) { + const synthContract = this.getContractInstance( + exports2.synthetixProxyByChainId[chainId] + ); const transferableAmount = yield synthContract.transferableSynthetix(user); return ethers_1.BigNumber.from(amount).lte(transferableAmount); } @@ -40825,24 +44552,31 @@ var require_synthetix_contract = __commonJS({ }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.SynthetixValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], SynthetixService.prototype, "synthetixValidation", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.SynthetixValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + SynthetixService.prototype, + 'synthetixValidation', + null + ); exports2.SynthetixService = SynthetixService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/baseDebtToken-contract/typechain/IDebtTokenBase__factory.js var require_IDebtTokenBase_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/baseDebtToken-contract/typechain/IDebtTokenBase__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/baseDebtToken-contract/typechain/IDebtTokenBase__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IDebtTokenBase__factory = void 0; var ethers_1 = require_lib31(); var IDebtTokenBase__factory = class { @@ -40855,54 +44589,54 @@ var require_IDebtTokenBase_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "delegatee", - type: "address" + internalType: 'address', + name: 'delegatee', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "approveDelegation", + name: 'approveDelegation', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "fromUser", - type: "address" + internalType: 'address', + name: 'fromUser', + type: 'address', }, { - internalType: "address", - name: "toUser", - type: "address" - } + internalType: 'address', + name: 'toUser', + type: 'address', + }, ], - name: "borrowAllowance", + name: 'borrowAllowance', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/baseDebtToken-contract/index.js var require_baseDebtToken_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/baseDebtToken-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/baseDebtToken-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.BaseDebtToken = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -40920,56 +44654,78 @@ var require_baseDebtToken_contract = __commonJS({ approveDelegation({ user, delegatee, debtTokenAddress, amount }) { const debtTokenContract = this.getContractInstance(debtTokenAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return debtTokenContract.populateTransaction.approveDelegation(delegatee, amount); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return debtTokenContract.populateTransaction.approveDelegation(delegatee, amount); + }), + from: user, }); return { tx: txCallback, txType: types_1.eEthereumTxType.ERC20_APPROVAL, - gas: this.generateTxPriceEstimation([], txCallback) + gas: this.generateTxPriceEstimation([], txCallback), }; } isDelegationApproved(_0) { - return __async(this, arguments, function* ({ debtTokenAddress, allowanceGiver, allowanceReceiver, amount }) { - const decimals = yield this.erc20Service.decimalsOf(debtTokenAddress); - const debtTokenContract = this.getContractInstance(debtTokenAddress); - const delegatedAllowance = yield debtTokenContract.borrowAllowance(allowanceGiver, allowanceReceiver); - const amountBNWithDecimals = ethers_1.BigNumber.from((0, utils_1.valueToWei)(amount, decimals)); - return delegatedAllowance.gt(amountBNWithDecimals); - }); - } - }; - (0, tslib_1.__decorate)([ - methodValidators_1.DebtTokenValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtTokenAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Object) - ], BaseDebtToken.prototype, "approveDelegation", null); - (0, tslib_1.__decorate)([ - methodValidators_1.DebtTokenValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtTokenAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("allowanceGiver")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("allowanceReceiver")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], BaseDebtToken.prototype, "isDelegationApproved", null); + return __async( + this, + arguments, + function* ({ debtTokenAddress, allowanceGiver, allowanceReceiver, amount }) { + const decimals = yield this.erc20Service.decimalsOf(debtTokenAddress); + const debtTokenContract = this.getContractInstance(debtTokenAddress); + const delegatedAllowance = yield debtTokenContract.borrowAllowance( + allowanceGiver, + allowanceReceiver + ); + const amountBNWithDecimals = ethers_1.BigNumber.from( + (0, utils_1.valueToWei)(amount, decimals) + ); + return delegatedAllowance.gt(amountBNWithDecimals); + } + ); + } + }; + (0, tslib_1.__decorate)( + [ + methodValidators_1.DebtTokenValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtTokenAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Object), + ], + BaseDebtToken.prototype, + 'approveDelegation', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.DebtTokenValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtTokenAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('allowanceGiver')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('allowanceReceiver')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + BaseDebtToken.prototype, + 'isDelegationApproved', + null + ); exports2.BaseDebtToken = BaseDebtToken; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/wethgateway-contract/typechain/IWETHGateway__factory.js var require_IWETHGateway_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/wethgateway-contract/typechain/IWETHGateway__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/wethgateway-contract/typechain/IWETHGateway__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IWETHGateway__factory = void 0; var ethers_1 = require_lib31(); var IWETHGateway__factory = class { @@ -40982,114 +44738,114 @@ var require_IWETHGateway_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "lendingPool", - type: "address" + internalType: 'address', + name: 'lendingPool', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interesRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interesRateMode', + type: 'uint256', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "borrowETH", + name: 'borrowETH', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "lendingPool", - type: "address" + internalType: 'address', + name: 'lendingPool', + type: 'address', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "depositETH", + name: 'depositETH', outputs: [], - stateMutability: "payable", - type: "function" + stateMutability: 'payable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "lendingPool", - type: "address" + internalType: 'address', + name: 'lendingPool', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "rateMode", - type: "uint256" + internalType: 'uint256', + name: 'rateMode', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" - } + internalType: 'address', + name: 'onBehalfOf', + type: 'address', + }, ], - name: "repayETH", + name: 'repayETH', outputs: [], - stateMutability: "payable", - type: "function" + stateMutability: 'payable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "lendingPool", - type: "address" + internalType: 'address', + name: 'lendingPool', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" - } + internalType: 'address', + name: 'onBehalfOf', + type: 'address', + }, ], - name: "withdrawETH", + name: 'withdrawETH', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/wethgateway-contract/index.js var require_wethgateway_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/wethgateway-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/wethgateway-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.WETHGatewayService = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -41104,8 +44860,12 @@ var require_wethgateway_contract = __commonJS({ constructor(provider, erc20Service, wethGatewayAddress) { super(provider, IWETHGateway__factory_1.IWETHGateway__factory); this.erc20Service = erc20Service; - this.baseDebtTokenService = new baseDebtToken_contract_1.BaseDebtToken(this.provider, this.erc20Service); - this.wethGatewayAddress = wethGatewayAddress !== null && wethGatewayAddress !== void 0 ? wethGatewayAddress : ""; + this.baseDebtTokenService = new baseDebtToken_contract_1.BaseDebtToken( + this.provider, + this.erc20Service + ); + this.wethGatewayAddress = + wethGatewayAddress !== null && wethGatewayAddress !== void 0 ? wethGatewayAddress : ''; this.depositETH = this.depositETH.bind(this); this.withdrawETH = this.withdrawETH.bind(this); this.repayETH = this.repayETH.bind(this); @@ -41115,163 +44875,233 @@ var require_wethgateway_contract = __commonJS({ const convertedAmount = (0, utils_1.valueToWei)(amount, 18); const wethGatewayContract = this.getContractInstance(this.wethGatewayAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return wethGatewayContract.populateTransaction.depositETH(lendingPool, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), + rawTxMethod: () => + __async(this, null, function* () { + return wethGatewayContract.populateTransaction.depositETH( + lendingPool, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), from: user, - value: convertedAmount + value: convertedAmount, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } borrowETH(_0) { - return __async(this, arguments, function* ({ lendingPool, user, amount, debtTokenAddress, interestRateMode, referralCode }) { - const txs = []; - const convertedAmount = (0, utils_1.valueToWei)(amount, 18); - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - const delegationApproved = yield this.baseDebtTokenService.isDelegationApproved({ + return __async( + this, + arguments, + function* ({ + lendingPool, + user, + amount, debtTokenAddress, - allowanceGiver: user, - allowanceReceiver: this.wethGatewayAddress, - amount - }); - if (!delegationApproved) { - const approveDelegationTx = this.baseDebtTokenService.approveDelegation({ - user, - delegatee: this.wethGatewayAddress, + interestRateMode, + referralCode, + }) { + const txs = []; + const convertedAmount = (0, utils_1.valueToWei)(amount, 18); + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + const delegationApproved = yield this.baseDebtTokenService.isDelegationApproved({ debtTokenAddress, - amount: ethers_1.constants.MaxUint256.toString() + allowanceGiver: user, + allowanceReceiver: this.wethGatewayAddress, + amount, + }); + if (!delegationApproved) { + const approveDelegationTx = this.baseDebtTokenService.approveDelegation({ + user, + delegatee: this.wethGatewayAddress, + debtTokenAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveDelegationTx); + } + const wethGatewayContract = this.getContractInstance(this.wethGatewayAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return wethGatewayContract.populateTransaction.borrowETH( + lendingPool, + convertedAmount, + numericRateMode, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.borrowETH + ), }); - txs.push(approveDelegationTx); + return txs; } - const wethGatewayContract = this.getContractInstance(this.wethGatewayAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return wethGatewayContract.populateTransaction.borrowETH(lendingPool, convertedAmount, numericRateMode, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.borrowETH) - }); - return txs; - }); + ); } withdrawETH(_0) { - return __async(this, arguments, function* ({ lendingPool, user, amount, onBehalfOf, aTokenAddress }) { - const txs = []; - const { isApproved, approve } = this.erc20Service; - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, 18); - const approved = yield isApproved({ - token: aTokenAddress, - user, - spender: this.wethGatewayAddress, - amount - }); - if (!approved) { - const approveTx = approve({ - user, + return __async( + this, + arguments, + function* ({ lendingPool, user, amount, onBehalfOf, aTokenAddress }) { + const txs = []; + const { isApproved, approve } = this.erc20Service; + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, 18); + const approved = yield isApproved({ token: aTokenAddress, + user, spender: this.wethGatewayAddress, - amount: ethers_1.constants.MaxUint256.toString() + amount, }); - txs.push(approveTx); - } - const wethGatewayContract = this.getContractInstance(this.wethGatewayAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return wethGatewayContract.populateTransaction.withdrawETH(lendingPool, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.withdrawETH) - }); - return txs; - }); + if (!approved) { + const approveTx = approve({ + user, + token: aTokenAddress, + spender: this.wethGatewayAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveTx); + } + const wethGatewayContract = this.getContractInstance(this.wethGatewayAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return wethGatewayContract.populateTransaction.withdrawETH( + lendingPool, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.withdrawETH + ), + }); + return txs; + } + ); } repayETH({ lendingPool, user, amount, interestRateMode, onBehalfOf }) { const convertedAmount = (0, utils_1.valueToWei)(amount, 18); const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; const wethGatewayContract = this.getContractInstance(this.wethGatewayAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return wethGatewayContract.populateTransaction.repayETH(lendingPool, convertedAmount, numericRateMode, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), + rawTxMethod: () => + __async(this, null, function* () { + return wethGatewayContract.populateTransaction.repayETH( + lendingPool, + convertedAmount, + numericRateMode, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), gasSurplus: 30, from: user, - value: convertedAmount + value: convertedAmount, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.WETHValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPool")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("referralCode")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], WETHGatewayService.prototype, "depositETH", null); - (0, tslib_1.__decorate)([ - methodValidators_1.WETHValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPool")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtTokenAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("referralCode")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], WETHGatewayService.prototype, "borrowETH", null); - (0, tslib_1.__decorate)([ - methodValidators_1.WETHValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPool")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("aTokenAddress")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], WETHGatewayService.prototype, "withdrawETH", null); - (0, tslib_1.__decorate)([ - methodValidators_1.WETHValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("lendingPool")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], WETHGatewayService.prototype, "repayETH", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.WETHValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPool')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('referralCode')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + WETHGatewayService.prototype, + 'depositETH', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.WETHValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPool')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtTokenAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('referralCode')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + WETHGatewayService.prototype, + 'borrowETH', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.WETHValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPool')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('aTokenAddress')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + WETHGatewayService.prototype, + 'withdrawETH', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.WETHValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('lendingPool')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + WETHGatewayService.prototype, + 'repayETH', + null + ); exports2.WETHGatewayService = WETHGatewayService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/lendingPool-contract/typechain/ILendingPool__factory.js var require_ILendingPool_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/lendingPool-contract/typechain/ILendingPool__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/lendingPool-contract/typechain/ILendingPool__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ILendingPool__factory = void 0; var ethers_1 = require_lib31(); var ILendingPool__factory = class { @@ -41283,250 +45113,250 @@ var require_ILendingPool_factory = __commonJS({ var _abi = [ { inputs: [], - name: "FLASHLOAN_PREMIUM_TOTAL", + name: 'FLASHLOAN_PREMIUM_TOTAL', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" - } + internalType: 'address', + name: 'onBehalfOf', + type: 'address', + }, ], - name: "borrow", + name: 'borrow', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "deposit", + name: 'deposit', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "receiver", - type: "address" + internalType: 'address', + name: 'receiver', + type: 'address', }, { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "amounts", - type: "uint256[]" + internalType: 'uint256[]', + name: 'amounts', + type: 'uint256[]', }, { - internalType: "uint256[]", - name: "modes", - type: "uint256[]" + internalType: 'uint256[]', + name: 'modes', + type: 'uint256[]', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "bytes", - name: "params", - type: "bytes" + internalType: 'bytes', + name: 'params', + type: 'bytes', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "flashLoan", + name: 'flashLoan', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "collateral", - type: "address" + internalType: 'address', + name: 'collateral', + type: 'address', }, { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "purchaseAmount", - type: "uint256" + internalType: 'uint256', + name: 'purchaseAmount', + type: 'uint256', }, { - internalType: "bool", - name: "receiveAToken", - type: "bool" - } + internalType: 'bool', + name: 'receiveAToken', + type: 'bool', + }, ], - name: "liquidationCall", + name: 'liquidationCall', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "rateMode", - type: "uint256" + internalType: 'uint256', + name: 'rateMode', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" - } + internalType: 'address', + name: 'onBehalfOf', + type: 'address', + }, ], - name: "repay", + name: 'repay', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "bool", - name: "useAsCollateral", - type: "bool" - } + internalType: 'bool', + name: 'useAsCollateral', + type: 'bool', + }, ], - name: "setUserUseReserveAsCollateral", + name: 'setUserUseReserveAsCollateral', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "uint256", - name: "rateMode", - type: "uint256" - } + internalType: 'uint256', + name: 'rateMode', + type: 'uint256', + }, ], - name: "swapBorrowRateMode", + name: 'swapBorrowRateMode', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "to", - type: "address" - } + internalType: 'address', + name: 'to', + type: 'address', + }, ], - name: "withdraw", + name: 'withdraw', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/lendingPool-contract/index.js var require_lendingPool_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/lendingPool-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/lendingPool-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.LendingPool = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -41537,714 +45367,1075 @@ var require_lendingPool_contract = __commonJS({ var paramValidators_1 = require_paramValidators(); var erc20_contract_1 = require_erc20_contract(); var paraswap_liquiditySwapAdapter_contract_1 = require_paraswap_liquiditySwapAdapter_contract(); - var paraswap_repayWithCollateralAdapter_contract_1 = require_paraswap_repayWithCollateralAdapter_contract(); + var paraswap_repayWithCollateralAdapter_contract_1 = + require_paraswap_repayWithCollateralAdapter_contract(); var repayWithCollateralAdapter_contract_1 = require_repayWithCollateralAdapter_contract(); var synthetix_contract_1 = require_synthetix_contract(); var wethgateway_contract_1 = require_wethgateway_contract(); var ILendingPool__factory_1 = require_ILendingPool_factory(); - var buildParaSwapLiquiditySwapParams = (assetToSwapTo, minAmountToReceive, swapAllBalanceOffset, swapCalldata, augustus, permitAmount, deadline, v, r, s) => { - return ethers_1.utils.defaultAbiCoder.encode([ - "address", - "uint256", - "uint256", - "bytes", - "address", - "tuple(uint256,uint256,uint8,bytes32,bytes32)" - ], [ - assetToSwapTo, - minAmountToReceive, - swapAllBalanceOffset, - swapCalldata, - augustus, - [permitAmount, deadline, v, r, s] - ]); + var buildParaSwapLiquiditySwapParams = ( + assetToSwapTo, + minAmountToReceive, + swapAllBalanceOffset, + swapCalldata, + augustus, + permitAmount, + deadline, + v, + r, + s + ) => { + return ethers_1.utils.defaultAbiCoder.encode( + [ + 'address', + 'uint256', + 'uint256', + 'bytes', + 'address', + 'tuple(uint256,uint256,uint8,bytes32,bytes32)', + ], + [ + assetToSwapTo, + minAmountToReceive, + swapAllBalanceOffset, + swapCalldata, + augustus, + [permitAmount, deadline, v, r, s], + ] + ); }; var LendingPool = class extends BaseService_1.default { constructor(provider, lendingPoolConfig) { super(provider, ILendingPool__factory_1.ILendingPool__factory); - const { LENDING_POOL, FLASH_LIQUIDATION_ADAPTER, REPAY_WITH_COLLATERAL_ADAPTER, SWAP_COLLATERAL_ADAPTER, WETH_GATEWAY } = lendingPoolConfig !== null && lendingPoolConfig !== void 0 ? lendingPoolConfig : {}; - this.lendingPoolAddress = LENDING_POOL !== null && LENDING_POOL !== void 0 ? LENDING_POOL : ""; - this.flashLiquidationAddress = FLASH_LIQUIDATION_ADAPTER !== null && FLASH_LIQUIDATION_ADAPTER !== void 0 ? FLASH_LIQUIDATION_ADAPTER : ""; - this.swapCollateralAddress = SWAP_COLLATERAL_ADAPTER !== null && SWAP_COLLATERAL_ADAPTER !== void 0 ? SWAP_COLLATERAL_ADAPTER : ""; - this.repayWithCollateralAddress = REPAY_WITH_COLLATERAL_ADAPTER !== null && REPAY_WITH_COLLATERAL_ADAPTER !== void 0 ? REPAY_WITH_COLLATERAL_ADAPTER : ""; + const { + LENDING_POOL, + FLASH_LIQUIDATION_ADAPTER, + REPAY_WITH_COLLATERAL_ADAPTER, + SWAP_COLLATERAL_ADAPTER, + WETH_GATEWAY, + } = lendingPoolConfig !== null && lendingPoolConfig !== void 0 ? lendingPoolConfig : {}; + this.lendingPoolAddress = + LENDING_POOL !== null && LENDING_POOL !== void 0 ? LENDING_POOL : ''; + this.flashLiquidationAddress = + FLASH_LIQUIDATION_ADAPTER !== null && FLASH_LIQUIDATION_ADAPTER !== void 0 + ? FLASH_LIQUIDATION_ADAPTER + : ''; + this.swapCollateralAddress = + SWAP_COLLATERAL_ADAPTER !== null && SWAP_COLLATERAL_ADAPTER !== void 0 + ? SWAP_COLLATERAL_ADAPTER + : ''; + this.repayWithCollateralAddress = + REPAY_WITH_COLLATERAL_ADAPTER !== null && REPAY_WITH_COLLATERAL_ADAPTER !== void 0 + ? REPAY_WITH_COLLATERAL_ADAPTER + : ''; this.erc20Service = new erc20_contract_1.ERC20Service(provider); this.synthetixService = new synthetix_contract_1.SynthetixService(provider); - this.wethGatewayService = new wethgateway_contract_1.WETHGatewayService(provider, this.erc20Service, WETH_GATEWAY); - this.liquiditySwapAdapterService = new paraswap_liquiditySwapAdapter_contract_1.LiquiditySwapAdapterService(provider, SWAP_COLLATERAL_ADAPTER); - this.repayWithCollateralAdapterService = new repayWithCollateralAdapter_contract_1.RepayWithCollateralAdapterService(provider, REPAY_WITH_COLLATERAL_ADAPTER); - this.paraswapRepayWithCollateralAdapterService = new paraswap_repayWithCollateralAdapter_contract_1.ParaswapRepayWithCollateral(provider, REPAY_WITH_COLLATERAL_ADAPTER); + this.wethGatewayService = new wethgateway_contract_1.WETHGatewayService( + provider, + this.erc20Service, + WETH_GATEWAY + ); + this.liquiditySwapAdapterService = + new paraswap_liquiditySwapAdapter_contract_1.LiquiditySwapAdapterService( + provider, + SWAP_COLLATERAL_ADAPTER + ); + this.repayWithCollateralAdapterService = + new repayWithCollateralAdapter_contract_1.RepayWithCollateralAdapterService( + provider, + REPAY_WITH_COLLATERAL_ADAPTER + ); + this.paraswapRepayWithCollateralAdapterService = + new paraswap_repayWithCollateralAdapter_contract_1.ParaswapRepayWithCollateral( + provider, + REPAY_WITH_COLLATERAL_ADAPTER + ); } deposit(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, onBehalfOf, referralCode }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - return this.wethGatewayService.depositETH({ - lendingPool: this.lendingPoolAddress, + return __async( + this, + arguments, + function* ({ user, reserve, amount, onBehalfOf, referralCode }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + return this.wethGatewayService.depositETH({ + lendingPool: this.lendingPoolAddress, + user, + amount, + onBehalfOf, + referralCode, + }); + } + const { isApproved, approve, decimalsOf } = this.erc20Service; + const txs = []; + const reserveDecimals = yield decimalsOf(reserve); + const convertedAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); + const fundsAvailable = yield this.synthetixService.synthetixValidation({ user, - amount, - onBehalfOf, - referralCode + reserve, + amount: convertedAmount, }); - } - const { isApproved, approve, decimalsOf } = this.erc20Service; - const txs = []; - const reserveDecimals = yield decimalsOf(reserve); - const convertedAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); - const fundsAvailable = yield this.synthetixService.synthetixValidation({ - user, - reserve, - amount: convertedAmount - }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); - } - const approved = yield isApproved({ - token: reserve, - user, - spender: this.lendingPoolAddress, - amount - }); - if (!approved) { - const approveTx = approve({ - user, + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } + const approved = yield isApproved({ token: reserve, + user, spender: this.lendingPoolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT + amount, }); - txs.push(approveTx); + if (!approved) { + const approveTx = approve({ + user, + token: reserve, + spender: this.lendingPoolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); + } + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.deposit( + reserve, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.deposit), + }); + return txs; } - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.deposit(reserve, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.deposit) - }); - return txs; - }); + ); } withdraw(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, onBehalfOf, aTokenAddress }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - if (!aTokenAddress) { - throw new Error("To withdraw ETH you need to pass the aWETH token address"); + return __async( + this, + arguments, + function* ({ user, reserve, amount, onBehalfOf, aTokenAddress }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + if (!aTokenAddress) { + throw new Error('To withdraw ETH you need to pass the aWETH token address'); + } + return this.wethGatewayService.withdrawETH({ + lendingPool: this.lendingPoolAddress, + user, + amount, + onBehalfOf, + aTokenAddress, + }); } - return this.wethGatewayService.withdrawETH({ - lendingPool: this.lendingPoolAddress, - user, - amount, - onBehalfOf, - aTokenAddress + const { decimalsOf } = this.erc20Service; + const decimals = yield decimalsOf(reserve); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.withdraw( + reserve, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, + action: types_1.ProtocolAction.withdraw, }); + return [ + { + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + [], + txCallback, + types_1.ProtocolAction.withdraw + ), + }, + ]; } - const { decimalsOf } = this.erc20Service; - const decimals = yield decimalsOf(reserve); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.withdraw(reserve, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user, - action: types_1.ProtocolAction.withdraw - }); - return [ - { - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.withdraw) - } - ]; - }); + ); } borrow(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, interestRateMode, debtTokenAddress, onBehalfOf, referralCode }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - if (!debtTokenAddress) { - throw new Error(`To borrow ETH you need to pass the stable or variable WETH debt Token Address corresponding the interestRateMode`); + return __async( + this, + arguments, + function* ({ + user, + reserve, + amount, + interestRateMode, + debtTokenAddress, + onBehalfOf, + referralCode, + }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + if (!debtTokenAddress) { + throw new Error( + `To borrow ETH you need to pass the stable or variable WETH debt Token Address corresponding the interestRateMode` + ); + } + return this.wethGatewayService.borrowETH({ + lendingPool: this.lendingPoolAddress, + user, + amount, + debtTokenAddress, + interestRateMode, + referralCode, + }); } - return this.wethGatewayService.borrowETH({ - lendingPool: this.lendingPoolAddress, - user, - amount, - debtTokenAddress, - interestRateMode, - referralCode + const { decimalsOf } = this.erc20Service; + const reserveDecimals = yield decimalsOf(reserve); + const formatAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.borrow( + reserve, + formatAmount, + numericRateMode, + referralCode !== null && referralCode !== void 0 ? referralCode : 0, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, }); + return [ + { + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation([], txCallback), + }, + ]; } - const { decimalsOf } = this.erc20Service; - const reserveDecimals = yield decimalsOf(reserve); - const formatAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.borrow(reserve, formatAmount, numericRateMode, referralCode !== null && referralCode !== void 0 ? referralCode : 0, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user - }); - return [ - { - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } - ]; - }); + ); } repay(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, interestRateMode, onBehalfOf }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - return this.wethGatewayService.repayETH({ - lendingPool: this.lendingPoolAddress, + return __async( + this, + arguments, + function* ({ user, reserve, amount, interestRateMode, onBehalfOf }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + return this.wethGatewayService.repayETH({ + lendingPool: this.lendingPoolAddress, + user, + amount, + interestRateMode, + onBehalfOf, + }); + } + const txs = []; + const { isApproved, approve, decimalsOf } = this.erc20Service; + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + const { populateTransaction } = lendingPoolContract; + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + const decimals = yield decimalsOf(reserve); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); + if (amount !== '-1') { + const fundsAvailable = yield this.synthetixService.synthetixValidation({ + user, + reserve, + amount: convertedAmount, + }); + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } + } + const approved = yield isApproved({ + token: reserve, user, + spender: this.lendingPoolAddress, amount, - interestRateMode, - onBehalfOf - }); - } - const txs = []; - const { isApproved, approve, decimalsOf } = this.erc20Service; - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const { populateTransaction } = lendingPoolContract; - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - const decimals = yield decimalsOf(reserve); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); - if (amount !== "-1") { - const fundsAvailable = yield this.synthetixService.synthetixValidation({ - user, - reserve, - amount: convertedAmount }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); + if (!approved) { + const approveTx = approve({ + user, + token: reserve, + spender: this.lendingPoolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); } - } - const approved = yield isApproved({ - token: reserve, - user, - spender: this.lendingPoolAddress, - amount - }); - if (!approved) { - const approveTx = approve({ - user, - token: reserve, - spender: this.lendingPoolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return populateTransaction.repay( + reserve, + convertedAmount, + numericRateMode, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), }); - txs.push(approveTx); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return populateTransaction.repay(reserve, convertedAmount, numericRateMode, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + ); } swapBorrowRateMode({ user, reserve, interestRateMode }) { const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.swapBorrowRateMode(reserve, numericRateMode); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.swapBorrowRateMode( + reserve, + numericRateMode + ); + }), + from: user, }); return [ { txType: types_1.eEthereumTxType.DLP_ACTION, tx: txCallback, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } setUsageAsCollateral({ user, reserve, usageAsCollateral }) { const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.setUserUseReserveAsCollateral(reserve, usageAsCollateral); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.setUserUseReserveAsCollateral( + reserve, + usageAsCollateral + ); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } liquidationCall(_0) { - return __async(this, arguments, function* ({ liquidator, liquidatedUser, debtReserve, collateralReserve, purchaseAmount, getAToken, liquidateAll }) { - const txs = []; - const { isApproved, approve, decimalsOf } = this.erc20Service; - const approved = yield isApproved({ - token: debtReserve, - user: liquidator, - spender: this.lendingPoolAddress, - amount: purchaseAmount - }); - if (!approved) { - const approveTx = approve({ - user: liquidator, + return __async( + this, + arguments, + function* ({ + liquidator, + liquidatedUser, + debtReserve, + collateralReserve, + purchaseAmount, + getAToken, + liquidateAll, + }) { + const txs = []; + const { isApproved, approve, decimalsOf } = this.erc20Service; + const approved = yield isApproved({ token: debtReserve, + user: liquidator, spender: this.lendingPoolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT - }); - txs.push(approveTx); - } - let convertedAmount = ethers_1.constants.MaxUint256.toString(); - if (!liquidateAll) { - const reserveDecimals = yield decimalsOf(debtReserve); - convertedAmount = (0, utils_1.valueToWei)(purchaseAmount, reserveDecimals); - } - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.liquidationCall(collateralReserve, debtReserve, liquidatedUser, convertedAmount, getAToken !== null && getAToken !== void 0 ? getAToken : false); - }), - from: liquidator, - value: (0, utils_1.getTxValue)(debtReserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.liquidationCall) - }); - return txs; - }); - } - swapCollateral(_0) { - return __async(this, arguments, function* ({ user, flash, fromAsset, fromAToken, toAsset, fromAmount, minToAmount, permitSignature, swapAll, onBehalfOf, referralCode, augustus, swapCallData }) { - const txs = []; - const permitParams = permitSignature !== null && permitSignature !== void 0 ? permitSignature : { - amount: "0", - deadline: "0", - v: 0, - r: "0x0000000000000000000000000000000000000000000000000000000000000000", - s: "0x0000000000000000000000000000000000000000000000000000000000000000" - }; - const approved = yield this.erc20Service.isApproved({ - token: fromAToken, - user, - spender: this.swapCollateralAddress, - amount: fromAmount - }); - if (!approved) { - const approveTx = this.erc20Service.approve({ - user, - token: fromAToken, - spender: this.swapCollateralAddress, - amount: ethers_1.constants.MaxUint256.toString() + amount: purchaseAmount, }); - txs.push(approveTx); - } - const tokenDecimals = yield this.erc20Service.decimalsOf(fromAsset); - const convertedAmount = (0, utils_1.valueToWei)(fromAmount, tokenDecimals); - const tokenToDecimals = yield this.erc20Service.decimalsOf(toAsset); - const amountSlippageConverted = (0, utils_1.valueToWei)(minToAmount, tokenToDecimals); - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - if (flash) { - const params = buildParaSwapLiquiditySwapParams(toAsset, amountSlippageConverted, swapAll ? (0, paraswap_liquiditySwapAdapter_contract_1.augustusFromAmountOffsetFromCalldata)(swapCallData) : 0, swapCallData, augustus, permitParams.amount, permitParams.deadline, permitParams.v, permitParams.r, permitParams.s); - const amountWithSurplus = (Number(fromAmount) + Number(fromAmount) * Number(utils_1.SURPLUS) / 100).toString(); - const convertedAmountWithSurplus = (0, utils_1.valueToWei)(amountWithSurplus, tokenDecimals); + if (!approved) { + const approveTx = approve({ + user: liquidator, + token: debtReserve, + spender: this.lendingPoolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); + } + let convertedAmount = ethers_1.constants.MaxUint256.toString(); + if (!liquidateAll) { + const reserveDecimals = yield decimalsOf(debtReserve); + convertedAmount = (0, utils_1.valueToWei)(purchaseAmount, reserveDecimals); + } + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.flashLoan( - this.swapCollateralAddress, - [fromAsset], - swapAll ? [convertedAmountWithSurplus] : [convertedAmount], - [0], - onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, - params, - referralCode !== null && referralCode !== void 0 ? referralCode : "0" - ); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.liquidationCall( + collateralReserve, + debtReserve, + liquidatedUser, + convertedAmount, + getAToken !== null && getAToken !== void 0 ? getAToken : false + ); + }), + from: liquidator, + value: (0, utils_1.getTxValue)(debtReserve, convertedAmount), }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.swapCollateral) + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.liquidationCall + ), }); return txs; } - const swapAndDepositTx = this.liquiditySwapAdapterService.swapAndDeposit({ + ); + } + swapCollateral(_0) { + return __async( + this, + arguments, + function* ({ user, - assetToSwapFrom: fromAsset, - assetToSwapTo: toAsset, - amountToSwap: convertedAmount, - minAmountToReceive: amountSlippageConverted, + flash, + fromAsset, + fromAToken, + toAsset, + fromAmount, + minToAmount, + permitSignature, swapAll, - swapCallData, + onBehalfOf, + referralCode, augustus, - permitParams - }, txs); - txs.push(swapAndDepositTx); - return txs; - }); + swapCallData, + }) { + const txs = []; + const permitParams = + permitSignature !== null && permitSignature !== void 0 + ? permitSignature + : { + amount: '0', + deadline: '0', + v: 0, + r: '0x0000000000000000000000000000000000000000000000000000000000000000', + s: '0x0000000000000000000000000000000000000000000000000000000000000000', + }; + const approved = yield this.erc20Service.isApproved({ + token: fromAToken, + user, + spender: this.swapCollateralAddress, + amount: fromAmount, + }); + if (!approved) { + const approveTx = this.erc20Service.approve({ + user, + token: fromAToken, + spender: this.swapCollateralAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveTx); + } + const tokenDecimals = yield this.erc20Service.decimalsOf(fromAsset); + const convertedAmount = (0, utils_1.valueToWei)(fromAmount, tokenDecimals); + const tokenToDecimals = yield this.erc20Service.decimalsOf(toAsset); + const amountSlippageConverted = (0, utils_1.valueToWei)(minToAmount, tokenToDecimals); + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + if (flash) { + const params = buildParaSwapLiquiditySwapParams( + toAsset, + amountSlippageConverted, + swapAll + ? (0, + paraswap_liquiditySwapAdapter_contract_1.augustusFromAmountOffsetFromCalldata)( + swapCallData + ) + : 0, + swapCallData, + augustus, + permitParams.amount, + permitParams.deadline, + permitParams.v, + permitParams.r, + permitParams.s + ); + const amountWithSurplus = ( + Number(fromAmount) + + (Number(fromAmount) * Number(utils_1.SURPLUS)) / 100 + ).toString(); + const convertedAmountWithSurplus = (0, utils_1.valueToWei)( + amountWithSurplus, + tokenDecimals + ); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.flashLoan( + this.swapCollateralAddress, + [fromAsset], + swapAll ? [convertedAmountWithSurplus] : [convertedAmount], + [0], + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + params, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.swapCollateral + ), + }); + return txs; + } + const swapAndDepositTx = this.liquiditySwapAdapterService.swapAndDeposit( + { + user, + assetToSwapFrom: fromAsset, + assetToSwapTo: toAsset, + amountToSwap: convertedAmount, + minAmountToReceive: amountSlippageConverted, + swapAll, + swapCallData, + augustus, + permitParams, + }, + txs + ); + txs.push(swapAndDepositTx); + return txs; + } + ); } repayWithCollateral(_0) { - return __async(this, arguments, function* ({ user, fromAsset, fromAToken, assetToRepay, repayWithAmount, repayAmount, permitSignature, repayAllDebt, rateMode, onBehalfOf, referralCode, flash, useEthPath }) { - const txs = []; - const permitParams = permitSignature !== null && permitSignature !== void 0 ? permitSignature : { - amount: "0", - deadline: "0", - v: 0, - r: "0x0000000000000000000000000000000000000000000000000000000000000000", - s: "0x0000000000000000000000000000000000000000000000000000000000000000" - }; - const approved = yield this.erc20Service.isApproved({ - token: fromAToken, + return __async( + this, + arguments, + function* ({ user, - spender: this.repayWithCollateralAddress, - amount: repayWithAmount - }); - if (!approved) { - const approveTx = this.erc20Service.approve({ - user, + fromAsset, + fromAToken, + assetToRepay, + repayWithAmount, + repayAmount, + permitSignature, + repayAllDebt, + rateMode, + onBehalfOf, + referralCode, + flash, + useEthPath, + }) { + const txs = []; + const permitParams = + permitSignature !== null && permitSignature !== void 0 + ? permitSignature + : { + amount: '0', + deadline: '0', + v: 0, + r: '0x0000000000000000000000000000000000000000000000000000000000000000', + s: '0x0000000000000000000000000000000000000000000000000000000000000000', + }; + const approved = yield this.erc20Service.isApproved({ token: fromAToken, + user, spender: this.repayWithCollateralAddress, - amount: ethers_1.constants.MaxUint256.toString() - }); - txs.push(approveTx); - } - const fromDecimals = yield this.erc20Service.decimalsOf(fromAsset); - const convertedRepayWithAmount = (0, utils_1.valueToWei)(repayWithAmount, fromDecimals); - const repayAmountWithSurplus = (Number(repayAmount) + Number(repayAmount) * Number(utils_1.SURPLUS) / 100).toString(); - const decimals = yield this.erc20Service.decimalsOf(assetToRepay); - const convertedRepayAmount = repayAllDebt ? (0, utils_1.valueToWei)(repayAmountWithSurplus, decimals) : (0, utils_1.valueToWei)(repayAmount, decimals); - const numericInterestRate = rateMode === types_1.InterestRate.Stable ? 1 : 2; - if (flash) { - const params = ethers_1.utils.defaultAbiCoder.encode([ - "address", - "uint256", - "uint256", - "uint256", - "uint256", - "uint8", - "bytes32", - "bytes32", - "bool" - ], [ - fromAsset, - convertedRepayWithAmount, - numericInterestRate, - permitParams.amount, - permitParams.deadline, - permitParams.v, - permitParams.r, - permitParams.s, - useEthPath !== null && useEthPath !== void 0 ? useEthPath : false - ]); - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.flashLoan( - this.repayWithCollateralAddress, - [assetToRepay], - [convertedRepayAmount], - [0], - onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, - params, - referralCode !== null && referralCode !== void 0 ? referralCode : "0" - ); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repayCollateral) + amount: repayWithAmount, }); + if (!approved) { + const approveTx = this.erc20Service.approve({ + user, + token: fromAToken, + spender: this.repayWithCollateralAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveTx); + } + const fromDecimals = yield this.erc20Service.decimalsOf(fromAsset); + const convertedRepayWithAmount = (0, utils_1.valueToWei)(repayWithAmount, fromDecimals); + const repayAmountWithSurplus = ( + Number(repayAmount) + + (Number(repayAmount) * Number(utils_1.SURPLUS)) / 100 + ).toString(); + const decimals = yield this.erc20Service.decimalsOf(assetToRepay); + const convertedRepayAmount = repayAllDebt + ? (0, utils_1.valueToWei)(repayAmountWithSurplus, decimals) + : (0, utils_1.valueToWei)(repayAmount, decimals); + const numericInterestRate = rateMode === types_1.InterestRate.Stable ? 1 : 2; + if (flash) { + const params = ethers_1.utils.defaultAbiCoder.encode( + [ + 'address', + 'uint256', + 'uint256', + 'uint256', + 'uint256', + 'uint8', + 'bytes32', + 'bytes32', + 'bool', + ], + [ + fromAsset, + convertedRepayWithAmount, + numericInterestRate, + permitParams.amount, + permitParams.deadline, + permitParams.v, + permitParams.r, + permitParams.s, + useEthPath !== null && useEthPath !== void 0 ? useEthPath : false, + ] + ); + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.flashLoan( + this.repayWithCollateralAddress, + [assetToRepay], + [convertedRepayAmount], + [0], + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + params, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.repayCollateral + ), + }); + return txs; + } + const swapAndRepayTx = this.repayWithCollateralAdapterService.swapAndRepay( + { + user, + collateralAsset: fromAsset, + debtAsset: assetToRepay, + collateralAmount: convertedRepayWithAmount, + debtRepayAmount: convertedRepayAmount, + debtRateMode: rateMode, + permit: permitParams, + useEthPath, + }, + txs + ); + txs.push(swapAndRepayTx); return txs; } - const swapAndRepayTx = this.repayWithCollateralAdapterService.swapAndRepay({ - user, - collateralAsset: fromAsset, - debtAsset: assetToRepay, - collateralAmount: convertedRepayWithAmount, - debtRepayAmount: convertedRepayAmount, - debtRateMode: rateMode, - permit: permitParams, - useEthPath - }, txs); - txs.push(swapAndRepayTx); - return txs; - }); + ); } paraswapRepayWithCollateral(_0) { - return __async(this, arguments, function* ({ user, fromAsset, fromAToken, assetToRepay, repayWithAmount, repayAmount, permitSignature, repayAllDebt, rateMode, onBehalfOf, referralCode, flash, swapAndRepayCallData, augustus }) { - const txs = []; - const permitParams = permitSignature !== null && permitSignature !== void 0 ? permitSignature : { - amount: "0", - deadline: "0", - v: 0, - r: "0x0000000000000000000000000000000000000000000000000000000000000000", - s: "0x0000000000000000000000000000000000000000000000000000000000000000" - }; - const approved = yield this.erc20Service.isApproved({ - token: fromAToken, + return __async( + this, + arguments, + function* ({ user, - spender: this.repayWithCollateralAddress, - amount: repayWithAmount - }); - if (!approved) { - const approveTx = this.erc20Service.approve({ - user, + fromAsset, + fromAToken, + assetToRepay, + repayWithAmount, + repayAmount, + permitSignature, + repayAllDebt, + rateMode, + onBehalfOf, + referralCode, + flash, + swapAndRepayCallData, + augustus, + }) { + const txs = []; + const permitParams = + permitSignature !== null && permitSignature !== void 0 + ? permitSignature + : { + amount: '0', + deadline: '0', + v: 0, + r: '0x0000000000000000000000000000000000000000000000000000000000000000', + s: '0x0000000000000000000000000000000000000000000000000000000000000000', + }; + const approved = yield this.erc20Service.isApproved({ token: fromAToken, + user, spender: this.repayWithCollateralAddress, - amount: ethers_1.constants.MaxUint256.toString() + amount: repayWithAmount, }); - txs.push(approveTx); + if (!approved) { + const approveTx = this.erc20Service.approve({ + user, + token: fromAToken, + spender: this.repayWithCollateralAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveTx); + } + const fromDecimals = yield this.erc20Service.decimalsOf(fromAsset); + const convertedRepayWithAmount = (0, utils_1.valueToWei)(repayWithAmount, fromDecimals); + const repayWithAmountWithSurplus = ( + Number(repayWithAmount) + + (Number(repayWithAmount) * Number(utils_1.SURPLUS)) / 100 + ).toString(); + const convertedRepayWithAmountWithSurplus = (0, utils_1.valueToWei)( + repayWithAmountWithSurplus, + fromDecimals + ); + const decimals = yield this.erc20Service.decimalsOf(assetToRepay); + const convertedRepayAmount = (0, utils_1.valueToWei)(repayAmount, decimals); + const numericInterestRate = rateMode === types_1.InterestRate.Stable ? 1 : 2; + if (flash) { + const callDataEncoded = ethers_1.utils.defaultAbiCoder.encode( + ['bytes', 'address'], + [swapAndRepayCallData, augustus] + ); + const params = ethers_1.utils.defaultAbiCoder.encode( + [ + 'address', + 'uint256', + 'uint256', + 'uint256', + 'bytes', + 'uint256', + 'uint256', + 'uint8', + 'bytes32', + 'bytes32', + ], + [ + assetToRepay, + convertedRepayAmount, + repayAllDebt + ? (0, utils_1.augustusToAmountOffsetFromCalldata)(swapAndRepayCallData) + : 0, + numericInterestRate, + callDataEncoded, + permitParams.amount, + permitParams.deadline, + permitParams.v, + permitParams.r, + permitParams.s, + ] + ); + const poolContract = this.getContractInstance(this.lendingPoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.flashLoan( + this.repayWithCollateralAddress, + [fromAsset], + repayAllDebt + ? [convertedRepayWithAmountWithSurplus] + : [convertedRepayWithAmount], + [0], + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + params, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.repayCollateral + ), + }); + return txs; + } + const swapAndRepayTx = this.paraswapRepayWithCollateralAdapterService.swapAndRepay( + { + user, + collateralAsset: fromAsset, + debtAsset: assetToRepay, + collateralAmount: convertedRepayWithAmount, + debtRepayAmount: convertedRepayAmount, + debtRateMode: rateMode, + permitParams, + repayAll: repayAllDebt !== null && repayAllDebt !== void 0 ? repayAllDebt : false, + swapAndRepayCallData, + augustus, + }, + txs + ); + txs.push(swapAndRepayTx); + return txs; } - const fromDecimals = yield this.erc20Service.decimalsOf(fromAsset); - const convertedRepayWithAmount = (0, utils_1.valueToWei)(repayWithAmount, fromDecimals); - const repayWithAmountWithSurplus = (Number(repayWithAmount) + Number(repayWithAmount) * Number(utils_1.SURPLUS) / 100).toString(); - const convertedRepayWithAmountWithSurplus = (0, utils_1.valueToWei)(repayWithAmountWithSurplus, fromDecimals); - const decimals = yield this.erc20Service.decimalsOf(assetToRepay); - const convertedRepayAmount = (0, utils_1.valueToWei)(repayAmount, decimals); - const numericInterestRate = rateMode === types_1.InterestRate.Stable ? 1 : 2; - if (flash) { - const callDataEncoded = ethers_1.utils.defaultAbiCoder.encode(["bytes", "address"], [swapAndRepayCallData, augustus]); - const params = ethers_1.utils.defaultAbiCoder.encode([ - "address", - "uint256", - "uint256", - "uint256", - "bytes", - "uint256", - "uint256", - "uint8", - "bytes32", - "bytes32" - ], [ - assetToRepay, - convertedRepayAmount, - repayAllDebt ? (0, utils_1.augustusToAmountOffsetFromCalldata)(swapAndRepayCallData) : 0, - numericInterestRate, - callDataEncoded, - permitParams.amount, - permitParams.deadline, - permitParams.v, - permitParams.r, - permitParams.s - ]); - const poolContract = this.getContractInstance(this.lendingPoolAddress); + ); + } + flashLiquidation(_0) { + return __async( + this, + arguments, + function* ({ + user, + collateralAsset, + borrowedAsset, + debtTokenCover, + liquidateAll, + initiator, + useEthPath, + }) { + const addSurplus = (amount) => { + return (Number(amount) + (Number(amount) * Number(amount)) / 100).toString(); + }; + const txs = []; + const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); + const tokenDecimals = yield this.erc20Service.decimalsOf(borrowedAsset); + const convertedDebt = (0, utils_1.valueToWei)(debtTokenCover, tokenDecimals); + const convertedDebtTokenCover = liquidateAll + ? ethers_1.constants.MaxUint256.toString() + : convertedDebt; + const flashBorrowAmount = liquidateAll + ? (0, utils_1.valueToWei)(addSurplus(debtTokenCover), tokenDecimals) + : convertedDebt; + const params = ethers_1.utils.defaultAbiCoder.encode( + ['address', 'address', 'address', 'uint256', 'bool'], + [ + collateralAsset, + borrowedAsset, + user, + convertedDebtTokenCover, + useEthPath !== null && useEthPath !== void 0 ? useEthPath : false, + ] + ); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.flashLoan( - this.repayWithCollateralAddress, - [fromAsset], - repayAllDebt ? [convertedRepayWithAmountWithSurplus] : [convertedRepayWithAmount], - [0], - onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, - params, - referralCode !== null && referralCode !== void 0 ? referralCode : "0" - ); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.flashLoan( + this.flashLiquidationAddress, + [borrowedAsset], + [flashBorrowAmount], + [0], + initiator, + params, + '0' + ); + }), + from: initiator, }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repayCollateral) + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.liquidationFlash + ), }); return txs; } - const swapAndRepayTx = this.paraswapRepayWithCollateralAdapterService.swapAndRepay({ - user, - collateralAsset: fromAsset, - debtAsset: assetToRepay, - collateralAmount: convertedRepayWithAmount, - debtRepayAmount: convertedRepayAmount, - debtRateMode: rateMode, - permitParams, - repayAll: repayAllDebt !== null && repayAllDebt !== void 0 ? repayAllDebt : false, - swapAndRepayCallData, - augustus - }, txs); - txs.push(swapAndRepayTx); - return txs; - }); - } - flashLiquidation(_0) { - return __async(this, arguments, function* ({ user, collateralAsset, borrowedAsset, debtTokenCover, liquidateAll, initiator, useEthPath }) { - const addSurplus = (amount) => { - return (Number(amount) + Number(amount) * Number(amount) / 100).toString(); - }; - const txs = []; - const lendingPoolContract = this.getContractInstance(this.lendingPoolAddress); - const tokenDecimals = yield this.erc20Service.decimalsOf(borrowedAsset); - const convertedDebt = (0, utils_1.valueToWei)(debtTokenCover, tokenDecimals); - const convertedDebtTokenCover = liquidateAll ? ethers_1.constants.MaxUint256.toString() : convertedDebt; - const flashBorrowAmount = liquidateAll ? (0, utils_1.valueToWei)(addSurplus(debtTokenCover), tokenDecimals) : convertedDebt; - const params = ethers_1.utils.defaultAbiCoder.encode(["address", "address", "address", "uint256", "bool"], [ - collateralAsset, - borrowedAsset, - user, - convertedDebtTokenCover, - useEthPath !== null && useEthPath !== void 0 ? useEthPath : false - ]); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.flashLoan(this.flashLiquidationAddress, [borrowedAsset], [flashBorrowAmount], [0], initiator, params, "0"); - }), - from: initiator - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.liquidationFlash) - }); - return txs; - }); + ); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "deposit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("aTokenAddress")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "withdraw", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtTokenAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "borrow", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "repay", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], LendingPool.prototype, "swapBorrowRateMode", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], LendingPool.prototype, "setUsageAsCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("liquidator")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("liquidatedUser")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtReserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("collateralReserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("purchaseAmount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "liquidationCall", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPSwapCollateralValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("toAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("augustus")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("fromAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("minToAmount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "swapCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPRepayWithCollateralValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("assetToRepay")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("repayWithAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("repayAmount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "repayWithCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPRepayWithCollateralValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("assetToRepay")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("repayWithAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("repayAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("augustus")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "paraswapRepayWithCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPFlashLiquidationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("collateralAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("borrowedAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("debtTokenCover")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("initiator")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], LendingPool.prototype, "flashLiquidation", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'deposit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('aTokenAddress')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'withdraw', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtTokenAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'borrow', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'repay', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + LendingPool.prototype, + 'swapBorrowRateMode', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + LendingPool.prototype, + 'setUsageAsCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('liquidator')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('liquidatedUser')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtReserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('collateralReserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('purchaseAmount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'liquidationCall', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPSwapCollateralValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('toAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('augustus')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('fromAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('minToAmount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'swapCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPRepayWithCollateralValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('assetToRepay')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('repayWithAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('repayAmount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'repayWithCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPRepayWithCollateralValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('assetToRepay')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('repayWithAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('repayAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('augustus')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'paraswapRepayWithCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPFlashLiquidationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('collateralAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('borrowedAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('debtTokenCover')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('initiator')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + LendingPool.prototype, + 'flashLiquidation', + null + ); exports2.LendingPool = LendingPool; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/faucet-contract/typechain/IFaucet__factory.js var require_IFaucet_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/faucet-contract/typechain/IFaucet__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/faucet-contract/typechain/IFaucet__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IFaucet__factory = void 0; var ethers_1 = require_lib31(); var IFaucet__factory = class { @@ -42257,55 +46448,55 @@ var require_IFaucet_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "_token", - type: "address" - } + internalType: 'address', + name: '_token', + type: 'address', + }, ], - name: "getMinter", + name: 'getMinter', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "_token", - type: "address" + internalType: 'address', + name: '_token', + type: 'address', }, { - internalType: "uint256", - name: "_amount", - type: "uint256" - } + internalType: 'uint256', + name: '_amount', + type: 'uint256', + }, ], - name: "mint", + name: 'mint', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "payable", - type: "function" - } + stateMutability: 'payable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/faucet-contract/index.js var require_faucet_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/faucet-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/faucet-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.FaucetService = void 0; var tslib_1 = require_tslib(); var BaseService_1 = (0, tslib_1.__importDefault)(require_BaseService()); @@ -42317,7 +46508,8 @@ var require_faucet_contract = __commonJS({ var FaucetService = class extends BaseService_1.default { constructor(provider, faucetAddress) { super(provider, IFaucet__factory_1.IFaucet__factory); - this.faucetAddress = faucetAddress !== null && faucetAddress !== void 0 ? faucetAddress : ""; + this.faucetAddress = + faucetAddress !== null && faucetAddress !== void 0 ? faucetAddress : ''; } mint({ userAddress, reserve, tokenSymbol }) { const amount = utils_1.mintAmountsPerToken[tokenSymbol]; @@ -42327,38 +46519,46 @@ var require_faucet_contract = __commonJS({ } const faucetContract = this.getContractInstance(this.faucetAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return faucetContract.populateTransaction.mint(reserve, amount); - }), + rawTxMethod: () => + __async(this, null, function* () { + return faucetContract.populateTransaction.mint(reserve, amount); + }), from: userAddress, - value: utils_1.DEFAULT_NULL_VALUE_ON_TX + value: utils_1.DEFAULT_NULL_VALUE_ON_TX, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.FAUCET_MINT, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.FaucetValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("userAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], FaucetService.prototype, "mint", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.FaucetValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('userAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + FaucetService.prototype, + 'mint', + null + ); exports2.FaucetService = FaucetService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/staking-contract/typechain/IAaveStakingHelper__factory.js var require_IAaveStakingHelper_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/staking-contract/typechain/IAaveStakingHelper__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/staking-contract/typechain/IAaveStakingHelper__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IAaveStakingHelper__factory = void 0; var ethers_1 = require_lib31(); var IAaveStakingHelper__factory = class { @@ -42371,45 +46571,47 @@ var require_IAaveStakingHelper_factory = __commonJS({ { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - name: "stake", + name: 'stake', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/staking-contract/typechain/IStakedToken__factory.js var require_IStakedToken_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/staking-contract/typechain/IStakedToken__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/staking-contract/typechain/IStakedToken__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IStakedToken__factory = void 0; var ethers_1 = require_lib31(); var IStakedToken__factory = class { @@ -42421,100 +46623,100 @@ var require_IStakedToken_factory = __commonJS({ var _abi = [ { inputs: [], - name: "REWARD_TOKEN", + name: 'REWARD_TOKEN', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "STAKED_TOKEN", + name: 'STAKED_TOKEN', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "claimRewards", + name: 'claimRewards', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [], - name: "cooldown", + name: 'cooldown', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "redeem", + name: 'redeem', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "stake", + name: 'stake', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/staking-contract/index.js var require_staking_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/staking-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/staking-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.StakingService = void 0; var tslib_1 = require_tslib(); var ethers_1 = require_lib31(); @@ -42532,9 +46734,14 @@ var require_staking_contract = __commonJS({ super(provider, IStakedToken__factory_1.IStakedToken__factory); this.erc20Service = new erc20_contract_1.ERC20Service(provider); this.stakingContractAddress = stakingServiceConfig.TOKEN_STAKING_ADDRESS; - this.stakingHelperContractAddress = (_a7 = stakingServiceConfig.STAKING_HELPER_ADDRESS) !== null && _a7 !== void 0 ? _a7 : ""; - if (this.stakingHelperContractAddress !== "") { - this.stakingHelperContract = IAaveStakingHelper__factory_1.IAaveStakingHelper__factory.connect(this.stakingHelperContractAddress, provider); + this.stakingHelperContractAddress = + (_a7 = stakingServiceConfig.STAKING_HELPER_ADDRESS) !== null && _a7 !== void 0 ? _a7 : ''; + if (this.stakingHelperContractAddress !== '') { + this.stakingHelperContract = + IAaveStakingHelper__factory_1.IAaveStakingHelper__factory.connect( + this.stakingHelperContractAddress, + provider + ); } } signStaking(user, amount, nonce) { @@ -42548,33 +46755,33 @@ var require_staking_contract = __commonJS({ const typeData = { types: { EIP712Domain: [ - { name: "name", type: "string" }, - { name: "version", type: "string" }, - { name: "chainId", type: "uint256" }, - { name: "verifyingContract", type: "address" } + { name: 'name', type: 'string' }, + { name: 'version', type: 'string' }, + { name: 'chainId', type: 'uint256' }, + { name: 'verifyingContract', type: 'address' }, ], Permit: [ - { name: "owner", type: "address" }, - { name: "spender", type: "address" }, - { name: "value", type: "uint256" }, - { name: "nonce", type: "uint256" }, - { name: "deadline", type: "uint256" } - ] + { name: 'owner', type: 'address' }, + { name: 'spender', type: 'address' }, + { name: 'value', type: 'uint256' }, + { name: 'nonce', type: 'uint256' }, + { name: 'deadline', type: 'uint256' }, + ], }, - primaryType: "Permit", + primaryType: 'Permit', domain: { name: name2, - version: "1", + version: '1', chainId, - verifyingContract: stakedToken + verifyingContract: stakedToken, }, message: { owner: user, spender: this.stakingHelperContractAddress, value: convertedAmount, nonce, - deadline: ethers_1.constants.MaxUint256.toString() - } + deadline: ethers_1.constants.MaxUint256.toString(), + }, }; return JSON.stringify(typeData); }); @@ -42589,15 +46796,22 @@ var require_staking_contract = __commonJS({ const convertedAmount = (0, utils_1.valueToWei)(amount, stakedTokenDecimals); const sig = ethers_1.utils.splitSignature(signature); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return this.stakingHelperContract.populateTransaction.stake(user, convertedAmount, sig.v, sig.r, sig.s); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return this.stakingHelperContract.populateTransaction.stake( + user, + convertedAmount, + sig.v, + sig.r, + sig.s + ); + }), + from: user, }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.STAKE_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) + gas: this.generateTxPriceEstimation(txs, txCallback), }); return txs; }); @@ -42614,28 +46828,32 @@ var require_staking_contract = __commonJS({ token: stakedToken, user, spender: this.stakingContractAddress, - amount + amount, }); if (!approved) { const approveTx = approve({ user, token: stakedToken, spender: this.stakingContractAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT + amount: utils_1.DEFAULT_APPROVE_AMOUNT, }); txs.push(approveTx); } console.log(stakingContract); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return stakingContract.populateTransaction.stake(onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, convertedAmount); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return stakingContract.populateTransaction.stake( + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + convertedAmount + ); + }), + from: user, }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.STAKE_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) + gas: this.generateTxPriceEstimation(txs, txCallback), }); return txs; }); @@ -42644,7 +46862,7 @@ var require_staking_contract = __commonJS({ return __async(this, null, function* () { let convertedAmount; const stakingContract = this.getContractInstance(this.stakingContractAddress); - if (amount === "-1") { + if (amount === '-1') { convertedAmount = ethers_1.constants.MaxUint256.toString(); } else { const { decimalsOf } = this.erc20Service; @@ -42653,42 +46871,44 @@ var require_staking_contract = __commonJS({ convertedAmount = (0, utils_1.valueToWei)(amount, stakedTokenDecimals); } const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return stakingContract.populateTransaction.redeem(user, convertedAmount); - }), + rawTxMethod: () => + __async(this, null, function* () { + return stakingContract.populateTransaction.redeem(user, convertedAmount); + }), from: user, - gasSurplus: 20 + gasSurplus: 20, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.STAKE_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; }); } cooldown(user) { const stakingContract = this.getContractInstance(this.stakingContractAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return stakingContract.populateTransaction.cooldown(); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return stakingContract.populateTransaction.cooldown(); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.STAKE_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; } claimRewards(user, amount) { return __async(this, null, function* () { let convertedAmount; const stakingContract = this.getContractInstance(this.stakingContractAddress); - if (amount === "-1") { + if (amount === '-1') { convertedAmount = ethers_1.constants.MaxUint256.toString(); } else { const { decimalsOf } = this.erc20Service; @@ -42697,80 +46917,113 @@ var require_staking_contract = __commonJS({ convertedAmount = (0, utils_1.valueToWei)(amount, stakedTokenDecimals); } const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return stakingContract.populateTransaction.claimRewards(user, convertedAmount); - }), + rawTxMethod: () => + __async(this, null, function* () { + return stakingContract.populateTransaction.claimRewards(user, convertedAmount); + }), from: user, - gasSurplus: 20 + gasSurplus: 20, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.STAKE_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.SignStakingValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveAmount)()), - (0, tslib_1.__param)(2, (0, paramValidators_1.is0OrPositiveAmount)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String, String, String]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], StakingService.prototype, "signStaking", null); - (0, tslib_1.__decorate)([ - methodValidators_1.SignStakingValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveAmount)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String, String, Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], StakingService.prototype, "stakeWithPermit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.StakingValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveAmount)()), - (0, tslib_1.__param)(2, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String, String, String]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], StakingService.prototype, "stake", null); - (0, tslib_1.__decorate)([ - methodValidators_1.StakingValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveOrMinusOneAmount)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String, String]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], StakingService.prototype, "redeem", null); - (0, tslib_1.__decorate)([ - methodValidators_1.StakingValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], StakingService.prototype, "cooldown", null); - (0, tslib_1.__decorate)([ - methodValidators_1.StakingValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), - (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveOrMinusOneAmount)()), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [String, String]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], StakingService.prototype, "claimRewards", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.SignStakingValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveAmount)()), + (0, tslib_1.__param)(2, (0, paramValidators_1.is0OrPositiveAmount)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String, String, String]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + StakingService.prototype, + 'signStaking', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.SignStakingValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveAmount)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String, String, Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + StakingService.prototype, + 'stakeWithPermit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.StakingValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveAmount)()), + (0, tslib_1.__param)(2, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String, String, String]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + StakingService.prototype, + 'stake', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.StakingValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveOrMinusOneAmount)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String, String]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + StakingService.prototype, + 'redeem', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.StakingValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + StakingService.prototype, + 'cooldown', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.StakingValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)()), + (0, tslib_1.__param)(1, (0, paramValidators_1.isPositiveOrMinusOneAmount)()), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [String, String]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + StakingService.prototype, + 'claimRewards', + null + ); exports2.StakingService = StakingService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IAaveGovernanceV2__factory.js var require_IAaveGovernanceV2_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IAaveGovernanceV2__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IAaveGovernanceV2__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IAaveGovernanceV2__factory = void 0; var ethers_1 = require_lib31(); var IAaveGovernanceV2__factory = class { @@ -42785,671 +47038,673 @@ var require_IAaveGovernanceV2_factory = __commonJS({ inputs: [ { indexed: false, - internalType: "address", - name: "executor", - type: "address" - } + internalType: 'address', + name: 'executor', + type: 'address', + }, ], - name: "ExecutorAuthorized", - type: "event" + name: 'ExecutorAuthorized', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "address", - name: "executor", - type: "address" - } + internalType: 'address', + name: 'executor', + type: 'address', + }, ], - name: "ExecutorUnauthorized", - type: "event" + name: 'ExecutorUnauthorized', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "newStrategy", - type: "address" + internalType: 'address', + name: 'newStrategy', + type: 'address', }, { indexed: true, - internalType: "address", - name: "initiatorChange", - type: "address" - } + internalType: 'address', + name: 'initiatorChange', + type: 'address', + }, ], - name: "GovernanceStrategyChanged", - type: "event" + name: 'GovernanceStrategyChanged', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "uint256", - name: "id", - type: "uint256" - } + internalType: 'uint256', + name: 'id', + type: 'uint256', + }, ], - name: "ProposalCanceled", - type: "event" + name: 'ProposalCanceled', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { indexed: true, - internalType: "address", - name: "creator", - type: "address" + internalType: 'address', + name: 'creator', + type: 'address', }, { indexed: true, - internalType: "contract IExecutorWithTimelock", - name: "executor", - type: "address" + internalType: 'contract IExecutorWithTimelock', + name: 'executor', + type: 'address', }, { indexed: false, - internalType: "address[]", - name: "targets", - type: "address[]" + internalType: 'address[]', + name: 'targets', + type: 'address[]', }, { indexed: false, - internalType: "uint256[]", - name: "values", - type: "uint256[]" + internalType: 'uint256[]', + name: 'values', + type: 'uint256[]', }, { indexed: false, - internalType: "string[]", - name: "signatures", - type: "string[]" + internalType: 'string[]', + name: 'signatures', + type: 'string[]', }, { indexed: false, - internalType: "bytes[]", - name: "calldatas", - type: "bytes[]" + internalType: 'bytes[]', + name: 'calldatas', + type: 'bytes[]', }, { indexed: false, - internalType: "bool[]", - name: "withDelegatecalls", - type: "bool[]" + internalType: 'bool[]', + name: 'withDelegatecalls', + type: 'bool[]', }, { indexed: false, - internalType: "uint256", - name: "startBlock", - type: "uint256" + internalType: 'uint256', + name: 'startBlock', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "endBlock", - type: "uint256" + internalType: 'uint256', + name: 'endBlock', + type: 'uint256', }, { indexed: false, - internalType: "address", - name: "strategy", - type: "address" + internalType: 'address', + name: 'strategy', + type: 'address', }, { indexed: false, - internalType: "bytes32", - name: "ipfsHash", - type: "bytes32" - } + internalType: 'bytes32', + name: 'ipfsHash', + type: 'bytes32', + }, ], - name: "ProposalCreated", - type: "event" + name: 'ProposalCreated', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { indexed: true, - internalType: "address", - name: "initiatorExecution", - type: "address" - } + internalType: 'address', + name: 'initiatorExecution', + type: 'address', + }, ], - name: "ProposalExecuted", - type: "event" + name: 'ProposalExecuted', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "executionTime", - type: "uint256" + internalType: 'uint256', + name: 'executionTime', + type: 'uint256', }, { indexed: true, - internalType: "address", - name: "initiatorQueueing", - type: "address" - } + internalType: 'address', + name: 'initiatorQueueing', + type: 'address', + }, ], - name: "ProposalQueued", - type: "event" + name: 'ProposalQueued', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { indexed: true, - internalType: "address", - name: "voter", - type: "address" + internalType: 'address', + name: 'voter', + type: 'address', }, { indexed: false, - internalType: "bool", - name: "support", - type: "bool" + internalType: 'bool', + name: 'support', + type: 'bool', }, { indexed: false, - internalType: "uint256", - name: "votingPower", - type: "uint256" - } + internalType: 'uint256', + name: 'votingPower', + type: 'uint256', + }, ], - name: "VoteEmitted", - type: "event" + name: 'VoteEmitted', + type: 'event', }, { anonymous: false, inputs: [ { indexed: false, - internalType: "uint256", - name: "newVotingDelay", - type: "uint256" + internalType: 'uint256', + name: 'newVotingDelay', + type: 'uint256', }, { indexed: true, - internalType: "address", - name: "initiatorChange", - type: "address" - } + internalType: 'address', + name: 'initiatorChange', + type: 'address', + }, ], - name: "VotingDelayChanged", - type: "event" + name: 'VotingDelayChanged', + type: 'event', }, { inputs: [], - name: "__abdicate", + name: '__abdicate', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "executors", - type: "address[]" - } + internalType: 'address[]', + name: 'executors', + type: 'address[]', + }, ], - name: "authorizeExecutors", + name: 'authorizeExecutors', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" - } + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', + }, ], - name: "cancel", + name: 'cancel', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "contract IExecutorWithTimelock", - name: "executor", - type: "address" + internalType: 'contract IExecutorWithTimelock', + name: 'executor', + type: 'address', }, { - internalType: "address[]", - name: "targets", - type: "address[]" + internalType: 'address[]', + name: 'targets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "values", - type: "uint256[]" + internalType: 'uint256[]', + name: 'values', + type: 'uint256[]', }, { - internalType: "string[]", - name: "signatures", - type: "string[]" + internalType: 'string[]', + name: 'signatures', + type: 'string[]', }, { - internalType: "bytes[]", - name: "calldatas", - type: "bytes[]" + internalType: 'bytes[]', + name: 'calldatas', + type: 'bytes[]', }, { - internalType: "bool[]", - name: "withDelegatecalls", - type: "bool[]" + internalType: 'bool[]', + name: 'withDelegatecalls', + type: 'bool[]', }, { - internalType: "bytes32", - name: "ipfsHash", - type: "bytes32" - } + internalType: 'bytes32', + name: 'ipfsHash', + type: 'bytes32', + }, ], - name: "create", + name: 'create', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" - } + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', + }, ], - name: "execute", + name: 'execute', outputs: [], - stateMutability: "payable", - type: "function" + stateMutability: 'payable', + type: 'function', }, { inputs: [], - name: "getGovernanceStrategy", + name: 'getGovernanceStrategy', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getGuardian", + name: 'getGuardian', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" - } + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', + }, ], - name: "getProposalById", + name: 'getProposalById', outputs: [ { components: [ { - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { - internalType: "address", - name: "creator", - type: "address" + internalType: 'address', + name: 'creator', + type: 'address', }, { - internalType: "contract IExecutorWithTimelock", - name: "executor", - type: "address" + internalType: 'contract IExecutorWithTimelock', + name: 'executor', + type: 'address', }, { - internalType: "address[]", - name: "targets", - type: "address[]" + internalType: 'address[]', + name: 'targets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "values", - type: "uint256[]" + internalType: 'uint256[]', + name: 'values', + type: 'uint256[]', }, { - internalType: "string[]", - name: "signatures", - type: "string[]" + internalType: 'string[]', + name: 'signatures', + type: 'string[]', }, { - internalType: "bytes[]", - name: "calldatas", - type: "bytes[]" + internalType: 'bytes[]', + name: 'calldatas', + type: 'bytes[]', }, { - internalType: "bool[]", - name: "withDelegatecalls", - type: "bool[]" + internalType: 'bool[]', + name: 'withDelegatecalls', + type: 'bool[]', }, { - internalType: "uint256", - name: "startBlock", - type: "uint256" + internalType: 'uint256', + name: 'startBlock', + type: 'uint256', }, { - internalType: "uint256", - name: "endBlock", - type: "uint256" + internalType: 'uint256', + name: 'endBlock', + type: 'uint256', }, { - internalType: "uint256", - name: "executionTime", - type: "uint256" + internalType: 'uint256', + name: 'executionTime', + type: 'uint256', }, { - internalType: "uint256", - name: "forVotes", - type: "uint256" + internalType: 'uint256', + name: 'forVotes', + type: 'uint256', }, { - internalType: "uint256", - name: "againstVotes", - type: "uint256" + internalType: 'uint256', + name: 'againstVotes', + type: 'uint256', }, { - internalType: "bool", - name: "executed", - type: "bool" + internalType: 'bool', + name: 'executed', + type: 'bool', }, { - internalType: "bool", - name: "canceled", - type: "bool" + internalType: 'bool', + name: 'canceled', + type: 'bool', }, { - internalType: "address", - name: "strategy", - type: "address" + internalType: 'address', + name: 'strategy', + type: 'address', }, { - internalType: "bytes32", - name: "ipfsHash", - type: "bytes32" - } + internalType: 'bytes32', + name: 'ipfsHash', + type: 'bytes32', + }, ], - internalType: "struct IAaveGovernanceV2.ProposalWithoutVotes", - name: "", - type: "tuple" - } + internalType: 'struct IAaveGovernanceV2.ProposalWithoutVotes', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" - } + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', + }, ], - name: "getProposalState", + name: 'getProposalState', outputs: [ { - internalType: "enum IAaveGovernanceV2.ProposalState", - name: "", - type: "uint8" - } + internalType: 'enum IAaveGovernanceV2.ProposalState', + name: '', + type: 'uint8', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getProposalsCount", + name: 'getProposalsCount', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', }, { - internalType: "address", - name: "voter", - type: "address" - } + internalType: 'address', + name: 'voter', + type: 'address', + }, ], - name: "getVoteOnProposal", + name: 'getVoteOnProposal', outputs: [ { components: [ { - internalType: "bool", - name: "support", - type: "bool" + internalType: 'bool', + name: 'support', + type: 'bool', }, { - internalType: "uint248", - name: "votingPower", - type: "uint248" - } + internalType: 'uint248', + name: 'votingPower', + type: 'uint248', + }, ], - internalType: "struct IAaveGovernanceV2.Vote", - name: "", - type: "tuple" - } + internalType: 'struct IAaveGovernanceV2.Vote', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getVotingDelay", + name: 'getVotingDelay', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "executor", - type: "address" - } + internalType: 'address', + name: 'executor', + type: 'address', + }, ], - name: "isExecutorAuthorized", + name: 'isExecutorAuthorized', outputs: [ { - internalType: "bool", - name: "", - type: "bool" - } + internalType: 'bool', + name: '', + type: 'bool', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" - } + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', + }, ], - name: "queue", + name: 'queue', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "governanceStrategy", - type: "address" - } + internalType: 'address', + name: 'governanceStrategy', + type: 'address', + }, ], - name: "setGovernanceStrategy", + name: 'setGovernanceStrategy', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "votingDelay", - type: "uint256" - } + internalType: 'uint256', + name: 'votingDelay', + type: 'uint256', + }, ], - name: "setVotingDelay", + name: 'setVotingDelay', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', }, { - internalType: "bool", - name: "support", - type: "bool" - } + internalType: 'bool', + name: 'support', + type: 'bool', + }, ], - name: "submitVote", + name: 'submitVote', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "proposalId", - type: "uint256" + internalType: 'uint256', + name: 'proposalId', + type: 'uint256', }, { - internalType: "bool", - name: "support", - type: "bool" + internalType: 'bool', + name: 'support', + type: 'bool', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - name: "submitVoteBySignature", + name: 'submitVoteBySignature', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "executors", - type: "address[]" - } + internalType: 'address[]', + name: 'executors', + type: 'address[]', + }, ], - name: "unauthorizeExecutors", + name: 'unauthorizeExecutors', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IGovernanceStrategy__factory.js var require_IGovernanceStrategy_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IGovernanceStrategy__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IGovernanceStrategy__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IGovernanceStrategy__factory = void 0; var ethers_1 = require_lib31(); var IGovernanceStrategy__factory = class { @@ -43461,125 +47716,127 @@ var require_IGovernanceStrategy_factory = __commonJS({ var _abi = [ { inputs: [], - name: "AAVE", + name: 'AAVE', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "STK_AAVE", + name: 'STK_AAVE', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "blockNumber", - type: "uint256" - } + internalType: 'uint256', + name: 'blockNumber', + type: 'uint256', + }, ], - name: "getPropositionPowerAt", + name: 'getPropositionPowerAt', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "blockNumber", - type: "uint256" - } + internalType: 'uint256', + name: 'blockNumber', + type: 'uint256', + }, ], - name: "getTotalPropositionSupplyAt", + name: 'getTotalPropositionSupplyAt', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "blockNumber", - type: "uint256" - } + internalType: 'uint256', + name: 'blockNumber', + type: 'uint256', + }, ], - name: "getTotalVotingSupplyAt", + name: 'getTotalVotingSupplyAt', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "blockNumber", - type: "uint256" - } + internalType: 'uint256', + name: 'blockNumber', + type: 'uint256', + }, ], - name: "getVotingPowerAt", + name: 'getVotingPowerAt', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IGovernanceV2Helper__factory.js var require_IGovernanceV2Helper_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IGovernanceV2Helper__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-contract/typechain/IGovernanceV2Helper__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IGovernanceV2Helper__factory = void 0; var ethers_1 = require_lib31(); var IGovernanceV2Helper__factory = class { @@ -43592,370 +47849,370 @@ var require_IGovernanceV2Helper_factory = __commonJS({ { inputs: [ { - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { - internalType: "contract IAaveGovernanceV2", - name: "governance", - type: "address" - } + internalType: 'contract IAaveGovernanceV2', + name: 'governance', + type: 'address', + }, ], - name: "getProposal", + name: 'getProposal', outputs: [ { components: [ { - internalType: "uint256", - name: "totalVotingSupply", - type: "uint256" + internalType: 'uint256', + name: 'totalVotingSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "minimumQuorum", - type: "uint256" + internalType: 'uint256', + name: 'minimumQuorum', + type: 'uint256', }, { - internalType: "uint256", - name: "minimumDiff", - type: "uint256" + internalType: 'uint256', + name: 'minimumDiff', + type: 'uint256', }, { - internalType: "uint256", - name: "executionTimeWithGracePeriod", - type: "uint256" + internalType: 'uint256', + name: 'executionTimeWithGracePeriod', + type: 'uint256', }, { - internalType: "uint256", - name: "proposalCreated", - type: "uint256" + internalType: 'uint256', + name: 'proposalCreated', + type: 'uint256', }, { - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { - internalType: "address", - name: "creator", - type: "address" + internalType: 'address', + name: 'creator', + type: 'address', }, { - internalType: "contract IExecutorWithTimelock", - name: "executor", - type: "address" + internalType: 'contract IExecutorWithTimelock', + name: 'executor', + type: 'address', }, { - internalType: "address[]", - name: "targets", - type: "address[]" + internalType: 'address[]', + name: 'targets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "values", - type: "uint256[]" + internalType: 'uint256[]', + name: 'values', + type: 'uint256[]', }, { - internalType: "string[]", - name: "signatures", - type: "string[]" + internalType: 'string[]', + name: 'signatures', + type: 'string[]', }, { - internalType: "bytes[]", - name: "calldatas", - type: "bytes[]" + internalType: 'bytes[]', + name: 'calldatas', + type: 'bytes[]', }, { - internalType: "bool[]", - name: "withDelegatecalls", - type: "bool[]" + internalType: 'bool[]', + name: 'withDelegatecalls', + type: 'bool[]', }, { - internalType: "uint256", - name: "startBlock", - type: "uint256" + internalType: 'uint256', + name: 'startBlock', + type: 'uint256', }, { - internalType: "uint256", - name: "endBlock", - type: "uint256" + internalType: 'uint256', + name: 'endBlock', + type: 'uint256', }, { - internalType: "uint256", - name: "executionTime", - type: "uint256" + internalType: 'uint256', + name: 'executionTime', + type: 'uint256', }, { - internalType: "uint256", - name: "forVotes", - type: "uint256" + internalType: 'uint256', + name: 'forVotes', + type: 'uint256', }, { - internalType: "uint256", - name: "againstVotes", - type: "uint256" + internalType: 'uint256', + name: 'againstVotes', + type: 'uint256', }, { - internalType: "bool", - name: "executed", - type: "bool" + internalType: 'bool', + name: 'executed', + type: 'bool', }, { - internalType: "bool", - name: "canceled", - type: "bool" + internalType: 'bool', + name: 'canceled', + type: 'bool', }, { - internalType: "address", - name: "strategy", - type: "address" + internalType: 'address', + name: 'strategy', + type: 'address', }, { - internalType: "bytes32", - name: "ipfsHash", - type: "bytes32" + internalType: 'bytes32', + name: 'ipfsHash', + type: 'bytes32', }, { - internalType: "enum IAaveGovernanceV2.ProposalState", - name: "proposalState", - type: "uint8" - } + internalType: 'enum IAaveGovernanceV2.ProposalState', + name: 'proposalState', + type: 'uint8', + }, ], - internalType: "struct IGovernanceV2Helper.ProposalStats", - name: "proposalStats", - type: "tuple" - } + internalType: 'struct IGovernanceV2Helper.ProposalStats', + name: 'proposalStats', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "skip", - type: "uint256" + internalType: 'uint256', + name: 'skip', + type: 'uint256', }, { - internalType: "uint256", - name: "limit", - type: "uint256" + internalType: 'uint256', + name: 'limit', + type: 'uint256', }, { - internalType: "contract IAaveGovernanceV2", - name: "governance", - type: "address" - } + internalType: 'contract IAaveGovernanceV2', + name: 'governance', + type: 'address', + }, ], - name: "getProposals", + name: 'getProposals', outputs: [ { components: [ { - internalType: "uint256", - name: "totalVotingSupply", - type: "uint256" + internalType: 'uint256', + name: 'totalVotingSupply', + type: 'uint256', }, { - internalType: "uint256", - name: "minimumQuorum", - type: "uint256" + internalType: 'uint256', + name: 'minimumQuorum', + type: 'uint256', }, { - internalType: "uint256", - name: "minimumDiff", - type: "uint256" + internalType: 'uint256', + name: 'minimumDiff', + type: 'uint256', }, { - internalType: "uint256", - name: "executionTimeWithGracePeriod", - type: "uint256" + internalType: 'uint256', + name: 'executionTimeWithGracePeriod', + type: 'uint256', }, { - internalType: "uint256", - name: "proposalCreated", - type: "uint256" + internalType: 'uint256', + name: 'proposalCreated', + type: 'uint256', }, { - internalType: "uint256", - name: "id", - type: "uint256" + internalType: 'uint256', + name: 'id', + type: 'uint256', }, { - internalType: "address", - name: "creator", - type: "address" + internalType: 'address', + name: 'creator', + type: 'address', }, { - internalType: "contract IExecutorWithTimelock", - name: "executor", - type: "address" + internalType: 'contract IExecutorWithTimelock', + name: 'executor', + type: 'address', }, { - internalType: "address[]", - name: "targets", - type: "address[]" + internalType: 'address[]', + name: 'targets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "values", - type: "uint256[]" + internalType: 'uint256[]', + name: 'values', + type: 'uint256[]', }, { - internalType: "string[]", - name: "signatures", - type: "string[]" + internalType: 'string[]', + name: 'signatures', + type: 'string[]', }, { - internalType: "bytes[]", - name: "calldatas", - type: "bytes[]" + internalType: 'bytes[]', + name: 'calldatas', + type: 'bytes[]', }, { - internalType: "bool[]", - name: "withDelegatecalls", - type: "bool[]" + internalType: 'bool[]', + name: 'withDelegatecalls', + type: 'bool[]', }, { - internalType: "uint256", - name: "startBlock", - type: "uint256" + internalType: 'uint256', + name: 'startBlock', + type: 'uint256', }, { - internalType: "uint256", - name: "endBlock", - type: "uint256" + internalType: 'uint256', + name: 'endBlock', + type: 'uint256', }, { - internalType: "uint256", - name: "executionTime", - type: "uint256" + internalType: 'uint256', + name: 'executionTime', + type: 'uint256', }, { - internalType: "uint256", - name: "forVotes", - type: "uint256" + internalType: 'uint256', + name: 'forVotes', + type: 'uint256', }, { - internalType: "uint256", - name: "againstVotes", - type: "uint256" + internalType: 'uint256', + name: 'againstVotes', + type: 'uint256', }, { - internalType: "bool", - name: "executed", - type: "bool" + internalType: 'bool', + name: 'executed', + type: 'bool', }, { - internalType: "bool", - name: "canceled", - type: "bool" + internalType: 'bool', + name: 'canceled', + type: 'bool', }, { - internalType: "address", - name: "strategy", - type: "address" + internalType: 'address', + name: 'strategy', + type: 'address', }, { - internalType: "bytes32", - name: "ipfsHash", - type: "bytes32" + internalType: 'bytes32', + name: 'ipfsHash', + type: 'bytes32', }, { - internalType: "enum IAaveGovernanceV2.ProposalState", - name: "proposalState", - type: "uint8" - } + internalType: 'enum IAaveGovernanceV2.ProposalState', + name: 'proposalState', + type: 'uint8', + }, ], - internalType: "struct IGovernanceV2Helper.ProposalStats[]", - name: "proposalsStats", - type: "tuple[]" - } + internalType: 'struct IGovernanceV2Helper.ProposalStats[]', + name: 'proposalsStats', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "address[]", - name: "tokens", - type: "address[]" - } + internalType: 'address[]', + name: 'tokens', + type: 'address[]', + }, ], - name: "getTokensPower", + name: 'getTokensPower', outputs: [ { components: [ { - internalType: "uint256", - name: "votingPower", - type: "uint256" + internalType: 'uint256', + name: 'votingPower', + type: 'uint256', }, { - internalType: "address", - name: "delegatedAddressVotingPower", - type: "address" + internalType: 'address', + name: 'delegatedAddressVotingPower', + type: 'address', }, { - internalType: "uint256", - name: "propositionPower", - type: "uint256" + internalType: 'uint256', + name: 'propositionPower', + type: 'uint256', }, { - internalType: "address", - name: "delegatedAddressPropositionPower", - type: "address" - } + internalType: 'address', + name: 'delegatedAddressPropositionPower', + type: 'address', + }, ], - internalType: "struct IGovernanceV2Helper.Power[]", - name: "power", - type: "tuple[]" - } + internalType: 'struct IGovernanceV2Helper.Power[]', + name: 'power', + type: 'tuple[]', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-contract/types.js var require_types6 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-contract/types.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-contract/types.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ProposalState = exports2.ExecutorType = void 0; var ExecutorType; - (function(ExecutorType2) { - ExecutorType2[ExecutorType2["Short"] = 0] = "Short"; - ExecutorType2[ExecutorType2["Long"] = 1] = "Long"; - })(ExecutorType = exports2.ExecutorType || (exports2.ExecutorType = {})); + (function (ExecutorType2) { + ExecutorType2[(ExecutorType2['Short'] = 0)] = 'Short'; + ExecutorType2[(ExecutorType2['Long'] = 1)] = 'Long'; + })((ExecutorType = exports2.ExecutorType || (exports2.ExecutorType = {}))); var ProposalState3; - (function(ProposalState4) { - ProposalState4["Pending"] = "Pending"; - ProposalState4["Canceled"] = "Canceled"; - ProposalState4["Active"] = "Active"; - ProposalState4["Failed"] = "Failed"; - ProposalState4["Succeeded"] = "Succeeded"; - ProposalState4["Queued"] = "Queued"; - ProposalState4["Expired"] = "Expired"; - ProposalState4["Executed"] = "Executed"; - })(ProposalState3 = exports2.ProposalState || (exports2.ProposalState = {})); - } + (function (ProposalState4) { + ProposalState4['Pending'] = 'Pending'; + ProposalState4['Canceled'] = 'Canceled'; + ProposalState4['Active'] = 'Active'; + ProposalState4['Failed'] = 'Failed'; + ProposalState4['Succeeded'] = 'Succeeded'; + ProposalState4['Queued'] = 'Queued'; + ProposalState4['Expired'] = 'Expired'; + ProposalState4['Executed'] = 'Executed'; + })((ProposalState3 = exports2.ProposalState || (exports2.ProposalState = {}))); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-contract/index.js var require_governance_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.AaveGovernanceService = exports2.humanizeProposal = void 0; var tslib_1 = require_tslib(); var utils_1 = require_utils5(); @@ -43991,7 +48248,7 @@ var require_governance_contract = __commonJS({ executionTimeWithGracePeriod: Number(rawProposal.executionTimeWithGracePeriod.toString()), proposalCreated: Number(rawProposal.proposalCreated.toString()), totalVotingSupply: rawProposal.totalVotingSupply.toString(), - ipfsHash: rawProposal.ipfsHash + ipfsHash: rawProposal.ipfsHash, }; }; exports2.humanizeProposal = humanizeProposal; @@ -44000,48 +48257,67 @@ var require_governance_contract = __commonJS({ var _a7; super(provider, IAaveGovernanceV2__factory_1.IAaveGovernanceV2__factory); this.aaveGovernanceV2Address = config.GOVERNANCE_ADDRESS; - this.aaveGovernanceV2HelperAddress = (_a7 = config.GOVERNANCE_HELPER_ADDRESS) !== null && _a7 !== void 0 ? _a7 : ""; + this.aaveGovernanceV2HelperAddress = + (_a7 = config.GOVERNANCE_HELPER_ADDRESS) !== null && _a7 !== void 0 ? _a7 : ''; } submitVote({ user, proposalId, support }) { const txs = []; const govContract = this.getContractInstance(this.aaveGovernanceV2Address); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return govContract.populateTransaction.submitVote(proposalId, support); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return govContract.populateTransaction.submitVote(proposalId, support); + }), + from: user, }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.GOVERNANCE_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) + gas: this.generateTxPriceEstimation(txs, txCallback), }); return txs; } getProposals(_0) { return __async(this, arguments, function* ({ skip, limit }) { - const helper = IGovernanceV2Helper__factory_1.IGovernanceV2Helper__factory.connect(this.aaveGovernanceV2HelperAddress, this.provider); - const result = yield helper.getProposals(skip.toString(), limit.toString(), this.aaveGovernanceV2Address); + const helper = IGovernanceV2Helper__factory_1.IGovernanceV2Helper__factory.connect( + this.aaveGovernanceV2HelperAddress, + this.provider + ); + const result = yield helper.getProposals( + skip.toString(), + limit.toString(), + this.aaveGovernanceV2Address + ); return result.map((proposal) => (0, exports2.humanizeProposal)(proposal)); }); } getProposal(_0) { return __async(this, arguments, function* ({ proposalId }) { - const helper = IGovernanceV2Helper__factory_1.IGovernanceV2Helper__factory.connect(this.aaveGovernanceV2HelperAddress, this.provider); + const helper = IGovernanceV2Helper__factory_1.IGovernanceV2Helper__factory.connect( + this.aaveGovernanceV2HelperAddress, + this.provider + ); const result = yield helper.getProposal(proposalId, this.aaveGovernanceV2Address); return (0, exports2.humanizeProposal)(result); }); } getVotingPowerAt(_0) { return __async(this, arguments, function* ({ user, block, strategy }) { - const proposalStrategy = IGovernanceStrategy__factory_1.IGovernanceStrategy__factory.connect(strategy, this.provider); + const proposalStrategy = + IGovernanceStrategy__factory_1.IGovernanceStrategy__factory.connect( + strategy, + this.provider + ); const power = yield proposalStrategy.getVotingPowerAt(user, block.toString()); return (0, utils_1.formatEther)(power); }); } getTokensPower(_0) { return __async(this, arguments, function* ({ user, tokens }) { - const helper = IGovernanceV2Helper__factory_1.IGovernanceV2Helper__factory.connect(this.aaveGovernanceV2HelperAddress, this.provider); + const helper = IGovernanceV2Helper__factory_1.IGovernanceV2Helper__factory.connect( + this.aaveGovernanceV2HelperAddress, + this.provider + ); return helper.getTokensPower(user, tokens); }); } @@ -44058,65 +48334,102 @@ var require_governance_contract = __commonJS({ }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.GovValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("proposalId")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], AaveGovernanceService2.prototype, "submitVote", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovHelperValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], AaveGovernanceService2.prototype, "getProposals", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovHelperValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("proposalId")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], AaveGovernanceService2.prototype, "getProposal", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], AaveGovernanceService2.prototype, "getVotingPowerAt", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovHelperValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)("tokens")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], AaveGovernanceService2.prototype, "getTokensPower", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("proposalId")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], AaveGovernanceService2.prototype, "getVoteOnProposal", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", []), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], AaveGovernanceService2.prototype, "getProposalsCount", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('proposalId')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + AaveGovernanceService2.prototype, + 'submitVote', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovHelperValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + AaveGovernanceService2.prototype, + 'getProposals', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovHelperValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('proposalId')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + AaveGovernanceService2.prototype, + 'getProposal', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + AaveGovernanceService2.prototype, + 'getVotingPowerAt', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovHelperValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressArray)('tokens')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + AaveGovernanceService2.prototype, + 'getTokensPower', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('proposalId')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + AaveGovernanceService2.prototype, + 'getVoteOnProposal', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', []), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + AaveGovernanceService2.prototype, + 'getProposalsCount', + null + ); exports2.AaveGovernanceService = AaveGovernanceService2; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-power-delegation-contract/typechain/IGovernancePowerDelegationToken__factory.js var require_IGovernancePowerDelegationToken_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-power-delegation-contract/typechain/IGovernancePowerDelegationToken__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-power-delegation-contract/typechain/IGovernancePowerDelegationToken__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IGovernancePowerDelegationToken__factory = void 0; var ethers_1 = require_lib31(); var IGovernancePowerDelegationToken__factory = class { @@ -44131,287 +48444,289 @@ var require_IGovernancePowerDelegationToken_factory = __commonJS({ inputs: [ { indexed: true, - internalType: "address", - name: "delegator", - type: "address" + internalType: 'address', + name: 'delegator', + type: 'address', }, { indexed: true, - internalType: "address", - name: "delegatee", - type: "address" + internalType: 'address', + name: 'delegatee', + type: 'address', }, { indexed: false, - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" - } + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', + }, ], - name: "DelegateChanged", - type: "event" + name: 'DelegateChanged', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: false, - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" - } + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', + }, ], - name: "DelegatedPowerChanged", - type: "event" + name: 'DelegatedPowerChanged', + type: 'event', }, { inputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - name: "_nonces", + name: '_nonces', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "delegatee", - type: "address" - } + internalType: 'address', + name: 'delegatee', + type: 'address', + }, ], - name: "delegate", + name: 'delegate', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "delegatee", - type: "address" + internalType: 'address', + name: 'delegatee', + type: 'address', }, { - internalType: "uint256", - name: "nonce", - type: "uint256" + internalType: 'uint256', + name: 'nonce', + type: 'uint256', }, { - internalType: "uint256", - name: "expiry", - type: "uint256" + internalType: 'uint256', + name: 'expiry', + type: 'uint256', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - name: "delegateBySig", + name: 'delegateBySig', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "delegatee", - type: "address" + internalType: 'address', + name: 'delegatee', + type: 'address', }, { - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" - } + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', + }, ], - name: "delegateByType", + name: 'delegateByType', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "delegatee", - type: "address" + internalType: 'address', + name: 'delegatee', + type: 'address', }, { - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', }, { - internalType: "uint256", - name: "nonce", - type: "uint256" + internalType: 'uint256', + name: 'nonce', + type: 'uint256', }, { - internalType: "uint256", - name: "expiry", - type: "uint256" + internalType: 'uint256', + name: 'expiry', + type: 'uint256', }, { - internalType: "uint8", - name: "v", - type: "uint8" + internalType: 'uint8', + name: 'v', + type: 'uint8', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - name: "delegateByTypeBySig", + name: 'delegateByTypeBySig', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "delegator", - type: "address" + internalType: 'address', + name: 'delegator', + type: 'address', }, { - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" - } + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', + }, ], - name: "getDelegateeByType", + name: 'getDelegateeByType', outputs: [ { - internalType: "address", - name: "", - type: "address" - } + internalType: 'address', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "blockNumber", - type: "uint256" + internalType: 'uint256', + name: 'blockNumber', + type: 'uint256', }, { - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" - } + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', + }, ], - name: "getPowerAtBlock", + name: 'getPowerAtBlock', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "enum IGovernancePowerDelegationToken.DelegationType", - name: "delegationType", - type: "uint8" - } + internalType: 'enum IGovernancePowerDelegationToken.DelegationType', + name: 'delegationType', + type: 'uint8', + }, ], - name: "getPowerCurrent", + name: 'getPowerCurrent', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "blockNumber", - type: "uint256" - } + internalType: 'uint256', + name: 'blockNumber', + type: 'uint256', + }, ], - name: "totalSupplyAt", + name: 'totalSupplyAt', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/governance-power-delegation-contract/index.js var require_governance_power_delegation_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/governance-power-delegation-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/governance-power-delegation-contract/index.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.GovernancePowerDelegationTokenService = void 0; var tslib_1 = require_tslib(); var bytes_1 = require_lib2(); @@ -44420,10 +48735,14 @@ var require_governance_power_delegation_contract = __commonJS({ var utils_1 = require_utils6(); var methodValidators_1 = require_methodValidators(); var paramValidators_1 = require_paramValidators(); - var IGovernancePowerDelegationToken__factory_1 = require_IGovernancePowerDelegationToken_factory(); + var IGovernancePowerDelegationToken__factory_1 = + require_IGovernancePowerDelegationToken_factory(); var GovernancePowerDelegationTokenService = class extends BaseService_1.default { constructor(provider) { - super(provider, IGovernancePowerDelegationToken__factory_1.IGovernancePowerDelegationToken__factory); + super( + provider, + IGovernancePowerDelegationToken__factory_1.IGovernancePowerDelegationToken__factory + ); } delegate(_0) { return __async(this, arguments, function* ({ user, delegatee, governanceToken }) { @@ -44431,145 +48750,187 @@ var require_governance_power_delegation_contract = __commonJS({ const governanceDelegationToken = this.getContractInstance(governanceToken); const delegateeAddress = yield this.getDelegateeAddress(delegatee); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return governanceDelegationToken.populateTransaction.delegate(delegateeAddress); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return governanceDelegationToken.populateTransaction.delegate(delegateeAddress); + }), + from: user, }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) + gas: this.generateTxPriceEstimation(txs, txCallback), }); return txs; }); } delegateByType(_0) { - return __async(this, arguments, function* ({ user, delegatee, delegationType, governanceToken }) { - const txs = []; - const governanceDelegationToken = this.getContractInstance(governanceToken); - const delegateeAddress = yield this.getDelegateeAddress(delegatee); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return governanceDelegationToken.populateTransaction.delegateByType(delegateeAddress, delegationType); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) - }); - return txs; - }); + return __async( + this, + arguments, + function* ({ user, delegatee, delegationType, governanceToken }) { + const txs = []; + const governanceDelegationToken = this.getContractInstance(governanceToken); + const delegateeAddress = yield this.getDelegateeAddress(delegatee); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return governanceDelegationToken.populateTransaction.delegateByType( + delegateeAddress, + delegationType + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback), + }); + return txs; + } + ); } delegateBySig(_0) { - return __async(this, arguments, function* ({ user, delegatee, expiry, signature, governanceToken }) { - const txs = []; - const governanceDelegationToken = this.getContractInstance(governanceToken); - const nonce = yield this.getNonce({ user, governanceToken }); - const { v, r, s } = (0, bytes_1.splitSignature)(signature); - const delegateeAddress = yield this.getDelegateeAddress(delegatee); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return governanceDelegationToken.populateTransaction.delegateBySig(delegateeAddress, nonce, expiry, v, r, s); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) - }); - return txs; - }); + return __async( + this, + arguments, + function* ({ user, delegatee, expiry, signature, governanceToken }) { + const txs = []; + const governanceDelegationToken = this.getContractInstance(governanceToken); + const nonce = yield this.getNonce({ user, governanceToken }); + const { v, r, s } = (0, bytes_1.splitSignature)(signature); + const delegateeAddress = yield this.getDelegateeAddress(delegatee); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return governanceDelegationToken.populateTransaction.delegateBySig( + delegateeAddress, + nonce, + expiry, + v, + r, + s + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback), + }); + return txs; + } + ); } delegateByTypeBySig(_0) { - return __async(this, arguments, function* ({ user, delegatee, delegationType, expiry, signature, governanceToken }) { - const txs = []; - const governanceDelegationToken = this.getContractInstance(governanceToken); - const nonce = yield this.getNonce({ user, governanceToken }); - const { v, r, s } = (0, bytes_1.splitSignature)(signature); - const delegateeAddress = yield this.getDelegateeAddress(delegatee); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return governanceDelegationToken.populateTransaction.delegateByTypeBySig(delegateeAddress, delegationType, nonce, expiry, v, r, s); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) - }); - return txs; - }); + return __async( + this, + arguments, + function* ({ user, delegatee, delegationType, expiry, signature, governanceToken }) { + const txs = []; + const governanceDelegationToken = this.getContractInstance(governanceToken); + const nonce = yield this.getNonce({ user, governanceToken }); + const { v, r, s } = (0, bytes_1.splitSignature)(signature); + const delegateeAddress = yield this.getDelegateeAddress(delegatee); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return governanceDelegationToken.populateTransaction.delegateByTypeBySig( + delegateeAddress, + delegationType, + nonce, + expiry, + v, + r, + s + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.GOV_DELEGATION_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback), + }); + return txs; + } + ); } prepareDelegateSignature(_0) { - return __async(this, arguments, function* ({ delegatee, nonce, expiry, governanceTokenName, governanceToken }) { - const delegateeAddress = yield this.getDelegateeAddress(delegatee); - const { chainId } = yield this.provider.getNetwork(); - const typeData = { - types: { - EIP712Domain: [ - { name: "name", type: "string" }, - { name: "chainId", type: "uint256" }, - { name: "verifyingContract", type: "address" } - ], - Delegate: [ - { name: "delegatee", type: "address" }, - { name: "nonce", type: "uint256" }, - { name: "expiry", type: "uint256" } - ] - }, - primaryType: "Delegate", - domain: { - name: governanceTokenName, - chainId, - verifyingContract: governanceToken - }, - message: { - delegatee: delegateeAddress, - nonce, - expiry - } - }; - return JSON.stringify(typeData); - }); + return __async( + this, + arguments, + function* ({ delegatee, nonce, expiry, governanceTokenName, governanceToken }) { + const delegateeAddress = yield this.getDelegateeAddress(delegatee); + const { chainId } = yield this.provider.getNetwork(); + const typeData = { + types: { + EIP712Domain: [ + { name: 'name', type: 'string' }, + { name: 'chainId', type: 'uint256' }, + { name: 'verifyingContract', type: 'address' }, + ], + Delegate: [ + { name: 'delegatee', type: 'address' }, + { name: 'nonce', type: 'uint256' }, + { name: 'expiry', type: 'uint256' }, + ], + }, + primaryType: 'Delegate', + domain: { + name: governanceTokenName, + chainId, + verifyingContract: governanceToken, + }, + message: { + delegatee: delegateeAddress, + nonce, + expiry, + }, + }; + return JSON.stringify(typeData); + } + ); } prepareDelegateByTypeSignature(_0) { - return __async(this, arguments, function* ({ delegatee, type, nonce, expiry, governanceTokenName, governanceToken }) { - const delegateeAddress = yield this.getDelegateeAddress(delegatee); - const { chainId } = yield this.provider.getNetwork(); - const typeData = { - types: { - EIP712Domain: [ - { name: "name", type: "string" }, - { name: "chainId", type: "uint256" }, - { name: "verifyingContract", type: "address" } - ], - DelegateByType: [ - { name: "delegatee", type: "address" }, - { name: "type", type: "uint256" }, - { name: "nonce", type: "uint256" }, - { name: "expiry", type: "uint256" } - ] - }, - primaryType: "DelegateByType", - domain: { - name: governanceTokenName, - chainId, - verifyingContract: governanceToken - }, - message: { - delegatee: delegateeAddress, - type, - nonce, - expiry - } - }; - return JSON.stringify(typeData); - }); + return __async( + this, + arguments, + function* ({ delegatee, type, nonce, expiry, governanceTokenName, governanceToken }) { + const delegateeAddress = yield this.getDelegateeAddress(delegatee); + const { chainId } = yield this.provider.getNetwork(); + const typeData = { + types: { + EIP712Domain: [ + { name: 'name', type: 'string' }, + { name: 'chainId', type: 'uint256' }, + { name: 'verifyingContract', type: 'address' }, + ], + DelegateByType: [ + { name: 'delegatee', type: 'address' }, + { name: 'type', type: 'uint256' }, + { name: 'nonce', type: 'uint256' }, + { name: 'expiry', type: 'uint256' }, + ], + }, + primaryType: 'DelegateByType', + domain: { + name: governanceTokenName, + chainId, + verifyingContract: governanceToken, + }, + message: { + delegatee: delegateeAddress, + type, + nonce, + expiry, + }, + }; + return JSON.stringify(typeData); + } + ); } getDelegateeByType(_0) { return __async(this, arguments, function* ({ delegator, delegationType, governanceToken }) { @@ -44584,10 +48945,18 @@ var require_governance_power_delegation_contract = __commonJS({ }); } getPowerAtBlock(_0) { - return __async(this, arguments, function* ({ user, blockNumber, delegationType, governanceToken }) { - const governanceDelegationToken = this.getContractInstance(governanceToken); - return (yield governanceDelegationToken.getPowerAtBlock(user, blockNumber, delegationType)).toString(); - }); + return __async( + this, + arguments, + function* ({ user, blockNumber, delegationType, governanceToken }) { + const governanceDelegationToken = this.getContractInstance(governanceToken); + return (yield governanceDelegationToken.getPowerAtBlock( + user, + blockNumber, + delegationType + )).toString(); + } + ); } getNonce(_0) { return __async(this, arguments, function* ({ user, governanceToken }) { @@ -44607,143 +48976,195 @@ var require_governance_power_delegation_contract = __commonJS({ }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "delegate", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "delegateByType", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "delegateBySig", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "delegateByTypeBySig", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("nonce")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "prepareDelegateSignature", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)("delegatee")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("nonce")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "prepareDelegateByTypeSignature", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("delegator")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "getDelegateeByType", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "getPowerCurrent", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("blockNumber")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "getPowerAtBlock", null); - (0, tslib_1.__decorate)([ - methodValidators_1.GovDelegationValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("governanceToken")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], GovernancePowerDelegationTokenService.prototype, "getNonce", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'delegate', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'delegateByType', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'delegateBySig', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'delegateByTypeBySig', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('nonce')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'prepareDelegateSignature', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddressOrENS)('delegatee')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('nonce')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'prepareDelegateByTypeSignature', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('delegator')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'getDelegateeByType', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'getPowerCurrent', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('blockNumber')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'getPowerAtBlock', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.GovDelegationValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('governanceToken')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + GovernancePowerDelegationTokenService.prototype, + 'getNonce', + null + ); exports2.GovernancePowerDelegationTokenService = GovernancePowerDelegationTokenService; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/erc20-2612/typechain/IERC202612__factory.js var require_IERC202612_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/erc20-2612/typechain/IERC202612__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/erc20-2612/typechain/IERC202612__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IERC202612__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ { inputs: [ { - internalType: "address", - name: "owner", - type: "address" - } + internalType: 'address', + name: 'owner', + type: 'address', + }, ], - name: "_nonces", + name: '_nonces', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "owner", - type: "address" - } + internalType: 'address', + name: 'owner', + type: 'address', + }, ], - name: "nonces", + name: 'nonces', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; var IERC202612__factory = class { static createInterface() { @@ -44755,14 +49176,14 @@ var require_IERC202612_factory = __commonJS({ }; exports2.IERC202612__factory = IERC202612__factory; IERC202612__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/erc20-2612/index.js var require_erc20_2612 = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/erc20-2612/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/erc20-2612/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.ERC20_2612Service = void 0; var tslib_1 = require_tslib(); var BaseService_1 = (0, tslib_1.__importDefault)(require_BaseService()); @@ -44781,8 +49202,7 @@ var require_erc20_2612 = __commonJS({ try { nonce = yield tokenContract.nonces(owner); return nonce.toNumber(); - } catch (_) { - } + } catch (_) {} try { nonce = yield tokenContract._nonces(owner); return nonce.toNumber(); @@ -44793,212 +49213,219 @@ var require_erc20_2612 = __commonJS({ }); } }; - (0, tslib_1.__decorate)([ - methodValidators_1.ERC20Validator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("token")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("owner")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], ERC20_2612Service.prototype, "getNonce", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.ERC20Validator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('token')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('owner')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + ERC20_2612Service.prototype, + 'getNonce', + null + ); exports2.ERC20_2612Service = ERC20_2612Service; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/typechain/IL2Pool__factory.js var require_IL2Pool_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/typechain/IL2Pool__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/typechain/IL2Pool__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IL2Pool__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "borrow", + name: 'borrow', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args1", - type: "bytes32" + internalType: 'bytes32', + name: 'args1', + type: 'bytes32', }, { - internalType: "bytes32", - name: "args2", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args2', + type: 'bytes32', + }, ], - name: "liquidationCall", + name: 'liquidationCall', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "rebalanceStableBorrowRate", + name: 'rebalanceStableBorrowRate', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "repay", + name: 'repay', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "repayWithATokens", + name: 'repayWithATokens', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" + internalType: 'bytes32', + name: 'args', + type: 'bytes32', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - name: "repayWithPermit", + name: 'repayWithPermit', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "setUserUseReserveAsCollateral", + name: 'setUserUseReserveAsCollateral', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "supply", + name: 'supply', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" + internalType: 'bytes32', + name: 'args', + type: 'bytes32', }, { - internalType: "bytes32", - name: "r", - type: "bytes32" + internalType: 'bytes32', + name: 'r', + type: 'bytes32', }, { - internalType: "bytes32", - name: "s", - type: "bytes32" - } + internalType: 'bytes32', + name: 's', + type: 'bytes32', + }, ], - name: "supplyWithPermit", + name: 'supplyWithPermit', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "swapBorrowRateMode", + name: 'swapBorrowRateMode', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "bytes32", - name: "args", - type: "bytes32" - } + internalType: 'bytes32', + name: 'args', + type: 'bytes32', + }, ], - name: "withdraw", + name: 'withdraw', outputs: [], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; var IL2Pool__factory = class { static createInterface() { @@ -45010,422 +49437,425 @@ var require_IL2Pool_factory = __commonJS({ }; exports2.IL2Pool__factory = IL2Pool__factory; IL2Pool__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/typechain/L2Encoder__factory.js var require_L2Encoder_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/typechain/L2Encoder__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/typechain/L2Encoder__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.L2Encoder__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ { inputs: [ { - internalType: "contract IPool", - name: "pool", - type: "address" - } + internalType: 'contract IPool', + name: 'pool', + type: 'address', + }, ], - stateMutability: "nonpayable", - type: "constructor" + stateMutability: 'nonpayable', + type: 'constructor', }, { inputs: [], - name: "POOL", + name: 'POOL', outputs: [ { - internalType: "contract IPool", - name: "", - type: "address" - } + internalType: 'contract IPool', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "encodeBorrowParams", + name: 'encodeBorrowParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "collateralAsset", - type: "address" + internalType: 'address', + name: 'collateralAsset', + type: 'address', }, { - internalType: "address", - name: "debtAsset", - type: "address" + internalType: 'address', + name: 'debtAsset', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "debtToCover", - type: "uint256" + internalType: 'uint256', + name: 'debtToCover', + type: 'uint256', }, { - internalType: "bool", - name: "receiveAToken", - type: "bool" - } + internalType: 'bool', + name: 'receiveAToken', + type: 'bool', + }, ], - name: "encodeLiquidationCall", + name: 'encodeLiquidationCall', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" + internalType: 'bytes32', + name: '', + type: 'bytes32', }, { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "encodeRebalanceStableBorrowRate", + name: 'encodeRebalanceStableBorrowRate', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" - } + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', + }, ], - name: "encodeRepayParams", + name: 'encodeRepayParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" - } + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', + }, ], - name: "encodeRepayWithATokensParams", + name: 'encodeRepayWithATokensParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "permitV", - type: "uint8" + internalType: 'uint8', + name: 'permitV', + type: 'uint8', }, { - internalType: "bytes32", - name: "permitR", - type: "bytes32" + internalType: 'bytes32', + name: 'permitR', + type: 'bytes32', }, { - internalType: "bytes32", - name: "permitS", - type: "bytes32" - } + internalType: 'bytes32', + name: 'permitS', + type: 'bytes32', + }, ], - name: "encodeRepayWithPermitParams", + name: 'encodeRepayWithPermitParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" + internalType: 'bytes32', + name: '', + type: 'bytes32', }, { - internalType: "bytes32", - name: "", - type: "bytes32" + internalType: 'bytes32', + name: '', + type: 'bytes32', }, { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "bool", - name: "useAsCollateral", - type: "bool" - } + internalType: 'bool', + name: 'useAsCollateral', + type: 'bool', + }, ], - name: "encodeSetUserUseReserveAsCollateral", + name: 'encodeSetUserUseReserveAsCollateral', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "encodeSupplyParams", + name: 'encodeSupplyParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "permitV", - type: "uint8" + internalType: 'uint8', + name: 'permitV', + type: 'uint8', }, { - internalType: "bytes32", - name: "permitR", - type: "bytes32" + internalType: 'bytes32', + name: 'permitR', + type: 'bytes32', }, { - internalType: "bytes32", - name: "permitS", - type: "bytes32" - } + internalType: 'bytes32', + name: 'permitS', + type: 'bytes32', + }, ], - name: "encodeSupplyWithPermitParams", + name: 'encodeSupplyWithPermitParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" + internalType: 'bytes32', + name: '', + type: 'bytes32', }, { - internalType: "bytes32", - name: "", - type: "bytes32" + internalType: 'bytes32', + name: '', + type: 'bytes32', }, { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" - } + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', + }, ], - name: "encodeSwapBorrowRateMode", + name: 'encodeSwapBorrowRateMode', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "encodeWithdrawParams", + name: 'encodeWithdrawParams', outputs: [ { - internalType: "bytes32", - name: "", - type: "bytes32" - } + internalType: 'bytes32', + name: '', + type: 'bytes32', + }, ], - stateMutability: "view", - type: "function" - } + stateMutability: 'view', + type: 'function', + }, ]; - var _bytecode = "0x60a060405234801561001057600080fd5b5060405161143138038061143183398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516113606100d16000396000818161016b0152818161027e015281816103760152818161043f015281816105180152818161062e0152818161073c015281816107fc0152818161094101528181610a700152610b5501526113606000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806388d5185211610081578063b76398e41161005b578063b76398e414610200578063fc0eed8514610213578063fed63a931461022157600080fd5b806388d51852146101b25780638da7fb18146101da5780639d2ffc1b146101ed57600080fd5b80635cc7bc10116100b25780635cc7bc1014610125578063671a7fae146101385780637535d2461461016657600080fd5b80631a64acf2146100d95780631a8f6dee146100ff5780631fd3479714610112575b600080fd5b6100ec6100e7366004610e66565b610234565b6040519081526020015b60405180910390f35b6100ec61010d366004610eb0565b61032c565b6100ec610120366004610ee9565b6103f5565b6100ec610133366004610ee9565b6104ce565b61014b610146366004610f2b565b6105e0565b604080519384526020840192909252908201526060016100f6565b61018d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6101c56101c0366004610fa9565b6106f0565b604080519283526020830191909152016100f6565b6100ec6101e836600461100d565b6108e2565b6100ec6101fb36600461100d565b6108f7565b6100ec61020e366004611042565b610a26565b6100ec61010d366004611084565b61014b61022f3660046110b9565b610b07565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa1580156102c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ea9190611207565b60e081015190915060006102fd87610c5d565b9050600061030a87610d08565b60109290921b60909290921b60989690961b9590950101019695505050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa1580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190611207565b60e00151601084901b0191505092915050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610487573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ab9190611207565b60e081015190915060006104be85610d08565b60101b9190910195945050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610560573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105849190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85146105c3576105be85610c5d565b6104be565b5071ffffffffffffffffffffffffffffffff000001949350505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526000918291829182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069a9190611207565b60e081015190915060006106ad8c610c5d565b905060006106ba8b610d9b565b905060008a60c01b8260a01b018d60901b018360101b0184019050808a8a97509750975050505050509750975097945050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152600091829182917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a75906024016101e060405180830381865afa158015610786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107aa9190611207565b60e08101516040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a8116600483015292935090916000917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a75906024016101e060405180830381865afa158015610846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086a9190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89146108a9576108a489610c5d565b6108bb565b6fffffffffffffffffffffffffffffffff5b60109290921b9390930160208a901b019550608087901b0193505050509550959350505050565b60006108ef8484846108f7565b949350505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86146109ec576109e786610c5d565b6109fe565b6fffffffffffffffffffffffffffffffff5b90506000610a0b86610d08565b60901b60109290921b91909101919091019695505050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc9190611207565b60e08101519091506000610aef86610c5d565b60101b609086901b0191909101925050509392505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526000918291829182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610b9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc19190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8c14610c0057610bfb8c610c5d565b610c12565b6fffffffffffffffffffffffffffffffff5b90506000610c1f8c610d08565b90506000610c2c8c610d9b565b60b89b909b1b60989b909b1b9a909a0160909190911b0160109190911b01019b959a50939850939650505050505050565b60006fffffffffffffffffffffffffffffffff821115610d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f323820626974730000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5090565b600060ff821115610d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203860448201527f20626974730000000000000000000000000000000000000000000000000000006064820152608401610cfb565b600063ffffffff821115610d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201527f32206269747300000000000000000000000000000000000000000000000000006064820152608401610cfb565b73ffffffffffffffffffffffffffffffffffffffff81168114610e5357600080fd5b50565b61ffff81168114610e5357600080fd5b60008060008060808587031215610e7c57600080fd5b8435610e8781610e31565b935060208501359250604085013591506060850135610ea581610e56565b939692955090935050565b60008060408385031215610ec357600080fd5b8235610ece81610e31565b91506020830135610ede81610e31565b809150509250929050565b60008060408385031215610efc57600080fd5b8235610f0781610e31565b946020939093013593505050565b803560ff81168114610f2657600080fd5b919050565b600080600080600080600060e0888a031215610f4657600080fd5b8735610f5181610e31565b9650602088013595506040880135610f6881610e56565b945060608801359350610f7d60808901610f15565b925060a0880135915060c0880135905092959891949750929550565b80358015158114610f2657600080fd5b600080600080600060a08688031215610fc157600080fd5b8535610fcc81610e31565b94506020860135610fdc81610e31565b93506040860135610fec81610e31565b92506060860135915061100160808701610f99565b90509295509295909350565b60008060006060848603121561102257600080fd5b833561102d81610e31565b95602085013595506040909401359392505050565b60008060006060848603121561105757600080fd5b833561106281610e31565b925060208401359150604084013561107981610e56565b809150509250925092565b6000806040838503121561109757600080fd5b82356110a281610e31565b91506110b060208401610f99565b90509250929050565b600080600080600080600060e0888a0312156110d457600080fd5b87356110df81610e31565b9650602088013595506040880135945060608801359350610f7d60808901610f15565b6040516101e0810167ffffffffffffffff8111828210171561114d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b60006020828403121561116557600080fd5b6040516020810181811067ffffffffffffffff821117156111af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff81168114610f2657600080fd5b805164ffffffffff81168114610f2657600080fd5b8051610f2681610e56565b8051610f2681610e31565b60006101e0828403121561121a57600080fd5b611222611102565b61122c8484611153565b815261123a602084016111bc565b602082015261124b604084016111bc565b604082015261125c606084016111bc565b606082015261126d608084016111bc565b608082015261127e60a084016111bc565b60a082015261128f60c084016111dc565b60c08201526112a060e084016111f1565b60e08201526101006112b38185016111fc565b908201526101206112c58482016111fc565b908201526101406112d78482016111fc565b908201526101606112e98482016111fc565b908201526101806112fb8482016111bc565b908201526101a061130d8482016111bc565b908201526101c061131f8482016111bc565b90820152939250505056fea2646970667358221220550a5d1ca13779d56fd6a3f9cf5cee982d93d61310d74a95690bcec9ee75ab4a64736f6c634300080a0033"; + var _bytecode = + '0x60a060405234801561001057600080fd5b5060405161143138038061143183398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516113606100d16000396000818161016b0152818161027e015281816103760152818161043f015281816105180152818161062e0152818161073c015281816107fc0152818161094101528181610a700152610b5501526113606000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c806388d5185211610081578063b76398e41161005b578063b76398e414610200578063fc0eed8514610213578063fed63a931461022157600080fd5b806388d51852146101b25780638da7fb18146101da5780639d2ffc1b146101ed57600080fd5b80635cc7bc10116100b25780635cc7bc1014610125578063671a7fae146101385780637535d2461461016657600080fd5b80631a64acf2146100d95780631a8f6dee146100ff5780631fd3479714610112575b600080fd5b6100ec6100e7366004610e66565b610234565b6040519081526020015b60405180910390f35b6100ec61010d366004610eb0565b61032c565b6100ec610120366004610ee9565b6103f5565b6100ec610133366004610ee9565b6104ce565b61014b610146366004610f2b565b6105e0565b604080519384526020840192909252908201526060016100f6565b61018d7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100f6565b6101c56101c0366004610fa9565b6106f0565b604080519283526020830191909152016100f6565b6100ec6101e836600461100d565b6108e2565b6100ec6101fb36600461100d565b6108f7565b6100ec61020e366004611042565b610a26565b6100ec61010d366004611084565b61014b61022f3660046110b9565b610b07565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff858116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa1580156102c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ea9190611207565b60e081015190915060006102fd87610c5d565b9050600061030a87610d08565b60109290921b60909290921b60989690961b9590950101019695505050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa1580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190611207565b60e00151601084901b0191505092915050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610487573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ab9190611207565b60e081015190915060006104be85610d08565b60101b9190910195945050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610560573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105849190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85146105c3576105be85610c5d565b6104be565b5071ffffffffffffffffffffffffffffffff000001949350505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526000918291829182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610676573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069a9190611207565b60e081015190915060006106ad8c610c5d565b905060006106ba8b610d9b565b905060008a60c01b8260a01b018d60901b018360101b0184019050808a8a97509750975050505050509750975097945050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152600091829182917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a75906024016101e060405180830381865afa158015610786573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107aa9190611207565b60e08101516040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a8116600483015292935090916000917f0000000000000000000000000000000000000000000000000000000000000000909116906335ea6a75906024016101e060405180830381865afa158015610846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086a9190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89146108a9576108a489610c5d565b6108bb565b6fffffffffffffffffffffffffffffffff5b60109290921b9390930160208a901b019550608087901b0193505050509550959350505050565b60006108ef8484846108f7565b949350505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff86146109ec576109e786610c5d565b6109fe565b6fffffffffffffffffffffffffffffffff5b90506000610a0b86610d08565b60901b60109290921b91909101919091019695505050505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc9190611207565b60e08101519091506000610aef86610c5d565b60101b609086901b0191909101925050509392505050565b6040517f35ea6a7500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301526000918291829182917f000000000000000000000000000000000000000000000000000000000000000016906335ea6a75906024016101e060405180830381865afa158015610b9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc19190611207565b60e081015190915060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8c14610c0057610bfb8c610c5d565b610c12565b6fffffffffffffffffffffffffffffffff5b90506000610c1f8c610d08565b90506000610c2c8c610d9b565b60b89b909b1b60989b909b1b9a909a0160909190911b0160109190911b01019b959a50939850939650505050505050565b60006fffffffffffffffffffffffffffffffff821115610d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f323820626974730000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5090565b600060ff821115610d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203860448201527f20626974730000000000000000000000000000000000000000000000000000006064820152608401610cfb565b600063ffffffff821115610d04576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201527f32206269747300000000000000000000000000000000000000000000000000006064820152608401610cfb565b73ffffffffffffffffffffffffffffffffffffffff81168114610e5357600080fd5b50565b61ffff81168114610e5357600080fd5b60008060008060808587031215610e7c57600080fd5b8435610e8781610e31565b935060208501359250604085013591506060850135610ea581610e56565b939692955090935050565b60008060408385031215610ec357600080fd5b8235610ece81610e31565b91506020830135610ede81610e31565b809150509250929050565b60008060408385031215610efc57600080fd5b8235610f0781610e31565b946020939093013593505050565b803560ff81168114610f2657600080fd5b919050565b600080600080600080600060e0888a031215610f4657600080fd5b8735610f5181610e31565b9650602088013595506040880135610f6881610e56565b945060608801359350610f7d60808901610f15565b925060a0880135915060c0880135905092959891949750929550565b80358015158114610f2657600080fd5b600080600080600060a08688031215610fc157600080fd5b8535610fcc81610e31565b94506020860135610fdc81610e31565b93506040860135610fec81610e31565b92506060860135915061100160808701610f99565b90509295509295909350565b60008060006060848603121561102257600080fd5b833561102d81610e31565b95602085013595506040909401359392505050565b60008060006060848603121561105757600080fd5b833561106281610e31565b925060208401359150604084013561107981610e56565b809150509250925092565b6000806040838503121561109757600080fd5b82356110a281610e31565b91506110b060208401610f99565b90509250929050565b600080600080600080600060e0888a0312156110d457600080fd5b87356110df81610e31565b9650602088013595506040880135945060608801359350610f7d60808901610f15565b6040516101e0810167ffffffffffffffff8111828210171561114d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405290565b60006020828403121561116557600080fd5b6040516020810181811067ffffffffffffffff821117156111af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040529151825250919050565b80516fffffffffffffffffffffffffffffffff81168114610f2657600080fd5b805164ffffffffff81168114610f2657600080fd5b8051610f2681610e56565b8051610f2681610e31565b60006101e0828403121561121a57600080fd5b611222611102565b61122c8484611153565b815261123a602084016111bc565b602082015261124b604084016111bc565b604082015261125c606084016111bc565b606082015261126d608084016111bc565b608082015261127e60a084016111bc565b60a082015261128f60c084016111dc565b60c08201526112a060e084016111f1565b60e08201526101006112b38185016111fc565b908201526101206112c58482016111fc565b908201526101406112d78482016111fc565b908201526101606112e98482016111fc565b908201526101806112fb8482016111bc565b908201526101a061130d8482016111bc565b908201526101c061131f8482016111bc565b90820152939250505056fea2646970667358221220550a5d1ca13779d56fd6a3f9cf5cee982d93d61310d74a95690bcec9ee75ab4a64736f6c634300080a0033'; var L2Encoder__factory = class extends ethers_1.ContractFactory { constructor(...args) { if (args.length === 1) { @@ -45456,14 +49886,14 @@ var require_L2Encoder_factory = __commonJS({ exports2.L2Encoder__factory = L2Encoder__factory; L2Encoder__factory.bytecode = _bytecode; L2Encoder__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/index.js var require_v3_pool_rollups = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-pool-rollups/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.L2Pool = void 0; var tslib_1 = require_tslib(); var BaseService_1 = (0, tslib_1.__importDefault)(require_BaseService()); @@ -45476,48 +49906,76 @@ var require_v3_pool_rollups = __commonJS({ var L2Pool = class extends BaseService_1.default { constructor(provider, l2PoolConfig) { super(provider, IL2Pool__factory_1.IL2Pool__factory); - const { l2PoolAddress, encoderAddress } = l2PoolConfig !== null && l2PoolConfig !== void 0 ? l2PoolConfig : {}; - this.l2PoolAddress = l2PoolAddress !== null && l2PoolAddress !== void 0 ? l2PoolAddress : ""; - this.encoderAddress = encoderAddress !== null && encoderAddress !== void 0 ? encoderAddress : ""; + const { l2PoolAddress, encoderAddress } = + l2PoolConfig !== null && l2PoolConfig !== void 0 ? l2PoolConfig : {}; + this.l2PoolAddress = + l2PoolAddress !== null && l2PoolAddress !== void 0 ? l2PoolAddress : ''; + this.encoderAddress = + encoderAddress !== null && encoderAddress !== void 0 ? encoderAddress : ''; } supply(_0, _1) { return __async(this, arguments, function* ({ user, reserve, amount, referralCode }, txs) { const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeSupplyParams(reserve, amount, referralCode !== null && referralCode !== void 0 ? referralCode : 0); + const encodedParams = yield encoder.encodeSupplyParams( + reserve, + amount, + referralCode !== null && referralCode !== void 0 ? referralCode : 0 + ); const l2PoolContract = this.getContractInstance(this.l2PoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.supply(encodedParams); - }), + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.supply(encodedParams); + }), from: user, - value: (0, utils_1.getTxValue)(reserve, amount) + value: (0, utils_1.getTxValue)(reserve, amount), }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.supply) + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.supply), }); return txs; }); } supplyWithPermit(_0, _1) { - return __async(this, arguments, function* ({ user, reserve, amount, deadline, referralCode, permitR, permitS, permitV }, txs) { - const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeSupplyWithPermitParams(reserve, amount, referralCode !== null && referralCode !== void 0 ? referralCode : 0, deadline, permitV, permitR, permitS); - const l2PoolContract = this.getContractInstance(this.l2PoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.supplyWithPermit(encodedParams[0], permitR, permitS); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) - }); - return txs; - }); + return __async( + this, + arguments, + function* ( + { user, reserve, amount, deadline, referralCode, permitR, permitS, permitV }, + txs + ) { + const encoder = this.getEncoder(); + const encodedParams = yield encoder.encodeSupplyWithPermitParams( + reserve, + amount, + referralCode !== null && referralCode !== void 0 ? referralCode : 0, + deadline, + permitV, + permitR, + permitS + ); + const l2PoolContract = this.getContractInstance(this.l2PoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.supplyWithPermit( + encodedParams[0], + permitR, + permitS + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback), + }); + return txs; + } + ); } withdraw(_0) { return __async(this, arguments, function* ({ user, reserve, amount }) { @@ -45525,100 +49983,145 @@ var require_v3_pool_rollups = __commonJS({ const encodedParams = yield encoder.encodeWithdrawParams(reserve, amount); const l2PoolContract = this.getContractInstance(this.l2PoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.withdraw(encodedParams); - }), + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.withdraw(encodedParams); + }), from: user, - action: types_1.ProtocolAction.withdraw + action: types_1.ProtocolAction.withdraw, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.supply) - } + gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.supply), + }, ]; }); } borrow(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, numericRateMode, referralCode }) { - const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeBorrowParams(reserve, amount, numericRateMode, referralCode !== null && referralCode !== void 0 ? referralCode : 0); - const l2PoolContract = this.getContractInstance(this.l2PoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.borrow(encodedParams); - }), - from: user - }); - return [ - { - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } - ]; - }); + return __async( + this, + arguments, + function* ({ user, reserve, amount, numericRateMode, referralCode }) { + const encoder = this.getEncoder(); + const encodedParams = yield encoder.encodeBorrowParams( + reserve, + amount, + numericRateMode, + referralCode !== null && referralCode !== void 0 ? referralCode : 0 + ); + const l2PoolContract = this.getContractInstance(this.l2PoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.borrow(encodedParams); + }), + from: user, + }); + return [ + { + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation([], txCallback), + }, + ]; + } + ); } repay(_0, _1) { - return __async(this, arguments, function* ({ reserve, user, amount, numericRateMode }, txs) { - const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeRepayParams(reserve, amount, numericRateMode); - const l2PoolContract = this.getContractInstance(this.l2PoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.repay(encodedParams); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, amount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + return __async( + this, + arguments, + function* ({ reserve, user, amount, numericRateMode }, txs) { + const encoder = this.getEncoder(); + const encodedParams = yield encoder.encodeRepayParams(reserve, amount, numericRateMode); + const l2PoolContract = this.getContractInstance(this.l2PoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.repay(encodedParams); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, amount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; + } + ); } repayWithPermit(_0, _1) { - return __async(this, arguments, function* ({ user, reserve, amount, numericRateMode, permitR, permitS, permitV, deadline }, txs) { - const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeRepayWithPermitParams(reserve, amount, numericRateMode, deadline, permitV, permitR, permitS); - const l2PoolContract = this.getContractInstance(this.l2PoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.repayWithPermit(encodedParams[0], permitR, permitS); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, amount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + return __async( + this, + arguments, + function* ( + { user, reserve, amount, numericRateMode, permitR, permitS, permitV, deadline }, + txs + ) { + const encoder = this.getEncoder(); + const encodedParams = yield encoder.encodeRepayWithPermitParams( + reserve, + amount, + numericRateMode, + deadline, + permitV, + permitR, + permitS + ); + const l2PoolContract = this.getContractInstance(this.l2PoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.repayWithPermit( + encodedParams[0], + permitR, + permitS + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, amount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; + } + ); } repayWithATokens(_0, _1) { - return __async(this, arguments, function* ({ reserve, user, amount, numericRateMode }, txs) { - const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeRepayWithATokensParams(reserve, amount, numericRateMode); - const l2PoolContract = this.getContractInstance(this.l2PoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.repayWithATokens(encodedParams); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, amount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + return __async( + this, + arguments, + function* ({ reserve, user, amount, numericRateMode }, txs) { + const encoder = this.getEncoder(); + const encodedParams = yield encoder.encodeRepayWithATokensParams( + reserve, + amount, + numericRateMode + ); + const l2PoolContract = this.getContractInstance(this.l2PoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.repayWithATokens(encodedParams); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, amount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; + } + ); } swapBorrowRateMode(_0) { return __async(this, arguments, function* ({ reserve, numericRateMode, user }) { @@ -45626,138 +50129,221 @@ var require_v3_pool_rollups = __commonJS({ const encodedParams = yield encoder.encodeSwapBorrowRateMode(reserve, numericRateMode); const l2PoolContract = this.getContractInstance(this.l2PoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.swapBorrowRateMode(encodedParams); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.swapBorrowRateMode(encodedParams); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; }); } setUserUseReserveAsCollateral(_0) { return __async(this, arguments, function* ({ reserve, usageAsCollateral, user }) { const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeSetUserUseReserveAsCollateral(reserve, usageAsCollateral); + const encodedParams = yield encoder.encodeSetUserUseReserveAsCollateral( + reserve, + usageAsCollateral + ); const l2PoolContract = this.getContractInstance(this.l2PoolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.setUserUseReserveAsCollateral(encodedParams); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.setUserUseReserveAsCollateral( + encodedParams + ); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } + gas: this.generateTxPriceEstimation([], txCallback), + }, ]; }); } liquidationCall(_0, _1) { - return __async(this, arguments, function* ({ liquidator, liquidatedUser, debtReserve, collateralReserve, debtToCover, getAToken }, txs) { - const encoder = this.getEncoder(); - const encodedParams = yield encoder.encodeLiquidationCall(collateralReserve, debtReserve, liquidatedUser, debtToCover, getAToken !== null && getAToken !== void 0 ? getAToken : false); - const l2PoolContract = this.getContractInstance(this.l2PoolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return l2PoolContract.populateTransaction.liquidationCall(encodedParams[0], encodedParams[1]); - }), - from: liquidator, - value: (0, utils_1.getTxValue)(debtReserve, debtToCover) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.liquidationCall) - }); - return txs; - }); + return __async( + this, + arguments, + function* ( + { liquidator, liquidatedUser, debtReserve, collateralReserve, debtToCover, getAToken }, + txs + ) { + const encoder = this.getEncoder(); + const encodedParams = yield encoder.encodeLiquidationCall( + collateralReserve, + debtReserve, + liquidatedUser, + debtToCover, + getAToken !== null && getAToken !== void 0 ? getAToken : false + ); + const l2PoolContract = this.getContractInstance(this.l2PoolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return l2PoolContract.populateTransaction.liquidationCall( + encodedParams[0], + encodedParams[1] + ); + }), + from: liquidator, + value: (0, utils_1.getTxValue)(debtReserve, debtToCover), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + [], + txCallback, + types_1.ProtocolAction.liquidationCall + ), + }); + return txs; + } + ); } getEncoder() { - if (!this.encoderContract && this.encoderAddress !== "") { - this.encoderContract = L2Encoder__factory_1.L2Encoder__factory.connect(this.encoderAddress, this.provider); + if (!this.encoderContract && this.encoderAddress !== '') { + this.encoderContract = L2Encoder__factory_1.L2Encoder__factory.connect( + this.encoderAddress, + this.provider + ); } return this.encoderContract; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "supply", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isDeadline32Bytes)("deadline")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "supplyWithPermit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "withdraw", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "borrow", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "repay", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__param)(0, (0, paramValidators_1.isDeadline32Bytes)("deadline")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "repayWithPermit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "repayWithATokens", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "swapBorrowRateMode", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "setUserUseReserveAsCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.L2PValidator, - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object, Array]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], L2Pool.prototype, "liquidationCall", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'supply', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isDeadline32Bytes)('deadline')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'supplyWithPermit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'withdraw', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'borrow', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'repay', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__param)(0, (0, paramValidators_1.isDeadline32Bytes)('deadline')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'repayWithPermit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'repayWithATokens', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'swapBorrowRateMode', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'setUserUseReserveAsCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.L2PValidator, + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object, Array]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + L2Pool.prototype, + 'liquidationCall', + null + ); exports2.L2Pool = L2Pool; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-pool-contract/typechain/IPool__factory.js var require_IPool_factory = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-pool-contract/typechain/IPool__factory.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-pool-contract/typechain/IPool__factory.js'( + exports2 + ) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.IPool__factory = void 0; var ethers_1 = require_lib31(); var _abi = [ @@ -45766,1615 +50352,1615 @@ var require_IPool_factory = __commonJS({ inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "backer", - type: "address" + internalType: 'address', + name: 'backer', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "fee", - type: "uint256" - } + internalType: 'uint256', + name: 'fee', + type: 'uint256', + }, ], - name: "BackUnbacked", - type: "event" + name: 'BackUnbacked', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: false, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: false, - internalType: "enum DataTypes.InterestRateMode", - name: "interestRateMode", - type: "uint8" + internalType: 'enum DataTypes.InterestRateMode', + name: 'interestRateMode', + type: 'uint8', }, { indexed: false, - internalType: "uint256", - name: "borrowRate", - type: "uint256" + internalType: 'uint256', + name: 'borrowRate', + type: 'uint256', }, { indexed: true, - internalType: "uint16", - name: "referral", - type: "uint16" - } + internalType: 'uint16', + name: 'referral', + type: 'uint16', + }, ], - name: "Borrow", - type: "event" + name: 'Borrow', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "target", - type: "address" + internalType: 'address', + name: 'target', + type: 'address', }, { indexed: true, - internalType: "address", - name: "initiator", - type: "address" + internalType: 'address', + name: 'initiator', + type: 'address', }, { indexed: true, - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: false, - internalType: "enum DataTypes.InterestRateMode", - name: "interestRateMode", - type: "uint8" + internalType: 'enum DataTypes.InterestRateMode', + name: 'interestRateMode', + type: 'uint8', }, { indexed: false, - internalType: "uint256", - name: "premium", - type: "uint256" + internalType: 'uint256', + name: 'premium', + type: 'uint256', }, { indexed: false, - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "FlashLoan", - type: "event" + name: 'FlashLoan', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "totalDebt", - type: "uint256" - } + internalType: 'uint256', + name: 'totalDebt', + type: 'uint256', + }, ], - name: "IsolationModeTotalDebtUpdated", - type: "event" + name: 'IsolationModeTotalDebtUpdated', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "collateralAsset", - type: "address" + internalType: 'address', + name: 'collateralAsset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "debtAsset", - type: "address" + internalType: 'address', + name: 'debtAsset', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "debtToCover", - type: "uint256" + internalType: 'uint256', + name: 'debtToCover', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "liquidatedCollateralAmount", - type: "uint256" + internalType: 'uint256', + name: 'liquidatedCollateralAmount', + type: 'uint256', }, { indexed: false, - internalType: "address", - name: "liquidator", - type: "address" + internalType: 'address', + name: 'liquidator', + type: 'address', }, { indexed: false, - internalType: "bool", - name: "receiveAToken", - type: "bool" - } + internalType: 'bool', + name: 'receiveAToken', + type: 'bool', + }, ], - name: "LiquidationCall", - type: "event" + name: 'LiquidationCall', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: false, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: true, - internalType: "uint16", - name: "referral", - type: "uint16" - } + internalType: 'uint16', + name: 'referral', + type: 'uint16', + }, ], - name: "MintUnbacked", - type: "event" + name: 'MintUnbacked', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amountMinted", - type: "uint256" - } + internalType: 'uint256', + name: 'amountMinted', + type: 'uint256', + }, ], - name: "MintedToTreasury", - type: "event" + name: 'MintedToTreasury', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "RebalanceStableBorrowRate", - type: "event" + name: 'RebalanceStableBorrowRate', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "repayer", - type: "address" + internalType: 'address', + name: 'repayer', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: false, - internalType: "bool", - name: "useATokens", - type: "bool" - } + internalType: 'bool', + name: 'useATokens', + type: 'bool', + }, ], - name: "Repay", - type: "event" + name: 'Repay', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "liquidityRate", - type: "uint256" + internalType: 'uint256', + name: 'liquidityRate', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "stableBorrowRate", - type: "uint256" + internalType: 'uint256', + name: 'stableBorrowRate', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "variableBorrowRate", - type: "uint256" + internalType: 'uint256', + name: 'variableBorrowRate', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "liquidityIndex", - type: "uint256" + internalType: 'uint256', + name: 'liquidityIndex', + type: 'uint256', }, { indexed: false, - internalType: "uint256", - name: "variableBorrowIndex", - type: "uint256" - } + internalType: 'uint256', + name: 'variableBorrowIndex', + type: 'uint256', + }, ], - name: "ReserveDataUpdated", - type: "event" + name: 'ReserveDataUpdated', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "ReserveUsedAsCollateralDisabled", - type: "event" + name: 'ReserveUsedAsCollateralDisabled', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "ReserveUsedAsCollateralEnabled", - type: "event" + name: 'ReserveUsedAsCollateralEnabled', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: false, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { indexed: true, - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "Supply", - type: "event" + name: 'Supply', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: false, - internalType: "enum DataTypes.InterestRateMode", - name: "interestRateMode", - type: "uint8" - } + internalType: 'enum DataTypes.InterestRateMode', + name: 'interestRateMode', + type: 'uint8', + }, ], - name: "SwapBorrowRateMode", - type: "event" + name: 'SwapBorrowRateMode', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: false, - internalType: "uint8", - name: "categoryId", - type: "uint8" - } + internalType: 'uint8', + name: 'categoryId', + type: 'uint8', + }, ], - name: "UserEModeSet", - type: "event" + name: 'UserEModeSet', + type: 'event', }, { anonymous: false, inputs: [ { indexed: true, - internalType: "address", - name: "reserve", - type: "address" + internalType: 'address', + name: 'reserve', + type: 'address', }, { indexed: true, - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { indexed: true, - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { indexed: false, - internalType: "uint256", - name: "amount", - type: "uint256" - } + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, ], - name: "Withdraw", - type: "event" + name: 'Withdraw', + type: 'event', }, { inputs: [], - name: "ADDRESSES_PROVIDER", + name: 'ADDRESSES_PROVIDER', outputs: [ { - internalType: "contract IPoolAddressesProvider", - name: "", - type: "address" - } + internalType: 'contract IPoolAddressesProvider', + name: '', + type: 'address', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "BRIDGE_PROTOCOL_FEE", + name: 'BRIDGE_PROTOCOL_FEE', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "FLASHLOAN_PREMIUM_TOTAL", + name: 'FLASHLOAN_PREMIUM_TOTAL', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "FLASHLOAN_PREMIUM_TO_PROTOCOL", + name: 'FLASHLOAN_PREMIUM_TO_PROTOCOL', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "MAX_NUMBER_RESERVES", + name: 'MAX_NUMBER_RESERVES', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "MAX_STABLE_RATE_BORROW_SIZE_PERCENT", + name: 'MAX_STABLE_RATE_BORROW_SIZE_PERCENT', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "fee", - type: "uint256" - } + internalType: 'uint256', + name: 'fee', + type: 'uint256', + }, ], - name: "backUnbacked", + name: 'backUnbacked', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" - } + internalType: 'address', + name: 'onBehalfOf', + type: 'address', + }, ], - name: "borrow", + name: 'borrow', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint8", - name: "id", - type: "uint8" + internalType: 'uint8', + name: 'id', + type: 'uint8', }, { components: [ { - internalType: "uint16", - name: "ltv", - type: "uint16" + internalType: 'uint16', + name: 'ltv', + type: 'uint16', }, { - internalType: "uint16", - name: "liquidationThreshold", - type: "uint16" + internalType: 'uint16', + name: 'liquidationThreshold', + type: 'uint16', }, { - internalType: "uint16", - name: "liquidationBonus", - type: "uint16" + internalType: 'uint16', + name: 'liquidationBonus', + type: 'uint16', }, { - internalType: "address", - name: "priceSource", - type: "address" + internalType: 'address', + name: 'priceSource', + type: 'address', }, { - internalType: "string", - name: "label", - type: "string" - } + internalType: 'string', + name: 'label', + type: 'string', + }, ], - internalType: "struct DataTypes.EModeCategory", - name: "config", - type: "tuple" - } + internalType: 'struct DataTypes.EModeCategory', + name: 'config', + type: 'tuple', + }, ], - name: "configureEModeCategory", + name: 'configureEModeCategory', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "deposit", + name: 'deposit', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" - } + internalType: 'address', + name: 'asset', + type: 'address', + }, ], - name: "dropReserve", + name: 'dropReserve', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "from", - type: "address" + internalType: 'address', + name: 'from', + type: 'address', }, { - internalType: "address", - name: "to", - type: "address" + internalType: 'address', + name: 'to', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "balanceFromBefore", - type: "uint256" + internalType: 'uint256', + name: 'balanceFromBefore', + type: 'uint256', }, { - internalType: "uint256", - name: "balanceToBefore", - type: "uint256" - } + internalType: 'uint256', + name: 'balanceToBefore', + type: 'uint256', + }, ], - name: "finalizeTransfer", + name: 'finalizeTransfer', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "receiverAddress", - type: "address" + internalType: 'address', + name: 'receiverAddress', + type: 'address', }, { - internalType: "address[]", - name: "assets", - type: "address[]" + internalType: 'address[]', + name: 'assets', + type: 'address[]', }, { - internalType: "uint256[]", - name: "amounts", - type: "uint256[]" + internalType: 'uint256[]', + name: 'amounts', + type: 'uint256[]', }, { - internalType: "uint256[]", - name: "interestRateModes", - type: "uint256[]" + internalType: 'uint256[]', + name: 'interestRateModes', + type: 'uint256[]', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "bytes", - name: "params", - type: "bytes" + internalType: 'bytes', + name: 'params', + type: 'bytes', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "flashLoan", + name: 'flashLoan', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "receiverAddress", - type: "address" + internalType: 'address', + name: 'receiverAddress', + type: 'address', }, { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "bytes", - name: "params", - type: "bytes" + internalType: 'bytes', + name: 'params', + type: 'bytes', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "flashLoanSimple", + name: 'flashLoanSimple', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" - } + internalType: 'address', + name: 'asset', + type: 'address', + }, ], - name: "getConfiguration", + name: 'getConfiguration', outputs: [ { components: [ { - internalType: "uint256", - name: "data", - type: "uint256" - } + internalType: 'uint256', + name: 'data', + type: 'uint256', + }, ], - internalType: "struct DataTypes.ReserveConfigurationMap", - name: "", - type: "tuple" - } + internalType: 'struct DataTypes.ReserveConfigurationMap', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "uint8", - name: "id", - type: "uint8" - } + internalType: 'uint8', + name: 'id', + type: 'uint8', + }, ], - name: "getEModeCategoryData", + name: 'getEModeCategoryData', outputs: [ { components: [ { - internalType: "uint16", - name: "ltv", - type: "uint16" + internalType: 'uint16', + name: 'ltv', + type: 'uint16', }, { - internalType: "uint16", - name: "liquidationThreshold", - type: "uint16" + internalType: 'uint16', + name: 'liquidationThreshold', + type: 'uint16', }, { - internalType: "uint16", - name: "liquidationBonus", - type: "uint16" + internalType: 'uint16', + name: 'liquidationBonus', + type: 'uint16', }, { - internalType: "address", - name: "priceSource", - type: "address" + internalType: 'address', + name: 'priceSource', + type: 'address', }, { - internalType: "string", - name: "label", - type: "string" - } + internalType: 'string', + name: 'label', + type: 'string', + }, ], - internalType: "struct DataTypes.EModeCategory", - name: "", - type: "tuple" - } + internalType: 'struct DataTypes.EModeCategory', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" - } + internalType: 'address', + name: 'asset', + type: 'address', + }, ], - name: "getReserveData", + name: 'getReserveData', outputs: [ { components: [ { components: [ { - internalType: "uint256", - name: "data", - type: "uint256" - } + internalType: 'uint256', + name: 'data', + type: 'uint256', + }, ], - internalType: "struct DataTypes.ReserveConfigurationMap", - name: "configuration", - type: "tuple" + internalType: 'struct DataTypes.ReserveConfigurationMap', + name: 'configuration', + type: 'tuple', }, { - internalType: "uint128", - name: "liquidityIndex", - type: "uint128" + internalType: 'uint128', + name: 'liquidityIndex', + type: 'uint128', }, { - internalType: "uint128", - name: "currentLiquidityRate", - type: "uint128" + internalType: 'uint128', + name: 'currentLiquidityRate', + type: 'uint128', }, { - internalType: "uint128", - name: "variableBorrowIndex", - type: "uint128" + internalType: 'uint128', + name: 'variableBorrowIndex', + type: 'uint128', }, { - internalType: "uint128", - name: "currentVariableBorrowRate", - type: "uint128" + internalType: 'uint128', + name: 'currentVariableBorrowRate', + type: 'uint128', }, { - internalType: "uint128", - name: "currentStableBorrowRate", - type: "uint128" + internalType: 'uint128', + name: 'currentStableBorrowRate', + type: 'uint128', }, { - internalType: "uint40", - name: "lastUpdateTimestamp", - type: "uint40" + internalType: 'uint40', + name: 'lastUpdateTimestamp', + type: 'uint40', }, { - internalType: "uint16", - name: "id", - type: "uint16" + internalType: 'uint16', + name: 'id', + type: 'uint16', }, { - internalType: "address", - name: "aTokenAddress", - type: "address" + internalType: 'address', + name: 'aTokenAddress', + type: 'address', }, { - internalType: "address", - name: "stableDebtTokenAddress", - type: "address" + internalType: 'address', + name: 'stableDebtTokenAddress', + type: 'address', }, { - internalType: "address", - name: "variableDebtTokenAddress", - type: "address" + internalType: 'address', + name: 'variableDebtTokenAddress', + type: 'address', }, { - internalType: "address", - name: "interestRateStrategyAddress", - type: "address" + internalType: 'address', + name: 'interestRateStrategyAddress', + type: 'address', }, { - internalType: "uint128", - name: "accruedToTreasury", - type: "uint128" + internalType: 'uint128', + name: 'accruedToTreasury', + type: 'uint128', }, { - internalType: "uint128", - name: "unbacked", - type: "uint128" + internalType: 'uint128', + name: 'unbacked', + type: 'uint128', }, { - internalType: "uint128", - name: "isolationModeTotalDebt", - type: "uint128" - } + internalType: 'uint128', + name: 'isolationModeTotalDebt', + type: 'uint128', + }, ], - internalType: "struct DataTypes.ReserveData", - name: "", - type: "tuple" - } + internalType: 'struct DataTypes.ReserveData', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" - } + internalType: 'address', + name: 'asset', + type: 'address', + }, ], - name: "getReserveNormalizedIncome", + name: 'getReserveNormalizedIncome', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" - } + internalType: 'address', + name: 'asset', + type: 'address', + }, ], - name: "getReserveNormalizedVariableDebt", + name: 'getReserveNormalizedVariableDebt', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [], - name: "getReservesList", + name: 'getReservesList', outputs: [ { - internalType: "address[]", - name: "", - type: "address[]" - } + internalType: 'address[]', + name: '', + type: 'address[]', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserAccountData", + name: 'getUserAccountData', outputs: [ { - internalType: "uint256", - name: "totalCollateralBase", - type: "uint256" + internalType: 'uint256', + name: 'totalCollateralBase', + type: 'uint256', }, { - internalType: "uint256", - name: "totalDebtBase", - type: "uint256" + internalType: 'uint256', + name: 'totalDebtBase', + type: 'uint256', }, { - internalType: "uint256", - name: "availableBorrowsBase", - type: "uint256" + internalType: 'uint256', + name: 'availableBorrowsBase', + type: 'uint256', }, { - internalType: "uint256", - name: "currentLiquidationThreshold", - type: "uint256" + internalType: 'uint256', + name: 'currentLiquidationThreshold', + type: 'uint256', }, { - internalType: "uint256", - name: "ltv", - type: "uint256" + internalType: 'uint256', + name: 'ltv', + type: 'uint256', }, { - internalType: "uint256", - name: "healthFactor", - type: "uint256" - } + internalType: 'uint256', + name: 'healthFactor', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserConfiguration", + name: 'getUserConfiguration', outputs: [ { components: [ { - internalType: "uint256", - name: "data", - type: "uint256" - } + internalType: 'uint256', + name: 'data', + type: 'uint256', + }, ], - internalType: "struct DataTypes.UserConfigurationMap", - name: "", - type: "tuple" - } + internalType: 'struct DataTypes.UserConfigurationMap', + name: '', + type: 'tuple', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "getUserEMode", + name: 'getUserEMode', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "view", - type: "function" + stateMutability: 'view', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "aTokenAddress", - type: "address" + internalType: 'address', + name: 'aTokenAddress', + type: 'address', }, { - internalType: "address", - name: "stableDebtAddress", - type: "address" + internalType: 'address', + name: 'stableDebtAddress', + type: 'address', }, { - internalType: "address", - name: "variableDebtAddress", - type: "address" + internalType: 'address', + name: 'variableDebtAddress', + type: 'address', }, { - internalType: "address", - name: "interestRateStrategyAddress", - type: "address" - } + internalType: 'address', + name: 'interestRateStrategyAddress', + type: 'address', + }, ], - name: "initReserve", + name: 'initReserve', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "collateralAsset", - type: "address" + internalType: 'address', + name: 'collateralAsset', + type: 'address', }, { - internalType: "address", - name: "debtAsset", - type: "address" + internalType: 'address', + name: 'debtAsset', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" + internalType: 'address', + name: 'user', + type: 'address', }, { - internalType: "uint256", - name: "debtToCover", - type: "uint256" + internalType: 'uint256', + name: 'debtToCover', + type: 'uint256', }, { - internalType: "bool", - name: "receiveAToken", - type: "bool" - } + internalType: 'bool', + name: 'receiveAToken', + type: 'bool', + }, ], - name: "liquidationCall", + name: 'liquidationCall', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address[]", - name: "assets", - type: "address[]" - } + internalType: 'address[]', + name: 'assets', + type: 'address[]', + }, ], - name: "mintToTreasury", + name: 'mintToTreasury', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "mintUnbacked", + name: 'mintUnbacked', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "user", - type: "address" - } + internalType: 'address', + name: 'user', + type: 'address', + }, ], - name: "rebalanceStableBorrowRate", + name: 'rebalanceStableBorrowRate', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" - } + internalType: 'address', + name: 'onBehalfOf', + type: 'address', + }, ], - name: "repay", + name: 'repay', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" - } + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', + }, ], - name: "repayWithATokens", + name: 'repayWithATokens', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "permitV", - type: "uint8" + internalType: 'uint8', + name: 'permitV', + type: 'uint8', }, { - internalType: "bytes32", - name: "permitR", - type: "bytes32" + internalType: 'bytes32', + name: 'permitR', + type: 'bytes32', }, { - internalType: "bytes32", - name: "permitS", - type: "bytes32" - } + internalType: 'bytes32', + name: 'permitS', + type: 'bytes32', + }, ], - name: "repayWithPermit", + name: 'repayWithPermit', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "configuration", - type: "uint256" - } + internalType: 'uint256', + name: 'configuration', + type: 'uint256', + }, ], - name: "setConfiguration", + name: 'setConfiguration', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "address", - name: "rateStrategyAddress", - type: "address" - } + internalType: 'address', + name: 'rateStrategyAddress', + type: 'address', + }, ], - name: "setReserveInterestRateStrategyAddress", + name: 'setReserveInterestRateStrategyAddress', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint8", - name: "categoryId", - type: "uint8" - } + internalType: 'uint8', + name: 'categoryId', + type: 'uint8', + }, ], - name: "setUserEMode", + name: 'setUserEMode', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "bool", - name: "useAsCollateral", - type: "bool" - } + internalType: 'bool', + name: 'useAsCollateral', + type: 'bool', + }, ], - name: "setUserUseReserveAsCollateral", + name: 'setUserUseReserveAsCollateral', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" - } + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', + }, ], - name: "supply", + name: 'supply', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "onBehalfOf", - type: "address" + internalType: 'address', + name: 'onBehalfOf', + type: 'address', }, { - internalType: "uint16", - name: "referralCode", - type: "uint16" + internalType: 'uint16', + name: 'referralCode', + type: 'uint16', }, { - internalType: "uint256", - name: "deadline", - type: "uint256" + internalType: 'uint256', + name: 'deadline', + type: 'uint256', }, { - internalType: "uint8", - name: "permitV", - type: "uint8" + internalType: 'uint8', + name: 'permitV', + type: 'uint8', }, { - internalType: "bytes32", - name: "permitR", - type: "bytes32" + internalType: 'bytes32', + name: 'permitR', + type: 'bytes32', }, { - internalType: "bytes32", - name: "permitS", - type: "bytes32" - } + internalType: 'bytes32', + name: 'permitS', + type: 'bytes32', + }, ], - name: "supplyWithPermit", + name: 'supplyWithPermit', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "interestRateMode", - type: "uint256" - } + internalType: 'uint256', + name: 'interestRateMode', + type: 'uint256', + }, ], - name: "swapBorrowRateMode", + name: 'swapBorrowRateMode', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "bridgeProtocolFee", - type: "uint256" - } + internalType: 'uint256', + name: 'bridgeProtocolFee', + type: 'uint256', + }, ], - name: "updateBridgeProtocolFee", + name: 'updateBridgeProtocolFee', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "uint256", - name: "flashLoanPremiumTotal", - type: "uint256" + internalType: 'uint256', + name: 'flashLoanPremiumTotal', + type: 'uint256', }, { - internalType: "uint256", - name: "flashLoanPremiumToProtocol", - type: "uint256" - } + internalType: 'uint256', + name: 'flashLoanPremiumToProtocol', + type: 'uint256', + }, ], - name: "updateFlashloanPremiums", + name: 'updateFlashloanPremiums', outputs: [], - stateMutability: "nonpayable", - type: "function" + stateMutability: 'nonpayable', + type: 'function', }, { inputs: [ { - internalType: "address", - name: "asset", - type: "address" + internalType: 'address', + name: 'asset', + type: 'address', }, { - internalType: "uint256", - name: "amount", - type: "uint256" + internalType: 'uint256', + name: 'amount', + type: 'uint256', }, { - internalType: "address", - name: "to", - type: "address" - } + internalType: 'address', + name: 'to', + type: 'address', + }, ], - name: "withdraw", + name: 'withdraw', outputs: [ { - internalType: "uint256", - name: "", - type: "uint256" - } + internalType: 'uint256', + name: '', + type: 'uint256', + }, ], - stateMutability: "nonpayable", - type: "function" - } + stateMutability: 'nonpayable', + type: 'function', + }, ]; var IPool__factory = class { static createInterface() { @@ -47386,14 +51972,14 @@ var require_IPool_factory = __commonJS({ }; exports2.IPool__factory = IPool__factory; IPool__factory.abi = _abi; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/v3-pool-contract/index.js var require_v3_pool_contract = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/v3-pool-contract/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/v3-pool-contract/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.Pool = void 0; var tslib_1 = require_tslib(); var bytes_1 = require_lib2(); @@ -47406,994 +51992,1477 @@ var require_v3_pool_contract = __commonJS({ var erc20_2612_1 = require_erc20_2612(); var erc20_contract_1 = require_erc20_contract(); var paraswap_liquiditySwapAdapter_contract_1 = require_paraswap_liquiditySwapAdapter_contract(); - var paraswap_repayWithCollateralAdapter_contract_1 = require_paraswap_repayWithCollateralAdapter_contract(); + var paraswap_repayWithCollateralAdapter_contract_1 = + require_paraswap_repayWithCollateralAdapter_contract(); var synthetix_contract_1 = require_synthetix_contract(); var v3_pool_rollups_1 = require_v3_pool_rollups(); var wethgateway_contract_1 = require_wethgateway_contract(); var IPool__factory_1 = require_IPool_factory(); - var buildParaSwapLiquiditySwapParams = (assetToSwapTo, minAmountToReceive, swapAllBalanceOffset, swapCalldata, augustus, permitAmount, deadline, v, r, s) => { - return ethers_1.utils.defaultAbiCoder.encode([ - "address", - "uint256", - "uint256", - "bytes", - "address", - "tuple(uint256,uint256,uint8,bytes32,bytes32)" - ], [ - assetToSwapTo, - minAmountToReceive, - swapAllBalanceOffset, - swapCalldata, - augustus, - [permitAmount, deadline, v, r, s] - ]); + var buildParaSwapLiquiditySwapParams = ( + assetToSwapTo, + minAmountToReceive, + swapAllBalanceOffset, + swapCalldata, + augustus, + permitAmount, + deadline, + v, + r, + s + ) => { + return ethers_1.utils.defaultAbiCoder.encode( + [ + 'address', + 'uint256', + 'uint256', + 'bytes', + 'address', + 'tuple(uint256,uint256,uint8,bytes32,bytes32)', + ], + [ + assetToSwapTo, + minAmountToReceive, + swapAllBalanceOffset, + swapCalldata, + augustus, + [permitAmount, deadline, v, r, s], + ] + ); }; var Pool = class extends BaseService_1.default { constructor(provider, lendingPoolConfig) { super(provider, IPool__factory_1.IPool__factory); - const { POOL, FLASH_LIQUIDATION_ADAPTER, REPAY_WITH_COLLATERAL_ADAPTER, SWAP_COLLATERAL_ADAPTER, WETH_GATEWAY, L2_ENCODER } = lendingPoolConfig !== null && lendingPoolConfig !== void 0 ? lendingPoolConfig : {}; - this.poolAddress = POOL !== null && POOL !== void 0 ? POOL : ""; - this.flashLiquidationAddress = FLASH_LIQUIDATION_ADAPTER !== null && FLASH_LIQUIDATION_ADAPTER !== void 0 ? FLASH_LIQUIDATION_ADAPTER : ""; - this.swapCollateralAddress = SWAP_COLLATERAL_ADAPTER !== null && SWAP_COLLATERAL_ADAPTER !== void 0 ? SWAP_COLLATERAL_ADAPTER : ""; - this.repayWithCollateralAddress = REPAY_WITH_COLLATERAL_ADAPTER !== null && REPAY_WITH_COLLATERAL_ADAPTER !== void 0 ? REPAY_WITH_COLLATERAL_ADAPTER : ""; - this.l2EncoderAddress = L2_ENCODER !== null && L2_ENCODER !== void 0 ? L2_ENCODER : ""; + const { + POOL, + FLASH_LIQUIDATION_ADAPTER, + REPAY_WITH_COLLATERAL_ADAPTER, + SWAP_COLLATERAL_ADAPTER, + WETH_GATEWAY, + L2_ENCODER, + } = lendingPoolConfig !== null && lendingPoolConfig !== void 0 ? lendingPoolConfig : {}; + this.poolAddress = POOL !== null && POOL !== void 0 ? POOL : ''; + this.flashLiquidationAddress = + FLASH_LIQUIDATION_ADAPTER !== null && FLASH_LIQUIDATION_ADAPTER !== void 0 + ? FLASH_LIQUIDATION_ADAPTER + : ''; + this.swapCollateralAddress = + SWAP_COLLATERAL_ADAPTER !== null && SWAP_COLLATERAL_ADAPTER !== void 0 + ? SWAP_COLLATERAL_ADAPTER + : ''; + this.repayWithCollateralAddress = + REPAY_WITH_COLLATERAL_ADAPTER !== null && REPAY_WITH_COLLATERAL_ADAPTER !== void 0 + ? REPAY_WITH_COLLATERAL_ADAPTER + : ''; + this.l2EncoderAddress = L2_ENCODER !== null && L2_ENCODER !== void 0 ? L2_ENCODER : ''; this.erc20_2612Service = new erc20_2612_1.ERC20_2612Service(provider); this.erc20Service = new erc20_contract_1.ERC20Service(provider); this.synthetixService = new synthetix_contract_1.SynthetixService(provider); - this.wethGatewayService = new wethgateway_contract_1.WETHGatewayService(provider, this.erc20Service, WETH_GATEWAY); - this.liquiditySwapAdapterService = new paraswap_liquiditySwapAdapter_contract_1.LiquiditySwapAdapterService(provider, SWAP_COLLATERAL_ADAPTER); - this.paraswapRepayWithCollateralAdapterService = new paraswap_repayWithCollateralAdapter_contract_1.ParaswapRepayWithCollateral(provider, REPAY_WITH_COLLATERAL_ADAPTER); + this.wethGatewayService = new wethgateway_contract_1.WETHGatewayService( + provider, + this.erc20Service, + WETH_GATEWAY + ); + this.liquiditySwapAdapterService = + new paraswap_liquiditySwapAdapter_contract_1.LiquiditySwapAdapterService( + provider, + SWAP_COLLATERAL_ADAPTER + ); + this.paraswapRepayWithCollateralAdapterService = + new paraswap_repayWithCollateralAdapter_contract_1.ParaswapRepayWithCollateral( + provider, + REPAY_WITH_COLLATERAL_ADAPTER + ); this.l2PoolService = new v3_pool_rollups_1.L2Pool(provider, { l2PoolAddress: this.poolAddress, - encoderAddress: this.l2EncoderAddress + encoderAddress: this.l2EncoderAddress, }); } deposit(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, onBehalfOf, referralCode }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - return this.wethGatewayService.depositETH({ - lendingPool: this.poolAddress, + return __async( + this, + arguments, + function* ({ user, reserve, amount, onBehalfOf, referralCode }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + return this.wethGatewayService.depositETH({ + lendingPool: this.poolAddress, + user, + amount, + onBehalfOf, + referralCode, + }); + } + const { isApproved, approve, decimalsOf } = this.erc20Service; + const txs = []; + const reserveDecimals = yield decimalsOf(reserve); + const convertedAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); + const fundsAvailable = yield this.synthetixService.synthetixValidation({ user, - amount, - onBehalfOf, - referralCode + reserve, + amount: convertedAmount, }); - } - const { isApproved, approve, decimalsOf } = this.erc20Service; - const txs = []; - const reserveDecimals = yield decimalsOf(reserve); - const convertedAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); - const fundsAvailable = yield this.synthetixService.synthetixValidation({ - user, - reserve, - amount: convertedAmount - }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); - } - const approved = yield isApproved({ - token: reserve, - user, - spender: this.poolAddress, - amount - }); - if (!approved) { - const approveTx = approve({ - user, + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } + const approved = yield isApproved({ token: reserve, + user, spender: this.poolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT + amount, }); - txs.push(approveTx); + if (!approved) { + const approveTx = approve({ + user, + token: reserve, + spender: this.poolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); + } + const lendingPoolContract = this.getContractInstance(this.poolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.deposit( + reserve, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.supply), + }); + return txs; } - const lendingPoolContract = this.getContractInstance(this.poolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.deposit(reserve, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.supply) - }); - return txs; - }); + ); } supply(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, onBehalfOf, referralCode, useOptimizedPath }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - return this.wethGatewayService.depositETH({ - lendingPool: this.poolAddress, + return __async( + this, + arguments, + function* ({ user, reserve, amount, onBehalfOf, referralCode, useOptimizedPath }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + return this.wethGatewayService.depositETH({ + lendingPool: this.poolAddress, + user, + amount, + onBehalfOf, + referralCode, + }); + } + const { isApproved, approve, decimalsOf } = this.erc20Service; + const txs = []; + const reserveDecimals = yield decimalsOf(reserve); + const convertedAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); + const fundsAvailable = yield this.synthetixService.synthetixValidation({ user, - amount, - onBehalfOf, - referralCode + reserve, + amount: convertedAmount, }); - } - const { isApproved, approve, decimalsOf } = this.erc20Service; - const txs = []; - const reserveDecimals = yield decimalsOf(reserve); - const convertedAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); - const fundsAvailable = yield this.synthetixService.synthetixValidation({ - user, - reserve, - amount: convertedAmount - }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); - } - const approved = yield isApproved({ - token: reserve, - user, - spender: this.poolAddress, - amount - }); - if (!approved) { - const approveTx = approve({ - user, + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } + const approved = yield isApproved({ token: reserve, + user, spender: this.poolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT + amount, }); - txs.push(approveTx); - } - const lendingPoolContract = this.getContractInstance(this.poolAddress); - if (useOptimizedPath) { - return this.l2PoolService.supply({ user, reserve, amount: convertedAmount, referralCode }, txs); + if (!approved) { + const approveTx = approve({ + user, + token: reserve, + spender: this.poolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); + } + const lendingPoolContract = this.getContractInstance(this.poolAddress); + if (useOptimizedPath) { + return this.l2PoolService.supply( + { user, reserve, amount: convertedAmount, referralCode }, + txs + ); + } + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return lendingPoolContract.populateTransaction.supply( + reserve, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.supply), + }); + return txs; } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return lendingPoolContract.populateTransaction.supply(reserve, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.supply) - }); - return txs; - }); + ); } signERC20Approval(_0) { return __async(this, arguments, function* ({ user, reserve, amount, deadline }) { const { getTokenData, isApproved } = this.erc20Service; const { name: name2, decimals } = yield getTokenData(reserve); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); const approved = yield isApproved({ token: reserve, user, spender: this.poolAddress, - amount + amount, }); if (approved) { - return ""; + return ''; } const { chainId } = yield this.provider.getNetwork(); const nonce = yield this.erc20_2612Service.getNonce({ token: reserve, - owner: user + owner: user, }); if (nonce === null) { - return ""; + return ''; } const typeData = { types: { EIP712Domain: [ - { name: "name", type: "string" }, - { name: "version", type: "string" }, - { name: "chainId", type: "uint256" }, - { name: "verifyingContract", type: "address" } + { name: 'name', type: 'string' }, + { name: 'version', type: 'string' }, + { name: 'chainId', type: 'uint256' }, + { name: 'verifyingContract', type: 'address' }, ], Permit: [ - { name: "owner", type: "address" }, - { name: "spender", type: "address" }, - { name: "value", type: "uint256" }, - { name: "nonce", type: "uint256" }, - { name: "deadline", type: "uint256" } - ] + { name: 'owner', type: 'address' }, + { name: 'spender', type: 'address' }, + { name: 'value', type: 'uint256' }, + { name: 'nonce', type: 'uint256' }, + { name: 'deadline', type: 'uint256' }, + ], }, - primaryType: "Permit", + primaryType: 'Permit', domain: { name: name2, - version: "1", + version: '1', chainId, - verifyingContract: reserve + verifyingContract: reserve, }, message: { owner: user, spender: this.poolAddress, value: convertedAmount, nonce, - deadline - } + deadline, + }, }; return JSON.stringify(typeData); }); } supplyWithPermit(_0) { - return __async(this, arguments, function* ({ user, reserve, onBehalfOf, amount, referralCode, signature, useOptimizedPath, deadline }) { - const txs = []; - const { decimalsOf } = this.erc20Service; - const poolContract = this.getContractInstance(this.poolAddress); - const stakedTokenDecimals = yield decimalsOf(reserve); - const convertedAmount = (0, utils_1.valueToWei)(amount, stakedTokenDecimals); - const sig = (0, bytes_1.splitSignature)(signature); - const fundsAvailable = yield this.synthetixService.synthetixValidation({ + return __async( + this, + arguments, + function* ({ user, reserve, - amount: convertedAmount - }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); - } - if (useOptimizedPath) { - return this.l2PoolService.supplyWithPermit({ + onBehalfOf, + amount, + referralCode, + signature, + useOptimizedPath, + deadline, + }) { + const txs = []; + const { decimalsOf } = this.erc20Service; + const poolContract = this.getContractInstance(this.poolAddress); + const stakedTokenDecimals = yield decimalsOf(reserve); + const convertedAmount = (0, utils_1.valueToWei)(amount, stakedTokenDecimals); + const sig = (0, bytes_1.splitSignature)(signature); + const fundsAvailable = yield this.synthetixService.synthetixValidation({ user, reserve, amount: convertedAmount, - referralCode, - deadline, - permitV: sig.v, - permitR: sig.r, - permitS: sig.s - }, txs); + }); + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } + if (useOptimizedPath) { + return this.l2PoolService.supplyWithPermit( + { + user, + reserve, + amount: convertedAmount, + referralCode, + deadline, + permitV: sig.v, + permitR: sig.r, + permitS: sig.s, + }, + txs + ); + } + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.supplyWithPermit( + reserve, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + referralCode !== null && referralCode !== void 0 ? referralCode : 0, + deadline, + sig.v, + sig.r, + sig.s + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback), + }); + return txs; } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.supplyWithPermit(reserve, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, referralCode !== null && referralCode !== void 0 ? referralCode : 0, deadline, sig.v, sig.r, sig.s); - }), - from: user - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback) - }); - return txs; - }); + ); } withdraw(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, onBehalfOf, aTokenAddress, useOptimizedPath }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - if (!aTokenAddress) { - throw new Error("To withdraw ETH you need to pass the aWETH token address"); + return __async( + this, + arguments, + function* ({ user, reserve, amount, onBehalfOf, aTokenAddress, useOptimizedPath }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + if (!aTokenAddress) { + throw new Error('To withdraw ETH you need to pass the aWETH token address'); + } + return this.wethGatewayService.withdrawETH({ + lendingPool: this.poolAddress, + user, + amount, + onBehalfOf, + aTokenAddress, + }); } - return this.wethGatewayService.withdrawETH({ - lendingPool: this.poolAddress, - user, - amount, - onBehalfOf, - aTokenAddress - }); - } - const { decimalsOf } = this.erc20Service; - const decimals = yield decimalsOf(reserve); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); - if (useOptimizedPath) { - return this.l2PoolService.withdraw({ - user, - reserve, - amount: convertedAmount + const { decimalsOf } = this.erc20Service; + const decimals = yield decimalsOf(reserve); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); + if (useOptimizedPath) { + return this.l2PoolService.withdraw({ + user, + reserve, + amount: convertedAmount, + }); + } + const poolContract = this.getContractInstance(this.poolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.withdraw( + reserve, + convertedAmount, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, + action: types_1.ProtocolAction.withdraw, }); + return [ + { + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + [], + txCallback, + types_1.ProtocolAction.withdraw + ), + }, + ]; } - const poolContract = this.getContractInstance(this.poolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.withdraw(reserve, convertedAmount, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user, - action: types_1.ProtocolAction.withdraw - }); - return [ - { - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.withdraw) - } - ]; - }); + ); } borrow(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, interestRateMode, debtTokenAddress, onBehalfOf, referralCode, useOptimizedPath }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - if (!debtTokenAddress) { - throw new Error(`To borrow ETH you need to pass the stable or variable WETH debt Token Address corresponding the interestRateMode`); + return __async( + this, + arguments, + function* ({ + user, + reserve, + amount, + interestRateMode, + debtTokenAddress, + onBehalfOf, + referralCode, + useOptimizedPath, + }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + if (!debtTokenAddress) { + throw new Error( + `To borrow ETH you need to pass the stable or variable WETH debt Token Address corresponding the interestRateMode` + ); + } + return this.wethGatewayService.borrowETH({ + lendingPool: this.poolAddress, + user, + amount, + debtTokenAddress, + interestRateMode, + referralCode, + }); } - return this.wethGatewayService.borrowETH({ - lendingPool: this.poolAddress, - user, - amount, - debtTokenAddress, - interestRateMode, - referralCode - }); - } - const { decimalsOf } = this.erc20Service; - const reserveDecimals = yield decimalsOf(reserve); - const formatAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - if (useOptimizedPath) { - return this.l2PoolService.borrow({ - user, - reserve, - amount: formatAmount, - numericRateMode, - referralCode + const { decimalsOf } = this.erc20Service; + const reserveDecimals = yield decimalsOf(reserve); + const formatAmount = (0, utils_1.valueToWei)(amount, reserveDecimals); + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + if (useOptimizedPath) { + return this.l2PoolService.borrow({ + user, + reserve, + amount: formatAmount, + numericRateMode, + referralCode, + }); + } + const poolContract = this.getContractInstance(this.poolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.borrow( + reserve, + formatAmount, + numericRateMode, + referralCode !== null && referralCode !== void 0 ? referralCode : 0, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, }); + return [ + { + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation([], txCallback), + }, + ]; } - const poolContract = this.getContractInstance(this.poolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.borrow(reserve, formatAmount, numericRateMode, referralCode !== null && referralCode !== void 0 ? referralCode : 0, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user - }); - return [ - { - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) + ); + } + repay(_0) { + return __async( + this, + arguments, + function* ({ user, reserve, amount, interestRateMode, onBehalfOf, useOptimizedPath }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + return this.wethGatewayService.repayETH({ + lendingPool: this.poolAddress, + user, + amount, + interestRateMode, + onBehalfOf, + }); + } + const txs = []; + const { isApproved, approve, decimalsOf } = this.erc20Service; + const poolContract = this.getContractInstance(this.poolAddress); + const { populateTransaction } = poolContract; + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + const decimals = yield decimalsOf(reserve); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); + if (amount !== '-1') { + const fundsAvailable = yield this.synthetixService.synthetixValidation({ + user, + reserve, + amount: convertedAmount, + }); + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } } - ]; - }); - } - repay(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, interestRateMode, onBehalfOf, useOptimizedPath }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - return this.wethGatewayService.repayETH({ - lendingPool: this.poolAddress, + const approved = yield isApproved({ + token: reserve, user, + spender: this.poolAddress, amount, - interestRateMode, - onBehalfOf - }); - } - const txs = []; - const { isApproved, approve, decimalsOf } = this.erc20Service; - const poolContract = this.getContractInstance(this.poolAddress); - const { populateTransaction } = poolContract; - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - const decimals = yield decimalsOf(reserve); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); - if (amount !== "-1") { - const fundsAvailable = yield this.synthetixService.synthetixValidation({ - user, - reserve, - amount: convertedAmount }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); + if (!approved) { + const approveTx = approve({ + user, + token: reserve, + spender: this.poolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); + } + if (useOptimizedPath) { + return this.l2PoolService.repay( + { + user, + reserve, + amount: convertedAmount, + numericRateMode, + }, + txs + ); } - } - const approved = yield isApproved({ - token: reserve, - user, - spender: this.poolAddress, - amount - }); - if (!approved) { - const approveTx = approve({ - user, - token: reserve, - spender: this.poolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return populateTransaction.repay( + reserve, + convertedAmount, + numericRateMode, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), }); - txs.push(approveTx); - } - if (useOptimizedPath) { - return this.l2PoolService.repay({ - user, - reserve, - amount: convertedAmount, - numericRateMode - }, txs); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return populateTransaction.repay(reserve, convertedAmount, numericRateMode, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + ); } repayWithPermit(_0) { - return __async(this, arguments, function* ({ user, reserve, amount, interestRateMode, onBehalfOf, signature, useOptimizedPath, deadline }) { - const txs = []; - const { decimalsOf } = this.erc20Service; - const poolContract = this.getContractInstance(this.poolAddress); - const { populateTransaction } = poolContract; - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - const decimals = yield decimalsOf(reserve); - const sig = ethers_1.utils.splitSignature(signature); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); - if (amount !== "-1") { - const fundsAvailable = yield this.synthetixService.synthetixValidation({ - user, - reserve, - amount: convertedAmount - }); - if (!fundsAvailable) { - throw new Error("Not enough funds to execute operation"); + return __async( + this, + arguments, + function* ({ + user, + reserve, + amount, + interestRateMode, + onBehalfOf, + signature, + useOptimizedPath, + deadline, + }) { + const txs = []; + const { decimalsOf } = this.erc20Service; + const poolContract = this.getContractInstance(this.poolAddress); + const { populateTransaction } = poolContract; + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + const decimals = yield decimalsOf(reserve); + const sig = ethers_1.utils.splitSignature(signature); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); + if (amount !== '-1') { + const fundsAvailable = yield this.synthetixService.synthetixValidation({ + user, + reserve, + amount: convertedAmount, + }); + if (!fundsAvailable) { + throw new Error('Not enough funds to execute operation'); + } } + if (useOptimizedPath) { + return this.l2PoolService.repayWithPermit( + { + user, + reserve, + amount: convertedAmount, + numericRateMode, + deadline, + permitR: sig.r, + permitS: sig.s, + permitV: sig.v, + }, + txs + ); + } + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return populateTransaction.repayWithPermit( + reserve, + convertedAmount, + numericRateMode, + onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, + deadline, + sig.v, + sig.r, + sig.s + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; } - if (useOptimizedPath) { - return this.l2PoolService.repayWithPermit({ - user, - reserve, - amount: convertedAmount, - numericRateMode, - deadline, - permitR: sig.r, - permitS: sig.s, - permitV: sig.v - }, txs); - } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return populateTransaction.repayWithPermit(reserve, convertedAmount, numericRateMode, onBehalfOf !== null && onBehalfOf !== void 0 ? onBehalfOf : user, deadline, sig.v, sig.r, sig.s); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + ); } swapBorrowRateMode(_0) { - return __async(this, arguments, function* ({ user, reserve, interestRateMode, useOptimizedPath }) { - const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; - if (useOptimizedPath) { - return this.l2PoolService.swapBorrowRateMode({ - user, - reserve, - numericRateMode + return __async( + this, + arguments, + function* ({ user, reserve, interestRateMode, useOptimizedPath }) { + const numericRateMode = interestRateMode === types_1.InterestRate.Variable ? 2 : 1; + if (useOptimizedPath) { + return this.l2PoolService.swapBorrowRateMode({ + user, + reserve, + numericRateMode, + }); + } + const poolContract = this.getContractInstance(this.poolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.swapBorrowRateMode( + reserve, + numericRateMode + ); + }), + from: user, }); + return [ + { + txType: types_1.eEthereumTxType.DLP_ACTION, + tx: txCallback, + gas: this.generateTxPriceEstimation([], txCallback), + }, + ]; } - const poolContract = this.getContractInstance(this.poolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.swapBorrowRateMode(reserve, numericRateMode); - }), - from: user - }); - return [ - { - txType: types_1.eEthereumTxType.DLP_ACTION, - tx: txCallback, - gas: this.generateTxPriceEstimation([], txCallback) - } - ]; - }); + ); } setUsageAsCollateral(_0) { - return __async(this, arguments, function* ({ user, reserve, usageAsCollateral, useOptimizedPath }) { - const poolContract = this.getContractInstance(this.poolAddress); - if (useOptimizedPath) { - return this.l2PoolService.setUserUseReserveAsCollateral({ - user, - reserve, - usageAsCollateral + return __async( + this, + arguments, + function* ({ user, reserve, usageAsCollateral, useOptimizedPath }) { + const poolContract = this.getContractInstance(this.poolAddress); + if (useOptimizedPath) { + return this.l2PoolService.setUserUseReserveAsCollateral({ + user, + reserve, + usageAsCollateral, + }); + } + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.setUserUseReserveAsCollateral( + reserve, + usageAsCollateral + ); + }), + from: user, }); + return [ + { + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation([], txCallback), + }, + ]; } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.setUserUseReserveAsCollateral(reserve, usageAsCollateral); - }), - from: user - }); - return [ - { - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback) - } - ]; - }); + ); } liquidationCall(_0) { - return __async(this, arguments, function* ({ liquidator, liquidatedUser, debtReserve, collateralReserve, purchaseAmount, getAToken, liquidateAll, useOptimizedPath }) { - const txs = []; - const { isApproved, approve, decimalsOf } = this.erc20Service; - const approved = yield isApproved({ - token: debtReserve, - user: liquidator, - spender: this.poolAddress, - amount: purchaseAmount - }); - if (!approved) { - const approveTx = approve({ - user: liquidator, + return __async( + this, + arguments, + function* ({ + liquidator, + liquidatedUser, + debtReserve, + collateralReserve, + purchaseAmount, + getAToken, + liquidateAll, + useOptimizedPath, + }) { + const txs = []; + const { isApproved, approve, decimalsOf } = this.erc20Service; + const approved = yield isApproved({ token: debtReserve, + user: liquidator, spender: this.poolAddress, - amount: utils_1.DEFAULT_APPROVE_AMOUNT - }); - txs.push(approveTx); - } - let convertedAmount = ethers_1.constants.MaxUint256.toString(); - if (!liquidateAll) { - const reserveDecimals = yield decimalsOf(debtReserve); - convertedAmount = (0, utils_1.valueToWei)(purchaseAmount, reserveDecimals); - } - if (useOptimizedPath) { - return this.l2PoolService.liquidationCall({ - liquidator, - liquidatedUser, - debtReserve, - collateralReserve, - debtToCover: convertedAmount, - getAToken - }, txs); - } - const poolContract = this.getContractInstance(this.poolAddress); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.liquidationCall(collateralReserve, debtReserve, liquidatedUser, convertedAmount, getAToken !== null && getAToken !== void 0 ? getAToken : false); - }), - from: liquidator, - value: (0, utils_1.getTxValue)(debtReserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.liquidationCall) - }); - return txs; - }); - } - swapCollateral(_0) { - return __async(this, arguments, function* ({ user, flash, fromAsset, fromAToken, toAsset, fromAmount, minToAmount, permitSignature, swapAll, referralCode, augustus, swapCallData }) { - const txs = []; - const permitParams = permitSignature !== null && permitSignature !== void 0 ? permitSignature : { - amount: "0", - deadline: "0", - v: 0, - r: "0x0000000000000000000000000000000000000000000000000000000000000000", - s: "0x0000000000000000000000000000000000000000000000000000000000000000" - }; - const approved = yield this.erc20Service.isApproved({ - token: fromAToken, - user, - spender: this.swapCollateralAddress, - amount: fromAmount - }); - if (!approved) { - const approveTx = this.erc20Service.approve({ - user, - token: fromAToken, - spender: this.swapCollateralAddress, - amount: ethers_1.constants.MaxUint256.toString() + amount: purchaseAmount, }); - txs.push(approveTx); - } - const tokenDecimals = yield this.erc20Service.decimalsOf(fromAsset); - const convertedAmount = (0, utils_1.valueToWei)(fromAmount, tokenDecimals); - const tokenToDecimals = yield this.erc20Service.decimalsOf(toAsset); - const amountSlippageConverted = (0, utils_1.valueToWei)(minToAmount, tokenToDecimals); - const poolContract = this.getContractInstance(this.poolAddress); - if (flash) { - const params = buildParaSwapLiquiditySwapParams(toAsset, amountSlippageConverted, swapAll ? (0, paraswap_liquiditySwapAdapter_contract_1.augustusFromAmountOffsetFromCalldata)(swapCallData) : 0, swapCallData, augustus, permitParams.amount, permitParams.deadline, permitParams.v, permitParams.r, permitParams.s); - const amountWithSurplus = (Number(fromAmount) + Number(fromAmount) * Number(utils_1.SURPLUS) / 100).toString(); - const convertedAmountWithSurplus = (0, utils_1.valueToWei)(amountWithSurplus, tokenDecimals); + if (!approved) { + const approveTx = approve({ + user: liquidator, + token: debtReserve, + spender: this.poolAddress, + amount: utils_1.DEFAULT_APPROVE_AMOUNT, + }); + txs.push(approveTx); + } + let convertedAmount = ethers_1.constants.MaxUint256.toString(); + if (!liquidateAll) { + const reserveDecimals = yield decimalsOf(debtReserve); + convertedAmount = (0, utils_1.valueToWei)(purchaseAmount, reserveDecimals); + } + if (useOptimizedPath) { + return this.l2PoolService.liquidationCall( + { + liquidator, + liquidatedUser, + debtReserve, + collateralReserve, + debtToCover: convertedAmount, + getAToken, + }, + txs + ); + } + const poolContract = this.getContractInstance(this.poolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.flashLoanSimple(this.swapCollateralAddress, fromAsset, swapAll ? convertedAmountWithSurplus : convertedAmount, params, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.liquidationCall( + collateralReserve, + debtReserve, + liquidatedUser, + convertedAmount, + getAToken !== null && getAToken !== void 0 ? getAToken : false + ); + }), + from: liquidator, + value: (0, utils_1.getTxValue)(debtReserve, convertedAmount), }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.swapCollateral) + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.liquidationCall + ), }); return txs; } - const swapAndDepositTx = this.liquiditySwapAdapterService.swapAndDeposit({ + ); + } + swapCollateral(_0) { + return __async( + this, + arguments, + function* ({ user, - assetToSwapFrom: fromAsset, - assetToSwapTo: toAsset, - amountToSwap: convertedAmount, - minAmountToReceive: amountSlippageConverted, + flash, + fromAsset, + fromAToken, + toAsset, + fromAmount, + minToAmount, + permitSignature, swapAll, - swapCallData, + referralCode, augustus, - permitParams - }, txs); - txs.push(swapAndDepositTx); - return txs; - }); + swapCallData, + }) { + const txs = []; + const permitParams = + permitSignature !== null && permitSignature !== void 0 + ? permitSignature + : { + amount: '0', + deadline: '0', + v: 0, + r: '0x0000000000000000000000000000000000000000000000000000000000000000', + s: '0x0000000000000000000000000000000000000000000000000000000000000000', + }; + const approved = yield this.erc20Service.isApproved({ + token: fromAToken, + user, + spender: this.swapCollateralAddress, + amount: fromAmount, + }); + if (!approved) { + const approveTx = this.erc20Service.approve({ + user, + token: fromAToken, + spender: this.swapCollateralAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveTx); + } + const tokenDecimals = yield this.erc20Service.decimalsOf(fromAsset); + const convertedAmount = (0, utils_1.valueToWei)(fromAmount, tokenDecimals); + const tokenToDecimals = yield this.erc20Service.decimalsOf(toAsset); + const amountSlippageConverted = (0, utils_1.valueToWei)(minToAmount, tokenToDecimals); + const poolContract = this.getContractInstance(this.poolAddress); + if (flash) { + const params = buildParaSwapLiquiditySwapParams( + toAsset, + amountSlippageConverted, + swapAll + ? (0, + paraswap_liquiditySwapAdapter_contract_1.augustusFromAmountOffsetFromCalldata)( + swapCallData + ) + : 0, + swapCallData, + augustus, + permitParams.amount, + permitParams.deadline, + permitParams.v, + permitParams.r, + permitParams.s + ); + const amountWithSurplus = ( + Number(fromAmount) + + (Number(fromAmount) * Number(utils_1.SURPLUS)) / 100 + ).toString(); + const convertedAmountWithSurplus = (0, utils_1.valueToWei)( + amountWithSurplus, + tokenDecimals + ); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.flashLoanSimple( + this.swapCollateralAddress, + fromAsset, + swapAll ? convertedAmountWithSurplus : convertedAmount, + params, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.swapCollateral + ), + }); + return txs; + } + const swapAndDepositTx = this.liquiditySwapAdapterService.swapAndDeposit( + { + user, + assetToSwapFrom: fromAsset, + assetToSwapTo: toAsset, + amountToSwap: convertedAmount, + minAmountToReceive: amountSlippageConverted, + swapAll, + swapCallData, + augustus, + permitParams, + }, + txs + ); + txs.push(swapAndDepositTx); + return txs; + } + ); } paraswapRepayWithCollateral(_0) { - return __async(this, arguments, function* ({ user, fromAsset, fromAToken, assetToRepay, repayWithAmount, repayAmount, permitSignature, repayAllDebt, rateMode, referralCode, flash, swapAndRepayCallData, augustus }) { - const txs = []; - const permitParams = permitSignature !== null && permitSignature !== void 0 ? permitSignature : { - amount: "0", - deadline: "0", - v: 0, - r: "0x0000000000000000000000000000000000000000000000000000000000000000", - s: "0x0000000000000000000000000000000000000000000000000000000000000000" - }; - const approved = yield this.erc20Service.isApproved({ - token: fromAToken, + return __async( + this, + arguments, + function* ({ user, - spender: this.repayWithCollateralAddress, - amount: repayWithAmount - }); - if (!approved) { - const approveTx = this.erc20Service.approve({ - user, + fromAsset, + fromAToken, + assetToRepay, + repayWithAmount, + repayAmount, + permitSignature, + repayAllDebt, + rateMode, + referralCode, + flash, + swapAndRepayCallData, + augustus, + }) { + const txs = []; + const permitParams = + permitSignature !== null && permitSignature !== void 0 + ? permitSignature + : { + amount: '0', + deadline: '0', + v: 0, + r: '0x0000000000000000000000000000000000000000000000000000000000000000', + s: '0x0000000000000000000000000000000000000000000000000000000000000000', + }; + const approved = yield this.erc20Service.isApproved({ token: fromAToken, + user, spender: this.repayWithCollateralAddress, - amount: ethers_1.constants.MaxUint256.toString() + amount: repayWithAmount, }); - txs.push(approveTx); + if (!approved) { + const approveTx = this.erc20Service.approve({ + user, + token: fromAToken, + spender: this.repayWithCollateralAddress, + amount: ethers_1.constants.MaxUint256.toString(), + }); + txs.push(approveTx); + } + const fromDecimals = yield this.erc20Service.decimalsOf(fromAsset); + const convertedRepayWithAmount = (0, utils_1.valueToWei)(repayWithAmount, fromDecimals); + const repayWithAmountWithSurplus = ( + Number(repayWithAmount) + + (Number(repayWithAmount) * Number(utils_1.SURPLUS)) / 100 + ).toString(); + const convertedRepayWithAmountWithSurplus = (0, utils_1.valueToWei)( + repayWithAmountWithSurplus, + fromDecimals + ); + const decimals = yield this.erc20Service.decimalsOf(assetToRepay); + const convertedRepayAmount = (0, utils_1.valueToWei)(repayAmount, decimals); + const numericInterestRate = rateMode === types_1.InterestRate.Stable ? 1 : 2; + if (flash) { + const callDataEncoded = ethers_1.utils.defaultAbiCoder.encode( + ['bytes', 'address'], + [swapAndRepayCallData, augustus] + ); + const params = ethers_1.utils.defaultAbiCoder.encode( + [ + 'address', + 'uint256', + 'uint256', + 'uint256', + 'bytes', + 'uint256', + 'uint256', + 'uint8', + 'bytes32', + 'bytes32', + ], + [ + assetToRepay, + convertedRepayAmount, + repayAllDebt + ? (0, utils_1.augustusToAmountOffsetFromCalldata)(swapAndRepayCallData) + : 0, + numericInterestRate, + callDataEncoded, + permitParams.amount, + permitParams.deadline, + permitParams.v, + permitParams.r, + permitParams.s, + ] + ); + const poolContract = this.getContractInstance(this.poolAddress); + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.flashLoanSimple( + this.repayWithCollateralAddress, + fromAsset, + repayAllDebt ? convertedRepayWithAmountWithSurplus : convertedRepayWithAmount, + params, + referralCode !== null && referralCode !== void 0 ? referralCode : '0' + ); + }), + from: user, + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.repayCollateral + ), + }); + return txs; + } + const swapAndRepayTx = this.paraswapRepayWithCollateralAdapterService.swapAndRepay( + { + user, + collateralAsset: fromAsset, + debtAsset: assetToRepay, + collateralAmount: convertedRepayWithAmount, + debtRepayAmount: convertedRepayAmount, + debtRateMode: rateMode, + permitParams, + repayAll: repayAllDebt !== null && repayAllDebt !== void 0 ? repayAllDebt : false, + swapAndRepayCallData, + augustus, + }, + txs + ); + txs.push(swapAndRepayTx); + return txs; } - const fromDecimals = yield this.erc20Service.decimalsOf(fromAsset); - const convertedRepayWithAmount = (0, utils_1.valueToWei)(repayWithAmount, fromDecimals); - const repayWithAmountWithSurplus = (Number(repayWithAmount) + Number(repayWithAmount) * Number(utils_1.SURPLUS) / 100).toString(); - const convertedRepayWithAmountWithSurplus = (0, utils_1.valueToWei)(repayWithAmountWithSurplus, fromDecimals); - const decimals = yield this.erc20Service.decimalsOf(assetToRepay); - const convertedRepayAmount = (0, utils_1.valueToWei)(repayAmount, decimals); - const numericInterestRate = rateMode === types_1.InterestRate.Stable ? 1 : 2; - if (flash) { - const callDataEncoded = ethers_1.utils.defaultAbiCoder.encode(["bytes", "address"], [swapAndRepayCallData, augustus]); - const params = ethers_1.utils.defaultAbiCoder.encode([ - "address", - "uint256", - "uint256", - "uint256", - "bytes", - "uint256", - "uint256", - "uint8", - "bytes32", - "bytes32" - ], [ - assetToRepay, - convertedRepayAmount, - repayAllDebt ? (0, utils_1.augustusToAmountOffsetFromCalldata)(swapAndRepayCallData) : 0, - numericInterestRate, - callDataEncoded, - permitParams.amount, - permitParams.deadline, - permitParams.v, - permitParams.r, - permitParams.s - ]); + ); + } + flashLiquidation(_0) { + return __async( + this, + arguments, + function* ({ + user, + collateralAsset, + borrowedAsset, + debtTokenCover, + liquidateAll, + initiator, + useEthPath, + }) { + const addSurplus = (amount) => { + return (Number(amount) + (Number(amount) * Number(amount)) / 100).toString(); + }; + const txs = []; const poolContract = this.getContractInstance(this.poolAddress); + const tokenDecimals = yield this.erc20Service.decimalsOf(borrowedAsset); + const convertedDebt = (0, utils_1.valueToWei)(debtTokenCover, tokenDecimals); + const convertedDebtTokenCover = liquidateAll + ? ethers_1.constants.MaxUint256.toString() + : convertedDebt; + const flashBorrowAmount = liquidateAll + ? (0, utils_1.valueToWei)(addSurplus(debtTokenCover), tokenDecimals) + : convertedDebt; + const params = ethers_1.utils.defaultAbiCoder.encode( + ['address', 'address', 'address', 'uint256', 'bool'], + [ + collateralAsset, + borrowedAsset, + user, + convertedDebtTokenCover, + useEthPath !== null && useEthPath !== void 0 ? useEthPath : false, + ] + ); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.flashLoanSimple(this.repayWithCollateralAddress, fromAsset, repayAllDebt ? convertedRepayWithAmountWithSurplus : convertedRepayWithAmount, params, referralCode !== null && referralCode !== void 0 ? referralCode : "0"); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.flashLoanSimple( + this.flashLiquidationAddress, + borrowedAsset, + flashBorrowAmount, + params, + '0' + ); + }), + from: initiator, }); txs.push({ tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repayCollateral) + gas: this.generateTxPriceEstimation( + txs, + txCallback, + types_1.ProtocolAction.liquidationFlash + ), }); return txs; } - const swapAndRepayTx = this.paraswapRepayWithCollateralAdapterService.swapAndRepay({ - user, - collateralAsset: fromAsset, - debtAsset: assetToRepay, - collateralAmount: convertedRepayWithAmount, - debtRepayAmount: convertedRepayAmount, - debtRateMode: rateMode, - permitParams, - repayAll: repayAllDebt !== null && repayAllDebt !== void 0 ? repayAllDebt : false, - swapAndRepayCallData, - augustus - }, txs); - txs.push(swapAndRepayTx); - return txs; - }); - } - flashLiquidation(_0) { - return __async(this, arguments, function* ({ user, collateralAsset, borrowedAsset, debtTokenCover, liquidateAll, initiator, useEthPath }) { - const addSurplus = (amount) => { - return (Number(amount) + Number(amount) * Number(amount) / 100).toString(); - }; - const txs = []; - const poolContract = this.getContractInstance(this.poolAddress); - const tokenDecimals = yield this.erc20Service.decimalsOf(borrowedAsset); - const convertedDebt = (0, utils_1.valueToWei)(debtTokenCover, tokenDecimals); - const convertedDebtTokenCover = liquidateAll ? ethers_1.constants.MaxUint256.toString() : convertedDebt; - const flashBorrowAmount = liquidateAll ? (0, utils_1.valueToWei)(addSurplus(debtTokenCover), tokenDecimals) : convertedDebt; - const params = ethers_1.utils.defaultAbiCoder.encode(["address", "address", "address", "uint256", "bool"], [ - collateralAsset, - borrowedAsset, - user, - convertedDebtTokenCover, - useEthPath !== null && useEthPath !== void 0 ? useEthPath : false - ]); - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.flashLoanSimple(this.flashLiquidationAddress, borrowedAsset, flashBorrowAmount, params, "0"); - }), - from: initiator - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.liquidationFlash) - }); - return txs; - }); + ); } repayWithATokens(_0) { - return __async(this, arguments, function* ({ user, amount, reserve, rateMode, useOptimizedPath }) { - if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { - throw new Error("Can not repay with aTokens with eth. Should be WETH instead"); - } - const txs = []; - const { decimalsOf } = this.erc20Service; - const poolContract = this.getContractInstance(this.poolAddress); - const { populateTransaction } = poolContract; - const numericRateMode = rateMode === types_1.InterestRate.Variable ? 2 : 1; - const decimals = yield decimalsOf(reserve); - const convertedAmount = amount === "-1" ? ethers_1.constants.MaxUint256.toString() : (0, utils_1.valueToWei)(amount, decimals); - if (useOptimizedPath) { - return this.l2PoolService.repayWithATokens({ - user, - reserve, - amount: convertedAmount, - numericRateMode - }, txs); + return __async( + this, + arguments, + function* ({ user, amount, reserve, rateMode, useOptimizedPath }) { + if (reserve.toLowerCase() === utils_1.API_ETH_MOCK_ADDRESS.toLowerCase()) { + throw new Error('Can not repay with aTokens with eth. Should be WETH instead'); + } + const txs = []; + const { decimalsOf } = this.erc20Service; + const poolContract = this.getContractInstance(this.poolAddress); + const { populateTransaction } = poolContract; + const numericRateMode = rateMode === types_1.InterestRate.Variable ? 2 : 1; + const decimals = yield decimalsOf(reserve); + const convertedAmount = + amount === '-1' + ? ethers_1.constants.MaxUint256.toString() + : (0, utils_1.valueToWei)(amount, decimals); + if (useOptimizedPath) { + return this.l2PoolService.repayWithATokens( + { + user, + reserve, + amount: convertedAmount, + numericRateMode, + }, + txs + ); + } + const txCallback = this.generateTxCallback({ + rawTxMethod: () => + __async(this, null, function* () { + return populateTransaction.repayWithATokens( + reserve, + convertedAmount, + numericRateMode + ); + }), + from: user, + value: (0, utils_1.getTxValue)(reserve, convertedAmount), + }); + txs.push({ + tx: txCallback, + txType: types_1.eEthereumTxType.DLP_ACTION, + gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay), + }); + return txs; } - const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return populateTransaction.repayWithATokens(reserve, convertedAmount, numericRateMode); - }), - from: user, - value: (0, utils_1.getTxValue)(reserve, convertedAmount) - }); - txs.push({ - tx: txCallback, - txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation(txs, txCallback, types_1.ProtocolAction.repay) - }); - return txs; - }); + ); } setUserEMode({ user, categoryId }) { const poolContract = this.getContractInstance(this.poolAddress); const txCallback = this.generateTxCallback({ - rawTxMethod: () => __async(this, null, function* () { - return poolContract.populateTransaction.setUserEMode(categoryId); - }), - from: user + rawTxMethod: () => + __async(this, null, function* () { + return poolContract.populateTransaction.setUserEMode(categoryId); + }), + from: user, }); return [ { tx: txCallback, txType: types_1.eEthereumTxType.DLP_ACTION, - gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.repay) - } + gas: this.generateTxPriceEstimation([], txCallback, types_1.ProtocolAction.repay), + }, ]; } }; - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "deposit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "supply", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "signERC20Approval", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("referralCode")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "supplyWithPermit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("aTokenAddress")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "withdraw", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtTokenAddress")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "borrow", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "repay", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("onBehalfOf")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "repayWithPermit", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "swapBorrowRateMode", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "setUsageAsCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("liquidator")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("liquidatedUser")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("debtReserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("collateralReserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("purchaseAmount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "liquidationCall", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPSwapCollateralValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("toAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("augustus")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("fromAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("minToAmount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "swapCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPRepayWithCollateralValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("fromAToken")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("assetToRepay")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("repayWithAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("repayAmount")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("augustus")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "paraswapRepayWithCollateral", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPFlashLiquidationValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("collateralAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("borrowedAsset")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)("debtTokenCover")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("initiator")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "flashLiquidation", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("reserve")), - (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)("amount")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Promise) - ], Pool.prototype, "repayWithATokens", null); - (0, tslib_1.__decorate)([ - methodValidators_1.LPValidatorV3, - (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)("user")), - (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)("categoryId")), - (0, tslib_1.__metadata)("design:type", Function), - (0, tslib_1.__metadata)("design:paramtypes", [Object]), - (0, tslib_1.__metadata)("design:returntype", Array) - ], Pool.prototype, "setUserEMode", null); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'deposit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'supply', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'signERC20Approval', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('referralCode')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'supplyWithPermit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('aTokenAddress')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'withdraw', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtTokenAddress')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'borrow', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'repay', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('onBehalfOf')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'repayWithPermit', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'swapBorrowRateMode', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'setUsageAsCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('liquidator')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('liquidatedUser')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('debtReserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('collateralReserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('purchaseAmount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'liquidationCall', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPSwapCollateralValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('toAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('augustus')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('fromAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('minToAmount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'swapCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPRepayWithCollateralValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('fromAToken')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('assetToRepay')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('repayWithAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('repayAmount')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('augustus')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'paraswapRepayWithCollateral', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPFlashLiquidationValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('collateralAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('borrowedAsset')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveAmount)('debtTokenCover')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('initiator')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'flashLiquidation', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('reserve')), + (0, tslib_1.__param)(0, (0, paramValidators_1.isPositiveOrMinusOneAmount)('amount')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Promise), + ], + Pool.prototype, + 'repayWithATokens', + null + ); + (0, tslib_1.__decorate)( + [ + methodValidators_1.LPValidatorV3, + (0, tslib_1.__param)(0, (0, paramValidators_1.isEthAddress)('user')), + (0, tslib_1.__param)(0, (0, paramValidators_1.is0OrPositiveAmount)('categoryId')), + (0, tslib_1.__metadata)('design:type', Function), + (0, tslib_1.__metadata)('design:paramtypes', [Object]), + (0, tslib_1.__metadata)('design:returntype', Array), + ], + Pool.prototype, + 'setUserEMode', + null + ); exports2.Pool = Pool; - } + }, }); // node_modules/unfetch/dist/unfetch.js var require_unfetch = __commonJS({ - "node_modules/unfetch/dist/unfetch.js"(exports2, module2) { - module2.exports = function(e, n) { - return n = n || {}, new Promise(function(t, r) { - var s = new XMLHttpRequest(), o = [], u = [], i = {}, a = function() { - return { ok: 2 == (s.status / 100 | 0), statusText: s.statusText, status: s.status, url: s.responseURL, text: function() { - return Promise.resolve(s.responseText); - }, json: function() { - return Promise.resolve(s.responseText).then(JSON.parse); - }, blob: function() { - return Promise.resolve(new Blob([s.response])); - }, clone: a, headers: { keys: function() { - return o; - }, entries: function() { - return u; - }, get: function(e2) { - return i[e2.toLowerCase()]; - }, has: function(e2) { - return e2.toLowerCase() in i; - } } }; - }; - for (var l in s.open(n.method || "get", e, true), s.onload = function() { - s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(e2, n2, t2) { - o.push(n2 = n2.toLowerCase()), u.push([n2, t2]), i[n2] = i[n2] ? i[n2] + "," + t2 : t2; - }), t(a()); - }, s.onerror = r, s.withCredentials = "include" == n.credentials, n.headers) - s.setRequestHeader(l, n.headers[l]); - s.send(n.body || null); - }); + 'node_modules/unfetch/dist/unfetch.js'(exports2, module2) { + module2.exports = function (e, n) { + return ( + (n = n || {}), + new Promise(function (t, r) { + var s = new XMLHttpRequest(), + o = [], + u = [], + i = {}, + a = function () { + return { + ok: 2 == ((s.status / 100) | 0), + statusText: s.statusText, + status: s.status, + url: s.responseURL, + text: function () { + return Promise.resolve(s.responseText); + }, + json: function () { + return Promise.resolve(s.responseText).then(JSON.parse); + }, + blob: function () { + return Promise.resolve(new Blob([s.response])); + }, + clone: a, + headers: { + keys: function () { + return o; + }, + entries: function () { + return u; + }, + get: function (e2) { + return i[e2.toLowerCase()]; + }, + has: function (e2) { + return e2.toLowerCase() in i; + }, + }, + }; + }; + for (var l in (s.open(n.method || 'get', e, true), + (s.onload = function () { + s + .getAllResponseHeaders() + .replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function (e2, n2, t2) { + o.push((n2 = n2.toLowerCase())), + u.push([n2, t2]), + (i[n2] = i[n2] ? i[n2] + ',' + t2 : t2); + }), + t(a()); + }), + (s.onerror = r), + (s.withCredentials = 'include' == n.credentials), + n.headers)) + s.setRequestHeader(l, n.headers[l]); + s.send(n.body || null); + }) + ); }; - } + }, }); // node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js var require_lib32 = __commonJS({ - "node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js"(exports2, module2) { - "use strict"; + 'node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js'(exports2, module2) { + 'use strict'; var conversions = {}; module2.exports = conversions; function sign(x) { @@ -48412,28 +53481,29 @@ var require_lib32 = __commonJS({ } const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); const upperBound = Math.pow(2, bitLength) - 1; - const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); - const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); - return function(V, opts) { - if (!opts) - opts = {}; + const moduloVal = typeOpts.moduloBitLength + ? Math.pow(2, typeOpts.moduloBitLength) + : Math.pow(2, bitLength); + const moduloBound = typeOpts.moduloBitLength + ? Math.pow(2, typeOpts.moduloBitLength - 1) + : Math.pow(2, bitLength - 1); + return function (V, opts) { + if (!opts) opts = {}; let x = +V; if (opts.enforceRange) { if (!Number.isFinite(x)) { - throw new TypeError("Argument is not a finite number"); + throw new TypeError('Argument is not a finite number'); } x = sign(x) * Math.floor(Math.abs(x)); if (x < lowerBound || x > upperBound) { - throw new TypeError("Argument is not in byte range"); + throw new TypeError('Argument is not in byte range'); } return x; } if (!isNaN(x) && opts.clamp) { x = evenRound(x); - if (x < lowerBound) - x = lowerBound; - if (x > upperBound) - x = upperBound; + if (x < lowerBound) x = lowerBound; + if (x > upperBound) x = upperBound; return x; } if (!Number.isFinite(x) || x === 0) { @@ -48453,55 +53523,57 @@ var require_lib32 = __commonJS({ return x; }; } - conversions["void"] = function() { + conversions['void'] = function () { return void 0; }; - conversions["boolean"] = function(val) { + conversions['boolean'] = function (val) { return !!val; }; - conversions["byte"] = createNumberConversion(8, { unsigned: false }); - conversions["octet"] = createNumberConversion(8, { unsigned: true }); - conversions["short"] = createNumberConversion(16, { unsigned: false }); - conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); - conversions["long"] = createNumberConversion(32, { unsigned: false }); - conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); - conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); - conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); - conversions["double"] = function(V) { + conversions['byte'] = createNumberConversion(8, { unsigned: false }); + conversions['octet'] = createNumberConversion(8, { unsigned: true }); + conversions['short'] = createNumberConversion(16, { unsigned: false }); + conversions['unsigned short'] = createNumberConversion(16, { unsigned: true }); + conversions['long'] = createNumberConversion(32, { unsigned: false }); + conversions['unsigned long'] = createNumberConversion(32, { unsigned: true }); + conversions['long long'] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); + conversions['unsigned long long'] = createNumberConversion(32, { + unsigned: true, + moduloBitLength: 64, + }); + conversions['double'] = function (V) { const x = +V; if (!Number.isFinite(x)) { - throw new TypeError("Argument is not a finite floating-point value"); + throw new TypeError('Argument is not a finite floating-point value'); } return x; }; - conversions["unrestricted double"] = function(V) { + conversions['unrestricted double'] = function (V) { const x = +V; if (isNaN(x)) { - throw new TypeError("Argument is NaN"); + throw new TypeError('Argument is NaN'); } return x; }; - conversions["float"] = conversions["double"]; - conversions["unrestricted float"] = conversions["unrestricted double"]; - conversions["DOMString"] = function(V, opts) { - if (!opts) - opts = {}; + conversions['float'] = conversions['double']; + conversions['unrestricted float'] = conversions['unrestricted double']; + conversions['DOMString'] = function (V, opts) { + if (!opts) opts = {}; if (opts.treatNullAsEmptyString && V === null) { - return ""; + return ''; } return String(V); }; - conversions["ByteString"] = function(V, opts) { + conversions['ByteString'] = function (V, opts) { const x = String(V); let c = void 0; for (let i = 0; (c = x.codePointAt(i)) !== void 0; ++i) { if (c > 255) { - throw new TypeError("Argument is not a valid bytestring"); + throw new TypeError('Argument is not a valid bytestring'); } } return x; }; - conversions["USVString"] = function(V) { + conversions['USVString'] = function (V) { const S = String(V); const n = S.length; const U = []; @@ -48527,68 +53599,8258 @@ var require_lib32 = __commonJS({ } } } - return U.join(""); + return U.join(''); }; - conversions["Date"] = function(V, opts) { + conversions['Date'] = function (V, opts) { if (!(V instanceof Date)) { - throw new TypeError("Argument is not a Date object"); + throw new TypeError('Argument is not a Date object'); } if (isNaN(V)) { return void 0; } return V; }; - conversions["RegExp"] = function(V, opts) { + conversions['RegExp'] = function (V, opts) { if (!(V instanceof RegExp)) { V = new RegExp(V); } return V; }; - } + }, }); // node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js var require_utils7 = __commonJS({ - "node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js"(exports2, module2) { - "use strict"; + 'node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js'(exports2, module2) { + 'use strict'; module2.exports.mixin = function mixin(target, source) { const keys = Object.getOwnPropertyNames(source); for (let i = 0; i < keys.length; ++i) { Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); } }; - module2.exports.wrapperSymbol = Symbol("wrapper"); - module2.exports.implSymbol = Symbol("impl"); - module2.exports.wrapperForImpl = function(impl) { + module2.exports.wrapperSymbol = Symbol('wrapper'); + module2.exports.implSymbol = Symbol('impl'); + module2.exports.wrapperForImpl = function (impl) { return impl[module2.exports.wrapperSymbol]; }; - module2.exports.implForWrapper = function(wrapper) { + module2.exports.implForWrapper = function (wrapper) { return wrapper[module2.exports.implSymbol]; }; - } + }, }); // node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json var require_mappingTable = __commonJS({ - "node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json"(exports2, module2) { - module2.exports = [[[0, 44], "disallowed_STD3_valid"], [[45, 46], "valid"], [[47, 47], "disallowed_STD3_valid"], [[48, 57], "valid"], [[58, 64], "disallowed_STD3_valid"], [[65, 65], "mapped", [97]], [[66, 66], "mapped", [98]], [[67, 67], "mapped", [99]], [[68, 68], "mapped", [100]], [[69, 69], "mapped", [101]], [[70, 70], "mapped", [102]], [[71, 71], "mapped", [103]], [[72, 72], "mapped", [104]], [[73, 73], "mapped", [105]], [[74, 74], "mapped", [106]], [[75, 75], "mapped", [107]], [[76, 76], "mapped", [108]], [[77, 77], "mapped", [109]], [[78, 78], "mapped", [110]], [[79, 79], "mapped", [111]], [[80, 80], "mapped", [112]], [[81, 81], "mapped", [113]], [[82, 82], "mapped", [114]], [[83, 83], "mapped", [115]], [[84, 84], "mapped", [116]], [[85, 85], "mapped", [117]], [[86, 86], "mapped", [118]], [[87, 87], "mapped", [119]], [[88, 88], "mapped", [120]], [[89, 89], "mapped", [121]], [[90, 90], "mapped", [122]], [[91, 96], "disallowed_STD3_valid"], [[97, 122], "valid"], [[123, 127], "disallowed_STD3_valid"], [[128, 159], "disallowed"], [[160, 160], "disallowed_STD3_mapped", [32]], [[161, 167], "valid", [], "NV8"], [[168, 168], "disallowed_STD3_mapped", [32, 776]], [[169, 169], "valid", [], "NV8"], [[170, 170], "mapped", [97]], [[171, 172], "valid", [], "NV8"], [[173, 173], "ignored"], [[174, 174], "valid", [], "NV8"], [[175, 175], "disallowed_STD3_mapped", [32, 772]], [[176, 177], "valid", [], "NV8"], [[178, 178], "mapped", [50]], [[179, 179], "mapped", [51]], [[180, 180], "disallowed_STD3_mapped", [32, 769]], [[181, 181], "mapped", [956]], [[182, 182], "valid", [], "NV8"], [[183, 183], "valid"], [[184, 184], "disallowed_STD3_mapped", [32, 807]], [[185, 185], "mapped", [49]], [[186, 186], "mapped", [111]], [[187, 187], "valid", [], "NV8"], [[188, 188], "mapped", [49, 8260, 52]], [[189, 189], "mapped", [49, 8260, 50]], [[190, 190], "mapped", [51, 8260, 52]], [[191, 191], "valid", [], "NV8"], [[192, 192], "mapped", [224]], [[193, 193], "mapped", [225]], [[194, 194], "mapped", [226]], [[195, 195], "mapped", [227]], [[196, 196], "mapped", [228]], [[197, 197], "mapped", [229]], [[198, 198], "mapped", [230]], [[199, 199], "mapped", [231]], [[200, 200], "mapped", [232]], [[201, 201], "mapped", [233]], [[202, 202], "mapped", [234]], [[203, 203], "mapped", [235]], [[204, 204], "mapped", [236]], [[205, 205], "mapped", [237]], [[206, 206], "mapped", [238]], [[207, 207], "mapped", [239]], [[208, 208], "mapped", [240]], [[209, 209], "mapped", [241]], [[210, 210], "mapped", [242]], [[211, 211], "mapped", [243]], [[212, 212], "mapped", [244]], [[213, 213], "mapped", [245]], [[214, 214], "mapped", [246]], [[215, 215], "valid", [], "NV8"], [[216, 216], "mapped", [248]], [[217, 217], "mapped", [249]], [[218, 218], "mapped", [250]], [[219, 219], "mapped", [251]], [[220, 220], "mapped", [252]], [[221, 221], "mapped", [253]], [[222, 222], "mapped", [254]], [[223, 223], "deviation", [115, 115]], [[224, 246], "valid"], [[247, 247], "valid", [], "NV8"], [[248, 255], "valid"], [[256, 256], "mapped", [257]], [[257, 257], "valid"], [[258, 258], "mapped", [259]], [[259, 259], "valid"], [[260, 260], "mapped", [261]], [[261, 261], "valid"], [[262, 262], "mapped", [263]], [[263, 263], "valid"], [[264, 264], "mapped", [265]], [[265, 265], "valid"], [[266, 266], "mapped", [267]], [[267, 267], "valid"], [[268, 268], "mapped", [269]], [[269, 269], "valid"], [[270, 270], "mapped", [271]], [[271, 271], "valid"], [[272, 272], "mapped", [273]], [[273, 273], "valid"], [[274, 274], "mapped", [275]], [[275, 275], "valid"], [[276, 276], "mapped", [277]], [[277, 277], "valid"], [[278, 278], "mapped", [279]], [[279, 279], "valid"], [[280, 280], "mapped", [281]], [[281, 281], "valid"], [[282, 282], "mapped", [283]], [[283, 283], "valid"], [[284, 284], "mapped", [285]], [[285, 285], "valid"], [[286, 286], "mapped", [287]], [[287, 287], "valid"], [[288, 288], "mapped", [289]], [[289, 289], "valid"], [[290, 290], "mapped", [291]], [[291, 291], "valid"], [[292, 292], "mapped", [293]], [[293, 293], "valid"], [[294, 294], "mapped", [295]], [[295, 295], "valid"], [[296, 296], "mapped", [297]], [[297, 297], "valid"], [[298, 298], "mapped", [299]], [[299, 299], "valid"], [[300, 300], "mapped", [301]], [[301, 301], "valid"], [[302, 302], "mapped", [303]], [[303, 303], "valid"], [[304, 304], "mapped", [105, 775]], [[305, 305], "valid"], [[306, 307], "mapped", [105, 106]], [[308, 308], "mapped", [309]], [[309, 309], "valid"], [[310, 310], "mapped", [311]], [[311, 312], "valid"], [[313, 313], "mapped", [314]], [[314, 314], "valid"], [[315, 315], "mapped", [316]], [[316, 316], "valid"], [[317, 317], "mapped", [318]], [[318, 318], "valid"], [[319, 320], "mapped", [108, 183]], [[321, 321], "mapped", [322]], [[322, 322], "valid"], [[323, 323], "mapped", [324]], [[324, 324], "valid"], [[325, 325], "mapped", [326]], [[326, 326], "valid"], [[327, 327], "mapped", [328]], [[328, 328], "valid"], [[329, 329], "mapped", [700, 110]], [[330, 330], "mapped", [331]], [[331, 331], "valid"], [[332, 332], "mapped", [333]], [[333, 333], "valid"], [[334, 334], "mapped", [335]], [[335, 335], "valid"], [[336, 336], "mapped", [337]], [[337, 337], "valid"], [[338, 338], "mapped", [339]], [[339, 339], "valid"], [[340, 340], "mapped", [341]], [[341, 341], "valid"], [[342, 342], "mapped", [343]], [[343, 343], "valid"], [[344, 344], "mapped", [345]], [[345, 345], "valid"], [[346, 346], "mapped", [347]], [[347, 347], "valid"], [[348, 348], "mapped", [349]], [[349, 349], "valid"], [[350, 350], "mapped", [351]], [[351, 351], "valid"], [[352, 352], "mapped", [353]], [[353, 353], "valid"], [[354, 354], "mapped", [355]], [[355, 355], "valid"], [[356, 356], "mapped", [357]], [[357, 357], "valid"], [[358, 358], "mapped", [359]], [[359, 359], "valid"], [[360, 360], "mapped", [361]], [[361, 361], "valid"], [[362, 362], "mapped", [363]], [[363, 363], "valid"], [[364, 364], "mapped", [365]], [[365, 365], "valid"], [[366, 366], "mapped", [367]], [[367, 367], "valid"], [[368, 368], "mapped", [369]], [[369, 369], "valid"], [[370, 370], "mapped", [371]], [[371, 371], "valid"], [[372, 372], "mapped", [373]], [[373, 373], "valid"], [[374, 374], "mapped", [375]], [[375, 375], "valid"], [[376, 376], "mapped", [255]], [[377, 377], "mapped", [378]], [[378, 378], "valid"], [[379, 379], "mapped", [380]], [[380, 380], "valid"], [[381, 381], "mapped", [382]], [[382, 382], "valid"], [[383, 383], "mapped", [115]], [[384, 384], "valid"], [[385, 385], "mapped", [595]], [[386, 386], "mapped", [387]], [[387, 387], "valid"], [[388, 388], "mapped", [389]], [[389, 389], "valid"], [[390, 390], "mapped", [596]], [[391, 391], "mapped", [392]], [[392, 392], "valid"], [[393, 393], "mapped", [598]], [[394, 394], "mapped", [599]], [[395, 395], "mapped", [396]], [[396, 397], "valid"], [[398, 398], "mapped", [477]], [[399, 399], "mapped", [601]], [[400, 400], "mapped", [603]], [[401, 401], "mapped", [402]], [[402, 402], "valid"], [[403, 403], "mapped", [608]], [[404, 404], "mapped", [611]], [[405, 405], "valid"], [[406, 406], "mapped", [617]], [[407, 407], "mapped", [616]], [[408, 408], "mapped", [409]], [[409, 411], "valid"], [[412, 412], "mapped", [623]], [[413, 413], "mapped", [626]], [[414, 414], "valid"], [[415, 415], "mapped", [629]], [[416, 416], "mapped", [417]], [[417, 417], "valid"], [[418, 418], "mapped", [419]], [[419, 419], "valid"], [[420, 420], "mapped", [421]], [[421, 421], "valid"], [[422, 422], "mapped", [640]], [[423, 423], "mapped", [424]], [[424, 424], "valid"], [[425, 425], "mapped", [643]], [[426, 427], "valid"], [[428, 428], "mapped", [429]], [[429, 429], "valid"], [[430, 430], "mapped", [648]], [[431, 431], "mapped", [432]], [[432, 432], "valid"], [[433, 433], "mapped", [650]], [[434, 434], "mapped", [651]], [[435, 435], "mapped", [436]], [[436, 436], "valid"], [[437, 437], "mapped", [438]], [[438, 438], "valid"], [[439, 439], "mapped", [658]], [[440, 440], "mapped", [441]], [[441, 443], "valid"], [[444, 444], "mapped", [445]], [[445, 451], "valid"], [[452, 454], "mapped", [100, 382]], [[455, 457], "mapped", [108, 106]], [[458, 460], "mapped", [110, 106]], [[461, 461], "mapped", [462]], [[462, 462], "valid"], [[463, 463], "mapped", [464]], [[464, 464], "valid"], [[465, 465], "mapped", [466]], [[466, 466], "valid"], [[467, 467], "mapped", [468]], [[468, 468], "valid"], [[469, 469], "mapped", [470]], [[470, 470], "valid"], [[471, 471], "mapped", [472]], [[472, 472], "valid"], [[473, 473], "mapped", [474]], [[474, 474], "valid"], [[475, 475], "mapped", [476]], [[476, 477], "valid"], [[478, 478], "mapped", [479]], [[479, 479], "valid"], [[480, 480], "mapped", [481]], [[481, 481], "valid"], [[482, 482], "mapped", [483]], [[483, 483], "valid"], [[484, 484], "mapped", [485]], [[485, 485], "valid"], [[486, 486], "mapped", [487]], [[487, 487], "valid"], [[488, 488], "mapped", [489]], [[489, 489], "valid"], [[490, 490], "mapped", [491]], [[491, 491], "valid"], [[492, 492], "mapped", [493]], [[493, 493], "valid"], [[494, 494], "mapped", [495]], [[495, 496], "valid"], [[497, 499], "mapped", [100, 122]], [[500, 500], "mapped", [501]], [[501, 501], "valid"], [[502, 502], "mapped", [405]], [[503, 503], "mapped", [447]], [[504, 504], "mapped", [505]], [[505, 505], "valid"], [[506, 506], "mapped", [507]], [[507, 507], "valid"], [[508, 508], "mapped", [509]], [[509, 509], "valid"], [[510, 510], "mapped", [511]], [[511, 511], "valid"], [[512, 512], "mapped", [513]], [[513, 513], "valid"], [[514, 514], "mapped", [515]], [[515, 515], "valid"], [[516, 516], "mapped", [517]], [[517, 517], "valid"], [[518, 518], "mapped", [519]], [[519, 519], "valid"], [[520, 520], "mapped", [521]], [[521, 521], "valid"], [[522, 522], "mapped", [523]], [[523, 523], "valid"], [[524, 524], "mapped", [525]], [[525, 525], "valid"], [[526, 526], "mapped", [527]], [[527, 527], "valid"], [[528, 528], "mapped", [529]], [[529, 529], "valid"], [[530, 530], "mapped", [531]], [[531, 531], "valid"], [[532, 532], "mapped", [533]], [[533, 533], "valid"], [[534, 534], "mapped", [535]], [[535, 535], "valid"], [[536, 536], "mapped", [537]], [[537, 537], "valid"], [[538, 538], "mapped", [539]], [[539, 539], "valid"], [[540, 540], "mapped", [541]], [[541, 541], "valid"], [[542, 542], "mapped", [543]], [[543, 543], "valid"], [[544, 544], "mapped", [414]], [[545, 545], "valid"], [[546, 546], "mapped", [547]], [[547, 547], "valid"], [[548, 548], "mapped", [549]], [[549, 549], "valid"], [[550, 550], "mapped", [551]], [[551, 551], "valid"], [[552, 552], "mapped", [553]], [[553, 553], "valid"], [[554, 554], "mapped", [555]], [[555, 555], "valid"], [[556, 556], "mapped", [557]], [[557, 557], "valid"], [[558, 558], "mapped", [559]], [[559, 559], "valid"], [[560, 560], "mapped", [561]], [[561, 561], "valid"], [[562, 562], "mapped", [563]], [[563, 563], "valid"], [[564, 566], "valid"], [[567, 569], "valid"], [[570, 570], "mapped", [11365]], [[571, 571], "mapped", [572]], [[572, 572], "valid"], [[573, 573], "mapped", [410]], [[574, 574], "mapped", [11366]], [[575, 576], "valid"], [[577, 577], "mapped", [578]], [[578, 578], "valid"], [[579, 579], "mapped", [384]], [[580, 580], "mapped", [649]], [[581, 581], "mapped", [652]], [[582, 582], "mapped", [583]], [[583, 583], "valid"], [[584, 584], "mapped", [585]], [[585, 585], "valid"], [[586, 586], "mapped", [587]], [[587, 587], "valid"], [[588, 588], "mapped", [589]], [[589, 589], "valid"], [[590, 590], "mapped", [591]], [[591, 591], "valid"], [[592, 680], "valid"], [[681, 685], "valid"], [[686, 687], "valid"], [[688, 688], "mapped", [104]], [[689, 689], "mapped", [614]], [[690, 690], "mapped", [106]], [[691, 691], "mapped", [114]], [[692, 692], "mapped", [633]], [[693, 693], "mapped", [635]], [[694, 694], "mapped", [641]], [[695, 695], "mapped", [119]], [[696, 696], "mapped", [121]], [[697, 705], "valid"], [[706, 709], "valid", [], "NV8"], [[710, 721], "valid"], [[722, 727], "valid", [], "NV8"], [[728, 728], "disallowed_STD3_mapped", [32, 774]], [[729, 729], "disallowed_STD3_mapped", [32, 775]], [[730, 730], "disallowed_STD3_mapped", [32, 778]], [[731, 731], "disallowed_STD3_mapped", [32, 808]], [[732, 732], "disallowed_STD3_mapped", [32, 771]], [[733, 733], "disallowed_STD3_mapped", [32, 779]], [[734, 734], "valid", [], "NV8"], [[735, 735], "valid", [], "NV8"], [[736, 736], "mapped", [611]], [[737, 737], "mapped", [108]], [[738, 738], "mapped", [115]], [[739, 739], "mapped", [120]], [[740, 740], "mapped", [661]], [[741, 745], "valid", [], "NV8"], [[746, 747], "valid", [], "NV8"], [[748, 748], "valid"], [[749, 749], "valid", [], "NV8"], [[750, 750], "valid"], [[751, 767], "valid", [], "NV8"], [[768, 831], "valid"], [[832, 832], "mapped", [768]], [[833, 833], "mapped", [769]], [[834, 834], "valid"], [[835, 835], "mapped", [787]], [[836, 836], "mapped", [776, 769]], [[837, 837], "mapped", [953]], [[838, 846], "valid"], [[847, 847], "ignored"], [[848, 855], "valid"], [[856, 860], "valid"], [[861, 863], "valid"], [[864, 865], "valid"], [[866, 866], "valid"], [[867, 879], "valid"], [[880, 880], "mapped", [881]], [[881, 881], "valid"], [[882, 882], "mapped", [883]], [[883, 883], "valid"], [[884, 884], "mapped", [697]], [[885, 885], "valid"], [[886, 886], "mapped", [887]], [[887, 887], "valid"], [[888, 889], "disallowed"], [[890, 890], "disallowed_STD3_mapped", [32, 953]], [[891, 893], "valid"], [[894, 894], "disallowed_STD3_mapped", [59]], [[895, 895], "mapped", [1011]], [[896, 899], "disallowed"], [[900, 900], "disallowed_STD3_mapped", [32, 769]], [[901, 901], "disallowed_STD3_mapped", [32, 776, 769]], [[902, 902], "mapped", [940]], [[903, 903], "mapped", [183]], [[904, 904], "mapped", [941]], [[905, 905], "mapped", [942]], [[906, 906], "mapped", [943]], [[907, 907], "disallowed"], [[908, 908], "mapped", [972]], [[909, 909], "disallowed"], [[910, 910], "mapped", [973]], [[911, 911], "mapped", [974]], [[912, 912], "valid"], [[913, 913], "mapped", [945]], [[914, 914], "mapped", [946]], [[915, 915], "mapped", [947]], [[916, 916], "mapped", [948]], [[917, 917], "mapped", [949]], [[918, 918], "mapped", [950]], [[919, 919], "mapped", [951]], [[920, 920], "mapped", [952]], [[921, 921], "mapped", [953]], [[922, 922], "mapped", [954]], [[923, 923], "mapped", [955]], [[924, 924], "mapped", [956]], [[925, 925], "mapped", [957]], [[926, 926], "mapped", [958]], [[927, 927], "mapped", [959]], [[928, 928], "mapped", [960]], [[929, 929], "mapped", [961]], [[930, 930], "disallowed"], [[931, 931], "mapped", [963]], [[932, 932], "mapped", [964]], [[933, 933], "mapped", [965]], [[934, 934], "mapped", [966]], [[935, 935], "mapped", [967]], [[936, 936], "mapped", [968]], [[937, 937], "mapped", [969]], [[938, 938], "mapped", [970]], [[939, 939], "mapped", [971]], [[940, 961], "valid"], [[962, 962], "deviation", [963]], [[963, 974], "valid"], [[975, 975], "mapped", [983]], [[976, 976], "mapped", [946]], [[977, 977], "mapped", [952]], [[978, 978], "mapped", [965]], [[979, 979], "mapped", [973]], [[980, 980], "mapped", [971]], [[981, 981], "mapped", [966]], [[982, 982], "mapped", [960]], [[983, 983], "valid"], [[984, 984], "mapped", [985]], [[985, 985], "valid"], [[986, 986], "mapped", [987]], [[987, 987], "valid"], [[988, 988], "mapped", [989]], [[989, 989], "valid"], [[990, 990], "mapped", [991]], [[991, 991], "valid"], [[992, 992], "mapped", [993]], [[993, 993], "valid"], [[994, 994], "mapped", [995]], [[995, 995], "valid"], [[996, 996], "mapped", [997]], [[997, 997], "valid"], [[998, 998], "mapped", [999]], [[999, 999], "valid"], [[1e3, 1e3], "mapped", [1001]], [[1001, 1001], "valid"], [[1002, 1002], "mapped", [1003]], [[1003, 1003], "valid"], [[1004, 1004], "mapped", [1005]], [[1005, 1005], "valid"], [[1006, 1006], "mapped", [1007]], [[1007, 1007], "valid"], [[1008, 1008], "mapped", [954]], [[1009, 1009], "mapped", [961]], [[1010, 1010], "mapped", [963]], [[1011, 1011], "valid"], [[1012, 1012], "mapped", [952]], [[1013, 1013], "mapped", [949]], [[1014, 1014], "valid", [], "NV8"], [[1015, 1015], "mapped", [1016]], [[1016, 1016], "valid"], [[1017, 1017], "mapped", [963]], [[1018, 1018], "mapped", [1019]], [[1019, 1019], "valid"], [[1020, 1020], "valid"], [[1021, 1021], "mapped", [891]], [[1022, 1022], "mapped", [892]], [[1023, 1023], "mapped", [893]], [[1024, 1024], "mapped", [1104]], [[1025, 1025], "mapped", [1105]], [[1026, 1026], "mapped", [1106]], [[1027, 1027], "mapped", [1107]], [[1028, 1028], "mapped", [1108]], [[1029, 1029], "mapped", [1109]], [[1030, 1030], "mapped", [1110]], [[1031, 1031], "mapped", [1111]], [[1032, 1032], "mapped", [1112]], [[1033, 1033], "mapped", [1113]], [[1034, 1034], "mapped", [1114]], [[1035, 1035], "mapped", [1115]], [[1036, 1036], "mapped", [1116]], [[1037, 1037], "mapped", [1117]], [[1038, 1038], "mapped", [1118]], [[1039, 1039], "mapped", [1119]], [[1040, 1040], "mapped", [1072]], [[1041, 1041], "mapped", [1073]], [[1042, 1042], "mapped", [1074]], [[1043, 1043], "mapped", [1075]], [[1044, 1044], "mapped", [1076]], [[1045, 1045], "mapped", [1077]], [[1046, 1046], "mapped", [1078]], [[1047, 1047], "mapped", [1079]], [[1048, 1048], "mapped", [1080]], [[1049, 1049], "mapped", [1081]], [[1050, 1050], "mapped", [1082]], [[1051, 1051], "mapped", [1083]], [[1052, 1052], "mapped", [1084]], [[1053, 1053], "mapped", [1085]], [[1054, 1054], "mapped", [1086]], [[1055, 1055], "mapped", [1087]], [[1056, 1056], "mapped", [1088]], [[1057, 1057], "mapped", [1089]], [[1058, 1058], "mapped", [1090]], [[1059, 1059], "mapped", [1091]], [[1060, 1060], "mapped", [1092]], [[1061, 1061], "mapped", [1093]], [[1062, 1062], "mapped", [1094]], [[1063, 1063], "mapped", [1095]], [[1064, 1064], "mapped", [1096]], [[1065, 1065], "mapped", [1097]], [[1066, 1066], "mapped", [1098]], [[1067, 1067], "mapped", [1099]], [[1068, 1068], "mapped", [1100]], [[1069, 1069], "mapped", [1101]], [[1070, 1070], "mapped", [1102]], [[1071, 1071], "mapped", [1103]], [[1072, 1103], "valid"], [[1104, 1104], "valid"], [[1105, 1116], "valid"], [[1117, 1117], "valid"], [[1118, 1119], "valid"], [[1120, 1120], "mapped", [1121]], [[1121, 1121], "valid"], [[1122, 1122], "mapped", [1123]], [[1123, 1123], "valid"], [[1124, 1124], "mapped", [1125]], [[1125, 1125], "valid"], [[1126, 1126], "mapped", [1127]], [[1127, 1127], "valid"], [[1128, 1128], "mapped", [1129]], [[1129, 1129], "valid"], [[1130, 1130], "mapped", [1131]], [[1131, 1131], "valid"], [[1132, 1132], "mapped", [1133]], [[1133, 1133], "valid"], [[1134, 1134], "mapped", [1135]], [[1135, 1135], "valid"], [[1136, 1136], "mapped", [1137]], [[1137, 1137], "valid"], [[1138, 1138], "mapped", [1139]], [[1139, 1139], "valid"], [[1140, 1140], "mapped", [1141]], [[1141, 1141], "valid"], [[1142, 1142], "mapped", [1143]], [[1143, 1143], "valid"], [[1144, 1144], "mapped", [1145]], [[1145, 1145], "valid"], [[1146, 1146], "mapped", [1147]], [[1147, 1147], "valid"], [[1148, 1148], "mapped", [1149]], [[1149, 1149], "valid"], [[1150, 1150], "mapped", [1151]], [[1151, 1151], "valid"], [[1152, 1152], "mapped", [1153]], [[1153, 1153], "valid"], [[1154, 1154], "valid", [], "NV8"], [[1155, 1158], "valid"], [[1159, 1159], "valid"], [[1160, 1161], "valid", [], "NV8"], [[1162, 1162], "mapped", [1163]], [[1163, 1163], "valid"], [[1164, 1164], "mapped", [1165]], [[1165, 1165], "valid"], [[1166, 1166], "mapped", [1167]], [[1167, 1167], "valid"], [[1168, 1168], "mapped", [1169]], [[1169, 1169], "valid"], [[1170, 1170], "mapped", [1171]], [[1171, 1171], "valid"], [[1172, 1172], "mapped", [1173]], [[1173, 1173], "valid"], [[1174, 1174], "mapped", [1175]], [[1175, 1175], "valid"], [[1176, 1176], "mapped", [1177]], [[1177, 1177], "valid"], [[1178, 1178], "mapped", [1179]], [[1179, 1179], "valid"], [[1180, 1180], "mapped", [1181]], [[1181, 1181], "valid"], [[1182, 1182], "mapped", [1183]], [[1183, 1183], "valid"], [[1184, 1184], "mapped", [1185]], [[1185, 1185], "valid"], [[1186, 1186], "mapped", [1187]], [[1187, 1187], "valid"], [[1188, 1188], "mapped", [1189]], [[1189, 1189], "valid"], [[1190, 1190], "mapped", [1191]], [[1191, 1191], "valid"], [[1192, 1192], "mapped", [1193]], [[1193, 1193], "valid"], [[1194, 1194], "mapped", [1195]], [[1195, 1195], "valid"], [[1196, 1196], "mapped", [1197]], [[1197, 1197], "valid"], [[1198, 1198], "mapped", [1199]], [[1199, 1199], "valid"], [[1200, 1200], "mapped", [1201]], [[1201, 1201], "valid"], [[1202, 1202], "mapped", [1203]], [[1203, 1203], "valid"], [[1204, 1204], "mapped", [1205]], [[1205, 1205], "valid"], [[1206, 1206], "mapped", [1207]], [[1207, 1207], "valid"], [[1208, 1208], "mapped", [1209]], [[1209, 1209], "valid"], [[1210, 1210], "mapped", [1211]], [[1211, 1211], "valid"], [[1212, 1212], "mapped", [1213]], [[1213, 1213], "valid"], [[1214, 1214], "mapped", [1215]], [[1215, 1215], "valid"], [[1216, 1216], "disallowed"], [[1217, 1217], "mapped", [1218]], [[1218, 1218], "valid"], [[1219, 1219], "mapped", [1220]], [[1220, 1220], "valid"], [[1221, 1221], "mapped", [1222]], [[1222, 1222], "valid"], [[1223, 1223], "mapped", [1224]], [[1224, 1224], "valid"], [[1225, 1225], "mapped", [1226]], [[1226, 1226], "valid"], [[1227, 1227], "mapped", [1228]], [[1228, 1228], "valid"], [[1229, 1229], "mapped", [1230]], [[1230, 1230], "valid"], [[1231, 1231], "valid"], [[1232, 1232], "mapped", [1233]], [[1233, 1233], "valid"], [[1234, 1234], "mapped", [1235]], [[1235, 1235], "valid"], [[1236, 1236], "mapped", [1237]], [[1237, 1237], "valid"], [[1238, 1238], "mapped", [1239]], [[1239, 1239], "valid"], [[1240, 1240], "mapped", [1241]], [[1241, 1241], "valid"], [[1242, 1242], "mapped", [1243]], [[1243, 1243], "valid"], [[1244, 1244], "mapped", [1245]], [[1245, 1245], "valid"], [[1246, 1246], "mapped", [1247]], [[1247, 1247], "valid"], [[1248, 1248], "mapped", [1249]], [[1249, 1249], "valid"], [[1250, 1250], "mapped", [1251]], [[1251, 1251], "valid"], [[1252, 1252], "mapped", [1253]], [[1253, 1253], "valid"], [[1254, 1254], "mapped", [1255]], [[1255, 1255], "valid"], [[1256, 1256], "mapped", [1257]], [[1257, 1257], "valid"], [[1258, 1258], "mapped", [1259]], [[1259, 1259], "valid"], [[1260, 1260], "mapped", [1261]], [[1261, 1261], "valid"], [[1262, 1262], "mapped", [1263]], [[1263, 1263], "valid"], [[1264, 1264], "mapped", [1265]], [[1265, 1265], "valid"], [[1266, 1266], "mapped", [1267]], [[1267, 1267], "valid"], [[1268, 1268], "mapped", [1269]], [[1269, 1269], "valid"], [[1270, 1270], "mapped", [1271]], [[1271, 1271], "valid"], [[1272, 1272], "mapped", [1273]], [[1273, 1273], "valid"], [[1274, 1274], "mapped", [1275]], [[1275, 1275], "valid"], [[1276, 1276], "mapped", [1277]], [[1277, 1277], "valid"], [[1278, 1278], "mapped", [1279]], [[1279, 1279], "valid"], [[1280, 1280], "mapped", [1281]], [[1281, 1281], "valid"], [[1282, 1282], "mapped", [1283]], [[1283, 1283], "valid"], [[1284, 1284], "mapped", [1285]], [[1285, 1285], "valid"], [[1286, 1286], "mapped", [1287]], [[1287, 1287], "valid"], [[1288, 1288], "mapped", [1289]], [[1289, 1289], "valid"], [[1290, 1290], "mapped", [1291]], [[1291, 1291], "valid"], [[1292, 1292], "mapped", [1293]], [[1293, 1293], "valid"], [[1294, 1294], "mapped", [1295]], [[1295, 1295], "valid"], [[1296, 1296], "mapped", [1297]], [[1297, 1297], "valid"], [[1298, 1298], "mapped", [1299]], [[1299, 1299], "valid"], [[1300, 1300], "mapped", [1301]], [[1301, 1301], "valid"], [[1302, 1302], "mapped", [1303]], [[1303, 1303], "valid"], [[1304, 1304], "mapped", [1305]], [[1305, 1305], "valid"], [[1306, 1306], "mapped", [1307]], [[1307, 1307], "valid"], [[1308, 1308], "mapped", [1309]], [[1309, 1309], "valid"], [[1310, 1310], "mapped", [1311]], [[1311, 1311], "valid"], [[1312, 1312], "mapped", [1313]], [[1313, 1313], "valid"], [[1314, 1314], "mapped", [1315]], [[1315, 1315], "valid"], [[1316, 1316], "mapped", [1317]], [[1317, 1317], "valid"], [[1318, 1318], "mapped", [1319]], [[1319, 1319], "valid"], [[1320, 1320], "mapped", [1321]], [[1321, 1321], "valid"], [[1322, 1322], "mapped", [1323]], [[1323, 1323], "valid"], [[1324, 1324], "mapped", [1325]], [[1325, 1325], "valid"], [[1326, 1326], "mapped", [1327]], [[1327, 1327], "valid"], [[1328, 1328], "disallowed"], [[1329, 1329], "mapped", [1377]], [[1330, 1330], "mapped", [1378]], [[1331, 1331], "mapped", [1379]], [[1332, 1332], "mapped", [1380]], [[1333, 1333], "mapped", [1381]], [[1334, 1334], "mapped", [1382]], [[1335, 1335], "mapped", [1383]], [[1336, 1336], "mapped", [1384]], [[1337, 1337], "mapped", [1385]], [[1338, 1338], "mapped", [1386]], [[1339, 1339], "mapped", [1387]], [[1340, 1340], "mapped", [1388]], [[1341, 1341], "mapped", [1389]], [[1342, 1342], "mapped", [1390]], [[1343, 1343], "mapped", [1391]], [[1344, 1344], "mapped", [1392]], [[1345, 1345], "mapped", [1393]], [[1346, 1346], "mapped", [1394]], [[1347, 1347], "mapped", [1395]], [[1348, 1348], "mapped", [1396]], [[1349, 1349], "mapped", [1397]], [[1350, 1350], "mapped", [1398]], [[1351, 1351], "mapped", [1399]], [[1352, 1352], "mapped", [1400]], [[1353, 1353], "mapped", [1401]], [[1354, 1354], "mapped", [1402]], [[1355, 1355], "mapped", [1403]], [[1356, 1356], "mapped", [1404]], [[1357, 1357], "mapped", [1405]], [[1358, 1358], "mapped", [1406]], [[1359, 1359], "mapped", [1407]], [[1360, 1360], "mapped", [1408]], [[1361, 1361], "mapped", [1409]], [[1362, 1362], "mapped", [1410]], [[1363, 1363], "mapped", [1411]], [[1364, 1364], "mapped", [1412]], [[1365, 1365], "mapped", [1413]], [[1366, 1366], "mapped", [1414]], [[1367, 1368], "disallowed"], [[1369, 1369], "valid"], [[1370, 1375], "valid", [], "NV8"], [[1376, 1376], "disallowed"], [[1377, 1414], "valid"], [[1415, 1415], "mapped", [1381, 1410]], [[1416, 1416], "disallowed"], [[1417, 1417], "valid", [], "NV8"], [[1418, 1418], "valid", [], "NV8"], [[1419, 1420], "disallowed"], [[1421, 1422], "valid", [], "NV8"], [[1423, 1423], "valid", [], "NV8"], [[1424, 1424], "disallowed"], [[1425, 1441], "valid"], [[1442, 1442], "valid"], [[1443, 1455], "valid"], [[1456, 1465], "valid"], [[1466, 1466], "valid"], [[1467, 1469], "valid"], [[1470, 1470], "valid", [], "NV8"], [[1471, 1471], "valid"], [[1472, 1472], "valid", [], "NV8"], [[1473, 1474], "valid"], [[1475, 1475], "valid", [], "NV8"], [[1476, 1476], "valid"], [[1477, 1477], "valid"], [[1478, 1478], "valid", [], "NV8"], [[1479, 1479], "valid"], [[1480, 1487], "disallowed"], [[1488, 1514], "valid"], [[1515, 1519], "disallowed"], [[1520, 1524], "valid"], [[1525, 1535], "disallowed"], [[1536, 1539], "disallowed"], [[1540, 1540], "disallowed"], [[1541, 1541], "disallowed"], [[1542, 1546], "valid", [], "NV8"], [[1547, 1547], "valid", [], "NV8"], [[1548, 1548], "valid", [], "NV8"], [[1549, 1551], "valid", [], "NV8"], [[1552, 1557], "valid"], [[1558, 1562], "valid"], [[1563, 1563], "valid", [], "NV8"], [[1564, 1564], "disallowed"], [[1565, 1565], "disallowed"], [[1566, 1566], "valid", [], "NV8"], [[1567, 1567], "valid", [], "NV8"], [[1568, 1568], "valid"], [[1569, 1594], "valid"], [[1595, 1599], "valid"], [[1600, 1600], "valid", [], "NV8"], [[1601, 1618], "valid"], [[1619, 1621], "valid"], [[1622, 1624], "valid"], [[1625, 1630], "valid"], [[1631, 1631], "valid"], [[1632, 1641], "valid"], [[1642, 1645], "valid", [], "NV8"], [[1646, 1647], "valid"], [[1648, 1652], "valid"], [[1653, 1653], "mapped", [1575, 1652]], [[1654, 1654], "mapped", [1608, 1652]], [[1655, 1655], "mapped", [1735, 1652]], [[1656, 1656], "mapped", [1610, 1652]], [[1657, 1719], "valid"], [[1720, 1721], "valid"], [[1722, 1726], "valid"], [[1727, 1727], "valid"], [[1728, 1742], "valid"], [[1743, 1743], "valid"], [[1744, 1747], "valid"], [[1748, 1748], "valid", [], "NV8"], [[1749, 1756], "valid"], [[1757, 1757], "disallowed"], [[1758, 1758], "valid", [], "NV8"], [[1759, 1768], "valid"], [[1769, 1769], "valid", [], "NV8"], [[1770, 1773], "valid"], [[1774, 1775], "valid"], [[1776, 1785], "valid"], [[1786, 1790], "valid"], [[1791, 1791], "valid"], [[1792, 1805], "valid", [], "NV8"], [[1806, 1806], "disallowed"], [[1807, 1807], "disallowed"], [[1808, 1836], "valid"], [[1837, 1839], "valid"], [[1840, 1866], "valid"], [[1867, 1868], "disallowed"], [[1869, 1871], "valid"], [[1872, 1901], "valid"], [[1902, 1919], "valid"], [[1920, 1968], "valid"], [[1969, 1969], "valid"], [[1970, 1983], "disallowed"], [[1984, 2037], "valid"], [[2038, 2042], "valid", [], "NV8"], [[2043, 2047], "disallowed"], [[2048, 2093], "valid"], [[2094, 2095], "disallowed"], [[2096, 2110], "valid", [], "NV8"], [[2111, 2111], "disallowed"], [[2112, 2139], "valid"], [[2140, 2141], "disallowed"], [[2142, 2142], "valid", [], "NV8"], [[2143, 2207], "disallowed"], [[2208, 2208], "valid"], [[2209, 2209], "valid"], [[2210, 2220], "valid"], [[2221, 2226], "valid"], [[2227, 2228], "valid"], [[2229, 2274], "disallowed"], [[2275, 2275], "valid"], [[2276, 2302], "valid"], [[2303, 2303], "valid"], [[2304, 2304], "valid"], [[2305, 2307], "valid"], [[2308, 2308], "valid"], [[2309, 2361], "valid"], [[2362, 2363], "valid"], [[2364, 2381], "valid"], [[2382, 2382], "valid"], [[2383, 2383], "valid"], [[2384, 2388], "valid"], [[2389, 2389], "valid"], [[2390, 2391], "valid"], [[2392, 2392], "mapped", [2325, 2364]], [[2393, 2393], "mapped", [2326, 2364]], [[2394, 2394], "mapped", [2327, 2364]], [[2395, 2395], "mapped", [2332, 2364]], [[2396, 2396], "mapped", [2337, 2364]], [[2397, 2397], "mapped", [2338, 2364]], [[2398, 2398], "mapped", [2347, 2364]], [[2399, 2399], "mapped", [2351, 2364]], [[2400, 2403], "valid"], [[2404, 2405], "valid", [], "NV8"], [[2406, 2415], "valid"], [[2416, 2416], "valid", [], "NV8"], [[2417, 2418], "valid"], [[2419, 2423], "valid"], [[2424, 2424], "valid"], [[2425, 2426], "valid"], [[2427, 2428], "valid"], [[2429, 2429], "valid"], [[2430, 2431], "valid"], [[2432, 2432], "valid"], [[2433, 2435], "valid"], [[2436, 2436], "disallowed"], [[2437, 2444], "valid"], [[2445, 2446], "disallowed"], [[2447, 2448], "valid"], [[2449, 2450], "disallowed"], [[2451, 2472], "valid"], [[2473, 2473], "disallowed"], [[2474, 2480], "valid"], [[2481, 2481], "disallowed"], [[2482, 2482], "valid"], [[2483, 2485], "disallowed"], [[2486, 2489], "valid"], [[2490, 2491], "disallowed"], [[2492, 2492], "valid"], [[2493, 2493], "valid"], [[2494, 2500], "valid"], [[2501, 2502], "disallowed"], [[2503, 2504], "valid"], [[2505, 2506], "disallowed"], [[2507, 2509], "valid"], [[2510, 2510], "valid"], [[2511, 2518], "disallowed"], [[2519, 2519], "valid"], [[2520, 2523], "disallowed"], [[2524, 2524], "mapped", [2465, 2492]], [[2525, 2525], "mapped", [2466, 2492]], [[2526, 2526], "disallowed"], [[2527, 2527], "mapped", [2479, 2492]], [[2528, 2531], "valid"], [[2532, 2533], "disallowed"], [[2534, 2545], "valid"], [[2546, 2554], "valid", [], "NV8"], [[2555, 2555], "valid", [], "NV8"], [[2556, 2560], "disallowed"], [[2561, 2561], "valid"], [[2562, 2562], "valid"], [[2563, 2563], "valid"], [[2564, 2564], "disallowed"], [[2565, 2570], "valid"], [[2571, 2574], "disallowed"], [[2575, 2576], "valid"], [[2577, 2578], "disallowed"], [[2579, 2600], "valid"], [[2601, 2601], "disallowed"], [[2602, 2608], "valid"], [[2609, 2609], "disallowed"], [[2610, 2610], "valid"], [[2611, 2611], "mapped", [2610, 2620]], [[2612, 2612], "disallowed"], [[2613, 2613], "valid"], [[2614, 2614], "mapped", [2616, 2620]], [[2615, 2615], "disallowed"], [[2616, 2617], "valid"], [[2618, 2619], "disallowed"], [[2620, 2620], "valid"], [[2621, 2621], "disallowed"], [[2622, 2626], "valid"], [[2627, 2630], "disallowed"], [[2631, 2632], "valid"], [[2633, 2634], "disallowed"], [[2635, 2637], "valid"], [[2638, 2640], "disallowed"], [[2641, 2641], "valid"], [[2642, 2648], "disallowed"], [[2649, 2649], "mapped", [2582, 2620]], [[2650, 2650], "mapped", [2583, 2620]], [[2651, 2651], "mapped", [2588, 2620]], [[2652, 2652], "valid"], [[2653, 2653], "disallowed"], [[2654, 2654], "mapped", [2603, 2620]], [[2655, 2661], "disallowed"], [[2662, 2676], "valid"], [[2677, 2677], "valid"], [[2678, 2688], "disallowed"], [[2689, 2691], "valid"], [[2692, 2692], "disallowed"], [[2693, 2699], "valid"], [[2700, 2700], "valid"], [[2701, 2701], "valid"], [[2702, 2702], "disallowed"], [[2703, 2705], "valid"], [[2706, 2706], "disallowed"], [[2707, 2728], "valid"], [[2729, 2729], "disallowed"], [[2730, 2736], "valid"], [[2737, 2737], "disallowed"], [[2738, 2739], "valid"], [[2740, 2740], "disallowed"], [[2741, 2745], "valid"], [[2746, 2747], "disallowed"], [[2748, 2757], "valid"], [[2758, 2758], "disallowed"], [[2759, 2761], "valid"], [[2762, 2762], "disallowed"], [[2763, 2765], "valid"], [[2766, 2767], "disallowed"], [[2768, 2768], "valid"], [[2769, 2783], "disallowed"], [[2784, 2784], "valid"], [[2785, 2787], "valid"], [[2788, 2789], "disallowed"], [[2790, 2799], "valid"], [[2800, 2800], "valid", [], "NV8"], [[2801, 2801], "valid", [], "NV8"], [[2802, 2808], "disallowed"], [[2809, 2809], "valid"], [[2810, 2816], "disallowed"], [[2817, 2819], "valid"], [[2820, 2820], "disallowed"], [[2821, 2828], "valid"], [[2829, 2830], "disallowed"], [[2831, 2832], "valid"], [[2833, 2834], "disallowed"], [[2835, 2856], "valid"], [[2857, 2857], "disallowed"], [[2858, 2864], "valid"], [[2865, 2865], "disallowed"], [[2866, 2867], "valid"], [[2868, 2868], "disallowed"], [[2869, 2869], "valid"], [[2870, 2873], "valid"], [[2874, 2875], "disallowed"], [[2876, 2883], "valid"], [[2884, 2884], "valid"], [[2885, 2886], "disallowed"], [[2887, 2888], "valid"], [[2889, 2890], "disallowed"], [[2891, 2893], "valid"], [[2894, 2901], "disallowed"], [[2902, 2903], "valid"], [[2904, 2907], "disallowed"], [[2908, 2908], "mapped", [2849, 2876]], [[2909, 2909], "mapped", [2850, 2876]], [[2910, 2910], "disallowed"], [[2911, 2913], "valid"], [[2914, 2915], "valid"], [[2916, 2917], "disallowed"], [[2918, 2927], "valid"], [[2928, 2928], "valid", [], "NV8"], [[2929, 2929], "valid"], [[2930, 2935], "valid", [], "NV8"], [[2936, 2945], "disallowed"], [[2946, 2947], "valid"], [[2948, 2948], "disallowed"], [[2949, 2954], "valid"], [[2955, 2957], "disallowed"], [[2958, 2960], "valid"], [[2961, 2961], "disallowed"], [[2962, 2965], "valid"], [[2966, 2968], "disallowed"], [[2969, 2970], "valid"], [[2971, 2971], "disallowed"], [[2972, 2972], "valid"], [[2973, 2973], "disallowed"], [[2974, 2975], "valid"], [[2976, 2978], "disallowed"], [[2979, 2980], "valid"], [[2981, 2983], "disallowed"], [[2984, 2986], "valid"], [[2987, 2989], "disallowed"], [[2990, 2997], "valid"], [[2998, 2998], "valid"], [[2999, 3001], "valid"], [[3002, 3005], "disallowed"], [[3006, 3010], "valid"], [[3011, 3013], "disallowed"], [[3014, 3016], "valid"], [[3017, 3017], "disallowed"], [[3018, 3021], "valid"], [[3022, 3023], "disallowed"], [[3024, 3024], "valid"], [[3025, 3030], "disallowed"], [[3031, 3031], "valid"], [[3032, 3045], "disallowed"], [[3046, 3046], "valid"], [[3047, 3055], "valid"], [[3056, 3058], "valid", [], "NV8"], [[3059, 3066], "valid", [], "NV8"], [[3067, 3071], "disallowed"], [[3072, 3072], "valid"], [[3073, 3075], "valid"], [[3076, 3076], "disallowed"], [[3077, 3084], "valid"], [[3085, 3085], "disallowed"], [[3086, 3088], "valid"], [[3089, 3089], "disallowed"], [[3090, 3112], "valid"], [[3113, 3113], "disallowed"], [[3114, 3123], "valid"], [[3124, 3124], "valid"], [[3125, 3129], "valid"], [[3130, 3132], "disallowed"], [[3133, 3133], "valid"], [[3134, 3140], "valid"], [[3141, 3141], "disallowed"], [[3142, 3144], "valid"], [[3145, 3145], "disallowed"], [[3146, 3149], "valid"], [[3150, 3156], "disallowed"], [[3157, 3158], "valid"], [[3159, 3159], "disallowed"], [[3160, 3161], "valid"], [[3162, 3162], "valid"], [[3163, 3167], "disallowed"], [[3168, 3169], "valid"], [[3170, 3171], "valid"], [[3172, 3173], "disallowed"], [[3174, 3183], "valid"], [[3184, 3191], "disallowed"], [[3192, 3199], "valid", [], "NV8"], [[3200, 3200], "disallowed"], [[3201, 3201], "valid"], [[3202, 3203], "valid"], [[3204, 3204], "disallowed"], [[3205, 3212], "valid"], [[3213, 3213], "disallowed"], [[3214, 3216], "valid"], [[3217, 3217], "disallowed"], [[3218, 3240], "valid"], [[3241, 3241], "disallowed"], [[3242, 3251], "valid"], [[3252, 3252], "disallowed"], [[3253, 3257], "valid"], [[3258, 3259], "disallowed"], [[3260, 3261], "valid"], [[3262, 3268], "valid"], [[3269, 3269], "disallowed"], [[3270, 3272], "valid"], [[3273, 3273], "disallowed"], [[3274, 3277], "valid"], [[3278, 3284], "disallowed"], [[3285, 3286], "valid"], [[3287, 3293], "disallowed"], [[3294, 3294], "valid"], [[3295, 3295], "disallowed"], [[3296, 3297], "valid"], [[3298, 3299], "valid"], [[3300, 3301], "disallowed"], [[3302, 3311], "valid"], [[3312, 3312], "disallowed"], [[3313, 3314], "valid"], [[3315, 3328], "disallowed"], [[3329, 3329], "valid"], [[3330, 3331], "valid"], [[3332, 3332], "disallowed"], [[3333, 3340], "valid"], [[3341, 3341], "disallowed"], [[3342, 3344], "valid"], [[3345, 3345], "disallowed"], [[3346, 3368], "valid"], [[3369, 3369], "valid"], [[3370, 3385], "valid"], [[3386, 3386], "valid"], [[3387, 3388], "disallowed"], [[3389, 3389], "valid"], [[3390, 3395], "valid"], [[3396, 3396], "valid"], [[3397, 3397], "disallowed"], [[3398, 3400], "valid"], [[3401, 3401], "disallowed"], [[3402, 3405], "valid"], [[3406, 3406], "valid"], [[3407, 3414], "disallowed"], [[3415, 3415], "valid"], [[3416, 3422], "disallowed"], [[3423, 3423], "valid"], [[3424, 3425], "valid"], [[3426, 3427], "valid"], [[3428, 3429], "disallowed"], [[3430, 3439], "valid"], [[3440, 3445], "valid", [], "NV8"], [[3446, 3448], "disallowed"], [[3449, 3449], "valid", [], "NV8"], [[3450, 3455], "valid"], [[3456, 3457], "disallowed"], [[3458, 3459], "valid"], [[3460, 3460], "disallowed"], [[3461, 3478], "valid"], [[3479, 3481], "disallowed"], [[3482, 3505], "valid"], [[3506, 3506], "disallowed"], [[3507, 3515], "valid"], [[3516, 3516], "disallowed"], [[3517, 3517], "valid"], [[3518, 3519], "disallowed"], [[3520, 3526], "valid"], [[3527, 3529], "disallowed"], [[3530, 3530], "valid"], [[3531, 3534], "disallowed"], [[3535, 3540], "valid"], [[3541, 3541], "disallowed"], [[3542, 3542], "valid"], [[3543, 3543], "disallowed"], [[3544, 3551], "valid"], [[3552, 3557], "disallowed"], [[3558, 3567], "valid"], [[3568, 3569], "disallowed"], [[3570, 3571], "valid"], [[3572, 3572], "valid", [], "NV8"], [[3573, 3584], "disallowed"], [[3585, 3634], "valid"], [[3635, 3635], "mapped", [3661, 3634]], [[3636, 3642], "valid"], [[3643, 3646], "disallowed"], [[3647, 3647], "valid", [], "NV8"], [[3648, 3662], "valid"], [[3663, 3663], "valid", [], "NV8"], [[3664, 3673], "valid"], [[3674, 3675], "valid", [], "NV8"], [[3676, 3712], "disallowed"], [[3713, 3714], "valid"], [[3715, 3715], "disallowed"], [[3716, 3716], "valid"], [[3717, 3718], "disallowed"], [[3719, 3720], "valid"], [[3721, 3721], "disallowed"], [[3722, 3722], "valid"], [[3723, 3724], "disallowed"], [[3725, 3725], "valid"], [[3726, 3731], "disallowed"], [[3732, 3735], "valid"], [[3736, 3736], "disallowed"], [[3737, 3743], "valid"], [[3744, 3744], "disallowed"], [[3745, 3747], "valid"], [[3748, 3748], "disallowed"], [[3749, 3749], "valid"], [[3750, 3750], "disallowed"], [[3751, 3751], "valid"], [[3752, 3753], "disallowed"], [[3754, 3755], "valid"], [[3756, 3756], "disallowed"], [[3757, 3762], "valid"], [[3763, 3763], "mapped", [3789, 3762]], [[3764, 3769], "valid"], [[3770, 3770], "disallowed"], [[3771, 3773], "valid"], [[3774, 3775], "disallowed"], [[3776, 3780], "valid"], [[3781, 3781], "disallowed"], [[3782, 3782], "valid"], [[3783, 3783], "disallowed"], [[3784, 3789], "valid"], [[3790, 3791], "disallowed"], [[3792, 3801], "valid"], [[3802, 3803], "disallowed"], [[3804, 3804], "mapped", [3755, 3737]], [[3805, 3805], "mapped", [3755, 3745]], [[3806, 3807], "valid"], [[3808, 3839], "disallowed"], [[3840, 3840], "valid"], [[3841, 3850], "valid", [], "NV8"], [[3851, 3851], "valid"], [[3852, 3852], "mapped", [3851]], [[3853, 3863], "valid", [], "NV8"], [[3864, 3865], "valid"], [[3866, 3871], "valid", [], "NV8"], [[3872, 3881], "valid"], [[3882, 3892], "valid", [], "NV8"], [[3893, 3893], "valid"], [[3894, 3894], "valid", [], "NV8"], [[3895, 3895], "valid"], [[3896, 3896], "valid", [], "NV8"], [[3897, 3897], "valid"], [[3898, 3901], "valid", [], "NV8"], [[3902, 3906], "valid"], [[3907, 3907], "mapped", [3906, 4023]], [[3908, 3911], "valid"], [[3912, 3912], "disallowed"], [[3913, 3916], "valid"], [[3917, 3917], "mapped", [3916, 4023]], [[3918, 3921], "valid"], [[3922, 3922], "mapped", [3921, 4023]], [[3923, 3926], "valid"], [[3927, 3927], "mapped", [3926, 4023]], [[3928, 3931], "valid"], [[3932, 3932], "mapped", [3931, 4023]], [[3933, 3944], "valid"], [[3945, 3945], "mapped", [3904, 4021]], [[3946, 3946], "valid"], [[3947, 3948], "valid"], [[3949, 3952], "disallowed"], [[3953, 3954], "valid"], [[3955, 3955], "mapped", [3953, 3954]], [[3956, 3956], "valid"], [[3957, 3957], "mapped", [3953, 3956]], [[3958, 3958], "mapped", [4018, 3968]], [[3959, 3959], "mapped", [4018, 3953, 3968]], [[3960, 3960], "mapped", [4019, 3968]], [[3961, 3961], "mapped", [4019, 3953, 3968]], [[3962, 3968], "valid"], [[3969, 3969], "mapped", [3953, 3968]], [[3970, 3972], "valid"], [[3973, 3973], "valid", [], "NV8"], [[3974, 3979], "valid"], [[3980, 3983], "valid"], [[3984, 3986], "valid"], [[3987, 3987], "mapped", [3986, 4023]], [[3988, 3989], "valid"], [[3990, 3990], "valid"], [[3991, 3991], "valid"], [[3992, 3992], "disallowed"], [[3993, 3996], "valid"], [[3997, 3997], "mapped", [3996, 4023]], [[3998, 4001], "valid"], [[4002, 4002], "mapped", [4001, 4023]], [[4003, 4006], "valid"], [[4007, 4007], "mapped", [4006, 4023]], [[4008, 4011], "valid"], [[4012, 4012], "mapped", [4011, 4023]], [[4013, 4013], "valid"], [[4014, 4016], "valid"], [[4017, 4023], "valid"], [[4024, 4024], "valid"], [[4025, 4025], "mapped", [3984, 4021]], [[4026, 4028], "valid"], [[4029, 4029], "disallowed"], [[4030, 4037], "valid", [], "NV8"], [[4038, 4038], "valid"], [[4039, 4044], "valid", [], "NV8"], [[4045, 4045], "disallowed"], [[4046, 4046], "valid", [], "NV8"], [[4047, 4047], "valid", [], "NV8"], [[4048, 4049], "valid", [], "NV8"], [[4050, 4052], "valid", [], "NV8"], [[4053, 4056], "valid", [], "NV8"], [[4057, 4058], "valid", [], "NV8"], [[4059, 4095], "disallowed"], [[4096, 4129], "valid"], [[4130, 4130], "valid"], [[4131, 4135], "valid"], [[4136, 4136], "valid"], [[4137, 4138], "valid"], [[4139, 4139], "valid"], [[4140, 4146], "valid"], [[4147, 4149], "valid"], [[4150, 4153], "valid"], [[4154, 4159], "valid"], [[4160, 4169], "valid"], [[4170, 4175], "valid", [], "NV8"], [[4176, 4185], "valid"], [[4186, 4249], "valid"], [[4250, 4253], "valid"], [[4254, 4255], "valid", [], "NV8"], [[4256, 4293], "disallowed"], [[4294, 4294], "disallowed"], [[4295, 4295], "mapped", [11559]], [[4296, 4300], "disallowed"], [[4301, 4301], "mapped", [11565]], [[4302, 4303], "disallowed"], [[4304, 4342], "valid"], [[4343, 4344], "valid"], [[4345, 4346], "valid"], [[4347, 4347], "valid", [], "NV8"], [[4348, 4348], "mapped", [4316]], [[4349, 4351], "valid"], [[4352, 4441], "valid", [], "NV8"], [[4442, 4446], "valid", [], "NV8"], [[4447, 4448], "disallowed"], [[4449, 4514], "valid", [], "NV8"], [[4515, 4519], "valid", [], "NV8"], [[4520, 4601], "valid", [], "NV8"], [[4602, 4607], "valid", [], "NV8"], [[4608, 4614], "valid"], [[4615, 4615], "valid"], [[4616, 4678], "valid"], [[4679, 4679], "valid"], [[4680, 4680], "valid"], [[4681, 4681], "disallowed"], [[4682, 4685], "valid"], [[4686, 4687], "disallowed"], [[4688, 4694], "valid"], [[4695, 4695], "disallowed"], [[4696, 4696], "valid"], [[4697, 4697], "disallowed"], [[4698, 4701], "valid"], [[4702, 4703], "disallowed"], [[4704, 4742], "valid"], [[4743, 4743], "valid"], [[4744, 4744], "valid"], [[4745, 4745], "disallowed"], [[4746, 4749], "valid"], [[4750, 4751], "disallowed"], [[4752, 4782], "valid"], [[4783, 4783], "valid"], [[4784, 4784], "valid"], [[4785, 4785], "disallowed"], [[4786, 4789], "valid"], [[4790, 4791], "disallowed"], [[4792, 4798], "valid"], [[4799, 4799], "disallowed"], [[4800, 4800], "valid"], [[4801, 4801], "disallowed"], [[4802, 4805], "valid"], [[4806, 4807], "disallowed"], [[4808, 4814], "valid"], [[4815, 4815], "valid"], [[4816, 4822], "valid"], [[4823, 4823], "disallowed"], [[4824, 4846], "valid"], [[4847, 4847], "valid"], [[4848, 4878], "valid"], [[4879, 4879], "valid"], [[4880, 4880], "valid"], [[4881, 4881], "disallowed"], [[4882, 4885], "valid"], [[4886, 4887], "disallowed"], [[4888, 4894], "valid"], [[4895, 4895], "valid"], [[4896, 4934], "valid"], [[4935, 4935], "valid"], [[4936, 4954], "valid"], [[4955, 4956], "disallowed"], [[4957, 4958], "valid"], [[4959, 4959], "valid"], [[4960, 4960], "valid", [], "NV8"], [[4961, 4988], "valid", [], "NV8"], [[4989, 4991], "disallowed"], [[4992, 5007], "valid"], [[5008, 5017], "valid", [], "NV8"], [[5018, 5023], "disallowed"], [[5024, 5108], "valid"], [[5109, 5109], "valid"], [[5110, 5111], "disallowed"], [[5112, 5112], "mapped", [5104]], [[5113, 5113], "mapped", [5105]], [[5114, 5114], "mapped", [5106]], [[5115, 5115], "mapped", [5107]], [[5116, 5116], "mapped", [5108]], [[5117, 5117], "mapped", [5109]], [[5118, 5119], "disallowed"], [[5120, 5120], "valid", [], "NV8"], [[5121, 5740], "valid"], [[5741, 5742], "valid", [], "NV8"], [[5743, 5750], "valid"], [[5751, 5759], "valid"], [[5760, 5760], "disallowed"], [[5761, 5786], "valid"], [[5787, 5788], "valid", [], "NV8"], [[5789, 5791], "disallowed"], [[5792, 5866], "valid"], [[5867, 5872], "valid", [], "NV8"], [[5873, 5880], "valid"], [[5881, 5887], "disallowed"], [[5888, 5900], "valid"], [[5901, 5901], "disallowed"], [[5902, 5908], "valid"], [[5909, 5919], "disallowed"], [[5920, 5940], "valid"], [[5941, 5942], "valid", [], "NV8"], [[5943, 5951], "disallowed"], [[5952, 5971], "valid"], [[5972, 5983], "disallowed"], [[5984, 5996], "valid"], [[5997, 5997], "disallowed"], [[5998, 6e3], "valid"], [[6001, 6001], "disallowed"], [[6002, 6003], "valid"], [[6004, 6015], "disallowed"], [[6016, 6067], "valid"], [[6068, 6069], "disallowed"], [[6070, 6099], "valid"], [[6100, 6102], "valid", [], "NV8"], [[6103, 6103], "valid"], [[6104, 6107], "valid", [], "NV8"], [[6108, 6108], "valid"], [[6109, 6109], "valid"], [[6110, 6111], "disallowed"], [[6112, 6121], "valid"], [[6122, 6127], "disallowed"], [[6128, 6137], "valid", [], "NV8"], [[6138, 6143], "disallowed"], [[6144, 6149], "valid", [], "NV8"], [[6150, 6150], "disallowed"], [[6151, 6154], "valid", [], "NV8"], [[6155, 6157], "ignored"], [[6158, 6158], "disallowed"], [[6159, 6159], "disallowed"], [[6160, 6169], "valid"], [[6170, 6175], "disallowed"], [[6176, 6263], "valid"], [[6264, 6271], "disallowed"], [[6272, 6313], "valid"], [[6314, 6314], "valid"], [[6315, 6319], "disallowed"], [[6320, 6389], "valid"], [[6390, 6399], "disallowed"], [[6400, 6428], "valid"], [[6429, 6430], "valid"], [[6431, 6431], "disallowed"], [[6432, 6443], "valid"], [[6444, 6447], "disallowed"], [[6448, 6459], "valid"], [[6460, 6463], "disallowed"], [[6464, 6464], "valid", [], "NV8"], [[6465, 6467], "disallowed"], [[6468, 6469], "valid", [], "NV8"], [[6470, 6509], "valid"], [[6510, 6511], "disallowed"], [[6512, 6516], "valid"], [[6517, 6527], "disallowed"], [[6528, 6569], "valid"], [[6570, 6571], "valid"], [[6572, 6575], "disallowed"], [[6576, 6601], "valid"], [[6602, 6607], "disallowed"], [[6608, 6617], "valid"], [[6618, 6618], "valid", [], "XV8"], [[6619, 6621], "disallowed"], [[6622, 6623], "valid", [], "NV8"], [[6624, 6655], "valid", [], "NV8"], [[6656, 6683], "valid"], [[6684, 6685], "disallowed"], [[6686, 6687], "valid", [], "NV8"], [[6688, 6750], "valid"], [[6751, 6751], "disallowed"], [[6752, 6780], "valid"], [[6781, 6782], "disallowed"], [[6783, 6793], "valid"], [[6794, 6799], "disallowed"], [[6800, 6809], "valid"], [[6810, 6815], "disallowed"], [[6816, 6822], "valid", [], "NV8"], [[6823, 6823], "valid"], [[6824, 6829], "valid", [], "NV8"], [[6830, 6831], "disallowed"], [[6832, 6845], "valid"], [[6846, 6846], "valid", [], "NV8"], [[6847, 6911], "disallowed"], [[6912, 6987], "valid"], [[6988, 6991], "disallowed"], [[6992, 7001], "valid"], [[7002, 7018], "valid", [], "NV8"], [[7019, 7027], "valid"], [[7028, 7036], "valid", [], "NV8"], [[7037, 7039], "disallowed"], [[7040, 7082], "valid"], [[7083, 7085], "valid"], [[7086, 7097], "valid"], [[7098, 7103], "valid"], [[7104, 7155], "valid"], [[7156, 7163], "disallowed"], [[7164, 7167], "valid", [], "NV8"], [[7168, 7223], "valid"], [[7224, 7226], "disallowed"], [[7227, 7231], "valid", [], "NV8"], [[7232, 7241], "valid"], [[7242, 7244], "disallowed"], [[7245, 7293], "valid"], [[7294, 7295], "valid", [], "NV8"], [[7296, 7359], "disallowed"], [[7360, 7367], "valid", [], "NV8"], [[7368, 7375], "disallowed"], [[7376, 7378], "valid"], [[7379, 7379], "valid", [], "NV8"], [[7380, 7410], "valid"], [[7411, 7414], "valid"], [[7415, 7415], "disallowed"], [[7416, 7417], "valid"], [[7418, 7423], "disallowed"], [[7424, 7467], "valid"], [[7468, 7468], "mapped", [97]], [[7469, 7469], "mapped", [230]], [[7470, 7470], "mapped", [98]], [[7471, 7471], "valid"], [[7472, 7472], "mapped", [100]], [[7473, 7473], "mapped", [101]], [[7474, 7474], "mapped", [477]], [[7475, 7475], "mapped", [103]], [[7476, 7476], "mapped", [104]], [[7477, 7477], "mapped", [105]], [[7478, 7478], "mapped", [106]], [[7479, 7479], "mapped", [107]], [[7480, 7480], "mapped", [108]], [[7481, 7481], "mapped", [109]], [[7482, 7482], "mapped", [110]], [[7483, 7483], "valid"], [[7484, 7484], "mapped", [111]], [[7485, 7485], "mapped", [547]], [[7486, 7486], "mapped", [112]], [[7487, 7487], "mapped", [114]], [[7488, 7488], "mapped", [116]], [[7489, 7489], "mapped", [117]], [[7490, 7490], "mapped", [119]], [[7491, 7491], "mapped", [97]], [[7492, 7492], "mapped", [592]], [[7493, 7493], "mapped", [593]], [[7494, 7494], "mapped", [7426]], [[7495, 7495], "mapped", [98]], [[7496, 7496], "mapped", [100]], [[7497, 7497], "mapped", [101]], [[7498, 7498], "mapped", [601]], [[7499, 7499], "mapped", [603]], [[7500, 7500], "mapped", [604]], [[7501, 7501], "mapped", [103]], [[7502, 7502], "valid"], [[7503, 7503], "mapped", [107]], [[7504, 7504], "mapped", [109]], [[7505, 7505], "mapped", [331]], [[7506, 7506], "mapped", [111]], [[7507, 7507], "mapped", [596]], [[7508, 7508], "mapped", [7446]], [[7509, 7509], "mapped", [7447]], [[7510, 7510], "mapped", [112]], [[7511, 7511], "mapped", [116]], [[7512, 7512], "mapped", [117]], [[7513, 7513], "mapped", [7453]], [[7514, 7514], "mapped", [623]], [[7515, 7515], "mapped", [118]], [[7516, 7516], "mapped", [7461]], [[7517, 7517], "mapped", [946]], [[7518, 7518], "mapped", [947]], [[7519, 7519], "mapped", [948]], [[7520, 7520], "mapped", [966]], [[7521, 7521], "mapped", [967]], [[7522, 7522], "mapped", [105]], [[7523, 7523], "mapped", [114]], [[7524, 7524], "mapped", [117]], [[7525, 7525], "mapped", [118]], [[7526, 7526], "mapped", [946]], [[7527, 7527], "mapped", [947]], [[7528, 7528], "mapped", [961]], [[7529, 7529], "mapped", [966]], [[7530, 7530], "mapped", [967]], [[7531, 7531], "valid"], [[7532, 7543], "valid"], [[7544, 7544], "mapped", [1085]], [[7545, 7578], "valid"], [[7579, 7579], "mapped", [594]], [[7580, 7580], "mapped", [99]], [[7581, 7581], "mapped", [597]], [[7582, 7582], "mapped", [240]], [[7583, 7583], "mapped", [604]], [[7584, 7584], "mapped", [102]], [[7585, 7585], "mapped", [607]], [[7586, 7586], "mapped", [609]], [[7587, 7587], "mapped", [613]], [[7588, 7588], "mapped", [616]], [[7589, 7589], "mapped", [617]], [[7590, 7590], "mapped", [618]], [[7591, 7591], "mapped", [7547]], [[7592, 7592], "mapped", [669]], [[7593, 7593], "mapped", [621]], [[7594, 7594], "mapped", [7557]], [[7595, 7595], "mapped", [671]], [[7596, 7596], "mapped", [625]], [[7597, 7597], "mapped", [624]], [[7598, 7598], "mapped", [626]], [[7599, 7599], "mapped", [627]], [[7600, 7600], "mapped", [628]], [[7601, 7601], "mapped", [629]], [[7602, 7602], "mapped", [632]], [[7603, 7603], "mapped", [642]], [[7604, 7604], "mapped", [643]], [[7605, 7605], "mapped", [427]], [[7606, 7606], "mapped", [649]], [[7607, 7607], "mapped", [650]], [[7608, 7608], "mapped", [7452]], [[7609, 7609], "mapped", [651]], [[7610, 7610], "mapped", [652]], [[7611, 7611], "mapped", [122]], [[7612, 7612], "mapped", [656]], [[7613, 7613], "mapped", [657]], [[7614, 7614], "mapped", [658]], [[7615, 7615], "mapped", [952]], [[7616, 7619], "valid"], [[7620, 7626], "valid"], [[7627, 7654], "valid"], [[7655, 7669], "valid"], [[7670, 7675], "disallowed"], [[7676, 7676], "valid"], [[7677, 7677], "valid"], [[7678, 7679], "valid"], [[7680, 7680], "mapped", [7681]], [[7681, 7681], "valid"], [[7682, 7682], "mapped", [7683]], [[7683, 7683], "valid"], [[7684, 7684], "mapped", [7685]], [[7685, 7685], "valid"], [[7686, 7686], "mapped", [7687]], [[7687, 7687], "valid"], [[7688, 7688], "mapped", [7689]], [[7689, 7689], "valid"], [[7690, 7690], "mapped", [7691]], [[7691, 7691], "valid"], [[7692, 7692], "mapped", [7693]], [[7693, 7693], "valid"], [[7694, 7694], "mapped", [7695]], [[7695, 7695], "valid"], [[7696, 7696], "mapped", [7697]], [[7697, 7697], "valid"], [[7698, 7698], "mapped", [7699]], [[7699, 7699], "valid"], [[7700, 7700], "mapped", [7701]], [[7701, 7701], "valid"], [[7702, 7702], "mapped", [7703]], [[7703, 7703], "valid"], [[7704, 7704], "mapped", [7705]], [[7705, 7705], "valid"], [[7706, 7706], "mapped", [7707]], [[7707, 7707], "valid"], [[7708, 7708], "mapped", [7709]], [[7709, 7709], "valid"], [[7710, 7710], "mapped", [7711]], [[7711, 7711], "valid"], [[7712, 7712], "mapped", [7713]], [[7713, 7713], "valid"], [[7714, 7714], "mapped", [7715]], [[7715, 7715], "valid"], [[7716, 7716], "mapped", [7717]], [[7717, 7717], "valid"], [[7718, 7718], "mapped", [7719]], [[7719, 7719], "valid"], [[7720, 7720], "mapped", [7721]], [[7721, 7721], "valid"], [[7722, 7722], "mapped", [7723]], [[7723, 7723], "valid"], [[7724, 7724], "mapped", [7725]], [[7725, 7725], "valid"], [[7726, 7726], "mapped", [7727]], [[7727, 7727], "valid"], [[7728, 7728], "mapped", [7729]], [[7729, 7729], "valid"], [[7730, 7730], "mapped", [7731]], [[7731, 7731], "valid"], [[7732, 7732], "mapped", [7733]], [[7733, 7733], "valid"], [[7734, 7734], "mapped", [7735]], [[7735, 7735], "valid"], [[7736, 7736], "mapped", [7737]], [[7737, 7737], "valid"], [[7738, 7738], "mapped", [7739]], [[7739, 7739], "valid"], [[7740, 7740], "mapped", [7741]], [[7741, 7741], "valid"], [[7742, 7742], "mapped", [7743]], [[7743, 7743], "valid"], [[7744, 7744], "mapped", [7745]], [[7745, 7745], "valid"], [[7746, 7746], "mapped", [7747]], [[7747, 7747], "valid"], [[7748, 7748], "mapped", [7749]], [[7749, 7749], "valid"], [[7750, 7750], "mapped", [7751]], [[7751, 7751], "valid"], [[7752, 7752], "mapped", [7753]], [[7753, 7753], "valid"], [[7754, 7754], "mapped", [7755]], [[7755, 7755], "valid"], [[7756, 7756], "mapped", [7757]], [[7757, 7757], "valid"], [[7758, 7758], "mapped", [7759]], [[7759, 7759], "valid"], [[7760, 7760], "mapped", [7761]], [[7761, 7761], "valid"], [[7762, 7762], "mapped", [7763]], [[7763, 7763], "valid"], [[7764, 7764], "mapped", [7765]], [[7765, 7765], "valid"], [[7766, 7766], "mapped", [7767]], [[7767, 7767], "valid"], [[7768, 7768], "mapped", [7769]], [[7769, 7769], "valid"], [[7770, 7770], "mapped", [7771]], [[7771, 7771], "valid"], [[7772, 7772], "mapped", [7773]], [[7773, 7773], "valid"], [[7774, 7774], "mapped", [7775]], [[7775, 7775], "valid"], [[7776, 7776], "mapped", [7777]], [[7777, 7777], "valid"], [[7778, 7778], "mapped", [7779]], [[7779, 7779], "valid"], [[7780, 7780], "mapped", [7781]], [[7781, 7781], "valid"], [[7782, 7782], "mapped", [7783]], [[7783, 7783], "valid"], [[7784, 7784], "mapped", [7785]], [[7785, 7785], "valid"], [[7786, 7786], "mapped", [7787]], [[7787, 7787], "valid"], [[7788, 7788], "mapped", [7789]], [[7789, 7789], "valid"], [[7790, 7790], "mapped", [7791]], [[7791, 7791], "valid"], [[7792, 7792], "mapped", [7793]], [[7793, 7793], "valid"], [[7794, 7794], "mapped", [7795]], [[7795, 7795], "valid"], [[7796, 7796], "mapped", [7797]], [[7797, 7797], "valid"], [[7798, 7798], "mapped", [7799]], [[7799, 7799], "valid"], [[7800, 7800], "mapped", [7801]], [[7801, 7801], "valid"], [[7802, 7802], "mapped", [7803]], [[7803, 7803], "valid"], [[7804, 7804], "mapped", [7805]], [[7805, 7805], "valid"], [[7806, 7806], "mapped", [7807]], [[7807, 7807], "valid"], [[7808, 7808], "mapped", [7809]], [[7809, 7809], "valid"], [[7810, 7810], "mapped", [7811]], [[7811, 7811], "valid"], [[7812, 7812], "mapped", [7813]], [[7813, 7813], "valid"], [[7814, 7814], "mapped", [7815]], [[7815, 7815], "valid"], [[7816, 7816], "mapped", [7817]], [[7817, 7817], "valid"], [[7818, 7818], "mapped", [7819]], [[7819, 7819], "valid"], [[7820, 7820], "mapped", [7821]], [[7821, 7821], "valid"], [[7822, 7822], "mapped", [7823]], [[7823, 7823], "valid"], [[7824, 7824], "mapped", [7825]], [[7825, 7825], "valid"], [[7826, 7826], "mapped", [7827]], [[7827, 7827], "valid"], [[7828, 7828], "mapped", [7829]], [[7829, 7833], "valid"], [[7834, 7834], "mapped", [97, 702]], [[7835, 7835], "mapped", [7777]], [[7836, 7837], "valid"], [[7838, 7838], "mapped", [115, 115]], [[7839, 7839], "valid"], [[7840, 7840], "mapped", [7841]], [[7841, 7841], "valid"], [[7842, 7842], "mapped", [7843]], [[7843, 7843], "valid"], [[7844, 7844], "mapped", [7845]], [[7845, 7845], "valid"], [[7846, 7846], "mapped", [7847]], [[7847, 7847], "valid"], [[7848, 7848], "mapped", [7849]], [[7849, 7849], "valid"], [[7850, 7850], "mapped", [7851]], [[7851, 7851], "valid"], [[7852, 7852], "mapped", [7853]], [[7853, 7853], "valid"], [[7854, 7854], "mapped", [7855]], [[7855, 7855], "valid"], [[7856, 7856], "mapped", [7857]], [[7857, 7857], "valid"], [[7858, 7858], "mapped", [7859]], [[7859, 7859], "valid"], [[7860, 7860], "mapped", [7861]], [[7861, 7861], "valid"], [[7862, 7862], "mapped", [7863]], [[7863, 7863], "valid"], [[7864, 7864], "mapped", [7865]], [[7865, 7865], "valid"], [[7866, 7866], "mapped", [7867]], [[7867, 7867], "valid"], [[7868, 7868], "mapped", [7869]], [[7869, 7869], "valid"], [[7870, 7870], "mapped", [7871]], [[7871, 7871], "valid"], [[7872, 7872], "mapped", [7873]], [[7873, 7873], "valid"], [[7874, 7874], "mapped", [7875]], [[7875, 7875], "valid"], [[7876, 7876], "mapped", [7877]], [[7877, 7877], "valid"], [[7878, 7878], "mapped", [7879]], [[7879, 7879], "valid"], [[7880, 7880], "mapped", [7881]], [[7881, 7881], "valid"], [[7882, 7882], "mapped", [7883]], [[7883, 7883], "valid"], [[7884, 7884], "mapped", [7885]], [[7885, 7885], "valid"], [[7886, 7886], "mapped", [7887]], [[7887, 7887], "valid"], [[7888, 7888], "mapped", [7889]], [[7889, 7889], "valid"], [[7890, 7890], "mapped", [7891]], [[7891, 7891], "valid"], [[7892, 7892], "mapped", [7893]], [[7893, 7893], "valid"], [[7894, 7894], "mapped", [7895]], [[7895, 7895], "valid"], [[7896, 7896], "mapped", [7897]], [[7897, 7897], "valid"], [[7898, 7898], "mapped", [7899]], [[7899, 7899], "valid"], [[7900, 7900], "mapped", [7901]], [[7901, 7901], "valid"], [[7902, 7902], "mapped", [7903]], [[7903, 7903], "valid"], [[7904, 7904], "mapped", [7905]], [[7905, 7905], "valid"], [[7906, 7906], "mapped", [7907]], [[7907, 7907], "valid"], [[7908, 7908], "mapped", [7909]], [[7909, 7909], "valid"], [[7910, 7910], "mapped", [7911]], [[7911, 7911], "valid"], [[7912, 7912], "mapped", [7913]], [[7913, 7913], "valid"], [[7914, 7914], "mapped", [7915]], [[7915, 7915], "valid"], [[7916, 7916], "mapped", [7917]], [[7917, 7917], "valid"], [[7918, 7918], "mapped", [7919]], [[7919, 7919], "valid"], [[7920, 7920], "mapped", [7921]], [[7921, 7921], "valid"], [[7922, 7922], "mapped", [7923]], [[7923, 7923], "valid"], [[7924, 7924], "mapped", [7925]], [[7925, 7925], "valid"], [[7926, 7926], "mapped", [7927]], [[7927, 7927], "valid"], [[7928, 7928], "mapped", [7929]], [[7929, 7929], "valid"], [[7930, 7930], "mapped", [7931]], [[7931, 7931], "valid"], [[7932, 7932], "mapped", [7933]], [[7933, 7933], "valid"], [[7934, 7934], "mapped", [7935]], [[7935, 7935], "valid"], [[7936, 7943], "valid"], [[7944, 7944], "mapped", [7936]], [[7945, 7945], "mapped", [7937]], [[7946, 7946], "mapped", [7938]], [[7947, 7947], "mapped", [7939]], [[7948, 7948], "mapped", [7940]], [[7949, 7949], "mapped", [7941]], [[7950, 7950], "mapped", [7942]], [[7951, 7951], "mapped", [7943]], [[7952, 7957], "valid"], [[7958, 7959], "disallowed"], [[7960, 7960], "mapped", [7952]], [[7961, 7961], "mapped", [7953]], [[7962, 7962], "mapped", [7954]], [[7963, 7963], "mapped", [7955]], [[7964, 7964], "mapped", [7956]], [[7965, 7965], "mapped", [7957]], [[7966, 7967], "disallowed"], [[7968, 7975], "valid"], [[7976, 7976], "mapped", [7968]], [[7977, 7977], "mapped", [7969]], [[7978, 7978], "mapped", [7970]], [[7979, 7979], "mapped", [7971]], [[7980, 7980], "mapped", [7972]], [[7981, 7981], "mapped", [7973]], [[7982, 7982], "mapped", [7974]], [[7983, 7983], "mapped", [7975]], [[7984, 7991], "valid"], [[7992, 7992], "mapped", [7984]], [[7993, 7993], "mapped", [7985]], [[7994, 7994], "mapped", [7986]], [[7995, 7995], "mapped", [7987]], [[7996, 7996], "mapped", [7988]], [[7997, 7997], "mapped", [7989]], [[7998, 7998], "mapped", [7990]], [[7999, 7999], "mapped", [7991]], [[8e3, 8005], "valid"], [[8006, 8007], "disallowed"], [[8008, 8008], "mapped", [8e3]], [[8009, 8009], "mapped", [8001]], [[8010, 8010], "mapped", [8002]], [[8011, 8011], "mapped", [8003]], [[8012, 8012], "mapped", [8004]], [[8013, 8013], "mapped", [8005]], [[8014, 8015], "disallowed"], [[8016, 8023], "valid"], [[8024, 8024], "disallowed"], [[8025, 8025], "mapped", [8017]], [[8026, 8026], "disallowed"], [[8027, 8027], "mapped", [8019]], [[8028, 8028], "disallowed"], [[8029, 8029], "mapped", [8021]], [[8030, 8030], "disallowed"], [[8031, 8031], "mapped", [8023]], [[8032, 8039], "valid"], [[8040, 8040], "mapped", [8032]], [[8041, 8041], "mapped", [8033]], [[8042, 8042], "mapped", [8034]], [[8043, 8043], "mapped", [8035]], [[8044, 8044], "mapped", [8036]], [[8045, 8045], "mapped", [8037]], [[8046, 8046], "mapped", [8038]], [[8047, 8047], "mapped", [8039]], [[8048, 8048], "valid"], [[8049, 8049], "mapped", [940]], [[8050, 8050], "valid"], [[8051, 8051], "mapped", [941]], [[8052, 8052], "valid"], [[8053, 8053], "mapped", [942]], [[8054, 8054], "valid"], [[8055, 8055], "mapped", [943]], [[8056, 8056], "valid"], [[8057, 8057], "mapped", [972]], [[8058, 8058], "valid"], [[8059, 8059], "mapped", [973]], [[8060, 8060], "valid"], [[8061, 8061], "mapped", [974]], [[8062, 8063], "disallowed"], [[8064, 8064], "mapped", [7936, 953]], [[8065, 8065], "mapped", [7937, 953]], [[8066, 8066], "mapped", [7938, 953]], [[8067, 8067], "mapped", [7939, 953]], [[8068, 8068], "mapped", [7940, 953]], [[8069, 8069], "mapped", [7941, 953]], [[8070, 8070], "mapped", [7942, 953]], [[8071, 8071], "mapped", [7943, 953]], [[8072, 8072], "mapped", [7936, 953]], [[8073, 8073], "mapped", [7937, 953]], [[8074, 8074], "mapped", [7938, 953]], [[8075, 8075], "mapped", [7939, 953]], [[8076, 8076], "mapped", [7940, 953]], [[8077, 8077], "mapped", [7941, 953]], [[8078, 8078], "mapped", [7942, 953]], [[8079, 8079], "mapped", [7943, 953]], [[8080, 8080], "mapped", [7968, 953]], [[8081, 8081], "mapped", [7969, 953]], [[8082, 8082], "mapped", [7970, 953]], [[8083, 8083], "mapped", [7971, 953]], [[8084, 8084], "mapped", [7972, 953]], [[8085, 8085], "mapped", [7973, 953]], [[8086, 8086], "mapped", [7974, 953]], [[8087, 8087], "mapped", [7975, 953]], [[8088, 8088], "mapped", [7968, 953]], [[8089, 8089], "mapped", [7969, 953]], [[8090, 8090], "mapped", [7970, 953]], [[8091, 8091], "mapped", [7971, 953]], [[8092, 8092], "mapped", [7972, 953]], [[8093, 8093], "mapped", [7973, 953]], [[8094, 8094], "mapped", [7974, 953]], [[8095, 8095], "mapped", [7975, 953]], [[8096, 8096], "mapped", [8032, 953]], [[8097, 8097], "mapped", [8033, 953]], [[8098, 8098], "mapped", [8034, 953]], [[8099, 8099], "mapped", [8035, 953]], [[8100, 8100], "mapped", [8036, 953]], [[8101, 8101], "mapped", [8037, 953]], [[8102, 8102], "mapped", [8038, 953]], [[8103, 8103], "mapped", [8039, 953]], [[8104, 8104], "mapped", [8032, 953]], [[8105, 8105], "mapped", [8033, 953]], [[8106, 8106], "mapped", [8034, 953]], [[8107, 8107], "mapped", [8035, 953]], [[8108, 8108], "mapped", [8036, 953]], [[8109, 8109], "mapped", [8037, 953]], [[8110, 8110], "mapped", [8038, 953]], [[8111, 8111], "mapped", [8039, 953]], [[8112, 8113], "valid"], [[8114, 8114], "mapped", [8048, 953]], [[8115, 8115], "mapped", [945, 953]], [[8116, 8116], "mapped", [940, 953]], [[8117, 8117], "disallowed"], [[8118, 8118], "valid"], [[8119, 8119], "mapped", [8118, 953]], [[8120, 8120], "mapped", [8112]], [[8121, 8121], "mapped", [8113]], [[8122, 8122], "mapped", [8048]], [[8123, 8123], "mapped", [940]], [[8124, 8124], "mapped", [945, 953]], [[8125, 8125], "disallowed_STD3_mapped", [32, 787]], [[8126, 8126], "mapped", [953]], [[8127, 8127], "disallowed_STD3_mapped", [32, 787]], [[8128, 8128], "disallowed_STD3_mapped", [32, 834]], [[8129, 8129], "disallowed_STD3_mapped", [32, 776, 834]], [[8130, 8130], "mapped", [8052, 953]], [[8131, 8131], "mapped", [951, 953]], [[8132, 8132], "mapped", [942, 953]], [[8133, 8133], "disallowed"], [[8134, 8134], "valid"], [[8135, 8135], "mapped", [8134, 953]], [[8136, 8136], "mapped", [8050]], [[8137, 8137], "mapped", [941]], [[8138, 8138], "mapped", [8052]], [[8139, 8139], "mapped", [942]], [[8140, 8140], "mapped", [951, 953]], [[8141, 8141], "disallowed_STD3_mapped", [32, 787, 768]], [[8142, 8142], "disallowed_STD3_mapped", [32, 787, 769]], [[8143, 8143], "disallowed_STD3_mapped", [32, 787, 834]], [[8144, 8146], "valid"], [[8147, 8147], "mapped", [912]], [[8148, 8149], "disallowed"], [[8150, 8151], "valid"], [[8152, 8152], "mapped", [8144]], [[8153, 8153], "mapped", [8145]], [[8154, 8154], "mapped", [8054]], [[8155, 8155], "mapped", [943]], [[8156, 8156], "disallowed"], [[8157, 8157], "disallowed_STD3_mapped", [32, 788, 768]], [[8158, 8158], "disallowed_STD3_mapped", [32, 788, 769]], [[8159, 8159], "disallowed_STD3_mapped", [32, 788, 834]], [[8160, 8162], "valid"], [[8163, 8163], "mapped", [944]], [[8164, 8167], "valid"], [[8168, 8168], "mapped", [8160]], [[8169, 8169], "mapped", [8161]], [[8170, 8170], "mapped", [8058]], [[8171, 8171], "mapped", [973]], [[8172, 8172], "mapped", [8165]], [[8173, 8173], "disallowed_STD3_mapped", [32, 776, 768]], [[8174, 8174], "disallowed_STD3_mapped", [32, 776, 769]], [[8175, 8175], "disallowed_STD3_mapped", [96]], [[8176, 8177], "disallowed"], [[8178, 8178], "mapped", [8060, 953]], [[8179, 8179], "mapped", [969, 953]], [[8180, 8180], "mapped", [974, 953]], [[8181, 8181], "disallowed"], [[8182, 8182], "valid"], [[8183, 8183], "mapped", [8182, 953]], [[8184, 8184], "mapped", [8056]], [[8185, 8185], "mapped", [972]], [[8186, 8186], "mapped", [8060]], [[8187, 8187], "mapped", [974]], [[8188, 8188], "mapped", [969, 953]], [[8189, 8189], "disallowed_STD3_mapped", [32, 769]], [[8190, 8190], "disallowed_STD3_mapped", [32, 788]], [[8191, 8191], "disallowed"], [[8192, 8202], "disallowed_STD3_mapped", [32]], [[8203, 8203], "ignored"], [[8204, 8205], "deviation", []], [[8206, 8207], "disallowed"], [[8208, 8208], "valid", [], "NV8"], [[8209, 8209], "mapped", [8208]], [[8210, 8214], "valid", [], "NV8"], [[8215, 8215], "disallowed_STD3_mapped", [32, 819]], [[8216, 8227], "valid", [], "NV8"], [[8228, 8230], "disallowed"], [[8231, 8231], "valid", [], "NV8"], [[8232, 8238], "disallowed"], [[8239, 8239], "disallowed_STD3_mapped", [32]], [[8240, 8242], "valid", [], "NV8"], [[8243, 8243], "mapped", [8242, 8242]], [[8244, 8244], "mapped", [8242, 8242, 8242]], [[8245, 8245], "valid", [], "NV8"], [[8246, 8246], "mapped", [8245, 8245]], [[8247, 8247], "mapped", [8245, 8245, 8245]], [[8248, 8251], "valid", [], "NV8"], [[8252, 8252], "disallowed_STD3_mapped", [33, 33]], [[8253, 8253], "valid", [], "NV8"], [[8254, 8254], "disallowed_STD3_mapped", [32, 773]], [[8255, 8262], "valid", [], "NV8"], [[8263, 8263], "disallowed_STD3_mapped", [63, 63]], [[8264, 8264], "disallowed_STD3_mapped", [63, 33]], [[8265, 8265], "disallowed_STD3_mapped", [33, 63]], [[8266, 8269], "valid", [], "NV8"], [[8270, 8274], "valid", [], "NV8"], [[8275, 8276], "valid", [], "NV8"], [[8277, 8278], "valid", [], "NV8"], [[8279, 8279], "mapped", [8242, 8242, 8242, 8242]], [[8280, 8286], "valid", [], "NV8"], [[8287, 8287], "disallowed_STD3_mapped", [32]], [[8288, 8288], "ignored"], [[8289, 8291], "disallowed"], [[8292, 8292], "ignored"], [[8293, 8293], "disallowed"], [[8294, 8297], "disallowed"], [[8298, 8303], "disallowed"], [[8304, 8304], "mapped", [48]], [[8305, 8305], "mapped", [105]], [[8306, 8307], "disallowed"], [[8308, 8308], "mapped", [52]], [[8309, 8309], "mapped", [53]], [[8310, 8310], "mapped", [54]], [[8311, 8311], "mapped", [55]], [[8312, 8312], "mapped", [56]], [[8313, 8313], "mapped", [57]], [[8314, 8314], "disallowed_STD3_mapped", [43]], [[8315, 8315], "mapped", [8722]], [[8316, 8316], "disallowed_STD3_mapped", [61]], [[8317, 8317], "disallowed_STD3_mapped", [40]], [[8318, 8318], "disallowed_STD3_mapped", [41]], [[8319, 8319], "mapped", [110]], [[8320, 8320], "mapped", [48]], [[8321, 8321], "mapped", [49]], [[8322, 8322], "mapped", [50]], [[8323, 8323], "mapped", [51]], [[8324, 8324], "mapped", [52]], [[8325, 8325], "mapped", [53]], [[8326, 8326], "mapped", [54]], [[8327, 8327], "mapped", [55]], [[8328, 8328], "mapped", [56]], [[8329, 8329], "mapped", [57]], [[8330, 8330], "disallowed_STD3_mapped", [43]], [[8331, 8331], "mapped", [8722]], [[8332, 8332], "disallowed_STD3_mapped", [61]], [[8333, 8333], "disallowed_STD3_mapped", [40]], [[8334, 8334], "disallowed_STD3_mapped", [41]], [[8335, 8335], "disallowed"], [[8336, 8336], "mapped", [97]], [[8337, 8337], "mapped", [101]], [[8338, 8338], "mapped", [111]], [[8339, 8339], "mapped", [120]], [[8340, 8340], "mapped", [601]], [[8341, 8341], "mapped", [104]], [[8342, 8342], "mapped", [107]], [[8343, 8343], "mapped", [108]], [[8344, 8344], "mapped", [109]], [[8345, 8345], "mapped", [110]], [[8346, 8346], "mapped", [112]], [[8347, 8347], "mapped", [115]], [[8348, 8348], "mapped", [116]], [[8349, 8351], "disallowed"], [[8352, 8359], "valid", [], "NV8"], [[8360, 8360], "mapped", [114, 115]], [[8361, 8362], "valid", [], "NV8"], [[8363, 8363], "valid", [], "NV8"], [[8364, 8364], "valid", [], "NV8"], [[8365, 8367], "valid", [], "NV8"], [[8368, 8369], "valid", [], "NV8"], [[8370, 8373], "valid", [], "NV8"], [[8374, 8376], "valid", [], "NV8"], [[8377, 8377], "valid", [], "NV8"], [[8378, 8378], "valid", [], "NV8"], [[8379, 8381], "valid", [], "NV8"], [[8382, 8382], "valid", [], "NV8"], [[8383, 8399], "disallowed"], [[8400, 8417], "valid", [], "NV8"], [[8418, 8419], "valid", [], "NV8"], [[8420, 8426], "valid", [], "NV8"], [[8427, 8427], "valid", [], "NV8"], [[8428, 8431], "valid", [], "NV8"], [[8432, 8432], "valid", [], "NV8"], [[8433, 8447], "disallowed"], [[8448, 8448], "disallowed_STD3_mapped", [97, 47, 99]], [[8449, 8449], "disallowed_STD3_mapped", [97, 47, 115]], [[8450, 8450], "mapped", [99]], [[8451, 8451], "mapped", [176, 99]], [[8452, 8452], "valid", [], "NV8"], [[8453, 8453], "disallowed_STD3_mapped", [99, 47, 111]], [[8454, 8454], "disallowed_STD3_mapped", [99, 47, 117]], [[8455, 8455], "mapped", [603]], [[8456, 8456], "valid", [], "NV8"], [[8457, 8457], "mapped", [176, 102]], [[8458, 8458], "mapped", [103]], [[8459, 8462], "mapped", [104]], [[8463, 8463], "mapped", [295]], [[8464, 8465], "mapped", [105]], [[8466, 8467], "mapped", [108]], [[8468, 8468], "valid", [], "NV8"], [[8469, 8469], "mapped", [110]], [[8470, 8470], "mapped", [110, 111]], [[8471, 8472], "valid", [], "NV8"], [[8473, 8473], "mapped", [112]], [[8474, 8474], "mapped", [113]], [[8475, 8477], "mapped", [114]], [[8478, 8479], "valid", [], "NV8"], [[8480, 8480], "mapped", [115, 109]], [[8481, 8481], "mapped", [116, 101, 108]], [[8482, 8482], "mapped", [116, 109]], [[8483, 8483], "valid", [], "NV8"], [[8484, 8484], "mapped", [122]], [[8485, 8485], "valid", [], "NV8"], [[8486, 8486], "mapped", [969]], [[8487, 8487], "valid", [], "NV8"], [[8488, 8488], "mapped", [122]], [[8489, 8489], "valid", [], "NV8"], [[8490, 8490], "mapped", [107]], [[8491, 8491], "mapped", [229]], [[8492, 8492], "mapped", [98]], [[8493, 8493], "mapped", [99]], [[8494, 8494], "valid", [], "NV8"], [[8495, 8496], "mapped", [101]], [[8497, 8497], "mapped", [102]], [[8498, 8498], "disallowed"], [[8499, 8499], "mapped", [109]], [[8500, 8500], "mapped", [111]], [[8501, 8501], "mapped", [1488]], [[8502, 8502], "mapped", [1489]], [[8503, 8503], "mapped", [1490]], [[8504, 8504], "mapped", [1491]], [[8505, 8505], "mapped", [105]], [[8506, 8506], "valid", [], "NV8"], [[8507, 8507], "mapped", [102, 97, 120]], [[8508, 8508], "mapped", [960]], [[8509, 8510], "mapped", [947]], [[8511, 8511], "mapped", [960]], [[8512, 8512], "mapped", [8721]], [[8513, 8516], "valid", [], "NV8"], [[8517, 8518], "mapped", [100]], [[8519, 8519], "mapped", [101]], [[8520, 8520], "mapped", [105]], [[8521, 8521], "mapped", [106]], [[8522, 8523], "valid", [], "NV8"], [[8524, 8524], "valid", [], "NV8"], [[8525, 8525], "valid", [], "NV8"], [[8526, 8526], "valid"], [[8527, 8527], "valid", [], "NV8"], [[8528, 8528], "mapped", [49, 8260, 55]], [[8529, 8529], "mapped", [49, 8260, 57]], [[8530, 8530], "mapped", [49, 8260, 49, 48]], [[8531, 8531], "mapped", [49, 8260, 51]], [[8532, 8532], "mapped", [50, 8260, 51]], [[8533, 8533], "mapped", [49, 8260, 53]], [[8534, 8534], "mapped", [50, 8260, 53]], [[8535, 8535], "mapped", [51, 8260, 53]], [[8536, 8536], "mapped", [52, 8260, 53]], [[8537, 8537], "mapped", [49, 8260, 54]], [[8538, 8538], "mapped", [53, 8260, 54]], [[8539, 8539], "mapped", [49, 8260, 56]], [[8540, 8540], "mapped", [51, 8260, 56]], [[8541, 8541], "mapped", [53, 8260, 56]], [[8542, 8542], "mapped", [55, 8260, 56]], [[8543, 8543], "mapped", [49, 8260]], [[8544, 8544], "mapped", [105]], [[8545, 8545], "mapped", [105, 105]], [[8546, 8546], "mapped", [105, 105, 105]], [[8547, 8547], "mapped", [105, 118]], [[8548, 8548], "mapped", [118]], [[8549, 8549], "mapped", [118, 105]], [[8550, 8550], "mapped", [118, 105, 105]], [[8551, 8551], "mapped", [118, 105, 105, 105]], [[8552, 8552], "mapped", [105, 120]], [[8553, 8553], "mapped", [120]], [[8554, 8554], "mapped", [120, 105]], [[8555, 8555], "mapped", [120, 105, 105]], [[8556, 8556], "mapped", [108]], [[8557, 8557], "mapped", [99]], [[8558, 8558], "mapped", [100]], [[8559, 8559], "mapped", [109]], [[8560, 8560], "mapped", [105]], [[8561, 8561], "mapped", [105, 105]], [[8562, 8562], "mapped", [105, 105, 105]], [[8563, 8563], "mapped", [105, 118]], [[8564, 8564], "mapped", [118]], [[8565, 8565], "mapped", [118, 105]], [[8566, 8566], "mapped", [118, 105, 105]], [[8567, 8567], "mapped", [118, 105, 105, 105]], [[8568, 8568], "mapped", [105, 120]], [[8569, 8569], "mapped", [120]], [[8570, 8570], "mapped", [120, 105]], [[8571, 8571], "mapped", [120, 105, 105]], [[8572, 8572], "mapped", [108]], [[8573, 8573], "mapped", [99]], [[8574, 8574], "mapped", [100]], [[8575, 8575], "mapped", [109]], [[8576, 8578], "valid", [], "NV8"], [[8579, 8579], "disallowed"], [[8580, 8580], "valid"], [[8581, 8584], "valid", [], "NV8"], [[8585, 8585], "mapped", [48, 8260, 51]], [[8586, 8587], "valid", [], "NV8"], [[8588, 8591], "disallowed"], [[8592, 8682], "valid", [], "NV8"], [[8683, 8691], "valid", [], "NV8"], [[8692, 8703], "valid", [], "NV8"], [[8704, 8747], "valid", [], "NV8"], [[8748, 8748], "mapped", [8747, 8747]], [[8749, 8749], "mapped", [8747, 8747, 8747]], [[8750, 8750], "valid", [], "NV8"], [[8751, 8751], "mapped", [8750, 8750]], [[8752, 8752], "mapped", [8750, 8750, 8750]], [[8753, 8799], "valid", [], "NV8"], [[8800, 8800], "disallowed_STD3_valid"], [[8801, 8813], "valid", [], "NV8"], [[8814, 8815], "disallowed_STD3_valid"], [[8816, 8945], "valid", [], "NV8"], [[8946, 8959], "valid", [], "NV8"], [[8960, 8960], "valid", [], "NV8"], [[8961, 8961], "valid", [], "NV8"], [[8962, 9e3], "valid", [], "NV8"], [[9001, 9001], "mapped", [12296]], [[9002, 9002], "mapped", [12297]], [[9003, 9082], "valid", [], "NV8"], [[9083, 9083], "valid", [], "NV8"], [[9084, 9084], "valid", [], "NV8"], [[9085, 9114], "valid", [], "NV8"], [[9115, 9166], "valid", [], "NV8"], [[9167, 9168], "valid", [], "NV8"], [[9169, 9179], "valid", [], "NV8"], [[9180, 9191], "valid", [], "NV8"], [[9192, 9192], "valid", [], "NV8"], [[9193, 9203], "valid", [], "NV8"], [[9204, 9210], "valid", [], "NV8"], [[9211, 9215], "disallowed"], [[9216, 9252], "valid", [], "NV8"], [[9253, 9254], "valid", [], "NV8"], [[9255, 9279], "disallowed"], [[9280, 9290], "valid", [], "NV8"], [[9291, 9311], "disallowed"], [[9312, 9312], "mapped", [49]], [[9313, 9313], "mapped", [50]], [[9314, 9314], "mapped", [51]], [[9315, 9315], "mapped", [52]], [[9316, 9316], "mapped", [53]], [[9317, 9317], "mapped", [54]], [[9318, 9318], "mapped", [55]], [[9319, 9319], "mapped", [56]], [[9320, 9320], "mapped", [57]], [[9321, 9321], "mapped", [49, 48]], [[9322, 9322], "mapped", [49, 49]], [[9323, 9323], "mapped", [49, 50]], [[9324, 9324], "mapped", [49, 51]], [[9325, 9325], "mapped", [49, 52]], [[9326, 9326], "mapped", [49, 53]], [[9327, 9327], "mapped", [49, 54]], [[9328, 9328], "mapped", [49, 55]], [[9329, 9329], "mapped", [49, 56]], [[9330, 9330], "mapped", [49, 57]], [[9331, 9331], "mapped", [50, 48]], [[9332, 9332], "disallowed_STD3_mapped", [40, 49, 41]], [[9333, 9333], "disallowed_STD3_mapped", [40, 50, 41]], [[9334, 9334], "disallowed_STD3_mapped", [40, 51, 41]], [[9335, 9335], "disallowed_STD3_mapped", [40, 52, 41]], [[9336, 9336], "disallowed_STD3_mapped", [40, 53, 41]], [[9337, 9337], "disallowed_STD3_mapped", [40, 54, 41]], [[9338, 9338], "disallowed_STD3_mapped", [40, 55, 41]], [[9339, 9339], "disallowed_STD3_mapped", [40, 56, 41]], [[9340, 9340], "disallowed_STD3_mapped", [40, 57, 41]], [[9341, 9341], "disallowed_STD3_mapped", [40, 49, 48, 41]], [[9342, 9342], "disallowed_STD3_mapped", [40, 49, 49, 41]], [[9343, 9343], "disallowed_STD3_mapped", [40, 49, 50, 41]], [[9344, 9344], "disallowed_STD3_mapped", [40, 49, 51, 41]], [[9345, 9345], "disallowed_STD3_mapped", [40, 49, 52, 41]], [[9346, 9346], "disallowed_STD3_mapped", [40, 49, 53, 41]], [[9347, 9347], "disallowed_STD3_mapped", [40, 49, 54, 41]], [[9348, 9348], "disallowed_STD3_mapped", [40, 49, 55, 41]], [[9349, 9349], "disallowed_STD3_mapped", [40, 49, 56, 41]], [[9350, 9350], "disallowed_STD3_mapped", [40, 49, 57, 41]], [[9351, 9351], "disallowed_STD3_mapped", [40, 50, 48, 41]], [[9352, 9371], "disallowed"], [[9372, 9372], "disallowed_STD3_mapped", [40, 97, 41]], [[9373, 9373], "disallowed_STD3_mapped", [40, 98, 41]], [[9374, 9374], "disallowed_STD3_mapped", [40, 99, 41]], [[9375, 9375], "disallowed_STD3_mapped", [40, 100, 41]], [[9376, 9376], "disallowed_STD3_mapped", [40, 101, 41]], [[9377, 9377], "disallowed_STD3_mapped", [40, 102, 41]], [[9378, 9378], "disallowed_STD3_mapped", [40, 103, 41]], [[9379, 9379], "disallowed_STD3_mapped", [40, 104, 41]], [[9380, 9380], "disallowed_STD3_mapped", [40, 105, 41]], [[9381, 9381], "disallowed_STD3_mapped", [40, 106, 41]], [[9382, 9382], "disallowed_STD3_mapped", [40, 107, 41]], [[9383, 9383], "disallowed_STD3_mapped", [40, 108, 41]], [[9384, 9384], "disallowed_STD3_mapped", [40, 109, 41]], [[9385, 9385], "disallowed_STD3_mapped", [40, 110, 41]], [[9386, 9386], "disallowed_STD3_mapped", [40, 111, 41]], [[9387, 9387], "disallowed_STD3_mapped", [40, 112, 41]], [[9388, 9388], "disallowed_STD3_mapped", [40, 113, 41]], [[9389, 9389], "disallowed_STD3_mapped", [40, 114, 41]], [[9390, 9390], "disallowed_STD3_mapped", [40, 115, 41]], [[9391, 9391], "disallowed_STD3_mapped", [40, 116, 41]], [[9392, 9392], "disallowed_STD3_mapped", [40, 117, 41]], [[9393, 9393], "disallowed_STD3_mapped", [40, 118, 41]], [[9394, 9394], "disallowed_STD3_mapped", [40, 119, 41]], [[9395, 9395], "disallowed_STD3_mapped", [40, 120, 41]], [[9396, 9396], "disallowed_STD3_mapped", [40, 121, 41]], [[9397, 9397], "disallowed_STD3_mapped", [40, 122, 41]], [[9398, 9398], "mapped", [97]], [[9399, 9399], "mapped", [98]], [[9400, 9400], "mapped", [99]], [[9401, 9401], "mapped", [100]], [[9402, 9402], "mapped", [101]], [[9403, 9403], "mapped", [102]], [[9404, 9404], "mapped", [103]], [[9405, 9405], "mapped", [104]], [[9406, 9406], "mapped", [105]], [[9407, 9407], "mapped", [106]], [[9408, 9408], "mapped", [107]], [[9409, 9409], "mapped", [108]], [[9410, 9410], "mapped", [109]], [[9411, 9411], "mapped", [110]], [[9412, 9412], "mapped", [111]], [[9413, 9413], "mapped", [112]], [[9414, 9414], "mapped", [113]], [[9415, 9415], "mapped", [114]], [[9416, 9416], "mapped", [115]], [[9417, 9417], "mapped", [116]], [[9418, 9418], "mapped", [117]], [[9419, 9419], "mapped", [118]], [[9420, 9420], "mapped", [119]], [[9421, 9421], "mapped", [120]], [[9422, 9422], "mapped", [121]], [[9423, 9423], "mapped", [122]], [[9424, 9424], "mapped", [97]], [[9425, 9425], "mapped", [98]], [[9426, 9426], "mapped", [99]], [[9427, 9427], "mapped", [100]], [[9428, 9428], "mapped", [101]], [[9429, 9429], "mapped", [102]], [[9430, 9430], "mapped", [103]], [[9431, 9431], "mapped", [104]], [[9432, 9432], "mapped", [105]], [[9433, 9433], "mapped", [106]], [[9434, 9434], "mapped", [107]], [[9435, 9435], "mapped", [108]], [[9436, 9436], "mapped", [109]], [[9437, 9437], "mapped", [110]], [[9438, 9438], "mapped", [111]], [[9439, 9439], "mapped", [112]], [[9440, 9440], "mapped", [113]], [[9441, 9441], "mapped", [114]], [[9442, 9442], "mapped", [115]], [[9443, 9443], "mapped", [116]], [[9444, 9444], "mapped", [117]], [[9445, 9445], "mapped", [118]], [[9446, 9446], "mapped", [119]], [[9447, 9447], "mapped", [120]], [[9448, 9448], "mapped", [121]], [[9449, 9449], "mapped", [122]], [[9450, 9450], "mapped", [48]], [[9451, 9470], "valid", [], "NV8"], [[9471, 9471], "valid", [], "NV8"], [[9472, 9621], "valid", [], "NV8"], [[9622, 9631], "valid", [], "NV8"], [[9632, 9711], "valid", [], "NV8"], [[9712, 9719], "valid", [], "NV8"], [[9720, 9727], "valid", [], "NV8"], [[9728, 9747], "valid", [], "NV8"], [[9748, 9749], "valid", [], "NV8"], [[9750, 9751], "valid", [], "NV8"], [[9752, 9752], "valid", [], "NV8"], [[9753, 9753], "valid", [], "NV8"], [[9754, 9839], "valid", [], "NV8"], [[9840, 9841], "valid", [], "NV8"], [[9842, 9853], "valid", [], "NV8"], [[9854, 9855], "valid", [], "NV8"], [[9856, 9865], "valid", [], "NV8"], [[9866, 9873], "valid", [], "NV8"], [[9874, 9884], "valid", [], "NV8"], [[9885, 9885], "valid", [], "NV8"], [[9886, 9887], "valid", [], "NV8"], [[9888, 9889], "valid", [], "NV8"], [[9890, 9905], "valid", [], "NV8"], [[9906, 9906], "valid", [], "NV8"], [[9907, 9916], "valid", [], "NV8"], [[9917, 9919], "valid", [], "NV8"], [[9920, 9923], "valid", [], "NV8"], [[9924, 9933], "valid", [], "NV8"], [[9934, 9934], "valid", [], "NV8"], [[9935, 9953], "valid", [], "NV8"], [[9954, 9954], "valid", [], "NV8"], [[9955, 9955], "valid", [], "NV8"], [[9956, 9959], "valid", [], "NV8"], [[9960, 9983], "valid", [], "NV8"], [[9984, 9984], "valid", [], "NV8"], [[9985, 9988], "valid", [], "NV8"], [[9989, 9989], "valid", [], "NV8"], [[9990, 9993], "valid", [], "NV8"], [[9994, 9995], "valid", [], "NV8"], [[9996, 10023], "valid", [], "NV8"], [[10024, 10024], "valid", [], "NV8"], [[10025, 10059], "valid", [], "NV8"], [[10060, 10060], "valid", [], "NV8"], [[10061, 10061], "valid", [], "NV8"], [[10062, 10062], "valid", [], "NV8"], [[10063, 10066], "valid", [], "NV8"], [[10067, 10069], "valid", [], "NV8"], [[10070, 10070], "valid", [], "NV8"], [[10071, 10071], "valid", [], "NV8"], [[10072, 10078], "valid", [], "NV8"], [[10079, 10080], "valid", [], "NV8"], [[10081, 10087], "valid", [], "NV8"], [[10088, 10101], "valid", [], "NV8"], [[10102, 10132], "valid", [], "NV8"], [[10133, 10135], "valid", [], "NV8"], [[10136, 10159], "valid", [], "NV8"], [[10160, 10160], "valid", [], "NV8"], [[10161, 10174], "valid", [], "NV8"], [[10175, 10175], "valid", [], "NV8"], [[10176, 10182], "valid", [], "NV8"], [[10183, 10186], "valid", [], "NV8"], [[10187, 10187], "valid", [], "NV8"], [[10188, 10188], "valid", [], "NV8"], [[10189, 10189], "valid", [], "NV8"], [[10190, 10191], "valid", [], "NV8"], [[10192, 10219], "valid", [], "NV8"], [[10220, 10223], "valid", [], "NV8"], [[10224, 10239], "valid", [], "NV8"], [[10240, 10495], "valid", [], "NV8"], [[10496, 10763], "valid", [], "NV8"], [[10764, 10764], "mapped", [8747, 8747, 8747, 8747]], [[10765, 10867], "valid", [], "NV8"], [[10868, 10868], "disallowed_STD3_mapped", [58, 58, 61]], [[10869, 10869], "disallowed_STD3_mapped", [61, 61]], [[10870, 10870], "disallowed_STD3_mapped", [61, 61, 61]], [[10871, 10971], "valid", [], "NV8"], [[10972, 10972], "mapped", [10973, 824]], [[10973, 11007], "valid", [], "NV8"], [[11008, 11021], "valid", [], "NV8"], [[11022, 11027], "valid", [], "NV8"], [[11028, 11034], "valid", [], "NV8"], [[11035, 11039], "valid", [], "NV8"], [[11040, 11043], "valid", [], "NV8"], [[11044, 11084], "valid", [], "NV8"], [[11085, 11087], "valid", [], "NV8"], [[11088, 11092], "valid", [], "NV8"], [[11093, 11097], "valid", [], "NV8"], [[11098, 11123], "valid", [], "NV8"], [[11124, 11125], "disallowed"], [[11126, 11157], "valid", [], "NV8"], [[11158, 11159], "disallowed"], [[11160, 11193], "valid", [], "NV8"], [[11194, 11196], "disallowed"], [[11197, 11208], "valid", [], "NV8"], [[11209, 11209], "disallowed"], [[11210, 11217], "valid", [], "NV8"], [[11218, 11243], "disallowed"], [[11244, 11247], "valid", [], "NV8"], [[11248, 11263], "disallowed"], [[11264, 11264], "mapped", [11312]], [[11265, 11265], "mapped", [11313]], [[11266, 11266], "mapped", [11314]], [[11267, 11267], "mapped", [11315]], [[11268, 11268], "mapped", [11316]], [[11269, 11269], "mapped", [11317]], [[11270, 11270], "mapped", [11318]], [[11271, 11271], "mapped", [11319]], [[11272, 11272], "mapped", [11320]], [[11273, 11273], "mapped", [11321]], [[11274, 11274], "mapped", [11322]], [[11275, 11275], "mapped", [11323]], [[11276, 11276], "mapped", [11324]], [[11277, 11277], "mapped", [11325]], [[11278, 11278], "mapped", [11326]], [[11279, 11279], "mapped", [11327]], [[11280, 11280], "mapped", [11328]], [[11281, 11281], "mapped", [11329]], [[11282, 11282], "mapped", [11330]], [[11283, 11283], "mapped", [11331]], [[11284, 11284], "mapped", [11332]], [[11285, 11285], "mapped", [11333]], [[11286, 11286], "mapped", [11334]], [[11287, 11287], "mapped", [11335]], [[11288, 11288], "mapped", [11336]], [[11289, 11289], "mapped", [11337]], [[11290, 11290], "mapped", [11338]], [[11291, 11291], "mapped", [11339]], [[11292, 11292], "mapped", [11340]], [[11293, 11293], "mapped", [11341]], [[11294, 11294], "mapped", [11342]], [[11295, 11295], "mapped", [11343]], [[11296, 11296], "mapped", [11344]], [[11297, 11297], "mapped", [11345]], [[11298, 11298], "mapped", [11346]], [[11299, 11299], "mapped", [11347]], [[11300, 11300], "mapped", [11348]], [[11301, 11301], "mapped", [11349]], [[11302, 11302], "mapped", [11350]], [[11303, 11303], "mapped", [11351]], [[11304, 11304], "mapped", [11352]], [[11305, 11305], "mapped", [11353]], [[11306, 11306], "mapped", [11354]], [[11307, 11307], "mapped", [11355]], [[11308, 11308], "mapped", [11356]], [[11309, 11309], "mapped", [11357]], [[11310, 11310], "mapped", [11358]], [[11311, 11311], "disallowed"], [[11312, 11358], "valid"], [[11359, 11359], "disallowed"], [[11360, 11360], "mapped", [11361]], [[11361, 11361], "valid"], [[11362, 11362], "mapped", [619]], [[11363, 11363], "mapped", [7549]], [[11364, 11364], "mapped", [637]], [[11365, 11366], "valid"], [[11367, 11367], "mapped", [11368]], [[11368, 11368], "valid"], [[11369, 11369], "mapped", [11370]], [[11370, 11370], "valid"], [[11371, 11371], "mapped", [11372]], [[11372, 11372], "valid"], [[11373, 11373], "mapped", [593]], [[11374, 11374], "mapped", [625]], [[11375, 11375], "mapped", [592]], [[11376, 11376], "mapped", [594]], [[11377, 11377], "valid"], [[11378, 11378], "mapped", [11379]], [[11379, 11379], "valid"], [[11380, 11380], "valid"], [[11381, 11381], "mapped", [11382]], [[11382, 11383], "valid"], [[11384, 11387], "valid"], [[11388, 11388], "mapped", [106]], [[11389, 11389], "mapped", [118]], [[11390, 11390], "mapped", [575]], [[11391, 11391], "mapped", [576]], [[11392, 11392], "mapped", [11393]], [[11393, 11393], "valid"], [[11394, 11394], "mapped", [11395]], [[11395, 11395], "valid"], [[11396, 11396], "mapped", [11397]], [[11397, 11397], "valid"], [[11398, 11398], "mapped", [11399]], [[11399, 11399], "valid"], [[11400, 11400], "mapped", [11401]], [[11401, 11401], "valid"], [[11402, 11402], "mapped", [11403]], [[11403, 11403], "valid"], [[11404, 11404], "mapped", [11405]], [[11405, 11405], "valid"], [[11406, 11406], "mapped", [11407]], [[11407, 11407], "valid"], [[11408, 11408], "mapped", [11409]], [[11409, 11409], "valid"], [[11410, 11410], "mapped", [11411]], [[11411, 11411], "valid"], [[11412, 11412], "mapped", [11413]], [[11413, 11413], "valid"], [[11414, 11414], "mapped", [11415]], [[11415, 11415], "valid"], [[11416, 11416], "mapped", [11417]], [[11417, 11417], "valid"], [[11418, 11418], "mapped", [11419]], [[11419, 11419], "valid"], [[11420, 11420], "mapped", [11421]], [[11421, 11421], "valid"], [[11422, 11422], "mapped", [11423]], [[11423, 11423], "valid"], [[11424, 11424], "mapped", [11425]], [[11425, 11425], "valid"], [[11426, 11426], "mapped", [11427]], [[11427, 11427], "valid"], [[11428, 11428], "mapped", [11429]], [[11429, 11429], "valid"], [[11430, 11430], "mapped", [11431]], [[11431, 11431], "valid"], [[11432, 11432], "mapped", [11433]], [[11433, 11433], "valid"], [[11434, 11434], "mapped", [11435]], [[11435, 11435], "valid"], [[11436, 11436], "mapped", [11437]], [[11437, 11437], "valid"], [[11438, 11438], "mapped", [11439]], [[11439, 11439], "valid"], [[11440, 11440], "mapped", [11441]], [[11441, 11441], "valid"], [[11442, 11442], "mapped", [11443]], [[11443, 11443], "valid"], [[11444, 11444], "mapped", [11445]], [[11445, 11445], "valid"], [[11446, 11446], "mapped", [11447]], [[11447, 11447], "valid"], [[11448, 11448], "mapped", [11449]], [[11449, 11449], "valid"], [[11450, 11450], "mapped", [11451]], [[11451, 11451], "valid"], [[11452, 11452], "mapped", [11453]], [[11453, 11453], "valid"], [[11454, 11454], "mapped", [11455]], [[11455, 11455], "valid"], [[11456, 11456], "mapped", [11457]], [[11457, 11457], "valid"], [[11458, 11458], "mapped", [11459]], [[11459, 11459], "valid"], [[11460, 11460], "mapped", [11461]], [[11461, 11461], "valid"], [[11462, 11462], "mapped", [11463]], [[11463, 11463], "valid"], [[11464, 11464], "mapped", [11465]], [[11465, 11465], "valid"], [[11466, 11466], "mapped", [11467]], [[11467, 11467], "valid"], [[11468, 11468], "mapped", [11469]], [[11469, 11469], "valid"], [[11470, 11470], "mapped", [11471]], [[11471, 11471], "valid"], [[11472, 11472], "mapped", [11473]], [[11473, 11473], "valid"], [[11474, 11474], "mapped", [11475]], [[11475, 11475], "valid"], [[11476, 11476], "mapped", [11477]], [[11477, 11477], "valid"], [[11478, 11478], "mapped", [11479]], [[11479, 11479], "valid"], [[11480, 11480], "mapped", [11481]], [[11481, 11481], "valid"], [[11482, 11482], "mapped", [11483]], [[11483, 11483], "valid"], [[11484, 11484], "mapped", [11485]], [[11485, 11485], "valid"], [[11486, 11486], "mapped", [11487]], [[11487, 11487], "valid"], [[11488, 11488], "mapped", [11489]], [[11489, 11489], "valid"], [[11490, 11490], "mapped", [11491]], [[11491, 11492], "valid"], [[11493, 11498], "valid", [], "NV8"], [[11499, 11499], "mapped", [11500]], [[11500, 11500], "valid"], [[11501, 11501], "mapped", [11502]], [[11502, 11505], "valid"], [[11506, 11506], "mapped", [11507]], [[11507, 11507], "valid"], [[11508, 11512], "disallowed"], [[11513, 11519], "valid", [], "NV8"], [[11520, 11557], "valid"], [[11558, 11558], "disallowed"], [[11559, 11559], "valid"], [[11560, 11564], "disallowed"], [[11565, 11565], "valid"], [[11566, 11567], "disallowed"], [[11568, 11621], "valid"], [[11622, 11623], "valid"], [[11624, 11630], "disallowed"], [[11631, 11631], "mapped", [11617]], [[11632, 11632], "valid", [], "NV8"], [[11633, 11646], "disallowed"], [[11647, 11647], "valid"], [[11648, 11670], "valid"], [[11671, 11679], "disallowed"], [[11680, 11686], "valid"], [[11687, 11687], "disallowed"], [[11688, 11694], "valid"], [[11695, 11695], "disallowed"], [[11696, 11702], "valid"], [[11703, 11703], "disallowed"], [[11704, 11710], "valid"], [[11711, 11711], "disallowed"], [[11712, 11718], "valid"], [[11719, 11719], "disallowed"], [[11720, 11726], "valid"], [[11727, 11727], "disallowed"], [[11728, 11734], "valid"], [[11735, 11735], "disallowed"], [[11736, 11742], "valid"], [[11743, 11743], "disallowed"], [[11744, 11775], "valid"], [[11776, 11799], "valid", [], "NV8"], [[11800, 11803], "valid", [], "NV8"], [[11804, 11805], "valid", [], "NV8"], [[11806, 11822], "valid", [], "NV8"], [[11823, 11823], "valid"], [[11824, 11824], "valid", [], "NV8"], [[11825, 11825], "valid", [], "NV8"], [[11826, 11835], "valid", [], "NV8"], [[11836, 11842], "valid", [], "NV8"], [[11843, 11903], "disallowed"], [[11904, 11929], "valid", [], "NV8"], [[11930, 11930], "disallowed"], [[11931, 11934], "valid", [], "NV8"], [[11935, 11935], "mapped", [27597]], [[11936, 12018], "valid", [], "NV8"], [[12019, 12019], "mapped", [40863]], [[12020, 12031], "disallowed"], [[12032, 12032], "mapped", [19968]], [[12033, 12033], "mapped", [20008]], [[12034, 12034], "mapped", [20022]], [[12035, 12035], "mapped", [20031]], [[12036, 12036], "mapped", [20057]], [[12037, 12037], "mapped", [20101]], [[12038, 12038], "mapped", [20108]], [[12039, 12039], "mapped", [20128]], [[12040, 12040], "mapped", [20154]], [[12041, 12041], "mapped", [20799]], [[12042, 12042], "mapped", [20837]], [[12043, 12043], "mapped", [20843]], [[12044, 12044], "mapped", [20866]], [[12045, 12045], "mapped", [20886]], [[12046, 12046], "mapped", [20907]], [[12047, 12047], "mapped", [20960]], [[12048, 12048], "mapped", [20981]], [[12049, 12049], "mapped", [20992]], [[12050, 12050], "mapped", [21147]], [[12051, 12051], "mapped", [21241]], [[12052, 12052], "mapped", [21269]], [[12053, 12053], "mapped", [21274]], [[12054, 12054], "mapped", [21304]], [[12055, 12055], "mapped", [21313]], [[12056, 12056], "mapped", [21340]], [[12057, 12057], "mapped", [21353]], [[12058, 12058], "mapped", [21378]], [[12059, 12059], "mapped", [21430]], [[12060, 12060], "mapped", [21448]], [[12061, 12061], "mapped", [21475]], [[12062, 12062], "mapped", [22231]], [[12063, 12063], "mapped", [22303]], [[12064, 12064], "mapped", [22763]], [[12065, 12065], "mapped", [22786]], [[12066, 12066], "mapped", [22794]], [[12067, 12067], "mapped", [22805]], [[12068, 12068], "mapped", [22823]], [[12069, 12069], "mapped", [22899]], [[12070, 12070], "mapped", [23376]], [[12071, 12071], "mapped", [23424]], [[12072, 12072], "mapped", [23544]], [[12073, 12073], "mapped", [23567]], [[12074, 12074], "mapped", [23586]], [[12075, 12075], "mapped", [23608]], [[12076, 12076], "mapped", [23662]], [[12077, 12077], "mapped", [23665]], [[12078, 12078], "mapped", [24027]], [[12079, 12079], "mapped", [24037]], [[12080, 12080], "mapped", [24049]], [[12081, 12081], "mapped", [24062]], [[12082, 12082], "mapped", [24178]], [[12083, 12083], "mapped", [24186]], [[12084, 12084], "mapped", [24191]], [[12085, 12085], "mapped", [24308]], [[12086, 12086], "mapped", [24318]], [[12087, 12087], "mapped", [24331]], [[12088, 12088], "mapped", [24339]], [[12089, 12089], "mapped", [24400]], [[12090, 12090], "mapped", [24417]], [[12091, 12091], "mapped", [24435]], [[12092, 12092], "mapped", [24515]], [[12093, 12093], "mapped", [25096]], [[12094, 12094], "mapped", [25142]], [[12095, 12095], "mapped", [25163]], [[12096, 12096], "mapped", [25903]], [[12097, 12097], "mapped", [25908]], [[12098, 12098], "mapped", [25991]], [[12099, 12099], "mapped", [26007]], [[12100, 12100], "mapped", [26020]], [[12101, 12101], "mapped", [26041]], [[12102, 12102], "mapped", [26080]], [[12103, 12103], "mapped", [26085]], [[12104, 12104], "mapped", [26352]], [[12105, 12105], "mapped", [26376]], [[12106, 12106], "mapped", [26408]], [[12107, 12107], "mapped", [27424]], [[12108, 12108], "mapped", [27490]], [[12109, 12109], "mapped", [27513]], [[12110, 12110], "mapped", [27571]], [[12111, 12111], "mapped", [27595]], [[12112, 12112], "mapped", [27604]], [[12113, 12113], "mapped", [27611]], [[12114, 12114], "mapped", [27663]], [[12115, 12115], "mapped", [27668]], [[12116, 12116], "mapped", [27700]], [[12117, 12117], "mapped", [28779]], [[12118, 12118], "mapped", [29226]], [[12119, 12119], "mapped", [29238]], [[12120, 12120], "mapped", [29243]], [[12121, 12121], "mapped", [29247]], [[12122, 12122], "mapped", [29255]], [[12123, 12123], "mapped", [29273]], [[12124, 12124], "mapped", [29275]], [[12125, 12125], "mapped", [29356]], [[12126, 12126], "mapped", [29572]], [[12127, 12127], "mapped", [29577]], [[12128, 12128], "mapped", [29916]], [[12129, 12129], "mapped", [29926]], [[12130, 12130], "mapped", [29976]], [[12131, 12131], "mapped", [29983]], [[12132, 12132], "mapped", [29992]], [[12133, 12133], "mapped", [3e4]], [[12134, 12134], "mapped", [30091]], [[12135, 12135], "mapped", [30098]], [[12136, 12136], "mapped", [30326]], [[12137, 12137], "mapped", [30333]], [[12138, 12138], "mapped", [30382]], [[12139, 12139], "mapped", [30399]], [[12140, 12140], "mapped", [30446]], [[12141, 12141], "mapped", [30683]], [[12142, 12142], "mapped", [30690]], [[12143, 12143], "mapped", [30707]], [[12144, 12144], "mapped", [31034]], [[12145, 12145], "mapped", [31160]], [[12146, 12146], "mapped", [31166]], [[12147, 12147], "mapped", [31348]], [[12148, 12148], "mapped", [31435]], [[12149, 12149], "mapped", [31481]], [[12150, 12150], "mapped", [31859]], [[12151, 12151], "mapped", [31992]], [[12152, 12152], "mapped", [32566]], [[12153, 12153], "mapped", [32593]], [[12154, 12154], "mapped", [32650]], [[12155, 12155], "mapped", [32701]], [[12156, 12156], "mapped", [32769]], [[12157, 12157], "mapped", [32780]], [[12158, 12158], "mapped", [32786]], [[12159, 12159], "mapped", [32819]], [[12160, 12160], "mapped", [32895]], [[12161, 12161], "mapped", [32905]], [[12162, 12162], "mapped", [33251]], [[12163, 12163], "mapped", [33258]], [[12164, 12164], "mapped", [33267]], [[12165, 12165], "mapped", [33276]], [[12166, 12166], "mapped", [33292]], [[12167, 12167], "mapped", [33307]], [[12168, 12168], "mapped", [33311]], [[12169, 12169], "mapped", [33390]], [[12170, 12170], "mapped", [33394]], [[12171, 12171], "mapped", [33400]], [[12172, 12172], "mapped", [34381]], [[12173, 12173], "mapped", [34411]], [[12174, 12174], "mapped", [34880]], [[12175, 12175], "mapped", [34892]], [[12176, 12176], "mapped", [34915]], [[12177, 12177], "mapped", [35198]], [[12178, 12178], "mapped", [35211]], [[12179, 12179], "mapped", [35282]], [[12180, 12180], "mapped", [35328]], [[12181, 12181], "mapped", [35895]], [[12182, 12182], "mapped", [35910]], [[12183, 12183], "mapped", [35925]], [[12184, 12184], "mapped", [35960]], [[12185, 12185], "mapped", [35997]], [[12186, 12186], "mapped", [36196]], [[12187, 12187], "mapped", [36208]], [[12188, 12188], "mapped", [36275]], [[12189, 12189], "mapped", [36523]], [[12190, 12190], "mapped", [36554]], [[12191, 12191], "mapped", [36763]], [[12192, 12192], "mapped", [36784]], [[12193, 12193], "mapped", [36789]], [[12194, 12194], "mapped", [37009]], [[12195, 12195], "mapped", [37193]], [[12196, 12196], "mapped", [37318]], [[12197, 12197], "mapped", [37324]], [[12198, 12198], "mapped", [37329]], [[12199, 12199], "mapped", [38263]], [[12200, 12200], "mapped", [38272]], [[12201, 12201], "mapped", [38428]], [[12202, 12202], "mapped", [38582]], [[12203, 12203], "mapped", [38585]], [[12204, 12204], "mapped", [38632]], [[12205, 12205], "mapped", [38737]], [[12206, 12206], "mapped", [38750]], [[12207, 12207], "mapped", [38754]], [[12208, 12208], "mapped", [38761]], [[12209, 12209], "mapped", [38859]], [[12210, 12210], "mapped", [38893]], [[12211, 12211], "mapped", [38899]], [[12212, 12212], "mapped", [38913]], [[12213, 12213], "mapped", [39080]], [[12214, 12214], "mapped", [39131]], [[12215, 12215], "mapped", [39135]], [[12216, 12216], "mapped", [39318]], [[12217, 12217], "mapped", [39321]], [[12218, 12218], "mapped", [39340]], [[12219, 12219], "mapped", [39592]], [[12220, 12220], "mapped", [39640]], [[12221, 12221], "mapped", [39647]], [[12222, 12222], "mapped", [39717]], [[12223, 12223], "mapped", [39727]], [[12224, 12224], "mapped", [39730]], [[12225, 12225], "mapped", [39740]], [[12226, 12226], "mapped", [39770]], [[12227, 12227], "mapped", [40165]], [[12228, 12228], "mapped", [40565]], [[12229, 12229], "mapped", [40575]], [[12230, 12230], "mapped", [40613]], [[12231, 12231], "mapped", [40635]], [[12232, 12232], "mapped", [40643]], [[12233, 12233], "mapped", [40653]], [[12234, 12234], "mapped", [40657]], [[12235, 12235], "mapped", [40697]], [[12236, 12236], "mapped", [40701]], [[12237, 12237], "mapped", [40718]], [[12238, 12238], "mapped", [40723]], [[12239, 12239], "mapped", [40736]], [[12240, 12240], "mapped", [40763]], [[12241, 12241], "mapped", [40778]], [[12242, 12242], "mapped", [40786]], [[12243, 12243], "mapped", [40845]], [[12244, 12244], "mapped", [40860]], [[12245, 12245], "mapped", [40864]], [[12246, 12271], "disallowed"], [[12272, 12283], "disallowed"], [[12284, 12287], "disallowed"], [[12288, 12288], "disallowed_STD3_mapped", [32]], [[12289, 12289], "valid", [], "NV8"], [[12290, 12290], "mapped", [46]], [[12291, 12292], "valid", [], "NV8"], [[12293, 12295], "valid"], [[12296, 12329], "valid", [], "NV8"], [[12330, 12333], "valid"], [[12334, 12341], "valid", [], "NV8"], [[12342, 12342], "mapped", [12306]], [[12343, 12343], "valid", [], "NV8"], [[12344, 12344], "mapped", [21313]], [[12345, 12345], "mapped", [21316]], [[12346, 12346], "mapped", [21317]], [[12347, 12347], "valid", [], "NV8"], [[12348, 12348], "valid"], [[12349, 12349], "valid", [], "NV8"], [[12350, 12350], "valid", [], "NV8"], [[12351, 12351], "valid", [], "NV8"], [[12352, 12352], "disallowed"], [[12353, 12436], "valid"], [[12437, 12438], "valid"], [[12439, 12440], "disallowed"], [[12441, 12442], "valid"], [[12443, 12443], "disallowed_STD3_mapped", [32, 12441]], [[12444, 12444], "disallowed_STD3_mapped", [32, 12442]], [[12445, 12446], "valid"], [[12447, 12447], "mapped", [12424, 12426]], [[12448, 12448], "valid", [], "NV8"], [[12449, 12542], "valid"], [[12543, 12543], "mapped", [12467, 12488]], [[12544, 12548], "disallowed"], [[12549, 12588], "valid"], [[12589, 12589], "valid"], [[12590, 12592], "disallowed"], [[12593, 12593], "mapped", [4352]], [[12594, 12594], "mapped", [4353]], [[12595, 12595], "mapped", [4522]], [[12596, 12596], "mapped", [4354]], [[12597, 12597], "mapped", [4524]], [[12598, 12598], "mapped", [4525]], [[12599, 12599], "mapped", [4355]], [[12600, 12600], "mapped", [4356]], [[12601, 12601], "mapped", [4357]], [[12602, 12602], "mapped", [4528]], [[12603, 12603], "mapped", [4529]], [[12604, 12604], "mapped", [4530]], [[12605, 12605], "mapped", [4531]], [[12606, 12606], "mapped", [4532]], [[12607, 12607], "mapped", [4533]], [[12608, 12608], "mapped", [4378]], [[12609, 12609], "mapped", [4358]], [[12610, 12610], "mapped", [4359]], [[12611, 12611], "mapped", [4360]], [[12612, 12612], "mapped", [4385]], [[12613, 12613], "mapped", [4361]], [[12614, 12614], "mapped", [4362]], [[12615, 12615], "mapped", [4363]], [[12616, 12616], "mapped", [4364]], [[12617, 12617], "mapped", [4365]], [[12618, 12618], "mapped", [4366]], [[12619, 12619], "mapped", [4367]], [[12620, 12620], "mapped", [4368]], [[12621, 12621], "mapped", [4369]], [[12622, 12622], "mapped", [4370]], [[12623, 12623], "mapped", [4449]], [[12624, 12624], "mapped", [4450]], [[12625, 12625], "mapped", [4451]], [[12626, 12626], "mapped", [4452]], [[12627, 12627], "mapped", [4453]], [[12628, 12628], "mapped", [4454]], [[12629, 12629], "mapped", [4455]], [[12630, 12630], "mapped", [4456]], [[12631, 12631], "mapped", [4457]], [[12632, 12632], "mapped", [4458]], [[12633, 12633], "mapped", [4459]], [[12634, 12634], "mapped", [4460]], [[12635, 12635], "mapped", [4461]], [[12636, 12636], "mapped", [4462]], [[12637, 12637], "mapped", [4463]], [[12638, 12638], "mapped", [4464]], [[12639, 12639], "mapped", [4465]], [[12640, 12640], "mapped", [4466]], [[12641, 12641], "mapped", [4467]], [[12642, 12642], "mapped", [4468]], [[12643, 12643], "mapped", [4469]], [[12644, 12644], "disallowed"], [[12645, 12645], "mapped", [4372]], [[12646, 12646], "mapped", [4373]], [[12647, 12647], "mapped", [4551]], [[12648, 12648], "mapped", [4552]], [[12649, 12649], "mapped", [4556]], [[12650, 12650], "mapped", [4558]], [[12651, 12651], "mapped", [4563]], [[12652, 12652], "mapped", [4567]], [[12653, 12653], "mapped", [4569]], [[12654, 12654], "mapped", [4380]], [[12655, 12655], "mapped", [4573]], [[12656, 12656], "mapped", [4575]], [[12657, 12657], "mapped", [4381]], [[12658, 12658], "mapped", [4382]], [[12659, 12659], "mapped", [4384]], [[12660, 12660], "mapped", [4386]], [[12661, 12661], "mapped", [4387]], [[12662, 12662], "mapped", [4391]], [[12663, 12663], "mapped", [4393]], [[12664, 12664], "mapped", [4395]], [[12665, 12665], "mapped", [4396]], [[12666, 12666], "mapped", [4397]], [[12667, 12667], "mapped", [4398]], [[12668, 12668], "mapped", [4399]], [[12669, 12669], "mapped", [4402]], [[12670, 12670], "mapped", [4406]], [[12671, 12671], "mapped", [4416]], [[12672, 12672], "mapped", [4423]], [[12673, 12673], "mapped", [4428]], [[12674, 12674], "mapped", [4593]], [[12675, 12675], "mapped", [4594]], [[12676, 12676], "mapped", [4439]], [[12677, 12677], "mapped", [4440]], [[12678, 12678], "mapped", [4441]], [[12679, 12679], "mapped", [4484]], [[12680, 12680], "mapped", [4485]], [[12681, 12681], "mapped", [4488]], [[12682, 12682], "mapped", [4497]], [[12683, 12683], "mapped", [4498]], [[12684, 12684], "mapped", [4500]], [[12685, 12685], "mapped", [4510]], [[12686, 12686], "mapped", [4513]], [[12687, 12687], "disallowed"], [[12688, 12689], "valid", [], "NV8"], [[12690, 12690], "mapped", [19968]], [[12691, 12691], "mapped", [20108]], [[12692, 12692], "mapped", [19977]], [[12693, 12693], "mapped", [22235]], [[12694, 12694], "mapped", [19978]], [[12695, 12695], "mapped", [20013]], [[12696, 12696], "mapped", [19979]], [[12697, 12697], "mapped", [30002]], [[12698, 12698], "mapped", [20057]], [[12699, 12699], "mapped", [19993]], [[12700, 12700], "mapped", [19969]], [[12701, 12701], "mapped", [22825]], [[12702, 12702], "mapped", [22320]], [[12703, 12703], "mapped", [20154]], [[12704, 12727], "valid"], [[12728, 12730], "valid"], [[12731, 12735], "disallowed"], [[12736, 12751], "valid", [], "NV8"], [[12752, 12771], "valid", [], "NV8"], [[12772, 12783], "disallowed"], [[12784, 12799], "valid"], [[12800, 12800], "disallowed_STD3_mapped", [40, 4352, 41]], [[12801, 12801], "disallowed_STD3_mapped", [40, 4354, 41]], [[12802, 12802], "disallowed_STD3_mapped", [40, 4355, 41]], [[12803, 12803], "disallowed_STD3_mapped", [40, 4357, 41]], [[12804, 12804], "disallowed_STD3_mapped", [40, 4358, 41]], [[12805, 12805], "disallowed_STD3_mapped", [40, 4359, 41]], [[12806, 12806], "disallowed_STD3_mapped", [40, 4361, 41]], [[12807, 12807], "disallowed_STD3_mapped", [40, 4363, 41]], [[12808, 12808], "disallowed_STD3_mapped", [40, 4364, 41]], [[12809, 12809], "disallowed_STD3_mapped", [40, 4366, 41]], [[12810, 12810], "disallowed_STD3_mapped", [40, 4367, 41]], [[12811, 12811], "disallowed_STD3_mapped", [40, 4368, 41]], [[12812, 12812], "disallowed_STD3_mapped", [40, 4369, 41]], [[12813, 12813], "disallowed_STD3_mapped", [40, 4370, 41]], [[12814, 12814], "disallowed_STD3_mapped", [40, 44032, 41]], [[12815, 12815], "disallowed_STD3_mapped", [40, 45208, 41]], [[12816, 12816], "disallowed_STD3_mapped", [40, 45796, 41]], [[12817, 12817], "disallowed_STD3_mapped", [40, 46972, 41]], [[12818, 12818], "disallowed_STD3_mapped", [40, 47560, 41]], [[12819, 12819], "disallowed_STD3_mapped", [40, 48148, 41]], [[12820, 12820], "disallowed_STD3_mapped", [40, 49324, 41]], [[12821, 12821], "disallowed_STD3_mapped", [40, 50500, 41]], [[12822, 12822], "disallowed_STD3_mapped", [40, 51088, 41]], [[12823, 12823], "disallowed_STD3_mapped", [40, 52264, 41]], [[12824, 12824], "disallowed_STD3_mapped", [40, 52852, 41]], [[12825, 12825], "disallowed_STD3_mapped", [40, 53440, 41]], [[12826, 12826], "disallowed_STD3_mapped", [40, 54028, 41]], [[12827, 12827], "disallowed_STD3_mapped", [40, 54616, 41]], [[12828, 12828], "disallowed_STD3_mapped", [40, 51452, 41]], [[12829, 12829], "disallowed_STD3_mapped", [40, 50724, 51204, 41]], [[12830, 12830], "disallowed_STD3_mapped", [40, 50724, 54980, 41]], [[12831, 12831], "disallowed"], [[12832, 12832], "disallowed_STD3_mapped", [40, 19968, 41]], [[12833, 12833], "disallowed_STD3_mapped", [40, 20108, 41]], [[12834, 12834], "disallowed_STD3_mapped", [40, 19977, 41]], [[12835, 12835], "disallowed_STD3_mapped", [40, 22235, 41]], [[12836, 12836], "disallowed_STD3_mapped", [40, 20116, 41]], [[12837, 12837], "disallowed_STD3_mapped", [40, 20845, 41]], [[12838, 12838], "disallowed_STD3_mapped", [40, 19971, 41]], [[12839, 12839], "disallowed_STD3_mapped", [40, 20843, 41]], [[12840, 12840], "disallowed_STD3_mapped", [40, 20061, 41]], [[12841, 12841], "disallowed_STD3_mapped", [40, 21313, 41]], [[12842, 12842], "disallowed_STD3_mapped", [40, 26376, 41]], [[12843, 12843], "disallowed_STD3_mapped", [40, 28779, 41]], [[12844, 12844], "disallowed_STD3_mapped", [40, 27700, 41]], [[12845, 12845], "disallowed_STD3_mapped", [40, 26408, 41]], [[12846, 12846], "disallowed_STD3_mapped", [40, 37329, 41]], [[12847, 12847], "disallowed_STD3_mapped", [40, 22303, 41]], [[12848, 12848], "disallowed_STD3_mapped", [40, 26085, 41]], [[12849, 12849], "disallowed_STD3_mapped", [40, 26666, 41]], [[12850, 12850], "disallowed_STD3_mapped", [40, 26377, 41]], [[12851, 12851], "disallowed_STD3_mapped", [40, 31038, 41]], [[12852, 12852], "disallowed_STD3_mapped", [40, 21517, 41]], [[12853, 12853], "disallowed_STD3_mapped", [40, 29305, 41]], [[12854, 12854], "disallowed_STD3_mapped", [40, 36001, 41]], [[12855, 12855], "disallowed_STD3_mapped", [40, 31069, 41]], [[12856, 12856], "disallowed_STD3_mapped", [40, 21172, 41]], [[12857, 12857], "disallowed_STD3_mapped", [40, 20195, 41]], [[12858, 12858], "disallowed_STD3_mapped", [40, 21628, 41]], [[12859, 12859], "disallowed_STD3_mapped", [40, 23398, 41]], [[12860, 12860], "disallowed_STD3_mapped", [40, 30435, 41]], [[12861, 12861], "disallowed_STD3_mapped", [40, 20225, 41]], [[12862, 12862], "disallowed_STD3_mapped", [40, 36039, 41]], [[12863, 12863], "disallowed_STD3_mapped", [40, 21332, 41]], [[12864, 12864], "disallowed_STD3_mapped", [40, 31085, 41]], [[12865, 12865], "disallowed_STD3_mapped", [40, 20241, 41]], [[12866, 12866], "disallowed_STD3_mapped", [40, 33258, 41]], [[12867, 12867], "disallowed_STD3_mapped", [40, 33267, 41]], [[12868, 12868], "mapped", [21839]], [[12869, 12869], "mapped", [24188]], [[12870, 12870], "mapped", [25991]], [[12871, 12871], "mapped", [31631]], [[12872, 12879], "valid", [], "NV8"], [[12880, 12880], "mapped", [112, 116, 101]], [[12881, 12881], "mapped", [50, 49]], [[12882, 12882], "mapped", [50, 50]], [[12883, 12883], "mapped", [50, 51]], [[12884, 12884], "mapped", [50, 52]], [[12885, 12885], "mapped", [50, 53]], [[12886, 12886], "mapped", [50, 54]], [[12887, 12887], "mapped", [50, 55]], [[12888, 12888], "mapped", [50, 56]], [[12889, 12889], "mapped", [50, 57]], [[12890, 12890], "mapped", [51, 48]], [[12891, 12891], "mapped", [51, 49]], [[12892, 12892], "mapped", [51, 50]], [[12893, 12893], "mapped", [51, 51]], [[12894, 12894], "mapped", [51, 52]], [[12895, 12895], "mapped", [51, 53]], [[12896, 12896], "mapped", [4352]], [[12897, 12897], "mapped", [4354]], [[12898, 12898], "mapped", [4355]], [[12899, 12899], "mapped", [4357]], [[12900, 12900], "mapped", [4358]], [[12901, 12901], "mapped", [4359]], [[12902, 12902], "mapped", [4361]], [[12903, 12903], "mapped", [4363]], [[12904, 12904], "mapped", [4364]], [[12905, 12905], "mapped", [4366]], [[12906, 12906], "mapped", [4367]], [[12907, 12907], "mapped", [4368]], [[12908, 12908], "mapped", [4369]], [[12909, 12909], "mapped", [4370]], [[12910, 12910], "mapped", [44032]], [[12911, 12911], "mapped", [45208]], [[12912, 12912], "mapped", [45796]], [[12913, 12913], "mapped", [46972]], [[12914, 12914], "mapped", [47560]], [[12915, 12915], "mapped", [48148]], [[12916, 12916], "mapped", [49324]], [[12917, 12917], "mapped", [50500]], [[12918, 12918], "mapped", [51088]], [[12919, 12919], "mapped", [52264]], [[12920, 12920], "mapped", [52852]], [[12921, 12921], "mapped", [53440]], [[12922, 12922], "mapped", [54028]], [[12923, 12923], "mapped", [54616]], [[12924, 12924], "mapped", [52280, 44256]], [[12925, 12925], "mapped", [51452, 51032]], [[12926, 12926], "mapped", [50864]], [[12927, 12927], "valid", [], "NV8"], [[12928, 12928], "mapped", [19968]], [[12929, 12929], "mapped", [20108]], [[12930, 12930], "mapped", [19977]], [[12931, 12931], "mapped", [22235]], [[12932, 12932], "mapped", [20116]], [[12933, 12933], "mapped", [20845]], [[12934, 12934], "mapped", [19971]], [[12935, 12935], "mapped", [20843]], [[12936, 12936], "mapped", [20061]], [[12937, 12937], "mapped", [21313]], [[12938, 12938], "mapped", [26376]], [[12939, 12939], "mapped", [28779]], [[12940, 12940], "mapped", [27700]], [[12941, 12941], "mapped", [26408]], [[12942, 12942], "mapped", [37329]], [[12943, 12943], "mapped", [22303]], [[12944, 12944], "mapped", [26085]], [[12945, 12945], "mapped", [26666]], [[12946, 12946], "mapped", [26377]], [[12947, 12947], "mapped", [31038]], [[12948, 12948], "mapped", [21517]], [[12949, 12949], "mapped", [29305]], [[12950, 12950], "mapped", [36001]], [[12951, 12951], "mapped", [31069]], [[12952, 12952], "mapped", [21172]], [[12953, 12953], "mapped", [31192]], [[12954, 12954], "mapped", [30007]], [[12955, 12955], "mapped", [22899]], [[12956, 12956], "mapped", [36969]], [[12957, 12957], "mapped", [20778]], [[12958, 12958], "mapped", [21360]], [[12959, 12959], "mapped", [27880]], [[12960, 12960], "mapped", [38917]], [[12961, 12961], "mapped", [20241]], [[12962, 12962], "mapped", [20889]], [[12963, 12963], "mapped", [27491]], [[12964, 12964], "mapped", [19978]], [[12965, 12965], "mapped", [20013]], [[12966, 12966], "mapped", [19979]], [[12967, 12967], "mapped", [24038]], [[12968, 12968], "mapped", [21491]], [[12969, 12969], "mapped", [21307]], [[12970, 12970], "mapped", [23447]], [[12971, 12971], "mapped", [23398]], [[12972, 12972], "mapped", [30435]], [[12973, 12973], "mapped", [20225]], [[12974, 12974], "mapped", [36039]], [[12975, 12975], "mapped", [21332]], [[12976, 12976], "mapped", [22812]], [[12977, 12977], "mapped", [51, 54]], [[12978, 12978], "mapped", [51, 55]], [[12979, 12979], "mapped", [51, 56]], [[12980, 12980], "mapped", [51, 57]], [[12981, 12981], "mapped", [52, 48]], [[12982, 12982], "mapped", [52, 49]], [[12983, 12983], "mapped", [52, 50]], [[12984, 12984], "mapped", [52, 51]], [[12985, 12985], "mapped", [52, 52]], [[12986, 12986], "mapped", [52, 53]], [[12987, 12987], "mapped", [52, 54]], [[12988, 12988], "mapped", [52, 55]], [[12989, 12989], "mapped", [52, 56]], [[12990, 12990], "mapped", [52, 57]], [[12991, 12991], "mapped", [53, 48]], [[12992, 12992], "mapped", [49, 26376]], [[12993, 12993], "mapped", [50, 26376]], [[12994, 12994], "mapped", [51, 26376]], [[12995, 12995], "mapped", [52, 26376]], [[12996, 12996], "mapped", [53, 26376]], [[12997, 12997], "mapped", [54, 26376]], [[12998, 12998], "mapped", [55, 26376]], [[12999, 12999], "mapped", [56, 26376]], [[13e3, 13e3], "mapped", [57, 26376]], [[13001, 13001], "mapped", [49, 48, 26376]], [[13002, 13002], "mapped", [49, 49, 26376]], [[13003, 13003], "mapped", [49, 50, 26376]], [[13004, 13004], "mapped", [104, 103]], [[13005, 13005], "mapped", [101, 114, 103]], [[13006, 13006], "mapped", [101, 118]], [[13007, 13007], "mapped", [108, 116, 100]], [[13008, 13008], "mapped", [12450]], [[13009, 13009], "mapped", [12452]], [[13010, 13010], "mapped", [12454]], [[13011, 13011], "mapped", [12456]], [[13012, 13012], "mapped", [12458]], [[13013, 13013], "mapped", [12459]], [[13014, 13014], "mapped", [12461]], [[13015, 13015], "mapped", [12463]], [[13016, 13016], "mapped", [12465]], [[13017, 13017], "mapped", [12467]], [[13018, 13018], "mapped", [12469]], [[13019, 13019], "mapped", [12471]], [[13020, 13020], "mapped", [12473]], [[13021, 13021], "mapped", [12475]], [[13022, 13022], "mapped", [12477]], [[13023, 13023], "mapped", [12479]], [[13024, 13024], "mapped", [12481]], [[13025, 13025], "mapped", [12484]], [[13026, 13026], "mapped", [12486]], [[13027, 13027], "mapped", [12488]], [[13028, 13028], "mapped", [12490]], [[13029, 13029], "mapped", [12491]], [[13030, 13030], "mapped", [12492]], [[13031, 13031], "mapped", [12493]], [[13032, 13032], "mapped", [12494]], [[13033, 13033], "mapped", [12495]], [[13034, 13034], "mapped", [12498]], [[13035, 13035], "mapped", [12501]], [[13036, 13036], "mapped", [12504]], [[13037, 13037], "mapped", [12507]], [[13038, 13038], "mapped", [12510]], [[13039, 13039], "mapped", [12511]], [[13040, 13040], "mapped", [12512]], [[13041, 13041], "mapped", [12513]], [[13042, 13042], "mapped", [12514]], [[13043, 13043], "mapped", [12516]], [[13044, 13044], "mapped", [12518]], [[13045, 13045], "mapped", [12520]], [[13046, 13046], "mapped", [12521]], [[13047, 13047], "mapped", [12522]], [[13048, 13048], "mapped", [12523]], [[13049, 13049], "mapped", [12524]], [[13050, 13050], "mapped", [12525]], [[13051, 13051], "mapped", [12527]], [[13052, 13052], "mapped", [12528]], [[13053, 13053], "mapped", [12529]], [[13054, 13054], "mapped", [12530]], [[13055, 13055], "disallowed"], [[13056, 13056], "mapped", [12450, 12497, 12540, 12488]], [[13057, 13057], "mapped", [12450, 12523, 12501, 12449]], [[13058, 13058], "mapped", [12450, 12531, 12506, 12450]], [[13059, 13059], "mapped", [12450, 12540, 12523]], [[13060, 13060], "mapped", [12452, 12491, 12531, 12464]], [[13061, 13061], "mapped", [12452, 12531, 12481]], [[13062, 13062], "mapped", [12454, 12457, 12531]], [[13063, 13063], "mapped", [12456, 12473, 12463, 12540, 12489]], [[13064, 13064], "mapped", [12456, 12540, 12459, 12540]], [[13065, 13065], "mapped", [12458, 12531, 12473]], [[13066, 13066], "mapped", [12458, 12540, 12512]], [[13067, 13067], "mapped", [12459, 12452, 12522]], [[13068, 13068], "mapped", [12459, 12521, 12483, 12488]], [[13069, 13069], "mapped", [12459, 12525, 12522, 12540]], [[13070, 13070], "mapped", [12460, 12525, 12531]], [[13071, 13071], "mapped", [12460, 12531, 12510]], [[13072, 13072], "mapped", [12462, 12460]], [[13073, 13073], "mapped", [12462, 12491, 12540]], [[13074, 13074], "mapped", [12461, 12517, 12522, 12540]], [[13075, 13075], "mapped", [12462, 12523, 12480, 12540]], [[13076, 13076], "mapped", [12461, 12525]], [[13077, 13077], "mapped", [12461, 12525, 12464, 12521, 12512]], [[13078, 13078], "mapped", [12461, 12525, 12513, 12540, 12488, 12523]], [[13079, 13079], "mapped", [12461, 12525, 12527, 12483, 12488]], [[13080, 13080], "mapped", [12464, 12521, 12512]], [[13081, 13081], "mapped", [12464, 12521, 12512, 12488, 12531]], [[13082, 13082], "mapped", [12463, 12523, 12476, 12452, 12525]], [[13083, 13083], "mapped", [12463, 12525, 12540, 12493]], [[13084, 13084], "mapped", [12465, 12540, 12473]], [[13085, 13085], "mapped", [12467, 12523, 12490]], [[13086, 13086], "mapped", [12467, 12540, 12509]], [[13087, 13087], "mapped", [12469, 12452, 12463, 12523]], [[13088, 13088], "mapped", [12469, 12531, 12481, 12540, 12512]], [[13089, 13089], "mapped", [12471, 12522, 12531, 12464]], [[13090, 13090], "mapped", [12475, 12531, 12481]], [[13091, 13091], "mapped", [12475, 12531, 12488]], [[13092, 13092], "mapped", [12480, 12540, 12473]], [[13093, 13093], "mapped", [12487, 12471]], [[13094, 13094], "mapped", [12489, 12523]], [[13095, 13095], "mapped", [12488, 12531]], [[13096, 13096], "mapped", [12490, 12494]], [[13097, 13097], "mapped", [12494, 12483, 12488]], [[13098, 13098], "mapped", [12495, 12452, 12484]], [[13099, 13099], "mapped", [12497, 12540, 12475, 12531, 12488]], [[13100, 13100], "mapped", [12497, 12540, 12484]], [[13101, 13101], "mapped", [12496, 12540, 12524, 12523]], [[13102, 13102], "mapped", [12500, 12450, 12473, 12488, 12523]], [[13103, 13103], "mapped", [12500, 12463, 12523]], [[13104, 13104], "mapped", [12500, 12467]], [[13105, 13105], "mapped", [12499, 12523]], [[13106, 13106], "mapped", [12501, 12449, 12521, 12483, 12489]], [[13107, 13107], "mapped", [12501, 12451, 12540, 12488]], [[13108, 13108], "mapped", [12502, 12483, 12471, 12455, 12523]], [[13109, 13109], "mapped", [12501, 12521, 12531]], [[13110, 13110], "mapped", [12504, 12463, 12479, 12540, 12523]], [[13111, 13111], "mapped", [12506, 12477]], [[13112, 13112], "mapped", [12506, 12491, 12498]], [[13113, 13113], "mapped", [12504, 12523, 12484]], [[13114, 13114], "mapped", [12506, 12531, 12473]], [[13115, 13115], "mapped", [12506, 12540, 12472]], [[13116, 13116], "mapped", [12505, 12540, 12479]], [[13117, 13117], "mapped", [12509, 12452, 12531, 12488]], [[13118, 13118], "mapped", [12508, 12523, 12488]], [[13119, 13119], "mapped", [12507, 12531]], [[13120, 13120], "mapped", [12509, 12531, 12489]], [[13121, 13121], "mapped", [12507, 12540, 12523]], [[13122, 13122], "mapped", [12507, 12540, 12531]], [[13123, 13123], "mapped", [12510, 12452, 12463, 12525]], [[13124, 13124], "mapped", [12510, 12452, 12523]], [[13125, 13125], "mapped", [12510, 12483, 12495]], [[13126, 13126], "mapped", [12510, 12523, 12463]], [[13127, 13127], "mapped", [12510, 12531, 12471, 12519, 12531]], [[13128, 13128], "mapped", [12511, 12463, 12525, 12531]], [[13129, 13129], "mapped", [12511, 12522]], [[13130, 13130], "mapped", [12511, 12522, 12496, 12540, 12523]], [[13131, 13131], "mapped", [12513, 12460]], [[13132, 13132], "mapped", [12513, 12460, 12488, 12531]], [[13133, 13133], "mapped", [12513, 12540, 12488, 12523]], [[13134, 13134], "mapped", [12516, 12540, 12489]], [[13135, 13135], "mapped", [12516, 12540, 12523]], [[13136, 13136], "mapped", [12518, 12450, 12531]], [[13137, 13137], "mapped", [12522, 12483, 12488, 12523]], [[13138, 13138], "mapped", [12522, 12521]], [[13139, 13139], "mapped", [12523, 12500, 12540]], [[13140, 13140], "mapped", [12523, 12540, 12502, 12523]], [[13141, 13141], "mapped", [12524, 12512]], [[13142, 13142], "mapped", [12524, 12531, 12488, 12466, 12531]], [[13143, 13143], "mapped", [12527, 12483, 12488]], [[13144, 13144], "mapped", [48, 28857]], [[13145, 13145], "mapped", [49, 28857]], [[13146, 13146], "mapped", [50, 28857]], [[13147, 13147], "mapped", [51, 28857]], [[13148, 13148], "mapped", [52, 28857]], [[13149, 13149], "mapped", [53, 28857]], [[13150, 13150], "mapped", [54, 28857]], [[13151, 13151], "mapped", [55, 28857]], [[13152, 13152], "mapped", [56, 28857]], [[13153, 13153], "mapped", [57, 28857]], [[13154, 13154], "mapped", [49, 48, 28857]], [[13155, 13155], "mapped", [49, 49, 28857]], [[13156, 13156], "mapped", [49, 50, 28857]], [[13157, 13157], "mapped", [49, 51, 28857]], [[13158, 13158], "mapped", [49, 52, 28857]], [[13159, 13159], "mapped", [49, 53, 28857]], [[13160, 13160], "mapped", [49, 54, 28857]], [[13161, 13161], "mapped", [49, 55, 28857]], [[13162, 13162], "mapped", [49, 56, 28857]], [[13163, 13163], "mapped", [49, 57, 28857]], [[13164, 13164], "mapped", [50, 48, 28857]], [[13165, 13165], "mapped", [50, 49, 28857]], [[13166, 13166], "mapped", [50, 50, 28857]], [[13167, 13167], "mapped", [50, 51, 28857]], [[13168, 13168], "mapped", [50, 52, 28857]], [[13169, 13169], "mapped", [104, 112, 97]], [[13170, 13170], "mapped", [100, 97]], [[13171, 13171], "mapped", [97, 117]], [[13172, 13172], "mapped", [98, 97, 114]], [[13173, 13173], "mapped", [111, 118]], [[13174, 13174], "mapped", [112, 99]], [[13175, 13175], "mapped", [100, 109]], [[13176, 13176], "mapped", [100, 109, 50]], [[13177, 13177], "mapped", [100, 109, 51]], [[13178, 13178], "mapped", [105, 117]], [[13179, 13179], "mapped", [24179, 25104]], [[13180, 13180], "mapped", [26157, 21644]], [[13181, 13181], "mapped", [22823, 27491]], [[13182, 13182], "mapped", [26126, 27835]], [[13183, 13183], "mapped", [26666, 24335, 20250, 31038]], [[13184, 13184], "mapped", [112, 97]], [[13185, 13185], "mapped", [110, 97]], [[13186, 13186], "mapped", [956, 97]], [[13187, 13187], "mapped", [109, 97]], [[13188, 13188], "mapped", [107, 97]], [[13189, 13189], "mapped", [107, 98]], [[13190, 13190], "mapped", [109, 98]], [[13191, 13191], "mapped", [103, 98]], [[13192, 13192], "mapped", [99, 97, 108]], [[13193, 13193], "mapped", [107, 99, 97, 108]], [[13194, 13194], "mapped", [112, 102]], [[13195, 13195], "mapped", [110, 102]], [[13196, 13196], "mapped", [956, 102]], [[13197, 13197], "mapped", [956, 103]], [[13198, 13198], "mapped", [109, 103]], [[13199, 13199], "mapped", [107, 103]], [[13200, 13200], "mapped", [104, 122]], [[13201, 13201], "mapped", [107, 104, 122]], [[13202, 13202], "mapped", [109, 104, 122]], [[13203, 13203], "mapped", [103, 104, 122]], [[13204, 13204], "mapped", [116, 104, 122]], [[13205, 13205], "mapped", [956, 108]], [[13206, 13206], "mapped", [109, 108]], [[13207, 13207], "mapped", [100, 108]], [[13208, 13208], "mapped", [107, 108]], [[13209, 13209], "mapped", [102, 109]], [[13210, 13210], "mapped", [110, 109]], [[13211, 13211], "mapped", [956, 109]], [[13212, 13212], "mapped", [109, 109]], [[13213, 13213], "mapped", [99, 109]], [[13214, 13214], "mapped", [107, 109]], [[13215, 13215], "mapped", [109, 109, 50]], [[13216, 13216], "mapped", [99, 109, 50]], [[13217, 13217], "mapped", [109, 50]], [[13218, 13218], "mapped", [107, 109, 50]], [[13219, 13219], "mapped", [109, 109, 51]], [[13220, 13220], "mapped", [99, 109, 51]], [[13221, 13221], "mapped", [109, 51]], [[13222, 13222], "mapped", [107, 109, 51]], [[13223, 13223], "mapped", [109, 8725, 115]], [[13224, 13224], "mapped", [109, 8725, 115, 50]], [[13225, 13225], "mapped", [112, 97]], [[13226, 13226], "mapped", [107, 112, 97]], [[13227, 13227], "mapped", [109, 112, 97]], [[13228, 13228], "mapped", [103, 112, 97]], [[13229, 13229], "mapped", [114, 97, 100]], [[13230, 13230], "mapped", [114, 97, 100, 8725, 115]], [[13231, 13231], "mapped", [114, 97, 100, 8725, 115, 50]], [[13232, 13232], "mapped", [112, 115]], [[13233, 13233], "mapped", [110, 115]], [[13234, 13234], "mapped", [956, 115]], [[13235, 13235], "mapped", [109, 115]], [[13236, 13236], "mapped", [112, 118]], [[13237, 13237], "mapped", [110, 118]], [[13238, 13238], "mapped", [956, 118]], [[13239, 13239], "mapped", [109, 118]], [[13240, 13240], "mapped", [107, 118]], [[13241, 13241], "mapped", [109, 118]], [[13242, 13242], "mapped", [112, 119]], [[13243, 13243], "mapped", [110, 119]], [[13244, 13244], "mapped", [956, 119]], [[13245, 13245], "mapped", [109, 119]], [[13246, 13246], "mapped", [107, 119]], [[13247, 13247], "mapped", [109, 119]], [[13248, 13248], "mapped", [107, 969]], [[13249, 13249], "mapped", [109, 969]], [[13250, 13250], "disallowed"], [[13251, 13251], "mapped", [98, 113]], [[13252, 13252], "mapped", [99, 99]], [[13253, 13253], "mapped", [99, 100]], [[13254, 13254], "mapped", [99, 8725, 107, 103]], [[13255, 13255], "disallowed"], [[13256, 13256], "mapped", [100, 98]], [[13257, 13257], "mapped", [103, 121]], [[13258, 13258], "mapped", [104, 97]], [[13259, 13259], "mapped", [104, 112]], [[13260, 13260], "mapped", [105, 110]], [[13261, 13261], "mapped", [107, 107]], [[13262, 13262], "mapped", [107, 109]], [[13263, 13263], "mapped", [107, 116]], [[13264, 13264], "mapped", [108, 109]], [[13265, 13265], "mapped", [108, 110]], [[13266, 13266], "mapped", [108, 111, 103]], [[13267, 13267], "mapped", [108, 120]], [[13268, 13268], "mapped", [109, 98]], [[13269, 13269], "mapped", [109, 105, 108]], [[13270, 13270], "mapped", [109, 111, 108]], [[13271, 13271], "mapped", [112, 104]], [[13272, 13272], "disallowed"], [[13273, 13273], "mapped", [112, 112, 109]], [[13274, 13274], "mapped", [112, 114]], [[13275, 13275], "mapped", [115, 114]], [[13276, 13276], "mapped", [115, 118]], [[13277, 13277], "mapped", [119, 98]], [[13278, 13278], "mapped", [118, 8725, 109]], [[13279, 13279], "mapped", [97, 8725, 109]], [[13280, 13280], "mapped", [49, 26085]], [[13281, 13281], "mapped", [50, 26085]], [[13282, 13282], "mapped", [51, 26085]], [[13283, 13283], "mapped", [52, 26085]], [[13284, 13284], "mapped", [53, 26085]], [[13285, 13285], "mapped", [54, 26085]], [[13286, 13286], "mapped", [55, 26085]], [[13287, 13287], "mapped", [56, 26085]], [[13288, 13288], "mapped", [57, 26085]], [[13289, 13289], "mapped", [49, 48, 26085]], [[13290, 13290], "mapped", [49, 49, 26085]], [[13291, 13291], "mapped", [49, 50, 26085]], [[13292, 13292], "mapped", [49, 51, 26085]], [[13293, 13293], "mapped", [49, 52, 26085]], [[13294, 13294], "mapped", [49, 53, 26085]], [[13295, 13295], "mapped", [49, 54, 26085]], [[13296, 13296], "mapped", [49, 55, 26085]], [[13297, 13297], "mapped", [49, 56, 26085]], [[13298, 13298], "mapped", [49, 57, 26085]], [[13299, 13299], "mapped", [50, 48, 26085]], [[13300, 13300], "mapped", [50, 49, 26085]], [[13301, 13301], "mapped", [50, 50, 26085]], [[13302, 13302], "mapped", [50, 51, 26085]], [[13303, 13303], "mapped", [50, 52, 26085]], [[13304, 13304], "mapped", [50, 53, 26085]], [[13305, 13305], "mapped", [50, 54, 26085]], [[13306, 13306], "mapped", [50, 55, 26085]], [[13307, 13307], "mapped", [50, 56, 26085]], [[13308, 13308], "mapped", [50, 57, 26085]], [[13309, 13309], "mapped", [51, 48, 26085]], [[13310, 13310], "mapped", [51, 49, 26085]], [[13311, 13311], "mapped", [103, 97, 108]], [[13312, 19893], "valid"], [[19894, 19903], "disallowed"], [[19904, 19967], "valid", [], "NV8"], [[19968, 40869], "valid"], [[40870, 40891], "valid"], [[40892, 40899], "valid"], [[40900, 40907], "valid"], [[40908, 40908], "valid"], [[40909, 40917], "valid"], [[40918, 40959], "disallowed"], [[40960, 42124], "valid"], [[42125, 42127], "disallowed"], [[42128, 42145], "valid", [], "NV8"], [[42146, 42147], "valid", [], "NV8"], [[42148, 42163], "valid", [], "NV8"], [[42164, 42164], "valid", [], "NV8"], [[42165, 42176], "valid", [], "NV8"], [[42177, 42177], "valid", [], "NV8"], [[42178, 42180], "valid", [], "NV8"], [[42181, 42181], "valid", [], "NV8"], [[42182, 42182], "valid", [], "NV8"], [[42183, 42191], "disallowed"], [[42192, 42237], "valid"], [[42238, 42239], "valid", [], "NV8"], [[42240, 42508], "valid"], [[42509, 42511], "valid", [], "NV8"], [[42512, 42539], "valid"], [[42540, 42559], "disallowed"], [[42560, 42560], "mapped", [42561]], [[42561, 42561], "valid"], [[42562, 42562], "mapped", [42563]], [[42563, 42563], "valid"], [[42564, 42564], "mapped", [42565]], [[42565, 42565], "valid"], [[42566, 42566], "mapped", [42567]], [[42567, 42567], "valid"], [[42568, 42568], "mapped", [42569]], [[42569, 42569], "valid"], [[42570, 42570], "mapped", [42571]], [[42571, 42571], "valid"], [[42572, 42572], "mapped", [42573]], [[42573, 42573], "valid"], [[42574, 42574], "mapped", [42575]], [[42575, 42575], "valid"], [[42576, 42576], "mapped", [42577]], [[42577, 42577], "valid"], [[42578, 42578], "mapped", [42579]], [[42579, 42579], "valid"], [[42580, 42580], "mapped", [42581]], [[42581, 42581], "valid"], [[42582, 42582], "mapped", [42583]], [[42583, 42583], "valid"], [[42584, 42584], "mapped", [42585]], [[42585, 42585], "valid"], [[42586, 42586], "mapped", [42587]], [[42587, 42587], "valid"], [[42588, 42588], "mapped", [42589]], [[42589, 42589], "valid"], [[42590, 42590], "mapped", [42591]], [[42591, 42591], "valid"], [[42592, 42592], "mapped", [42593]], [[42593, 42593], "valid"], [[42594, 42594], "mapped", [42595]], [[42595, 42595], "valid"], [[42596, 42596], "mapped", [42597]], [[42597, 42597], "valid"], [[42598, 42598], "mapped", [42599]], [[42599, 42599], "valid"], [[42600, 42600], "mapped", [42601]], [[42601, 42601], "valid"], [[42602, 42602], "mapped", [42603]], [[42603, 42603], "valid"], [[42604, 42604], "mapped", [42605]], [[42605, 42607], "valid"], [[42608, 42611], "valid", [], "NV8"], [[42612, 42619], "valid"], [[42620, 42621], "valid"], [[42622, 42622], "valid", [], "NV8"], [[42623, 42623], "valid"], [[42624, 42624], "mapped", [42625]], [[42625, 42625], "valid"], [[42626, 42626], "mapped", [42627]], [[42627, 42627], "valid"], [[42628, 42628], "mapped", [42629]], [[42629, 42629], "valid"], [[42630, 42630], "mapped", [42631]], [[42631, 42631], "valid"], [[42632, 42632], "mapped", [42633]], [[42633, 42633], "valid"], [[42634, 42634], "mapped", [42635]], [[42635, 42635], "valid"], [[42636, 42636], "mapped", [42637]], [[42637, 42637], "valid"], [[42638, 42638], "mapped", [42639]], [[42639, 42639], "valid"], [[42640, 42640], "mapped", [42641]], [[42641, 42641], "valid"], [[42642, 42642], "mapped", [42643]], [[42643, 42643], "valid"], [[42644, 42644], "mapped", [42645]], [[42645, 42645], "valid"], [[42646, 42646], "mapped", [42647]], [[42647, 42647], "valid"], [[42648, 42648], "mapped", [42649]], [[42649, 42649], "valid"], [[42650, 42650], "mapped", [42651]], [[42651, 42651], "valid"], [[42652, 42652], "mapped", [1098]], [[42653, 42653], "mapped", [1100]], [[42654, 42654], "valid"], [[42655, 42655], "valid"], [[42656, 42725], "valid"], [[42726, 42735], "valid", [], "NV8"], [[42736, 42737], "valid"], [[42738, 42743], "valid", [], "NV8"], [[42744, 42751], "disallowed"], [[42752, 42774], "valid", [], "NV8"], [[42775, 42778], "valid"], [[42779, 42783], "valid"], [[42784, 42785], "valid", [], "NV8"], [[42786, 42786], "mapped", [42787]], [[42787, 42787], "valid"], [[42788, 42788], "mapped", [42789]], [[42789, 42789], "valid"], [[42790, 42790], "mapped", [42791]], [[42791, 42791], "valid"], [[42792, 42792], "mapped", [42793]], [[42793, 42793], "valid"], [[42794, 42794], "mapped", [42795]], [[42795, 42795], "valid"], [[42796, 42796], "mapped", [42797]], [[42797, 42797], "valid"], [[42798, 42798], "mapped", [42799]], [[42799, 42801], "valid"], [[42802, 42802], "mapped", [42803]], [[42803, 42803], "valid"], [[42804, 42804], "mapped", [42805]], [[42805, 42805], "valid"], [[42806, 42806], "mapped", [42807]], [[42807, 42807], "valid"], [[42808, 42808], "mapped", [42809]], [[42809, 42809], "valid"], [[42810, 42810], "mapped", [42811]], [[42811, 42811], "valid"], [[42812, 42812], "mapped", [42813]], [[42813, 42813], "valid"], [[42814, 42814], "mapped", [42815]], [[42815, 42815], "valid"], [[42816, 42816], "mapped", [42817]], [[42817, 42817], "valid"], [[42818, 42818], "mapped", [42819]], [[42819, 42819], "valid"], [[42820, 42820], "mapped", [42821]], [[42821, 42821], "valid"], [[42822, 42822], "mapped", [42823]], [[42823, 42823], "valid"], [[42824, 42824], "mapped", [42825]], [[42825, 42825], "valid"], [[42826, 42826], "mapped", [42827]], [[42827, 42827], "valid"], [[42828, 42828], "mapped", [42829]], [[42829, 42829], "valid"], [[42830, 42830], "mapped", [42831]], [[42831, 42831], "valid"], [[42832, 42832], "mapped", [42833]], [[42833, 42833], "valid"], [[42834, 42834], "mapped", [42835]], [[42835, 42835], "valid"], [[42836, 42836], "mapped", [42837]], [[42837, 42837], "valid"], [[42838, 42838], "mapped", [42839]], [[42839, 42839], "valid"], [[42840, 42840], "mapped", [42841]], [[42841, 42841], "valid"], [[42842, 42842], "mapped", [42843]], [[42843, 42843], "valid"], [[42844, 42844], "mapped", [42845]], [[42845, 42845], "valid"], [[42846, 42846], "mapped", [42847]], [[42847, 42847], "valid"], [[42848, 42848], "mapped", [42849]], [[42849, 42849], "valid"], [[42850, 42850], "mapped", [42851]], [[42851, 42851], "valid"], [[42852, 42852], "mapped", [42853]], [[42853, 42853], "valid"], [[42854, 42854], "mapped", [42855]], [[42855, 42855], "valid"], [[42856, 42856], "mapped", [42857]], [[42857, 42857], "valid"], [[42858, 42858], "mapped", [42859]], [[42859, 42859], "valid"], [[42860, 42860], "mapped", [42861]], [[42861, 42861], "valid"], [[42862, 42862], "mapped", [42863]], [[42863, 42863], "valid"], [[42864, 42864], "mapped", [42863]], [[42865, 42872], "valid"], [[42873, 42873], "mapped", [42874]], [[42874, 42874], "valid"], [[42875, 42875], "mapped", [42876]], [[42876, 42876], "valid"], [[42877, 42877], "mapped", [7545]], [[42878, 42878], "mapped", [42879]], [[42879, 42879], "valid"], [[42880, 42880], "mapped", [42881]], [[42881, 42881], "valid"], [[42882, 42882], "mapped", [42883]], [[42883, 42883], "valid"], [[42884, 42884], "mapped", [42885]], [[42885, 42885], "valid"], [[42886, 42886], "mapped", [42887]], [[42887, 42888], "valid"], [[42889, 42890], "valid", [], "NV8"], [[42891, 42891], "mapped", [42892]], [[42892, 42892], "valid"], [[42893, 42893], "mapped", [613]], [[42894, 42894], "valid"], [[42895, 42895], "valid"], [[42896, 42896], "mapped", [42897]], [[42897, 42897], "valid"], [[42898, 42898], "mapped", [42899]], [[42899, 42899], "valid"], [[42900, 42901], "valid"], [[42902, 42902], "mapped", [42903]], [[42903, 42903], "valid"], [[42904, 42904], "mapped", [42905]], [[42905, 42905], "valid"], [[42906, 42906], "mapped", [42907]], [[42907, 42907], "valid"], [[42908, 42908], "mapped", [42909]], [[42909, 42909], "valid"], [[42910, 42910], "mapped", [42911]], [[42911, 42911], "valid"], [[42912, 42912], "mapped", [42913]], [[42913, 42913], "valid"], [[42914, 42914], "mapped", [42915]], [[42915, 42915], "valid"], [[42916, 42916], "mapped", [42917]], [[42917, 42917], "valid"], [[42918, 42918], "mapped", [42919]], [[42919, 42919], "valid"], [[42920, 42920], "mapped", [42921]], [[42921, 42921], "valid"], [[42922, 42922], "mapped", [614]], [[42923, 42923], "mapped", [604]], [[42924, 42924], "mapped", [609]], [[42925, 42925], "mapped", [620]], [[42926, 42927], "disallowed"], [[42928, 42928], "mapped", [670]], [[42929, 42929], "mapped", [647]], [[42930, 42930], "mapped", [669]], [[42931, 42931], "mapped", [43859]], [[42932, 42932], "mapped", [42933]], [[42933, 42933], "valid"], [[42934, 42934], "mapped", [42935]], [[42935, 42935], "valid"], [[42936, 42998], "disallowed"], [[42999, 42999], "valid"], [[43e3, 43e3], "mapped", [295]], [[43001, 43001], "mapped", [339]], [[43002, 43002], "valid"], [[43003, 43007], "valid"], [[43008, 43047], "valid"], [[43048, 43051], "valid", [], "NV8"], [[43052, 43055], "disallowed"], [[43056, 43065], "valid", [], "NV8"], [[43066, 43071], "disallowed"], [[43072, 43123], "valid"], [[43124, 43127], "valid", [], "NV8"], [[43128, 43135], "disallowed"], [[43136, 43204], "valid"], [[43205, 43213], "disallowed"], [[43214, 43215], "valid", [], "NV8"], [[43216, 43225], "valid"], [[43226, 43231], "disallowed"], [[43232, 43255], "valid"], [[43256, 43258], "valid", [], "NV8"], [[43259, 43259], "valid"], [[43260, 43260], "valid", [], "NV8"], [[43261, 43261], "valid"], [[43262, 43263], "disallowed"], [[43264, 43309], "valid"], [[43310, 43311], "valid", [], "NV8"], [[43312, 43347], "valid"], [[43348, 43358], "disallowed"], [[43359, 43359], "valid", [], "NV8"], [[43360, 43388], "valid", [], "NV8"], [[43389, 43391], "disallowed"], [[43392, 43456], "valid"], [[43457, 43469], "valid", [], "NV8"], [[43470, 43470], "disallowed"], [[43471, 43481], "valid"], [[43482, 43485], "disallowed"], [[43486, 43487], "valid", [], "NV8"], [[43488, 43518], "valid"], [[43519, 43519], "disallowed"], [[43520, 43574], "valid"], [[43575, 43583], "disallowed"], [[43584, 43597], "valid"], [[43598, 43599], "disallowed"], [[43600, 43609], "valid"], [[43610, 43611], "disallowed"], [[43612, 43615], "valid", [], "NV8"], [[43616, 43638], "valid"], [[43639, 43641], "valid", [], "NV8"], [[43642, 43643], "valid"], [[43644, 43647], "valid"], [[43648, 43714], "valid"], [[43715, 43738], "disallowed"], [[43739, 43741], "valid"], [[43742, 43743], "valid", [], "NV8"], [[43744, 43759], "valid"], [[43760, 43761], "valid", [], "NV8"], [[43762, 43766], "valid"], [[43767, 43776], "disallowed"], [[43777, 43782], "valid"], [[43783, 43784], "disallowed"], [[43785, 43790], "valid"], [[43791, 43792], "disallowed"], [[43793, 43798], "valid"], [[43799, 43807], "disallowed"], [[43808, 43814], "valid"], [[43815, 43815], "disallowed"], [[43816, 43822], "valid"], [[43823, 43823], "disallowed"], [[43824, 43866], "valid"], [[43867, 43867], "valid", [], "NV8"], [[43868, 43868], "mapped", [42791]], [[43869, 43869], "mapped", [43831]], [[43870, 43870], "mapped", [619]], [[43871, 43871], "mapped", [43858]], [[43872, 43875], "valid"], [[43876, 43877], "valid"], [[43878, 43887], "disallowed"], [[43888, 43888], "mapped", [5024]], [[43889, 43889], "mapped", [5025]], [[43890, 43890], "mapped", [5026]], [[43891, 43891], "mapped", [5027]], [[43892, 43892], "mapped", [5028]], [[43893, 43893], "mapped", [5029]], [[43894, 43894], "mapped", [5030]], [[43895, 43895], "mapped", [5031]], [[43896, 43896], "mapped", [5032]], [[43897, 43897], "mapped", [5033]], [[43898, 43898], "mapped", [5034]], [[43899, 43899], "mapped", [5035]], [[43900, 43900], "mapped", [5036]], [[43901, 43901], "mapped", [5037]], [[43902, 43902], "mapped", [5038]], [[43903, 43903], "mapped", [5039]], [[43904, 43904], "mapped", [5040]], [[43905, 43905], "mapped", [5041]], [[43906, 43906], "mapped", [5042]], [[43907, 43907], "mapped", [5043]], [[43908, 43908], "mapped", [5044]], [[43909, 43909], "mapped", [5045]], [[43910, 43910], "mapped", [5046]], [[43911, 43911], "mapped", [5047]], [[43912, 43912], "mapped", [5048]], [[43913, 43913], "mapped", [5049]], [[43914, 43914], "mapped", [5050]], [[43915, 43915], "mapped", [5051]], [[43916, 43916], "mapped", [5052]], [[43917, 43917], "mapped", [5053]], [[43918, 43918], "mapped", [5054]], [[43919, 43919], "mapped", [5055]], [[43920, 43920], "mapped", [5056]], [[43921, 43921], "mapped", [5057]], [[43922, 43922], "mapped", [5058]], [[43923, 43923], "mapped", [5059]], [[43924, 43924], "mapped", [5060]], [[43925, 43925], "mapped", [5061]], [[43926, 43926], "mapped", [5062]], [[43927, 43927], "mapped", [5063]], [[43928, 43928], "mapped", [5064]], [[43929, 43929], "mapped", [5065]], [[43930, 43930], "mapped", [5066]], [[43931, 43931], "mapped", [5067]], [[43932, 43932], "mapped", [5068]], [[43933, 43933], "mapped", [5069]], [[43934, 43934], "mapped", [5070]], [[43935, 43935], "mapped", [5071]], [[43936, 43936], "mapped", [5072]], [[43937, 43937], "mapped", [5073]], [[43938, 43938], "mapped", [5074]], [[43939, 43939], "mapped", [5075]], [[43940, 43940], "mapped", [5076]], [[43941, 43941], "mapped", [5077]], [[43942, 43942], "mapped", [5078]], [[43943, 43943], "mapped", [5079]], [[43944, 43944], "mapped", [5080]], [[43945, 43945], "mapped", [5081]], [[43946, 43946], "mapped", [5082]], [[43947, 43947], "mapped", [5083]], [[43948, 43948], "mapped", [5084]], [[43949, 43949], "mapped", [5085]], [[43950, 43950], "mapped", [5086]], [[43951, 43951], "mapped", [5087]], [[43952, 43952], "mapped", [5088]], [[43953, 43953], "mapped", [5089]], [[43954, 43954], "mapped", [5090]], [[43955, 43955], "mapped", [5091]], [[43956, 43956], "mapped", [5092]], [[43957, 43957], "mapped", [5093]], [[43958, 43958], "mapped", [5094]], [[43959, 43959], "mapped", [5095]], [[43960, 43960], "mapped", [5096]], [[43961, 43961], "mapped", [5097]], [[43962, 43962], "mapped", [5098]], [[43963, 43963], "mapped", [5099]], [[43964, 43964], "mapped", [5100]], [[43965, 43965], "mapped", [5101]], [[43966, 43966], "mapped", [5102]], [[43967, 43967], "mapped", [5103]], [[43968, 44010], "valid"], [[44011, 44011], "valid", [], "NV8"], [[44012, 44013], "valid"], [[44014, 44015], "disallowed"], [[44016, 44025], "valid"], [[44026, 44031], "disallowed"], [[44032, 55203], "valid"], [[55204, 55215], "disallowed"], [[55216, 55238], "valid", [], "NV8"], [[55239, 55242], "disallowed"], [[55243, 55291], "valid", [], "NV8"], [[55292, 55295], "disallowed"], [[55296, 57343], "disallowed"], [[57344, 63743], "disallowed"], [[63744, 63744], "mapped", [35912]], [[63745, 63745], "mapped", [26356]], [[63746, 63746], "mapped", [36554]], [[63747, 63747], "mapped", [36040]], [[63748, 63748], "mapped", [28369]], [[63749, 63749], "mapped", [20018]], [[63750, 63750], "mapped", [21477]], [[63751, 63752], "mapped", [40860]], [[63753, 63753], "mapped", [22865]], [[63754, 63754], "mapped", [37329]], [[63755, 63755], "mapped", [21895]], [[63756, 63756], "mapped", [22856]], [[63757, 63757], "mapped", [25078]], [[63758, 63758], "mapped", [30313]], [[63759, 63759], "mapped", [32645]], [[63760, 63760], "mapped", [34367]], [[63761, 63761], "mapped", [34746]], [[63762, 63762], "mapped", [35064]], [[63763, 63763], "mapped", [37007]], [[63764, 63764], "mapped", [27138]], [[63765, 63765], "mapped", [27931]], [[63766, 63766], "mapped", [28889]], [[63767, 63767], "mapped", [29662]], [[63768, 63768], "mapped", [33853]], [[63769, 63769], "mapped", [37226]], [[63770, 63770], "mapped", [39409]], [[63771, 63771], "mapped", [20098]], [[63772, 63772], "mapped", [21365]], [[63773, 63773], "mapped", [27396]], [[63774, 63774], "mapped", [29211]], [[63775, 63775], "mapped", [34349]], [[63776, 63776], "mapped", [40478]], [[63777, 63777], "mapped", [23888]], [[63778, 63778], "mapped", [28651]], [[63779, 63779], "mapped", [34253]], [[63780, 63780], "mapped", [35172]], [[63781, 63781], "mapped", [25289]], [[63782, 63782], "mapped", [33240]], [[63783, 63783], "mapped", [34847]], [[63784, 63784], "mapped", [24266]], [[63785, 63785], "mapped", [26391]], [[63786, 63786], "mapped", [28010]], [[63787, 63787], "mapped", [29436]], [[63788, 63788], "mapped", [37070]], [[63789, 63789], "mapped", [20358]], [[63790, 63790], "mapped", [20919]], [[63791, 63791], "mapped", [21214]], [[63792, 63792], "mapped", [25796]], [[63793, 63793], "mapped", [27347]], [[63794, 63794], "mapped", [29200]], [[63795, 63795], "mapped", [30439]], [[63796, 63796], "mapped", [32769]], [[63797, 63797], "mapped", [34310]], [[63798, 63798], "mapped", [34396]], [[63799, 63799], "mapped", [36335]], [[63800, 63800], "mapped", [38706]], [[63801, 63801], "mapped", [39791]], [[63802, 63802], "mapped", [40442]], [[63803, 63803], "mapped", [30860]], [[63804, 63804], "mapped", [31103]], [[63805, 63805], "mapped", [32160]], [[63806, 63806], "mapped", [33737]], [[63807, 63807], "mapped", [37636]], [[63808, 63808], "mapped", [40575]], [[63809, 63809], "mapped", [35542]], [[63810, 63810], "mapped", [22751]], [[63811, 63811], "mapped", [24324]], [[63812, 63812], "mapped", [31840]], [[63813, 63813], "mapped", [32894]], [[63814, 63814], "mapped", [29282]], [[63815, 63815], "mapped", [30922]], [[63816, 63816], "mapped", [36034]], [[63817, 63817], "mapped", [38647]], [[63818, 63818], "mapped", [22744]], [[63819, 63819], "mapped", [23650]], [[63820, 63820], "mapped", [27155]], [[63821, 63821], "mapped", [28122]], [[63822, 63822], "mapped", [28431]], [[63823, 63823], "mapped", [32047]], [[63824, 63824], "mapped", [32311]], [[63825, 63825], "mapped", [38475]], [[63826, 63826], "mapped", [21202]], [[63827, 63827], "mapped", [32907]], [[63828, 63828], "mapped", [20956]], [[63829, 63829], "mapped", [20940]], [[63830, 63830], "mapped", [31260]], [[63831, 63831], "mapped", [32190]], [[63832, 63832], "mapped", [33777]], [[63833, 63833], "mapped", [38517]], [[63834, 63834], "mapped", [35712]], [[63835, 63835], "mapped", [25295]], [[63836, 63836], "mapped", [27138]], [[63837, 63837], "mapped", [35582]], [[63838, 63838], "mapped", [20025]], [[63839, 63839], "mapped", [23527]], [[63840, 63840], "mapped", [24594]], [[63841, 63841], "mapped", [29575]], [[63842, 63842], "mapped", [30064]], [[63843, 63843], "mapped", [21271]], [[63844, 63844], "mapped", [30971]], [[63845, 63845], "mapped", [20415]], [[63846, 63846], "mapped", [24489]], [[63847, 63847], "mapped", [19981]], [[63848, 63848], "mapped", [27852]], [[63849, 63849], "mapped", [25976]], [[63850, 63850], "mapped", [32034]], [[63851, 63851], "mapped", [21443]], [[63852, 63852], "mapped", [22622]], [[63853, 63853], "mapped", [30465]], [[63854, 63854], "mapped", [33865]], [[63855, 63855], "mapped", [35498]], [[63856, 63856], "mapped", [27578]], [[63857, 63857], "mapped", [36784]], [[63858, 63858], "mapped", [27784]], [[63859, 63859], "mapped", [25342]], [[63860, 63860], "mapped", [33509]], [[63861, 63861], "mapped", [25504]], [[63862, 63862], "mapped", [30053]], [[63863, 63863], "mapped", [20142]], [[63864, 63864], "mapped", [20841]], [[63865, 63865], "mapped", [20937]], [[63866, 63866], "mapped", [26753]], [[63867, 63867], "mapped", [31975]], [[63868, 63868], "mapped", [33391]], [[63869, 63869], "mapped", [35538]], [[63870, 63870], "mapped", [37327]], [[63871, 63871], "mapped", [21237]], [[63872, 63872], "mapped", [21570]], [[63873, 63873], "mapped", [22899]], [[63874, 63874], "mapped", [24300]], [[63875, 63875], "mapped", [26053]], [[63876, 63876], "mapped", [28670]], [[63877, 63877], "mapped", [31018]], [[63878, 63878], "mapped", [38317]], [[63879, 63879], "mapped", [39530]], [[63880, 63880], "mapped", [40599]], [[63881, 63881], "mapped", [40654]], [[63882, 63882], "mapped", [21147]], [[63883, 63883], "mapped", [26310]], [[63884, 63884], "mapped", [27511]], [[63885, 63885], "mapped", [36706]], [[63886, 63886], "mapped", [24180]], [[63887, 63887], "mapped", [24976]], [[63888, 63888], "mapped", [25088]], [[63889, 63889], "mapped", [25754]], [[63890, 63890], "mapped", [28451]], [[63891, 63891], "mapped", [29001]], [[63892, 63892], "mapped", [29833]], [[63893, 63893], "mapped", [31178]], [[63894, 63894], "mapped", [32244]], [[63895, 63895], "mapped", [32879]], [[63896, 63896], "mapped", [36646]], [[63897, 63897], "mapped", [34030]], [[63898, 63898], "mapped", [36899]], [[63899, 63899], "mapped", [37706]], [[63900, 63900], "mapped", [21015]], [[63901, 63901], "mapped", [21155]], [[63902, 63902], "mapped", [21693]], [[63903, 63903], "mapped", [28872]], [[63904, 63904], "mapped", [35010]], [[63905, 63905], "mapped", [35498]], [[63906, 63906], "mapped", [24265]], [[63907, 63907], "mapped", [24565]], [[63908, 63908], "mapped", [25467]], [[63909, 63909], "mapped", [27566]], [[63910, 63910], "mapped", [31806]], [[63911, 63911], "mapped", [29557]], [[63912, 63912], "mapped", [20196]], [[63913, 63913], "mapped", [22265]], [[63914, 63914], "mapped", [23527]], [[63915, 63915], "mapped", [23994]], [[63916, 63916], "mapped", [24604]], [[63917, 63917], "mapped", [29618]], [[63918, 63918], "mapped", [29801]], [[63919, 63919], "mapped", [32666]], [[63920, 63920], "mapped", [32838]], [[63921, 63921], "mapped", [37428]], [[63922, 63922], "mapped", [38646]], [[63923, 63923], "mapped", [38728]], [[63924, 63924], "mapped", [38936]], [[63925, 63925], "mapped", [20363]], [[63926, 63926], "mapped", [31150]], [[63927, 63927], "mapped", [37300]], [[63928, 63928], "mapped", [38584]], [[63929, 63929], "mapped", [24801]], [[63930, 63930], "mapped", [20102]], [[63931, 63931], "mapped", [20698]], [[63932, 63932], "mapped", [23534]], [[63933, 63933], "mapped", [23615]], [[63934, 63934], "mapped", [26009]], [[63935, 63935], "mapped", [27138]], [[63936, 63936], "mapped", [29134]], [[63937, 63937], "mapped", [30274]], [[63938, 63938], "mapped", [34044]], [[63939, 63939], "mapped", [36988]], [[63940, 63940], "mapped", [40845]], [[63941, 63941], "mapped", [26248]], [[63942, 63942], "mapped", [38446]], [[63943, 63943], "mapped", [21129]], [[63944, 63944], "mapped", [26491]], [[63945, 63945], "mapped", [26611]], [[63946, 63946], "mapped", [27969]], [[63947, 63947], "mapped", [28316]], [[63948, 63948], "mapped", [29705]], [[63949, 63949], "mapped", [30041]], [[63950, 63950], "mapped", [30827]], [[63951, 63951], "mapped", [32016]], [[63952, 63952], "mapped", [39006]], [[63953, 63953], "mapped", [20845]], [[63954, 63954], "mapped", [25134]], [[63955, 63955], "mapped", [38520]], [[63956, 63956], "mapped", [20523]], [[63957, 63957], "mapped", [23833]], [[63958, 63958], "mapped", [28138]], [[63959, 63959], "mapped", [36650]], [[63960, 63960], "mapped", [24459]], [[63961, 63961], "mapped", [24900]], [[63962, 63962], "mapped", [26647]], [[63963, 63963], "mapped", [29575]], [[63964, 63964], "mapped", [38534]], [[63965, 63965], "mapped", [21033]], [[63966, 63966], "mapped", [21519]], [[63967, 63967], "mapped", [23653]], [[63968, 63968], "mapped", [26131]], [[63969, 63969], "mapped", [26446]], [[63970, 63970], "mapped", [26792]], [[63971, 63971], "mapped", [27877]], [[63972, 63972], "mapped", [29702]], [[63973, 63973], "mapped", [30178]], [[63974, 63974], "mapped", [32633]], [[63975, 63975], "mapped", [35023]], [[63976, 63976], "mapped", [35041]], [[63977, 63977], "mapped", [37324]], [[63978, 63978], "mapped", [38626]], [[63979, 63979], "mapped", [21311]], [[63980, 63980], "mapped", [28346]], [[63981, 63981], "mapped", [21533]], [[63982, 63982], "mapped", [29136]], [[63983, 63983], "mapped", [29848]], [[63984, 63984], "mapped", [34298]], [[63985, 63985], "mapped", [38563]], [[63986, 63986], "mapped", [40023]], [[63987, 63987], "mapped", [40607]], [[63988, 63988], "mapped", [26519]], [[63989, 63989], "mapped", [28107]], [[63990, 63990], "mapped", [33256]], [[63991, 63991], "mapped", [31435]], [[63992, 63992], "mapped", [31520]], [[63993, 63993], "mapped", [31890]], [[63994, 63994], "mapped", [29376]], [[63995, 63995], "mapped", [28825]], [[63996, 63996], "mapped", [35672]], [[63997, 63997], "mapped", [20160]], [[63998, 63998], "mapped", [33590]], [[63999, 63999], "mapped", [21050]], [[64e3, 64e3], "mapped", [20999]], [[64001, 64001], "mapped", [24230]], [[64002, 64002], "mapped", [25299]], [[64003, 64003], "mapped", [31958]], [[64004, 64004], "mapped", [23429]], [[64005, 64005], "mapped", [27934]], [[64006, 64006], "mapped", [26292]], [[64007, 64007], "mapped", [36667]], [[64008, 64008], "mapped", [34892]], [[64009, 64009], "mapped", [38477]], [[64010, 64010], "mapped", [35211]], [[64011, 64011], "mapped", [24275]], [[64012, 64012], "mapped", [20800]], [[64013, 64013], "mapped", [21952]], [[64014, 64015], "valid"], [[64016, 64016], "mapped", [22618]], [[64017, 64017], "valid"], [[64018, 64018], "mapped", [26228]], [[64019, 64020], "valid"], [[64021, 64021], "mapped", [20958]], [[64022, 64022], "mapped", [29482]], [[64023, 64023], "mapped", [30410]], [[64024, 64024], "mapped", [31036]], [[64025, 64025], "mapped", [31070]], [[64026, 64026], "mapped", [31077]], [[64027, 64027], "mapped", [31119]], [[64028, 64028], "mapped", [38742]], [[64029, 64029], "mapped", [31934]], [[64030, 64030], "mapped", [32701]], [[64031, 64031], "valid"], [[64032, 64032], "mapped", [34322]], [[64033, 64033], "valid"], [[64034, 64034], "mapped", [35576]], [[64035, 64036], "valid"], [[64037, 64037], "mapped", [36920]], [[64038, 64038], "mapped", [37117]], [[64039, 64041], "valid"], [[64042, 64042], "mapped", [39151]], [[64043, 64043], "mapped", [39164]], [[64044, 64044], "mapped", [39208]], [[64045, 64045], "mapped", [40372]], [[64046, 64046], "mapped", [37086]], [[64047, 64047], "mapped", [38583]], [[64048, 64048], "mapped", [20398]], [[64049, 64049], "mapped", [20711]], [[64050, 64050], "mapped", [20813]], [[64051, 64051], "mapped", [21193]], [[64052, 64052], "mapped", [21220]], [[64053, 64053], "mapped", [21329]], [[64054, 64054], "mapped", [21917]], [[64055, 64055], "mapped", [22022]], [[64056, 64056], "mapped", [22120]], [[64057, 64057], "mapped", [22592]], [[64058, 64058], "mapped", [22696]], [[64059, 64059], "mapped", [23652]], [[64060, 64060], "mapped", [23662]], [[64061, 64061], "mapped", [24724]], [[64062, 64062], "mapped", [24936]], [[64063, 64063], "mapped", [24974]], [[64064, 64064], "mapped", [25074]], [[64065, 64065], "mapped", [25935]], [[64066, 64066], "mapped", [26082]], [[64067, 64067], "mapped", [26257]], [[64068, 64068], "mapped", [26757]], [[64069, 64069], "mapped", [28023]], [[64070, 64070], "mapped", [28186]], [[64071, 64071], "mapped", [28450]], [[64072, 64072], "mapped", [29038]], [[64073, 64073], "mapped", [29227]], [[64074, 64074], "mapped", [29730]], [[64075, 64075], "mapped", [30865]], [[64076, 64076], "mapped", [31038]], [[64077, 64077], "mapped", [31049]], [[64078, 64078], "mapped", [31048]], [[64079, 64079], "mapped", [31056]], [[64080, 64080], "mapped", [31062]], [[64081, 64081], "mapped", [31069]], [[64082, 64082], "mapped", [31117]], [[64083, 64083], "mapped", [31118]], [[64084, 64084], "mapped", [31296]], [[64085, 64085], "mapped", [31361]], [[64086, 64086], "mapped", [31680]], [[64087, 64087], "mapped", [32244]], [[64088, 64088], "mapped", [32265]], [[64089, 64089], "mapped", [32321]], [[64090, 64090], "mapped", [32626]], [[64091, 64091], "mapped", [32773]], [[64092, 64092], "mapped", [33261]], [[64093, 64094], "mapped", [33401]], [[64095, 64095], "mapped", [33879]], [[64096, 64096], "mapped", [35088]], [[64097, 64097], "mapped", [35222]], [[64098, 64098], "mapped", [35585]], [[64099, 64099], "mapped", [35641]], [[64100, 64100], "mapped", [36051]], [[64101, 64101], "mapped", [36104]], [[64102, 64102], "mapped", [36790]], [[64103, 64103], "mapped", [36920]], [[64104, 64104], "mapped", [38627]], [[64105, 64105], "mapped", [38911]], [[64106, 64106], "mapped", [38971]], [[64107, 64107], "mapped", [24693]], [[64108, 64108], "mapped", [148206]], [[64109, 64109], "mapped", [33304]], [[64110, 64111], "disallowed"], [[64112, 64112], "mapped", [20006]], [[64113, 64113], "mapped", [20917]], [[64114, 64114], "mapped", [20840]], [[64115, 64115], "mapped", [20352]], [[64116, 64116], "mapped", [20805]], [[64117, 64117], "mapped", [20864]], [[64118, 64118], "mapped", [21191]], [[64119, 64119], "mapped", [21242]], [[64120, 64120], "mapped", [21917]], [[64121, 64121], "mapped", [21845]], [[64122, 64122], "mapped", [21913]], [[64123, 64123], "mapped", [21986]], [[64124, 64124], "mapped", [22618]], [[64125, 64125], "mapped", [22707]], [[64126, 64126], "mapped", [22852]], [[64127, 64127], "mapped", [22868]], [[64128, 64128], "mapped", [23138]], [[64129, 64129], "mapped", [23336]], [[64130, 64130], "mapped", [24274]], [[64131, 64131], "mapped", [24281]], [[64132, 64132], "mapped", [24425]], [[64133, 64133], "mapped", [24493]], [[64134, 64134], "mapped", [24792]], [[64135, 64135], "mapped", [24910]], [[64136, 64136], "mapped", [24840]], [[64137, 64137], "mapped", [24974]], [[64138, 64138], "mapped", [24928]], [[64139, 64139], "mapped", [25074]], [[64140, 64140], "mapped", [25140]], [[64141, 64141], "mapped", [25540]], [[64142, 64142], "mapped", [25628]], [[64143, 64143], "mapped", [25682]], [[64144, 64144], "mapped", [25942]], [[64145, 64145], "mapped", [26228]], [[64146, 64146], "mapped", [26391]], [[64147, 64147], "mapped", [26395]], [[64148, 64148], "mapped", [26454]], [[64149, 64149], "mapped", [27513]], [[64150, 64150], "mapped", [27578]], [[64151, 64151], "mapped", [27969]], [[64152, 64152], "mapped", [28379]], [[64153, 64153], "mapped", [28363]], [[64154, 64154], "mapped", [28450]], [[64155, 64155], "mapped", [28702]], [[64156, 64156], "mapped", [29038]], [[64157, 64157], "mapped", [30631]], [[64158, 64158], "mapped", [29237]], [[64159, 64159], "mapped", [29359]], [[64160, 64160], "mapped", [29482]], [[64161, 64161], "mapped", [29809]], [[64162, 64162], "mapped", [29958]], [[64163, 64163], "mapped", [30011]], [[64164, 64164], "mapped", [30237]], [[64165, 64165], "mapped", [30239]], [[64166, 64166], "mapped", [30410]], [[64167, 64167], "mapped", [30427]], [[64168, 64168], "mapped", [30452]], [[64169, 64169], "mapped", [30538]], [[64170, 64170], "mapped", [30528]], [[64171, 64171], "mapped", [30924]], [[64172, 64172], "mapped", [31409]], [[64173, 64173], "mapped", [31680]], [[64174, 64174], "mapped", [31867]], [[64175, 64175], "mapped", [32091]], [[64176, 64176], "mapped", [32244]], [[64177, 64177], "mapped", [32574]], [[64178, 64178], "mapped", [32773]], [[64179, 64179], "mapped", [33618]], [[64180, 64180], "mapped", [33775]], [[64181, 64181], "mapped", [34681]], [[64182, 64182], "mapped", [35137]], [[64183, 64183], "mapped", [35206]], [[64184, 64184], "mapped", [35222]], [[64185, 64185], "mapped", [35519]], [[64186, 64186], "mapped", [35576]], [[64187, 64187], "mapped", [35531]], [[64188, 64188], "mapped", [35585]], [[64189, 64189], "mapped", [35582]], [[64190, 64190], "mapped", [35565]], [[64191, 64191], "mapped", [35641]], [[64192, 64192], "mapped", [35722]], [[64193, 64193], "mapped", [36104]], [[64194, 64194], "mapped", [36664]], [[64195, 64195], "mapped", [36978]], [[64196, 64196], "mapped", [37273]], [[64197, 64197], "mapped", [37494]], [[64198, 64198], "mapped", [38524]], [[64199, 64199], "mapped", [38627]], [[64200, 64200], "mapped", [38742]], [[64201, 64201], "mapped", [38875]], [[64202, 64202], "mapped", [38911]], [[64203, 64203], "mapped", [38923]], [[64204, 64204], "mapped", [38971]], [[64205, 64205], "mapped", [39698]], [[64206, 64206], "mapped", [40860]], [[64207, 64207], "mapped", [141386]], [[64208, 64208], "mapped", [141380]], [[64209, 64209], "mapped", [144341]], [[64210, 64210], "mapped", [15261]], [[64211, 64211], "mapped", [16408]], [[64212, 64212], "mapped", [16441]], [[64213, 64213], "mapped", [152137]], [[64214, 64214], "mapped", [154832]], [[64215, 64215], "mapped", [163539]], [[64216, 64216], "mapped", [40771]], [[64217, 64217], "mapped", [40846]], [[64218, 64255], "disallowed"], [[64256, 64256], "mapped", [102, 102]], [[64257, 64257], "mapped", [102, 105]], [[64258, 64258], "mapped", [102, 108]], [[64259, 64259], "mapped", [102, 102, 105]], [[64260, 64260], "mapped", [102, 102, 108]], [[64261, 64262], "mapped", [115, 116]], [[64263, 64274], "disallowed"], [[64275, 64275], "mapped", [1396, 1398]], [[64276, 64276], "mapped", [1396, 1381]], [[64277, 64277], "mapped", [1396, 1387]], [[64278, 64278], "mapped", [1406, 1398]], [[64279, 64279], "mapped", [1396, 1389]], [[64280, 64284], "disallowed"], [[64285, 64285], "mapped", [1497, 1460]], [[64286, 64286], "valid"], [[64287, 64287], "mapped", [1522, 1463]], [[64288, 64288], "mapped", [1506]], [[64289, 64289], "mapped", [1488]], [[64290, 64290], "mapped", [1491]], [[64291, 64291], "mapped", [1492]], [[64292, 64292], "mapped", [1499]], [[64293, 64293], "mapped", [1500]], [[64294, 64294], "mapped", [1501]], [[64295, 64295], "mapped", [1512]], [[64296, 64296], "mapped", [1514]], [[64297, 64297], "disallowed_STD3_mapped", [43]], [[64298, 64298], "mapped", [1513, 1473]], [[64299, 64299], "mapped", [1513, 1474]], [[64300, 64300], "mapped", [1513, 1468, 1473]], [[64301, 64301], "mapped", [1513, 1468, 1474]], [[64302, 64302], "mapped", [1488, 1463]], [[64303, 64303], "mapped", [1488, 1464]], [[64304, 64304], "mapped", [1488, 1468]], [[64305, 64305], "mapped", [1489, 1468]], [[64306, 64306], "mapped", [1490, 1468]], [[64307, 64307], "mapped", [1491, 1468]], [[64308, 64308], "mapped", [1492, 1468]], [[64309, 64309], "mapped", [1493, 1468]], [[64310, 64310], "mapped", [1494, 1468]], [[64311, 64311], "disallowed"], [[64312, 64312], "mapped", [1496, 1468]], [[64313, 64313], "mapped", [1497, 1468]], [[64314, 64314], "mapped", [1498, 1468]], [[64315, 64315], "mapped", [1499, 1468]], [[64316, 64316], "mapped", [1500, 1468]], [[64317, 64317], "disallowed"], [[64318, 64318], "mapped", [1502, 1468]], [[64319, 64319], "disallowed"], [[64320, 64320], "mapped", [1504, 1468]], [[64321, 64321], "mapped", [1505, 1468]], [[64322, 64322], "disallowed"], [[64323, 64323], "mapped", [1507, 1468]], [[64324, 64324], "mapped", [1508, 1468]], [[64325, 64325], "disallowed"], [[64326, 64326], "mapped", [1510, 1468]], [[64327, 64327], "mapped", [1511, 1468]], [[64328, 64328], "mapped", [1512, 1468]], [[64329, 64329], "mapped", [1513, 1468]], [[64330, 64330], "mapped", [1514, 1468]], [[64331, 64331], "mapped", [1493, 1465]], [[64332, 64332], "mapped", [1489, 1471]], [[64333, 64333], "mapped", [1499, 1471]], [[64334, 64334], "mapped", [1508, 1471]], [[64335, 64335], "mapped", [1488, 1500]], [[64336, 64337], "mapped", [1649]], [[64338, 64341], "mapped", [1659]], [[64342, 64345], "mapped", [1662]], [[64346, 64349], "mapped", [1664]], [[64350, 64353], "mapped", [1658]], [[64354, 64357], "mapped", [1663]], [[64358, 64361], "mapped", [1657]], [[64362, 64365], "mapped", [1700]], [[64366, 64369], "mapped", [1702]], [[64370, 64373], "mapped", [1668]], [[64374, 64377], "mapped", [1667]], [[64378, 64381], "mapped", [1670]], [[64382, 64385], "mapped", [1671]], [[64386, 64387], "mapped", [1677]], [[64388, 64389], "mapped", [1676]], [[64390, 64391], "mapped", [1678]], [[64392, 64393], "mapped", [1672]], [[64394, 64395], "mapped", [1688]], [[64396, 64397], "mapped", [1681]], [[64398, 64401], "mapped", [1705]], [[64402, 64405], "mapped", [1711]], [[64406, 64409], "mapped", [1715]], [[64410, 64413], "mapped", [1713]], [[64414, 64415], "mapped", [1722]], [[64416, 64419], "mapped", [1723]], [[64420, 64421], "mapped", [1728]], [[64422, 64425], "mapped", [1729]], [[64426, 64429], "mapped", [1726]], [[64430, 64431], "mapped", [1746]], [[64432, 64433], "mapped", [1747]], [[64434, 64449], "valid", [], "NV8"], [[64450, 64466], "disallowed"], [[64467, 64470], "mapped", [1709]], [[64471, 64472], "mapped", [1735]], [[64473, 64474], "mapped", [1734]], [[64475, 64476], "mapped", [1736]], [[64477, 64477], "mapped", [1735, 1652]], [[64478, 64479], "mapped", [1739]], [[64480, 64481], "mapped", [1733]], [[64482, 64483], "mapped", [1737]], [[64484, 64487], "mapped", [1744]], [[64488, 64489], "mapped", [1609]], [[64490, 64491], "mapped", [1574, 1575]], [[64492, 64493], "mapped", [1574, 1749]], [[64494, 64495], "mapped", [1574, 1608]], [[64496, 64497], "mapped", [1574, 1735]], [[64498, 64499], "mapped", [1574, 1734]], [[64500, 64501], "mapped", [1574, 1736]], [[64502, 64504], "mapped", [1574, 1744]], [[64505, 64507], "mapped", [1574, 1609]], [[64508, 64511], "mapped", [1740]], [[64512, 64512], "mapped", [1574, 1580]], [[64513, 64513], "mapped", [1574, 1581]], [[64514, 64514], "mapped", [1574, 1605]], [[64515, 64515], "mapped", [1574, 1609]], [[64516, 64516], "mapped", [1574, 1610]], [[64517, 64517], "mapped", [1576, 1580]], [[64518, 64518], "mapped", [1576, 1581]], [[64519, 64519], "mapped", [1576, 1582]], [[64520, 64520], "mapped", [1576, 1605]], [[64521, 64521], "mapped", [1576, 1609]], [[64522, 64522], "mapped", [1576, 1610]], [[64523, 64523], "mapped", [1578, 1580]], [[64524, 64524], "mapped", [1578, 1581]], [[64525, 64525], "mapped", [1578, 1582]], [[64526, 64526], "mapped", [1578, 1605]], [[64527, 64527], "mapped", [1578, 1609]], [[64528, 64528], "mapped", [1578, 1610]], [[64529, 64529], "mapped", [1579, 1580]], [[64530, 64530], "mapped", [1579, 1605]], [[64531, 64531], "mapped", [1579, 1609]], [[64532, 64532], "mapped", [1579, 1610]], [[64533, 64533], "mapped", [1580, 1581]], [[64534, 64534], "mapped", [1580, 1605]], [[64535, 64535], "mapped", [1581, 1580]], [[64536, 64536], "mapped", [1581, 1605]], [[64537, 64537], "mapped", [1582, 1580]], [[64538, 64538], "mapped", [1582, 1581]], [[64539, 64539], "mapped", [1582, 1605]], [[64540, 64540], "mapped", [1587, 1580]], [[64541, 64541], "mapped", [1587, 1581]], [[64542, 64542], "mapped", [1587, 1582]], [[64543, 64543], "mapped", [1587, 1605]], [[64544, 64544], "mapped", [1589, 1581]], [[64545, 64545], "mapped", [1589, 1605]], [[64546, 64546], "mapped", [1590, 1580]], [[64547, 64547], "mapped", [1590, 1581]], [[64548, 64548], "mapped", [1590, 1582]], [[64549, 64549], "mapped", [1590, 1605]], [[64550, 64550], "mapped", [1591, 1581]], [[64551, 64551], "mapped", [1591, 1605]], [[64552, 64552], "mapped", [1592, 1605]], [[64553, 64553], "mapped", [1593, 1580]], [[64554, 64554], "mapped", [1593, 1605]], [[64555, 64555], "mapped", [1594, 1580]], [[64556, 64556], "mapped", [1594, 1605]], [[64557, 64557], "mapped", [1601, 1580]], [[64558, 64558], "mapped", [1601, 1581]], [[64559, 64559], "mapped", [1601, 1582]], [[64560, 64560], "mapped", [1601, 1605]], [[64561, 64561], "mapped", [1601, 1609]], [[64562, 64562], "mapped", [1601, 1610]], [[64563, 64563], "mapped", [1602, 1581]], [[64564, 64564], "mapped", [1602, 1605]], [[64565, 64565], "mapped", [1602, 1609]], [[64566, 64566], "mapped", [1602, 1610]], [[64567, 64567], "mapped", [1603, 1575]], [[64568, 64568], "mapped", [1603, 1580]], [[64569, 64569], "mapped", [1603, 1581]], [[64570, 64570], "mapped", [1603, 1582]], [[64571, 64571], "mapped", [1603, 1604]], [[64572, 64572], "mapped", [1603, 1605]], [[64573, 64573], "mapped", [1603, 1609]], [[64574, 64574], "mapped", [1603, 1610]], [[64575, 64575], "mapped", [1604, 1580]], [[64576, 64576], "mapped", [1604, 1581]], [[64577, 64577], "mapped", [1604, 1582]], [[64578, 64578], "mapped", [1604, 1605]], [[64579, 64579], "mapped", [1604, 1609]], [[64580, 64580], "mapped", [1604, 1610]], [[64581, 64581], "mapped", [1605, 1580]], [[64582, 64582], "mapped", [1605, 1581]], [[64583, 64583], "mapped", [1605, 1582]], [[64584, 64584], "mapped", [1605, 1605]], [[64585, 64585], "mapped", [1605, 1609]], [[64586, 64586], "mapped", [1605, 1610]], [[64587, 64587], "mapped", [1606, 1580]], [[64588, 64588], "mapped", [1606, 1581]], [[64589, 64589], "mapped", [1606, 1582]], [[64590, 64590], "mapped", [1606, 1605]], [[64591, 64591], "mapped", [1606, 1609]], [[64592, 64592], "mapped", [1606, 1610]], [[64593, 64593], "mapped", [1607, 1580]], [[64594, 64594], "mapped", [1607, 1605]], [[64595, 64595], "mapped", [1607, 1609]], [[64596, 64596], "mapped", [1607, 1610]], [[64597, 64597], "mapped", [1610, 1580]], [[64598, 64598], "mapped", [1610, 1581]], [[64599, 64599], "mapped", [1610, 1582]], [[64600, 64600], "mapped", [1610, 1605]], [[64601, 64601], "mapped", [1610, 1609]], [[64602, 64602], "mapped", [1610, 1610]], [[64603, 64603], "mapped", [1584, 1648]], [[64604, 64604], "mapped", [1585, 1648]], [[64605, 64605], "mapped", [1609, 1648]], [[64606, 64606], "disallowed_STD3_mapped", [32, 1612, 1617]], [[64607, 64607], "disallowed_STD3_mapped", [32, 1613, 1617]], [[64608, 64608], "disallowed_STD3_mapped", [32, 1614, 1617]], [[64609, 64609], "disallowed_STD3_mapped", [32, 1615, 1617]], [[64610, 64610], "disallowed_STD3_mapped", [32, 1616, 1617]], [[64611, 64611], "disallowed_STD3_mapped", [32, 1617, 1648]], [[64612, 64612], "mapped", [1574, 1585]], [[64613, 64613], "mapped", [1574, 1586]], [[64614, 64614], "mapped", [1574, 1605]], [[64615, 64615], "mapped", [1574, 1606]], [[64616, 64616], "mapped", [1574, 1609]], [[64617, 64617], "mapped", [1574, 1610]], [[64618, 64618], "mapped", [1576, 1585]], [[64619, 64619], "mapped", [1576, 1586]], [[64620, 64620], "mapped", [1576, 1605]], [[64621, 64621], "mapped", [1576, 1606]], [[64622, 64622], "mapped", [1576, 1609]], [[64623, 64623], "mapped", [1576, 1610]], [[64624, 64624], "mapped", [1578, 1585]], [[64625, 64625], "mapped", [1578, 1586]], [[64626, 64626], "mapped", [1578, 1605]], [[64627, 64627], "mapped", [1578, 1606]], [[64628, 64628], "mapped", [1578, 1609]], [[64629, 64629], "mapped", [1578, 1610]], [[64630, 64630], "mapped", [1579, 1585]], [[64631, 64631], "mapped", [1579, 1586]], [[64632, 64632], "mapped", [1579, 1605]], [[64633, 64633], "mapped", [1579, 1606]], [[64634, 64634], "mapped", [1579, 1609]], [[64635, 64635], "mapped", [1579, 1610]], [[64636, 64636], "mapped", [1601, 1609]], [[64637, 64637], "mapped", [1601, 1610]], [[64638, 64638], "mapped", [1602, 1609]], [[64639, 64639], "mapped", [1602, 1610]], [[64640, 64640], "mapped", [1603, 1575]], [[64641, 64641], "mapped", [1603, 1604]], [[64642, 64642], "mapped", [1603, 1605]], [[64643, 64643], "mapped", [1603, 1609]], [[64644, 64644], "mapped", [1603, 1610]], [[64645, 64645], "mapped", [1604, 1605]], [[64646, 64646], "mapped", [1604, 1609]], [[64647, 64647], "mapped", [1604, 1610]], [[64648, 64648], "mapped", [1605, 1575]], [[64649, 64649], "mapped", [1605, 1605]], [[64650, 64650], "mapped", [1606, 1585]], [[64651, 64651], "mapped", [1606, 1586]], [[64652, 64652], "mapped", [1606, 1605]], [[64653, 64653], "mapped", [1606, 1606]], [[64654, 64654], "mapped", [1606, 1609]], [[64655, 64655], "mapped", [1606, 1610]], [[64656, 64656], "mapped", [1609, 1648]], [[64657, 64657], "mapped", [1610, 1585]], [[64658, 64658], "mapped", [1610, 1586]], [[64659, 64659], "mapped", [1610, 1605]], [[64660, 64660], "mapped", [1610, 1606]], [[64661, 64661], "mapped", [1610, 1609]], [[64662, 64662], "mapped", [1610, 1610]], [[64663, 64663], "mapped", [1574, 1580]], [[64664, 64664], "mapped", [1574, 1581]], [[64665, 64665], "mapped", [1574, 1582]], [[64666, 64666], "mapped", [1574, 1605]], [[64667, 64667], "mapped", [1574, 1607]], [[64668, 64668], "mapped", [1576, 1580]], [[64669, 64669], "mapped", [1576, 1581]], [[64670, 64670], "mapped", [1576, 1582]], [[64671, 64671], "mapped", [1576, 1605]], [[64672, 64672], "mapped", [1576, 1607]], [[64673, 64673], "mapped", [1578, 1580]], [[64674, 64674], "mapped", [1578, 1581]], [[64675, 64675], "mapped", [1578, 1582]], [[64676, 64676], "mapped", [1578, 1605]], [[64677, 64677], "mapped", [1578, 1607]], [[64678, 64678], "mapped", [1579, 1605]], [[64679, 64679], "mapped", [1580, 1581]], [[64680, 64680], "mapped", [1580, 1605]], [[64681, 64681], "mapped", [1581, 1580]], [[64682, 64682], "mapped", [1581, 1605]], [[64683, 64683], "mapped", [1582, 1580]], [[64684, 64684], "mapped", [1582, 1605]], [[64685, 64685], "mapped", [1587, 1580]], [[64686, 64686], "mapped", [1587, 1581]], [[64687, 64687], "mapped", [1587, 1582]], [[64688, 64688], "mapped", [1587, 1605]], [[64689, 64689], "mapped", [1589, 1581]], [[64690, 64690], "mapped", [1589, 1582]], [[64691, 64691], "mapped", [1589, 1605]], [[64692, 64692], "mapped", [1590, 1580]], [[64693, 64693], "mapped", [1590, 1581]], [[64694, 64694], "mapped", [1590, 1582]], [[64695, 64695], "mapped", [1590, 1605]], [[64696, 64696], "mapped", [1591, 1581]], [[64697, 64697], "mapped", [1592, 1605]], [[64698, 64698], "mapped", [1593, 1580]], [[64699, 64699], "mapped", [1593, 1605]], [[64700, 64700], "mapped", [1594, 1580]], [[64701, 64701], "mapped", [1594, 1605]], [[64702, 64702], "mapped", [1601, 1580]], [[64703, 64703], "mapped", [1601, 1581]], [[64704, 64704], "mapped", [1601, 1582]], [[64705, 64705], "mapped", [1601, 1605]], [[64706, 64706], "mapped", [1602, 1581]], [[64707, 64707], "mapped", [1602, 1605]], [[64708, 64708], "mapped", [1603, 1580]], [[64709, 64709], "mapped", [1603, 1581]], [[64710, 64710], "mapped", [1603, 1582]], [[64711, 64711], "mapped", [1603, 1604]], [[64712, 64712], "mapped", [1603, 1605]], [[64713, 64713], "mapped", [1604, 1580]], [[64714, 64714], "mapped", [1604, 1581]], [[64715, 64715], "mapped", [1604, 1582]], [[64716, 64716], "mapped", [1604, 1605]], [[64717, 64717], "mapped", [1604, 1607]], [[64718, 64718], "mapped", [1605, 1580]], [[64719, 64719], "mapped", [1605, 1581]], [[64720, 64720], "mapped", [1605, 1582]], [[64721, 64721], "mapped", [1605, 1605]], [[64722, 64722], "mapped", [1606, 1580]], [[64723, 64723], "mapped", [1606, 1581]], [[64724, 64724], "mapped", [1606, 1582]], [[64725, 64725], "mapped", [1606, 1605]], [[64726, 64726], "mapped", [1606, 1607]], [[64727, 64727], "mapped", [1607, 1580]], [[64728, 64728], "mapped", [1607, 1605]], [[64729, 64729], "mapped", [1607, 1648]], [[64730, 64730], "mapped", [1610, 1580]], [[64731, 64731], "mapped", [1610, 1581]], [[64732, 64732], "mapped", [1610, 1582]], [[64733, 64733], "mapped", [1610, 1605]], [[64734, 64734], "mapped", [1610, 1607]], [[64735, 64735], "mapped", [1574, 1605]], [[64736, 64736], "mapped", [1574, 1607]], [[64737, 64737], "mapped", [1576, 1605]], [[64738, 64738], "mapped", [1576, 1607]], [[64739, 64739], "mapped", [1578, 1605]], [[64740, 64740], "mapped", [1578, 1607]], [[64741, 64741], "mapped", [1579, 1605]], [[64742, 64742], "mapped", [1579, 1607]], [[64743, 64743], "mapped", [1587, 1605]], [[64744, 64744], "mapped", [1587, 1607]], [[64745, 64745], "mapped", [1588, 1605]], [[64746, 64746], "mapped", [1588, 1607]], [[64747, 64747], "mapped", [1603, 1604]], [[64748, 64748], "mapped", [1603, 1605]], [[64749, 64749], "mapped", [1604, 1605]], [[64750, 64750], "mapped", [1606, 1605]], [[64751, 64751], "mapped", [1606, 1607]], [[64752, 64752], "mapped", [1610, 1605]], [[64753, 64753], "mapped", [1610, 1607]], [[64754, 64754], "mapped", [1600, 1614, 1617]], [[64755, 64755], "mapped", [1600, 1615, 1617]], [[64756, 64756], "mapped", [1600, 1616, 1617]], [[64757, 64757], "mapped", [1591, 1609]], [[64758, 64758], "mapped", [1591, 1610]], [[64759, 64759], "mapped", [1593, 1609]], [[64760, 64760], "mapped", [1593, 1610]], [[64761, 64761], "mapped", [1594, 1609]], [[64762, 64762], "mapped", [1594, 1610]], [[64763, 64763], "mapped", [1587, 1609]], [[64764, 64764], "mapped", [1587, 1610]], [[64765, 64765], "mapped", [1588, 1609]], [[64766, 64766], "mapped", [1588, 1610]], [[64767, 64767], "mapped", [1581, 1609]], [[64768, 64768], "mapped", [1581, 1610]], [[64769, 64769], "mapped", [1580, 1609]], [[64770, 64770], "mapped", [1580, 1610]], [[64771, 64771], "mapped", [1582, 1609]], [[64772, 64772], "mapped", [1582, 1610]], [[64773, 64773], "mapped", [1589, 1609]], [[64774, 64774], "mapped", [1589, 1610]], [[64775, 64775], "mapped", [1590, 1609]], [[64776, 64776], "mapped", [1590, 1610]], [[64777, 64777], "mapped", [1588, 1580]], [[64778, 64778], "mapped", [1588, 1581]], [[64779, 64779], "mapped", [1588, 1582]], [[64780, 64780], "mapped", [1588, 1605]], [[64781, 64781], "mapped", [1588, 1585]], [[64782, 64782], "mapped", [1587, 1585]], [[64783, 64783], "mapped", [1589, 1585]], [[64784, 64784], "mapped", [1590, 1585]], [[64785, 64785], "mapped", [1591, 1609]], [[64786, 64786], "mapped", [1591, 1610]], [[64787, 64787], "mapped", [1593, 1609]], [[64788, 64788], "mapped", [1593, 1610]], [[64789, 64789], "mapped", [1594, 1609]], [[64790, 64790], "mapped", [1594, 1610]], [[64791, 64791], "mapped", [1587, 1609]], [[64792, 64792], "mapped", [1587, 1610]], [[64793, 64793], "mapped", [1588, 1609]], [[64794, 64794], "mapped", [1588, 1610]], [[64795, 64795], "mapped", [1581, 1609]], [[64796, 64796], "mapped", [1581, 1610]], [[64797, 64797], "mapped", [1580, 1609]], [[64798, 64798], "mapped", [1580, 1610]], [[64799, 64799], "mapped", [1582, 1609]], [[64800, 64800], "mapped", [1582, 1610]], [[64801, 64801], "mapped", [1589, 1609]], [[64802, 64802], "mapped", [1589, 1610]], [[64803, 64803], "mapped", [1590, 1609]], [[64804, 64804], "mapped", [1590, 1610]], [[64805, 64805], "mapped", [1588, 1580]], [[64806, 64806], "mapped", [1588, 1581]], [[64807, 64807], "mapped", [1588, 1582]], [[64808, 64808], "mapped", [1588, 1605]], [[64809, 64809], "mapped", [1588, 1585]], [[64810, 64810], "mapped", [1587, 1585]], [[64811, 64811], "mapped", [1589, 1585]], [[64812, 64812], "mapped", [1590, 1585]], [[64813, 64813], "mapped", [1588, 1580]], [[64814, 64814], "mapped", [1588, 1581]], [[64815, 64815], "mapped", [1588, 1582]], [[64816, 64816], "mapped", [1588, 1605]], [[64817, 64817], "mapped", [1587, 1607]], [[64818, 64818], "mapped", [1588, 1607]], [[64819, 64819], "mapped", [1591, 1605]], [[64820, 64820], "mapped", [1587, 1580]], [[64821, 64821], "mapped", [1587, 1581]], [[64822, 64822], "mapped", [1587, 1582]], [[64823, 64823], "mapped", [1588, 1580]], [[64824, 64824], "mapped", [1588, 1581]], [[64825, 64825], "mapped", [1588, 1582]], [[64826, 64826], "mapped", [1591, 1605]], [[64827, 64827], "mapped", [1592, 1605]], [[64828, 64829], "mapped", [1575, 1611]], [[64830, 64831], "valid", [], "NV8"], [[64832, 64847], "disallowed"], [[64848, 64848], "mapped", [1578, 1580, 1605]], [[64849, 64850], "mapped", [1578, 1581, 1580]], [[64851, 64851], "mapped", [1578, 1581, 1605]], [[64852, 64852], "mapped", [1578, 1582, 1605]], [[64853, 64853], "mapped", [1578, 1605, 1580]], [[64854, 64854], "mapped", [1578, 1605, 1581]], [[64855, 64855], "mapped", [1578, 1605, 1582]], [[64856, 64857], "mapped", [1580, 1605, 1581]], [[64858, 64858], "mapped", [1581, 1605, 1610]], [[64859, 64859], "mapped", [1581, 1605, 1609]], [[64860, 64860], "mapped", [1587, 1581, 1580]], [[64861, 64861], "mapped", [1587, 1580, 1581]], [[64862, 64862], "mapped", [1587, 1580, 1609]], [[64863, 64864], "mapped", [1587, 1605, 1581]], [[64865, 64865], "mapped", [1587, 1605, 1580]], [[64866, 64867], "mapped", [1587, 1605, 1605]], [[64868, 64869], "mapped", [1589, 1581, 1581]], [[64870, 64870], "mapped", [1589, 1605, 1605]], [[64871, 64872], "mapped", [1588, 1581, 1605]], [[64873, 64873], "mapped", [1588, 1580, 1610]], [[64874, 64875], "mapped", [1588, 1605, 1582]], [[64876, 64877], "mapped", [1588, 1605, 1605]], [[64878, 64878], "mapped", [1590, 1581, 1609]], [[64879, 64880], "mapped", [1590, 1582, 1605]], [[64881, 64882], "mapped", [1591, 1605, 1581]], [[64883, 64883], "mapped", [1591, 1605, 1605]], [[64884, 64884], "mapped", [1591, 1605, 1610]], [[64885, 64885], "mapped", [1593, 1580, 1605]], [[64886, 64887], "mapped", [1593, 1605, 1605]], [[64888, 64888], "mapped", [1593, 1605, 1609]], [[64889, 64889], "mapped", [1594, 1605, 1605]], [[64890, 64890], "mapped", [1594, 1605, 1610]], [[64891, 64891], "mapped", [1594, 1605, 1609]], [[64892, 64893], "mapped", [1601, 1582, 1605]], [[64894, 64894], "mapped", [1602, 1605, 1581]], [[64895, 64895], "mapped", [1602, 1605, 1605]], [[64896, 64896], "mapped", [1604, 1581, 1605]], [[64897, 64897], "mapped", [1604, 1581, 1610]], [[64898, 64898], "mapped", [1604, 1581, 1609]], [[64899, 64900], "mapped", [1604, 1580, 1580]], [[64901, 64902], "mapped", [1604, 1582, 1605]], [[64903, 64904], "mapped", [1604, 1605, 1581]], [[64905, 64905], "mapped", [1605, 1581, 1580]], [[64906, 64906], "mapped", [1605, 1581, 1605]], [[64907, 64907], "mapped", [1605, 1581, 1610]], [[64908, 64908], "mapped", [1605, 1580, 1581]], [[64909, 64909], "mapped", [1605, 1580, 1605]], [[64910, 64910], "mapped", [1605, 1582, 1580]], [[64911, 64911], "mapped", [1605, 1582, 1605]], [[64912, 64913], "disallowed"], [[64914, 64914], "mapped", [1605, 1580, 1582]], [[64915, 64915], "mapped", [1607, 1605, 1580]], [[64916, 64916], "mapped", [1607, 1605, 1605]], [[64917, 64917], "mapped", [1606, 1581, 1605]], [[64918, 64918], "mapped", [1606, 1581, 1609]], [[64919, 64920], "mapped", [1606, 1580, 1605]], [[64921, 64921], "mapped", [1606, 1580, 1609]], [[64922, 64922], "mapped", [1606, 1605, 1610]], [[64923, 64923], "mapped", [1606, 1605, 1609]], [[64924, 64925], "mapped", [1610, 1605, 1605]], [[64926, 64926], "mapped", [1576, 1582, 1610]], [[64927, 64927], "mapped", [1578, 1580, 1610]], [[64928, 64928], "mapped", [1578, 1580, 1609]], [[64929, 64929], "mapped", [1578, 1582, 1610]], [[64930, 64930], "mapped", [1578, 1582, 1609]], [[64931, 64931], "mapped", [1578, 1605, 1610]], [[64932, 64932], "mapped", [1578, 1605, 1609]], [[64933, 64933], "mapped", [1580, 1605, 1610]], [[64934, 64934], "mapped", [1580, 1581, 1609]], [[64935, 64935], "mapped", [1580, 1605, 1609]], [[64936, 64936], "mapped", [1587, 1582, 1609]], [[64937, 64937], "mapped", [1589, 1581, 1610]], [[64938, 64938], "mapped", [1588, 1581, 1610]], [[64939, 64939], "mapped", [1590, 1581, 1610]], [[64940, 64940], "mapped", [1604, 1580, 1610]], [[64941, 64941], "mapped", [1604, 1605, 1610]], [[64942, 64942], "mapped", [1610, 1581, 1610]], [[64943, 64943], "mapped", [1610, 1580, 1610]], [[64944, 64944], "mapped", [1610, 1605, 1610]], [[64945, 64945], "mapped", [1605, 1605, 1610]], [[64946, 64946], "mapped", [1602, 1605, 1610]], [[64947, 64947], "mapped", [1606, 1581, 1610]], [[64948, 64948], "mapped", [1602, 1605, 1581]], [[64949, 64949], "mapped", [1604, 1581, 1605]], [[64950, 64950], "mapped", [1593, 1605, 1610]], [[64951, 64951], "mapped", [1603, 1605, 1610]], [[64952, 64952], "mapped", [1606, 1580, 1581]], [[64953, 64953], "mapped", [1605, 1582, 1610]], [[64954, 64954], "mapped", [1604, 1580, 1605]], [[64955, 64955], "mapped", [1603, 1605, 1605]], [[64956, 64956], "mapped", [1604, 1580, 1605]], [[64957, 64957], "mapped", [1606, 1580, 1581]], [[64958, 64958], "mapped", [1580, 1581, 1610]], [[64959, 64959], "mapped", [1581, 1580, 1610]], [[64960, 64960], "mapped", [1605, 1580, 1610]], [[64961, 64961], "mapped", [1601, 1605, 1610]], [[64962, 64962], "mapped", [1576, 1581, 1610]], [[64963, 64963], "mapped", [1603, 1605, 1605]], [[64964, 64964], "mapped", [1593, 1580, 1605]], [[64965, 64965], "mapped", [1589, 1605, 1605]], [[64966, 64966], "mapped", [1587, 1582, 1610]], [[64967, 64967], "mapped", [1606, 1580, 1610]], [[64968, 64975], "disallowed"], [[64976, 65007], "disallowed"], [[65008, 65008], "mapped", [1589, 1604, 1746]], [[65009, 65009], "mapped", [1602, 1604, 1746]], [[65010, 65010], "mapped", [1575, 1604, 1604, 1607]], [[65011, 65011], "mapped", [1575, 1603, 1576, 1585]], [[65012, 65012], "mapped", [1605, 1581, 1605, 1583]], [[65013, 65013], "mapped", [1589, 1604, 1593, 1605]], [[65014, 65014], "mapped", [1585, 1587, 1608, 1604]], [[65015, 65015], "mapped", [1593, 1604, 1610, 1607]], [[65016, 65016], "mapped", [1608, 1587, 1604, 1605]], [[65017, 65017], "mapped", [1589, 1604, 1609]], [[65018, 65018], "disallowed_STD3_mapped", [1589, 1604, 1609, 32, 1575, 1604, 1604, 1607, 32, 1593, 1604, 1610, 1607, 32, 1608, 1587, 1604, 1605]], [[65019, 65019], "disallowed_STD3_mapped", [1580, 1604, 32, 1580, 1604, 1575, 1604, 1607]], [[65020, 65020], "mapped", [1585, 1740, 1575, 1604]], [[65021, 65021], "valid", [], "NV8"], [[65022, 65023], "disallowed"], [[65024, 65039], "ignored"], [[65040, 65040], "disallowed_STD3_mapped", [44]], [[65041, 65041], "mapped", [12289]], [[65042, 65042], "disallowed"], [[65043, 65043], "disallowed_STD3_mapped", [58]], [[65044, 65044], "disallowed_STD3_mapped", [59]], [[65045, 65045], "disallowed_STD3_mapped", [33]], [[65046, 65046], "disallowed_STD3_mapped", [63]], [[65047, 65047], "mapped", [12310]], [[65048, 65048], "mapped", [12311]], [[65049, 65049], "disallowed"], [[65050, 65055], "disallowed"], [[65056, 65059], "valid"], [[65060, 65062], "valid"], [[65063, 65069], "valid"], [[65070, 65071], "valid"], [[65072, 65072], "disallowed"], [[65073, 65073], "mapped", [8212]], [[65074, 65074], "mapped", [8211]], [[65075, 65076], "disallowed_STD3_mapped", [95]], [[65077, 65077], "disallowed_STD3_mapped", [40]], [[65078, 65078], "disallowed_STD3_mapped", [41]], [[65079, 65079], "disallowed_STD3_mapped", [123]], [[65080, 65080], "disallowed_STD3_mapped", [125]], [[65081, 65081], "mapped", [12308]], [[65082, 65082], "mapped", [12309]], [[65083, 65083], "mapped", [12304]], [[65084, 65084], "mapped", [12305]], [[65085, 65085], "mapped", [12298]], [[65086, 65086], "mapped", [12299]], [[65087, 65087], "mapped", [12296]], [[65088, 65088], "mapped", [12297]], [[65089, 65089], "mapped", [12300]], [[65090, 65090], "mapped", [12301]], [[65091, 65091], "mapped", [12302]], [[65092, 65092], "mapped", [12303]], [[65093, 65094], "valid", [], "NV8"], [[65095, 65095], "disallowed_STD3_mapped", [91]], [[65096, 65096], "disallowed_STD3_mapped", [93]], [[65097, 65100], "disallowed_STD3_mapped", [32, 773]], [[65101, 65103], "disallowed_STD3_mapped", [95]], [[65104, 65104], "disallowed_STD3_mapped", [44]], [[65105, 65105], "mapped", [12289]], [[65106, 65106], "disallowed"], [[65107, 65107], "disallowed"], [[65108, 65108], "disallowed_STD3_mapped", [59]], [[65109, 65109], "disallowed_STD3_mapped", [58]], [[65110, 65110], "disallowed_STD3_mapped", [63]], [[65111, 65111], "disallowed_STD3_mapped", [33]], [[65112, 65112], "mapped", [8212]], [[65113, 65113], "disallowed_STD3_mapped", [40]], [[65114, 65114], "disallowed_STD3_mapped", [41]], [[65115, 65115], "disallowed_STD3_mapped", [123]], [[65116, 65116], "disallowed_STD3_mapped", [125]], [[65117, 65117], "mapped", [12308]], [[65118, 65118], "mapped", [12309]], [[65119, 65119], "disallowed_STD3_mapped", [35]], [[65120, 65120], "disallowed_STD3_mapped", [38]], [[65121, 65121], "disallowed_STD3_mapped", [42]], [[65122, 65122], "disallowed_STD3_mapped", [43]], [[65123, 65123], "mapped", [45]], [[65124, 65124], "disallowed_STD3_mapped", [60]], [[65125, 65125], "disallowed_STD3_mapped", [62]], [[65126, 65126], "disallowed_STD3_mapped", [61]], [[65127, 65127], "disallowed"], [[65128, 65128], "disallowed_STD3_mapped", [92]], [[65129, 65129], "disallowed_STD3_mapped", [36]], [[65130, 65130], "disallowed_STD3_mapped", [37]], [[65131, 65131], "disallowed_STD3_mapped", [64]], [[65132, 65135], "disallowed"], [[65136, 65136], "disallowed_STD3_mapped", [32, 1611]], [[65137, 65137], "mapped", [1600, 1611]], [[65138, 65138], "disallowed_STD3_mapped", [32, 1612]], [[65139, 65139], "valid"], [[65140, 65140], "disallowed_STD3_mapped", [32, 1613]], [[65141, 65141], "disallowed"], [[65142, 65142], "disallowed_STD3_mapped", [32, 1614]], [[65143, 65143], "mapped", [1600, 1614]], [[65144, 65144], "disallowed_STD3_mapped", [32, 1615]], [[65145, 65145], "mapped", [1600, 1615]], [[65146, 65146], "disallowed_STD3_mapped", [32, 1616]], [[65147, 65147], "mapped", [1600, 1616]], [[65148, 65148], "disallowed_STD3_mapped", [32, 1617]], [[65149, 65149], "mapped", [1600, 1617]], [[65150, 65150], "disallowed_STD3_mapped", [32, 1618]], [[65151, 65151], "mapped", [1600, 1618]], [[65152, 65152], "mapped", [1569]], [[65153, 65154], "mapped", [1570]], [[65155, 65156], "mapped", [1571]], [[65157, 65158], "mapped", [1572]], [[65159, 65160], "mapped", [1573]], [[65161, 65164], "mapped", [1574]], [[65165, 65166], "mapped", [1575]], [[65167, 65170], "mapped", [1576]], [[65171, 65172], "mapped", [1577]], [[65173, 65176], "mapped", [1578]], [[65177, 65180], "mapped", [1579]], [[65181, 65184], "mapped", [1580]], [[65185, 65188], "mapped", [1581]], [[65189, 65192], "mapped", [1582]], [[65193, 65194], "mapped", [1583]], [[65195, 65196], "mapped", [1584]], [[65197, 65198], "mapped", [1585]], [[65199, 65200], "mapped", [1586]], [[65201, 65204], "mapped", [1587]], [[65205, 65208], "mapped", [1588]], [[65209, 65212], "mapped", [1589]], [[65213, 65216], "mapped", [1590]], [[65217, 65220], "mapped", [1591]], [[65221, 65224], "mapped", [1592]], [[65225, 65228], "mapped", [1593]], [[65229, 65232], "mapped", [1594]], [[65233, 65236], "mapped", [1601]], [[65237, 65240], "mapped", [1602]], [[65241, 65244], "mapped", [1603]], [[65245, 65248], "mapped", [1604]], [[65249, 65252], "mapped", [1605]], [[65253, 65256], "mapped", [1606]], [[65257, 65260], "mapped", [1607]], [[65261, 65262], "mapped", [1608]], [[65263, 65264], "mapped", [1609]], [[65265, 65268], "mapped", [1610]], [[65269, 65270], "mapped", [1604, 1570]], [[65271, 65272], "mapped", [1604, 1571]], [[65273, 65274], "mapped", [1604, 1573]], [[65275, 65276], "mapped", [1604, 1575]], [[65277, 65278], "disallowed"], [[65279, 65279], "ignored"], [[65280, 65280], "disallowed"], [[65281, 65281], "disallowed_STD3_mapped", [33]], [[65282, 65282], "disallowed_STD3_mapped", [34]], [[65283, 65283], "disallowed_STD3_mapped", [35]], [[65284, 65284], "disallowed_STD3_mapped", [36]], [[65285, 65285], "disallowed_STD3_mapped", [37]], [[65286, 65286], "disallowed_STD3_mapped", [38]], [[65287, 65287], "disallowed_STD3_mapped", [39]], [[65288, 65288], "disallowed_STD3_mapped", [40]], [[65289, 65289], "disallowed_STD3_mapped", [41]], [[65290, 65290], "disallowed_STD3_mapped", [42]], [[65291, 65291], "disallowed_STD3_mapped", [43]], [[65292, 65292], "disallowed_STD3_mapped", [44]], [[65293, 65293], "mapped", [45]], [[65294, 65294], "mapped", [46]], [[65295, 65295], "disallowed_STD3_mapped", [47]], [[65296, 65296], "mapped", [48]], [[65297, 65297], "mapped", [49]], [[65298, 65298], "mapped", [50]], [[65299, 65299], "mapped", [51]], [[65300, 65300], "mapped", [52]], [[65301, 65301], "mapped", [53]], [[65302, 65302], "mapped", [54]], [[65303, 65303], "mapped", [55]], [[65304, 65304], "mapped", [56]], [[65305, 65305], "mapped", [57]], [[65306, 65306], "disallowed_STD3_mapped", [58]], [[65307, 65307], "disallowed_STD3_mapped", [59]], [[65308, 65308], "disallowed_STD3_mapped", [60]], [[65309, 65309], "disallowed_STD3_mapped", [61]], [[65310, 65310], "disallowed_STD3_mapped", [62]], [[65311, 65311], "disallowed_STD3_mapped", [63]], [[65312, 65312], "disallowed_STD3_mapped", [64]], [[65313, 65313], "mapped", [97]], [[65314, 65314], "mapped", [98]], [[65315, 65315], "mapped", [99]], [[65316, 65316], "mapped", [100]], [[65317, 65317], "mapped", [101]], [[65318, 65318], "mapped", [102]], [[65319, 65319], "mapped", [103]], [[65320, 65320], "mapped", [104]], [[65321, 65321], "mapped", [105]], [[65322, 65322], "mapped", [106]], [[65323, 65323], "mapped", [107]], [[65324, 65324], "mapped", [108]], [[65325, 65325], "mapped", [109]], [[65326, 65326], "mapped", [110]], [[65327, 65327], "mapped", [111]], [[65328, 65328], "mapped", [112]], [[65329, 65329], "mapped", [113]], [[65330, 65330], "mapped", [114]], [[65331, 65331], "mapped", [115]], [[65332, 65332], "mapped", [116]], [[65333, 65333], "mapped", [117]], [[65334, 65334], "mapped", [118]], [[65335, 65335], "mapped", [119]], [[65336, 65336], "mapped", [120]], [[65337, 65337], "mapped", [121]], [[65338, 65338], "mapped", [122]], [[65339, 65339], "disallowed_STD3_mapped", [91]], [[65340, 65340], "disallowed_STD3_mapped", [92]], [[65341, 65341], "disallowed_STD3_mapped", [93]], [[65342, 65342], "disallowed_STD3_mapped", [94]], [[65343, 65343], "disallowed_STD3_mapped", [95]], [[65344, 65344], "disallowed_STD3_mapped", [96]], [[65345, 65345], "mapped", [97]], [[65346, 65346], "mapped", [98]], [[65347, 65347], "mapped", [99]], [[65348, 65348], "mapped", [100]], [[65349, 65349], "mapped", [101]], [[65350, 65350], "mapped", [102]], [[65351, 65351], "mapped", [103]], [[65352, 65352], "mapped", [104]], [[65353, 65353], "mapped", [105]], [[65354, 65354], "mapped", [106]], [[65355, 65355], "mapped", [107]], [[65356, 65356], "mapped", [108]], [[65357, 65357], "mapped", [109]], [[65358, 65358], "mapped", [110]], [[65359, 65359], "mapped", [111]], [[65360, 65360], "mapped", [112]], [[65361, 65361], "mapped", [113]], [[65362, 65362], "mapped", [114]], [[65363, 65363], "mapped", [115]], [[65364, 65364], "mapped", [116]], [[65365, 65365], "mapped", [117]], [[65366, 65366], "mapped", [118]], [[65367, 65367], "mapped", [119]], [[65368, 65368], "mapped", [120]], [[65369, 65369], "mapped", [121]], [[65370, 65370], "mapped", [122]], [[65371, 65371], "disallowed_STD3_mapped", [123]], [[65372, 65372], "disallowed_STD3_mapped", [124]], [[65373, 65373], "disallowed_STD3_mapped", [125]], [[65374, 65374], "disallowed_STD3_mapped", [126]], [[65375, 65375], "mapped", [10629]], [[65376, 65376], "mapped", [10630]], [[65377, 65377], "mapped", [46]], [[65378, 65378], "mapped", [12300]], [[65379, 65379], "mapped", [12301]], [[65380, 65380], "mapped", [12289]], [[65381, 65381], "mapped", [12539]], [[65382, 65382], "mapped", [12530]], [[65383, 65383], "mapped", [12449]], [[65384, 65384], "mapped", [12451]], [[65385, 65385], "mapped", [12453]], [[65386, 65386], "mapped", [12455]], [[65387, 65387], "mapped", [12457]], [[65388, 65388], "mapped", [12515]], [[65389, 65389], "mapped", [12517]], [[65390, 65390], "mapped", [12519]], [[65391, 65391], "mapped", [12483]], [[65392, 65392], "mapped", [12540]], [[65393, 65393], "mapped", [12450]], [[65394, 65394], "mapped", [12452]], [[65395, 65395], "mapped", [12454]], [[65396, 65396], "mapped", [12456]], [[65397, 65397], "mapped", [12458]], [[65398, 65398], "mapped", [12459]], [[65399, 65399], "mapped", [12461]], [[65400, 65400], "mapped", [12463]], [[65401, 65401], "mapped", [12465]], [[65402, 65402], "mapped", [12467]], [[65403, 65403], "mapped", [12469]], [[65404, 65404], "mapped", [12471]], [[65405, 65405], "mapped", [12473]], [[65406, 65406], "mapped", [12475]], [[65407, 65407], "mapped", [12477]], [[65408, 65408], "mapped", [12479]], [[65409, 65409], "mapped", [12481]], [[65410, 65410], "mapped", [12484]], [[65411, 65411], "mapped", [12486]], [[65412, 65412], "mapped", [12488]], [[65413, 65413], "mapped", [12490]], [[65414, 65414], "mapped", [12491]], [[65415, 65415], "mapped", [12492]], [[65416, 65416], "mapped", [12493]], [[65417, 65417], "mapped", [12494]], [[65418, 65418], "mapped", [12495]], [[65419, 65419], "mapped", [12498]], [[65420, 65420], "mapped", [12501]], [[65421, 65421], "mapped", [12504]], [[65422, 65422], "mapped", [12507]], [[65423, 65423], "mapped", [12510]], [[65424, 65424], "mapped", [12511]], [[65425, 65425], "mapped", [12512]], [[65426, 65426], "mapped", [12513]], [[65427, 65427], "mapped", [12514]], [[65428, 65428], "mapped", [12516]], [[65429, 65429], "mapped", [12518]], [[65430, 65430], "mapped", [12520]], [[65431, 65431], "mapped", [12521]], [[65432, 65432], "mapped", [12522]], [[65433, 65433], "mapped", [12523]], [[65434, 65434], "mapped", [12524]], [[65435, 65435], "mapped", [12525]], [[65436, 65436], "mapped", [12527]], [[65437, 65437], "mapped", [12531]], [[65438, 65438], "mapped", [12441]], [[65439, 65439], "mapped", [12442]], [[65440, 65440], "disallowed"], [[65441, 65441], "mapped", [4352]], [[65442, 65442], "mapped", [4353]], [[65443, 65443], "mapped", [4522]], [[65444, 65444], "mapped", [4354]], [[65445, 65445], "mapped", [4524]], [[65446, 65446], "mapped", [4525]], [[65447, 65447], "mapped", [4355]], [[65448, 65448], "mapped", [4356]], [[65449, 65449], "mapped", [4357]], [[65450, 65450], "mapped", [4528]], [[65451, 65451], "mapped", [4529]], [[65452, 65452], "mapped", [4530]], [[65453, 65453], "mapped", [4531]], [[65454, 65454], "mapped", [4532]], [[65455, 65455], "mapped", [4533]], [[65456, 65456], "mapped", [4378]], [[65457, 65457], "mapped", [4358]], [[65458, 65458], "mapped", [4359]], [[65459, 65459], "mapped", [4360]], [[65460, 65460], "mapped", [4385]], [[65461, 65461], "mapped", [4361]], [[65462, 65462], "mapped", [4362]], [[65463, 65463], "mapped", [4363]], [[65464, 65464], "mapped", [4364]], [[65465, 65465], "mapped", [4365]], [[65466, 65466], "mapped", [4366]], [[65467, 65467], "mapped", [4367]], [[65468, 65468], "mapped", [4368]], [[65469, 65469], "mapped", [4369]], [[65470, 65470], "mapped", [4370]], [[65471, 65473], "disallowed"], [[65474, 65474], "mapped", [4449]], [[65475, 65475], "mapped", [4450]], [[65476, 65476], "mapped", [4451]], [[65477, 65477], "mapped", [4452]], [[65478, 65478], "mapped", [4453]], [[65479, 65479], "mapped", [4454]], [[65480, 65481], "disallowed"], [[65482, 65482], "mapped", [4455]], [[65483, 65483], "mapped", [4456]], [[65484, 65484], "mapped", [4457]], [[65485, 65485], "mapped", [4458]], [[65486, 65486], "mapped", [4459]], [[65487, 65487], "mapped", [4460]], [[65488, 65489], "disallowed"], [[65490, 65490], "mapped", [4461]], [[65491, 65491], "mapped", [4462]], [[65492, 65492], "mapped", [4463]], [[65493, 65493], "mapped", [4464]], [[65494, 65494], "mapped", [4465]], [[65495, 65495], "mapped", [4466]], [[65496, 65497], "disallowed"], [[65498, 65498], "mapped", [4467]], [[65499, 65499], "mapped", [4468]], [[65500, 65500], "mapped", [4469]], [[65501, 65503], "disallowed"], [[65504, 65504], "mapped", [162]], [[65505, 65505], "mapped", [163]], [[65506, 65506], "mapped", [172]], [[65507, 65507], "disallowed_STD3_mapped", [32, 772]], [[65508, 65508], "mapped", [166]], [[65509, 65509], "mapped", [165]], [[65510, 65510], "mapped", [8361]], [[65511, 65511], "disallowed"], [[65512, 65512], "mapped", [9474]], [[65513, 65513], "mapped", [8592]], [[65514, 65514], "mapped", [8593]], [[65515, 65515], "mapped", [8594]], [[65516, 65516], "mapped", [8595]], [[65517, 65517], "mapped", [9632]], [[65518, 65518], "mapped", [9675]], [[65519, 65528], "disallowed"], [[65529, 65531], "disallowed"], [[65532, 65532], "disallowed"], [[65533, 65533], "disallowed"], [[65534, 65535], "disallowed"], [[65536, 65547], "valid"], [[65548, 65548], "disallowed"], [[65549, 65574], "valid"], [[65575, 65575], "disallowed"], [[65576, 65594], "valid"], [[65595, 65595], "disallowed"], [[65596, 65597], "valid"], [[65598, 65598], "disallowed"], [[65599, 65613], "valid"], [[65614, 65615], "disallowed"], [[65616, 65629], "valid"], [[65630, 65663], "disallowed"], [[65664, 65786], "valid"], [[65787, 65791], "disallowed"], [[65792, 65794], "valid", [], "NV8"], [[65795, 65798], "disallowed"], [[65799, 65843], "valid", [], "NV8"], [[65844, 65846], "disallowed"], [[65847, 65855], "valid", [], "NV8"], [[65856, 65930], "valid", [], "NV8"], [[65931, 65932], "valid", [], "NV8"], [[65933, 65935], "disallowed"], [[65936, 65947], "valid", [], "NV8"], [[65948, 65951], "disallowed"], [[65952, 65952], "valid", [], "NV8"], [[65953, 65999], "disallowed"], [[66e3, 66044], "valid", [], "NV8"], [[66045, 66045], "valid"], [[66046, 66175], "disallowed"], [[66176, 66204], "valid"], [[66205, 66207], "disallowed"], [[66208, 66256], "valid"], [[66257, 66271], "disallowed"], [[66272, 66272], "valid"], [[66273, 66299], "valid", [], "NV8"], [[66300, 66303], "disallowed"], [[66304, 66334], "valid"], [[66335, 66335], "valid"], [[66336, 66339], "valid", [], "NV8"], [[66340, 66351], "disallowed"], [[66352, 66368], "valid"], [[66369, 66369], "valid", [], "NV8"], [[66370, 66377], "valid"], [[66378, 66378], "valid", [], "NV8"], [[66379, 66383], "disallowed"], [[66384, 66426], "valid"], [[66427, 66431], "disallowed"], [[66432, 66461], "valid"], [[66462, 66462], "disallowed"], [[66463, 66463], "valid", [], "NV8"], [[66464, 66499], "valid"], [[66500, 66503], "disallowed"], [[66504, 66511], "valid"], [[66512, 66517], "valid", [], "NV8"], [[66518, 66559], "disallowed"], [[66560, 66560], "mapped", [66600]], [[66561, 66561], "mapped", [66601]], [[66562, 66562], "mapped", [66602]], [[66563, 66563], "mapped", [66603]], [[66564, 66564], "mapped", [66604]], [[66565, 66565], "mapped", [66605]], [[66566, 66566], "mapped", [66606]], [[66567, 66567], "mapped", [66607]], [[66568, 66568], "mapped", [66608]], [[66569, 66569], "mapped", [66609]], [[66570, 66570], "mapped", [66610]], [[66571, 66571], "mapped", [66611]], [[66572, 66572], "mapped", [66612]], [[66573, 66573], "mapped", [66613]], [[66574, 66574], "mapped", [66614]], [[66575, 66575], "mapped", [66615]], [[66576, 66576], "mapped", [66616]], [[66577, 66577], "mapped", [66617]], [[66578, 66578], "mapped", [66618]], [[66579, 66579], "mapped", [66619]], [[66580, 66580], "mapped", [66620]], [[66581, 66581], "mapped", [66621]], [[66582, 66582], "mapped", [66622]], [[66583, 66583], "mapped", [66623]], [[66584, 66584], "mapped", [66624]], [[66585, 66585], "mapped", [66625]], [[66586, 66586], "mapped", [66626]], [[66587, 66587], "mapped", [66627]], [[66588, 66588], "mapped", [66628]], [[66589, 66589], "mapped", [66629]], [[66590, 66590], "mapped", [66630]], [[66591, 66591], "mapped", [66631]], [[66592, 66592], "mapped", [66632]], [[66593, 66593], "mapped", [66633]], [[66594, 66594], "mapped", [66634]], [[66595, 66595], "mapped", [66635]], [[66596, 66596], "mapped", [66636]], [[66597, 66597], "mapped", [66637]], [[66598, 66598], "mapped", [66638]], [[66599, 66599], "mapped", [66639]], [[66600, 66637], "valid"], [[66638, 66717], "valid"], [[66718, 66719], "disallowed"], [[66720, 66729], "valid"], [[66730, 66815], "disallowed"], [[66816, 66855], "valid"], [[66856, 66863], "disallowed"], [[66864, 66915], "valid"], [[66916, 66926], "disallowed"], [[66927, 66927], "valid", [], "NV8"], [[66928, 67071], "disallowed"], [[67072, 67382], "valid"], [[67383, 67391], "disallowed"], [[67392, 67413], "valid"], [[67414, 67423], "disallowed"], [[67424, 67431], "valid"], [[67432, 67583], "disallowed"], [[67584, 67589], "valid"], [[67590, 67591], "disallowed"], [[67592, 67592], "valid"], [[67593, 67593], "disallowed"], [[67594, 67637], "valid"], [[67638, 67638], "disallowed"], [[67639, 67640], "valid"], [[67641, 67643], "disallowed"], [[67644, 67644], "valid"], [[67645, 67646], "disallowed"], [[67647, 67647], "valid"], [[67648, 67669], "valid"], [[67670, 67670], "disallowed"], [[67671, 67679], "valid", [], "NV8"], [[67680, 67702], "valid"], [[67703, 67711], "valid", [], "NV8"], [[67712, 67742], "valid"], [[67743, 67750], "disallowed"], [[67751, 67759], "valid", [], "NV8"], [[67760, 67807], "disallowed"], [[67808, 67826], "valid"], [[67827, 67827], "disallowed"], [[67828, 67829], "valid"], [[67830, 67834], "disallowed"], [[67835, 67839], "valid", [], "NV8"], [[67840, 67861], "valid"], [[67862, 67865], "valid", [], "NV8"], [[67866, 67867], "valid", [], "NV8"], [[67868, 67870], "disallowed"], [[67871, 67871], "valid", [], "NV8"], [[67872, 67897], "valid"], [[67898, 67902], "disallowed"], [[67903, 67903], "valid", [], "NV8"], [[67904, 67967], "disallowed"], [[67968, 68023], "valid"], [[68024, 68027], "disallowed"], [[68028, 68029], "valid", [], "NV8"], [[68030, 68031], "valid"], [[68032, 68047], "valid", [], "NV8"], [[68048, 68049], "disallowed"], [[68050, 68095], "valid", [], "NV8"], [[68096, 68099], "valid"], [[68100, 68100], "disallowed"], [[68101, 68102], "valid"], [[68103, 68107], "disallowed"], [[68108, 68115], "valid"], [[68116, 68116], "disallowed"], [[68117, 68119], "valid"], [[68120, 68120], "disallowed"], [[68121, 68147], "valid"], [[68148, 68151], "disallowed"], [[68152, 68154], "valid"], [[68155, 68158], "disallowed"], [[68159, 68159], "valid"], [[68160, 68167], "valid", [], "NV8"], [[68168, 68175], "disallowed"], [[68176, 68184], "valid", [], "NV8"], [[68185, 68191], "disallowed"], [[68192, 68220], "valid"], [[68221, 68223], "valid", [], "NV8"], [[68224, 68252], "valid"], [[68253, 68255], "valid", [], "NV8"], [[68256, 68287], "disallowed"], [[68288, 68295], "valid"], [[68296, 68296], "valid", [], "NV8"], [[68297, 68326], "valid"], [[68327, 68330], "disallowed"], [[68331, 68342], "valid", [], "NV8"], [[68343, 68351], "disallowed"], [[68352, 68405], "valid"], [[68406, 68408], "disallowed"], [[68409, 68415], "valid", [], "NV8"], [[68416, 68437], "valid"], [[68438, 68439], "disallowed"], [[68440, 68447], "valid", [], "NV8"], [[68448, 68466], "valid"], [[68467, 68471], "disallowed"], [[68472, 68479], "valid", [], "NV8"], [[68480, 68497], "valid"], [[68498, 68504], "disallowed"], [[68505, 68508], "valid", [], "NV8"], [[68509, 68520], "disallowed"], [[68521, 68527], "valid", [], "NV8"], [[68528, 68607], "disallowed"], [[68608, 68680], "valid"], [[68681, 68735], "disallowed"], [[68736, 68736], "mapped", [68800]], [[68737, 68737], "mapped", [68801]], [[68738, 68738], "mapped", [68802]], [[68739, 68739], "mapped", [68803]], [[68740, 68740], "mapped", [68804]], [[68741, 68741], "mapped", [68805]], [[68742, 68742], "mapped", [68806]], [[68743, 68743], "mapped", [68807]], [[68744, 68744], "mapped", [68808]], [[68745, 68745], "mapped", [68809]], [[68746, 68746], "mapped", [68810]], [[68747, 68747], "mapped", [68811]], [[68748, 68748], "mapped", [68812]], [[68749, 68749], "mapped", [68813]], [[68750, 68750], "mapped", [68814]], [[68751, 68751], "mapped", [68815]], [[68752, 68752], "mapped", [68816]], [[68753, 68753], "mapped", [68817]], [[68754, 68754], "mapped", [68818]], [[68755, 68755], "mapped", [68819]], [[68756, 68756], "mapped", [68820]], [[68757, 68757], "mapped", [68821]], [[68758, 68758], "mapped", [68822]], [[68759, 68759], "mapped", [68823]], [[68760, 68760], "mapped", [68824]], [[68761, 68761], "mapped", [68825]], [[68762, 68762], "mapped", [68826]], [[68763, 68763], "mapped", [68827]], [[68764, 68764], "mapped", [68828]], [[68765, 68765], "mapped", [68829]], [[68766, 68766], "mapped", [68830]], [[68767, 68767], "mapped", [68831]], [[68768, 68768], "mapped", [68832]], [[68769, 68769], "mapped", [68833]], [[68770, 68770], "mapped", [68834]], [[68771, 68771], "mapped", [68835]], [[68772, 68772], "mapped", [68836]], [[68773, 68773], "mapped", [68837]], [[68774, 68774], "mapped", [68838]], [[68775, 68775], "mapped", [68839]], [[68776, 68776], "mapped", [68840]], [[68777, 68777], "mapped", [68841]], [[68778, 68778], "mapped", [68842]], [[68779, 68779], "mapped", [68843]], [[68780, 68780], "mapped", [68844]], [[68781, 68781], "mapped", [68845]], [[68782, 68782], "mapped", [68846]], [[68783, 68783], "mapped", [68847]], [[68784, 68784], "mapped", [68848]], [[68785, 68785], "mapped", [68849]], [[68786, 68786], "mapped", [68850]], [[68787, 68799], "disallowed"], [[68800, 68850], "valid"], [[68851, 68857], "disallowed"], [[68858, 68863], "valid", [], "NV8"], [[68864, 69215], "disallowed"], [[69216, 69246], "valid", [], "NV8"], [[69247, 69631], "disallowed"], [[69632, 69702], "valid"], [[69703, 69709], "valid", [], "NV8"], [[69710, 69713], "disallowed"], [[69714, 69733], "valid", [], "NV8"], [[69734, 69743], "valid"], [[69744, 69758], "disallowed"], [[69759, 69759], "valid"], [[69760, 69818], "valid"], [[69819, 69820], "valid", [], "NV8"], [[69821, 69821], "disallowed"], [[69822, 69825], "valid", [], "NV8"], [[69826, 69839], "disallowed"], [[69840, 69864], "valid"], [[69865, 69871], "disallowed"], [[69872, 69881], "valid"], [[69882, 69887], "disallowed"], [[69888, 69940], "valid"], [[69941, 69941], "disallowed"], [[69942, 69951], "valid"], [[69952, 69955], "valid", [], "NV8"], [[69956, 69967], "disallowed"], [[69968, 70003], "valid"], [[70004, 70005], "valid", [], "NV8"], [[70006, 70006], "valid"], [[70007, 70015], "disallowed"], [[70016, 70084], "valid"], [[70085, 70088], "valid", [], "NV8"], [[70089, 70089], "valid", [], "NV8"], [[70090, 70092], "valid"], [[70093, 70093], "valid", [], "NV8"], [[70094, 70095], "disallowed"], [[70096, 70105], "valid"], [[70106, 70106], "valid"], [[70107, 70107], "valid", [], "NV8"], [[70108, 70108], "valid"], [[70109, 70111], "valid", [], "NV8"], [[70112, 70112], "disallowed"], [[70113, 70132], "valid", [], "NV8"], [[70133, 70143], "disallowed"], [[70144, 70161], "valid"], [[70162, 70162], "disallowed"], [[70163, 70199], "valid"], [[70200, 70205], "valid", [], "NV8"], [[70206, 70271], "disallowed"], [[70272, 70278], "valid"], [[70279, 70279], "disallowed"], [[70280, 70280], "valid"], [[70281, 70281], "disallowed"], [[70282, 70285], "valid"], [[70286, 70286], "disallowed"], [[70287, 70301], "valid"], [[70302, 70302], "disallowed"], [[70303, 70312], "valid"], [[70313, 70313], "valid", [], "NV8"], [[70314, 70319], "disallowed"], [[70320, 70378], "valid"], [[70379, 70383], "disallowed"], [[70384, 70393], "valid"], [[70394, 70399], "disallowed"], [[70400, 70400], "valid"], [[70401, 70403], "valid"], [[70404, 70404], "disallowed"], [[70405, 70412], "valid"], [[70413, 70414], "disallowed"], [[70415, 70416], "valid"], [[70417, 70418], "disallowed"], [[70419, 70440], "valid"], [[70441, 70441], "disallowed"], [[70442, 70448], "valid"], [[70449, 70449], "disallowed"], [[70450, 70451], "valid"], [[70452, 70452], "disallowed"], [[70453, 70457], "valid"], [[70458, 70459], "disallowed"], [[70460, 70468], "valid"], [[70469, 70470], "disallowed"], [[70471, 70472], "valid"], [[70473, 70474], "disallowed"], [[70475, 70477], "valid"], [[70478, 70479], "disallowed"], [[70480, 70480], "valid"], [[70481, 70486], "disallowed"], [[70487, 70487], "valid"], [[70488, 70492], "disallowed"], [[70493, 70499], "valid"], [[70500, 70501], "disallowed"], [[70502, 70508], "valid"], [[70509, 70511], "disallowed"], [[70512, 70516], "valid"], [[70517, 70783], "disallowed"], [[70784, 70853], "valid"], [[70854, 70854], "valid", [], "NV8"], [[70855, 70855], "valid"], [[70856, 70863], "disallowed"], [[70864, 70873], "valid"], [[70874, 71039], "disallowed"], [[71040, 71093], "valid"], [[71094, 71095], "disallowed"], [[71096, 71104], "valid"], [[71105, 71113], "valid", [], "NV8"], [[71114, 71127], "valid", [], "NV8"], [[71128, 71133], "valid"], [[71134, 71167], "disallowed"], [[71168, 71232], "valid"], [[71233, 71235], "valid", [], "NV8"], [[71236, 71236], "valid"], [[71237, 71247], "disallowed"], [[71248, 71257], "valid"], [[71258, 71295], "disallowed"], [[71296, 71351], "valid"], [[71352, 71359], "disallowed"], [[71360, 71369], "valid"], [[71370, 71423], "disallowed"], [[71424, 71449], "valid"], [[71450, 71452], "disallowed"], [[71453, 71467], "valid"], [[71468, 71471], "disallowed"], [[71472, 71481], "valid"], [[71482, 71487], "valid", [], "NV8"], [[71488, 71839], "disallowed"], [[71840, 71840], "mapped", [71872]], [[71841, 71841], "mapped", [71873]], [[71842, 71842], "mapped", [71874]], [[71843, 71843], "mapped", [71875]], [[71844, 71844], "mapped", [71876]], [[71845, 71845], "mapped", [71877]], [[71846, 71846], "mapped", [71878]], [[71847, 71847], "mapped", [71879]], [[71848, 71848], "mapped", [71880]], [[71849, 71849], "mapped", [71881]], [[71850, 71850], "mapped", [71882]], [[71851, 71851], "mapped", [71883]], [[71852, 71852], "mapped", [71884]], [[71853, 71853], "mapped", [71885]], [[71854, 71854], "mapped", [71886]], [[71855, 71855], "mapped", [71887]], [[71856, 71856], "mapped", [71888]], [[71857, 71857], "mapped", [71889]], [[71858, 71858], "mapped", [71890]], [[71859, 71859], "mapped", [71891]], [[71860, 71860], "mapped", [71892]], [[71861, 71861], "mapped", [71893]], [[71862, 71862], "mapped", [71894]], [[71863, 71863], "mapped", [71895]], [[71864, 71864], "mapped", [71896]], [[71865, 71865], "mapped", [71897]], [[71866, 71866], "mapped", [71898]], [[71867, 71867], "mapped", [71899]], [[71868, 71868], "mapped", [71900]], [[71869, 71869], "mapped", [71901]], [[71870, 71870], "mapped", [71902]], [[71871, 71871], "mapped", [71903]], [[71872, 71913], "valid"], [[71914, 71922], "valid", [], "NV8"], [[71923, 71934], "disallowed"], [[71935, 71935], "valid"], [[71936, 72383], "disallowed"], [[72384, 72440], "valid"], [[72441, 73727], "disallowed"], [[73728, 74606], "valid"], [[74607, 74648], "valid"], [[74649, 74649], "valid"], [[74650, 74751], "disallowed"], [[74752, 74850], "valid", [], "NV8"], [[74851, 74862], "valid", [], "NV8"], [[74863, 74863], "disallowed"], [[74864, 74867], "valid", [], "NV8"], [[74868, 74868], "valid", [], "NV8"], [[74869, 74879], "disallowed"], [[74880, 75075], "valid"], [[75076, 77823], "disallowed"], [[77824, 78894], "valid"], [[78895, 82943], "disallowed"], [[82944, 83526], "valid"], [[83527, 92159], "disallowed"], [[92160, 92728], "valid"], [[92729, 92735], "disallowed"], [[92736, 92766], "valid"], [[92767, 92767], "disallowed"], [[92768, 92777], "valid"], [[92778, 92781], "disallowed"], [[92782, 92783], "valid", [], "NV8"], [[92784, 92879], "disallowed"], [[92880, 92909], "valid"], [[92910, 92911], "disallowed"], [[92912, 92916], "valid"], [[92917, 92917], "valid", [], "NV8"], [[92918, 92927], "disallowed"], [[92928, 92982], "valid"], [[92983, 92991], "valid", [], "NV8"], [[92992, 92995], "valid"], [[92996, 92997], "valid", [], "NV8"], [[92998, 93007], "disallowed"], [[93008, 93017], "valid"], [[93018, 93018], "disallowed"], [[93019, 93025], "valid", [], "NV8"], [[93026, 93026], "disallowed"], [[93027, 93047], "valid"], [[93048, 93052], "disallowed"], [[93053, 93071], "valid"], [[93072, 93951], "disallowed"], [[93952, 94020], "valid"], [[94021, 94031], "disallowed"], [[94032, 94078], "valid"], [[94079, 94094], "disallowed"], [[94095, 94111], "valid"], [[94112, 110591], "disallowed"], [[110592, 110593], "valid"], [[110594, 113663], "disallowed"], [[113664, 113770], "valid"], [[113771, 113775], "disallowed"], [[113776, 113788], "valid"], [[113789, 113791], "disallowed"], [[113792, 113800], "valid"], [[113801, 113807], "disallowed"], [[113808, 113817], "valid"], [[113818, 113819], "disallowed"], [[113820, 113820], "valid", [], "NV8"], [[113821, 113822], "valid"], [[113823, 113823], "valid", [], "NV8"], [[113824, 113827], "ignored"], [[113828, 118783], "disallowed"], [[118784, 119029], "valid", [], "NV8"], [[119030, 119039], "disallowed"], [[119040, 119078], "valid", [], "NV8"], [[119079, 119080], "disallowed"], [[119081, 119081], "valid", [], "NV8"], [[119082, 119133], "valid", [], "NV8"], [[119134, 119134], "mapped", [119127, 119141]], [[119135, 119135], "mapped", [119128, 119141]], [[119136, 119136], "mapped", [119128, 119141, 119150]], [[119137, 119137], "mapped", [119128, 119141, 119151]], [[119138, 119138], "mapped", [119128, 119141, 119152]], [[119139, 119139], "mapped", [119128, 119141, 119153]], [[119140, 119140], "mapped", [119128, 119141, 119154]], [[119141, 119154], "valid", [], "NV8"], [[119155, 119162], "disallowed"], [[119163, 119226], "valid", [], "NV8"], [[119227, 119227], "mapped", [119225, 119141]], [[119228, 119228], "mapped", [119226, 119141]], [[119229, 119229], "mapped", [119225, 119141, 119150]], [[119230, 119230], "mapped", [119226, 119141, 119150]], [[119231, 119231], "mapped", [119225, 119141, 119151]], [[119232, 119232], "mapped", [119226, 119141, 119151]], [[119233, 119261], "valid", [], "NV8"], [[119262, 119272], "valid", [], "NV8"], [[119273, 119295], "disallowed"], [[119296, 119365], "valid", [], "NV8"], [[119366, 119551], "disallowed"], [[119552, 119638], "valid", [], "NV8"], [[119639, 119647], "disallowed"], [[119648, 119665], "valid", [], "NV8"], [[119666, 119807], "disallowed"], [[119808, 119808], "mapped", [97]], [[119809, 119809], "mapped", [98]], [[119810, 119810], "mapped", [99]], [[119811, 119811], "mapped", [100]], [[119812, 119812], "mapped", [101]], [[119813, 119813], "mapped", [102]], [[119814, 119814], "mapped", [103]], [[119815, 119815], "mapped", [104]], [[119816, 119816], "mapped", [105]], [[119817, 119817], "mapped", [106]], [[119818, 119818], "mapped", [107]], [[119819, 119819], "mapped", [108]], [[119820, 119820], "mapped", [109]], [[119821, 119821], "mapped", [110]], [[119822, 119822], "mapped", [111]], [[119823, 119823], "mapped", [112]], [[119824, 119824], "mapped", [113]], [[119825, 119825], "mapped", [114]], [[119826, 119826], "mapped", [115]], [[119827, 119827], "mapped", [116]], [[119828, 119828], "mapped", [117]], [[119829, 119829], "mapped", [118]], [[119830, 119830], "mapped", [119]], [[119831, 119831], "mapped", [120]], [[119832, 119832], "mapped", [121]], [[119833, 119833], "mapped", [122]], [[119834, 119834], "mapped", [97]], [[119835, 119835], "mapped", [98]], [[119836, 119836], "mapped", [99]], [[119837, 119837], "mapped", [100]], [[119838, 119838], "mapped", [101]], [[119839, 119839], "mapped", [102]], [[119840, 119840], "mapped", [103]], [[119841, 119841], "mapped", [104]], [[119842, 119842], "mapped", [105]], [[119843, 119843], "mapped", [106]], [[119844, 119844], "mapped", [107]], [[119845, 119845], "mapped", [108]], [[119846, 119846], "mapped", [109]], [[119847, 119847], "mapped", [110]], [[119848, 119848], "mapped", [111]], [[119849, 119849], "mapped", [112]], [[119850, 119850], "mapped", [113]], [[119851, 119851], "mapped", [114]], [[119852, 119852], "mapped", [115]], [[119853, 119853], "mapped", [116]], [[119854, 119854], "mapped", [117]], [[119855, 119855], "mapped", [118]], [[119856, 119856], "mapped", [119]], [[119857, 119857], "mapped", [120]], [[119858, 119858], "mapped", [121]], [[119859, 119859], "mapped", [122]], [[119860, 119860], "mapped", [97]], [[119861, 119861], "mapped", [98]], [[119862, 119862], "mapped", [99]], [[119863, 119863], "mapped", [100]], [[119864, 119864], "mapped", [101]], [[119865, 119865], "mapped", [102]], [[119866, 119866], "mapped", [103]], [[119867, 119867], "mapped", [104]], [[119868, 119868], "mapped", [105]], [[119869, 119869], "mapped", [106]], [[119870, 119870], "mapped", [107]], [[119871, 119871], "mapped", [108]], [[119872, 119872], "mapped", [109]], [[119873, 119873], "mapped", [110]], [[119874, 119874], "mapped", [111]], [[119875, 119875], "mapped", [112]], [[119876, 119876], "mapped", [113]], [[119877, 119877], "mapped", [114]], [[119878, 119878], "mapped", [115]], [[119879, 119879], "mapped", [116]], [[119880, 119880], "mapped", [117]], [[119881, 119881], "mapped", [118]], [[119882, 119882], "mapped", [119]], [[119883, 119883], "mapped", [120]], [[119884, 119884], "mapped", [121]], [[119885, 119885], "mapped", [122]], [[119886, 119886], "mapped", [97]], [[119887, 119887], "mapped", [98]], [[119888, 119888], "mapped", [99]], [[119889, 119889], "mapped", [100]], [[119890, 119890], "mapped", [101]], [[119891, 119891], "mapped", [102]], [[119892, 119892], "mapped", [103]], [[119893, 119893], "disallowed"], [[119894, 119894], "mapped", [105]], [[119895, 119895], "mapped", [106]], [[119896, 119896], "mapped", [107]], [[119897, 119897], "mapped", [108]], [[119898, 119898], "mapped", [109]], [[119899, 119899], "mapped", [110]], [[119900, 119900], "mapped", [111]], [[119901, 119901], "mapped", [112]], [[119902, 119902], "mapped", [113]], [[119903, 119903], "mapped", [114]], [[119904, 119904], "mapped", [115]], [[119905, 119905], "mapped", [116]], [[119906, 119906], "mapped", [117]], [[119907, 119907], "mapped", [118]], [[119908, 119908], "mapped", [119]], [[119909, 119909], "mapped", [120]], [[119910, 119910], "mapped", [121]], [[119911, 119911], "mapped", [122]], [[119912, 119912], "mapped", [97]], [[119913, 119913], "mapped", [98]], [[119914, 119914], "mapped", [99]], [[119915, 119915], "mapped", [100]], [[119916, 119916], "mapped", [101]], [[119917, 119917], "mapped", [102]], [[119918, 119918], "mapped", [103]], [[119919, 119919], "mapped", [104]], [[119920, 119920], "mapped", [105]], [[119921, 119921], "mapped", [106]], [[119922, 119922], "mapped", [107]], [[119923, 119923], "mapped", [108]], [[119924, 119924], "mapped", [109]], [[119925, 119925], "mapped", [110]], [[119926, 119926], "mapped", [111]], [[119927, 119927], "mapped", [112]], [[119928, 119928], "mapped", [113]], [[119929, 119929], "mapped", [114]], [[119930, 119930], "mapped", [115]], [[119931, 119931], "mapped", [116]], [[119932, 119932], "mapped", [117]], [[119933, 119933], "mapped", [118]], [[119934, 119934], "mapped", [119]], [[119935, 119935], "mapped", [120]], [[119936, 119936], "mapped", [121]], [[119937, 119937], "mapped", [122]], [[119938, 119938], "mapped", [97]], [[119939, 119939], "mapped", [98]], [[119940, 119940], "mapped", [99]], [[119941, 119941], "mapped", [100]], [[119942, 119942], "mapped", [101]], [[119943, 119943], "mapped", [102]], [[119944, 119944], "mapped", [103]], [[119945, 119945], "mapped", [104]], [[119946, 119946], "mapped", [105]], [[119947, 119947], "mapped", [106]], [[119948, 119948], "mapped", [107]], [[119949, 119949], "mapped", [108]], [[119950, 119950], "mapped", [109]], [[119951, 119951], "mapped", [110]], [[119952, 119952], "mapped", [111]], [[119953, 119953], "mapped", [112]], [[119954, 119954], "mapped", [113]], [[119955, 119955], "mapped", [114]], [[119956, 119956], "mapped", [115]], [[119957, 119957], "mapped", [116]], [[119958, 119958], "mapped", [117]], [[119959, 119959], "mapped", [118]], [[119960, 119960], "mapped", [119]], [[119961, 119961], "mapped", [120]], [[119962, 119962], "mapped", [121]], [[119963, 119963], "mapped", [122]], [[119964, 119964], "mapped", [97]], [[119965, 119965], "disallowed"], [[119966, 119966], "mapped", [99]], [[119967, 119967], "mapped", [100]], [[119968, 119969], "disallowed"], [[119970, 119970], "mapped", [103]], [[119971, 119972], "disallowed"], [[119973, 119973], "mapped", [106]], [[119974, 119974], "mapped", [107]], [[119975, 119976], "disallowed"], [[119977, 119977], "mapped", [110]], [[119978, 119978], "mapped", [111]], [[119979, 119979], "mapped", [112]], [[119980, 119980], "mapped", [113]], [[119981, 119981], "disallowed"], [[119982, 119982], "mapped", [115]], [[119983, 119983], "mapped", [116]], [[119984, 119984], "mapped", [117]], [[119985, 119985], "mapped", [118]], [[119986, 119986], "mapped", [119]], [[119987, 119987], "mapped", [120]], [[119988, 119988], "mapped", [121]], [[119989, 119989], "mapped", [122]], [[119990, 119990], "mapped", [97]], [[119991, 119991], "mapped", [98]], [[119992, 119992], "mapped", [99]], [[119993, 119993], "mapped", [100]], [[119994, 119994], "disallowed"], [[119995, 119995], "mapped", [102]], [[119996, 119996], "disallowed"], [[119997, 119997], "mapped", [104]], [[119998, 119998], "mapped", [105]], [[119999, 119999], "mapped", [106]], [[12e4, 12e4], "mapped", [107]], [[120001, 120001], "mapped", [108]], [[120002, 120002], "mapped", [109]], [[120003, 120003], "mapped", [110]], [[120004, 120004], "disallowed"], [[120005, 120005], "mapped", [112]], [[120006, 120006], "mapped", [113]], [[120007, 120007], "mapped", [114]], [[120008, 120008], "mapped", [115]], [[120009, 120009], "mapped", [116]], [[120010, 120010], "mapped", [117]], [[120011, 120011], "mapped", [118]], [[120012, 120012], "mapped", [119]], [[120013, 120013], "mapped", [120]], [[120014, 120014], "mapped", [121]], [[120015, 120015], "mapped", [122]], [[120016, 120016], "mapped", [97]], [[120017, 120017], "mapped", [98]], [[120018, 120018], "mapped", [99]], [[120019, 120019], "mapped", [100]], [[120020, 120020], "mapped", [101]], [[120021, 120021], "mapped", [102]], [[120022, 120022], "mapped", [103]], [[120023, 120023], "mapped", [104]], [[120024, 120024], "mapped", [105]], [[120025, 120025], "mapped", [106]], [[120026, 120026], "mapped", [107]], [[120027, 120027], "mapped", [108]], [[120028, 120028], "mapped", [109]], [[120029, 120029], "mapped", [110]], [[120030, 120030], "mapped", [111]], [[120031, 120031], "mapped", [112]], [[120032, 120032], "mapped", [113]], [[120033, 120033], "mapped", [114]], [[120034, 120034], "mapped", [115]], [[120035, 120035], "mapped", [116]], [[120036, 120036], "mapped", [117]], [[120037, 120037], "mapped", [118]], [[120038, 120038], "mapped", [119]], [[120039, 120039], "mapped", [120]], [[120040, 120040], "mapped", [121]], [[120041, 120041], "mapped", [122]], [[120042, 120042], "mapped", [97]], [[120043, 120043], "mapped", [98]], [[120044, 120044], "mapped", [99]], [[120045, 120045], "mapped", [100]], [[120046, 120046], "mapped", [101]], [[120047, 120047], "mapped", [102]], [[120048, 120048], "mapped", [103]], [[120049, 120049], "mapped", [104]], [[120050, 120050], "mapped", [105]], [[120051, 120051], "mapped", [106]], [[120052, 120052], "mapped", [107]], [[120053, 120053], "mapped", [108]], [[120054, 120054], "mapped", [109]], [[120055, 120055], "mapped", [110]], [[120056, 120056], "mapped", [111]], [[120057, 120057], "mapped", [112]], [[120058, 120058], "mapped", [113]], [[120059, 120059], "mapped", [114]], [[120060, 120060], "mapped", [115]], [[120061, 120061], "mapped", [116]], [[120062, 120062], "mapped", [117]], [[120063, 120063], "mapped", [118]], [[120064, 120064], "mapped", [119]], [[120065, 120065], "mapped", [120]], [[120066, 120066], "mapped", [121]], [[120067, 120067], "mapped", [122]], [[120068, 120068], "mapped", [97]], [[120069, 120069], "mapped", [98]], [[120070, 120070], "disallowed"], [[120071, 120071], "mapped", [100]], [[120072, 120072], "mapped", [101]], [[120073, 120073], "mapped", [102]], [[120074, 120074], "mapped", [103]], [[120075, 120076], "disallowed"], [[120077, 120077], "mapped", [106]], [[120078, 120078], "mapped", [107]], [[120079, 120079], "mapped", [108]], [[120080, 120080], "mapped", [109]], [[120081, 120081], "mapped", [110]], [[120082, 120082], "mapped", [111]], [[120083, 120083], "mapped", [112]], [[120084, 120084], "mapped", [113]], [[120085, 120085], "disallowed"], [[120086, 120086], "mapped", [115]], [[120087, 120087], "mapped", [116]], [[120088, 120088], "mapped", [117]], [[120089, 120089], "mapped", [118]], [[120090, 120090], "mapped", [119]], [[120091, 120091], "mapped", [120]], [[120092, 120092], "mapped", [121]], [[120093, 120093], "disallowed"], [[120094, 120094], "mapped", [97]], [[120095, 120095], "mapped", [98]], [[120096, 120096], "mapped", [99]], [[120097, 120097], "mapped", [100]], [[120098, 120098], "mapped", [101]], [[120099, 120099], "mapped", [102]], [[120100, 120100], "mapped", [103]], [[120101, 120101], "mapped", [104]], [[120102, 120102], "mapped", [105]], [[120103, 120103], "mapped", [106]], [[120104, 120104], "mapped", [107]], [[120105, 120105], "mapped", [108]], [[120106, 120106], "mapped", [109]], [[120107, 120107], "mapped", [110]], [[120108, 120108], "mapped", [111]], [[120109, 120109], "mapped", [112]], [[120110, 120110], "mapped", [113]], [[120111, 120111], "mapped", [114]], [[120112, 120112], "mapped", [115]], [[120113, 120113], "mapped", [116]], [[120114, 120114], "mapped", [117]], [[120115, 120115], "mapped", [118]], [[120116, 120116], "mapped", [119]], [[120117, 120117], "mapped", [120]], [[120118, 120118], "mapped", [121]], [[120119, 120119], "mapped", [122]], [[120120, 120120], "mapped", [97]], [[120121, 120121], "mapped", [98]], [[120122, 120122], "disallowed"], [[120123, 120123], "mapped", [100]], [[120124, 120124], "mapped", [101]], [[120125, 120125], "mapped", [102]], [[120126, 120126], "mapped", [103]], [[120127, 120127], "disallowed"], [[120128, 120128], "mapped", [105]], [[120129, 120129], "mapped", [106]], [[120130, 120130], "mapped", [107]], [[120131, 120131], "mapped", [108]], [[120132, 120132], "mapped", [109]], [[120133, 120133], "disallowed"], [[120134, 120134], "mapped", [111]], [[120135, 120137], "disallowed"], [[120138, 120138], "mapped", [115]], [[120139, 120139], "mapped", [116]], [[120140, 120140], "mapped", [117]], [[120141, 120141], "mapped", [118]], [[120142, 120142], "mapped", [119]], [[120143, 120143], "mapped", [120]], [[120144, 120144], "mapped", [121]], [[120145, 120145], "disallowed"], [[120146, 120146], "mapped", [97]], [[120147, 120147], "mapped", [98]], [[120148, 120148], "mapped", [99]], [[120149, 120149], "mapped", [100]], [[120150, 120150], "mapped", [101]], [[120151, 120151], "mapped", [102]], [[120152, 120152], "mapped", [103]], [[120153, 120153], "mapped", [104]], [[120154, 120154], "mapped", [105]], [[120155, 120155], "mapped", [106]], [[120156, 120156], "mapped", [107]], [[120157, 120157], "mapped", [108]], [[120158, 120158], "mapped", [109]], [[120159, 120159], "mapped", [110]], [[120160, 120160], "mapped", [111]], [[120161, 120161], "mapped", [112]], [[120162, 120162], "mapped", [113]], [[120163, 120163], "mapped", [114]], [[120164, 120164], "mapped", [115]], [[120165, 120165], "mapped", [116]], [[120166, 120166], "mapped", [117]], [[120167, 120167], "mapped", [118]], [[120168, 120168], "mapped", [119]], [[120169, 120169], "mapped", [120]], [[120170, 120170], "mapped", [121]], [[120171, 120171], "mapped", [122]], [[120172, 120172], "mapped", [97]], [[120173, 120173], "mapped", [98]], [[120174, 120174], "mapped", [99]], [[120175, 120175], "mapped", [100]], [[120176, 120176], "mapped", [101]], [[120177, 120177], "mapped", [102]], [[120178, 120178], "mapped", [103]], [[120179, 120179], "mapped", [104]], [[120180, 120180], "mapped", [105]], [[120181, 120181], "mapped", [106]], [[120182, 120182], "mapped", [107]], [[120183, 120183], "mapped", [108]], [[120184, 120184], "mapped", [109]], [[120185, 120185], "mapped", [110]], [[120186, 120186], "mapped", [111]], [[120187, 120187], "mapped", [112]], [[120188, 120188], "mapped", [113]], [[120189, 120189], "mapped", [114]], [[120190, 120190], "mapped", [115]], [[120191, 120191], "mapped", [116]], [[120192, 120192], "mapped", [117]], [[120193, 120193], "mapped", [118]], [[120194, 120194], "mapped", [119]], [[120195, 120195], "mapped", [120]], [[120196, 120196], "mapped", [121]], [[120197, 120197], "mapped", [122]], [[120198, 120198], "mapped", [97]], [[120199, 120199], "mapped", [98]], [[120200, 120200], "mapped", [99]], [[120201, 120201], "mapped", [100]], [[120202, 120202], "mapped", [101]], [[120203, 120203], "mapped", [102]], [[120204, 120204], "mapped", [103]], [[120205, 120205], "mapped", [104]], [[120206, 120206], "mapped", [105]], [[120207, 120207], "mapped", [106]], [[120208, 120208], "mapped", [107]], [[120209, 120209], "mapped", [108]], [[120210, 120210], "mapped", [109]], [[120211, 120211], "mapped", [110]], [[120212, 120212], "mapped", [111]], [[120213, 120213], "mapped", [112]], [[120214, 120214], "mapped", [113]], [[120215, 120215], "mapped", [114]], [[120216, 120216], "mapped", [115]], [[120217, 120217], "mapped", [116]], [[120218, 120218], "mapped", [117]], [[120219, 120219], "mapped", [118]], [[120220, 120220], "mapped", [119]], [[120221, 120221], "mapped", [120]], [[120222, 120222], "mapped", [121]], [[120223, 120223], "mapped", [122]], [[120224, 120224], "mapped", [97]], [[120225, 120225], "mapped", [98]], [[120226, 120226], "mapped", [99]], [[120227, 120227], "mapped", [100]], [[120228, 120228], "mapped", [101]], [[120229, 120229], "mapped", [102]], [[120230, 120230], "mapped", [103]], [[120231, 120231], "mapped", [104]], [[120232, 120232], "mapped", [105]], [[120233, 120233], "mapped", [106]], [[120234, 120234], "mapped", [107]], [[120235, 120235], "mapped", [108]], [[120236, 120236], "mapped", [109]], [[120237, 120237], "mapped", [110]], [[120238, 120238], "mapped", [111]], [[120239, 120239], "mapped", [112]], [[120240, 120240], "mapped", [113]], [[120241, 120241], "mapped", [114]], [[120242, 120242], "mapped", [115]], [[120243, 120243], "mapped", [116]], [[120244, 120244], "mapped", [117]], [[120245, 120245], "mapped", [118]], [[120246, 120246], "mapped", [119]], [[120247, 120247], "mapped", [120]], [[120248, 120248], "mapped", [121]], [[120249, 120249], "mapped", [122]], [[120250, 120250], "mapped", [97]], [[120251, 120251], "mapped", [98]], [[120252, 120252], "mapped", [99]], [[120253, 120253], "mapped", [100]], [[120254, 120254], "mapped", [101]], [[120255, 120255], "mapped", [102]], [[120256, 120256], "mapped", [103]], [[120257, 120257], "mapped", [104]], [[120258, 120258], "mapped", [105]], [[120259, 120259], "mapped", [106]], [[120260, 120260], "mapped", [107]], [[120261, 120261], "mapped", [108]], [[120262, 120262], "mapped", [109]], [[120263, 120263], "mapped", [110]], [[120264, 120264], "mapped", [111]], [[120265, 120265], "mapped", [112]], [[120266, 120266], "mapped", [113]], [[120267, 120267], "mapped", [114]], [[120268, 120268], "mapped", [115]], [[120269, 120269], "mapped", [116]], [[120270, 120270], "mapped", [117]], [[120271, 120271], "mapped", [118]], [[120272, 120272], "mapped", [119]], [[120273, 120273], "mapped", [120]], [[120274, 120274], "mapped", [121]], [[120275, 120275], "mapped", [122]], [[120276, 120276], "mapped", [97]], [[120277, 120277], "mapped", [98]], [[120278, 120278], "mapped", [99]], [[120279, 120279], "mapped", [100]], [[120280, 120280], "mapped", [101]], [[120281, 120281], "mapped", [102]], [[120282, 120282], "mapped", [103]], [[120283, 120283], "mapped", [104]], [[120284, 120284], "mapped", [105]], [[120285, 120285], "mapped", [106]], [[120286, 120286], "mapped", [107]], [[120287, 120287], "mapped", [108]], [[120288, 120288], "mapped", [109]], [[120289, 120289], "mapped", [110]], [[120290, 120290], "mapped", [111]], [[120291, 120291], "mapped", [112]], [[120292, 120292], "mapped", [113]], [[120293, 120293], "mapped", [114]], [[120294, 120294], "mapped", [115]], [[120295, 120295], "mapped", [116]], [[120296, 120296], "mapped", [117]], [[120297, 120297], "mapped", [118]], [[120298, 120298], "mapped", [119]], [[120299, 120299], "mapped", [120]], [[120300, 120300], "mapped", [121]], [[120301, 120301], "mapped", [122]], [[120302, 120302], "mapped", [97]], [[120303, 120303], "mapped", [98]], [[120304, 120304], "mapped", [99]], [[120305, 120305], "mapped", [100]], [[120306, 120306], "mapped", [101]], [[120307, 120307], "mapped", [102]], [[120308, 120308], "mapped", [103]], [[120309, 120309], "mapped", [104]], [[120310, 120310], "mapped", [105]], [[120311, 120311], "mapped", [106]], [[120312, 120312], "mapped", [107]], [[120313, 120313], "mapped", [108]], [[120314, 120314], "mapped", [109]], [[120315, 120315], "mapped", [110]], [[120316, 120316], "mapped", [111]], [[120317, 120317], "mapped", [112]], [[120318, 120318], "mapped", [113]], [[120319, 120319], "mapped", [114]], [[120320, 120320], "mapped", [115]], [[120321, 120321], "mapped", [116]], [[120322, 120322], "mapped", [117]], [[120323, 120323], "mapped", [118]], [[120324, 120324], "mapped", [119]], [[120325, 120325], "mapped", [120]], [[120326, 120326], "mapped", [121]], [[120327, 120327], "mapped", [122]], [[120328, 120328], "mapped", [97]], [[120329, 120329], "mapped", [98]], [[120330, 120330], "mapped", [99]], [[120331, 120331], "mapped", [100]], [[120332, 120332], "mapped", [101]], [[120333, 120333], "mapped", [102]], [[120334, 120334], "mapped", [103]], [[120335, 120335], "mapped", [104]], [[120336, 120336], "mapped", [105]], [[120337, 120337], "mapped", [106]], [[120338, 120338], "mapped", [107]], [[120339, 120339], "mapped", [108]], [[120340, 120340], "mapped", [109]], [[120341, 120341], "mapped", [110]], [[120342, 120342], "mapped", [111]], [[120343, 120343], "mapped", [112]], [[120344, 120344], "mapped", [113]], [[120345, 120345], "mapped", [114]], [[120346, 120346], "mapped", [115]], [[120347, 120347], "mapped", [116]], [[120348, 120348], "mapped", [117]], [[120349, 120349], "mapped", [118]], [[120350, 120350], "mapped", [119]], [[120351, 120351], "mapped", [120]], [[120352, 120352], "mapped", [121]], [[120353, 120353], "mapped", [122]], [[120354, 120354], "mapped", [97]], [[120355, 120355], "mapped", [98]], [[120356, 120356], "mapped", [99]], [[120357, 120357], "mapped", [100]], [[120358, 120358], "mapped", [101]], [[120359, 120359], "mapped", [102]], [[120360, 120360], "mapped", [103]], [[120361, 120361], "mapped", [104]], [[120362, 120362], "mapped", [105]], [[120363, 120363], "mapped", [106]], [[120364, 120364], "mapped", [107]], [[120365, 120365], "mapped", [108]], [[120366, 120366], "mapped", [109]], [[120367, 120367], "mapped", [110]], [[120368, 120368], "mapped", [111]], [[120369, 120369], "mapped", [112]], [[120370, 120370], "mapped", [113]], [[120371, 120371], "mapped", [114]], [[120372, 120372], "mapped", [115]], [[120373, 120373], "mapped", [116]], [[120374, 120374], "mapped", [117]], [[120375, 120375], "mapped", [118]], [[120376, 120376], "mapped", [119]], [[120377, 120377], "mapped", [120]], [[120378, 120378], "mapped", [121]], [[120379, 120379], "mapped", [122]], [[120380, 120380], "mapped", [97]], [[120381, 120381], "mapped", [98]], [[120382, 120382], "mapped", [99]], [[120383, 120383], "mapped", [100]], [[120384, 120384], "mapped", [101]], [[120385, 120385], "mapped", [102]], [[120386, 120386], "mapped", [103]], [[120387, 120387], "mapped", [104]], [[120388, 120388], "mapped", [105]], [[120389, 120389], "mapped", [106]], [[120390, 120390], "mapped", [107]], [[120391, 120391], "mapped", [108]], [[120392, 120392], "mapped", [109]], [[120393, 120393], "mapped", [110]], [[120394, 120394], "mapped", [111]], [[120395, 120395], "mapped", [112]], [[120396, 120396], "mapped", [113]], [[120397, 120397], "mapped", [114]], [[120398, 120398], "mapped", [115]], [[120399, 120399], "mapped", [116]], [[120400, 120400], "mapped", [117]], [[120401, 120401], "mapped", [118]], [[120402, 120402], "mapped", [119]], [[120403, 120403], "mapped", [120]], [[120404, 120404], "mapped", [121]], [[120405, 120405], "mapped", [122]], [[120406, 120406], "mapped", [97]], [[120407, 120407], "mapped", [98]], [[120408, 120408], "mapped", [99]], [[120409, 120409], "mapped", [100]], [[120410, 120410], "mapped", [101]], [[120411, 120411], "mapped", [102]], [[120412, 120412], "mapped", [103]], [[120413, 120413], "mapped", [104]], [[120414, 120414], "mapped", [105]], [[120415, 120415], "mapped", [106]], [[120416, 120416], "mapped", [107]], [[120417, 120417], "mapped", [108]], [[120418, 120418], "mapped", [109]], [[120419, 120419], "mapped", [110]], [[120420, 120420], "mapped", [111]], [[120421, 120421], "mapped", [112]], [[120422, 120422], "mapped", [113]], [[120423, 120423], "mapped", [114]], [[120424, 120424], "mapped", [115]], [[120425, 120425], "mapped", [116]], [[120426, 120426], "mapped", [117]], [[120427, 120427], "mapped", [118]], [[120428, 120428], "mapped", [119]], [[120429, 120429], "mapped", [120]], [[120430, 120430], "mapped", [121]], [[120431, 120431], "mapped", [122]], [[120432, 120432], "mapped", [97]], [[120433, 120433], "mapped", [98]], [[120434, 120434], "mapped", [99]], [[120435, 120435], "mapped", [100]], [[120436, 120436], "mapped", [101]], [[120437, 120437], "mapped", [102]], [[120438, 120438], "mapped", [103]], [[120439, 120439], "mapped", [104]], [[120440, 120440], "mapped", [105]], [[120441, 120441], "mapped", [106]], [[120442, 120442], "mapped", [107]], [[120443, 120443], "mapped", [108]], [[120444, 120444], "mapped", [109]], [[120445, 120445], "mapped", [110]], [[120446, 120446], "mapped", [111]], [[120447, 120447], "mapped", [112]], [[120448, 120448], "mapped", [113]], [[120449, 120449], "mapped", [114]], [[120450, 120450], "mapped", [115]], [[120451, 120451], "mapped", [116]], [[120452, 120452], "mapped", [117]], [[120453, 120453], "mapped", [118]], [[120454, 120454], "mapped", [119]], [[120455, 120455], "mapped", [120]], [[120456, 120456], "mapped", [121]], [[120457, 120457], "mapped", [122]], [[120458, 120458], "mapped", [97]], [[120459, 120459], "mapped", [98]], [[120460, 120460], "mapped", [99]], [[120461, 120461], "mapped", [100]], [[120462, 120462], "mapped", [101]], [[120463, 120463], "mapped", [102]], [[120464, 120464], "mapped", [103]], [[120465, 120465], "mapped", [104]], [[120466, 120466], "mapped", [105]], [[120467, 120467], "mapped", [106]], [[120468, 120468], "mapped", [107]], [[120469, 120469], "mapped", [108]], [[120470, 120470], "mapped", [109]], [[120471, 120471], "mapped", [110]], [[120472, 120472], "mapped", [111]], [[120473, 120473], "mapped", [112]], [[120474, 120474], "mapped", [113]], [[120475, 120475], "mapped", [114]], [[120476, 120476], "mapped", [115]], [[120477, 120477], "mapped", [116]], [[120478, 120478], "mapped", [117]], [[120479, 120479], "mapped", [118]], [[120480, 120480], "mapped", [119]], [[120481, 120481], "mapped", [120]], [[120482, 120482], "mapped", [121]], [[120483, 120483], "mapped", [122]], [[120484, 120484], "mapped", [305]], [[120485, 120485], "mapped", [567]], [[120486, 120487], "disallowed"], [[120488, 120488], "mapped", [945]], [[120489, 120489], "mapped", [946]], [[120490, 120490], "mapped", [947]], [[120491, 120491], "mapped", [948]], [[120492, 120492], "mapped", [949]], [[120493, 120493], "mapped", [950]], [[120494, 120494], "mapped", [951]], [[120495, 120495], "mapped", [952]], [[120496, 120496], "mapped", [953]], [[120497, 120497], "mapped", [954]], [[120498, 120498], "mapped", [955]], [[120499, 120499], "mapped", [956]], [[120500, 120500], "mapped", [957]], [[120501, 120501], "mapped", [958]], [[120502, 120502], "mapped", [959]], [[120503, 120503], "mapped", [960]], [[120504, 120504], "mapped", [961]], [[120505, 120505], "mapped", [952]], [[120506, 120506], "mapped", [963]], [[120507, 120507], "mapped", [964]], [[120508, 120508], "mapped", [965]], [[120509, 120509], "mapped", [966]], [[120510, 120510], "mapped", [967]], [[120511, 120511], "mapped", [968]], [[120512, 120512], "mapped", [969]], [[120513, 120513], "mapped", [8711]], [[120514, 120514], "mapped", [945]], [[120515, 120515], "mapped", [946]], [[120516, 120516], "mapped", [947]], [[120517, 120517], "mapped", [948]], [[120518, 120518], "mapped", [949]], [[120519, 120519], "mapped", [950]], [[120520, 120520], "mapped", [951]], [[120521, 120521], "mapped", [952]], [[120522, 120522], "mapped", [953]], [[120523, 120523], "mapped", [954]], [[120524, 120524], "mapped", [955]], [[120525, 120525], "mapped", [956]], [[120526, 120526], "mapped", [957]], [[120527, 120527], "mapped", [958]], [[120528, 120528], "mapped", [959]], [[120529, 120529], "mapped", [960]], [[120530, 120530], "mapped", [961]], [[120531, 120532], "mapped", [963]], [[120533, 120533], "mapped", [964]], [[120534, 120534], "mapped", [965]], [[120535, 120535], "mapped", [966]], [[120536, 120536], "mapped", [967]], [[120537, 120537], "mapped", [968]], [[120538, 120538], "mapped", [969]], [[120539, 120539], "mapped", [8706]], [[120540, 120540], "mapped", [949]], [[120541, 120541], "mapped", [952]], [[120542, 120542], "mapped", [954]], [[120543, 120543], "mapped", [966]], [[120544, 120544], "mapped", [961]], [[120545, 120545], "mapped", [960]], [[120546, 120546], "mapped", [945]], [[120547, 120547], "mapped", [946]], [[120548, 120548], "mapped", [947]], [[120549, 120549], "mapped", [948]], [[120550, 120550], "mapped", [949]], [[120551, 120551], "mapped", [950]], [[120552, 120552], "mapped", [951]], [[120553, 120553], "mapped", [952]], [[120554, 120554], "mapped", [953]], [[120555, 120555], "mapped", [954]], [[120556, 120556], "mapped", [955]], [[120557, 120557], "mapped", [956]], [[120558, 120558], "mapped", [957]], [[120559, 120559], "mapped", [958]], [[120560, 120560], "mapped", [959]], [[120561, 120561], "mapped", [960]], [[120562, 120562], "mapped", [961]], [[120563, 120563], "mapped", [952]], [[120564, 120564], "mapped", [963]], [[120565, 120565], "mapped", [964]], [[120566, 120566], "mapped", [965]], [[120567, 120567], "mapped", [966]], [[120568, 120568], "mapped", [967]], [[120569, 120569], "mapped", [968]], [[120570, 120570], "mapped", [969]], [[120571, 120571], "mapped", [8711]], [[120572, 120572], "mapped", [945]], [[120573, 120573], "mapped", [946]], [[120574, 120574], "mapped", [947]], [[120575, 120575], "mapped", [948]], [[120576, 120576], "mapped", [949]], [[120577, 120577], "mapped", [950]], [[120578, 120578], "mapped", [951]], [[120579, 120579], "mapped", [952]], [[120580, 120580], "mapped", [953]], [[120581, 120581], "mapped", [954]], [[120582, 120582], "mapped", [955]], [[120583, 120583], "mapped", [956]], [[120584, 120584], "mapped", [957]], [[120585, 120585], "mapped", [958]], [[120586, 120586], "mapped", [959]], [[120587, 120587], "mapped", [960]], [[120588, 120588], "mapped", [961]], [[120589, 120590], "mapped", [963]], [[120591, 120591], "mapped", [964]], [[120592, 120592], "mapped", [965]], [[120593, 120593], "mapped", [966]], [[120594, 120594], "mapped", [967]], [[120595, 120595], "mapped", [968]], [[120596, 120596], "mapped", [969]], [[120597, 120597], "mapped", [8706]], [[120598, 120598], "mapped", [949]], [[120599, 120599], "mapped", [952]], [[120600, 120600], "mapped", [954]], [[120601, 120601], "mapped", [966]], [[120602, 120602], "mapped", [961]], [[120603, 120603], "mapped", [960]], [[120604, 120604], "mapped", [945]], [[120605, 120605], "mapped", [946]], [[120606, 120606], "mapped", [947]], [[120607, 120607], "mapped", [948]], [[120608, 120608], "mapped", [949]], [[120609, 120609], "mapped", [950]], [[120610, 120610], "mapped", [951]], [[120611, 120611], "mapped", [952]], [[120612, 120612], "mapped", [953]], [[120613, 120613], "mapped", [954]], [[120614, 120614], "mapped", [955]], [[120615, 120615], "mapped", [956]], [[120616, 120616], "mapped", [957]], [[120617, 120617], "mapped", [958]], [[120618, 120618], "mapped", [959]], [[120619, 120619], "mapped", [960]], [[120620, 120620], "mapped", [961]], [[120621, 120621], "mapped", [952]], [[120622, 120622], "mapped", [963]], [[120623, 120623], "mapped", [964]], [[120624, 120624], "mapped", [965]], [[120625, 120625], "mapped", [966]], [[120626, 120626], "mapped", [967]], [[120627, 120627], "mapped", [968]], [[120628, 120628], "mapped", [969]], [[120629, 120629], "mapped", [8711]], [[120630, 120630], "mapped", [945]], [[120631, 120631], "mapped", [946]], [[120632, 120632], "mapped", [947]], [[120633, 120633], "mapped", [948]], [[120634, 120634], "mapped", [949]], [[120635, 120635], "mapped", [950]], [[120636, 120636], "mapped", [951]], [[120637, 120637], "mapped", [952]], [[120638, 120638], "mapped", [953]], [[120639, 120639], "mapped", [954]], [[120640, 120640], "mapped", [955]], [[120641, 120641], "mapped", [956]], [[120642, 120642], "mapped", [957]], [[120643, 120643], "mapped", [958]], [[120644, 120644], "mapped", [959]], [[120645, 120645], "mapped", [960]], [[120646, 120646], "mapped", [961]], [[120647, 120648], "mapped", [963]], [[120649, 120649], "mapped", [964]], [[120650, 120650], "mapped", [965]], [[120651, 120651], "mapped", [966]], [[120652, 120652], "mapped", [967]], [[120653, 120653], "mapped", [968]], [[120654, 120654], "mapped", [969]], [[120655, 120655], "mapped", [8706]], [[120656, 120656], "mapped", [949]], [[120657, 120657], "mapped", [952]], [[120658, 120658], "mapped", [954]], [[120659, 120659], "mapped", [966]], [[120660, 120660], "mapped", [961]], [[120661, 120661], "mapped", [960]], [[120662, 120662], "mapped", [945]], [[120663, 120663], "mapped", [946]], [[120664, 120664], "mapped", [947]], [[120665, 120665], "mapped", [948]], [[120666, 120666], "mapped", [949]], [[120667, 120667], "mapped", [950]], [[120668, 120668], "mapped", [951]], [[120669, 120669], "mapped", [952]], [[120670, 120670], "mapped", [953]], [[120671, 120671], "mapped", [954]], [[120672, 120672], "mapped", [955]], [[120673, 120673], "mapped", [956]], [[120674, 120674], "mapped", [957]], [[120675, 120675], "mapped", [958]], [[120676, 120676], "mapped", [959]], [[120677, 120677], "mapped", [960]], [[120678, 120678], "mapped", [961]], [[120679, 120679], "mapped", [952]], [[120680, 120680], "mapped", [963]], [[120681, 120681], "mapped", [964]], [[120682, 120682], "mapped", [965]], [[120683, 120683], "mapped", [966]], [[120684, 120684], "mapped", [967]], [[120685, 120685], "mapped", [968]], [[120686, 120686], "mapped", [969]], [[120687, 120687], "mapped", [8711]], [[120688, 120688], "mapped", [945]], [[120689, 120689], "mapped", [946]], [[120690, 120690], "mapped", [947]], [[120691, 120691], "mapped", [948]], [[120692, 120692], "mapped", [949]], [[120693, 120693], "mapped", [950]], [[120694, 120694], "mapped", [951]], [[120695, 120695], "mapped", [952]], [[120696, 120696], "mapped", [953]], [[120697, 120697], "mapped", [954]], [[120698, 120698], "mapped", [955]], [[120699, 120699], "mapped", [956]], [[120700, 120700], "mapped", [957]], [[120701, 120701], "mapped", [958]], [[120702, 120702], "mapped", [959]], [[120703, 120703], "mapped", [960]], [[120704, 120704], "mapped", [961]], [[120705, 120706], "mapped", [963]], [[120707, 120707], "mapped", [964]], [[120708, 120708], "mapped", [965]], [[120709, 120709], "mapped", [966]], [[120710, 120710], "mapped", [967]], [[120711, 120711], "mapped", [968]], [[120712, 120712], "mapped", [969]], [[120713, 120713], "mapped", [8706]], [[120714, 120714], "mapped", [949]], [[120715, 120715], "mapped", [952]], [[120716, 120716], "mapped", [954]], [[120717, 120717], "mapped", [966]], [[120718, 120718], "mapped", [961]], [[120719, 120719], "mapped", [960]], [[120720, 120720], "mapped", [945]], [[120721, 120721], "mapped", [946]], [[120722, 120722], "mapped", [947]], [[120723, 120723], "mapped", [948]], [[120724, 120724], "mapped", [949]], [[120725, 120725], "mapped", [950]], [[120726, 120726], "mapped", [951]], [[120727, 120727], "mapped", [952]], [[120728, 120728], "mapped", [953]], [[120729, 120729], "mapped", [954]], [[120730, 120730], "mapped", [955]], [[120731, 120731], "mapped", [956]], [[120732, 120732], "mapped", [957]], [[120733, 120733], "mapped", [958]], [[120734, 120734], "mapped", [959]], [[120735, 120735], "mapped", [960]], [[120736, 120736], "mapped", [961]], [[120737, 120737], "mapped", [952]], [[120738, 120738], "mapped", [963]], [[120739, 120739], "mapped", [964]], [[120740, 120740], "mapped", [965]], [[120741, 120741], "mapped", [966]], [[120742, 120742], "mapped", [967]], [[120743, 120743], "mapped", [968]], [[120744, 120744], "mapped", [969]], [[120745, 120745], "mapped", [8711]], [[120746, 120746], "mapped", [945]], [[120747, 120747], "mapped", [946]], [[120748, 120748], "mapped", [947]], [[120749, 120749], "mapped", [948]], [[120750, 120750], "mapped", [949]], [[120751, 120751], "mapped", [950]], [[120752, 120752], "mapped", [951]], [[120753, 120753], "mapped", [952]], [[120754, 120754], "mapped", [953]], [[120755, 120755], "mapped", [954]], [[120756, 120756], "mapped", [955]], [[120757, 120757], "mapped", [956]], [[120758, 120758], "mapped", [957]], [[120759, 120759], "mapped", [958]], [[120760, 120760], "mapped", [959]], [[120761, 120761], "mapped", [960]], [[120762, 120762], "mapped", [961]], [[120763, 120764], "mapped", [963]], [[120765, 120765], "mapped", [964]], [[120766, 120766], "mapped", [965]], [[120767, 120767], "mapped", [966]], [[120768, 120768], "mapped", [967]], [[120769, 120769], "mapped", [968]], [[120770, 120770], "mapped", [969]], [[120771, 120771], "mapped", [8706]], [[120772, 120772], "mapped", [949]], [[120773, 120773], "mapped", [952]], [[120774, 120774], "mapped", [954]], [[120775, 120775], "mapped", [966]], [[120776, 120776], "mapped", [961]], [[120777, 120777], "mapped", [960]], [[120778, 120779], "mapped", [989]], [[120780, 120781], "disallowed"], [[120782, 120782], "mapped", [48]], [[120783, 120783], "mapped", [49]], [[120784, 120784], "mapped", [50]], [[120785, 120785], "mapped", [51]], [[120786, 120786], "mapped", [52]], [[120787, 120787], "mapped", [53]], [[120788, 120788], "mapped", [54]], [[120789, 120789], "mapped", [55]], [[120790, 120790], "mapped", [56]], [[120791, 120791], "mapped", [57]], [[120792, 120792], "mapped", [48]], [[120793, 120793], "mapped", [49]], [[120794, 120794], "mapped", [50]], [[120795, 120795], "mapped", [51]], [[120796, 120796], "mapped", [52]], [[120797, 120797], "mapped", [53]], [[120798, 120798], "mapped", [54]], [[120799, 120799], "mapped", [55]], [[120800, 120800], "mapped", [56]], [[120801, 120801], "mapped", [57]], [[120802, 120802], "mapped", [48]], [[120803, 120803], "mapped", [49]], [[120804, 120804], "mapped", [50]], [[120805, 120805], "mapped", [51]], [[120806, 120806], "mapped", [52]], [[120807, 120807], "mapped", [53]], [[120808, 120808], "mapped", [54]], [[120809, 120809], "mapped", [55]], [[120810, 120810], "mapped", [56]], [[120811, 120811], "mapped", [57]], [[120812, 120812], "mapped", [48]], [[120813, 120813], "mapped", [49]], [[120814, 120814], "mapped", [50]], [[120815, 120815], "mapped", [51]], [[120816, 120816], "mapped", [52]], [[120817, 120817], "mapped", [53]], [[120818, 120818], "mapped", [54]], [[120819, 120819], "mapped", [55]], [[120820, 120820], "mapped", [56]], [[120821, 120821], "mapped", [57]], [[120822, 120822], "mapped", [48]], [[120823, 120823], "mapped", [49]], [[120824, 120824], "mapped", [50]], [[120825, 120825], "mapped", [51]], [[120826, 120826], "mapped", [52]], [[120827, 120827], "mapped", [53]], [[120828, 120828], "mapped", [54]], [[120829, 120829], "mapped", [55]], [[120830, 120830], "mapped", [56]], [[120831, 120831], "mapped", [57]], [[120832, 121343], "valid", [], "NV8"], [[121344, 121398], "valid"], [[121399, 121402], "valid", [], "NV8"], [[121403, 121452], "valid"], [[121453, 121460], "valid", [], "NV8"], [[121461, 121461], "valid"], [[121462, 121475], "valid", [], "NV8"], [[121476, 121476], "valid"], [[121477, 121483], "valid", [], "NV8"], [[121484, 121498], "disallowed"], [[121499, 121503], "valid"], [[121504, 121504], "disallowed"], [[121505, 121519], "valid"], [[121520, 124927], "disallowed"], [[124928, 125124], "valid"], [[125125, 125126], "disallowed"], [[125127, 125135], "valid", [], "NV8"], [[125136, 125142], "valid"], [[125143, 126463], "disallowed"], [[126464, 126464], "mapped", [1575]], [[126465, 126465], "mapped", [1576]], [[126466, 126466], "mapped", [1580]], [[126467, 126467], "mapped", [1583]], [[126468, 126468], "disallowed"], [[126469, 126469], "mapped", [1608]], [[126470, 126470], "mapped", [1586]], [[126471, 126471], "mapped", [1581]], [[126472, 126472], "mapped", [1591]], [[126473, 126473], "mapped", [1610]], [[126474, 126474], "mapped", [1603]], [[126475, 126475], "mapped", [1604]], [[126476, 126476], "mapped", [1605]], [[126477, 126477], "mapped", [1606]], [[126478, 126478], "mapped", [1587]], [[126479, 126479], "mapped", [1593]], [[126480, 126480], "mapped", [1601]], [[126481, 126481], "mapped", [1589]], [[126482, 126482], "mapped", [1602]], [[126483, 126483], "mapped", [1585]], [[126484, 126484], "mapped", [1588]], [[126485, 126485], "mapped", [1578]], [[126486, 126486], "mapped", [1579]], [[126487, 126487], "mapped", [1582]], [[126488, 126488], "mapped", [1584]], [[126489, 126489], "mapped", [1590]], [[126490, 126490], "mapped", [1592]], [[126491, 126491], "mapped", [1594]], [[126492, 126492], "mapped", [1646]], [[126493, 126493], "mapped", [1722]], [[126494, 126494], "mapped", [1697]], [[126495, 126495], "mapped", [1647]], [[126496, 126496], "disallowed"], [[126497, 126497], "mapped", [1576]], [[126498, 126498], "mapped", [1580]], [[126499, 126499], "disallowed"], [[126500, 126500], "mapped", [1607]], [[126501, 126502], "disallowed"], [[126503, 126503], "mapped", [1581]], [[126504, 126504], "disallowed"], [[126505, 126505], "mapped", [1610]], [[126506, 126506], "mapped", [1603]], [[126507, 126507], "mapped", [1604]], [[126508, 126508], "mapped", [1605]], [[126509, 126509], "mapped", [1606]], [[126510, 126510], "mapped", [1587]], [[126511, 126511], "mapped", [1593]], [[126512, 126512], "mapped", [1601]], [[126513, 126513], "mapped", [1589]], [[126514, 126514], "mapped", [1602]], [[126515, 126515], "disallowed"], [[126516, 126516], "mapped", [1588]], [[126517, 126517], "mapped", [1578]], [[126518, 126518], "mapped", [1579]], [[126519, 126519], "mapped", [1582]], [[126520, 126520], "disallowed"], [[126521, 126521], "mapped", [1590]], [[126522, 126522], "disallowed"], [[126523, 126523], "mapped", [1594]], [[126524, 126529], "disallowed"], [[126530, 126530], "mapped", [1580]], [[126531, 126534], "disallowed"], [[126535, 126535], "mapped", [1581]], [[126536, 126536], "disallowed"], [[126537, 126537], "mapped", [1610]], [[126538, 126538], "disallowed"], [[126539, 126539], "mapped", [1604]], [[126540, 126540], "disallowed"], [[126541, 126541], "mapped", [1606]], [[126542, 126542], "mapped", [1587]], [[126543, 126543], "mapped", [1593]], [[126544, 126544], "disallowed"], [[126545, 126545], "mapped", [1589]], [[126546, 126546], "mapped", [1602]], [[126547, 126547], "disallowed"], [[126548, 126548], "mapped", [1588]], [[126549, 126550], "disallowed"], [[126551, 126551], "mapped", [1582]], [[126552, 126552], "disallowed"], [[126553, 126553], "mapped", [1590]], [[126554, 126554], "disallowed"], [[126555, 126555], "mapped", [1594]], [[126556, 126556], "disallowed"], [[126557, 126557], "mapped", [1722]], [[126558, 126558], "disallowed"], [[126559, 126559], "mapped", [1647]], [[126560, 126560], "disallowed"], [[126561, 126561], "mapped", [1576]], [[126562, 126562], "mapped", [1580]], [[126563, 126563], "disallowed"], [[126564, 126564], "mapped", [1607]], [[126565, 126566], "disallowed"], [[126567, 126567], "mapped", [1581]], [[126568, 126568], "mapped", [1591]], [[126569, 126569], "mapped", [1610]], [[126570, 126570], "mapped", [1603]], [[126571, 126571], "disallowed"], [[126572, 126572], "mapped", [1605]], [[126573, 126573], "mapped", [1606]], [[126574, 126574], "mapped", [1587]], [[126575, 126575], "mapped", [1593]], [[126576, 126576], "mapped", [1601]], [[126577, 126577], "mapped", [1589]], [[126578, 126578], "mapped", [1602]], [[126579, 126579], "disallowed"], [[126580, 126580], "mapped", [1588]], [[126581, 126581], "mapped", [1578]], [[126582, 126582], "mapped", [1579]], [[126583, 126583], "mapped", [1582]], [[126584, 126584], "disallowed"], [[126585, 126585], "mapped", [1590]], [[126586, 126586], "mapped", [1592]], [[126587, 126587], "mapped", [1594]], [[126588, 126588], "mapped", [1646]], [[126589, 126589], "disallowed"], [[126590, 126590], "mapped", [1697]], [[126591, 126591], "disallowed"], [[126592, 126592], "mapped", [1575]], [[126593, 126593], "mapped", [1576]], [[126594, 126594], "mapped", [1580]], [[126595, 126595], "mapped", [1583]], [[126596, 126596], "mapped", [1607]], [[126597, 126597], "mapped", [1608]], [[126598, 126598], "mapped", [1586]], [[126599, 126599], "mapped", [1581]], [[126600, 126600], "mapped", [1591]], [[126601, 126601], "mapped", [1610]], [[126602, 126602], "disallowed"], [[126603, 126603], "mapped", [1604]], [[126604, 126604], "mapped", [1605]], [[126605, 126605], "mapped", [1606]], [[126606, 126606], "mapped", [1587]], [[126607, 126607], "mapped", [1593]], [[126608, 126608], "mapped", [1601]], [[126609, 126609], "mapped", [1589]], [[126610, 126610], "mapped", [1602]], [[126611, 126611], "mapped", [1585]], [[126612, 126612], "mapped", [1588]], [[126613, 126613], "mapped", [1578]], [[126614, 126614], "mapped", [1579]], [[126615, 126615], "mapped", [1582]], [[126616, 126616], "mapped", [1584]], [[126617, 126617], "mapped", [1590]], [[126618, 126618], "mapped", [1592]], [[126619, 126619], "mapped", [1594]], [[126620, 126624], "disallowed"], [[126625, 126625], "mapped", [1576]], [[126626, 126626], "mapped", [1580]], [[126627, 126627], "mapped", [1583]], [[126628, 126628], "disallowed"], [[126629, 126629], "mapped", [1608]], [[126630, 126630], "mapped", [1586]], [[126631, 126631], "mapped", [1581]], [[126632, 126632], "mapped", [1591]], [[126633, 126633], "mapped", [1610]], [[126634, 126634], "disallowed"], [[126635, 126635], "mapped", [1604]], [[126636, 126636], "mapped", [1605]], [[126637, 126637], "mapped", [1606]], [[126638, 126638], "mapped", [1587]], [[126639, 126639], "mapped", [1593]], [[126640, 126640], "mapped", [1601]], [[126641, 126641], "mapped", [1589]], [[126642, 126642], "mapped", [1602]], [[126643, 126643], "mapped", [1585]], [[126644, 126644], "mapped", [1588]], [[126645, 126645], "mapped", [1578]], [[126646, 126646], "mapped", [1579]], [[126647, 126647], "mapped", [1582]], [[126648, 126648], "mapped", [1584]], [[126649, 126649], "mapped", [1590]], [[126650, 126650], "mapped", [1592]], [[126651, 126651], "mapped", [1594]], [[126652, 126703], "disallowed"], [[126704, 126705], "valid", [], "NV8"], [[126706, 126975], "disallowed"], [[126976, 127019], "valid", [], "NV8"], [[127020, 127023], "disallowed"], [[127024, 127123], "valid", [], "NV8"], [[127124, 127135], "disallowed"], [[127136, 127150], "valid", [], "NV8"], [[127151, 127152], "disallowed"], [[127153, 127166], "valid", [], "NV8"], [[127167, 127167], "valid", [], "NV8"], [[127168, 127168], "disallowed"], [[127169, 127183], "valid", [], "NV8"], [[127184, 127184], "disallowed"], [[127185, 127199], "valid", [], "NV8"], [[127200, 127221], "valid", [], "NV8"], [[127222, 127231], "disallowed"], [[127232, 127232], "disallowed"], [[127233, 127233], "disallowed_STD3_mapped", [48, 44]], [[127234, 127234], "disallowed_STD3_mapped", [49, 44]], [[127235, 127235], "disallowed_STD3_mapped", [50, 44]], [[127236, 127236], "disallowed_STD3_mapped", [51, 44]], [[127237, 127237], "disallowed_STD3_mapped", [52, 44]], [[127238, 127238], "disallowed_STD3_mapped", [53, 44]], [[127239, 127239], "disallowed_STD3_mapped", [54, 44]], [[127240, 127240], "disallowed_STD3_mapped", [55, 44]], [[127241, 127241], "disallowed_STD3_mapped", [56, 44]], [[127242, 127242], "disallowed_STD3_mapped", [57, 44]], [[127243, 127244], "valid", [], "NV8"], [[127245, 127247], "disallowed"], [[127248, 127248], "disallowed_STD3_mapped", [40, 97, 41]], [[127249, 127249], "disallowed_STD3_mapped", [40, 98, 41]], [[127250, 127250], "disallowed_STD3_mapped", [40, 99, 41]], [[127251, 127251], "disallowed_STD3_mapped", [40, 100, 41]], [[127252, 127252], "disallowed_STD3_mapped", [40, 101, 41]], [[127253, 127253], "disallowed_STD3_mapped", [40, 102, 41]], [[127254, 127254], "disallowed_STD3_mapped", [40, 103, 41]], [[127255, 127255], "disallowed_STD3_mapped", [40, 104, 41]], [[127256, 127256], "disallowed_STD3_mapped", [40, 105, 41]], [[127257, 127257], "disallowed_STD3_mapped", [40, 106, 41]], [[127258, 127258], "disallowed_STD3_mapped", [40, 107, 41]], [[127259, 127259], "disallowed_STD3_mapped", [40, 108, 41]], [[127260, 127260], "disallowed_STD3_mapped", [40, 109, 41]], [[127261, 127261], "disallowed_STD3_mapped", [40, 110, 41]], [[127262, 127262], "disallowed_STD3_mapped", [40, 111, 41]], [[127263, 127263], "disallowed_STD3_mapped", [40, 112, 41]], [[127264, 127264], "disallowed_STD3_mapped", [40, 113, 41]], [[127265, 127265], "disallowed_STD3_mapped", [40, 114, 41]], [[127266, 127266], "disallowed_STD3_mapped", [40, 115, 41]], [[127267, 127267], "disallowed_STD3_mapped", [40, 116, 41]], [[127268, 127268], "disallowed_STD3_mapped", [40, 117, 41]], [[127269, 127269], "disallowed_STD3_mapped", [40, 118, 41]], [[127270, 127270], "disallowed_STD3_mapped", [40, 119, 41]], [[127271, 127271], "disallowed_STD3_mapped", [40, 120, 41]], [[127272, 127272], "disallowed_STD3_mapped", [40, 121, 41]], [[127273, 127273], "disallowed_STD3_mapped", [40, 122, 41]], [[127274, 127274], "mapped", [12308, 115, 12309]], [[127275, 127275], "mapped", [99]], [[127276, 127276], "mapped", [114]], [[127277, 127277], "mapped", [99, 100]], [[127278, 127278], "mapped", [119, 122]], [[127279, 127279], "disallowed"], [[127280, 127280], "mapped", [97]], [[127281, 127281], "mapped", [98]], [[127282, 127282], "mapped", [99]], [[127283, 127283], "mapped", [100]], [[127284, 127284], "mapped", [101]], [[127285, 127285], "mapped", [102]], [[127286, 127286], "mapped", [103]], [[127287, 127287], "mapped", [104]], [[127288, 127288], "mapped", [105]], [[127289, 127289], "mapped", [106]], [[127290, 127290], "mapped", [107]], [[127291, 127291], "mapped", [108]], [[127292, 127292], "mapped", [109]], [[127293, 127293], "mapped", [110]], [[127294, 127294], "mapped", [111]], [[127295, 127295], "mapped", [112]], [[127296, 127296], "mapped", [113]], [[127297, 127297], "mapped", [114]], [[127298, 127298], "mapped", [115]], [[127299, 127299], "mapped", [116]], [[127300, 127300], "mapped", [117]], [[127301, 127301], "mapped", [118]], [[127302, 127302], "mapped", [119]], [[127303, 127303], "mapped", [120]], [[127304, 127304], "mapped", [121]], [[127305, 127305], "mapped", [122]], [[127306, 127306], "mapped", [104, 118]], [[127307, 127307], "mapped", [109, 118]], [[127308, 127308], "mapped", [115, 100]], [[127309, 127309], "mapped", [115, 115]], [[127310, 127310], "mapped", [112, 112, 118]], [[127311, 127311], "mapped", [119, 99]], [[127312, 127318], "valid", [], "NV8"], [[127319, 127319], "valid", [], "NV8"], [[127320, 127326], "valid", [], "NV8"], [[127327, 127327], "valid", [], "NV8"], [[127328, 127337], "valid", [], "NV8"], [[127338, 127338], "mapped", [109, 99]], [[127339, 127339], "mapped", [109, 100]], [[127340, 127343], "disallowed"], [[127344, 127352], "valid", [], "NV8"], [[127353, 127353], "valid", [], "NV8"], [[127354, 127354], "valid", [], "NV8"], [[127355, 127356], "valid", [], "NV8"], [[127357, 127358], "valid", [], "NV8"], [[127359, 127359], "valid", [], "NV8"], [[127360, 127369], "valid", [], "NV8"], [[127370, 127373], "valid", [], "NV8"], [[127374, 127375], "valid", [], "NV8"], [[127376, 127376], "mapped", [100, 106]], [[127377, 127386], "valid", [], "NV8"], [[127387, 127461], "disallowed"], [[127462, 127487], "valid", [], "NV8"], [[127488, 127488], "mapped", [12411, 12363]], [[127489, 127489], "mapped", [12467, 12467]], [[127490, 127490], "mapped", [12469]], [[127491, 127503], "disallowed"], [[127504, 127504], "mapped", [25163]], [[127505, 127505], "mapped", [23383]], [[127506, 127506], "mapped", [21452]], [[127507, 127507], "mapped", [12487]], [[127508, 127508], "mapped", [20108]], [[127509, 127509], "mapped", [22810]], [[127510, 127510], "mapped", [35299]], [[127511, 127511], "mapped", [22825]], [[127512, 127512], "mapped", [20132]], [[127513, 127513], "mapped", [26144]], [[127514, 127514], "mapped", [28961]], [[127515, 127515], "mapped", [26009]], [[127516, 127516], "mapped", [21069]], [[127517, 127517], "mapped", [24460]], [[127518, 127518], "mapped", [20877]], [[127519, 127519], "mapped", [26032]], [[127520, 127520], "mapped", [21021]], [[127521, 127521], "mapped", [32066]], [[127522, 127522], "mapped", [29983]], [[127523, 127523], "mapped", [36009]], [[127524, 127524], "mapped", [22768]], [[127525, 127525], "mapped", [21561]], [[127526, 127526], "mapped", [28436]], [[127527, 127527], "mapped", [25237]], [[127528, 127528], "mapped", [25429]], [[127529, 127529], "mapped", [19968]], [[127530, 127530], "mapped", [19977]], [[127531, 127531], "mapped", [36938]], [[127532, 127532], "mapped", [24038]], [[127533, 127533], "mapped", [20013]], [[127534, 127534], "mapped", [21491]], [[127535, 127535], "mapped", [25351]], [[127536, 127536], "mapped", [36208]], [[127537, 127537], "mapped", [25171]], [[127538, 127538], "mapped", [31105]], [[127539, 127539], "mapped", [31354]], [[127540, 127540], "mapped", [21512]], [[127541, 127541], "mapped", [28288]], [[127542, 127542], "mapped", [26377]], [[127543, 127543], "mapped", [26376]], [[127544, 127544], "mapped", [30003]], [[127545, 127545], "mapped", [21106]], [[127546, 127546], "mapped", [21942]], [[127547, 127551], "disallowed"], [[127552, 127552], "mapped", [12308, 26412, 12309]], [[127553, 127553], "mapped", [12308, 19977, 12309]], [[127554, 127554], "mapped", [12308, 20108, 12309]], [[127555, 127555], "mapped", [12308, 23433, 12309]], [[127556, 127556], "mapped", [12308, 28857, 12309]], [[127557, 127557], "mapped", [12308, 25171, 12309]], [[127558, 127558], "mapped", [12308, 30423, 12309]], [[127559, 127559], "mapped", [12308, 21213, 12309]], [[127560, 127560], "mapped", [12308, 25943, 12309]], [[127561, 127567], "disallowed"], [[127568, 127568], "mapped", [24471]], [[127569, 127569], "mapped", [21487]], [[127570, 127743], "disallowed"], [[127744, 127776], "valid", [], "NV8"], [[127777, 127788], "valid", [], "NV8"], [[127789, 127791], "valid", [], "NV8"], [[127792, 127797], "valid", [], "NV8"], [[127798, 127798], "valid", [], "NV8"], [[127799, 127868], "valid", [], "NV8"], [[127869, 127869], "valid", [], "NV8"], [[127870, 127871], "valid", [], "NV8"], [[127872, 127891], "valid", [], "NV8"], [[127892, 127903], "valid", [], "NV8"], [[127904, 127940], "valid", [], "NV8"], [[127941, 127941], "valid", [], "NV8"], [[127942, 127946], "valid", [], "NV8"], [[127947, 127950], "valid", [], "NV8"], [[127951, 127955], "valid", [], "NV8"], [[127956, 127967], "valid", [], "NV8"], [[127968, 127984], "valid", [], "NV8"], [[127985, 127991], "valid", [], "NV8"], [[127992, 127999], "valid", [], "NV8"], [[128e3, 128062], "valid", [], "NV8"], [[128063, 128063], "valid", [], "NV8"], [[128064, 128064], "valid", [], "NV8"], [[128065, 128065], "valid", [], "NV8"], [[128066, 128247], "valid", [], "NV8"], [[128248, 128248], "valid", [], "NV8"], [[128249, 128252], "valid", [], "NV8"], [[128253, 128254], "valid", [], "NV8"], [[128255, 128255], "valid", [], "NV8"], [[128256, 128317], "valid", [], "NV8"], [[128318, 128319], "valid", [], "NV8"], [[128320, 128323], "valid", [], "NV8"], [[128324, 128330], "valid", [], "NV8"], [[128331, 128335], "valid", [], "NV8"], [[128336, 128359], "valid", [], "NV8"], [[128360, 128377], "valid", [], "NV8"], [[128378, 128378], "disallowed"], [[128379, 128419], "valid", [], "NV8"], [[128420, 128420], "disallowed"], [[128421, 128506], "valid", [], "NV8"], [[128507, 128511], "valid", [], "NV8"], [[128512, 128512], "valid", [], "NV8"], [[128513, 128528], "valid", [], "NV8"], [[128529, 128529], "valid", [], "NV8"], [[128530, 128532], "valid", [], "NV8"], [[128533, 128533], "valid", [], "NV8"], [[128534, 128534], "valid", [], "NV8"], [[128535, 128535], "valid", [], "NV8"], [[128536, 128536], "valid", [], "NV8"], [[128537, 128537], "valid", [], "NV8"], [[128538, 128538], "valid", [], "NV8"], [[128539, 128539], "valid", [], "NV8"], [[128540, 128542], "valid", [], "NV8"], [[128543, 128543], "valid", [], "NV8"], [[128544, 128549], "valid", [], "NV8"], [[128550, 128551], "valid", [], "NV8"], [[128552, 128555], "valid", [], "NV8"], [[128556, 128556], "valid", [], "NV8"], [[128557, 128557], "valid", [], "NV8"], [[128558, 128559], "valid", [], "NV8"], [[128560, 128563], "valid", [], "NV8"], [[128564, 128564], "valid", [], "NV8"], [[128565, 128576], "valid", [], "NV8"], [[128577, 128578], "valid", [], "NV8"], [[128579, 128580], "valid", [], "NV8"], [[128581, 128591], "valid", [], "NV8"], [[128592, 128639], "valid", [], "NV8"], [[128640, 128709], "valid", [], "NV8"], [[128710, 128719], "valid", [], "NV8"], [[128720, 128720], "valid", [], "NV8"], [[128721, 128735], "disallowed"], [[128736, 128748], "valid", [], "NV8"], [[128749, 128751], "disallowed"], [[128752, 128755], "valid", [], "NV8"], [[128756, 128767], "disallowed"], [[128768, 128883], "valid", [], "NV8"], [[128884, 128895], "disallowed"], [[128896, 128980], "valid", [], "NV8"], [[128981, 129023], "disallowed"], [[129024, 129035], "valid", [], "NV8"], [[129036, 129039], "disallowed"], [[129040, 129095], "valid", [], "NV8"], [[129096, 129103], "disallowed"], [[129104, 129113], "valid", [], "NV8"], [[129114, 129119], "disallowed"], [[129120, 129159], "valid", [], "NV8"], [[129160, 129167], "disallowed"], [[129168, 129197], "valid", [], "NV8"], [[129198, 129295], "disallowed"], [[129296, 129304], "valid", [], "NV8"], [[129305, 129407], "disallowed"], [[129408, 129412], "valid", [], "NV8"], [[129413, 129471], "disallowed"], [[129472, 129472], "valid", [], "NV8"], [[129473, 131069], "disallowed"], [[131070, 131071], "disallowed"], [[131072, 173782], "valid"], [[173783, 173823], "disallowed"], [[173824, 177972], "valid"], [[177973, 177983], "disallowed"], [[177984, 178205], "valid"], [[178206, 178207], "disallowed"], [[178208, 183969], "valid"], [[183970, 194559], "disallowed"], [[194560, 194560], "mapped", [20029]], [[194561, 194561], "mapped", [20024]], [[194562, 194562], "mapped", [20033]], [[194563, 194563], "mapped", [131362]], [[194564, 194564], "mapped", [20320]], [[194565, 194565], "mapped", [20398]], [[194566, 194566], "mapped", [20411]], [[194567, 194567], "mapped", [20482]], [[194568, 194568], "mapped", [20602]], [[194569, 194569], "mapped", [20633]], [[194570, 194570], "mapped", [20711]], [[194571, 194571], "mapped", [20687]], [[194572, 194572], "mapped", [13470]], [[194573, 194573], "mapped", [132666]], [[194574, 194574], "mapped", [20813]], [[194575, 194575], "mapped", [20820]], [[194576, 194576], "mapped", [20836]], [[194577, 194577], "mapped", [20855]], [[194578, 194578], "mapped", [132380]], [[194579, 194579], "mapped", [13497]], [[194580, 194580], "mapped", [20839]], [[194581, 194581], "mapped", [20877]], [[194582, 194582], "mapped", [132427]], [[194583, 194583], "mapped", [20887]], [[194584, 194584], "mapped", [20900]], [[194585, 194585], "mapped", [20172]], [[194586, 194586], "mapped", [20908]], [[194587, 194587], "mapped", [20917]], [[194588, 194588], "mapped", [168415]], [[194589, 194589], "mapped", [20981]], [[194590, 194590], "mapped", [20995]], [[194591, 194591], "mapped", [13535]], [[194592, 194592], "mapped", [21051]], [[194593, 194593], "mapped", [21062]], [[194594, 194594], "mapped", [21106]], [[194595, 194595], "mapped", [21111]], [[194596, 194596], "mapped", [13589]], [[194597, 194597], "mapped", [21191]], [[194598, 194598], "mapped", [21193]], [[194599, 194599], "mapped", [21220]], [[194600, 194600], "mapped", [21242]], [[194601, 194601], "mapped", [21253]], [[194602, 194602], "mapped", [21254]], [[194603, 194603], "mapped", [21271]], [[194604, 194604], "mapped", [21321]], [[194605, 194605], "mapped", [21329]], [[194606, 194606], "mapped", [21338]], [[194607, 194607], "mapped", [21363]], [[194608, 194608], "mapped", [21373]], [[194609, 194611], "mapped", [21375]], [[194612, 194612], "mapped", [133676]], [[194613, 194613], "mapped", [28784]], [[194614, 194614], "mapped", [21450]], [[194615, 194615], "mapped", [21471]], [[194616, 194616], "mapped", [133987]], [[194617, 194617], "mapped", [21483]], [[194618, 194618], "mapped", [21489]], [[194619, 194619], "mapped", [21510]], [[194620, 194620], "mapped", [21662]], [[194621, 194621], "mapped", [21560]], [[194622, 194622], "mapped", [21576]], [[194623, 194623], "mapped", [21608]], [[194624, 194624], "mapped", [21666]], [[194625, 194625], "mapped", [21750]], [[194626, 194626], "mapped", [21776]], [[194627, 194627], "mapped", [21843]], [[194628, 194628], "mapped", [21859]], [[194629, 194630], "mapped", [21892]], [[194631, 194631], "mapped", [21913]], [[194632, 194632], "mapped", [21931]], [[194633, 194633], "mapped", [21939]], [[194634, 194634], "mapped", [21954]], [[194635, 194635], "mapped", [22294]], [[194636, 194636], "mapped", [22022]], [[194637, 194637], "mapped", [22295]], [[194638, 194638], "mapped", [22097]], [[194639, 194639], "mapped", [22132]], [[194640, 194640], "mapped", [20999]], [[194641, 194641], "mapped", [22766]], [[194642, 194642], "mapped", [22478]], [[194643, 194643], "mapped", [22516]], [[194644, 194644], "mapped", [22541]], [[194645, 194645], "mapped", [22411]], [[194646, 194646], "mapped", [22578]], [[194647, 194647], "mapped", [22577]], [[194648, 194648], "mapped", [22700]], [[194649, 194649], "mapped", [136420]], [[194650, 194650], "mapped", [22770]], [[194651, 194651], "mapped", [22775]], [[194652, 194652], "mapped", [22790]], [[194653, 194653], "mapped", [22810]], [[194654, 194654], "mapped", [22818]], [[194655, 194655], "mapped", [22882]], [[194656, 194656], "mapped", [136872]], [[194657, 194657], "mapped", [136938]], [[194658, 194658], "mapped", [23020]], [[194659, 194659], "mapped", [23067]], [[194660, 194660], "mapped", [23079]], [[194661, 194661], "mapped", [23e3]], [[194662, 194662], "mapped", [23142]], [[194663, 194663], "mapped", [14062]], [[194664, 194664], "disallowed"], [[194665, 194665], "mapped", [23304]], [[194666, 194667], "mapped", [23358]], [[194668, 194668], "mapped", [137672]], [[194669, 194669], "mapped", [23491]], [[194670, 194670], "mapped", [23512]], [[194671, 194671], "mapped", [23527]], [[194672, 194672], "mapped", [23539]], [[194673, 194673], "mapped", [138008]], [[194674, 194674], "mapped", [23551]], [[194675, 194675], "mapped", [23558]], [[194676, 194676], "disallowed"], [[194677, 194677], "mapped", [23586]], [[194678, 194678], "mapped", [14209]], [[194679, 194679], "mapped", [23648]], [[194680, 194680], "mapped", [23662]], [[194681, 194681], "mapped", [23744]], [[194682, 194682], "mapped", [23693]], [[194683, 194683], "mapped", [138724]], [[194684, 194684], "mapped", [23875]], [[194685, 194685], "mapped", [138726]], [[194686, 194686], "mapped", [23918]], [[194687, 194687], "mapped", [23915]], [[194688, 194688], "mapped", [23932]], [[194689, 194689], "mapped", [24033]], [[194690, 194690], "mapped", [24034]], [[194691, 194691], "mapped", [14383]], [[194692, 194692], "mapped", [24061]], [[194693, 194693], "mapped", [24104]], [[194694, 194694], "mapped", [24125]], [[194695, 194695], "mapped", [24169]], [[194696, 194696], "mapped", [14434]], [[194697, 194697], "mapped", [139651]], [[194698, 194698], "mapped", [14460]], [[194699, 194699], "mapped", [24240]], [[194700, 194700], "mapped", [24243]], [[194701, 194701], "mapped", [24246]], [[194702, 194702], "mapped", [24266]], [[194703, 194703], "mapped", [172946]], [[194704, 194704], "mapped", [24318]], [[194705, 194706], "mapped", [140081]], [[194707, 194707], "mapped", [33281]], [[194708, 194709], "mapped", [24354]], [[194710, 194710], "mapped", [14535]], [[194711, 194711], "mapped", [144056]], [[194712, 194712], "mapped", [156122]], [[194713, 194713], "mapped", [24418]], [[194714, 194714], "mapped", [24427]], [[194715, 194715], "mapped", [14563]], [[194716, 194716], "mapped", [24474]], [[194717, 194717], "mapped", [24525]], [[194718, 194718], "mapped", [24535]], [[194719, 194719], "mapped", [24569]], [[194720, 194720], "mapped", [24705]], [[194721, 194721], "mapped", [14650]], [[194722, 194722], "mapped", [14620]], [[194723, 194723], "mapped", [24724]], [[194724, 194724], "mapped", [141012]], [[194725, 194725], "mapped", [24775]], [[194726, 194726], "mapped", [24904]], [[194727, 194727], "mapped", [24908]], [[194728, 194728], "mapped", [24910]], [[194729, 194729], "mapped", [24908]], [[194730, 194730], "mapped", [24954]], [[194731, 194731], "mapped", [24974]], [[194732, 194732], "mapped", [25010]], [[194733, 194733], "mapped", [24996]], [[194734, 194734], "mapped", [25007]], [[194735, 194735], "mapped", [25054]], [[194736, 194736], "mapped", [25074]], [[194737, 194737], "mapped", [25078]], [[194738, 194738], "mapped", [25104]], [[194739, 194739], "mapped", [25115]], [[194740, 194740], "mapped", [25181]], [[194741, 194741], "mapped", [25265]], [[194742, 194742], "mapped", [25300]], [[194743, 194743], "mapped", [25424]], [[194744, 194744], "mapped", [142092]], [[194745, 194745], "mapped", [25405]], [[194746, 194746], "mapped", [25340]], [[194747, 194747], "mapped", [25448]], [[194748, 194748], "mapped", [25475]], [[194749, 194749], "mapped", [25572]], [[194750, 194750], "mapped", [142321]], [[194751, 194751], "mapped", [25634]], [[194752, 194752], "mapped", [25541]], [[194753, 194753], "mapped", [25513]], [[194754, 194754], "mapped", [14894]], [[194755, 194755], "mapped", [25705]], [[194756, 194756], "mapped", [25726]], [[194757, 194757], "mapped", [25757]], [[194758, 194758], "mapped", [25719]], [[194759, 194759], "mapped", [14956]], [[194760, 194760], "mapped", [25935]], [[194761, 194761], "mapped", [25964]], [[194762, 194762], "mapped", [143370]], [[194763, 194763], "mapped", [26083]], [[194764, 194764], "mapped", [26360]], [[194765, 194765], "mapped", [26185]], [[194766, 194766], "mapped", [15129]], [[194767, 194767], "mapped", [26257]], [[194768, 194768], "mapped", [15112]], [[194769, 194769], "mapped", [15076]], [[194770, 194770], "mapped", [20882]], [[194771, 194771], "mapped", [20885]], [[194772, 194772], "mapped", [26368]], [[194773, 194773], "mapped", [26268]], [[194774, 194774], "mapped", [32941]], [[194775, 194775], "mapped", [17369]], [[194776, 194776], "mapped", [26391]], [[194777, 194777], "mapped", [26395]], [[194778, 194778], "mapped", [26401]], [[194779, 194779], "mapped", [26462]], [[194780, 194780], "mapped", [26451]], [[194781, 194781], "mapped", [144323]], [[194782, 194782], "mapped", [15177]], [[194783, 194783], "mapped", [26618]], [[194784, 194784], "mapped", [26501]], [[194785, 194785], "mapped", [26706]], [[194786, 194786], "mapped", [26757]], [[194787, 194787], "mapped", [144493]], [[194788, 194788], "mapped", [26766]], [[194789, 194789], "mapped", [26655]], [[194790, 194790], "mapped", [26900]], [[194791, 194791], "mapped", [15261]], [[194792, 194792], "mapped", [26946]], [[194793, 194793], "mapped", [27043]], [[194794, 194794], "mapped", [27114]], [[194795, 194795], "mapped", [27304]], [[194796, 194796], "mapped", [145059]], [[194797, 194797], "mapped", [27355]], [[194798, 194798], "mapped", [15384]], [[194799, 194799], "mapped", [27425]], [[194800, 194800], "mapped", [145575]], [[194801, 194801], "mapped", [27476]], [[194802, 194802], "mapped", [15438]], [[194803, 194803], "mapped", [27506]], [[194804, 194804], "mapped", [27551]], [[194805, 194805], "mapped", [27578]], [[194806, 194806], "mapped", [27579]], [[194807, 194807], "mapped", [146061]], [[194808, 194808], "mapped", [138507]], [[194809, 194809], "mapped", [146170]], [[194810, 194810], "mapped", [27726]], [[194811, 194811], "mapped", [146620]], [[194812, 194812], "mapped", [27839]], [[194813, 194813], "mapped", [27853]], [[194814, 194814], "mapped", [27751]], [[194815, 194815], "mapped", [27926]], [[194816, 194816], "mapped", [27966]], [[194817, 194817], "mapped", [28023]], [[194818, 194818], "mapped", [27969]], [[194819, 194819], "mapped", [28009]], [[194820, 194820], "mapped", [28024]], [[194821, 194821], "mapped", [28037]], [[194822, 194822], "mapped", [146718]], [[194823, 194823], "mapped", [27956]], [[194824, 194824], "mapped", [28207]], [[194825, 194825], "mapped", [28270]], [[194826, 194826], "mapped", [15667]], [[194827, 194827], "mapped", [28363]], [[194828, 194828], "mapped", [28359]], [[194829, 194829], "mapped", [147153]], [[194830, 194830], "mapped", [28153]], [[194831, 194831], "mapped", [28526]], [[194832, 194832], "mapped", [147294]], [[194833, 194833], "mapped", [147342]], [[194834, 194834], "mapped", [28614]], [[194835, 194835], "mapped", [28729]], [[194836, 194836], "mapped", [28702]], [[194837, 194837], "mapped", [28699]], [[194838, 194838], "mapped", [15766]], [[194839, 194839], "mapped", [28746]], [[194840, 194840], "mapped", [28797]], [[194841, 194841], "mapped", [28791]], [[194842, 194842], "mapped", [28845]], [[194843, 194843], "mapped", [132389]], [[194844, 194844], "mapped", [28997]], [[194845, 194845], "mapped", [148067]], [[194846, 194846], "mapped", [29084]], [[194847, 194847], "disallowed"], [[194848, 194848], "mapped", [29224]], [[194849, 194849], "mapped", [29237]], [[194850, 194850], "mapped", [29264]], [[194851, 194851], "mapped", [149e3]], [[194852, 194852], "mapped", [29312]], [[194853, 194853], "mapped", [29333]], [[194854, 194854], "mapped", [149301]], [[194855, 194855], "mapped", [149524]], [[194856, 194856], "mapped", [29562]], [[194857, 194857], "mapped", [29579]], [[194858, 194858], "mapped", [16044]], [[194859, 194859], "mapped", [29605]], [[194860, 194861], "mapped", [16056]], [[194862, 194862], "mapped", [29767]], [[194863, 194863], "mapped", [29788]], [[194864, 194864], "mapped", [29809]], [[194865, 194865], "mapped", [29829]], [[194866, 194866], "mapped", [29898]], [[194867, 194867], "mapped", [16155]], [[194868, 194868], "mapped", [29988]], [[194869, 194869], "mapped", [150582]], [[194870, 194870], "mapped", [30014]], [[194871, 194871], "mapped", [150674]], [[194872, 194872], "mapped", [30064]], [[194873, 194873], "mapped", [139679]], [[194874, 194874], "mapped", [30224]], [[194875, 194875], "mapped", [151457]], [[194876, 194876], "mapped", [151480]], [[194877, 194877], "mapped", [151620]], [[194878, 194878], "mapped", [16380]], [[194879, 194879], "mapped", [16392]], [[194880, 194880], "mapped", [30452]], [[194881, 194881], "mapped", [151795]], [[194882, 194882], "mapped", [151794]], [[194883, 194883], "mapped", [151833]], [[194884, 194884], "mapped", [151859]], [[194885, 194885], "mapped", [30494]], [[194886, 194887], "mapped", [30495]], [[194888, 194888], "mapped", [30538]], [[194889, 194889], "mapped", [16441]], [[194890, 194890], "mapped", [30603]], [[194891, 194891], "mapped", [16454]], [[194892, 194892], "mapped", [16534]], [[194893, 194893], "mapped", [152605]], [[194894, 194894], "mapped", [30798]], [[194895, 194895], "mapped", [30860]], [[194896, 194896], "mapped", [30924]], [[194897, 194897], "mapped", [16611]], [[194898, 194898], "mapped", [153126]], [[194899, 194899], "mapped", [31062]], [[194900, 194900], "mapped", [153242]], [[194901, 194901], "mapped", [153285]], [[194902, 194902], "mapped", [31119]], [[194903, 194903], "mapped", [31211]], [[194904, 194904], "mapped", [16687]], [[194905, 194905], "mapped", [31296]], [[194906, 194906], "mapped", [31306]], [[194907, 194907], "mapped", [31311]], [[194908, 194908], "mapped", [153980]], [[194909, 194910], "mapped", [154279]], [[194911, 194911], "disallowed"], [[194912, 194912], "mapped", [16898]], [[194913, 194913], "mapped", [154539]], [[194914, 194914], "mapped", [31686]], [[194915, 194915], "mapped", [31689]], [[194916, 194916], "mapped", [16935]], [[194917, 194917], "mapped", [154752]], [[194918, 194918], "mapped", [31954]], [[194919, 194919], "mapped", [17056]], [[194920, 194920], "mapped", [31976]], [[194921, 194921], "mapped", [31971]], [[194922, 194922], "mapped", [32e3]], [[194923, 194923], "mapped", [155526]], [[194924, 194924], "mapped", [32099]], [[194925, 194925], "mapped", [17153]], [[194926, 194926], "mapped", [32199]], [[194927, 194927], "mapped", [32258]], [[194928, 194928], "mapped", [32325]], [[194929, 194929], "mapped", [17204]], [[194930, 194930], "mapped", [156200]], [[194931, 194931], "mapped", [156231]], [[194932, 194932], "mapped", [17241]], [[194933, 194933], "mapped", [156377]], [[194934, 194934], "mapped", [32634]], [[194935, 194935], "mapped", [156478]], [[194936, 194936], "mapped", [32661]], [[194937, 194937], "mapped", [32762]], [[194938, 194938], "mapped", [32773]], [[194939, 194939], "mapped", [156890]], [[194940, 194940], "mapped", [156963]], [[194941, 194941], "mapped", [32864]], [[194942, 194942], "mapped", [157096]], [[194943, 194943], "mapped", [32880]], [[194944, 194944], "mapped", [144223]], [[194945, 194945], "mapped", [17365]], [[194946, 194946], "mapped", [32946]], [[194947, 194947], "mapped", [33027]], [[194948, 194948], "mapped", [17419]], [[194949, 194949], "mapped", [33086]], [[194950, 194950], "mapped", [23221]], [[194951, 194951], "mapped", [157607]], [[194952, 194952], "mapped", [157621]], [[194953, 194953], "mapped", [144275]], [[194954, 194954], "mapped", [144284]], [[194955, 194955], "mapped", [33281]], [[194956, 194956], "mapped", [33284]], [[194957, 194957], "mapped", [36766]], [[194958, 194958], "mapped", [17515]], [[194959, 194959], "mapped", [33425]], [[194960, 194960], "mapped", [33419]], [[194961, 194961], "mapped", [33437]], [[194962, 194962], "mapped", [21171]], [[194963, 194963], "mapped", [33457]], [[194964, 194964], "mapped", [33459]], [[194965, 194965], "mapped", [33469]], [[194966, 194966], "mapped", [33510]], [[194967, 194967], "mapped", [158524]], [[194968, 194968], "mapped", [33509]], [[194969, 194969], "mapped", [33565]], [[194970, 194970], "mapped", [33635]], [[194971, 194971], "mapped", [33709]], [[194972, 194972], "mapped", [33571]], [[194973, 194973], "mapped", [33725]], [[194974, 194974], "mapped", [33767]], [[194975, 194975], "mapped", [33879]], [[194976, 194976], "mapped", [33619]], [[194977, 194977], "mapped", [33738]], [[194978, 194978], "mapped", [33740]], [[194979, 194979], "mapped", [33756]], [[194980, 194980], "mapped", [158774]], [[194981, 194981], "mapped", [159083]], [[194982, 194982], "mapped", [158933]], [[194983, 194983], "mapped", [17707]], [[194984, 194984], "mapped", [34033]], [[194985, 194985], "mapped", [34035]], [[194986, 194986], "mapped", [34070]], [[194987, 194987], "mapped", [160714]], [[194988, 194988], "mapped", [34148]], [[194989, 194989], "mapped", [159532]], [[194990, 194990], "mapped", [17757]], [[194991, 194991], "mapped", [17761]], [[194992, 194992], "mapped", [159665]], [[194993, 194993], "mapped", [159954]], [[194994, 194994], "mapped", [17771]], [[194995, 194995], "mapped", [34384]], [[194996, 194996], "mapped", [34396]], [[194997, 194997], "mapped", [34407]], [[194998, 194998], "mapped", [34409]], [[194999, 194999], "mapped", [34473]], [[195e3, 195e3], "mapped", [34440]], [[195001, 195001], "mapped", [34574]], [[195002, 195002], "mapped", [34530]], [[195003, 195003], "mapped", [34681]], [[195004, 195004], "mapped", [34600]], [[195005, 195005], "mapped", [34667]], [[195006, 195006], "mapped", [34694]], [[195007, 195007], "disallowed"], [[195008, 195008], "mapped", [34785]], [[195009, 195009], "mapped", [34817]], [[195010, 195010], "mapped", [17913]], [[195011, 195011], "mapped", [34912]], [[195012, 195012], "mapped", [34915]], [[195013, 195013], "mapped", [161383]], [[195014, 195014], "mapped", [35031]], [[195015, 195015], "mapped", [35038]], [[195016, 195016], "mapped", [17973]], [[195017, 195017], "mapped", [35066]], [[195018, 195018], "mapped", [13499]], [[195019, 195019], "mapped", [161966]], [[195020, 195020], "mapped", [162150]], [[195021, 195021], "mapped", [18110]], [[195022, 195022], "mapped", [18119]], [[195023, 195023], "mapped", [35488]], [[195024, 195024], "mapped", [35565]], [[195025, 195025], "mapped", [35722]], [[195026, 195026], "mapped", [35925]], [[195027, 195027], "mapped", [162984]], [[195028, 195028], "mapped", [36011]], [[195029, 195029], "mapped", [36033]], [[195030, 195030], "mapped", [36123]], [[195031, 195031], "mapped", [36215]], [[195032, 195032], "mapped", [163631]], [[195033, 195033], "mapped", [133124]], [[195034, 195034], "mapped", [36299]], [[195035, 195035], "mapped", [36284]], [[195036, 195036], "mapped", [36336]], [[195037, 195037], "mapped", [133342]], [[195038, 195038], "mapped", [36564]], [[195039, 195039], "mapped", [36664]], [[195040, 195040], "mapped", [165330]], [[195041, 195041], "mapped", [165357]], [[195042, 195042], "mapped", [37012]], [[195043, 195043], "mapped", [37105]], [[195044, 195044], "mapped", [37137]], [[195045, 195045], "mapped", [165678]], [[195046, 195046], "mapped", [37147]], [[195047, 195047], "mapped", [37432]], [[195048, 195048], "mapped", [37591]], [[195049, 195049], "mapped", [37592]], [[195050, 195050], "mapped", [37500]], [[195051, 195051], "mapped", [37881]], [[195052, 195052], "mapped", [37909]], [[195053, 195053], "mapped", [166906]], [[195054, 195054], "mapped", [38283]], [[195055, 195055], "mapped", [18837]], [[195056, 195056], "mapped", [38327]], [[195057, 195057], "mapped", [167287]], [[195058, 195058], "mapped", [18918]], [[195059, 195059], "mapped", [38595]], [[195060, 195060], "mapped", [23986]], [[195061, 195061], "mapped", [38691]], [[195062, 195062], "mapped", [168261]], [[195063, 195063], "mapped", [168474]], [[195064, 195064], "mapped", [19054]], [[195065, 195065], "mapped", [19062]], [[195066, 195066], "mapped", [38880]], [[195067, 195067], "mapped", [168970]], [[195068, 195068], "mapped", [19122]], [[195069, 195069], "mapped", [169110]], [[195070, 195071], "mapped", [38923]], [[195072, 195072], "mapped", [38953]], [[195073, 195073], "mapped", [169398]], [[195074, 195074], "mapped", [39138]], [[195075, 195075], "mapped", [19251]], [[195076, 195076], "mapped", [39209]], [[195077, 195077], "mapped", [39335]], [[195078, 195078], "mapped", [39362]], [[195079, 195079], "mapped", [39422]], [[195080, 195080], "mapped", [19406]], [[195081, 195081], "mapped", [170800]], [[195082, 195082], "mapped", [39698]], [[195083, 195083], "mapped", [4e4]], [[195084, 195084], "mapped", [40189]], [[195085, 195085], "mapped", [19662]], [[195086, 195086], "mapped", [19693]], [[195087, 195087], "mapped", [40295]], [[195088, 195088], "mapped", [172238]], [[195089, 195089], "mapped", [19704]], [[195090, 195090], "mapped", [172293]], [[195091, 195091], "mapped", [172558]], [[195092, 195092], "mapped", [172689]], [[195093, 195093], "mapped", [40635]], [[195094, 195094], "mapped", [19798]], [[195095, 195095], "mapped", [40697]], [[195096, 195096], "mapped", [40702]], [[195097, 195097], "mapped", [40709]], [[195098, 195098], "mapped", [40719]], [[195099, 195099], "mapped", [40726]], [[195100, 195100], "mapped", [40763]], [[195101, 195101], "mapped", [173568]], [[195102, 196605], "disallowed"], [[196606, 196607], "disallowed"], [[196608, 262141], "disallowed"], [[262142, 262143], "disallowed"], [[262144, 327677], "disallowed"], [[327678, 327679], "disallowed"], [[327680, 393213], "disallowed"], [[393214, 393215], "disallowed"], [[393216, 458749], "disallowed"], [[458750, 458751], "disallowed"], [[458752, 524285], "disallowed"], [[524286, 524287], "disallowed"], [[524288, 589821], "disallowed"], [[589822, 589823], "disallowed"], [[589824, 655357], "disallowed"], [[655358, 655359], "disallowed"], [[655360, 720893], "disallowed"], [[720894, 720895], "disallowed"], [[720896, 786429], "disallowed"], [[786430, 786431], "disallowed"], [[786432, 851965], "disallowed"], [[851966, 851967], "disallowed"], [[851968, 917501], "disallowed"], [[917502, 917503], "disallowed"], [[917504, 917504], "disallowed"], [[917505, 917505], "disallowed"], [[917506, 917535], "disallowed"], [[917536, 917631], "disallowed"], [[917632, 917759], "disallowed"], [[917760, 917999], "ignored"], [[918e3, 983037], "disallowed"], [[983038, 983039], "disallowed"], [[983040, 1048573], "disallowed"], [[1048574, 1048575], "disallowed"], [[1048576, 1114109], "disallowed"], [[1114110, 1114111], "disallowed"]]; - } + 'node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json'(exports2, module2) { + module2.exports = [ + [[0, 44], 'disallowed_STD3_valid'], + [[45, 46], 'valid'], + [[47, 47], 'disallowed_STD3_valid'], + [[48, 57], 'valid'], + [[58, 64], 'disallowed_STD3_valid'], + [[65, 65], 'mapped', [97]], + [[66, 66], 'mapped', [98]], + [[67, 67], 'mapped', [99]], + [[68, 68], 'mapped', [100]], + [[69, 69], 'mapped', [101]], + [[70, 70], 'mapped', [102]], + [[71, 71], 'mapped', [103]], + [[72, 72], 'mapped', [104]], + [[73, 73], 'mapped', [105]], + [[74, 74], 'mapped', [106]], + [[75, 75], 'mapped', [107]], + [[76, 76], 'mapped', [108]], + [[77, 77], 'mapped', [109]], + [[78, 78], 'mapped', [110]], + [[79, 79], 'mapped', [111]], + [[80, 80], 'mapped', [112]], + [[81, 81], 'mapped', [113]], + [[82, 82], 'mapped', [114]], + [[83, 83], 'mapped', [115]], + [[84, 84], 'mapped', [116]], + [[85, 85], 'mapped', [117]], + [[86, 86], 'mapped', [118]], + [[87, 87], 'mapped', [119]], + [[88, 88], 'mapped', [120]], + [[89, 89], 'mapped', [121]], + [[90, 90], 'mapped', [122]], + [[91, 96], 'disallowed_STD3_valid'], + [[97, 122], 'valid'], + [[123, 127], 'disallowed_STD3_valid'], + [[128, 159], 'disallowed'], + [[160, 160], 'disallowed_STD3_mapped', [32]], + [[161, 167], 'valid', [], 'NV8'], + [[168, 168], 'disallowed_STD3_mapped', [32, 776]], + [[169, 169], 'valid', [], 'NV8'], + [[170, 170], 'mapped', [97]], + [[171, 172], 'valid', [], 'NV8'], + [[173, 173], 'ignored'], + [[174, 174], 'valid', [], 'NV8'], + [[175, 175], 'disallowed_STD3_mapped', [32, 772]], + [[176, 177], 'valid', [], 'NV8'], + [[178, 178], 'mapped', [50]], + [[179, 179], 'mapped', [51]], + [[180, 180], 'disallowed_STD3_mapped', [32, 769]], + [[181, 181], 'mapped', [956]], + [[182, 182], 'valid', [], 'NV8'], + [[183, 183], 'valid'], + [[184, 184], 'disallowed_STD3_mapped', [32, 807]], + [[185, 185], 'mapped', [49]], + [[186, 186], 'mapped', [111]], + [[187, 187], 'valid', [], 'NV8'], + [[188, 188], 'mapped', [49, 8260, 52]], + [[189, 189], 'mapped', [49, 8260, 50]], + [[190, 190], 'mapped', [51, 8260, 52]], + [[191, 191], 'valid', [], 'NV8'], + [[192, 192], 'mapped', [224]], + [[193, 193], 'mapped', [225]], + [[194, 194], 'mapped', [226]], + [[195, 195], 'mapped', [227]], + [[196, 196], 'mapped', [228]], + [[197, 197], 'mapped', [229]], + [[198, 198], 'mapped', [230]], + [[199, 199], 'mapped', [231]], + [[200, 200], 'mapped', [232]], + [[201, 201], 'mapped', [233]], + [[202, 202], 'mapped', [234]], + [[203, 203], 'mapped', [235]], + [[204, 204], 'mapped', [236]], + [[205, 205], 'mapped', [237]], + [[206, 206], 'mapped', [238]], + [[207, 207], 'mapped', [239]], + [[208, 208], 'mapped', [240]], + [[209, 209], 'mapped', [241]], + [[210, 210], 'mapped', [242]], + [[211, 211], 'mapped', [243]], + [[212, 212], 'mapped', [244]], + [[213, 213], 'mapped', [245]], + [[214, 214], 'mapped', [246]], + [[215, 215], 'valid', [], 'NV8'], + [[216, 216], 'mapped', [248]], + [[217, 217], 'mapped', [249]], + [[218, 218], 'mapped', [250]], + [[219, 219], 'mapped', [251]], + [[220, 220], 'mapped', [252]], + [[221, 221], 'mapped', [253]], + [[222, 222], 'mapped', [254]], + [[223, 223], 'deviation', [115, 115]], + [[224, 246], 'valid'], + [[247, 247], 'valid', [], 'NV8'], + [[248, 255], 'valid'], + [[256, 256], 'mapped', [257]], + [[257, 257], 'valid'], + [[258, 258], 'mapped', [259]], + [[259, 259], 'valid'], + [[260, 260], 'mapped', [261]], + [[261, 261], 'valid'], + [[262, 262], 'mapped', [263]], + [[263, 263], 'valid'], + [[264, 264], 'mapped', [265]], + [[265, 265], 'valid'], + [[266, 266], 'mapped', [267]], + [[267, 267], 'valid'], + [[268, 268], 'mapped', [269]], + [[269, 269], 'valid'], + [[270, 270], 'mapped', [271]], + [[271, 271], 'valid'], + [[272, 272], 'mapped', [273]], + [[273, 273], 'valid'], + [[274, 274], 'mapped', [275]], + [[275, 275], 'valid'], + [[276, 276], 'mapped', [277]], + [[277, 277], 'valid'], + [[278, 278], 'mapped', [279]], + [[279, 279], 'valid'], + [[280, 280], 'mapped', [281]], + [[281, 281], 'valid'], + [[282, 282], 'mapped', [283]], + [[283, 283], 'valid'], + [[284, 284], 'mapped', [285]], + [[285, 285], 'valid'], + [[286, 286], 'mapped', [287]], + [[287, 287], 'valid'], + [[288, 288], 'mapped', [289]], + [[289, 289], 'valid'], + [[290, 290], 'mapped', [291]], + [[291, 291], 'valid'], + [[292, 292], 'mapped', [293]], + [[293, 293], 'valid'], + [[294, 294], 'mapped', [295]], + [[295, 295], 'valid'], + [[296, 296], 'mapped', [297]], + [[297, 297], 'valid'], + [[298, 298], 'mapped', [299]], + [[299, 299], 'valid'], + [[300, 300], 'mapped', [301]], + [[301, 301], 'valid'], + [[302, 302], 'mapped', [303]], + [[303, 303], 'valid'], + [[304, 304], 'mapped', [105, 775]], + [[305, 305], 'valid'], + [[306, 307], 'mapped', [105, 106]], + [[308, 308], 'mapped', [309]], + [[309, 309], 'valid'], + [[310, 310], 'mapped', [311]], + [[311, 312], 'valid'], + [[313, 313], 'mapped', [314]], + [[314, 314], 'valid'], + [[315, 315], 'mapped', [316]], + [[316, 316], 'valid'], + [[317, 317], 'mapped', [318]], + [[318, 318], 'valid'], + [[319, 320], 'mapped', [108, 183]], + [[321, 321], 'mapped', [322]], + [[322, 322], 'valid'], + [[323, 323], 'mapped', [324]], + [[324, 324], 'valid'], + [[325, 325], 'mapped', [326]], + [[326, 326], 'valid'], + [[327, 327], 'mapped', [328]], + [[328, 328], 'valid'], + [[329, 329], 'mapped', [700, 110]], + [[330, 330], 'mapped', [331]], + [[331, 331], 'valid'], + [[332, 332], 'mapped', [333]], + [[333, 333], 'valid'], + [[334, 334], 'mapped', [335]], + [[335, 335], 'valid'], + [[336, 336], 'mapped', [337]], + [[337, 337], 'valid'], + [[338, 338], 'mapped', [339]], + [[339, 339], 'valid'], + [[340, 340], 'mapped', [341]], + [[341, 341], 'valid'], + [[342, 342], 'mapped', [343]], + [[343, 343], 'valid'], + [[344, 344], 'mapped', [345]], + [[345, 345], 'valid'], + [[346, 346], 'mapped', [347]], + [[347, 347], 'valid'], + [[348, 348], 'mapped', [349]], + [[349, 349], 'valid'], + [[350, 350], 'mapped', [351]], + [[351, 351], 'valid'], + [[352, 352], 'mapped', [353]], + [[353, 353], 'valid'], + [[354, 354], 'mapped', [355]], + [[355, 355], 'valid'], + [[356, 356], 'mapped', [357]], + [[357, 357], 'valid'], + [[358, 358], 'mapped', [359]], + [[359, 359], 'valid'], + [[360, 360], 'mapped', [361]], + [[361, 361], 'valid'], + [[362, 362], 'mapped', [363]], + [[363, 363], 'valid'], + [[364, 364], 'mapped', [365]], + [[365, 365], 'valid'], + [[366, 366], 'mapped', [367]], + [[367, 367], 'valid'], + [[368, 368], 'mapped', [369]], + [[369, 369], 'valid'], + [[370, 370], 'mapped', [371]], + [[371, 371], 'valid'], + [[372, 372], 'mapped', [373]], + [[373, 373], 'valid'], + [[374, 374], 'mapped', [375]], + [[375, 375], 'valid'], + [[376, 376], 'mapped', [255]], + [[377, 377], 'mapped', [378]], + [[378, 378], 'valid'], + [[379, 379], 'mapped', [380]], + [[380, 380], 'valid'], + [[381, 381], 'mapped', [382]], + [[382, 382], 'valid'], + [[383, 383], 'mapped', [115]], + [[384, 384], 'valid'], + [[385, 385], 'mapped', [595]], + [[386, 386], 'mapped', [387]], + [[387, 387], 'valid'], + [[388, 388], 'mapped', [389]], + [[389, 389], 'valid'], + [[390, 390], 'mapped', [596]], + [[391, 391], 'mapped', [392]], + [[392, 392], 'valid'], + [[393, 393], 'mapped', [598]], + [[394, 394], 'mapped', [599]], + [[395, 395], 'mapped', [396]], + [[396, 397], 'valid'], + [[398, 398], 'mapped', [477]], + [[399, 399], 'mapped', [601]], + [[400, 400], 'mapped', [603]], + [[401, 401], 'mapped', [402]], + [[402, 402], 'valid'], + [[403, 403], 'mapped', [608]], + [[404, 404], 'mapped', [611]], + [[405, 405], 'valid'], + [[406, 406], 'mapped', [617]], + [[407, 407], 'mapped', [616]], + [[408, 408], 'mapped', [409]], + [[409, 411], 'valid'], + [[412, 412], 'mapped', [623]], + [[413, 413], 'mapped', [626]], + [[414, 414], 'valid'], + [[415, 415], 'mapped', [629]], + [[416, 416], 'mapped', [417]], + [[417, 417], 'valid'], + [[418, 418], 'mapped', [419]], + [[419, 419], 'valid'], + [[420, 420], 'mapped', [421]], + [[421, 421], 'valid'], + [[422, 422], 'mapped', [640]], + [[423, 423], 'mapped', [424]], + [[424, 424], 'valid'], + [[425, 425], 'mapped', [643]], + [[426, 427], 'valid'], + [[428, 428], 'mapped', [429]], + [[429, 429], 'valid'], + [[430, 430], 'mapped', [648]], + [[431, 431], 'mapped', [432]], + [[432, 432], 'valid'], + [[433, 433], 'mapped', [650]], + [[434, 434], 'mapped', [651]], + [[435, 435], 'mapped', [436]], + [[436, 436], 'valid'], + [[437, 437], 'mapped', [438]], + [[438, 438], 'valid'], + [[439, 439], 'mapped', [658]], + [[440, 440], 'mapped', [441]], + [[441, 443], 'valid'], + [[444, 444], 'mapped', [445]], + [[445, 451], 'valid'], + [[452, 454], 'mapped', [100, 382]], + [[455, 457], 'mapped', [108, 106]], + [[458, 460], 'mapped', [110, 106]], + [[461, 461], 'mapped', [462]], + [[462, 462], 'valid'], + [[463, 463], 'mapped', [464]], + [[464, 464], 'valid'], + [[465, 465], 'mapped', [466]], + [[466, 466], 'valid'], + [[467, 467], 'mapped', [468]], + [[468, 468], 'valid'], + [[469, 469], 'mapped', [470]], + [[470, 470], 'valid'], + [[471, 471], 'mapped', [472]], + [[472, 472], 'valid'], + [[473, 473], 'mapped', [474]], + [[474, 474], 'valid'], + [[475, 475], 'mapped', [476]], + [[476, 477], 'valid'], + [[478, 478], 'mapped', [479]], + [[479, 479], 'valid'], + [[480, 480], 'mapped', [481]], + [[481, 481], 'valid'], + [[482, 482], 'mapped', [483]], + [[483, 483], 'valid'], + [[484, 484], 'mapped', [485]], + [[485, 485], 'valid'], + [[486, 486], 'mapped', [487]], + [[487, 487], 'valid'], + [[488, 488], 'mapped', [489]], + [[489, 489], 'valid'], + [[490, 490], 'mapped', [491]], + [[491, 491], 'valid'], + [[492, 492], 'mapped', [493]], + [[493, 493], 'valid'], + [[494, 494], 'mapped', [495]], + [[495, 496], 'valid'], + [[497, 499], 'mapped', [100, 122]], + [[500, 500], 'mapped', [501]], + [[501, 501], 'valid'], + [[502, 502], 'mapped', [405]], + [[503, 503], 'mapped', [447]], + [[504, 504], 'mapped', [505]], + [[505, 505], 'valid'], + [[506, 506], 'mapped', [507]], + [[507, 507], 'valid'], + [[508, 508], 'mapped', [509]], + [[509, 509], 'valid'], + [[510, 510], 'mapped', [511]], + [[511, 511], 'valid'], + [[512, 512], 'mapped', [513]], + [[513, 513], 'valid'], + [[514, 514], 'mapped', [515]], + [[515, 515], 'valid'], + [[516, 516], 'mapped', [517]], + [[517, 517], 'valid'], + [[518, 518], 'mapped', [519]], + [[519, 519], 'valid'], + [[520, 520], 'mapped', [521]], + [[521, 521], 'valid'], + [[522, 522], 'mapped', [523]], + [[523, 523], 'valid'], + [[524, 524], 'mapped', [525]], + [[525, 525], 'valid'], + [[526, 526], 'mapped', [527]], + [[527, 527], 'valid'], + [[528, 528], 'mapped', [529]], + [[529, 529], 'valid'], + [[530, 530], 'mapped', [531]], + [[531, 531], 'valid'], + [[532, 532], 'mapped', [533]], + [[533, 533], 'valid'], + [[534, 534], 'mapped', [535]], + [[535, 535], 'valid'], + [[536, 536], 'mapped', [537]], + [[537, 537], 'valid'], + [[538, 538], 'mapped', [539]], + [[539, 539], 'valid'], + [[540, 540], 'mapped', [541]], + [[541, 541], 'valid'], + [[542, 542], 'mapped', [543]], + [[543, 543], 'valid'], + [[544, 544], 'mapped', [414]], + [[545, 545], 'valid'], + [[546, 546], 'mapped', [547]], + [[547, 547], 'valid'], + [[548, 548], 'mapped', [549]], + [[549, 549], 'valid'], + [[550, 550], 'mapped', [551]], + [[551, 551], 'valid'], + [[552, 552], 'mapped', [553]], + [[553, 553], 'valid'], + [[554, 554], 'mapped', [555]], + [[555, 555], 'valid'], + [[556, 556], 'mapped', [557]], + [[557, 557], 'valid'], + [[558, 558], 'mapped', [559]], + [[559, 559], 'valid'], + [[560, 560], 'mapped', [561]], + [[561, 561], 'valid'], + [[562, 562], 'mapped', [563]], + [[563, 563], 'valid'], + [[564, 566], 'valid'], + [[567, 569], 'valid'], + [[570, 570], 'mapped', [11365]], + [[571, 571], 'mapped', [572]], + [[572, 572], 'valid'], + [[573, 573], 'mapped', [410]], + [[574, 574], 'mapped', [11366]], + [[575, 576], 'valid'], + [[577, 577], 'mapped', [578]], + [[578, 578], 'valid'], + [[579, 579], 'mapped', [384]], + [[580, 580], 'mapped', [649]], + [[581, 581], 'mapped', [652]], + [[582, 582], 'mapped', [583]], + [[583, 583], 'valid'], + [[584, 584], 'mapped', [585]], + [[585, 585], 'valid'], + [[586, 586], 'mapped', [587]], + [[587, 587], 'valid'], + [[588, 588], 'mapped', [589]], + [[589, 589], 'valid'], + [[590, 590], 'mapped', [591]], + [[591, 591], 'valid'], + [[592, 680], 'valid'], + [[681, 685], 'valid'], + [[686, 687], 'valid'], + [[688, 688], 'mapped', [104]], + [[689, 689], 'mapped', [614]], + [[690, 690], 'mapped', [106]], + [[691, 691], 'mapped', [114]], + [[692, 692], 'mapped', [633]], + [[693, 693], 'mapped', [635]], + [[694, 694], 'mapped', [641]], + [[695, 695], 'mapped', [119]], + [[696, 696], 'mapped', [121]], + [[697, 705], 'valid'], + [[706, 709], 'valid', [], 'NV8'], + [[710, 721], 'valid'], + [[722, 727], 'valid', [], 'NV8'], + [[728, 728], 'disallowed_STD3_mapped', [32, 774]], + [[729, 729], 'disallowed_STD3_mapped', [32, 775]], + [[730, 730], 'disallowed_STD3_mapped', [32, 778]], + [[731, 731], 'disallowed_STD3_mapped', [32, 808]], + [[732, 732], 'disallowed_STD3_mapped', [32, 771]], + [[733, 733], 'disallowed_STD3_mapped', [32, 779]], + [[734, 734], 'valid', [], 'NV8'], + [[735, 735], 'valid', [], 'NV8'], + [[736, 736], 'mapped', [611]], + [[737, 737], 'mapped', [108]], + [[738, 738], 'mapped', [115]], + [[739, 739], 'mapped', [120]], + [[740, 740], 'mapped', [661]], + [[741, 745], 'valid', [], 'NV8'], + [[746, 747], 'valid', [], 'NV8'], + [[748, 748], 'valid'], + [[749, 749], 'valid', [], 'NV8'], + [[750, 750], 'valid'], + [[751, 767], 'valid', [], 'NV8'], + [[768, 831], 'valid'], + [[832, 832], 'mapped', [768]], + [[833, 833], 'mapped', [769]], + [[834, 834], 'valid'], + [[835, 835], 'mapped', [787]], + [[836, 836], 'mapped', [776, 769]], + [[837, 837], 'mapped', [953]], + [[838, 846], 'valid'], + [[847, 847], 'ignored'], + [[848, 855], 'valid'], + [[856, 860], 'valid'], + [[861, 863], 'valid'], + [[864, 865], 'valid'], + [[866, 866], 'valid'], + [[867, 879], 'valid'], + [[880, 880], 'mapped', [881]], + [[881, 881], 'valid'], + [[882, 882], 'mapped', [883]], + [[883, 883], 'valid'], + [[884, 884], 'mapped', [697]], + [[885, 885], 'valid'], + [[886, 886], 'mapped', [887]], + [[887, 887], 'valid'], + [[888, 889], 'disallowed'], + [[890, 890], 'disallowed_STD3_mapped', [32, 953]], + [[891, 893], 'valid'], + [[894, 894], 'disallowed_STD3_mapped', [59]], + [[895, 895], 'mapped', [1011]], + [[896, 899], 'disallowed'], + [[900, 900], 'disallowed_STD3_mapped', [32, 769]], + [[901, 901], 'disallowed_STD3_mapped', [32, 776, 769]], + [[902, 902], 'mapped', [940]], + [[903, 903], 'mapped', [183]], + [[904, 904], 'mapped', [941]], + [[905, 905], 'mapped', [942]], + [[906, 906], 'mapped', [943]], + [[907, 907], 'disallowed'], + [[908, 908], 'mapped', [972]], + [[909, 909], 'disallowed'], + [[910, 910], 'mapped', [973]], + [[911, 911], 'mapped', [974]], + [[912, 912], 'valid'], + [[913, 913], 'mapped', [945]], + [[914, 914], 'mapped', [946]], + [[915, 915], 'mapped', [947]], + [[916, 916], 'mapped', [948]], + [[917, 917], 'mapped', [949]], + [[918, 918], 'mapped', [950]], + [[919, 919], 'mapped', [951]], + [[920, 920], 'mapped', [952]], + [[921, 921], 'mapped', [953]], + [[922, 922], 'mapped', [954]], + [[923, 923], 'mapped', [955]], + [[924, 924], 'mapped', [956]], + [[925, 925], 'mapped', [957]], + [[926, 926], 'mapped', [958]], + [[927, 927], 'mapped', [959]], + [[928, 928], 'mapped', [960]], + [[929, 929], 'mapped', [961]], + [[930, 930], 'disallowed'], + [[931, 931], 'mapped', [963]], + [[932, 932], 'mapped', [964]], + [[933, 933], 'mapped', [965]], + [[934, 934], 'mapped', [966]], + [[935, 935], 'mapped', [967]], + [[936, 936], 'mapped', [968]], + [[937, 937], 'mapped', [969]], + [[938, 938], 'mapped', [970]], + [[939, 939], 'mapped', [971]], + [[940, 961], 'valid'], + [[962, 962], 'deviation', [963]], + [[963, 974], 'valid'], + [[975, 975], 'mapped', [983]], + [[976, 976], 'mapped', [946]], + [[977, 977], 'mapped', [952]], + [[978, 978], 'mapped', [965]], + [[979, 979], 'mapped', [973]], + [[980, 980], 'mapped', [971]], + [[981, 981], 'mapped', [966]], + [[982, 982], 'mapped', [960]], + [[983, 983], 'valid'], + [[984, 984], 'mapped', [985]], + [[985, 985], 'valid'], + [[986, 986], 'mapped', [987]], + [[987, 987], 'valid'], + [[988, 988], 'mapped', [989]], + [[989, 989], 'valid'], + [[990, 990], 'mapped', [991]], + [[991, 991], 'valid'], + [[992, 992], 'mapped', [993]], + [[993, 993], 'valid'], + [[994, 994], 'mapped', [995]], + [[995, 995], 'valid'], + [[996, 996], 'mapped', [997]], + [[997, 997], 'valid'], + [[998, 998], 'mapped', [999]], + [[999, 999], 'valid'], + [[1e3, 1e3], 'mapped', [1001]], + [[1001, 1001], 'valid'], + [[1002, 1002], 'mapped', [1003]], + [[1003, 1003], 'valid'], + [[1004, 1004], 'mapped', [1005]], + [[1005, 1005], 'valid'], + [[1006, 1006], 'mapped', [1007]], + [[1007, 1007], 'valid'], + [[1008, 1008], 'mapped', [954]], + [[1009, 1009], 'mapped', [961]], + [[1010, 1010], 'mapped', [963]], + [[1011, 1011], 'valid'], + [[1012, 1012], 'mapped', [952]], + [[1013, 1013], 'mapped', [949]], + [[1014, 1014], 'valid', [], 'NV8'], + [[1015, 1015], 'mapped', [1016]], + [[1016, 1016], 'valid'], + [[1017, 1017], 'mapped', [963]], + [[1018, 1018], 'mapped', [1019]], + [[1019, 1019], 'valid'], + [[1020, 1020], 'valid'], + [[1021, 1021], 'mapped', [891]], + [[1022, 1022], 'mapped', [892]], + [[1023, 1023], 'mapped', [893]], + [[1024, 1024], 'mapped', [1104]], + [[1025, 1025], 'mapped', [1105]], + [[1026, 1026], 'mapped', [1106]], + [[1027, 1027], 'mapped', [1107]], + [[1028, 1028], 'mapped', [1108]], + [[1029, 1029], 'mapped', [1109]], + [[1030, 1030], 'mapped', [1110]], + [[1031, 1031], 'mapped', [1111]], + [[1032, 1032], 'mapped', [1112]], + [[1033, 1033], 'mapped', [1113]], + [[1034, 1034], 'mapped', [1114]], + [[1035, 1035], 'mapped', [1115]], + [[1036, 1036], 'mapped', [1116]], + [[1037, 1037], 'mapped', [1117]], + [[1038, 1038], 'mapped', [1118]], + [[1039, 1039], 'mapped', [1119]], + [[1040, 1040], 'mapped', [1072]], + [[1041, 1041], 'mapped', [1073]], + [[1042, 1042], 'mapped', [1074]], + [[1043, 1043], 'mapped', [1075]], + [[1044, 1044], 'mapped', [1076]], + [[1045, 1045], 'mapped', [1077]], + [[1046, 1046], 'mapped', [1078]], + [[1047, 1047], 'mapped', [1079]], + [[1048, 1048], 'mapped', [1080]], + [[1049, 1049], 'mapped', [1081]], + [[1050, 1050], 'mapped', [1082]], + [[1051, 1051], 'mapped', [1083]], + [[1052, 1052], 'mapped', [1084]], + [[1053, 1053], 'mapped', [1085]], + [[1054, 1054], 'mapped', [1086]], + [[1055, 1055], 'mapped', [1087]], + [[1056, 1056], 'mapped', [1088]], + [[1057, 1057], 'mapped', [1089]], + [[1058, 1058], 'mapped', [1090]], + [[1059, 1059], 'mapped', [1091]], + [[1060, 1060], 'mapped', [1092]], + [[1061, 1061], 'mapped', [1093]], + [[1062, 1062], 'mapped', [1094]], + [[1063, 1063], 'mapped', [1095]], + [[1064, 1064], 'mapped', [1096]], + [[1065, 1065], 'mapped', [1097]], + [[1066, 1066], 'mapped', [1098]], + [[1067, 1067], 'mapped', [1099]], + [[1068, 1068], 'mapped', [1100]], + [[1069, 1069], 'mapped', [1101]], + [[1070, 1070], 'mapped', [1102]], + [[1071, 1071], 'mapped', [1103]], + [[1072, 1103], 'valid'], + [[1104, 1104], 'valid'], + [[1105, 1116], 'valid'], + [[1117, 1117], 'valid'], + [[1118, 1119], 'valid'], + [[1120, 1120], 'mapped', [1121]], + [[1121, 1121], 'valid'], + [[1122, 1122], 'mapped', [1123]], + [[1123, 1123], 'valid'], + [[1124, 1124], 'mapped', [1125]], + [[1125, 1125], 'valid'], + [[1126, 1126], 'mapped', [1127]], + [[1127, 1127], 'valid'], + [[1128, 1128], 'mapped', [1129]], + [[1129, 1129], 'valid'], + [[1130, 1130], 'mapped', [1131]], + [[1131, 1131], 'valid'], + [[1132, 1132], 'mapped', [1133]], + [[1133, 1133], 'valid'], + [[1134, 1134], 'mapped', [1135]], + [[1135, 1135], 'valid'], + [[1136, 1136], 'mapped', [1137]], + [[1137, 1137], 'valid'], + [[1138, 1138], 'mapped', [1139]], + [[1139, 1139], 'valid'], + [[1140, 1140], 'mapped', [1141]], + [[1141, 1141], 'valid'], + [[1142, 1142], 'mapped', [1143]], + [[1143, 1143], 'valid'], + [[1144, 1144], 'mapped', [1145]], + [[1145, 1145], 'valid'], + [[1146, 1146], 'mapped', [1147]], + [[1147, 1147], 'valid'], + [[1148, 1148], 'mapped', [1149]], + [[1149, 1149], 'valid'], + [[1150, 1150], 'mapped', [1151]], + [[1151, 1151], 'valid'], + [[1152, 1152], 'mapped', [1153]], + [[1153, 1153], 'valid'], + [[1154, 1154], 'valid', [], 'NV8'], + [[1155, 1158], 'valid'], + [[1159, 1159], 'valid'], + [[1160, 1161], 'valid', [], 'NV8'], + [[1162, 1162], 'mapped', [1163]], + [[1163, 1163], 'valid'], + [[1164, 1164], 'mapped', [1165]], + [[1165, 1165], 'valid'], + [[1166, 1166], 'mapped', [1167]], + [[1167, 1167], 'valid'], + [[1168, 1168], 'mapped', [1169]], + [[1169, 1169], 'valid'], + [[1170, 1170], 'mapped', [1171]], + [[1171, 1171], 'valid'], + [[1172, 1172], 'mapped', [1173]], + [[1173, 1173], 'valid'], + [[1174, 1174], 'mapped', [1175]], + [[1175, 1175], 'valid'], + [[1176, 1176], 'mapped', [1177]], + [[1177, 1177], 'valid'], + [[1178, 1178], 'mapped', [1179]], + [[1179, 1179], 'valid'], + [[1180, 1180], 'mapped', [1181]], + [[1181, 1181], 'valid'], + [[1182, 1182], 'mapped', [1183]], + [[1183, 1183], 'valid'], + [[1184, 1184], 'mapped', [1185]], + [[1185, 1185], 'valid'], + [[1186, 1186], 'mapped', [1187]], + [[1187, 1187], 'valid'], + [[1188, 1188], 'mapped', [1189]], + [[1189, 1189], 'valid'], + [[1190, 1190], 'mapped', [1191]], + [[1191, 1191], 'valid'], + [[1192, 1192], 'mapped', [1193]], + [[1193, 1193], 'valid'], + [[1194, 1194], 'mapped', [1195]], + [[1195, 1195], 'valid'], + [[1196, 1196], 'mapped', [1197]], + [[1197, 1197], 'valid'], + [[1198, 1198], 'mapped', [1199]], + [[1199, 1199], 'valid'], + [[1200, 1200], 'mapped', [1201]], + [[1201, 1201], 'valid'], + [[1202, 1202], 'mapped', [1203]], + [[1203, 1203], 'valid'], + [[1204, 1204], 'mapped', [1205]], + [[1205, 1205], 'valid'], + [[1206, 1206], 'mapped', [1207]], + [[1207, 1207], 'valid'], + [[1208, 1208], 'mapped', [1209]], + [[1209, 1209], 'valid'], + [[1210, 1210], 'mapped', [1211]], + [[1211, 1211], 'valid'], + [[1212, 1212], 'mapped', [1213]], + [[1213, 1213], 'valid'], + [[1214, 1214], 'mapped', [1215]], + [[1215, 1215], 'valid'], + [[1216, 1216], 'disallowed'], + [[1217, 1217], 'mapped', [1218]], + [[1218, 1218], 'valid'], + [[1219, 1219], 'mapped', [1220]], + [[1220, 1220], 'valid'], + [[1221, 1221], 'mapped', [1222]], + [[1222, 1222], 'valid'], + [[1223, 1223], 'mapped', [1224]], + [[1224, 1224], 'valid'], + [[1225, 1225], 'mapped', [1226]], + [[1226, 1226], 'valid'], + [[1227, 1227], 'mapped', [1228]], + [[1228, 1228], 'valid'], + [[1229, 1229], 'mapped', [1230]], + [[1230, 1230], 'valid'], + [[1231, 1231], 'valid'], + [[1232, 1232], 'mapped', [1233]], + [[1233, 1233], 'valid'], + [[1234, 1234], 'mapped', [1235]], + [[1235, 1235], 'valid'], + [[1236, 1236], 'mapped', [1237]], + [[1237, 1237], 'valid'], + [[1238, 1238], 'mapped', [1239]], + [[1239, 1239], 'valid'], + [[1240, 1240], 'mapped', [1241]], + [[1241, 1241], 'valid'], + [[1242, 1242], 'mapped', [1243]], + [[1243, 1243], 'valid'], + [[1244, 1244], 'mapped', [1245]], + [[1245, 1245], 'valid'], + [[1246, 1246], 'mapped', [1247]], + [[1247, 1247], 'valid'], + [[1248, 1248], 'mapped', [1249]], + [[1249, 1249], 'valid'], + [[1250, 1250], 'mapped', [1251]], + [[1251, 1251], 'valid'], + [[1252, 1252], 'mapped', [1253]], + [[1253, 1253], 'valid'], + [[1254, 1254], 'mapped', [1255]], + [[1255, 1255], 'valid'], + [[1256, 1256], 'mapped', [1257]], + [[1257, 1257], 'valid'], + [[1258, 1258], 'mapped', [1259]], + [[1259, 1259], 'valid'], + [[1260, 1260], 'mapped', [1261]], + [[1261, 1261], 'valid'], + [[1262, 1262], 'mapped', [1263]], + [[1263, 1263], 'valid'], + [[1264, 1264], 'mapped', [1265]], + [[1265, 1265], 'valid'], + [[1266, 1266], 'mapped', [1267]], + [[1267, 1267], 'valid'], + [[1268, 1268], 'mapped', [1269]], + [[1269, 1269], 'valid'], + [[1270, 1270], 'mapped', [1271]], + [[1271, 1271], 'valid'], + [[1272, 1272], 'mapped', [1273]], + [[1273, 1273], 'valid'], + [[1274, 1274], 'mapped', [1275]], + [[1275, 1275], 'valid'], + [[1276, 1276], 'mapped', [1277]], + [[1277, 1277], 'valid'], + [[1278, 1278], 'mapped', [1279]], + [[1279, 1279], 'valid'], + [[1280, 1280], 'mapped', [1281]], + [[1281, 1281], 'valid'], + [[1282, 1282], 'mapped', [1283]], + [[1283, 1283], 'valid'], + [[1284, 1284], 'mapped', [1285]], + [[1285, 1285], 'valid'], + [[1286, 1286], 'mapped', [1287]], + [[1287, 1287], 'valid'], + [[1288, 1288], 'mapped', [1289]], + [[1289, 1289], 'valid'], + [[1290, 1290], 'mapped', [1291]], + [[1291, 1291], 'valid'], + [[1292, 1292], 'mapped', [1293]], + [[1293, 1293], 'valid'], + [[1294, 1294], 'mapped', [1295]], + [[1295, 1295], 'valid'], + [[1296, 1296], 'mapped', [1297]], + [[1297, 1297], 'valid'], + [[1298, 1298], 'mapped', [1299]], + [[1299, 1299], 'valid'], + [[1300, 1300], 'mapped', [1301]], + [[1301, 1301], 'valid'], + [[1302, 1302], 'mapped', [1303]], + [[1303, 1303], 'valid'], + [[1304, 1304], 'mapped', [1305]], + [[1305, 1305], 'valid'], + [[1306, 1306], 'mapped', [1307]], + [[1307, 1307], 'valid'], + [[1308, 1308], 'mapped', [1309]], + [[1309, 1309], 'valid'], + [[1310, 1310], 'mapped', [1311]], + [[1311, 1311], 'valid'], + [[1312, 1312], 'mapped', [1313]], + [[1313, 1313], 'valid'], + [[1314, 1314], 'mapped', [1315]], + [[1315, 1315], 'valid'], + [[1316, 1316], 'mapped', [1317]], + [[1317, 1317], 'valid'], + [[1318, 1318], 'mapped', [1319]], + [[1319, 1319], 'valid'], + [[1320, 1320], 'mapped', [1321]], + [[1321, 1321], 'valid'], + [[1322, 1322], 'mapped', [1323]], + [[1323, 1323], 'valid'], + [[1324, 1324], 'mapped', [1325]], + [[1325, 1325], 'valid'], + [[1326, 1326], 'mapped', [1327]], + [[1327, 1327], 'valid'], + [[1328, 1328], 'disallowed'], + [[1329, 1329], 'mapped', [1377]], + [[1330, 1330], 'mapped', [1378]], + [[1331, 1331], 'mapped', [1379]], + [[1332, 1332], 'mapped', [1380]], + [[1333, 1333], 'mapped', [1381]], + [[1334, 1334], 'mapped', [1382]], + [[1335, 1335], 'mapped', [1383]], + [[1336, 1336], 'mapped', [1384]], + [[1337, 1337], 'mapped', [1385]], + [[1338, 1338], 'mapped', [1386]], + [[1339, 1339], 'mapped', [1387]], + [[1340, 1340], 'mapped', [1388]], + [[1341, 1341], 'mapped', [1389]], + [[1342, 1342], 'mapped', [1390]], + [[1343, 1343], 'mapped', [1391]], + [[1344, 1344], 'mapped', [1392]], + [[1345, 1345], 'mapped', [1393]], + [[1346, 1346], 'mapped', [1394]], + [[1347, 1347], 'mapped', [1395]], + [[1348, 1348], 'mapped', [1396]], + [[1349, 1349], 'mapped', [1397]], + [[1350, 1350], 'mapped', [1398]], + [[1351, 1351], 'mapped', [1399]], + [[1352, 1352], 'mapped', [1400]], + [[1353, 1353], 'mapped', [1401]], + [[1354, 1354], 'mapped', [1402]], + [[1355, 1355], 'mapped', [1403]], + [[1356, 1356], 'mapped', [1404]], + [[1357, 1357], 'mapped', [1405]], + [[1358, 1358], 'mapped', [1406]], + [[1359, 1359], 'mapped', [1407]], + [[1360, 1360], 'mapped', [1408]], + [[1361, 1361], 'mapped', [1409]], + [[1362, 1362], 'mapped', [1410]], + [[1363, 1363], 'mapped', [1411]], + [[1364, 1364], 'mapped', [1412]], + [[1365, 1365], 'mapped', [1413]], + [[1366, 1366], 'mapped', [1414]], + [[1367, 1368], 'disallowed'], + [[1369, 1369], 'valid'], + [[1370, 1375], 'valid', [], 'NV8'], + [[1376, 1376], 'disallowed'], + [[1377, 1414], 'valid'], + [[1415, 1415], 'mapped', [1381, 1410]], + [[1416, 1416], 'disallowed'], + [[1417, 1417], 'valid', [], 'NV8'], + [[1418, 1418], 'valid', [], 'NV8'], + [[1419, 1420], 'disallowed'], + [[1421, 1422], 'valid', [], 'NV8'], + [[1423, 1423], 'valid', [], 'NV8'], + [[1424, 1424], 'disallowed'], + [[1425, 1441], 'valid'], + [[1442, 1442], 'valid'], + [[1443, 1455], 'valid'], + [[1456, 1465], 'valid'], + [[1466, 1466], 'valid'], + [[1467, 1469], 'valid'], + [[1470, 1470], 'valid', [], 'NV8'], + [[1471, 1471], 'valid'], + [[1472, 1472], 'valid', [], 'NV8'], + [[1473, 1474], 'valid'], + [[1475, 1475], 'valid', [], 'NV8'], + [[1476, 1476], 'valid'], + [[1477, 1477], 'valid'], + [[1478, 1478], 'valid', [], 'NV8'], + [[1479, 1479], 'valid'], + [[1480, 1487], 'disallowed'], + [[1488, 1514], 'valid'], + [[1515, 1519], 'disallowed'], + [[1520, 1524], 'valid'], + [[1525, 1535], 'disallowed'], + [[1536, 1539], 'disallowed'], + [[1540, 1540], 'disallowed'], + [[1541, 1541], 'disallowed'], + [[1542, 1546], 'valid', [], 'NV8'], + [[1547, 1547], 'valid', [], 'NV8'], + [[1548, 1548], 'valid', [], 'NV8'], + [[1549, 1551], 'valid', [], 'NV8'], + [[1552, 1557], 'valid'], + [[1558, 1562], 'valid'], + [[1563, 1563], 'valid', [], 'NV8'], + [[1564, 1564], 'disallowed'], + [[1565, 1565], 'disallowed'], + [[1566, 1566], 'valid', [], 'NV8'], + [[1567, 1567], 'valid', [], 'NV8'], + [[1568, 1568], 'valid'], + [[1569, 1594], 'valid'], + [[1595, 1599], 'valid'], + [[1600, 1600], 'valid', [], 'NV8'], + [[1601, 1618], 'valid'], + [[1619, 1621], 'valid'], + [[1622, 1624], 'valid'], + [[1625, 1630], 'valid'], + [[1631, 1631], 'valid'], + [[1632, 1641], 'valid'], + [[1642, 1645], 'valid', [], 'NV8'], + [[1646, 1647], 'valid'], + [[1648, 1652], 'valid'], + [[1653, 1653], 'mapped', [1575, 1652]], + [[1654, 1654], 'mapped', [1608, 1652]], + [[1655, 1655], 'mapped', [1735, 1652]], + [[1656, 1656], 'mapped', [1610, 1652]], + [[1657, 1719], 'valid'], + [[1720, 1721], 'valid'], + [[1722, 1726], 'valid'], + [[1727, 1727], 'valid'], + [[1728, 1742], 'valid'], + [[1743, 1743], 'valid'], + [[1744, 1747], 'valid'], + [[1748, 1748], 'valid', [], 'NV8'], + [[1749, 1756], 'valid'], + [[1757, 1757], 'disallowed'], + [[1758, 1758], 'valid', [], 'NV8'], + [[1759, 1768], 'valid'], + [[1769, 1769], 'valid', [], 'NV8'], + [[1770, 1773], 'valid'], + [[1774, 1775], 'valid'], + [[1776, 1785], 'valid'], + [[1786, 1790], 'valid'], + [[1791, 1791], 'valid'], + [[1792, 1805], 'valid', [], 'NV8'], + [[1806, 1806], 'disallowed'], + [[1807, 1807], 'disallowed'], + [[1808, 1836], 'valid'], + [[1837, 1839], 'valid'], + [[1840, 1866], 'valid'], + [[1867, 1868], 'disallowed'], + [[1869, 1871], 'valid'], + [[1872, 1901], 'valid'], + [[1902, 1919], 'valid'], + [[1920, 1968], 'valid'], + [[1969, 1969], 'valid'], + [[1970, 1983], 'disallowed'], + [[1984, 2037], 'valid'], + [[2038, 2042], 'valid', [], 'NV8'], + [[2043, 2047], 'disallowed'], + [[2048, 2093], 'valid'], + [[2094, 2095], 'disallowed'], + [[2096, 2110], 'valid', [], 'NV8'], + [[2111, 2111], 'disallowed'], + [[2112, 2139], 'valid'], + [[2140, 2141], 'disallowed'], + [[2142, 2142], 'valid', [], 'NV8'], + [[2143, 2207], 'disallowed'], + [[2208, 2208], 'valid'], + [[2209, 2209], 'valid'], + [[2210, 2220], 'valid'], + [[2221, 2226], 'valid'], + [[2227, 2228], 'valid'], + [[2229, 2274], 'disallowed'], + [[2275, 2275], 'valid'], + [[2276, 2302], 'valid'], + [[2303, 2303], 'valid'], + [[2304, 2304], 'valid'], + [[2305, 2307], 'valid'], + [[2308, 2308], 'valid'], + [[2309, 2361], 'valid'], + [[2362, 2363], 'valid'], + [[2364, 2381], 'valid'], + [[2382, 2382], 'valid'], + [[2383, 2383], 'valid'], + [[2384, 2388], 'valid'], + [[2389, 2389], 'valid'], + [[2390, 2391], 'valid'], + [[2392, 2392], 'mapped', [2325, 2364]], + [[2393, 2393], 'mapped', [2326, 2364]], + [[2394, 2394], 'mapped', [2327, 2364]], + [[2395, 2395], 'mapped', [2332, 2364]], + [[2396, 2396], 'mapped', [2337, 2364]], + [[2397, 2397], 'mapped', [2338, 2364]], + [[2398, 2398], 'mapped', [2347, 2364]], + [[2399, 2399], 'mapped', [2351, 2364]], + [[2400, 2403], 'valid'], + [[2404, 2405], 'valid', [], 'NV8'], + [[2406, 2415], 'valid'], + [[2416, 2416], 'valid', [], 'NV8'], + [[2417, 2418], 'valid'], + [[2419, 2423], 'valid'], + [[2424, 2424], 'valid'], + [[2425, 2426], 'valid'], + [[2427, 2428], 'valid'], + [[2429, 2429], 'valid'], + [[2430, 2431], 'valid'], + [[2432, 2432], 'valid'], + [[2433, 2435], 'valid'], + [[2436, 2436], 'disallowed'], + [[2437, 2444], 'valid'], + [[2445, 2446], 'disallowed'], + [[2447, 2448], 'valid'], + [[2449, 2450], 'disallowed'], + [[2451, 2472], 'valid'], + [[2473, 2473], 'disallowed'], + [[2474, 2480], 'valid'], + [[2481, 2481], 'disallowed'], + [[2482, 2482], 'valid'], + [[2483, 2485], 'disallowed'], + [[2486, 2489], 'valid'], + [[2490, 2491], 'disallowed'], + [[2492, 2492], 'valid'], + [[2493, 2493], 'valid'], + [[2494, 2500], 'valid'], + [[2501, 2502], 'disallowed'], + [[2503, 2504], 'valid'], + [[2505, 2506], 'disallowed'], + [[2507, 2509], 'valid'], + [[2510, 2510], 'valid'], + [[2511, 2518], 'disallowed'], + [[2519, 2519], 'valid'], + [[2520, 2523], 'disallowed'], + [[2524, 2524], 'mapped', [2465, 2492]], + [[2525, 2525], 'mapped', [2466, 2492]], + [[2526, 2526], 'disallowed'], + [[2527, 2527], 'mapped', [2479, 2492]], + [[2528, 2531], 'valid'], + [[2532, 2533], 'disallowed'], + [[2534, 2545], 'valid'], + [[2546, 2554], 'valid', [], 'NV8'], + [[2555, 2555], 'valid', [], 'NV8'], + [[2556, 2560], 'disallowed'], + [[2561, 2561], 'valid'], + [[2562, 2562], 'valid'], + [[2563, 2563], 'valid'], + [[2564, 2564], 'disallowed'], + [[2565, 2570], 'valid'], + [[2571, 2574], 'disallowed'], + [[2575, 2576], 'valid'], + [[2577, 2578], 'disallowed'], + [[2579, 2600], 'valid'], + [[2601, 2601], 'disallowed'], + [[2602, 2608], 'valid'], + [[2609, 2609], 'disallowed'], + [[2610, 2610], 'valid'], + [[2611, 2611], 'mapped', [2610, 2620]], + [[2612, 2612], 'disallowed'], + [[2613, 2613], 'valid'], + [[2614, 2614], 'mapped', [2616, 2620]], + [[2615, 2615], 'disallowed'], + [[2616, 2617], 'valid'], + [[2618, 2619], 'disallowed'], + [[2620, 2620], 'valid'], + [[2621, 2621], 'disallowed'], + [[2622, 2626], 'valid'], + [[2627, 2630], 'disallowed'], + [[2631, 2632], 'valid'], + [[2633, 2634], 'disallowed'], + [[2635, 2637], 'valid'], + [[2638, 2640], 'disallowed'], + [[2641, 2641], 'valid'], + [[2642, 2648], 'disallowed'], + [[2649, 2649], 'mapped', [2582, 2620]], + [[2650, 2650], 'mapped', [2583, 2620]], + [[2651, 2651], 'mapped', [2588, 2620]], + [[2652, 2652], 'valid'], + [[2653, 2653], 'disallowed'], + [[2654, 2654], 'mapped', [2603, 2620]], + [[2655, 2661], 'disallowed'], + [[2662, 2676], 'valid'], + [[2677, 2677], 'valid'], + [[2678, 2688], 'disallowed'], + [[2689, 2691], 'valid'], + [[2692, 2692], 'disallowed'], + [[2693, 2699], 'valid'], + [[2700, 2700], 'valid'], + [[2701, 2701], 'valid'], + [[2702, 2702], 'disallowed'], + [[2703, 2705], 'valid'], + [[2706, 2706], 'disallowed'], + [[2707, 2728], 'valid'], + [[2729, 2729], 'disallowed'], + [[2730, 2736], 'valid'], + [[2737, 2737], 'disallowed'], + [[2738, 2739], 'valid'], + [[2740, 2740], 'disallowed'], + [[2741, 2745], 'valid'], + [[2746, 2747], 'disallowed'], + [[2748, 2757], 'valid'], + [[2758, 2758], 'disallowed'], + [[2759, 2761], 'valid'], + [[2762, 2762], 'disallowed'], + [[2763, 2765], 'valid'], + [[2766, 2767], 'disallowed'], + [[2768, 2768], 'valid'], + [[2769, 2783], 'disallowed'], + [[2784, 2784], 'valid'], + [[2785, 2787], 'valid'], + [[2788, 2789], 'disallowed'], + [[2790, 2799], 'valid'], + [[2800, 2800], 'valid', [], 'NV8'], + [[2801, 2801], 'valid', [], 'NV8'], + [[2802, 2808], 'disallowed'], + [[2809, 2809], 'valid'], + [[2810, 2816], 'disallowed'], + [[2817, 2819], 'valid'], + [[2820, 2820], 'disallowed'], + [[2821, 2828], 'valid'], + [[2829, 2830], 'disallowed'], + [[2831, 2832], 'valid'], + [[2833, 2834], 'disallowed'], + [[2835, 2856], 'valid'], + [[2857, 2857], 'disallowed'], + [[2858, 2864], 'valid'], + [[2865, 2865], 'disallowed'], + [[2866, 2867], 'valid'], + [[2868, 2868], 'disallowed'], + [[2869, 2869], 'valid'], + [[2870, 2873], 'valid'], + [[2874, 2875], 'disallowed'], + [[2876, 2883], 'valid'], + [[2884, 2884], 'valid'], + [[2885, 2886], 'disallowed'], + [[2887, 2888], 'valid'], + [[2889, 2890], 'disallowed'], + [[2891, 2893], 'valid'], + [[2894, 2901], 'disallowed'], + [[2902, 2903], 'valid'], + [[2904, 2907], 'disallowed'], + [[2908, 2908], 'mapped', [2849, 2876]], + [[2909, 2909], 'mapped', [2850, 2876]], + [[2910, 2910], 'disallowed'], + [[2911, 2913], 'valid'], + [[2914, 2915], 'valid'], + [[2916, 2917], 'disallowed'], + [[2918, 2927], 'valid'], + [[2928, 2928], 'valid', [], 'NV8'], + [[2929, 2929], 'valid'], + [[2930, 2935], 'valid', [], 'NV8'], + [[2936, 2945], 'disallowed'], + [[2946, 2947], 'valid'], + [[2948, 2948], 'disallowed'], + [[2949, 2954], 'valid'], + [[2955, 2957], 'disallowed'], + [[2958, 2960], 'valid'], + [[2961, 2961], 'disallowed'], + [[2962, 2965], 'valid'], + [[2966, 2968], 'disallowed'], + [[2969, 2970], 'valid'], + [[2971, 2971], 'disallowed'], + [[2972, 2972], 'valid'], + [[2973, 2973], 'disallowed'], + [[2974, 2975], 'valid'], + [[2976, 2978], 'disallowed'], + [[2979, 2980], 'valid'], + [[2981, 2983], 'disallowed'], + [[2984, 2986], 'valid'], + [[2987, 2989], 'disallowed'], + [[2990, 2997], 'valid'], + [[2998, 2998], 'valid'], + [[2999, 3001], 'valid'], + [[3002, 3005], 'disallowed'], + [[3006, 3010], 'valid'], + [[3011, 3013], 'disallowed'], + [[3014, 3016], 'valid'], + [[3017, 3017], 'disallowed'], + [[3018, 3021], 'valid'], + [[3022, 3023], 'disallowed'], + [[3024, 3024], 'valid'], + [[3025, 3030], 'disallowed'], + [[3031, 3031], 'valid'], + [[3032, 3045], 'disallowed'], + [[3046, 3046], 'valid'], + [[3047, 3055], 'valid'], + [[3056, 3058], 'valid', [], 'NV8'], + [[3059, 3066], 'valid', [], 'NV8'], + [[3067, 3071], 'disallowed'], + [[3072, 3072], 'valid'], + [[3073, 3075], 'valid'], + [[3076, 3076], 'disallowed'], + [[3077, 3084], 'valid'], + [[3085, 3085], 'disallowed'], + [[3086, 3088], 'valid'], + [[3089, 3089], 'disallowed'], + [[3090, 3112], 'valid'], + [[3113, 3113], 'disallowed'], + [[3114, 3123], 'valid'], + [[3124, 3124], 'valid'], + [[3125, 3129], 'valid'], + [[3130, 3132], 'disallowed'], + [[3133, 3133], 'valid'], + [[3134, 3140], 'valid'], + [[3141, 3141], 'disallowed'], + [[3142, 3144], 'valid'], + [[3145, 3145], 'disallowed'], + [[3146, 3149], 'valid'], + [[3150, 3156], 'disallowed'], + [[3157, 3158], 'valid'], + [[3159, 3159], 'disallowed'], + [[3160, 3161], 'valid'], + [[3162, 3162], 'valid'], + [[3163, 3167], 'disallowed'], + [[3168, 3169], 'valid'], + [[3170, 3171], 'valid'], + [[3172, 3173], 'disallowed'], + [[3174, 3183], 'valid'], + [[3184, 3191], 'disallowed'], + [[3192, 3199], 'valid', [], 'NV8'], + [[3200, 3200], 'disallowed'], + [[3201, 3201], 'valid'], + [[3202, 3203], 'valid'], + [[3204, 3204], 'disallowed'], + [[3205, 3212], 'valid'], + [[3213, 3213], 'disallowed'], + [[3214, 3216], 'valid'], + [[3217, 3217], 'disallowed'], + [[3218, 3240], 'valid'], + [[3241, 3241], 'disallowed'], + [[3242, 3251], 'valid'], + [[3252, 3252], 'disallowed'], + [[3253, 3257], 'valid'], + [[3258, 3259], 'disallowed'], + [[3260, 3261], 'valid'], + [[3262, 3268], 'valid'], + [[3269, 3269], 'disallowed'], + [[3270, 3272], 'valid'], + [[3273, 3273], 'disallowed'], + [[3274, 3277], 'valid'], + [[3278, 3284], 'disallowed'], + [[3285, 3286], 'valid'], + [[3287, 3293], 'disallowed'], + [[3294, 3294], 'valid'], + [[3295, 3295], 'disallowed'], + [[3296, 3297], 'valid'], + [[3298, 3299], 'valid'], + [[3300, 3301], 'disallowed'], + [[3302, 3311], 'valid'], + [[3312, 3312], 'disallowed'], + [[3313, 3314], 'valid'], + [[3315, 3328], 'disallowed'], + [[3329, 3329], 'valid'], + [[3330, 3331], 'valid'], + [[3332, 3332], 'disallowed'], + [[3333, 3340], 'valid'], + [[3341, 3341], 'disallowed'], + [[3342, 3344], 'valid'], + [[3345, 3345], 'disallowed'], + [[3346, 3368], 'valid'], + [[3369, 3369], 'valid'], + [[3370, 3385], 'valid'], + [[3386, 3386], 'valid'], + [[3387, 3388], 'disallowed'], + [[3389, 3389], 'valid'], + [[3390, 3395], 'valid'], + [[3396, 3396], 'valid'], + [[3397, 3397], 'disallowed'], + [[3398, 3400], 'valid'], + [[3401, 3401], 'disallowed'], + [[3402, 3405], 'valid'], + [[3406, 3406], 'valid'], + [[3407, 3414], 'disallowed'], + [[3415, 3415], 'valid'], + [[3416, 3422], 'disallowed'], + [[3423, 3423], 'valid'], + [[3424, 3425], 'valid'], + [[3426, 3427], 'valid'], + [[3428, 3429], 'disallowed'], + [[3430, 3439], 'valid'], + [[3440, 3445], 'valid', [], 'NV8'], + [[3446, 3448], 'disallowed'], + [[3449, 3449], 'valid', [], 'NV8'], + [[3450, 3455], 'valid'], + [[3456, 3457], 'disallowed'], + [[3458, 3459], 'valid'], + [[3460, 3460], 'disallowed'], + [[3461, 3478], 'valid'], + [[3479, 3481], 'disallowed'], + [[3482, 3505], 'valid'], + [[3506, 3506], 'disallowed'], + [[3507, 3515], 'valid'], + [[3516, 3516], 'disallowed'], + [[3517, 3517], 'valid'], + [[3518, 3519], 'disallowed'], + [[3520, 3526], 'valid'], + [[3527, 3529], 'disallowed'], + [[3530, 3530], 'valid'], + [[3531, 3534], 'disallowed'], + [[3535, 3540], 'valid'], + [[3541, 3541], 'disallowed'], + [[3542, 3542], 'valid'], + [[3543, 3543], 'disallowed'], + [[3544, 3551], 'valid'], + [[3552, 3557], 'disallowed'], + [[3558, 3567], 'valid'], + [[3568, 3569], 'disallowed'], + [[3570, 3571], 'valid'], + [[3572, 3572], 'valid', [], 'NV8'], + [[3573, 3584], 'disallowed'], + [[3585, 3634], 'valid'], + [[3635, 3635], 'mapped', [3661, 3634]], + [[3636, 3642], 'valid'], + [[3643, 3646], 'disallowed'], + [[3647, 3647], 'valid', [], 'NV8'], + [[3648, 3662], 'valid'], + [[3663, 3663], 'valid', [], 'NV8'], + [[3664, 3673], 'valid'], + [[3674, 3675], 'valid', [], 'NV8'], + [[3676, 3712], 'disallowed'], + [[3713, 3714], 'valid'], + [[3715, 3715], 'disallowed'], + [[3716, 3716], 'valid'], + [[3717, 3718], 'disallowed'], + [[3719, 3720], 'valid'], + [[3721, 3721], 'disallowed'], + [[3722, 3722], 'valid'], + [[3723, 3724], 'disallowed'], + [[3725, 3725], 'valid'], + [[3726, 3731], 'disallowed'], + [[3732, 3735], 'valid'], + [[3736, 3736], 'disallowed'], + [[3737, 3743], 'valid'], + [[3744, 3744], 'disallowed'], + [[3745, 3747], 'valid'], + [[3748, 3748], 'disallowed'], + [[3749, 3749], 'valid'], + [[3750, 3750], 'disallowed'], + [[3751, 3751], 'valid'], + [[3752, 3753], 'disallowed'], + [[3754, 3755], 'valid'], + [[3756, 3756], 'disallowed'], + [[3757, 3762], 'valid'], + [[3763, 3763], 'mapped', [3789, 3762]], + [[3764, 3769], 'valid'], + [[3770, 3770], 'disallowed'], + [[3771, 3773], 'valid'], + [[3774, 3775], 'disallowed'], + [[3776, 3780], 'valid'], + [[3781, 3781], 'disallowed'], + [[3782, 3782], 'valid'], + [[3783, 3783], 'disallowed'], + [[3784, 3789], 'valid'], + [[3790, 3791], 'disallowed'], + [[3792, 3801], 'valid'], + [[3802, 3803], 'disallowed'], + [[3804, 3804], 'mapped', [3755, 3737]], + [[3805, 3805], 'mapped', [3755, 3745]], + [[3806, 3807], 'valid'], + [[3808, 3839], 'disallowed'], + [[3840, 3840], 'valid'], + [[3841, 3850], 'valid', [], 'NV8'], + [[3851, 3851], 'valid'], + [[3852, 3852], 'mapped', [3851]], + [[3853, 3863], 'valid', [], 'NV8'], + [[3864, 3865], 'valid'], + [[3866, 3871], 'valid', [], 'NV8'], + [[3872, 3881], 'valid'], + [[3882, 3892], 'valid', [], 'NV8'], + [[3893, 3893], 'valid'], + [[3894, 3894], 'valid', [], 'NV8'], + [[3895, 3895], 'valid'], + [[3896, 3896], 'valid', [], 'NV8'], + [[3897, 3897], 'valid'], + [[3898, 3901], 'valid', [], 'NV8'], + [[3902, 3906], 'valid'], + [[3907, 3907], 'mapped', [3906, 4023]], + [[3908, 3911], 'valid'], + [[3912, 3912], 'disallowed'], + [[3913, 3916], 'valid'], + [[3917, 3917], 'mapped', [3916, 4023]], + [[3918, 3921], 'valid'], + [[3922, 3922], 'mapped', [3921, 4023]], + [[3923, 3926], 'valid'], + [[3927, 3927], 'mapped', [3926, 4023]], + [[3928, 3931], 'valid'], + [[3932, 3932], 'mapped', [3931, 4023]], + [[3933, 3944], 'valid'], + [[3945, 3945], 'mapped', [3904, 4021]], + [[3946, 3946], 'valid'], + [[3947, 3948], 'valid'], + [[3949, 3952], 'disallowed'], + [[3953, 3954], 'valid'], + [[3955, 3955], 'mapped', [3953, 3954]], + [[3956, 3956], 'valid'], + [[3957, 3957], 'mapped', [3953, 3956]], + [[3958, 3958], 'mapped', [4018, 3968]], + [[3959, 3959], 'mapped', [4018, 3953, 3968]], + [[3960, 3960], 'mapped', [4019, 3968]], + [[3961, 3961], 'mapped', [4019, 3953, 3968]], + [[3962, 3968], 'valid'], + [[3969, 3969], 'mapped', [3953, 3968]], + [[3970, 3972], 'valid'], + [[3973, 3973], 'valid', [], 'NV8'], + [[3974, 3979], 'valid'], + [[3980, 3983], 'valid'], + [[3984, 3986], 'valid'], + [[3987, 3987], 'mapped', [3986, 4023]], + [[3988, 3989], 'valid'], + [[3990, 3990], 'valid'], + [[3991, 3991], 'valid'], + [[3992, 3992], 'disallowed'], + [[3993, 3996], 'valid'], + [[3997, 3997], 'mapped', [3996, 4023]], + [[3998, 4001], 'valid'], + [[4002, 4002], 'mapped', [4001, 4023]], + [[4003, 4006], 'valid'], + [[4007, 4007], 'mapped', [4006, 4023]], + [[4008, 4011], 'valid'], + [[4012, 4012], 'mapped', [4011, 4023]], + [[4013, 4013], 'valid'], + [[4014, 4016], 'valid'], + [[4017, 4023], 'valid'], + [[4024, 4024], 'valid'], + [[4025, 4025], 'mapped', [3984, 4021]], + [[4026, 4028], 'valid'], + [[4029, 4029], 'disallowed'], + [[4030, 4037], 'valid', [], 'NV8'], + [[4038, 4038], 'valid'], + [[4039, 4044], 'valid', [], 'NV8'], + [[4045, 4045], 'disallowed'], + [[4046, 4046], 'valid', [], 'NV8'], + [[4047, 4047], 'valid', [], 'NV8'], + [[4048, 4049], 'valid', [], 'NV8'], + [[4050, 4052], 'valid', [], 'NV8'], + [[4053, 4056], 'valid', [], 'NV8'], + [[4057, 4058], 'valid', [], 'NV8'], + [[4059, 4095], 'disallowed'], + [[4096, 4129], 'valid'], + [[4130, 4130], 'valid'], + [[4131, 4135], 'valid'], + [[4136, 4136], 'valid'], + [[4137, 4138], 'valid'], + [[4139, 4139], 'valid'], + [[4140, 4146], 'valid'], + [[4147, 4149], 'valid'], + [[4150, 4153], 'valid'], + [[4154, 4159], 'valid'], + [[4160, 4169], 'valid'], + [[4170, 4175], 'valid', [], 'NV8'], + [[4176, 4185], 'valid'], + [[4186, 4249], 'valid'], + [[4250, 4253], 'valid'], + [[4254, 4255], 'valid', [], 'NV8'], + [[4256, 4293], 'disallowed'], + [[4294, 4294], 'disallowed'], + [[4295, 4295], 'mapped', [11559]], + [[4296, 4300], 'disallowed'], + [[4301, 4301], 'mapped', [11565]], + [[4302, 4303], 'disallowed'], + [[4304, 4342], 'valid'], + [[4343, 4344], 'valid'], + [[4345, 4346], 'valid'], + [[4347, 4347], 'valid', [], 'NV8'], + [[4348, 4348], 'mapped', [4316]], + [[4349, 4351], 'valid'], + [[4352, 4441], 'valid', [], 'NV8'], + [[4442, 4446], 'valid', [], 'NV8'], + [[4447, 4448], 'disallowed'], + [[4449, 4514], 'valid', [], 'NV8'], + [[4515, 4519], 'valid', [], 'NV8'], + [[4520, 4601], 'valid', [], 'NV8'], + [[4602, 4607], 'valid', [], 'NV8'], + [[4608, 4614], 'valid'], + [[4615, 4615], 'valid'], + [[4616, 4678], 'valid'], + [[4679, 4679], 'valid'], + [[4680, 4680], 'valid'], + [[4681, 4681], 'disallowed'], + [[4682, 4685], 'valid'], + [[4686, 4687], 'disallowed'], + [[4688, 4694], 'valid'], + [[4695, 4695], 'disallowed'], + [[4696, 4696], 'valid'], + [[4697, 4697], 'disallowed'], + [[4698, 4701], 'valid'], + [[4702, 4703], 'disallowed'], + [[4704, 4742], 'valid'], + [[4743, 4743], 'valid'], + [[4744, 4744], 'valid'], + [[4745, 4745], 'disallowed'], + [[4746, 4749], 'valid'], + [[4750, 4751], 'disallowed'], + [[4752, 4782], 'valid'], + [[4783, 4783], 'valid'], + [[4784, 4784], 'valid'], + [[4785, 4785], 'disallowed'], + [[4786, 4789], 'valid'], + [[4790, 4791], 'disallowed'], + [[4792, 4798], 'valid'], + [[4799, 4799], 'disallowed'], + [[4800, 4800], 'valid'], + [[4801, 4801], 'disallowed'], + [[4802, 4805], 'valid'], + [[4806, 4807], 'disallowed'], + [[4808, 4814], 'valid'], + [[4815, 4815], 'valid'], + [[4816, 4822], 'valid'], + [[4823, 4823], 'disallowed'], + [[4824, 4846], 'valid'], + [[4847, 4847], 'valid'], + [[4848, 4878], 'valid'], + [[4879, 4879], 'valid'], + [[4880, 4880], 'valid'], + [[4881, 4881], 'disallowed'], + [[4882, 4885], 'valid'], + [[4886, 4887], 'disallowed'], + [[4888, 4894], 'valid'], + [[4895, 4895], 'valid'], + [[4896, 4934], 'valid'], + [[4935, 4935], 'valid'], + [[4936, 4954], 'valid'], + [[4955, 4956], 'disallowed'], + [[4957, 4958], 'valid'], + [[4959, 4959], 'valid'], + [[4960, 4960], 'valid', [], 'NV8'], + [[4961, 4988], 'valid', [], 'NV8'], + [[4989, 4991], 'disallowed'], + [[4992, 5007], 'valid'], + [[5008, 5017], 'valid', [], 'NV8'], + [[5018, 5023], 'disallowed'], + [[5024, 5108], 'valid'], + [[5109, 5109], 'valid'], + [[5110, 5111], 'disallowed'], + [[5112, 5112], 'mapped', [5104]], + [[5113, 5113], 'mapped', [5105]], + [[5114, 5114], 'mapped', [5106]], + [[5115, 5115], 'mapped', [5107]], + [[5116, 5116], 'mapped', [5108]], + [[5117, 5117], 'mapped', [5109]], + [[5118, 5119], 'disallowed'], + [[5120, 5120], 'valid', [], 'NV8'], + [[5121, 5740], 'valid'], + [[5741, 5742], 'valid', [], 'NV8'], + [[5743, 5750], 'valid'], + [[5751, 5759], 'valid'], + [[5760, 5760], 'disallowed'], + [[5761, 5786], 'valid'], + [[5787, 5788], 'valid', [], 'NV8'], + [[5789, 5791], 'disallowed'], + [[5792, 5866], 'valid'], + [[5867, 5872], 'valid', [], 'NV8'], + [[5873, 5880], 'valid'], + [[5881, 5887], 'disallowed'], + [[5888, 5900], 'valid'], + [[5901, 5901], 'disallowed'], + [[5902, 5908], 'valid'], + [[5909, 5919], 'disallowed'], + [[5920, 5940], 'valid'], + [[5941, 5942], 'valid', [], 'NV8'], + [[5943, 5951], 'disallowed'], + [[5952, 5971], 'valid'], + [[5972, 5983], 'disallowed'], + [[5984, 5996], 'valid'], + [[5997, 5997], 'disallowed'], + [[5998, 6e3], 'valid'], + [[6001, 6001], 'disallowed'], + [[6002, 6003], 'valid'], + [[6004, 6015], 'disallowed'], + [[6016, 6067], 'valid'], + [[6068, 6069], 'disallowed'], + [[6070, 6099], 'valid'], + [[6100, 6102], 'valid', [], 'NV8'], + [[6103, 6103], 'valid'], + [[6104, 6107], 'valid', [], 'NV8'], + [[6108, 6108], 'valid'], + [[6109, 6109], 'valid'], + [[6110, 6111], 'disallowed'], + [[6112, 6121], 'valid'], + [[6122, 6127], 'disallowed'], + [[6128, 6137], 'valid', [], 'NV8'], + [[6138, 6143], 'disallowed'], + [[6144, 6149], 'valid', [], 'NV8'], + [[6150, 6150], 'disallowed'], + [[6151, 6154], 'valid', [], 'NV8'], + [[6155, 6157], 'ignored'], + [[6158, 6158], 'disallowed'], + [[6159, 6159], 'disallowed'], + [[6160, 6169], 'valid'], + [[6170, 6175], 'disallowed'], + [[6176, 6263], 'valid'], + [[6264, 6271], 'disallowed'], + [[6272, 6313], 'valid'], + [[6314, 6314], 'valid'], + [[6315, 6319], 'disallowed'], + [[6320, 6389], 'valid'], + [[6390, 6399], 'disallowed'], + [[6400, 6428], 'valid'], + [[6429, 6430], 'valid'], + [[6431, 6431], 'disallowed'], + [[6432, 6443], 'valid'], + [[6444, 6447], 'disallowed'], + [[6448, 6459], 'valid'], + [[6460, 6463], 'disallowed'], + [[6464, 6464], 'valid', [], 'NV8'], + [[6465, 6467], 'disallowed'], + [[6468, 6469], 'valid', [], 'NV8'], + [[6470, 6509], 'valid'], + [[6510, 6511], 'disallowed'], + [[6512, 6516], 'valid'], + [[6517, 6527], 'disallowed'], + [[6528, 6569], 'valid'], + [[6570, 6571], 'valid'], + [[6572, 6575], 'disallowed'], + [[6576, 6601], 'valid'], + [[6602, 6607], 'disallowed'], + [[6608, 6617], 'valid'], + [[6618, 6618], 'valid', [], 'XV8'], + [[6619, 6621], 'disallowed'], + [[6622, 6623], 'valid', [], 'NV8'], + [[6624, 6655], 'valid', [], 'NV8'], + [[6656, 6683], 'valid'], + [[6684, 6685], 'disallowed'], + [[6686, 6687], 'valid', [], 'NV8'], + [[6688, 6750], 'valid'], + [[6751, 6751], 'disallowed'], + [[6752, 6780], 'valid'], + [[6781, 6782], 'disallowed'], + [[6783, 6793], 'valid'], + [[6794, 6799], 'disallowed'], + [[6800, 6809], 'valid'], + [[6810, 6815], 'disallowed'], + [[6816, 6822], 'valid', [], 'NV8'], + [[6823, 6823], 'valid'], + [[6824, 6829], 'valid', [], 'NV8'], + [[6830, 6831], 'disallowed'], + [[6832, 6845], 'valid'], + [[6846, 6846], 'valid', [], 'NV8'], + [[6847, 6911], 'disallowed'], + [[6912, 6987], 'valid'], + [[6988, 6991], 'disallowed'], + [[6992, 7001], 'valid'], + [[7002, 7018], 'valid', [], 'NV8'], + [[7019, 7027], 'valid'], + [[7028, 7036], 'valid', [], 'NV8'], + [[7037, 7039], 'disallowed'], + [[7040, 7082], 'valid'], + [[7083, 7085], 'valid'], + [[7086, 7097], 'valid'], + [[7098, 7103], 'valid'], + [[7104, 7155], 'valid'], + [[7156, 7163], 'disallowed'], + [[7164, 7167], 'valid', [], 'NV8'], + [[7168, 7223], 'valid'], + [[7224, 7226], 'disallowed'], + [[7227, 7231], 'valid', [], 'NV8'], + [[7232, 7241], 'valid'], + [[7242, 7244], 'disallowed'], + [[7245, 7293], 'valid'], + [[7294, 7295], 'valid', [], 'NV8'], + [[7296, 7359], 'disallowed'], + [[7360, 7367], 'valid', [], 'NV8'], + [[7368, 7375], 'disallowed'], + [[7376, 7378], 'valid'], + [[7379, 7379], 'valid', [], 'NV8'], + [[7380, 7410], 'valid'], + [[7411, 7414], 'valid'], + [[7415, 7415], 'disallowed'], + [[7416, 7417], 'valid'], + [[7418, 7423], 'disallowed'], + [[7424, 7467], 'valid'], + [[7468, 7468], 'mapped', [97]], + [[7469, 7469], 'mapped', [230]], + [[7470, 7470], 'mapped', [98]], + [[7471, 7471], 'valid'], + [[7472, 7472], 'mapped', [100]], + [[7473, 7473], 'mapped', [101]], + [[7474, 7474], 'mapped', [477]], + [[7475, 7475], 'mapped', [103]], + [[7476, 7476], 'mapped', [104]], + [[7477, 7477], 'mapped', [105]], + [[7478, 7478], 'mapped', [106]], + [[7479, 7479], 'mapped', [107]], + [[7480, 7480], 'mapped', [108]], + [[7481, 7481], 'mapped', [109]], + [[7482, 7482], 'mapped', [110]], + [[7483, 7483], 'valid'], + [[7484, 7484], 'mapped', [111]], + [[7485, 7485], 'mapped', [547]], + [[7486, 7486], 'mapped', [112]], + [[7487, 7487], 'mapped', [114]], + [[7488, 7488], 'mapped', [116]], + [[7489, 7489], 'mapped', [117]], + [[7490, 7490], 'mapped', [119]], + [[7491, 7491], 'mapped', [97]], + [[7492, 7492], 'mapped', [592]], + [[7493, 7493], 'mapped', [593]], + [[7494, 7494], 'mapped', [7426]], + [[7495, 7495], 'mapped', [98]], + [[7496, 7496], 'mapped', [100]], + [[7497, 7497], 'mapped', [101]], + [[7498, 7498], 'mapped', [601]], + [[7499, 7499], 'mapped', [603]], + [[7500, 7500], 'mapped', [604]], + [[7501, 7501], 'mapped', [103]], + [[7502, 7502], 'valid'], + [[7503, 7503], 'mapped', [107]], + [[7504, 7504], 'mapped', [109]], + [[7505, 7505], 'mapped', [331]], + [[7506, 7506], 'mapped', [111]], + [[7507, 7507], 'mapped', [596]], + [[7508, 7508], 'mapped', [7446]], + [[7509, 7509], 'mapped', [7447]], + [[7510, 7510], 'mapped', [112]], + [[7511, 7511], 'mapped', [116]], + [[7512, 7512], 'mapped', [117]], + [[7513, 7513], 'mapped', [7453]], + [[7514, 7514], 'mapped', [623]], + [[7515, 7515], 'mapped', [118]], + [[7516, 7516], 'mapped', [7461]], + [[7517, 7517], 'mapped', [946]], + [[7518, 7518], 'mapped', [947]], + [[7519, 7519], 'mapped', [948]], + [[7520, 7520], 'mapped', [966]], + [[7521, 7521], 'mapped', [967]], + [[7522, 7522], 'mapped', [105]], + [[7523, 7523], 'mapped', [114]], + [[7524, 7524], 'mapped', [117]], + [[7525, 7525], 'mapped', [118]], + [[7526, 7526], 'mapped', [946]], + [[7527, 7527], 'mapped', [947]], + [[7528, 7528], 'mapped', [961]], + [[7529, 7529], 'mapped', [966]], + [[7530, 7530], 'mapped', [967]], + [[7531, 7531], 'valid'], + [[7532, 7543], 'valid'], + [[7544, 7544], 'mapped', [1085]], + [[7545, 7578], 'valid'], + [[7579, 7579], 'mapped', [594]], + [[7580, 7580], 'mapped', [99]], + [[7581, 7581], 'mapped', [597]], + [[7582, 7582], 'mapped', [240]], + [[7583, 7583], 'mapped', [604]], + [[7584, 7584], 'mapped', [102]], + [[7585, 7585], 'mapped', [607]], + [[7586, 7586], 'mapped', [609]], + [[7587, 7587], 'mapped', [613]], + [[7588, 7588], 'mapped', [616]], + [[7589, 7589], 'mapped', [617]], + [[7590, 7590], 'mapped', [618]], + [[7591, 7591], 'mapped', [7547]], + [[7592, 7592], 'mapped', [669]], + [[7593, 7593], 'mapped', [621]], + [[7594, 7594], 'mapped', [7557]], + [[7595, 7595], 'mapped', [671]], + [[7596, 7596], 'mapped', [625]], + [[7597, 7597], 'mapped', [624]], + [[7598, 7598], 'mapped', [626]], + [[7599, 7599], 'mapped', [627]], + [[7600, 7600], 'mapped', [628]], + [[7601, 7601], 'mapped', [629]], + [[7602, 7602], 'mapped', [632]], + [[7603, 7603], 'mapped', [642]], + [[7604, 7604], 'mapped', [643]], + [[7605, 7605], 'mapped', [427]], + [[7606, 7606], 'mapped', [649]], + [[7607, 7607], 'mapped', [650]], + [[7608, 7608], 'mapped', [7452]], + [[7609, 7609], 'mapped', [651]], + [[7610, 7610], 'mapped', [652]], + [[7611, 7611], 'mapped', [122]], + [[7612, 7612], 'mapped', [656]], + [[7613, 7613], 'mapped', [657]], + [[7614, 7614], 'mapped', [658]], + [[7615, 7615], 'mapped', [952]], + [[7616, 7619], 'valid'], + [[7620, 7626], 'valid'], + [[7627, 7654], 'valid'], + [[7655, 7669], 'valid'], + [[7670, 7675], 'disallowed'], + [[7676, 7676], 'valid'], + [[7677, 7677], 'valid'], + [[7678, 7679], 'valid'], + [[7680, 7680], 'mapped', [7681]], + [[7681, 7681], 'valid'], + [[7682, 7682], 'mapped', [7683]], + [[7683, 7683], 'valid'], + [[7684, 7684], 'mapped', [7685]], + [[7685, 7685], 'valid'], + [[7686, 7686], 'mapped', [7687]], + [[7687, 7687], 'valid'], + [[7688, 7688], 'mapped', [7689]], + [[7689, 7689], 'valid'], + [[7690, 7690], 'mapped', [7691]], + [[7691, 7691], 'valid'], + [[7692, 7692], 'mapped', [7693]], + [[7693, 7693], 'valid'], + [[7694, 7694], 'mapped', [7695]], + [[7695, 7695], 'valid'], + [[7696, 7696], 'mapped', [7697]], + [[7697, 7697], 'valid'], + [[7698, 7698], 'mapped', [7699]], + [[7699, 7699], 'valid'], + [[7700, 7700], 'mapped', [7701]], + [[7701, 7701], 'valid'], + [[7702, 7702], 'mapped', [7703]], + [[7703, 7703], 'valid'], + [[7704, 7704], 'mapped', [7705]], + [[7705, 7705], 'valid'], + [[7706, 7706], 'mapped', [7707]], + [[7707, 7707], 'valid'], + [[7708, 7708], 'mapped', [7709]], + [[7709, 7709], 'valid'], + [[7710, 7710], 'mapped', [7711]], + [[7711, 7711], 'valid'], + [[7712, 7712], 'mapped', [7713]], + [[7713, 7713], 'valid'], + [[7714, 7714], 'mapped', [7715]], + [[7715, 7715], 'valid'], + [[7716, 7716], 'mapped', [7717]], + [[7717, 7717], 'valid'], + [[7718, 7718], 'mapped', [7719]], + [[7719, 7719], 'valid'], + [[7720, 7720], 'mapped', [7721]], + [[7721, 7721], 'valid'], + [[7722, 7722], 'mapped', [7723]], + [[7723, 7723], 'valid'], + [[7724, 7724], 'mapped', [7725]], + [[7725, 7725], 'valid'], + [[7726, 7726], 'mapped', [7727]], + [[7727, 7727], 'valid'], + [[7728, 7728], 'mapped', [7729]], + [[7729, 7729], 'valid'], + [[7730, 7730], 'mapped', [7731]], + [[7731, 7731], 'valid'], + [[7732, 7732], 'mapped', [7733]], + [[7733, 7733], 'valid'], + [[7734, 7734], 'mapped', [7735]], + [[7735, 7735], 'valid'], + [[7736, 7736], 'mapped', [7737]], + [[7737, 7737], 'valid'], + [[7738, 7738], 'mapped', [7739]], + [[7739, 7739], 'valid'], + [[7740, 7740], 'mapped', [7741]], + [[7741, 7741], 'valid'], + [[7742, 7742], 'mapped', [7743]], + [[7743, 7743], 'valid'], + [[7744, 7744], 'mapped', [7745]], + [[7745, 7745], 'valid'], + [[7746, 7746], 'mapped', [7747]], + [[7747, 7747], 'valid'], + [[7748, 7748], 'mapped', [7749]], + [[7749, 7749], 'valid'], + [[7750, 7750], 'mapped', [7751]], + [[7751, 7751], 'valid'], + [[7752, 7752], 'mapped', [7753]], + [[7753, 7753], 'valid'], + [[7754, 7754], 'mapped', [7755]], + [[7755, 7755], 'valid'], + [[7756, 7756], 'mapped', [7757]], + [[7757, 7757], 'valid'], + [[7758, 7758], 'mapped', [7759]], + [[7759, 7759], 'valid'], + [[7760, 7760], 'mapped', [7761]], + [[7761, 7761], 'valid'], + [[7762, 7762], 'mapped', [7763]], + [[7763, 7763], 'valid'], + [[7764, 7764], 'mapped', [7765]], + [[7765, 7765], 'valid'], + [[7766, 7766], 'mapped', [7767]], + [[7767, 7767], 'valid'], + [[7768, 7768], 'mapped', [7769]], + [[7769, 7769], 'valid'], + [[7770, 7770], 'mapped', [7771]], + [[7771, 7771], 'valid'], + [[7772, 7772], 'mapped', [7773]], + [[7773, 7773], 'valid'], + [[7774, 7774], 'mapped', [7775]], + [[7775, 7775], 'valid'], + [[7776, 7776], 'mapped', [7777]], + [[7777, 7777], 'valid'], + [[7778, 7778], 'mapped', [7779]], + [[7779, 7779], 'valid'], + [[7780, 7780], 'mapped', [7781]], + [[7781, 7781], 'valid'], + [[7782, 7782], 'mapped', [7783]], + [[7783, 7783], 'valid'], + [[7784, 7784], 'mapped', [7785]], + [[7785, 7785], 'valid'], + [[7786, 7786], 'mapped', [7787]], + [[7787, 7787], 'valid'], + [[7788, 7788], 'mapped', [7789]], + [[7789, 7789], 'valid'], + [[7790, 7790], 'mapped', [7791]], + [[7791, 7791], 'valid'], + [[7792, 7792], 'mapped', [7793]], + [[7793, 7793], 'valid'], + [[7794, 7794], 'mapped', [7795]], + [[7795, 7795], 'valid'], + [[7796, 7796], 'mapped', [7797]], + [[7797, 7797], 'valid'], + [[7798, 7798], 'mapped', [7799]], + [[7799, 7799], 'valid'], + [[7800, 7800], 'mapped', [7801]], + [[7801, 7801], 'valid'], + [[7802, 7802], 'mapped', [7803]], + [[7803, 7803], 'valid'], + [[7804, 7804], 'mapped', [7805]], + [[7805, 7805], 'valid'], + [[7806, 7806], 'mapped', [7807]], + [[7807, 7807], 'valid'], + [[7808, 7808], 'mapped', [7809]], + [[7809, 7809], 'valid'], + [[7810, 7810], 'mapped', [7811]], + [[7811, 7811], 'valid'], + [[7812, 7812], 'mapped', [7813]], + [[7813, 7813], 'valid'], + [[7814, 7814], 'mapped', [7815]], + [[7815, 7815], 'valid'], + [[7816, 7816], 'mapped', [7817]], + [[7817, 7817], 'valid'], + [[7818, 7818], 'mapped', [7819]], + [[7819, 7819], 'valid'], + [[7820, 7820], 'mapped', [7821]], + [[7821, 7821], 'valid'], + [[7822, 7822], 'mapped', [7823]], + [[7823, 7823], 'valid'], + [[7824, 7824], 'mapped', [7825]], + [[7825, 7825], 'valid'], + [[7826, 7826], 'mapped', [7827]], + [[7827, 7827], 'valid'], + [[7828, 7828], 'mapped', [7829]], + [[7829, 7833], 'valid'], + [[7834, 7834], 'mapped', [97, 702]], + [[7835, 7835], 'mapped', [7777]], + [[7836, 7837], 'valid'], + [[7838, 7838], 'mapped', [115, 115]], + [[7839, 7839], 'valid'], + [[7840, 7840], 'mapped', [7841]], + [[7841, 7841], 'valid'], + [[7842, 7842], 'mapped', [7843]], + [[7843, 7843], 'valid'], + [[7844, 7844], 'mapped', [7845]], + [[7845, 7845], 'valid'], + [[7846, 7846], 'mapped', [7847]], + [[7847, 7847], 'valid'], + [[7848, 7848], 'mapped', [7849]], + [[7849, 7849], 'valid'], + [[7850, 7850], 'mapped', [7851]], + [[7851, 7851], 'valid'], + [[7852, 7852], 'mapped', [7853]], + [[7853, 7853], 'valid'], + [[7854, 7854], 'mapped', [7855]], + [[7855, 7855], 'valid'], + [[7856, 7856], 'mapped', [7857]], + [[7857, 7857], 'valid'], + [[7858, 7858], 'mapped', [7859]], + [[7859, 7859], 'valid'], + [[7860, 7860], 'mapped', [7861]], + [[7861, 7861], 'valid'], + [[7862, 7862], 'mapped', [7863]], + [[7863, 7863], 'valid'], + [[7864, 7864], 'mapped', [7865]], + [[7865, 7865], 'valid'], + [[7866, 7866], 'mapped', [7867]], + [[7867, 7867], 'valid'], + [[7868, 7868], 'mapped', [7869]], + [[7869, 7869], 'valid'], + [[7870, 7870], 'mapped', [7871]], + [[7871, 7871], 'valid'], + [[7872, 7872], 'mapped', [7873]], + [[7873, 7873], 'valid'], + [[7874, 7874], 'mapped', [7875]], + [[7875, 7875], 'valid'], + [[7876, 7876], 'mapped', [7877]], + [[7877, 7877], 'valid'], + [[7878, 7878], 'mapped', [7879]], + [[7879, 7879], 'valid'], + [[7880, 7880], 'mapped', [7881]], + [[7881, 7881], 'valid'], + [[7882, 7882], 'mapped', [7883]], + [[7883, 7883], 'valid'], + [[7884, 7884], 'mapped', [7885]], + [[7885, 7885], 'valid'], + [[7886, 7886], 'mapped', [7887]], + [[7887, 7887], 'valid'], + [[7888, 7888], 'mapped', [7889]], + [[7889, 7889], 'valid'], + [[7890, 7890], 'mapped', [7891]], + [[7891, 7891], 'valid'], + [[7892, 7892], 'mapped', [7893]], + [[7893, 7893], 'valid'], + [[7894, 7894], 'mapped', [7895]], + [[7895, 7895], 'valid'], + [[7896, 7896], 'mapped', [7897]], + [[7897, 7897], 'valid'], + [[7898, 7898], 'mapped', [7899]], + [[7899, 7899], 'valid'], + [[7900, 7900], 'mapped', [7901]], + [[7901, 7901], 'valid'], + [[7902, 7902], 'mapped', [7903]], + [[7903, 7903], 'valid'], + [[7904, 7904], 'mapped', [7905]], + [[7905, 7905], 'valid'], + [[7906, 7906], 'mapped', [7907]], + [[7907, 7907], 'valid'], + [[7908, 7908], 'mapped', [7909]], + [[7909, 7909], 'valid'], + [[7910, 7910], 'mapped', [7911]], + [[7911, 7911], 'valid'], + [[7912, 7912], 'mapped', [7913]], + [[7913, 7913], 'valid'], + [[7914, 7914], 'mapped', [7915]], + [[7915, 7915], 'valid'], + [[7916, 7916], 'mapped', [7917]], + [[7917, 7917], 'valid'], + [[7918, 7918], 'mapped', [7919]], + [[7919, 7919], 'valid'], + [[7920, 7920], 'mapped', [7921]], + [[7921, 7921], 'valid'], + [[7922, 7922], 'mapped', [7923]], + [[7923, 7923], 'valid'], + [[7924, 7924], 'mapped', [7925]], + [[7925, 7925], 'valid'], + [[7926, 7926], 'mapped', [7927]], + [[7927, 7927], 'valid'], + [[7928, 7928], 'mapped', [7929]], + [[7929, 7929], 'valid'], + [[7930, 7930], 'mapped', [7931]], + [[7931, 7931], 'valid'], + [[7932, 7932], 'mapped', [7933]], + [[7933, 7933], 'valid'], + [[7934, 7934], 'mapped', [7935]], + [[7935, 7935], 'valid'], + [[7936, 7943], 'valid'], + [[7944, 7944], 'mapped', [7936]], + [[7945, 7945], 'mapped', [7937]], + [[7946, 7946], 'mapped', [7938]], + [[7947, 7947], 'mapped', [7939]], + [[7948, 7948], 'mapped', [7940]], + [[7949, 7949], 'mapped', [7941]], + [[7950, 7950], 'mapped', [7942]], + [[7951, 7951], 'mapped', [7943]], + [[7952, 7957], 'valid'], + [[7958, 7959], 'disallowed'], + [[7960, 7960], 'mapped', [7952]], + [[7961, 7961], 'mapped', [7953]], + [[7962, 7962], 'mapped', [7954]], + [[7963, 7963], 'mapped', [7955]], + [[7964, 7964], 'mapped', [7956]], + [[7965, 7965], 'mapped', [7957]], + [[7966, 7967], 'disallowed'], + [[7968, 7975], 'valid'], + [[7976, 7976], 'mapped', [7968]], + [[7977, 7977], 'mapped', [7969]], + [[7978, 7978], 'mapped', [7970]], + [[7979, 7979], 'mapped', [7971]], + [[7980, 7980], 'mapped', [7972]], + [[7981, 7981], 'mapped', [7973]], + [[7982, 7982], 'mapped', [7974]], + [[7983, 7983], 'mapped', [7975]], + [[7984, 7991], 'valid'], + [[7992, 7992], 'mapped', [7984]], + [[7993, 7993], 'mapped', [7985]], + [[7994, 7994], 'mapped', [7986]], + [[7995, 7995], 'mapped', [7987]], + [[7996, 7996], 'mapped', [7988]], + [[7997, 7997], 'mapped', [7989]], + [[7998, 7998], 'mapped', [7990]], + [[7999, 7999], 'mapped', [7991]], + [[8e3, 8005], 'valid'], + [[8006, 8007], 'disallowed'], + [[8008, 8008], 'mapped', [8e3]], + [[8009, 8009], 'mapped', [8001]], + [[8010, 8010], 'mapped', [8002]], + [[8011, 8011], 'mapped', [8003]], + [[8012, 8012], 'mapped', [8004]], + [[8013, 8013], 'mapped', [8005]], + [[8014, 8015], 'disallowed'], + [[8016, 8023], 'valid'], + [[8024, 8024], 'disallowed'], + [[8025, 8025], 'mapped', [8017]], + [[8026, 8026], 'disallowed'], + [[8027, 8027], 'mapped', [8019]], + [[8028, 8028], 'disallowed'], + [[8029, 8029], 'mapped', [8021]], + [[8030, 8030], 'disallowed'], + [[8031, 8031], 'mapped', [8023]], + [[8032, 8039], 'valid'], + [[8040, 8040], 'mapped', [8032]], + [[8041, 8041], 'mapped', [8033]], + [[8042, 8042], 'mapped', [8034]], + [[8043, 8043], 'mapped', [8035]], + [[8044, 8044], 'mapped', [8036]], + [[8045, 8045], 'mapped', [8037]], + [[8046, 8046], 'mapped', [8038]], + [[8047, 8047], 'mapped', [8039]], + [[8048, 8048], 'valid'], + [[8049, 8049], 'mapped', [940]], + [[8050, 8050], 'valid'], + [[8051, 8051], 'mapped', [941]], + [[8052, 8052], 'valid'], + [[8053, 8053], 'mapped', [942]], + [[8054, 8054], 'valid'], + [[8055, 8055], 'mapped', [943]], + [[8056, 8056], 'valid'], + [[8057, 8057], 'mapped', [972]], + [[8058, 8058], 'valid'], + [[8059, 8059], 'mapped', [973]], + [[8060, 8060], 'valid'], + [[8061, 8061], 'mapped', [974]], + [[8062, 8063], 'disallowed'], + [[8064, 8064], 'mapped', [7936, 953]], + [[8065, 8065], 'mapped', [7937, 953]], + [[8066, 8066], 'mapped', [7938, 953]], + [[8067, 8067], 'mapped', [7939, 953]], + [[8068, 8068], 'mapped', [7940, 953]], + [[8069, 8069], 'mapped', [7941, 953]], + [[8070, 8070], 'mapped', [7942, 953]], + [[8071, 8071], 'mapped', [7943, 953]], + [[8072, 8072], 'mapped', [7936, 953]], + [[8073, 8073], 'mapped', [7937, 953]], + [[8074, 8074], 'mapped', [7938, 953]], + [[8075, 8075], 'mapped', [7939, 953]], + [[8076, 8076], 'mapped', [7940, 953]], + [[8077, 8077], 'mapped', [7941, 953]], + [[8078, 8078], 'mapped', [7942, 953]], + [[8079, 8079], 'mapped', [7943, 953]], + [[8080, 8080], 'mapped', [7968, 953]], + [[8081, 8081], 'mapped', [7969, 953]], + [[8082, 8082], 'mapped', [7970, 953]], + [[8083, 8083], 'mapped', [7971, 953]], + [[8084, 8084], 'mapped', [7972, 953]], + [[8085, 8085], 'mapped', [7973, 953]], + [[8086, 8086], 'mapped', [7974, 953]], + [[8087, 8087], 'mapped', [7975, 953]], + [[8088, 8088], 'mapped', [7968, 953]], + [[8089, 8089], 'mapped', [7969, 953]], + [[8090, 8090], 'mapped', [7970, 953]], + [[8091, 8091], 'mapped', [7971, 953]], + [[8092, 8092], 'mapped', [7972, 953]], + [[8093, 8093], 'mapped', [7973, 953]], + [[8094, 8094], 'mapped', [7974, 953]], + [[8095, 8095], 'mapped', [7975, 953]], + [[8096, 8096], 'mapped', [8032, 953]], + [[8097, 8097], 'mapped', [8033, 953]], + [[8098, 8098], 'mapped', [8034, 953]], + [[8099, 8099], 'mapped', [8035, 953]], + [[8100, 8100], 'mapped', [8036, 953]], + [[8101, 8101], 'mapped', [8037, 953]], + [[8102, 8102], 'mapped', [8038, 953]], + [[8103, 8103], 'mapped', [8039, 953]], + [[8104, 8104], 'mapped', [8032, 953]], + [[8105, 8105], 'mapped', [8033, 953]], + [[8106, 8106], 'mapped', [8034, 953]], + [[8107, 8107], 'mapped', [8035, 953]], + [[8108, 8108], 'mapped', [8036, 953]], + [[8109, 8109], 'mapped', [8037, 953]], + [[8110, 8110], 'mapped', [8038, 953]], + [[8111, 8111], 'mapped', [8039, 953]], + [[8112, 8113], 'valid'], + [[8114, 8114], 'mapped', [8048, 953]], + [[8115, 8115], 'mapped', [945, 953]], + [[8116, 8116], 'mapped', [940, 953]], + [[8117, 8117], 'disallowed'], + [[8118, 8118], 'valid'], + [[8119, 8119], 'mapped', [8118, 953]], + [[8120, 8120], 'mapped', [8112]], + [[8121, 8121], 'mapped', [8113]], + [[8122, 8122], 'mapped', [8048]], + [[8123, 8123], 'mapped', [940]], + [[8124, 8124], 'mapped', [945, 953]], + [[8125, 8125], 'disallowed_STD3_mapped', [32, 787]], + [[8126, 8126], 'mapped', [953]], + [[8127, 8127], 'disallowed_STD3_mapped', [32, 787]], + [[8128, 8128], 'disallowed_STD3_mapped', [32, 834]], + [[8129, 8129], 'disallowed_STD3_mapped', [32, 776, 834]], + [[8130, 8130], 'mapped', [8052, 953]], + [[8131, 8131], 'mapped', [951, 953]], + [[8132, 8132], 'mapped', [942, 953]], + [[8133, 8133], 'disallowed'], + [[8134, 8134], 'valid'], + [[8135, 8135], 'mapped', [8134, 953]], + [[8136, 8136], 'mapped', [8050]], + [[8137, 8137], 'mapped', [941]], + [[8138, 8138], 'mapped', [8052]], + [[8139, 8139], 'mapped', [942]], + [[8140, 8140], 'mapped', [951, 953]], + [[8141, 8141], 'disallowed_STD3_mapped', [32, 787, 768]], + [[8142, 8142], 'disallowed_STD3_mapped', [32, 787, 769]], + [[8143, 8143], 'disallowed_STD3_mapped', [32, 787, 834]], + [[8144, 8146], 'valid'], + [[8147, 8147], 'mapped', [912]], + [[8148, 8149], 'disallowed'], + [[8150, 8151], 'valid'], + [[8152, 8152], 'mapped', [8144]], + [[8153, 8153], 'mapped', [8145]], + [[8154, 8154], 'mapped', [8054]], + [[8155, 8155], 'mapped', [943]], + [[8156, 8156], 'disallowed'], + [[8157, 8157], 'disallowed_STD3_mapped', [32, 788, 768]], + [[8158, 8158], 'disallowed_STD3_mapped', [32, 788, 769]], + [[8159, 8159], 'disallowed_STD3_mapped', [32, 788, 834]], + [[8160, 8162], 'valid'], + [[8163, 8163], 'mapped', [944]], + [[8164, 8167], 'valid'], + [[8168, 8168], 'mapped', [8160]], + [[8169, 8169], 'mapped', [8161]], + [[8170, 8170], 'mapped', [8058]], + [[8171, 8171], 'mapped', [973]], + [[8172, 8172], 'mapped', [8165]], + [[8173, 8173], 'disallowed_STD3_mapped', [32, 776, 768]], + [[8174, 8174], 'disallowed_STD3_mapped', [32, 776, 769]], + [[8175, 8175], 'disallowed_STD3_mapped', [96]], + [[8176, 8177], 'disallowed'], + [[8178, 8178], 'mapped', [8060, 953]], + [[8179, 8179], 'mapped', [969, 953]], + [[8180, 8180], 'mapped', [974, 953]], + [[8181, 8181], 'disallowed'], + [[8182, 8182], 'valid'], + [[8183, 8183], 'mapped', [8182, 953]], + [[8184, 8184], 'mapped', [8056]], + [[8185, 8185], 'mapped', [972]], + [[8186, 8186], 'mapped', [8060]], + [[8187, 8187], 'mapped', [974]], + [[8188, 8188], 'mapped', [969, 953]], + [[8189, 8189], 'disallowed_STD3_mapped', [32, 769]], + [[8190, 8190], 'disallowed_STD3_mapped', [32, 788]], + [[8191, 8191], 'disallowed'], + [[8192, 8202], 'disallowed_STD3_mapped', [32]], + [[8203, 8203], 'ignored'], + [[8204, 8205], 'deviation', []], + [[8206, 8207], 'disallowed'], + [[8208, 8208], 'valid', [], 'NV8'], + [[8209, 8209], 'mapped', [8208]], + [[8210, 8214], 'valid', [], 'NV8'], + [[8215, 8215], 'disallowed_STD3_mapped', [32, 819]], + [[8216, 8227], 'valid', [], 'NV8'], + [[8228, 8230], 'disallowed'], + [[8231, 8231], 'valid', [], 'NV8'], + [[8232, 8238], 'disallowed'], + [[8239, 8239], 'disallowed_STD3_mapped', [32]], + [[8240, 8242], 'valid', [], 'NV8'], + [[8243, 8243], 'mapped', [8242, 8242]], + [[8244, 8244], 'mapped', [8242, 8242, 8242]], + [[8245, 8245], 'valid', [], 'NV8'], + [[8246, 8246], 'mapped', [8245, 8245]], + [[8247, 8247], 'mapped', [8245, 8245, 8245]], + [[8248, 8251], 'valid', [], 'NV8'], + [[8252, 8252], 'disallowed_STD3_mapped', [33, 33]], + [[8253, 8253], 'valid', [], 'NV8'], + [[8254, 8254], 'disallowed_STD3_mapped', [32, 773]], + [[8255, 8262], 'valid', [], 'NV8'], + [[8263, 8263], 'disallowed_STD3_mapped', [63, 63]], + [[8264, 8264], 'disallowed_STD3_mapped', [63, 33]], + [[8265, 8265], 'disallowed_STD3_mapped', [33, 63]], + [[8266, 8269], 'valid', [], 'NV8'], + [[8270, 8274], 'valid', [], 'NV8'], + [[8275, 8276], 'valid', [], 'NV8'], + [[8277, 8278], 'valid', [], 'NV8'], + [[8279, 8279], 'mapped', [8242, 8242, 8242, 8242]], + [[8280, 8286], 'valid', [], 'NV8'], + [[8287, 8287], 'disallowed_STD3_mapped', [32]], + [[8288, 8288], 'ignored'], + [[8289, 8291], 'disallowed'], + [[8292, 8292], 'ignored'], + [[8293, 8293], 'disallowed'], + [[8294, 8297], 'disallowed'], + [[8298, 8303], 'disallowed'], + [[8304, 8304], 'mapped', [48]], + [[8305, 8305], 'mapped', [105]], + [[8306, 8307], 'disallowed'], + [[8308, 8308], 'mapped', [52]], + [[8309, 8309], 'mapped', [53]], + [[8310, 8310], 'mapped', [54]], + [[8311, 8311], 'mapped', [55]], + [[8312, 8312], 'mapped', [56]], + [[8313, 8313], 'mapped', [57]], + [[8314, 8314], 'disallowed_STD3_mapped', [43]], + [[8315, 8315], 'mapped', [8722]], + [[8316, 8316], 'disallowed_STD3_mapped', [61]], + [[8317, 8317], 'disallowed_STD3_mapped', [40]], + [[8318, 8318], 'disallowed_STD3_mapped', [41]], + [[8319, 8319], 'mapped', [110]], + [[8320, 8320], 'mapped', [48]], + [[8321, 8321], 'mapped', [49]], + [[8322, 8322], 'mapped', [50]], + [[8323, 8323], 'mapped', [51]], + [[8324, 8324], 'mapped', [52]], + [[8325, 8325], 'mapped', [53]], + [[8326, 8326], 'mapped', [54]], + [[8327, 8327], 'mapped', [55]], + [[8328, 8328], 'mapped', [56]], + [[8329, 8329], 'mapped', [57]], + [[8330, 8330], 'disallowed_STD3_mapped', [43]], + [[8331, 8331], 'mapped', [8722]], + [[8332, 8332], 'disallowed_STD3_mapped', [61]], + [[8333, 8333], 'disallowed_STD3_mapped', [40]], + [[8334, 8334], 'disallowed_STD3_mapped', [41]], + [[8335, 8335], 'disallowed'], + [[8336, 8336], 'mapped', [97]], + [[8337, 8337], 'mapped', [101]], + [[8338, 8338], 'mapped', [111]], + [[8339, 8339], 'mapped', [120]], + [[8340, 8340], 'mapped', [601]], + [[8341, 8341], 'mapped', [104]], + [[8342, 8342], 'mapped', [107]], + [[8343, 8343], 'mapped', [108]], + [[8344, 8344], 'mapped', [109]], + [[8345, 8345], 'mapped', [110]], + [[8346, 8346], 'mapped', [112]], + [[8347, 8347], 'mapped', [115]], + [[8348, 8348], 'mapped', [116]], + [[8349, 8351], 'disallowed'], + [[8352, 8359], 'valid', [], 'NV8'], + [[8360, 8360], 'mapped', [114, 115]], + [[8361, 8362], 'valid', [], 'NV8'], + [[8363, 8363], 'valid', [], 'NV8'], + [[8364, 8364], 'valid', [], 'NV8'], + [[8365, 8367], 'valid', [], 'NV8'], + [[8368, 8369], 'valid', [], 'NV8'], + [[8370, 8373], 'valid', [], 'NV8'], + [[8374, 8376], 'valid', [], 'NV8'], + [[8377, 8377], 'valid', [], 'NV8'], + [[8378, 8378], 'valid', [], 'NV8'], + [[8379, 8381], 'valid', [], 'NV8'], + [[8382, 8382], 'valid', [], 'NV8'], + [[8383, 8399], 'disallowed'], + [[8400, 8417], 'valid', [], 'NV8'], + [[8418, 8419], 'valid', [], 'NV8'], + [[8420, 8426], 'valid', [], 'NV8'], + [[8427, 8427], 'valid', [], 'NV8'], + [[8428, 8431], 'valid', [], 'NV8'], + [[8432, 8432], 'valid', [], 'NV8'], + [[8433, 8447], 'disallowed'], + [[8448, 8448], 'disallowed_STD3_mapped', [97, 47, 99]], + [[8449, 8449], 'disallowed_STD3_mapped', [97, 47, 115]], + [[8450, 8450], 'mapped', [99]], + [[8451, 8451], 'mapped', [176, 99]], + [[8452, 8452], 'valid', [], 'NV8'], + [[8453, 8453], 'disallowed_STD3_mapped', [99, 47, 111]], + [[8454, 8454], 'disallowed_STD3_mapped', [99, 47, 117]], + [[8455, 8455], 'mapped', [603]], + [[8456, 8456], 'valid', [], 'NV8'], + [[8457, 8457], 'mapped', [176, 102]], + [[8458, 8458], 'mapped', [103]], + [[8459, 8462], 'mapped', [104]], + [[8463, 8463], 'mapped', [295]], + [[8464, 8465], 'mapped', [105]], + [[8466, 8467], 'mapped', [108]], + [[8468, 8468], 'valid', [], 'NV8'], + [[8469, 8469], 'mapped', [110]], + [[8470, 8470], 'mapped', [110, 111]], + [[8471, 8472], 'valid', [], 'NV8'], + [[8473, 8473], 'mapped', [112]], + [[8474, 8474], 'mapped', [113]], + [[8475, 8477], 'mapped', [114]], + [[8478, 8479], 'valid', [], 'NV8'], + [[8480, 8480], 'mapped', [115, 109]], + [[8481, 8481], 'mapped', [116, 101, 108]], + [[8482, 8482], 'mapped', [116, 109]], + [[8483, 8483], 'valid', [], 'NV8'], + [[8484, 8484], 'mapped', [122]], + [[8485, 8485], 'valid', [], 'NV8'], + [[8486, 8486], 'mapped', [969]], + [[8487, 8487], 'valid', [], 'NV8'], + [[8488, 8488], 'mapped', [122]], + [[8489, 8489], 'valid', [], 'NV8'], + [[8490, 8490], 'mapped', [107]], + [[8491, 8491], 'mapped', [229]], + [[8492, 8492], 'mapped', [98]], + [[8493, 8493], 'mapped', [99]], + [[8494, 8494], 'valid', [], 'NV8'], + [[8495, 8496], 'mapped', [101]], + [[8497, 8497], 'mapped', [102]], + [[8498, 8498], 'disallowed'], + [[8499, 8499], 'mapped', [109]], + [[8500, 8500], 'mapped', [111]], + [[8501, 8501], 'mapped', [1488]], + [[8502, 8502], 'mapped', [1489]], + [[8503, 8503], 'mapped', [1490]], + [[8504, 8504], 'mapped', [1491]], + [[8505, 8505], 'mapped', [105]], + [[8506, 8506], 'valid', [], 'NV8'], + [[8507, 8507], 'mapped', [102, 97, 120]], + [[8508, 8508], 'mapped', [960]], + [[8509, 8510], 'mapped', [947]], + [[8511, 8511], 'mapped', [960]], + [[8512, 8512], 'mapped', [8721]], + [[8513, 8516], 'valid', [], 'NV8'], + [[8517, 8518], 'mapped', [100]], + [[8519, 8519], 'mapped', [101]], + [[8520, 8520], 'mapped', [105]], + [[8521, 8521], 'mapped', [106]], + [[8522, 8523], 'valid', [], 'NV8'], + [[8524, 8524], 'valid', [], 'NV8'], + [[8525, 8525], 'valid', [], 'NV8'], + [[8526, 8526], 'valid'], + [[8527, 8527], 'valid', [], 'NV8'], + [[8528, 8528], 'mapped', [49, 8260, 55]], + [[8529, 8529], 'mapped', [49, 8260, 57]], + [[8530, 8530], 'mapped', [49, 8260, 49, 48]], + [[8531, 8531], 'mapped', [49, 8260, 51]], + [[8532, 8532], 'mapped', [50, 8260, 51]], + [[8533, 8533], 'mapped', [49, 8260, 53]], + [[8534, 8534], 'mapped', [50, 8260, 53]], + [[8535, 8535], 'mapped', [51, 8260, 53]], + [[8536, 8536], 'mapped', [52, 8260, 53]], + [[8537, 8537], 'mapped', [49, 8260, 54]], + [[8538, 8538], 'mapped', [53, 8260, 54]], + [[8539, 8539], 'mapped', [49, 8260, 56]], + [[8540, 8540], 'mapped', [51, 8260, 56]], + [[8541, 8541], 'mapped', [53, 8260, 56]], + [[8542, 8542], 'mapped', [55, 8260, 56]], + [[8543, 8543], 'mapped', [49, 8260]], + [[8544, 8544], 'mapped', [105]], + [[8545, 8545], 'mapped', [105, 105]], + [[8546, 8546], 'mapped', [105, 105, 105]], + [[8547, 8547], 'mapped', [105, 118]], + [[8548, 8548], 'mapped', [118]], + [[8549, 8549], 'mapped', [118, 105]], + [[8550, 8550], 'mapped', [118, 105, 105]], + [[8551, 8551], 'mapped', [118, 105, 105, 105]], + [[8552, 8552], 'mapped', [105, 120]], + [[8553, 8553], 'mapped', [120]], + [[8554, 8554], 'mapped', [120, 105]], + [[8555, 8555], 'mapped', [120, 105, 105]], + [[8556, 8556], 'mapped', [108]], + [[8557, 8557], 'mapped', [99]], + [[8558, 8558], 'mapped', [100]], + [[8559, 8559], 'mapped', [109]], + [[8560, 8560], 'mapped', [105]], + [[8561, 8561], 'mapped', [105, 105]], + [[8562, 8562], 'mapped', [105, 105, 105]], + [[8563, 8563], 'mapped', [105, 118]], + [[8564, 8564], 'mapped', [118]], + [[8565, 8565], 'mapped', [118, 105]], + [[8566, 8566], 'mapped', [118, 105, 105]], + [[8567, 8567], 'mapped', [118, 105, 105, 105]], + [[8568, 8568], 'mapped', [105, 120]], + [[8569, 8569], 'mapped', [120]], + [[8570, 8570], 'mapped', [120, 105]], + [[8571, 8571], 'mapped', [120, 105, 105]], + [[8572, 8572], 'mapped', [108]], + [[8573, 8573], 'mapped', [99]], + [[8574, 8574], 'mapped', [100]], + [[8575, 8575], 'mapped', [109]], + [[8576, 8578], 'valid', [], 'NV8'], + [[8579, 8579], 'disallowed'], + [[8580, 8580], 'valid'], + [[8581, 8584], 'valid', [], 'NV8'], + [[8585, 8585], 'mapped', [48, 8260, 51]], + [[8586, 8587], 'valid', [], 'NV8'], + [[8588, 8591], 'disallowed'], + [[8592, 8682], 'valid', [], 'NV8'], + [[8683, 8691], 'valid', [], 'NV8'], + [[8692, 8703], 'valid', [], 'NV8'], + [[8704, 8747], 'valid', [], 'NV8'], + [[8748, 8748], 'mapped', [8747, 8747]], + [[8749, 8749], 'mapped', [8747, 8747, 8747]], + [[8750, 8750], 'valid', [], 'NV8'], + [[8751, 8751], 'mapped', [8750, 8750]], + [[8752, 8752], 'mapped', [8750, 8750, 8750]], + [[8753, 8799], 'valid', [], 'NV8'], + [[8800, 8800], 'disallowed_STD3_valid'], + [[8801, 8813], 'valid', [], 'NV8'], + [[8814, 8815], 'disallowed_STD3_valid'], + [[8816, 8945], 'valid', [], 'NV8'], + [[8946, 8959], 'valid', [], 'NV8'], + [[8960, 8960], 'valid', [], 'NV8'], + [[8961, 8961], 'valid', [], 'NV8'], + [[8962, 9e3], 'valid', [], 'NV8'], + [[9001, 9001], 'mapped', [12296]], + [[9002, 9002], 'mapped', [12297]], + [[9003, 9082], 'valid', [], 'NV8'], + [[9083, 9083], 'valid', [], 'NV8'], + [[9084, 9084], 'valid', [], 'NV8'], + [[9085, 9114], 'valid', [], 'NV8'], + [[9115, 9166], 'valid', [], 'NV8'], + [[9167, 9168], 'valid', [], 'NV8'], + [[9169, 9179], 'valid', [], 'NV8'], + [[9180, 9191], 'valid', [], 'NV8'], + [[9192, 9192], 'valid', [], 'NV8'], + [[9193, 9203], 'valid', [], 'NV8'], + [[9204, 9210], 'valid', [], 'NV8'], + [[9211, 9215], 'disallowed'], + [[9216, 9252], 'valid', [], 'NV8'], + [[9253, 9254], 'valid', [], 'NV8'], + [[9255, 9279], 'disallowed'], + [[9280, 9290], 'valid', [], 'NV8'], + [[9291, 9311], 'disallowed'], + [[9312, 9312], 'mapped', [49]], + [[9313, 9313], 'mapped', [50]], + [[9314, 9314], 'mapped', [51]], + [[9315, 9315], 'mapped', [52]], + [[9316, 9316], 'mapped', [53]], + [[9317, 9317], 'mapped', [54]], + [[9318, 9318], 'mapped', [55]], + [[9319, 9319], 'mapped', [56]], + [[9320, 9320], 'mapped', [57]], + [[9321, 9321], 'mapped', [49, 48]], + [[9322, 9322], 'mapped', [49, 49]], + [[9323, 9323], 'mapped', [49, 50]], + [[9324, 9324], 'mapped', [49, 51]], + [[9325, 9325], 'mapped', [49, 52]], + [[9326, 9326], 'mapped', [49, 53]], + [[9327, 9327], 'mapped', [49, 54]], + [[9328, 9328], 'mapped', [49, 55]], + [[9329, 9329], 'mapped', [49, 56]], + [[9330, 9330], 'mapped', [49, 57]], + [[9331, 9331], 'mapped', [50, 48]], + [[9332, 9332], 'disallowed_STD3_mapped', [40, 49, 41]], + [[9333, 9333], 'disallowed_STD3_mapped', [40, 50, 41]], + [[9334, 9334], 'disallowed_STD3_mapped', [40, 51, 41]], + [[9335, 9335], 'disallowed_STD3_mapped', [40, 52, 41]], + [[9336, 9336], 'disallowed_STD3_mapped', [40, 53, 41]], + [[9337, 9337], 'disallowed_STD3_mapped', [40, 54, 41]], + [[9338, 9338], 'disallowed_STD3_mapped', [40, 55, 41]], + [[9339, 9339], 'disallowed_STD3_mapped', [40, 56, 41]], + [[9340, 9340], 'disallowed_STD3_mapped', [40, 57, 41]], + [[9341, 9341], 'disallowed_STD3_mapped', [40, 49, 48, 41]], + [[9342, 9342], 'disallowed_STD3_mapped', [40, 49, 49, 41]], + [[9343, 9343], 'disallowed_STD3_mapped', [40, 49, 50, 41]], + [[9344, 9344], 'disallowed_STD3_mapped', [40, 49, 51, 41]], + [[9345, 9345], 'disallowed_STD3_mapped', [40, 49, 52, 41]], + [[9346, 9346], 'disallowed_STD3_mapped', [40, 49, 53, 41]], + [[9347, 9347], 'disallowed_STD3_mapped', [40, 49, 54, 41]], + [[9348, 9348], 'disallowed_STD3_mapped', [40, 49, 55, 41]], + [[9349, 9349], 'disallowed_STD3_mapped', [40, 49, 56, 41]], + [[9350, 9350], 'disallowed_STD3_mapped', [40, 49, 57, 41]], + [[9351, 9351], 'disallowed_STD3_mapped', [40, 50, 48, 41]], + [[9352, 9371], 'disallowed'], + [[9372, 9372], 'disallowed_STD3_mapped', [40, 97, 41]], + [[9373, 9373], 'disallowed_STD3_mapped', [40, 98, 41]], + [[9374, 9374], 'disallowed_STD3_mapped', [40, 99, 41]], + [[9375, 9375], 'disallowed_STD3_mapped', [40, 100, 41]], + [[9376, 9376], 'disallowed_STD3_mapped', [40, 101, 41]], + [[9377, 9377], 'disallowed_STD3_mapped', [40, 102, 41]], + [[9378, 9378], 'disallowed_STD3_mapped', [40, 103, 41]], + [[9379, 9379], 'disallowed_STD3_mapped', [40, 104, 41]], + [[9380, 9380], 'disallowed_STD3_mapped', [40, 105, 41]], + [[9381, 9381], 'disallowed_STD3_mapped', [40, 106, 41]], + [[9382, 9382], 'disallowed_STD3_mapped', [40, 107, 41]], + [[9383, 9383], 'disallowed_STD3_mapped', [40, 108, 41]], + [[9384, 9384], 'disallowed_STD3_mapped', [40, 109, 41]], + [[9385, 9385], 'disallowed_STD3_mapped', [40, 110, 41]], + [[9386, 9386], 'disallowed_STD3_mapped', [40, 111, 41]], + [[9387, 9387], 'disallowed_STD3_mapped', [40, 112, 41]], + [[9388, 9388], 'disallowed_STD3_mapped', [40, 113, 41]], + [[9389, 9389], 'disallowed_STD3_mapped', [40, 114, 41]], + [[9390, 9390], 'disallowed_STD3_mapped', [40, 115, 41]], + [[9391, 9391], 'disallowed_STD3_mapped', [40, 116, 41]], + [[9392, 9392], 'disallowed_STD3_mapped', [40, 117, 41]], + [[9393, 9393], 'disallowed_STD3_mapped', [40, 118, 41]], + [[9394, 9394], 'disallowed_STD3_mapped', [40, 119, 41]], + [[9395, 9395], 'disallowed_STD3_mapped', [40, 120, 41]], + [[9396, 9396], 'disallowed_STD3_mapped', [40, 121, 41]], + [[9397, 9397], 'disallowed_STD3_mapped', [40, 122, 41]], + [[9398, 9398], 'mapped', [97]], + [[9399, 9399], 'mapped', [98]], + [[9400, 9400], 'mapped', [99]], + [[9401, 9401], 'mapped', [100]], + [[9402, 9402], 'mapped', [101]], + [[9403, 9403], 'mapped', [102]], + [[9404, 9404], 'mapped', [103]], + [[9405, 9405], 'mapped', [104]], + [[9406, 9406], 'mapped', [105]], + [[9407, 9407], 'mapped', [106]], + [[9408, 9408], 'mapped', [107]], + [[9409, 9409], 'mapped', [108]], + [[9410, 9410], 'mapped', [109]], + [[9411, 9411], 'mapped', [110]], + [[9412, 9412], 'mapped', [111]], + [[9413, 9413], 'mapped', [112]], + [[9414, 9414], 'mapped', [113]], + [[9415, 9415], 'mapped', [114]], + [[9416, 9416], 'mapped', [115]], + [[9417, 9417], 'mapped', [116]], + [[9418, 9418], 'mapped', [117]], + [[9419, 9419], 'mapped', [118]], + [[9420, 9420], 'mapped', [119]], + [[9421, 9421], 'mapped', [120]], + [[9422, 9422], 'mapped', [121]], + [[9423, 9423], 'mapped', [122]], + [[9424, 9424], 'mapped', [97]], + [[9425, 9425], 'mapped', [98]], + [[9426, 9426], 'mapped', [99]], + [[9427, 9427], 'mapped', [100]], + [[9428, 9428], 'mapped', [101]], + [[9429, 9429], 'mapped', [102]], + [[9430, 9430], 'mapped', [103]], + [[9431, 9431], 'mapped', [104]], + [[9432, 9432], 'mapped', [105]], + [[9433, 9433], 'mapped', [106]], + [[9434, 9434], 'mapped', [107]], + [[9435, 9435], 'mapped', [108]], + [[9436, 9436], 'mapped', [109]], + [[9437, 9437], 'mapped', [110]], + [[9438, 9438], 'mapped', [111]], + [[9439, 9439], 'mapped', [112]], + [[9440, 9440], 'mapped', [113]], + [[9441, 9441], 'mapped', [114]], + [[9442, 9442], 'mapped', [115]], + [[9443, 9443], 'mapped', [116]], + [[9444, 9444], 'mapped', [117]], + [[9445, 9445], 'mapped', [118]], + [[9446, 9446], 'mapped', [119]], + [[9447, 9447], 'mapped', [120]], + [[9448, 9448], 'mapped', [121]], + [[9449, 9449], 'mapped', [122]], + [[9450, 9450], 'mapped', [48]], + [[9451, 9470], 'valid', [], 'NV8'], + [[9471, 9471], 'valid', [], 'NV8'], + [[9472, 9621], 'valid', [], 'NV8'], + [[9622, 9631], 'valid', [], 'NV8'], + [[9632, 9711], 'valid', [], 'NV8'], + [[9712, 9719], 'valid', [], 'NV8'], + [[9720, 9727], 'valid', [], 'NV8'], + [[9728, 9747], 'valid', [], 'NV8'], + [[9748, 9749], 'valid', [], 'NV8'], + [[9750, 9751], 'valid', [], 'NV8'], + [[9752, 9752], 'valid', [], 'NV8'], + [[9753, 9753], 'valid', [], 'NV8'], + [[9754, 9839], 'valid', [], 'NV8'], + [[9840, 9841], 'valid', [], 'NV8'], + [[9842, 9853], 'valid', [], 'NV8'], + [[9854, 9855], 'valid', [], 'NV8'], + [[9856, 9865], 'valid', [], 'NV8'], + [[9866, 9873], 'valid', [], 'NV8'], + [[9874, 9884], 'valid', [], 'NV8'], + [[9885, 9885], 'valid', [], 'NV8'], + [[9886, 9887], 'valid', [], 'NV8'], + [[9888, 9889], 'valid', [], 'NV8'], + [[9890, 9905], 'valid', [], 'NV8'], + [[9906, 9906], 'valid', [], 'NV8'], + [[9907, 9916], 'valid', [], 'NV8'], + [[9917, 9919], 'valid', [], 'NV8'], + [[9920, 9923], 'valid', [], 'NV8'], + [[9924, 9933], 'valid', [], 'NV8'], + [[9934, 9934], 'valid', [], 'NV8'], + [[9935, 9953], 'valid', [], 'NV8'], + [[9954, 9954], 'valid', [], 'NV8'], + [[9955, 9955], 'valid', [], 'NV8'], + [[9956, 9959], 'valid', [], 'NV8'], + [[9960, 9983], 'valid', [], 'NV8'], + [[9984, 9984], 'valid', [], 'NV8'], + [[9985, 9988], 'valid', [], 'NV8'], + [[9989, 9989], 'valid', [], 'NV8'], + [[9990, 9993], 'valid', [], 'NV8'], + [[9994, 9995], 'valid', [], 'NV8'], + [[9996, 10023], 'valid', [], 'NV8'], + [[10024, 10024], 'valid', [], 'NV8'], + [[10025, 10059], 'valid', [], 'NV8'], + [[10060, 10060], 'valid', [], 'NV8'], + [[10061, 10061], 'valid', [], 'NV8'], + [[10062, 10062], 'valid', [], 'NV8'], + [[10063, 10066], 'valid', [], 'NV8'], + [[10067, 10069], 'valid', [], 'NV8'], + [[10070, 10070], 'valid', [], 'NV8'], + [[10071, 10071], 'valid', [], 'NV8'], + [[10072, 10078], 'valid', [], 'NV8'], + [[10079, 10080], 'valid', [], 'NV8'], + [[10081, 10087], 'valid', [], 'NV8'], + [[10088, 10101], 'valid', [], 'NV8'], + [[10102, 10132], 'valid', [], 'NV8'], + [[10133, 10135], 'valid', [], 'NV8'], + [[10136, 10159], 'valid', [], 'NV8'], + [[10160, 10160], 'valid', [], 'NV8'], + [[10161, 10174], 'valid', [], 'NV8'], + [[10175, 10175], 'valid', [], 'NV8'], + [[10176, 10182], 'valid', [], 'NV8'], + [[10183, 10186], 'valid', [], 'NV8'], + [[10187, 10187], 'valid', [], 'NV8'], + [[10188, 10188], 'valid', [], 'NV8'], + [[10189, 10189], 'valid', [], 'NV8'], + [[10190, 10191], 'valid', [], 'NV8'], + [[10192, 10219], 'valid', [], 'NV8'], + [[10220, 10223], 'valid', [], 'NV8'], + [[10224, 10239], 'valid', [], 'NV8'], + [[10240, 10495], 'valid', [], 'NV8'], + [[10496, 10763], 'valid', [], 'NV8'], + [[10764, 10764], 'mapped', [8747, 8747, 8747, 8747]], + [[10765, 10867], 'valid', [], 'NV8'], + [[10868, 10868], 'disallowed_STD3_mapped', [58, 58, 61]], + [[10869, 10869], 'disallowed_STD3_mapped', [61, 61]], + [[10870, 10870], 'disallowed_STD3_mapped', [61, 61, 61]], + [[10871, 10971], 'valid', [], 'NV8'], + [[10972, 10972], 'mapped', [10973, 824]], + [[10973, 11007], 'valid', [], 'NV8'], + [[11008, 11021], 'valid', [], 'NV8'], + [[11022, 11027], 'valid', [], 'NV8'], + [[11028, 11034], 'valid', [], 'NV8'], + [[11035, 11039], 'valid', [], 'NV8'], + [[11040, 11043], 'valid', [], 'NV8'], + [[11044, 11084], 'valid', [], 'NV8'], + [[11085, 11087], 'valid', [], 'NV8'], + [[11088, 11092], 'valid', [], 'NV8'], + [[11093, 11097], 'valid', [], 'NV8'], + [[11098, 11123], 'valid', [], 'NV8'], + [[11124, 11125], 'disallowed'], + [[11126, 11157], 'valid', [], 'NV8'], + [[11158, 11159], 'disallowed'], + [[11160, 11193], 'valid', [], 'NV8'], + [[11194, 11196], 'disallowed'], + [[11197, 11208], 'valid', [], 'NV8'], + [[11209, 11209], 'disallowed'], + [[11210, 11217], 'valid', [], 'NV8'], + [[11218, 11243], 'disallowed'], + [[11244, 11247], 'valid', [], 'NV8'], + [[11248, 11263], 'disallowed'], + [[11264, 11264], 'mapped', [11312]], + [[11265, 11265], 'mapped', [11313]], + [[11266, 11266], 'mapped', [11314]], + [[11267, 11267], 'mapped', [11315]], + [[11268, 11268], 'mapped', [11316]], + [[11269, 11269], 'mapped', [11317]], + [[11270, 11270], 'mapped', [11318]], + [[11271, 11271], 'mapped', [11319]], + [[11272, 11272], 'mapped', [11320]], + [[11273, 11273], 'mapped', [11321]], + [[11274, 11274], 'mapped', [11322]], + [[11275, 11275], 'mapped', [11323]], + [[11276, 11276], 'mapped', [11324]], + [[11277, 11277], 'mapped', [11325]], + [[11278, 11278], 'mapped', [11326]], + [[11279, 11279], 'mapped', [11327]], + [[11280, 11280], 'mapped', [11328]], + [[11281, 11281], 'mapped', [11329]], + [[11282, 11282], 'mapped', [11330]], + [[11283, 11283], 'mapped', [11331]], + [[11284, 11284], 'mapped', [11332]], + [[11285, 11285], 'mapped', [11333]], + [[11286, 11286], 'mapped', [11334]], + [[11287, 11287], 'mapped', [11335]], + [[11288, 11288], 'mapped', [11336]], + [[11289, 11289], 'mapped', [11337]], + [[11290, 11290], 'mapped', [11338]], + [[11291, 11291], 'mapped', [11339]], + [[11292, 11292], 'mapped', [11340]], + [[11293, 11293], 'mapped', [11341]], + [[11294, 11294], 'mapped', [11342]], + [[11295, 11295], 'mapped', [11343]], + [[11296, 11296], 'mapped', [11344]], + [[11297, 11297], 'mapped', [11345]], + [[11298, 11298], 'mapped', [11346]], + [[11299, 11299], 'mapped', [11347]], + [[11300, 11300], 'mapped', [11348]], + [[11301, 11301], 'mapped', [11349]], + [[11302, 11302], 'mapped', [11350]], + [[11303, 11303], 'mapped', [11351]], + [[11304, 11304], 'mapped', [11352]], + [[11305, 11305], 'mapped', [11353]], + [[11306, 11306], 'mapped', [11354]], + [[11307, 11307], 'mapped', [11355]], + [[11308, 11308], 'mapped', [11356]], + [[11309, 11309], 'mapped', [11357]], + [[11310, 11310], 'mapped', [11358]], + [[11311, 11311], 'disallowed'], + [[11312, 11358], 'valid'], + [[11359, 11359], 'disallowed'], + [[11360, 11360], 'mapped', [11361]], + [[11361, 11361], 'valid'], + [[11362, 11362], 'mapped', [619]], + [[11363, 11363], 'mapped', [7549]], + [[11364, 11364], 'mapped', [637]], + [[11365, 11366], 'valid'], + [[11367, 11367], 'mapped', [11368]], + [[11368, 11368], 'valid'], + [[11369, 11369], 'mapped', [11370]], + [[11370, 11370], 'valid'], + [[11371, 11371], 'mapped', [11372]], + [[11372, 11372], 'valid'], + [[11373, 11373], 'mapped', [593]], + [[11374, 11374], 'mapped', [625]], + [[11375, 11375], 'mapped', [592]], + [[11376, 11376], 'mapped', [594]], + [[11377, 11377], 'valid'], + [[11378, 11378], 'mapped', [11379]], + [[11379, 11379], 'valid'], + [[11380, 11380], 'valid'], + [[11381, 11381], 'mapped', [11382]], + [[11382, 11383], 'valid'], + [[11384, 11387], 'valid'], + [[11388, 11388], 'mapped', [106]], + [[11389, 11389], 'mapped', [118]], + [[11390, 11390], 'mapped', [575]], + [[11391, 11391], 'mapped', [576]], + [[11392, 11392], 'mapped', [11393]], + [[11393, 11393], 'valid'], + [[11394, 11394], 'mapped', [11395]], + [[11395, 11395], 'valid'], + [[11396, 11396], 'mapped', [11397]], + [[11397, 11397], 'valid'], + [[11398, 11398], 'mapped', [11399]], + [[11399, 11399], 'valid'], + [[11400, 11400], 'mapped', [11401]], + [[11401, 11401], 'valid'], + [[11402, 11402], 'mapped', [11403]], + [[11403, 11403], 'valid'], + [[11404, 11404], 'mapped', [11405]], + [[11405, 11405], 'valid'], + [[11406, 11406], 'mapped', [11407]], + [[11407, 11407], 'valid'], + [[11408, 11408], 'mapped', [11409]], + [[11409, 11409], 'valid'], + [[11410, 11410], 'mapped', [11411]], + [[11411, 11411], 'valid'], + [[11412, 11412], 'mapped', [11413]], + [[11413, 11413], 'valid'], + [[11414, 11414], 'mapped', [11415]], + [[11415, 11415], 'valid'], + [[11416, 11416], 'mapped', [11417]], + [[11417, 11417], 'valid'], + [[11418, 11418], 'mapped', [11419]], + [[11419, 11419], 'valid'], + [[11420, 11420], 'mapped', [11421]], + [[11421, 11421], 'valid'], + [[11422, 11422], 'mapped', [11423]], + [[11423, 11423], 'valid'], + [[11424, 11424], 'mapped', [11425]], + [[11425, 11425], 'valid'], + [[11426, 11426], 'mapped', [11427]], + [[11427, 11427], 'valid'], + [[11428, 11428], 'mapped', [11429]], + [[11429, 11429], 'valid'], + [[11430, 11430], 'mapped', [11431]], + [[11431, 11431], 'valid'], + [[11432, 11432], 'mapped', [11433]], + [[11433, 11433], 'valid'], + [[11434, 11434], 'mapped', [11435]], + [[11435, 11435], 'valid'], + [[11436, 11436], 'mapped', [11437]], + [[11437, 11437], 'valid'], + [[11438, 11438], 'mapped', [11439]], + [[11439, 11439], 'valid'], + [[11440, 11440], 'mapped', [11441]], + [[11441, 11441], 'valid'], + [[11442, 11442], 'mapped', [11443]], + [[11443, 11443], 'valid'], + [[11444, 11444], 'mapped', [11445]], + [[11445, 11445], 'valid'], + [[11446, 11446], 'mapped', [11447]], + [[11447, 11447], 'valid'], + [[11448, 11448], 'mapped', [11449]], + [[11449, 11449], 'valid'], + [[11450, 11450], 'mapped', [11451]], + [[11451, 11451], 'valid'], + [[11452, 11452], 'mapped', [11453]], + [[11453, 11453], 'valid'], + [[11454, 11454], 'mapped', [11455]], + [[11455, 11455], 'valid'], + [[11456, 11456], 'mapped', [11457]], + [[11457, 11457], 'valid'], + [[11458, 11458], 'mapped', [11459]], + [[11459, 11459], 'valid'], + [[11460, 11460], 'mapped', [11461]], + [[11461, 11461], 'valid'], + [[11462, 11462], 'mapped', [11463]], + [[11463, 11463], 'valid'], + [[11464, 11464], 'mapped', [11465]], + [[11465, 11465], 'valid'], + [[11466, 11466], 'mapped', [11467]], + [[11467, 11467], 'valid'], + [[11468, 11468], 'mapped', [11469]], + [[11469, 11469], 'valid'], + [[11470, 11470], 'mapped', [11471]], + [[11471, 11471], 'valid'], + [[11472, 11472], 'mapped', [11473]], + [[11473, 11473], 'valid'], + [[11474, 11474], 'mapped', [11475]], + [[11475, 11475], 'valid'], + [[11476, 11476], 'mapped', [11477]], + [[11477, 11477], 'valid'], + [[11478, 11478], 'mapped', [11479]], + [[11479, 11479], 'valid'], + [[11480, 11480], 'mapped', [11481]], + [[11481, 11481], 'valid'], + [[11482, 11482], 'mapped', [11483]], + [[11483, 11483], 'valid'], + [[11484, 11484], 'mapped', [11485]], + [[11485, 11485], 'valid'], + [[11486, 11486], 'mapped', [11487]], + [[11487, 11487], 'valid'], + [[11488, 11488], 'mapped', [11489]], + [[11489, 11489], 'valid'], + [[11490, 11490], 'mapped', [11491]], + [[11491, 11492], 'valid'], + [[11493, 11498], 'valid', [], 'NV8'], + [[11499, 11499], 'mapped', [11500]], + [[11500, 11500], 'valid'], + [[11501, 11501], 'mapped', [11502]], + [[11502, 11505], 'valid'], + [[11506, 11506], 'mapped', [11507]], + [[11507, 11507], 'valid'], + [[11508, 11512], 'disallowed'], + [[11513, 11519], 'valid', [], 'NV8'], + [[11520, 11557], 'valid'], + [[11558, 11558], 'disallowed'], + [[11559, 11559], 'valid'], + [[11560, 11564], 'disallowed'], + [[11565, 11565], 'valid'], + [[11566, 11567], 'disallowed'], + [[11568, 11621], 'valid'], + [[11622, 11623], 'valid'], + [[11624, 11630], 'disallowed'], + [[11631, 11631], 'mapped', [11617]], + [[11632, 11632], 'valid', [], 'NV8'], + [[11633, 11646], 'disallowed'], + [[11647, 11647], 'valid'], + [[11648, 11670], 'valid'], + [[11671, 11679], 'disallowed'], + [[11680, 11686], 'valid'], + [[11687, 11687], 'disallowed'], + [[11688, 11694], 'valid'], + [[11695, 11695], 'disallowed'], + [[11696, 11702], 'valid'], + [[11703, 11703], 'disallowed'], + [[11704, 11710], 'valid'], + [[11711, 11711], 'disallowed'], + [[11712, 11718], 'valid'], + [[11719, 11719], 'disallowed'], + [[11720, 11726], 'valid'], + [[11727, 11727], 'disallowed'], + [[11728, 11734], 'valid'], + [[11735, 11735], 'disallowed'], + [[11736, 11742], 'valid'], + [[11743, 11743], 'disallowed'], + [[11744, 11775], 'valid'], + [[11776, 11799], 'valid', [], 'NV8'], + [[11800, 11803], 'valid', [], 'NV8'], + [[11804, 11805], 'valid', [], 'NV8'], + [[11806, 11822], 'valid', [], 'NV8'], + [[11823, 11823], 'valid'], + [[11824, 11824], 'valid', [], 'NV8'], + [[11825, 11825], 'valid', [], 'NV8'], + [[11826, 11835], 'valid', [], 'NV8'], + [[11836, 11842], 'valid', [], 'NV8'], + [[11843, 11903], 'disallowed'], + [[11904, 11929], 'valid', [], 'NV8'], + [[11930, 11930], 'disallowed'], + [[11931, 11934], 'valid', [], 'NV8'], + [[11935, 11935], 'mapped', [27597]], + [[11936, 12018], 'valid', [], 'NV8'], + [[12019, 12019], 'mapped', [40863]], + [[12020, 12031], 'disallowed'], + [[12032, 12032], 'mapped', [19968]], + [[12033, 12033], 'mapped', [20008]], + [[12034, 12034], 'mapped', [20022]], + [[12035, 12035], 'mapped', [20031]], + [[12036, 12036], 'mapped', [20057]], + [[12037, 12037], 'mapped', [20101]], + [[12038, 12038], 'mapped', [20108]], + [[12039, 12039], 'mapped', [20128]], + [[12040, 12040], 'mapped', [20154]], + [[12041, 12041], 'mapped', [20799]], + [[12042, 12042], 'mapped', [20837]], + [[12043, 12043], 'mapped', [20843]], + [[12044, 12044], 'mapped', [20866]], + [[12045, 12045], 'mapped', [20886]], + [[12046, 12046], 'mapped', [20907]], + [[12047, 12047], 'mapped', [20960]], + [[12048, 12048], 'mapped', [20981]], + [[12049, 12049], 'mapped', [20992]], + [[12050, 12050], 'mapped', [21147]], + [[12051, 12051], 'mapped', [21241]], + [[12052, 12052], 'mapped', [21269]], + [[12053, 12053], 'mapped', [21274]], + [[12054, 12054], 'mapped', [21304]], + [[12055, 12055], 'mapped', [21313]], + [[12056, 12056], 'mapped', [21340]], + [[12057, 12057], 'mapped', [21353]], + [[12058, 12058], 'mapped', [21378]], + [[12059, 12059], 'mapped', [21430]], + [[12060, 12060], 'mapped', [21448]], + [[12061, 12061], 'mapped', [21475]], + [[12062, 12062], 'mapped', [22231]], + [[12063, 12063], 'mapped', [22303]], + [[12064, 12064], 'mapped', [22763]], + [[12065, 12065], 'mapped', [22786]], + [[12066, 12066], 'mapped', [22794]], + [[12067, 12067], 'mapped', [22805]], + [[12068, 12068], 'mapped', [22823]], + [[12069, 12069], 'mapped', [22899]], + [[12070, 12070], 'mapped', [23376]], + [[12071, 12071], 'mapped', [23424]], + [[12072, 12072], 'mapped', [23544]], + [[12073, 12073], 'mapped', [23567]], + [[12074, 12074], 'mapped', [23586]], + [[12075, 12075], 'mapped', [23608]], + [[12076, 12076], 'mapped', [23662]], + [[12077, 12077], 'mapped', [23665]], + [[12078, 12078], 'mapped', [24027]], + [[12079, 12079], 'mapped', [24037]], + [[12080, 12080], 'mapped', [24049]], + [[12081, 12081], 'mapped', [24062]], + [[12082, 12082], 'mapped', [24178]], + [[12083, 12083], 'mapped', [24186]], + [[12084, 12084], 'mapped', [24191]], + [[12085, 12085], 'mapped', [24308]], + [[12086, 12086], 'mapped', [24318]], + [[12087, 12087], 'mapped', [24331]], + [[12088, 12088], 'mapped', [24339]], + [[12089, 12089], 'mapped', [24400]], + [[12090, 12090], 'mapped', [24417]], + [[12091, 12091], 'mapped', [24435]], + [[12092, 12092], 'mapped', [24515]], + [[12093, 12093], 'mapped', [25096]], + [[12094, 12094], 'mapped', [25142]], + [[12095, 12095], 'mapped', [25163]], + [[12096, 12096], 'mapped', [25903]], + [[12097, 12097], 'mapped', [25908]], + [[12098, 12098], 'mapped', [25991]], + [[12099, 12099], 'mapped', [26007]], + [[12100, 12100], 'mapped', [26020]], + [[12101, 12101], 'mapped', [26041]], + [[12102, 12102], 'mapped', [26080]], + [[12103, 12103], 'mapped', [26085]], + [[12104, 12104], 'mapped', [26352]], + [[12105, 12105], 'mapped', [26376]], + [[12106, 12106], 'mapped', [26408]], + [[12107, 12107], 'mapped', [27424]], + [[12108, 12108], 'mapped', [27490]], + [[12109, 12109], 'mapped', [27513]], + [[12110, 12110], 'mapped', [27571]], + [[12111, 12111], 'mapped', [27595]], + [[12112, 12112], 'mapped', [27604]], + [[12113, 12113], 'mapped', [27611]], + [[12114, 12114], 'mapped', [27663]], + [[12115, 12115], 'mapped', [27668]], + [[12116, 12116], 'mapped', [27700]], + [[12117, 12117], 'mapped', [28779]], + [[12118, 12118], 'mapped', [29226]], + [[12119, 12119], 'mapped', [29238]], + [[12120, 12120], 'mapped', [29243]], + [[12121, 12121], 'mapped', [29247]], + [[12122, 12122], 'mapped', [29255]], + [[12123, 12123], 'mapped', [29273]], + [[12124, 12124], 'mapped', [29275]], + [[12125, 12125], 'mapped', [29356]], + [[12126, 12126], 'mapped', [29572]], + [[12127, 12127], 'mapped', [29577]], + [[12128, 12128], 'mapped', [29916]], + [[12129, 12129], 'mapped', [29926]], + [[12130, 12130], 'mapped', [29976]], + [[12131, 12131], 'mapped', [29983]], + [[12132, 12132], 'mapped', [29992]], + [[12133, 12133], 'mapped', [3e4]], + [[12134, 12134], 'mapped', [30091]], + [[12135, 12135], 'mapped', [30098]], + [[12136, 12136], 'mapped', [30326]], + [[12137, 12137], 'mapped', [30333]], + [[12138, 12138], 'mapped', [30382]], + [[12139, 12139], 'mapped', [30399]], + [[12140, 12140], 'mapped', [30446]], + [[12141, 12141], 'mapped', [30683]], + [[12142, 12142], 'mapped', [30690]], + [[12143, 12143], 'mapped', [30707]], + [[12144, 12144], 'mapped', [31034]], + [[12145, 12145], 'mapped', [31160]], + [[12146, 12146], 'mapped', [31166]], + [[12147, 12147], 'mapped', [31348]], + [[12148, 12148], 'mapped', [31435]], + [[12149, 12149], 'mapped', [31481]], + [[12150, 12150], 'mapped', [31859]], + [[12151, 12151], 'mapped', [31992]], + [[12152, 12152], 'mapped', [32566]], + [[12153, 12153], 'mapped', [32593]], + [[12154, 12154], 'mapped', [32650]], + [[12155, 12155], 'mapped', [32701]], + [[12156, 12156], 'mapped', [32769]], + [[12157, 12157], 'mapped', [32780]], + [[12158, 12158], 'mapped', [32786]], + [[12159, 12159], 'mapped', [32819]], + [[12160, 12160], 'mapped', [32895]], + [[12161, 12161], 'mapped', [32905]], + [[12162, 12162], 'mapped', [33251]], + [[12163, 12163], 'mapped', [33258]], + [[12164, 12164], 'mapped', [33267]], + [[12165, 12165], 'mapped', [33276]], + [[12166, 12166], 'mapped', [33292]], + [[12167, 12167], 'mapped', [33307]], + [[12168, 12168], 'mapped', [33311]], + [[12169, 12169], 'mapped', [33390]], + [[12170, 12170], 'mapped', [33394]], + [[12171, 12171], 'mapped', [33400]], + [[12172, 12172], 'mapped', [34381]], + [[12173, 12173], 'mapped', [34411]], + [[12174, 12174], 'mapped', [34880]], + [[12175, 12175], 'mapped', [34892]], + [[12176, 12176], 'mapped', [34915]], + [[12177, 12177], 'mapped', [35198]], + [[12178, 12178], 'mapped', [35211]], + [[12179, 12179], 'mapped', [35282]], + [[12180, 12180], 'mapped', [35328]], + [[12181, 12181], 'mapped', [35895]], + [[12182, 12182], 'mapped', [35910]], + [[12183, 12183], 'mapped', [35925]], + [[12184, 12184], 'mapped', [35960]], + [[12185, 12185], 'mapped', [35997]], + [[12186, 12186], 'mapped', [36196]], + [[12187, 12187], 'mapped', [36208]], + [[12188, 12188], 'mapped', [36275]], + [[12189, 12189], 'mapped', [36523]], + [[12190, 12190], 'mapped', [36554]], + [[12191, 12191], 'mapped', [36763]], + [[12192, 12192], 'mapped', [36784]], + [[12193, 12193], 'mapped', [36789]], + [[12194, 12194], 'mapped', [37009]], + [[12195, 12195], 'mapped', [37193]], + [[12196, 12196], 'mapped', [37318]], + [[12197, 12197], 'mapped', [37324]], + [[12198, 12198], 'mapped', [37329]], + [[12199, 12199], 'mapped', [38263]], + [[12200, 12200], 'mapped', [38272]], + [[12201, 12201], 'mapped', [38428]], + [[12202, 12202], 'mapped', [38582]], + [[12203, 12203], 'mapped', [38585]], + [[12204, 12204], 'mapped', [38632]], + [[12205, 12205], 'mapped', [38737]], + [[12206, 12206], 'mapped', [38750]], + [[12207, 12207], 'mapped', [38754]], + [[12208, 12208], 'mapped', [38761]], + [[12209, 12209], 'mapped', [38859]], + [[12210, 12210], 'mapped', [38893]], + [[12211, 12211], 'mapped', [38899]], + [[12212, 12212], 'mapped', [38913]], + [[12213, 12213], 'mapped', [39080]], + [[12214, 12214], 'mapped', [39131]], + [[12215, 12215], 'mapped', [39135]], + [[12216, 12216], 'mapped', [39318]], + [[12217, 12217], 'mapped', [39321]], + [[12218, 12218], 'mapped', [39340]], + [[12219, 12219], 'mapped', [39592]], + [[12220, 12220], 'mapped', [39640]], + [[12221, 12221], 'mapped', [39647]], + [[12222, 12222], 'mapped', [39717]], + [[12223, 12223], 'mapped', [39727]], + [[12224, 12224], 'mapped', [39730]], + [[12225, 12225], 'mapped', [39740]], + [[12226, 12226], 'mapped', [39770]], + [[12227, 12227], 'mapped', [40165]], + [[12228, 12228], 'mapped', [40565]], + [[12229, 12229], 'mapped', [40575]], + [[12230, 12230], 'mapped', [40613]], + [[12231, 12231], 'mapped', [40635]], + [[12232, 12232], 'mapped', [40643]], + [[12233, 12233], 'mapped', [40653]], + [[12234, 12234], 'mapped', [40657]], + [[12235, 12235], 'mapped', [40697]], + [[12236, 12236], 'mapped', [40701]], + [[12237, 12237], 'mapped', [40718]], + [[12238, 12238], 'mapped', [40723]], + [[12239, 12239], 'mapped', [40736]], + [[12240, 12240], 'mapped', [40763]], + [[12241, 12241], 'mapped', [40778]], + [[12242, 12242], 'mapped', [40786]], + [[12243, 12243], 'mapped', [40845]], + [[12244, 12244], 'mapped', [40860]], + [[12245, 12245], 'mapped', [40864]], + [[12246, 12271], 'disallowed'], + [[12272, 12283], 'disallowed'], + [[12284, 12287], 'disallowed'], + [[12288, 12288], 'disallowed_STD3_mapped', [32]], + [[12289, 12289], 'valid', [], 'NV8'], + [[12290, 12290], 'mapped', [46]], + [[12291, 12292], 'valid', [], 'NV8'], + [[12293, 12295], 'valid'], + [[12296, 12329], 'valid', [], 'NV8'], + [[12330, 12333], 'valid'], + [[12334, 12341], 'valid', [], 'NV8'], + [[12342, 12342], 'mapped', [12306]], + [[12343, 12343], 'valid', [], 'NV8'], + [[12344, 12344], 'mapped', [21313]], + [[12345, 12345], 'mapped', [21316]], + [[12346, 12346], 'mapped', [21317]], + [[12347, 12347], 'valid', [], 'NV8'], + [[12348, 12348], 'valid'], + [[12349, 12349], 'valid', [], 'NV8'], + [[12350, 12350], 'valid', [], 'NV8'], + [[12351, 12351], 'valid', [], 'NV8'], + [[12352, 12352], 'disallowed'], + [[12353, 12436], 'valid'], + [[12437, 12438], 'valid'], + [[12439, 12440], 'disallowed'], + [[12441, 12442], 'valid'], + [[12443, 12443], 'disallowed_STD3_mapped', [32, 12441]], + [[12444, 12444], 'disallowed_STD3_mapped', [32, 12442]], + [[12445, 12446], 'valid'], + [[12447, 12447], 'mapped', [12424, 12426]], + [[12448, 12448], 'valid', [], 'NV8'], + [[12449, 12542], 'valid'], + [[12543, 12543], 'mapped', [12467, 12488]], + [[12544, 12548], 'disallowed'], + [[12549, 12588], 'valid'], + [[12589, 12589], 'valid'], + [[12590, 12592], 'disallowed'], + [[12593, 12593], 'mapped', [4352]], + [[12594, 12594], 'mapped', [4353]], + [[12595, 12595], 'mapped', [4522]], + [[12596, 12596], 'mapped', [4354]], + [[12597, 12597], 'mapped', [4524]], + [[12598, 12598], 'mapped', [4525]], + [[12599, 12599], 'mapped', [4355]], + [[12600, 12600], 'mapped', [4356]], + [[12601, 12601], 'mapped', [4357]], + [[12602, 12602], 'mapped', [4528]], + [[12603, 12603], 'mapped', [4529]], + [[12604, 12604], 'mapped', [4530]], + [[12605, 12605], 'mapped', [4531]], + [[12606, 12606], 'mapped', [4532]], + [[12607, 12607], 'mapped', [4533]], + [[12608, 12608], 'mapped', [4378]], + [[12609, 12609], 'mapped', [4358]], + [[12610, 12610], 'mapped', [4359]], + [[12611, 12611], 'mapped', [4360]], + [[12612, 12612], 'mapped', [4385]], + [[12613, 12613], 'mapped', [4361]], + [[12614, 12614], 'mapped', [4362]], + [[12615, 12615], 'mapped', [4363]], + [[12616, 12616], 'mapped', [4364]], + [[12617, 12617], 'mapped', [4365]], + [[12618, 12618], 'mapped', [4366]], + [[12619, 12619], 'mapped', [4367]], + [[12620, 12620], 'mapped', [4368]], + [[12621, 12621], 'mapped', [4369]], + [[12622, 12622], 'mapped', [4370]], + [[12623, 12623], 'mapped', [4449]], + [[12624, 12624], 'mapped', [4450]], + [[12625, 12625], 'mapped', [4451]], + [[12626, 12626], 'mapped', [4452]], + [[12627, 12627], 'mapped', [4453]], + [[12628, 12628], 'mapped', [4454]], + [[12629, 12629], 'mapped', [4455]], + [[12630, 12630], 'mapped', [4456]], + [[12631, 12631], 'mapped', [4457]], + [[12632, 12632], 'mapped', [4458]], + [[12633, 12633], 'mapped', [4459]], + [[12634, 12634], 'mapped', [4460]], + [[12635, 12635], 'mapped', [4461]], + [[12636, 12636], 'mapped', [4462]], + [[12637, 12637], 'mapped', [4463]], + [[12638, 12638], 'mapped', [4464]], + [[12639, 12639], 'mapped', [4465]], + [[12640, 12640], 'mapped', [4466]], + [[12641, 12641], 'mapped', [4467]], + [[12642, 12642], 'mapped', [4468]], + [[12643, 12643], 'mapped', [4469]], + [[12644, 12644], 'disallowed'], + [[12645, 12645], 'mapped', [4372]], + [[12646, 12646], 'mapped', [4373]], + [[12647, 12647], 'mapped', [4551]], + [[12648, 12648], 'mapped', [4552]], + [[12649, 12649], 'mapped', [4556]], + [[12650, 12650], 'mapped', [4558]], + [[12651, 12651], 'mapped', [4563]], + [[12652, 12652], 'mapped', [4567]], + [[12653, 12653], 'mapped', [4569]], + [[12654, 12654], 'mapped', [4380]], + [[12655, 12655], 'mapped', [4573]], + [[12656, 12656], 'mapped', [4575]], + [[12657, 12657], 'mapped', [4381]], + [[12658, 12658], 'mapped', [4382]], + [[12659, 12659], 'mapped', [4384]], + [[12660, 12660], 'mapped', [4386]], + [[12661, 12661], 'mapped', [4387]], + [[12662, 12662], 'mapped', [4391]], + [[12663, 12663], 'mapped', [4393]], + [[12664, 12664], 'mapped', [4395]], + [[12665, 12665], 'mapped', [4396]], + [[12666, 12666], 'mapped', [4397]], + [[12667, 12667], 'mapped', [4398]], + [[12668, 12668], 'mapped', [4399]], + [[12669, 12669], 'mapped', [4402]], + [[12670, 12670], 'mapped', [4406]], + [[12671, 12671], 'mapped', [4416]], + [[12672, 12672], 'mapped', [4423]], + [[12673, 12673], 'mapped', [4428]], + [[12674, 12674], 'mapped', [4593]], + [[12675, 12675], 'mapped', [4594]], + [[12676, 12676], 'mapped', [4439]], + [[12677, 12677], 'mapped', [4440]], + [[12678, 12678], 'mapped', [4441]], + [[12679, 12679], 'mapped', [4484]], + [[12680, 12680], 'mapped', [4485]], + [[12681, 12681], 'mapped', [4488]], + [[12682, 12682], 'mapped', [4497]], + [[12683, 12683], 'mapped', [4498]], + [[12684, 12684], 'mapped', [4500]], + [[12685, 12685], 'mapped', [4510]], + [[12686, 12686], 'mapped', [4513]], + [[12687, 12687], 'disallowed'], + [[12688, 12689], 'valid', [], 'NV8'], + [[12690, 12690], 'mapped', [19968]], + [[12691, 12691], 'mapped', [20108]], + [[12692, 12692], 'mapped', [19977]], + [[12693, 12693], 'mapped', [22235]], + [[12694, 12694], 'mapped', [19978]], + [[12695, 12695], 'mapped', [20013]], + [[12696, 12696], 'mapped', [19979]], + [[12697, 12697], 'mapped', [30002]], + [[12698, 12698], 'mapped', [20057]], + [[12699, 12699], 'mapped', [19993]], + [[12700, 12700], 'mapped', [19969]], + [[12701, 12701], 'mapped', [22825]], + [[12702, 12702], 'mapped', [22320]], + [[12703, 12703], 'mapped', [20154]], + [[12704, 12727], 'valid'], + [[12728, 12730], 'valid'], + [[12731, 12735], 'disallowed'], + [[12736, 12751], 'valid', [], 'NV8'], + [[12752, 12771], 'valid', [], 'NV8'], + [[12772, 12783], 'disallowed'], + [[12784, 12799], 'valid'], + [[12800, 12800], 'disallowed_STD3_mapped', [40, 4352, 41]], + [[12801, 12801], 'disallowed_STD3_mapped', [40, 4354, 41]], + [[12802, 12802], 'disallowed_STD3_mapped', [40, 4355, 41]], + [[12803, 12803], 'disallowed_STD3_mapped', [40, 4357, 41]], + [[12804, 12804], 'disallowed_STD3_mapped', [40, 4358, 41]], + [[12805, 12805], 'disallowed_STD3_mapped', [40, 4359, 41]], + [[12806, 12806], 'disallowed_STD3_mapped', [40, 4361, 41]], + [[12807, 12807], 'disallowed_STD3_mapped', [40, 4363, 41]], + [[12808, 12808], 'disallowed_STD3_mapped', [40, 4364, 41]], + [[12809, 12809], 'disallowed_STD3_mapped', [40, 4366, 41]], + [[12810, 12810], 'disallowed_STD3_mapped', [40, 4367, 41]], + [[12811, 12811], 'disallowed_STD3_mapped', [40, 4368, 41]], + [[12812, 12812], 'disallowed_STD3_mapped', [40, 4369, 41]], + [[12813, 12813], 'disallowed_STD3_mapped', [40, 4370, 41]], + [[12814, 12814], 'disallowed_STD3_mapped', [40, 44032, 41]], + [[12815, 12815], 'disallowed_STD3_mapped', [40, 45208, 41]], + [[12816, 12816], 'disallowed_STD3_mapped', [40, 45796, 41]], + [[12817, 12817], 'disallowed_STD3_mapped', [40, 46972, 41]], + [[12818, 12818], 'disallowed_STD3_mapped', [40, 47560, 41]], + [[12819, 12819], 'disallowed_STD3_mapped', [40, 48148, 41]], + [[12820, 12820], 'disallowed_STD3_mapped', [40, 49324, 41]], + [[12821, 12821], 'disallowed_STD3_mapped', [40, 50500, 41]], + [[12822, 12822], 'disallowed_STD3_mapped', [40, 51088, 41]], + [[12823, 12823], 'disallowed_STD3_mapped', [40, 52264, 41]], + [[12824, 12824], 'disallowed_STD3_mapped', [40, 52852, 41]], + [[12825, 12825], 'disallowed_STD3_mapped', [40, 53440, 41]], + [[12826, 12826], 'disallowed_STD3_mapped', [40, 54028, 41]], + [[12827, 12827], 'disallowed_STD3_mapped', [40, 54616, 41]], + [[12828, 12828], 'disallowed_STD3_mapped', [40, 51452, 41]], + [[12829, 12829], 'disallowed_STD3_mapped', [40, 50724, 51204, 41]], + [[12830, 12830], 'disallowed_STD3_mapped', [40, 50724, 54980, 41]], + [[12831, 12831], 'disallowed'], + [[12832, 12832], 'disallowed_STD3_mapped', [40, 19968, 41]], + [[12833, 12833], 'disallowed_STD3_mapped', [40, 20108, 41]], + [[12834, 12834], 'disallowed_STD3_mapped', [40, 19977, 41]], + [[12835, 12835], 'disallowed_STD3_mapped', [40, 22235, 41]], + [[12836, 12836], 'disallowed_STD3_mapped', [40, 20116, 41]], + [[12837, 12837], 'disallowed_STD3_mapped', [40, 20845, 41]], + [[12838, 12838], 'disallowed_STD3_mapped', [40, 19971, 41]], + [[12839, 12839], 'disallowed_STD3_mapped', [40, 20843, 41]], + [[12840, 12840], 'disallowed_STD3_mapped', [40, 20061, 41]], + [[12841, 12841], 'disallowed_STD3_mapped', [40, 21313, 41]], + [[12842, 12842], 'disallowed_STD3_mapped', [40, 26376, 41]], + [[12843, 12843], 'disallowed_STD3_mapped', [40, 28779, 41]], + [[12844, 12844], 'disallowed_STD3_mapped', [40, 27700, 41]], + [[12845, 12845], 'disallowed_STD3_mapped', [40, 26408, 41]], + [[12846, 12846], 'disallowed_STD3_mapped', [40, 37329, 41]], + [[12847, 12847], 'disallowed_STD3_mapped', [40, 22303, 41]], + [[12848, 12848], 'disallowed_STD3_mapped', [40, 26085, 41]], + [[12849, 12849], 'disallowed_STD3_mapped', [40, 26666, 41]], + [[12850, 12850], 'disallowed_STD3_mapped', [40, 26377, 41]], + [[12851, 12851], 'disallowed_STD3_mapped', [40, 31038, 41]], + [[12852, 12852], 'disallowed_STD3_mapped', [40, 21517, 41]], + [[12853, 12853], 'disallowed_STD3_mapped', [40, 29305, 41]], + [[12854, 12854], 'disallowed_STD3_mapped', [40, 36001, 41]], + [[12855, 12855], 'disallowed_STD3_mapped', [40, 31069, 41]], + [[12856, 12856], 'disallowed_STD3_mapped', [40, 21172, 41]], + [[12857, 12857], 'disallowed_STD3_mapped', [40, 20195, 41]], + [[12858, 12858], 'disallowed_STD3_mapped', [40, 21628, 41]], + [[12859, 12859], 'disallowed_STD3_mapped', [40, 23398, 41]], + [[12860, 12860], 'disallowed_STD3_mapped', [40, 30435, 41]], + [[12861, 12861], 'disallowed_STD3_mapped', [40, 20225, 41]], + [[12862, 12862], 'disallowed_STD3_mapped', [40, 36039, 41]], + [[12863, 12863], 'disallowed_STD3_mapped', [40, 21332, 41]], + [[12864, 12864], 'disallowed_STD3_mapped', [40, 31085, 41]], + [[12865, 12865], 'disallowed_STD3_mapped', [40, 20241, 41]], + [[12866, 12866], 'disallowed_STD3_mapped', [40, 33258, 41]], + [[12867, 12867], 'disallowed_STD3_mapped', [40, 33267, 41]], + [[12868, 12868], 'mapped', [21839]], + [[12869, 12869], 'mapped', [24188]], + [[12870, 12870], 'mapped', [25991]], + [[12871, 12871], 'mapped', [31631]], + [[12872, 12879], 'valid', [], 'NV8'], + [[12880, 12880], 'mapped', [112, 116, 101]], + [[12881, 12881], 'mapped', [50, 49]], + [[12882, 12882], 'mapped', [50, 50]], + [[12883, 12883], 'mapped', [50, 51]], + [[12884, 12884], 'mapped', [50, 52]], + [[12885, 12885], 'mapped', [50, 53]], + [[12886, 12886], 'mapped', [50, 54]], + [[12887, 12887], 'mapped', [50, 55]], + [[12888, 12888], 'mapped', [50, 56]], + [[12889, 12889], 'mapped', [50, 57]], + [[12890, 12890], 'mapped', [51, 48]], + [[12891, 12891], 'mapped', [51, 49]], + [[12892, 12892], 'mapped', [51, 50]], + [[12893, 12893], 'mapped', [51, 51]], + [[12894, 12894], 'mapped', [51, 52]], + [[12895, 12895], 'mapped', [51, 53]], + [[12896, 12896], 'mapped', [4352]], + [[12897, 12897], 'mapped', [4354]], + [[12898, 12898], 'mapped', [4355]], + [[12899, 12899], 'mapped', [4357]], + [[12900, 12900], 'mapped', [4358]], + [[12901, 12901], 'mapped', [4359]], + [[12902, 12902], 'mapped', [4361]], + [[12903, 12903], 'mapped', [4363]], + [[12904, 12904], 'mapped', [4364]], + [[12905, 12905], 'mapped', [4366]], + [[12906, 12906], 'mapped', [4367]], + [[12907, 12907], 'mapped', [4368]], + [[12908, 12908], 'mapped', [4369]], + [[12909, 12909], 'mapped', [4370]], + [[12910, 12910], 'mapped', [44032]], + [[12911, 12911], 'mapped', [45208]], + [[12912, 12912], 'mapped', [45796]], + [[12913, 12913], 'mapped', [46972]], + [[12914, 12914], 'mapped', [47560]], + [[12915, 12915], 'mapped', [48148]], + [[12916, 12916], 'mapped', [49324]], + [[12917, 12917], 'mapped', [50500]], + [[12918, 12918], 'mapped', [51088]], + [[12919, 12919], 'mapped', [52264]], + [[12920, 12920], 'mapped', [52852]], + [[12921, 12921], 'mapped', [53440]], + [[12922, 12922], 'mapped', [54028]], + [[12923, 12923], 'mapped', [54616]], + [[12924, 12924], 'mapped', [52280, 44256]], + [[12925, 12925], 'mapped', [51452, 51032]], + [[12926, 12926], 'mapped', [50864]], + [[12927, 12927], 'valid', [], 'NV8'], + [[12928, 12928], 'mapped', [19968]], + [[12929, 12929], 'mapped', [20108]], + [[12930, 12930], 'mapped', [19977]], + [[12931, 12931], 'mapped', [22235]], + [[12932, 12932], 'mapped', [20116]], + [[12933, 12933], 'mapped', [20845]], + [[12934, 12934], 'mapped', [19971]], + [[12935, 12935], 'mapped', [20843]], + [[12936, 12936], 'mapped', [20061]], + [[12937, 12937], 'mapped', [21313]], + [[12938, 12938], 'mapped', [26376]], + [[12939, 12939], 'mapped', [28779]], + [[12940, 12940], 'mapped', [27700]], + [[12941, 12941], 'mapped', [26408]], + [[12942, 12942], 'mapped', [37329]], + [[12943, 12943], 'mapped', [22303]], + [[12944, 12944], 'mapped', [26085]], + [[12945, 12945], 'mapped', [26666]], + [[12946, 12946], 'mapped', [26377]], + [[12947, 12947], 'mapped', [31038]], + [[12948, 12948], 'mapped', [21517]], + [[12949, 12949], 'mapped', [29305]], + [[12950, 12950], 'mapped', [36001]], + [[12951, 12951], 'mapped', [31069]], + [[12952, 12952], 'mapped', [21172]], + [[12953, 12953], 'mapped', [31192]], + [[12954, 12954], 'mapped', [30007]], + [[12955, 12955], 'mapped', [22899]], + [[12956, 12956], 'mapped', [36969]], + [[12957, 12957], 'mapped', [20778]], + [[12958, 12958], 'mapped', [21360]], + [[12959, 12959], 'mapped', [27880]], + [[12960, 12960], 'mapped', [38917]], + [[12961, 12961], 'mapped', [20241]], + [[12962, 12962], 'mapped', [20889]], + [[12963, 12963], 'mapped', [27491]], + [[12964, 12964], 'mapped', [19978]], + [[12965, 12965], 'mapped', [20013]], + [[12966, 12966], 'mapped', [19979]], + [[12967, 12967], 'mapped', [24038]], + [[12968, 12968], 'mapped', [21491]], + [[12969, 12969], 'mapped', [21307]], + [[12970, 12970], 'mapped', [23447]], + [[12971, 12971], 'mapped', [23398]], + [[12972, 12972], 'mapped', [30435]], + [[12973, 12973], 'mapped', [20225]], + [[12974, 12974], 'mapped', [36039]], + [[12975, 12975], 'mapped', [21332]], + [[12976, 12976], 'mapped', [22812]], + [[12977, 12977], 'mapped', [51, 54]], + [[12978, 12978], 'mapped', [51, 55]], + [[12979, 12979], 'mapped', [51, 56]], + [[12980, 12980], 'mapped', [51, 57]], + [[12981, 12981], 'mapped', [52, 48]], + [[12982, 12982], 'mapped', [52, 49]], + [[12983, 12983], 'mapped', [52, 50]], + [[12984, 12984], 'mapped', [52, 51]], + [[12985, 12985], 'mapped', [52, 52]], + [[12986, 12986], 'mapped', [52, 53]], + [[12987, 12987], 'mapped', [52, 54]], + [[12988, 12988], 'mapped', [52, 55]], + [[12989, 12989], 'mapped', [52, 56]], + [[12990, 12990], 'mapped', [52, 57]], + [[12991, 12991], 'mapped', [53, 48]], + [[12992, 12992], 'mapped', [49, 26376]], + [[12993, 12993], 'mapped', [50, 26376]], + [[12994, 12994], 'mapped', [51, 26376]], + [[12995, 12995], 'mapped', [52, 26376]], + [[12996, 12996], 'mapped', [53, 26376]], + [[12997, 12997], 'mapped', [54, 26376]], + [[12998, 12998], 'mapped', [55, 26376]], + [[12999, 12999], 'mapped', [56, 26376]], + [[13e3, 13e3], 'mapped', [57, 26376]], + [[13001, 13001], 'mapped', [49, 48, 26376]], + [[13002, 13002], 'mapped', [49, 49, 26376]], + [[13003, 13003], 'mapped', [49, 50, 26376]], + [[13004, 13004], 'mapped', [104, 103]], + [[13005, 13005], 'mapped', [101, 114, 103]], + [[13006, 13006], 'mapped', [101, 118]], + [[13007, 13007], 'mapped', [108, 116, 100]], + [[13008, 13008], 'mapped', [12450]], + [[13009, 13009], 'mapped', [12452]], + [[13010, 13010], 'mapped', [12454]], + [[13011, 13011], 'mapped', [12456]], + [[13012, 13012], 'mapped', [12458]], + [[13013, 13013], 'mapped', [12459]], + [[13014, 13014], 'mapped', [12461]], + [[13015, 13015], 'mapped', [12463]], + [[13016, 13016], 'mapped', [12465]], + [[13017, 13017], 'mapped', [12467]], + [[13018, 13018], 'mapped', [12469]], + [[13019, 13019], 'mapped', [12471]], + [[13020, 13020], 'mapped', [12473]], + [[13021, 13021], 'mapped', [12475]], + [[13022, 13022], 'mapped', [12477]], + [[13023, 13023], 'mapped', [12479]], + [[13024, 13024], 'mapped', [12481]], + [[13025, 13025], 'mapped', [12484]], + [[13026, 13026], 'mapped', [12486]], + [[13027, 13027], 'mapped', [12488]], + [[13028, 13028], 'mapped', [12490]], + [[13029, 13029], 'mapped', [12491]], + [[13030, 13030], 'mapped', [12492]], + [[13031, 13031], 'mapped', [12493]], + [[13032, 13032], 'mapped', [12494]], + [[13033, 13033], 'mapped', [12495]], + [[13034, 13034], 'mapped', [12498]], + [[13035, 13035], 'mapped', [12501]], + [[13036, 13036], 'mapped', [12504]], + [[13037, 13037], 'mapped', [12507]], + [[13038, 13038], 'mapped', [12510]], + [[13039, 13039], 'mapped', [12511]], + [[13040, 13040], 'mapped', [12512]], + [[13041, 13041], 'mapped', [12513]], + [[13042, 13042], 'mapped', [12514]], + [[13043, 13043], 'mapped', [12516]], + [[13044, 13044], 'mapped', [12518]], + [[13045, 13045], 'mapped', [12520]], + [[13046, 13046], 'mapped', [12521]], + [[13047, 13047], 'mapped', [12522]], + [[13048, 13048], 'mapped', [12523]], + [[13049, 13049], 'mapped', [12524]], + [[13050, 13050], 'mapped', [12525]], + [[13051, 13051], 'mapped', [12527]], + [[13052, 13052], 'mapped', [12528]], + [[13053, 13053], 'mapped', [12529]], + [[13054, 13054], 'mapped', [12530]], + [[13055, 13055], 'disallowed'], + [[13056, 13056], 'mapped', [12450, 12497, 12540, 12488]], + [[13057, 13057], 'mapped', [12450, 12523, 12501, 12449]], + [[13058, 13058], 'mapped', [12450, 12531, 12506, 12450]], + [[13059, 13059], 'mapped', [12450, 12540, 12523]], + [[13060, 13060], 'mapped', [12452, 12491, 12531, 12464]], + [[13061, 13061], 'mapped', [12452, 12531, 12481]], + [[13062, 13062], 'mapped', [12454, 12457, 12531]], + [[13063, 13063], 'mapped', [12456, 12473, 12463, 12540, 12489]], + [[13064, 13064], 'mapped', [12456, 12540, 12459, 12540]], + [[13065, 13065], 'mapped', [12458, 12531, 12473]], + [[13066, 13066], 'mapped', [12458, 12540, 12512]], + [[13067, 13067], 'mapped', [12459, 12452, 12522]], + [[13068, 13068], 'mapped', [12459, 12521, 12483, 12488]], + [[13069, 13069], 'mapped', [12459, 12525, 12522, 12540]], + [[13070, 13070], 'mapped', [12460, 12525, 12531]], + [[13071, 13071], 'mapped', [12460, 12531, 12510]], + [[13072, 13072], 'mapped', [12462, 12460]], + [[13073, 13073], 'mapped', [12462, 12491, 12540]], + [[13074, 13074], 'mapped', [12461, 12517, 12522, 12540]], + [[13075, 13075], 'mapped', [12462, 12523, 12480, 12540]], + [[13076, 13076], 'mapped', [12461, 12525]], + [[13077, 13077], 'mapped', [12461, 12525, 12464, 12521, 12512]], + [[13078, 13078], 'mapped', [12461, 12525, 12513, 12540, 12488, 12523]], + [[13079, 13079], 'mapped', [12461, 12525, 12527, 12483, 12488]], + [[13080, 13080], 'mapped', [12464, 12521, 12512]], + [[13081, 13081], 'mapped', [12464, 12521, 12512, 12488, 12531]], + [[13082, 13082], 'mapped', [12463, 12523, 12476, 12452, 12525]], + [[13083, 13083], 'mapped', [12463, 12525, 12540, 12493]], + [[13084, 13084], 'mapped', [12465, 12540, 12473]], + [[13085, 13085], 'mapped', [12467, 12523, 12490]], + [[13086, 13086], 'mapped', [12467, 12540, 12509]], + [[13087, 13087], 'mapped', [12469, 12452, 12463, 12523]], + [[13088, 13088], 'mapped', [12469, 12531, 12481, 12540, 12512]], + [[13089, 13089], 'mapped', [12471, 12522, 12531, 12464]], + [[13090, 13090], 'mapped', [12475, 12531, 12481]], + [[13091, 13091], 'mapped', [12475, 12531, 12488]], + [[13092, 13092], 'mapped', [12480, 12540, 12473]], + [[13093, 13093], 'mapped', [12487, 12471]], + [[13094, 13094], 'mapped', [12489, 12523]], + [[13095, 13095], 'mapped', [12488, 12531]], + [[13096, 13096], 'mapped', [12490, 12494]], + [[13097, 13097], 'mapped', [12494, 12483, 12488]], + [[13098, 13098], 'mapped', [12495, 12452, 12484]], + [[13099, 13099], 'mapped', [12497, 12540, 12475, 12531, 12488]], + [[13100, 13100], 'mapped', [12497, 12540, 12484]], + [[13101, 13101], 'mapped', [12496, 12540, 12524, 12523]], + [[13102, 13102], 'mapped', [12500, 12450, 12473, 12488, 12523]], + [[13103, 13103], 'mapped', [12500, 12463, 12523]], + [[13104, 13104], 'mapped', [12500, 12467]], + [[13105, 13105], 'mapped', [12499, 12523]], + [[13106, 13106], 'mapped', [12501, 12449, 12521, 12483, 12489]], + [[13107, 13107], 'mapped', [12501, 12451, 12540, 12488]], + [[13108, 13108], 'mapped', [12502, 12483, 12471, 12455, 12523]], + [[13109, 13109], 'mapped', [12501, 12521, 12531]], + [[13110, 13110], 'mapped', [12504, 12463, 12479, 12540, 12523]], + [[13111, 13111], 'mapped', [12506, 12477]], + [[13112, 13112], 'mapped', [12506, 12491, 12498]], + [[13113, 13113], 'mapped', [12504, 12523, 12484]], + [[13114, 13114], 'mapped', [12506, 12531, 12473]], + [[13115, 13115], 'mapped', [12506, 12540, 12472]], + [[13116, 13116], 'mapped', [12505, 12540, 12479]], + [[13117, 13117], 'mapped', [12509, 12452, 12531, 12488]], + [[13118, 13118], 'mapped', [12508, 12523, 12488]], + [[13119, 13119], 'mapped', [12507, 12531]], + [[13120, 13120], 'mapped', [12509, 12531, 12489]], + [[13121, 13121], 'mapped', [12507, 12540, 12523]], + [[13122, 13122], 'mapped', [12507, 12540, 12531]], + [[13123, 13123], 'mapped', [12510, 12452, 12463, 12525]], + [[13124, 13124], 'mapped', [12510, 12452, 12523]], + [[13125, 13125], 'mapped', [12510, 12483, 12495]], + [[13126, 13126], 'mapped', [12510, 12523, 12463]], + [[13127, 13127], 'mapped', [12510, 12531, 12471, 12519, 12531]], + [[13128, 13128], 'mapped', [12511, 12463, 12525, 12531]], + [[13129, 13129], 'mapped', [12511, 12522]], + [[13130, 13130], 'mapped', [12511, 12522, 12496, 12540, 12523]], + [[13131, 13131], 'mapped', [12513, 12460]], + [[13132, 13132], 'mapped', [12513, 12460, 12488, 12531]], + [[13133, 13133], 'mapped', [12513, 12540, 12488, 12523]], + [[13134, 13134], 'mapped', [12516, 12540, 12489]], + [[13135, 13135], 'mapped', [12516, 12540, 12523]], + [[13136, 13136], 'mapped', [12518, 12450, 12531]], + [[13137, 13137], 'mapped', [12522, 12483, 12488, 12523]], + [[13138, 13138], 'mapped', [12522, 12521]], + [[13139, 13139], 'mapped', [12523, 12500, 12540]], + [[13140, 13140], 'mapped', [12523, 12540, 12502, 12523]], + [[13141, 13141], 'mapped', [12524, 12512]], + [[13142, 13142], 'mapped', [12524, 12531, 12488, 12466, 12531]], + [[13143, 13143], 'mapped', [12527, 12483, 12488]], + [[13144, 13144], 'mapped', [48, 28857]], + [[13145, 13145], 'mapped', [49, 28857]], + [[13146, 13146], 'mapped', [50, 28857]], + [[13147, 13147], 'mapped', [51, 28857]], + [[13148, 13148], 'mapped', [52, 28857]], + [[13149, 13149], 'mapped', [53, 28857]], + [[13150, 13150], 'mapped', [54, 28857]], + [[13151, 13151], 'mapped', [55, 28857]], + [[13152, 13152], 'mapped', [56, 28857]], + [[13153, 13153], 'mapped', [57, 28857]], + [[13154, 13154], 'mapped', [49, 48, 28857]], + [[13155, 13155], 'mapped', [49, 49, 28857]], + [[13156, 13156], 'mapped', [49, 50, 28857]], + [[13157, 13157], 'mapped', [49, 51, 28857]], + [[13158, 13158], 'mapped', [49, 52, 28857]], + [[13159, 13159], 'mapped', [49, 53, 28857]], + [[13160, 13160], 'mapped', [49, 54, 28857]], + [[13161, 13161], 'mapped', [49, 55, 28857]], + [[13162, 13162], 'mapped', [49, 56, 28857]], + [[13163, 13163], 'mapped', [49, 57, 28857]], + [[13164, 13164], 'mapped', [50, 48, 28857]], + [[13165, 13165], 'mapped', [50, 49, 28857]], + [[13166, 13166], 'mapped', [50, 50, 28857]], + [[13167, 13167], 'mapped', [50, 51, 28857]], + [[13168, 13168], 'mapped', [50, 52, 28857]], + [[13169, 13169], 'mapped', [104, 112, 97]], + [[13170, 13170], 'mapped', [100, 97]], + [[13171, 13171], 'mapped', [97, 117]], + [[13172, 13172], 'mapped', [98, 97, 114]], + [[13173, 13173], 'mapped', [111, 118]], + [[13174, 13174], 'mapped', [112, 99]], + [[13175, 13175], 'mapped', [100, 109]], + [[13176, 13176], 'mapped', [100, 109, 50]], + [[13177, 13177], 'mapped', [100, 109, 51]], + [[13178, 13178], 'mapped', [105, 117]], + [[13179, 13179], 'mapped', [24179, 25104]], + [[13180, 13180], 'mapped', [26157, 21644]], + [[13181, 13181], 'mapped', [22823, 27491]], + [[13182, 13182], 'mapped', [26126, 27835]], + [[13183, 13183], 'mapped', [26666, 24335, 20250, 31038]], + [[13184, 13184], 'mapped', [112, 97]], + [[13185, 13185], 'mapped', [110, 97]], + [[13186, 13186], 'mapped', [956, 97]], + [[13187, 13187], 'mapped', [109, 97]], + [[13188, 13188], 'mapped', [107, 97]], + [[13189, 13189], 'mapped', [107, 98]], + [[13190, 13190], 'mapped', [109, 98]], + [[13191, 13191], 'mapped', [103, 98]], + [[13192, 13192], 'mapped', [99, 97, 108]], + [[13193, 13193], 'mapped', [107, 99, 97, 108]], + [[13194, 13194], 'mapped', [112, 102]], + [[13195, 13195], 'mapped', [110, 102]], + [[13196, 13196], 'mapped', [956, 102]], + [[13197, 13197], 'mapped', [956, 103]], + [[13198, 13198], 'mapped', [109, 103]], + [[13199, 13199], 'mapped', [107, 103]], + [[13200, 13200], 'mapped', [104, 122]], + [[13201, 13201], 'mapped', [107, 104, 122]], + [[13202, 13202], 'mapped', [109, 104, 122]], + [[13203, 13203], 'mapped', [103, 104, 122]], + [[13204, 13204], 'mapped', [116, 104, 122]], + [[13205, 13205], 'mapped', [956, 108]], + [[13206, 13206], 'mapped', [109, 108]], + [[13207, 13207], 'mapped', [100, 108]], + [[13208, 13208], 'mapped', [107, 108]], + [[13209, 13209], 'mapped', [102, 109]], + [[13210, 13210], 'mapped', [110, 109]], + [[13211, 13211], 'mapped', [956, 109]], + [[13212, 13212], 'mapped', [109, 109]], + [[13213, 13213], 'mapped', [99, 109]], + [[13214, 13214], 'mapped', [107, 109]], + [[13215, 13215], 'mapped', [109, 109, 50]], + [[13216, 13216], 'mapped', [99, 109, 50]], + [[13217, 13217], 'mapped', [109, 50]], + [[13218, 13218], 'mapped', [107, 109, 50]], + [[13219, 13219], 'mapped', [109, 109, 51]], + [[13220, 13220], 'mapped', [99, 109, 51]], + [[13221, 13221], 'mapped', [109, 51]], + [[13222, 13222], 'mapped', [107, 109, 51]], + [[13223, 13223], 'mapped', [109, 8725, 115]], + [[13224, 13224], 'mapped', [109, 8725, 115, 50]], + [[13225, 13225], 'mapped', [112, 97]], + [[13226, 13226], 'mapped', [107, 112, 97]], + [[13227, 13227], 'mapped', [109, 112, 97]], + [[13228, 13228], 'mapped', [103, 112, 97]], + [[13229, 13229], 'mapped', [114, 97, 100]], + [[13230, 13230], 'mapped', [114, 97, 100, 8725, 115]], + [[13231, 13231], 'mapped', [114, 97, 100, 8725, 115, 50]], + [[13232, 13232], 'mapped', [112, 115]], + [[13233, 13233], 'mapped', [110, 115]], + [[13234, 13234], 'mapped', [956, 115]], + [[13235, 13235], 'mapped', [109, 115]], + [[13236, 13236], 'mapped', [112, 118]], + [[13237, 13237], 'mapped', [110, 118]], + [[13238, 13238], 'mapped', [956, 118]], + [[13239, 13239], 'mapped', [109, 118]], + [[13240, 13240], 'mapped', [107, 118]], + [[13241, 13241], 'mapped', [109, 118]], + [[13242, 13242], 'mapped', [112, 119]], + [[13243, 13243], 'mapped', [110, 119]], + [[13244, 13244], 'mapped', [956, 119]], + [[13245, 13245], 'mapped', [109, 119]], + [[13246, 13246], 'mapped', [107, 119]], + [[13247, 13247], 'mapped', [109, 119]], + [[13248, 13248], 'mapped', [107, 969]], + [[13249, 13249], 'mapped', [109, 969]], + [[13250, 13250], 'disallowed'], + [[13251, 13251], 'mapped', [98, 113]], + [[13252, 13252], 'mapped', [99, 99]], + [[13253, 13253], 'mapped', [99, 100]], + [[13254, 13254], 'mapped', [99, 8725, 107, 103]], + [[13255, 13255], 'disallowed'], + [[13256, 13256], 'mapped', [100, 98]], + [[13257, 13257], 'mapped', [103, 121]], + [[13258, 13258], 'mapped', [104, 97]], + [[13259, 13259], 'mapped', [104, 112]], + [[13260, 13260], 'mapped', [105, 110]], + [[13261, 13261], 'mapped', [107, 107]], + [[13262, 13262], 'mapped', [107, 109]], + [[13263, 13263], 'mapped', [107, 116]], + [[13264, 13264], 'mapped', [108, 109]], + [[13265, 13265], 'mapped', [108, 110]], + [[13266, 13266], 'mapped', [108, 111, 103]], + [[13267, 13267], 'mapped', [108, 120]], + [[13268, 13268], 'mapped', [109, 98]], + [[13269, 13269], 'mapped', [109, 105, 108]], + [[13270, 13270], 'mapped', [109, 111, 108]], + [[13271, 13271], 'mapped', [112, 104]], + [[13272, 13272], 'disallowed'], + [[13273, 13273], 'mapped', [112, 112, 109]], + [[13274, 13274], 'mapped', [112, 114]], + [[13275, 13275], 'mapped', [115, 114]], + [[13276, 13276], 'mapped', [115, 118]], + [[13277, 13277], 'mapped', [119, 98]], + [[13278, 13278], 'mapped', [118, 8725, 109]], + [[13279, 13279], 'mapped', [97, 8725, 109]], + [[13280, 13280], 'mapped', [49, 26085]], + [[13281, 13281], 'mapped', [50, 26085]], + [[13282, 13282], 'mapped', [51, 26085]], + [[13283, 13283], 'mapped', [52, 26085]], + [[13284, 13284], 'mapped', [53, 26085]], + [[13285, 13285], 'mapped', [54, 26085]], + [[13286, 13286], 'mapped', [55, 26085]], + [[13287, 13287], 'mapped', [56, 26085]], + [[13288, 13288], 'mapped', [57, 26085]], + [[13289, 13289], 'mapped', [49, 48, 26085]], + [[13290, 13290], 'mapped', [49, 49, 26085]], + [[13291, 13291], 'mapped', [49, 50, 26085]], + [[13292, 13292], 'mapped', [49, 51, 26085]], + [[13293, 13293], 'mapped', [49, 52, 26085]], + [[13294, 13294], 'mapped', [49, 53, 26085]], + [[13295, 13295], 'mapped', [49, 54, 26085]], + [[13296, 13296], 'mapped', [49, 55, 26085]], + [[13297, 13297], 'mapped', [49, 56, 26085]], + [[13298, 13298], 'mapped', [49, 57, 26085]], + [[13299, 13299], 'mapped', [50, 48, 26085]], + [[13300, 13300], 'mapped', [50, 49, 26085]], + [[13301, 13301], 'mapped', [50, 50, 26085]], + [[13302, 13302], 'mapped', [50, 51, 26085]], + [[13303, 13303], 'mapped', [50, 52, 26085]], + [[13304, 13304], 'mapped', [50, 53, 26085]], + [[13305, 13305], 'mapped', [50, 54, 26085]], + [[13306, 13306], 'mapped', [50, 55, 26085]], + [[13307, 13307], 'mapped', [50, 56, 26085]], + [[13308, 13308], 'mapped', [50, 57, 26085]], + [[13309, 13309], 'mapped', [51, 48, 26085]], + [[13310, 13310], 'mapped', [51, 49, 26085]], + [[13311, 13311], 'mapped', [103, 97, 108]], + [[13312, 19893], 'valid'], + [[19894, 19903], 'disallowed'], + [[19904, 19967], 'valid', [], 'NV8'], + [[19968, 40869], 'valid'], + [[40870, 40891], 'valid'], + [[40892, 40899], 'valid'], + [[40900, 40907], 'valid'], + [[40908, 40908], 'valid'], + [[40909, 40917], 'valid'], + [[40918, 40959], 'disallowed'], + [[40960, 42124], 'valid'], + [[42125, 42127], 'disallowed'], + [[42128, 42145], 'valid', [], 'NV8'], + [[42146, 42147], 'valid', [], 'NV8'], + [[42148, 42163], 'valid', [], 'NV8'], + [[42164, 42164], 'valid', [], 'NV8'], + [[42165, 42176], 'valid', [], 'NV8'], + [[42177, 42177], 'valid', [], 'NV8'], + [[42178, 42180], 'valid', [], 'NV8'], + [[42181, 42181], 'valid', [], 'NV8'], + [[42182, 42182], 'valid', [], 'NV8'], + [[42183, 42191], 'disallowed'], + [[42192, 42237], 'valid'], + [[42238, 42239], 'valid', [], 'NV8'], + [[42240, 42508], 'valid'], + [[42509, 42511], 'valid', [], 'NV8'], + [[42512, 42539], 'valid'], + [[42540, 42559], 'disallowed'], + [[42560, 42560], 'mapped', [42561]], + [[42561, 42561], 'valid'], + [[42562, 42562], 'mapped', [42563]], + [[42563, 42563], 'valid'], + [[42564, 42564], 'mapped', [42565]], + [[42565, 42565], 'valid'], + [[42566, 42566], 'mapped', [42567]], + [[42567, 42567], 'valid'], + [[42568, 42568], 'mapped', [42569]], + [[42569, 42569], 'valid'], + [[42570, 42570], 'mapped', [42571]], + [[42571, 42571], 'valid'], + [[42572, 42572], 'mapped', [42573]], + [[42573, 42573], 'valid'], + [[42574, 42574], 'mapped', [42575]], + [[42575, 42575], 'valid'], + [[42576, 42576], 'mapped', [42577]], + [[42577, 42577], 'valid'], + [[42578, 42578], 'mapped', [42579]], + [[42579, 42579], 'valid'], + [[42580, 42580], 'mapped', [42581]], + [[42581, 42581], 'valid'], + [[42582, 42582], 'mapped', [42583]], + [[42583, 42583], 'valid'], + [[42584, 42584], 'mapped', [42585]], + [[42585, 42585], 'valid'], + [[42586, 42586], 'mapped', [42587]], + [[42587, 42587], 'valid'], + [[42588, 42588], 'mapped', [42589]], + [[42589, 42589], 'valid'], + [[42590, 42590], 'mapped', [42591]], + [[42591, 42591], 'valid'], + [[42592, 42592], 'mapped', [42593]], + [[42593, 42593], 'valid'], + [[42594, 42594], 'mapped', [42595]], + [[42595, 42595], 'valid'], + [[42596, 42596], 'mapped', [42597]], + [[42597, 42597], 'valid'], + [[42598, 42598], 'mapped', [42599]], + [[42599, 42599], 'valid'], + [[42600, 42600], 'mapped', [42601]], + [[42601, 42601], 'valid'], + [[42602, 42602], 'mapped', [42603]], + [[42603, 42603], 'valid'], + [[42604, 42604], 'mapped', [42605]], + [[42605, 42607], 'valid'], + [[42608, 42611], 'valid', [], 'NV8'], + [[42612, 42619], 'valid'], + [[42620, 42621], 'valid'], + [[42622, 42622], 'valid', [], 'NV8'], + [[42623, 42623], 'valid'], + [[42624, 42624], 'mapped', [42625]], + [[42625, 42625], 'valid'], + [[42626, 42626], 'mapped', [42627]], + [[42627, 42627], 'valid'], + [[42628, 42628], 'mapped', [42629]], + [[42629, 42629], 'valid'], + [[42630, 42630], 'mapped', [42631]], + [[42631, 42631], 'valid'], + [[42632, 42632], 'mapped', [42633]], + [[42633, 42633], 'valid'], + [[42634, 42634], 'mapped', [42635]], + [[42635, 42635], 'valid'], + [[42636, 42636], 'mapped', [42637]], + [[42637, 42637], 'valid'], + [[42638, 42638], 'mapped', [42639]], + [[42639, 42639], 'valid'], + [[42640, 42640], 'mapped', [42641]], + [[42641, 42641], 'valid'], + [[42642, 42642], 'mapped', [42643]], + [[42643, 42643], 'valid'], + [[42644, 42644], 'mapped', [42645]], + [[42645, 42645], 'valid'], + [[42646, 42646], 'mapped', [42647]], + [[42647, 42647], 'valid'], + [[42648, 42648], 'mapped', [42649]], + [[42649, 42649], 'valid'], + [[42650, 42650], 'mapped', [42651]], + [[42651, 42651], 'valid'], + [[42652, 42652], 'mapped', [1098]], + [[42653, 42653], 'mapped', [1100]], + [[42654, 42654], 'valid'], + [[42655, 42655], 'valid'], + [[42656, 42725], 'valid'], + [[42726, 42735], 'valid', [], 'NV8'], + [[42736, 42737], 'valid'], + [[42738, 42743], 'valid', [], 'NV8'], + [[42744, 42751], 'disallowed'], + [[42752, 42774], 'valid', [], 'NV8'], + [[42775, 42778], 'valid'], + [[42779, 42783], 'valid'], + [[42784, 42785], 'valid', [], 'NV8'], + [[42786, 42786], 'mapped', [42787]], + [[42787, 42787], 'valid'], + [[42788, 42788], 'mapped', [42789]], + [[42789, 42789], 'valid'], + [[42790, 42790], 'mapped', [42791]], + [[42791, 42791], 'valid'], + [[42792, 42792], 'mapped', [42793]], + [[42793, 42793], 'valid'], + [[42794, 42794], 'mapped', [42795]], + [[42795, 42795], 'valid'], + [[42796, 42796], 'mapped', [42797]], + [[42797, 42797], 'valid'], + [[42798, 42798], 'mapped', [42799]], + [[42799, 42801], 'valid'], + [[42802, 42802], 'mapped', [42803]], + [[42803, 42803], 'valid'], + [[42804, 42804], 'mapped', [42805]], + [[42805, 42805], 'valid'], + [[42806, 42806], 'mapped', [42807]], + [[42807, 42807], 'valid'], + [[42808, 42808], 'mapped', [42809]], + [[42809, 42809], 'valid'], + [[42810, 42810], 'mapped', [42811]], + [[42811, 42811], 'valid'], + [[42812, 42812], 'mapped', [42813]], + [[42813, 42813], 'valid'], + [[42814, 42814], 'mapped', [42815]], + [[42815, 42815], 'valid'], + [[42816, 42816], 'mapped', [42817]], + [[42817, 42817], 'valid'], + [[42818, 42818], 'mapped', [42819]], + [[42819, 42819], 'valid'], + [[42820, 42820], 'mapped', [42821]], + [[42821, 42821], 'valid'], + [[42822, 42822], 'mapped', [42823]], + [[42823, 42823], 'valid'], + [[42824, 42824], 'mapped', [42825]], + [[42825, 42825], 'valid'], + [[42826, 42826], 'mapped', [42827]], + [[42827, 42827], 'valid'], + [[42828, 42828], 'mapped', [42829]], + [[42829, 42829], 'valid'], + [[42830, 42830], 'mapped', [42831]], + [[42831, 42831], 'valid'], + [[42832, 42832], 'mapped', [42833]], + [[42833, 42833], 'valid'], + [[42834, 42834], 'mapped', [42835]], + [[42835, 42835], 'valid'], + [[42836, 42836], 'mapped', [42837]], + [[42837, 42837], 'valid'], + [[42838, 42838], 'mapped', [42839]], + [[42839, 42839], 'valid'], + [[42840, 42840], 'mapped', [42841]], + [[42841, 42841], 'valid'], + [[42842, 42842], 'mapped', [42843]], + [[42843, 42843], 'valid'], + [[42844, 42844], 'mapped', [42845]], + [[42845, 42845], 'valid'], + [[42846, 42846], 'mapped', [42847]], + [[42847, 42847], 'valid'], + [[42848, 42848], 'mapped', [42849]], + [[42849, 42849], 'valid'], + [[42850, 42850], 'mapped', [42851]], + [[42851, 42851], 'valid'], + [[42852, 42852], 'mapped', [42853]], + [[42853, 42853], 'valid'], + [[42854, 42854], 'mapped', [42855]], + [[42855, 42855], 'valid'], + [[42856, 42856], 'mapped', [42857]], + [[42857, 42857], 'valid'], + [[42858, 42858], 'mapped', [42859]], + [[42859, 42859], 'valid'], + [[42860, 42860], 'mapped', [42861]], + [[42861, 42861], 'valid'], + [[42862, 42862], 'mapped', [42863]], + [[42863, 42863], 'valid'], + [[42864, 42864], 'mapped', [42863]], + [[42865, 42872], 'valid'], + [[42873, 42873], 'mapped', [42874]], + [[42874, 42874], 'valid'], + [[42875, 42875], 'mapped', [42876]], + [[42876, 42876], 'valid'], + [[42877, 42877], 'mapped', [7545]], + [[42878, 42878], 'mapped', [42879]], + [[42879, 42879], 'valid'], + [[42880, 42880], 'mapped', [42881]], + [[42881, 42881], 'valid'], + [[42882, 42882], 'mapped', [42883]], + [[42883, 42883], 'valid'], + [[42884, 42884], 'mapped', [42885]], + [[42885, 42885], 'valid'], + [[42886, 42886], 'mapped', [42887]], + [[42887, 42888], 'valid'], + [[42889, 42890], 'valid', [], 'NV8'], + [[42891, 42891], 'mapped', [42892]], + [[42892, 42892], 'valid'], + [[42893, 42893], 'mapped', [613]], + [[42894, 42894], 'valid'], + [[42895, 42895], 'valid'], + [[42896, 42896], 'mapped', [42897]], + [[42897, 42897], 'valid'], + [[42898, 42898], 'mapped', [42899]], + [[42899, 42899], 'valid'], + [[42900, 42901], 'valid'], + [[42902, 42902], 'mapped', [42903]], + [[42903, 42903], 'valid'], + [[42904, 42904], 'mapped', [42905]], + [[42905, 42905], 'valid'], + [[42906, 42906], 'mapped', [42907]], + [[42907, 42907], 'valid'], + [[42908, 42908], 'mapped', [42909]], + [[42909, 42909], 'valid'], + [[42910, 42910], 'mapped', [42911]], + [[42911, 42911], 'valid'], + [[42912, 42912], 'mapped', [42913]], + [[42913, 42913], 'valid'], + [[42914, 42914], 'mapped', [42915]], + [[42915, 42915], 'valid'], + [[42916, 42916], 'mapped', [42917]], + [[42917, 42917], 'valid'], + [[42918, 42918], 'mapped', [42919]], + [[42919, 42919], 'valid'], + [[42920, 42920], 'mapped', [42921]], + [[42921, 42921], 'valid'], + [[42922, 42922], 'mapped', [614]], + [[42923, 42923], 'mapped', [604]], + [[42924, 42924], 'mapped', [609]], + [[42925, 42925], 'mapped', [620]], + [[42926, 42927], 'disallowed'], + [[42928, 42928], 'mapped', [670]], + [[42929, 42929], 'mapped', [647]], + [[42930, 42930], 'mapped', [669]], + [[42931, 42931], 'mapped', [43859]], + [[42932, 42932], 'mapped', [42933]], + [[42933, 42933], 'valid'], + [[42934, 42934], 'mapped', [42935]], + [[42935, 42935], 'valid'], + [[42936, 42998], 'disallowed'], + [[42999, 42999], 'valid'], + [[43e3, 43e3], 'mapped', [295]], + [[43001, 43001], 'mapped', [339]], + [[43002, 43002], 'valid'], + [[43003, 43007], 'valid'], + [[43008, 43047], 'valid'], + [[43048, 43051], 'valid', [], 'NV8'], + [[43052, 43055], 'disallowed'], + [[43056, 43065], 'valid', [], 'NV8'], + [[43066, 43071], 'disallowed'], + [[43072, 43123], 'valid'], + [[43124, 43127], 'valid', [], 'NV8'], + [[43128, 43135], 'disallowed'], + [[43136, 43204], 'valid'], + [[43205, 43213], 'disallowed'], + [[43214, 43215], 'valid', [], 'NV8'], + [[43216, 43225], 'valid'], + [[43226, 43231], 'disallowed'], + [[43232, 43255], 'valid'], + [[43256, 43258], 'valid', [], 'NV8'], + [[43259, 43259], 'valid'], + [[43260, 43260], 'valid', [], 'NV8'], + [[43261, 43261], 'valid'], + [[43262, 43263], 'disallowed'], + [[43264, 43309], 'valid'], + [[43310, 43311], 'valid', [], 'NV8'], + [[43312, 43347], 'valid'], + [[43348, 43358], 'disallowed'], + [[43359, 43359], 'valid', [], 'NV8'], + [[43360, 43388], 'valid', [], 'NV8'], + [[43389, 43391], 'disallowed'], + [[43392, 43456], 'valid'], + [[43457, 43469], 'valid', [], 'NV8'], + [[43470, 43470], 'disallowed'], + [[43471, 43481], 'valid'], + [[43482, 43485], 'disallowed'], + [[43486, 43487], 'valid', [], 'NV8'], + [[43488, 43518], 'valid'], + [[43519, 43519], 'disallowed'], + [[43520, 43574], 'valid'], + [[43575, 43583], 'disallowed'], + [[43584, 43597], 'valid'], + [[43598, 43599], 'disallowed'], + [[43600, 43609], 'valid'], + [[43610, 43611], 'disallowed'], + [[43612, 43615], 'valid', [], 'NV8'], + [[43616, 43638], 'valid'], + [[43639, 43641], 'valid', [], 'NV8'], + [[43642, 43643], 'valid'], + [[43644, 43647], 'valid'], + [[43648, 43714], 'valid'], + [[43715, 43738], 'disallowed'], + [[43739, 43741], 'valid'], + [[43742, 43743], 'valid', [], 'NV8'], + [[43744, 43759], 'valid'], + [[43760, 43761], 'valid', [], 'NV8'], + [[43762, 43766], 'valid'], + [[43767, 43776], 'disallowed'], + [[43777, 43782], 'valid'], + [[43783, 43784], 'disallowed'], + [[43785, 43790], 'valid'], + [[43791, 43792], 'disallowed'], + [[43793, 43798], 'valid'], + [[43799, 43807], 'disallowed'], + [[43808, 43814], 'valid'], + [[43815, 43815], 'disallowed'], + [[43816, 43822], 'valid'], + [[43823, 43823], 'disallowed'], + [[43824, 43866], 'valid'], + [[43867, 43867], 'valid', [], 'NV8'], + [[43868, 43868], 'mapped', [42791]], + [[43869, 43869], 'mapped', [43831]], + [[43870, 43870], 'mapped', [619]], + [[43871, 43871], 'mapped', [43858]], + [[43872, 43875], 'valid'], + [[43876, 43877], 'valid'], + [[43878, 43887], 'disallowed'], + [[43888, 43888], 'mapped', [5024]], + [[43889, 43889], 'mapped', [5025]], + [[43890, 43890], 'mapped', [5026]], + [[43891, 43891], 'mapped', [5027]], + [[43892, 43892], 'mapped', [5028]], + [[43893, 43893], 'mapped', [5029]], + [[43894, 43894], 'mapped', [5030]], + [[43895, 43895], 'mapped', [5031]], + [[43896, 43896], 'mapped', [5032]], + [[43897, 43897], 'mapped', [5033]], + [[43898, 43898], 'mapped', [5034]], + [[43899, 43899], 'mapped', [5035]], + [[43900, 43900], 'mapped', [5036]], + [[43901, 43901], 'mapped', [5037]], + [[43902, 43902], 'mapped', [5038]], + [[43903, 43903], 'mapped', [5039]], + [[43904, 43904], 'mapped', [5040]], + [[43905, 43905], 'mapped', [5041]], + [[43906, 43906], 'mapped', [5042]], + [[43907, 43907], 'mapped', [5043]], + [[43908, 43908], 'mapped', [5044]], + [[43909, 43909], 'mapped', [5045]], + [[43910, 43910], 'mapped', [5046]], + [[43911, 43911], 'mapped', [5047]], + [[43912, 43912], 'mapped', [5048]], + [[43913, 43913], 'mapped', [5049]], + [[43914, 43914], 'mapped', [5050]], + [[43915, 43915], 'mapped', [5051]], + [[43916, 43916], 'mapped', [5052]], + [[43917, 43917], 'mapped', [5053]], + [[43918, 43918], 'mapped', [5054]], + [[43919, 43919], 'mapped', [5055]], + [[43920, 43920], 'mapped', [5056]], + [[43921, 43921], 'mapped', [5057]], + [[43922, 43922], 'mapped', [5058]], + [[43923, 43923], 'mapped', [5059]], + [[43924, 43924], 'mapped', [5060]], + [[43925, 43925], 'mapped', [5061]], + [[43926, 43926], 'mapped', [5062]], + [[43927, 43927], 'mapped', [5063]], + [[43928, 43928], 'mapped', [5064]], + [[43929, 43929], 'mapped', [5065]], + [[43930, 43930], 'mapped', [5066]], + [[43931, 43931], 'mapped', [5067]], + [[43932, 43932], 'mapped', [5068]], + [[43933, 43933], 'mapped', [5069]], + [[43934, 43934], 'mapped', [5070]], + [[43935, 43935], 'mapped', [5071]], + [[43936, 43936], 'mapped', [5072]], + [[43937, 43937], 'mapped', [5073]], + [[43938, 43938], 'mapped', [5074]], + [[43939, 43939], 'mapped', [5075]], + [[43940, 43940], 'mapped', [5076]], + [[43941, 43941], 'mapped', [5077]], + [[43942, 43942], 'mapped', [5078]], + [[43943, 43943], 'mapped', [5079]], + [[43944, 43944], 'mapped', [5080]], + [[43945, 43945], 'mapped', [5081]], + [[43946, 43946], 'mapped', [5082]], + [[43947, 43947], 'mapped', [5083]], + [[43948, 43948], 'mapped', [5084]], + [[43949, 43949], 'mapped', [5085]], + [[43950, 43950], 'mapped', [5086]], + [[43951, 43951], 'mapped', [5087]], + [[43952, 43952], 'mapped', [5088]], + [[43953, 43953], 'mapped', [5089]], + [[43954, 43954], 'mapped', [5090]], + [[43955, 43955], 'mapped', [5091]], + [[43956, 43956], 'mapped', [5092]], + [[43957, 43957], 'mapped', [5093]], + [[43958, 43958], 'mapped', [5094]], + [[43959, 43959], 'mapped', [5095]], + [[43960, 43960], 'mapped', [5096]], + [[43961, 43961], 'mapped', [5097]], + [[43962, 43962], 'mapped', [5098]], + [[43963, 43963], 'mapped', [5099]], + [[43964, 43964], 'mapped', [5100]], + [[43965, 43965], 'mapped', [5101]], + [[43966, 43966], 'mapped', [5102]], + [[43967, 43967], 'mapped', [5103]], + [[43968, 44010], 'valid'], + [[44011, 44011], 'valid', [], 'NV8'], + [[44012, 44013], 'valid'], + [[44014, 44015], 'disallowed'], + [[44016, 44025], 'valid'], + [[44026, 44031], 'disallowed'], + [[44032, 55203], 'valid'], + [[55204, 55215], 'disallowed'], + [[55216, 55238], 'valid', [], 'NV8'], + [[55239, 55242], 'disallowed'], + [[55243, 55291], 'valid', [], 'NV8'], + [[55292, 55295], 'disallowed'], + [[55296, 57343], 'disallowed'], + [[57344, 63743], 'disallowed'], + [[63744, 63744], 'mapped', [35912]], + [[63745, 63745], 'mapped', [26356]], + [[63746, 63746], 'mapped', [36554]], + [[63747, 63747], 'mapped', [36040]], + [[63748, 63748], 'mapped', [28369]], + [[63749, 63749], 'mapped', [20018]], + [[63750, 63750], 'mapped', [21477]], + [[63751, 63752], 'mapped', [40860]], + [[63753, 63753], 'mapped', [22865]], + [[63754, 63754], 'mapped', [37329]], + [[63755, 63755], 'mapped', [21895]], + [[63756, 63756], 'mapped', [22856]], + [[63757, 63757], 'mapped', [25078]], + [[63758, 63758], 'mapped', [30313]], + [[63759, 63759], 'mapped', [32645]], + [[63760, 63760], 'mapped', [34367]], + [[63761, 63761], 'mapped', [34746]], + [[63762, 63762], 'mapped', [35064]], + [[63763, 63763], 'mapped', [37007]], + [[63764, 63764], 'mapped', [27138]], + [[63765, 63765], 'mapped', [27931]], + [[63766, 63766], 'mapped', [28889]], + [[63767, 63767], 'mapped', [29662]], + [[63768, 63768], 'mapped', [33853]], + [[63769, 63769], 'mapped', [37226]], + [[63770, 63770], 'mapped', [39409]], + [[63771, 63771], 'mapped', [20098]], + [[63772, 63772], 'mapped', [21365]], + [[63773, 63773], 'mapped', [27396]], + [[63774, 63774], 'mapped', [29211]], + [[63775, 63775], 'mapped', [34349]], + [[63776, 63776], 'mapped', [40478]], + [[63777, 63777], 'mapped', [23888]], + [[63778, 63778], 'mapped', [28651]], + [[63779, 63779], 'mapped', [34253]], + [[63780, 63780], 'mapped', [35172]], + [[63781, 63781], 'mapped', [25289]], + [[63782, 63782], 'mapped', [33240]], + [[63783, 63783], 'mapped', [34847]], + [[63784, 63784], 'mapped', [24266]], + [[63785, 63785], 'mapped', [26391]], + [[63786, 63786], 'mapped', [28010]], + [[63787, 63787], 'mapped', [29436]], + [[63788, 63788], 'mapped', [37070]], + [[63789, 63789], 'mapped', [20358]], + [[63790, 63790], 'mapped', [20919]], + [[63791, 63791], 'mapped', [21214]], + [[63792, 63792], 'mapped', [25796]], + [[63793, 63793], 'mapped', [27347]], + [[63794, 63794], 'mapped', [29200]], + [[63795, 63795], 'mapped', [30439]], + [[63796, 63796], 'mapped', [32769]], + [[63797, 63797], 'mapped', [34310]], + [[63798, 63798], 'mapped', [34396]], + [[63799, 63799], 'mapped', [36335]], + [[63800, 63800], 'mapped', [38706]], + [[63801, 63801], 'mapped', [39791]], + [[63802, 63802], 'mapped', [40442]], + [[63803, 63803], 'mapped', [30860]], + [[63804, 63804], 'mapped', [31103]], + [[63805, 63805], 'mapped', [32160]], + [[63806, 63806], 'mapped', [33737]], + [[63807, 63807], 'mapped', [37636]], + [[63808, 63808], 'mapped', [40575]], + [[63809, 63809], 'mapped', [35542]], + [[63810, 63810], 'mapped', [22751]], + [[63811, 63811], 'mapped', [24324]], + [[63812, 63812], 'mapped', [31840]], + [[63813, 63813], 'mapped', [32894]], + [[63814, 63814], 'mapped', [29282]], + [[63815, 63815], 'mapped', [30922]], + [[63816, 63816], 'mapped', [36034]], + [[63817, 63817], 'mapped', [38647]], + [[63818, 63818], 'mapped', [22744]], + [[63819, 63819], 'mapped', [23650]], + [[63820, 63820], 'mapped', [27155]], + [[63821, 63821], 'mapped', [28122]], + [[63822, 63822], 'mapped', [28431]], + [[63823, 63823], 'mapped', [32047]], + [[63824, 63824], 'mapped', [32311]], + [[63825, 63825], 'mapped', [38475]], + [[63826, 63826], 'mapped', [21202]], + [[63827, 63827], 'mapped', [32907]], + [[63828, 63828], 'mapped', [20956]], + [[63829, 63829], 'mapped', [20940]], + [[63830, 63830], 'mapped', [31260]], + [[63831, 63831], 'mapped', [32190]], + [[63832, 63832], 'mapped', [33777]], + [[63833, 63833], 'mapped', [38517]], + [[63834, 63834], 'mapped', [35712]], + [[63835, 63835], 'mapped', [25295]], + [[63836, 63836], 'mapped', [27138]], + [[63837, 63837], 'mapped', [35582]], + [[63838, 63838], 'mapped', [20025]], + [[63839, 63839], 'mapped', [23527]], + [[63840, 63840], 'mapped', [24594]], + [[63841, 63841], 'mapped', [29575]], + [[63842, 63842], 'mapped', [30064]], + [[63843, 63843], 'mapped', [21271]], + [[63844, 63844], 'mapped', [30971]], + [[63845, 63845], 'mapped', [20415]], + [[63846, 63846], 'mapped', [24489]], + [[63847, 63847], 'mapped', [19981]], + [[63848, 63848], 'mapped', [27852]], + [[63849, 63849], 'mapped', [25976]], + [[63850, 63850], 'mapped', [32034]], + [[63851, 63851], 'mapped', [21443]], + [[63852, 63852], 'mapped', [22622]], + [[63853, 63853], 'mapped', [30465]], + [[63854, 63854], 'mapped', [33865]], + [[63855, 63855], 'mapped', [35498]], + [[63856, 63856], 'mapped', [27578]], + [[63857, 63857], 'mapped', [36784]], + [[63858, 63858], 'mapped', [27784]], + [[63859, 63859], 'mapped', [25342]], + [[63860, 63860], 'mapped', [33509]], + [[63861, 63861], 'mapped', [25504]], + [[63862, 63862], 'mapped', [30053]], + [[63863, 63863], 'mapped', [20142]], + [[63864, 63864], 'mapped', [20841]], + [[63865, 63865], 'mapped', [20937]], + [[63866, 63866], 'mapped', [26753]], + [[63867, 63867], 'mapped', [31975]], + [[63868, 63868], 'mapped', [33391]], + [[63869, 63869], 'mapped', [35538]], + [[63870, 63870], 'mapped', [37327]], + [[63871, 63871], 'mapped', [21237]], + [[63872, 63872], 'mapped', [21570]], + [[63873, 63873], 'mapped', [22899]], + [[63874, 63874], 'mapped', [24300]], + [[63875, 63875], 'mapped', [26053]], + [[63876, 63876], 'mapped', [28670]], + [[63877, 63877], 'mapped', [31018]], + [[63878, 63878], 'mapped', [38317]], + [[63879, 63879], 'mapped', [39530]], + [[63880, 63880], 'mapped', [40599]], + [[63881, 63881], 'mapped', [40654]], + [[63882, 63882], 'mapped', [21147]], + [[63883, 63883], 'mapped', [26310]], + [[63884, 63884], 'mapped', [27511]], + [[63885, 63885], 'mapped', [36706]], + [[63886, 63886], 'mapped', [24180]], + [[63887, 63887], 'mapped', [24976]], + [[63888, 63888], 'mapped', [25088]], + [[63889, 63889], 'mapped', [25754]], + [[63890, 63890], 'mapped', [28451]], + [[63891, 63891], 'mapped', [29001]], + [[63892, 63892], 'mapped', [29833]], + [[63893, 63893], 'mapped', [31178]], + [[63894, 63894], 'mapped', [32244]], + [[63895, 63895], 'mapped', [32879]], + [[63896, 63896], 'mapped', [36646]], + [[63897, 63897], 'mapped', [34030]], + [[63898, 63898], 'mapped', [36899]], + [[63899, 63899], 'mapped', [37706]], + [[63900, 63900], 'mapped', [21015]], + [[63901, 63901], 'mapped', [21155]], + [[63902, 63902], 'mapped', [21693]], + [[63903, 63903], 'mapped', [28872]], + [[63904, 63904], 'mapped', [35010]], + [[63905, 63905], 'mapped', [35498]], + [[63906, 63906], 'mapped', [24265]], + [[63907, 63907], 'mapped', [24565]], + [[63908, 63908], 'mapped', [25467]], + [[63909, 63909], 'mapped', [27566]], + [[63910, 63910], 'mapped', [31806]], + [[63911, 63911], 'mapped', [29557]], + [[63912, 63912], 'mapped', [20196]], + [[63913, 63913], 'mapped', [22265]], + [[63914, 63914], 'mapped', [23527]], + [[63915, 63915], 'mapped', [23994]], + [[63916, 63916], 'mapped', [24604]], + [[63917, 63917], 'mapped', [29618]], + [[63918, 63918], 'mapped', [29801]], + [[63919, 63919], 'mapped', [32666]], + [[63920, 63920], 'mapped', [32838]], + [[63921, 63921], 'mapped', [37428]], + [[63922, 63922], 'mapped', [38646]], + [[63923, 63923], 'mapped', [38728]], + [[63924, 63924], 'mapped', [38936]], + [[63925, 63925], 'mapped', [20363]], + [[63926, 63926], 'mapped', [31150]], + [[63927, 63927], 'mapped', [37300]], + [[63928, 63928], 'mapped', [38584]], + [[63929, 63929], 'mapped', [24801]], + [[63930, 63930], 'mapped', [20102]], + [[63931, 63931], 'mapped', [20698]], + [[63932, 63932], 'mapped', [23534]], + [[63933, 63933], 'mapped', [23615]], + [[63934, 63934], 'mapped', [26009]], + [[63935, 63935], 'mapped', [27138]], + [[63936, 63936], 'mapped', [29134]], + [[63937, 63937], 'mapped', [30274]], + [[63938, 63938], 'mapped', [34044]], + [[63939, 63939], 'mapped', [36988]], + [[63940, 63940], 'mapped', [40845]], + [[63941, 63941], 'mapped', [26248]], + [[63942, 63942], 'mapped', [38446]], + [[63943, 63943], 'mapped', [21129]], + [[63944, 63944], 'mapped', [26491]], + [[63945, 63945], 'mapped', [26611]], + [[63946, 63946], 'mapped', [27969]], + [[63947, 63947], 'mapped', [28316]], + [[63948, 63948], 'mapped', [29705]], + [[63949, 63949], 'mapped', [30041]], + [[63950, 63950], 'mapped', [30827]], + [[63951, 63951], 'mapped', [32016]], + [[63952, 63952], 'mapped', [39006]], + [[63953, 63953], 'mapped', [20845]], + [[63954, 63954], 'mapped', [25134]], + [[63955, 63955], 'mapped', [38520]], + [[63956, 63956], 'mapped', [20523]], + [[63957, 63957], 'mapped', [23833]], + [[63958, 63958], 'mapped', [28138]], + [[63959, 63959], 'mapped', [36650]], + [[63960, 63960], 'mapped', [24459]], + [[63961, 63961], 'mapped', [24900]], + [[63962, 63962], 'mapped', [26647]], + [[63963, 63963], 'mapped', [29575]], + [[63964, 63964], 'mapped', [38534]], + [[63965, 63965], 'mapped', [21033]], + [[63966, 63966], 'mapped', [21519]], + [[63967, 63967], 'mapped', [23653]], + [[63968, 63968], 'mapped', [26131]], + [[63969, 63969], 'mapped', [26446]], + [[63970, 63970], 'mapped', [26792]], + [[63971, 63971], 'mapped', [27877]], + [[63972, 63972], 'mapped', [29702]], + [[63973, 63973], 'mapped', [30178]], + [[63974, 63974], 'mapped', [32633]], + [[63975, 63975], 'mapped', [35023]], + [[63976, 63976], 'mapped', [35041]], + [[63977, 63977], 'mapped', [37324]], + [[63978, 63978], 'mapped', [38626]], + [[63979, 63979], 'mapped', [21311]], + [[63980, 63980], 'mapped', [28346]], + [[63981, 63981], 'mapped', [21533]], + [[63982, 63982], 'mapped', [29136]], + [[63983, 63983], 'mapped', [29848]], + [[63984, 63984], 'mapped', [34298]], + [[63985, 63985], 'mapped', [38563]], + [[63986, 63986], 'mapped', [40023]], + [[63987, 63987], 'mapped', [40607]], + [[63988, 63988], 'mapped', [26519]], + [[63989, 63989], 'mapped', [28107]], + [[63990, 63990], 'mapped', [33256]], + [[63991, 63991], 'mapped', [31435]], + [[63992, 63992], 'mapped', [31520]], + [[63993, 63993], 'mapped', [31890]], + [[63994, 63994], 'mapped', [29376]], + [[63995, 63995], 'mapped', [28825]], + [[63996, 63996], 'mapped', [35672]], + [[63997, 63997], 'mapped', [20160]], + [[63998, 63998], 'mapped', [33590]], + [[63999, 63999], 'mapped', [21050]], + [[64e3, 64e3], 'mapped', [20999]], + [[64001, 64001], 'mapped', [24230]], + [[64002, 64002], 'mapped', [25299]], + [[64003, 64003], 'mapped', [31958]], + [[64004, 64004], 'mapped', [23429]], + [[64005, 64005], 'mapped', [27934]], + [[64006, 64006], 'mapped', [26292]], + [[64007, 64007], 'mapped', [36667]], + [[64008, 64008], 'mapped', [34892]], + [[64009, 64009], 'mapped', [38477]], + [[64010, 64010], 'mapped', [35211]], + [[64011, 64011], 'mapped', [24275]], + [[64012, 64012], 'mapped', [20800]], + [[64013, 64013], 'mapped', [21952]], + [[64014, 64015], 'valid'], + [[64016, 64016], 'mapped', [22618]], + [[64017, 64017], 'valid'], + [[64018, 64018], 'mapped', [26228]], + [[64019, 64020], 'valid'], + [[64021, 64021], 'mapped', [20958]], + [[64022, 64022], 'mapped', [29482]], + [[64023, 64023], 'mapped', [30410]], + [[64024, 64024], 'mapped', [31036]], + [[64025, 64025], 'mapped', [31070]], + [[64026, 64026], 'mapped', [31077]], + [[64027, 64027], 'mapped', [31119]], + [[64028, 64028], 'mapped', [38742]], + [[64029, 64029], 'mapped', [31934]], + [[64030, 64030], 'mapped', [32701]], + [[64031, 64031], 'valid'], + [[64032, 64032], 'mapped', [34322]], + [[64033, 64033], 'valid'], + [[64034, 64034], 'mapped', [35576]], + [[64035, 64036], 'valid'], + [[64037, 64037], 'mapped', [36920]], + [[64038, 64038], 'mapped', [37117]], + [[64039, 64041], 'valid'], + [[64042, 64042], 'mapped', [39151]], + [[64043, 64043], 'mapped', [39164]], + [[64044, 64044], 'mapped', [39208]], + [[64045, 64045], 'mapped', [40372]], + [[64046, 64046], 'mapped', [37086]], + [[64047, 64047], 'mapped', [38583]], + [[64048, 64048], 'mapped', [20398]], + [[64049, 64049], 'mapped', [20711]], + [[64050, 64050], 'mapped', [20813]], + [[64051, 64051], 'mapped', [21193]], + [[64052, 64052], 'mapped', [21220]], + [[64053, 64053], 'mapped', [21329]], + [[64054, 64054], 'mapped', [21917]], + [[64055, 64055], 'mapped', [22022]], + [[64056, 64056], 'mapped', [22120]], + [[64057, 64057], 'mapped', [22592]], + [[64058, 64058], 'mapped', [22696]], + [[64059, 64059], 'mapped', [23652]], + [[64060, 64060], 'mapped', [23662]], + [[64061, 64061], 'mapped', [24724]], + [[64062, 64062], 'mapped', [24936]], + [[64063, 64063], 'mapped', [24974]], + [[64064, 64064], 'mapped', [25074]], + [[64065, 64065], 'mapped', [25935]], + [[64066, 64066], 'mapped', [26082]], + [[64067, 64067], 'mapped', [26257]], + [[64068, 64068], 'mapped', [26757]], + [[64069, 64069], 'mapped', [28023]], + [[64070, 64070], 'mapped', [28186]], + [[64071, 64071], 'mapped', [28450]], + [[64072, 64072], 'mapped', [29038]], + [[64073, 64073], 'mapped', [29227]], + [[64074, 64074], 'mapped', [29730]], + [[64075, 64075], 'mapped', [30865]], + [[64076, 64076], 'mapped', [31038]], + [[64077, 64077], 'mapped', [31049]], + [[64078, 64078], 'mapped', [31048]], + [[64079, 64079], 'mapped', [31056]], + [[64080, 64080], 'mapped', [31062]], + [[64081, 64081], 'mapped', [31069]], + [[64082, 64082], 'mapped', [31117]], + [[64083, 64083], 'mapped', [31118]], + [[64084, 64084], 'mapped', [31296]], + [[64085, 64085], 'mapped', [31361]], + [[64086, 64086], 'mapped', [31680]], + [[64087, 64087], 'mapped', [32244]], + [[64088, 64088], 'mapped', [32265]], + [[64089, 64089], 'mapped', [32321]], + [[64090, 64090], 'mapped', [32626]], + [[64091, 64091], 'mapped', [32773]], + [[64092, 64092], 'mapped', [33261]], + [[64093, 64094], 'mapped', [33401]], + [[64095, 64095], 'mapped', [33879]], + [[64096, 64096], 'mapped', [35088]], + [[64097, 64097], 'mapped', [35222]], + [[64098, 64098], 'mapped', [35585]], + [[64099, 64099], 'mapped', [35641]], + [[64100, 64100], 'mapped', [36051]], + [[64101, 64101], 'mapped', [36104]], + [[64102, 64102], 'mapped', [36790]], + [[64103, 64103], 'mapped', [36920]], + [[64104, 64104], 'mapped', [38627]], + [[64105, 64105], 'mapped', [38911]], + [[64106, 64106], 'mapped', [38971]], + [[64107, 64107], 'mapped', [24693]], + [[64108, 64108], 'mapped', [148206]], + [[64109, 64109], 'mapped', [33304]], + [[64110, 64111], 'disallowed'], + [[64112, 64112], 'mapped', [20006]], + [[64113, 64113], 'mapped', [20917]], + [[64114, 64114], 'mapped', [20840]], + [[64115, 64115], 'mapped', [20352]], + [[64116, 64116], 'mapped', [20805]], + [[64117, 64117], 'mapped', [20864]], + [[64118, 64118], 'mapped', [21191]], + [[64119, 64119], 'mapped', [21242]], + [[64120, 64120], 'mapped', [21917]], + [[64121, 64121], 'mapped', [21845]], + [[64122, 64122], 'mapped', [21913]], + [[64123, 64123], 'mapped', [21986]], + [[64124, 64124], 'mapped', [22618]], + [[64125, 64125], 'mapped', [22707]], + [[64126, 64126], 'mapped', [22852]], + [[64127, 64127], 'mapped', [22868]], + [[64128, 64128], 'mapped', [23138]], + [[64129, 64129], 'mapped', [23336]], + [[64130, 64130], 'mapped', [24274]], + [[64131, 64131], 'mapped', [24281]], + [[64132, 64132], 'mapped', [24425]], + [[64133, 64133], 'mapped', [24493]], + [[64134, 64134], 'mapped', [24792]], + [[64135, 64135], 'mapped', [24910]], + [[64136, 64136], 'mapped', [24840]], + [[64137, 64137], 'mapped', [24974]], + [[64138, 64138], 'mapped', [24928]], + [[64139, 64139], 'mapped', [25074]], + [[64140, 64140], 'mapped', [25140]], + [[64141, 64141], 'mapped', [25540]], + [[64142, 64142], 'mapped', [25628]], + [[64143, 64143], 'mapped', [25682]], + [[64144, 64144], 'mapped', [25942]], + [[64145, 64145], 'mapped', [26228]], + [[64146, 64146], 'mapped', [26391]], + [[64147, 64147], 'mapped', [26395]], + [[64148, 64148], 'mapped', [26454]], + [[64149, 64149], 'mapped', [27513]], + [[64150, 64150], 'mapped', [27578]], + [[64151, 64151], 'mapped', [27969]], + [[64152, 64152], 'mapped', [28379]], + [[64153, 64153], 'mapped', [28363]], + [[64154, 64154], 'mapped', [28450]], + [[64155, 64155], 'mapped', [28702]], + [[64156, 64156], 'mapped', [29038]], + [[64157, 64157], 'mapped', [30631]], + [[64158, 64158], 'mapped', [29237]], + [[64159, 64159], 'mapped', [29359]], + [[64160, 64160], 'mapped', [29482]], + [[64161, 64161], 'mapped', [29809]], + [[64162, 64162], 'mapped', [29958]], + [[64163, 64163], 'mapped', [30011]], + [[64164, 64164], 'mapped', [30237]], + [[64165, 64165], 'mapped', [30239]], + [[64166, 64166], 'mapped', [30410]], + [[64167, 64167], 'mapped', [30427]], + [[64168, 64168], 'mapped', [30452]], + [[64169, 64169], 'mapped', [30538]], + [[64170, 64170], 'mapped', [30528]], + [[64171, 64171], 'mapped', [30924]], + [[64172, 64172], 'mapped', [31409]], + [[64173, 64173], 'mapped', [31680]], + [[64174, 64174], 'mapped', [31867]], + [[64175, 64175], 'mapped', [32091]], + [[64176, 64176], 'mapped', [32244]], + [[64177, 64177], 'mapped', [32574]], + [[64178, 64178], 'mapped', [32773]], + [[64179, 64179], 'mapped', [33618]], + [[64180, 64180], 'mapped', [33775]], + [[64181, 64181], 'mapped', [34681]], + [[64182, 64182], 'mapped', [35137]], + [[64183, 64183], 'mapped', [35206]], + [[64184, 64184], 'mapped', [35222]], + [[64185, 64185], 'mapped', [35519]], + [[64186, 64186], 'mapped', [35576]], + [[64187, 64187], 'mapped', [35531]], + [[64188, 64188], 'mapped', [35585]], + [[64189, 64189], 'mapped', [35582]], + [[64190, 64190], 'mapped', [35565]], + [[64191, 64191], 'mapped', [35641]], + [[64192, 64192], 'mapped', [35722]], + [[64193, 64193], 'mapped', [36104]], + [[64194, 64194], 'mapped', [36664]], + [[64195, 64195], 'mapped', [36978]], + [[64196, 64196], 'mapped', [37273]], + [[64197, 64197], 'mapped', [37494]], + [[64198, 64198], 'mapped', [38524]], + [[64199, 64199], 'mapped', [38627]], + [[64200, 64200], 'mapped', [38742]], + [[64201, 64201], 'mapped', [38875]], + [[64202, 64202], 'mapped', [38911]], + [[64203, 64203], 'mapped', [38923]], + [[64204, 64204], 'mapped', [38971]], + [[64205, 64205], 'mapped', [39698]], + [[64206, 64206], 'mapped', [40860]], + [[64207, 64207], 'mapped', [141386]], + [[64208, 64208], 'mapped', [141380]], + [[64209, 64209], 'mapped', [144341]], + [[64210, 64210], 'mapped', [15261]], + [[64211, 64211], 'mapped', [16408]], + [[64212, 64212], 'mapped', [16441]], + [[64213, 64213], 'mapped', [152137]], + [[64214, 64214], 'mapped', [154832]], + [[64215, 64215], 'mapped', [163539]], + [[64216, 64216], 'mapped', [40771]], + [[64217, 64217], 'mapped', [40846]], + [[64218, 64255], 'disallowed'], + [[64256, 64256], 'mapped', [102, 102]], + [[64257, 64257], 'mapped', [102, 105]], + [[64258, 64258], 'mapped', [102, 108]], + [[64259, 64259], 'mapped', [102, 102, 105]], + [[64260, 64260], 'mapped', [102, 102, 108]], + [[64261, 64262], 'mapped', [115, 116]], + [[64263, 64274], 'disallowed'], + [[64275, 64275], 'mapped', [1396, 1398]], + [[64276, 64276], 'mapped', [1396, 1381]], + [[64277, 64277], 'mapped', [1396, 1387]], + [[64278, 64278], 'mapped', [1406, 1398]], + [[64279, 64279], 'mapped', [1396, 1389]], + [[64280, 64284], 'disallowed'], + [[64285, 64285], 'mapped', [1497, 1460]], + [[64286, 64286], 'valid'], + [[64287, 64287], 'mapped', [1522, 1463]], + [[64288, 64288], 'mapped', [1506]], + [[64289, 64289], 'mapped', [1488]], + [[64290, 64290], 'mapped', [1491]], + [[64291, 64291], 'mapped', [1492]], + [[64292, 64292], 'mapped', [1499]], + [[64293, 64293], 'mapped', [1500]], + [[64294, 64294], 'mapped', [1501]], + [[64295, 64295], 'mapped', [1512]], + [[64296, 64296], 'mapped', [1514]], + [[64297, 64297], 'disallowed_STD3_mapped', [43]], + [[64298, 64298], 'mapped', [1513, 1473]], + [[64299, 64299], 'mapped', [1513, 1474]], + [[64300, 64300], 'mapped', [1513, 1468, 1473]], + [[64301, 64301], 'mapped', [1513, 1468, 1474]], + [[64302, 64302], 'mapped', [1488, 1463]], + [[64303, 64303], 'mapped', [1488, 1464]], + [[64304, 64304], 'mapped', [1488, 1468]], + [[64305, 64305], 'mapped', [1489, 1468]], + [[64306, 64306], 'mapped', [1490, 1468]], + [[64307, 64307], 'mapped', [1491, 1468]], + [[64308, 64308], 'mapped', [1492, 1468]], + [[64309, 64309], 'mapped', [1493, 1468]], + [[64310, 64310], 'mapped', [1494, 1468]], + [[64311, 64311], 'disallowed'], + [[64312, 64312], 'mapped', [1496, 1468]], + [[64313, 64313], 'mapped', [1497, 1468]], + [[64314, 64314], 'mapped', [1498, 1468]], + [[64315, 64315], 'mapped', [1499, 1468]], + [[64316, 64316], 'mapped', [1500, 1468]], + [[64317, 64317], 'disallowed'], + [[64318, 64318], 'mapped', [1502, 1468]], + [[64319, 64319], 'disallowed'], + [[64320, 64320], 'mapped', [1504, 1468]], + [[64321, 64321], 'mapped', [1505, 1468]], + [[64322, 64322], 'disallowed'], + [[64323, 64323], 'mapped', [1507, 1468]], + [[64324, 64324], 'mapped', [1508, 1468]], + [[64325, 64325], 'disallowed'], + [[64326, 64326], 'mapped', [1510, 1468]], + [[64327, 64327], 'mapped', [1511, 1468]], + [[64328, 64328], 'mapped', [1512, 1468]], + [[64329, 64329], 'mapped', [1513, 1468]], + [[64330, 64330], 'mapped', [1514, 1468]], + [[64331, 64331], 'mapped', [1493, 1465]], + [[64332, 64332], 'mapped', [1489, 1471]], + [[64333, 64333], 'mapped', [1499, 1471]], + [[64334, 64334], 'mapped', [1508, 1471]], + [[64335, 64335], 'mapped', [1488, 1500]], + [[64336, 64337], 'mapped', [1649]], + [[64338, 64341], 'mapped', [1659]], + [[64342, 64345], 'mapped', [1662]], + [[64346, 64349], 'mapped', [1664]], + [[64350, 64353], 'mapped', [1658]], + [[64354, 64357], 'mapped', [1663]], + [[64358, 64361], 'mapped', [1657]], + [[64362, 64365], 'mapped', [1700]], + [[64366, 64369], 'mapped', [1702]], + [[64370, 64373], 'mapped', [1668]], + [[64374, 64377], 'mapped', [1667]], + [[64378, 64381], 'mapped', [1670]], + [[64382, 64385], 'mapped', [1671]], + [[64386, 64387], 'mapped', [1677]], + [[64388, 64389], 'mapped', [1676]], + [[64390, 64391], 'mapped', [1678]], + [[64392, 64393], 'mapped', [1672]], + [[64394, 64395], 'mapped', [1688]], + [[64396, 64397], 'mapped', [1681]], + [[64398, 64401], 'mapped', [1705]], + [[64402, 64405], 'mapped', [1711]], + [[64406, 64409], 'mapped', [1715]], + [[64410, 64413], 'mapped', [1713]], + [[64414, 64415], 'mapped', [1722]], + [[64416, 64419], 'mapped', [1723]], + [[64420, 64421], 'mapped', [1728]], + [[64422, 64425], 'mapped', [1729]], + [[64426, 64429], 'mapped', [1726]], + [[64430, 64431], 'mapped', [1746]], + [[64432, 64433], 'mapped', [1747]], + [[64434, 64449], 'valid', [], 'NV8'], + [[64450, 64466], 'disallowed'], + [[64467, 64470], 'mapped', [1709]], + [[64471, 64472], 'mapped', [1735]], + [[64473, 64474], 'mapped', [1734]], + [[64475, 64476], 'mapped', [1736]], + [[64477, 64477], 'mapped', [1735, 1652]], + [[64478, 64479], 'mapped', [1739]], + [[64480, 64481], 'mapped', [1733]], + [[64482, 64483], 'mapped', [1737]], + [[64484, 64487], 'mapped', [1744]], + [[64488, 64489], 'mapped', [1609]], + [[64490, 64491], 'mapped', [1574, 1575]], + [[64492, 64493], 'mapped', [1574, 1749]], + [[64494, 64495], 'mapped', [1574, 1608]], + [[64496, 64497], 'mapped', [1574, 1735]], + [[64498, 64499], 'mapped', [1574, 1734]], + [[64500, 64501], 'mapped', [1574, 1736]], + [[64502, 64504], 'mapped', [1574, 1744]], + [[64505, 64507], 'mapped', [1574, 1609]], + [[64508, 64511], 'mapped', [1740]], + [[64512, 64512], 'mapped', [1574, 1580]], + [[64513, 64513], 'mapped', [1574, 1581]], + [[64514, 64514], 'mapped', [1574, 1605]], + [[64515, 64515], 'mapped', [1574, 1609]], + [[64516, 64516], 'mapped', [1574, 1610]], + [[64517, 64517], 'mapped', [1576, 1580]], + [[64518, 64518], 'mapped', [1576, 1581]], + [[64519, 64519], 'mapped', [1576, 1582]], + [[64520, 64520], 'mapped', [1576, 1605]], + [[64521, 64521], 'mapped', [1576, 1609]], + [[64522, 64522], 'mapped', [1576, 1610]], + [[64523, 64523], 'mapped', [1578, 1580]], + [[64524, 64524], 'mapped', [1578, 1581]], + [[64525, 64525], 'mapped', [1578, 1582]], + [[64526, 64526], 'mapped', [1578, 1605]], + [[64527, 64527], 'mapped', [1578, 1609]], + [[64528, 64528], 'mapped', [1578, 1610]], + [[64529, 64529], 'mapped', [1579, 1580]], + [[64530, 64530], 'mapped', [1579, 1605]], + [[64531, 64531], 'mapped', [1579, 1609]], + [[64532, 64532], 'mapped', [1579, 1610]], + [[64533, 64533], 'mapped', [1580, 1581]], + [[64534, 64534], 'mapped', [1580, 1605]], + [[64535, 64535], 'mapped', [1581, 1580]], + [[64536, 64536], 'mapped', [1581, 1605]], + [[64537, 64537], 'mapped', [1582, 1580]], + [[64538, 64538], 'mapped', [1582, 1581]], + [[64539, 64539], 'mapped', [1582, 1605]], + [[64540, 64540], 'mapped', [1587, 1580]], + [[64541, 64541], 'mapped', [1587, 1581]], + [[64542, 64542], 'mapped', [1587, 1582]], + [[64543, 64543], 'mapped', [1587, 1605]], + [[64544, 64544], 'mapped', [1589, 1581]], + [[64545, 64545], 'mapped', [1589, 1605]], + [[64546, 64546], 'mapped', [1590, 1580]], + [[64547, 64547], 'mapped', [1590, 1581]], + [[64548, 64548], 'mapped', [1590, 1582]], + [[64549, 64549], 'mapped', [1590, 1605]], + [[64550, 64550], 'mapped', [1591, 1581]], + [[64551, 64551], 'mapped', [1591, 1605]], + [[64552, 64552], 'mapped', [1592, 1605]], + [[64553, 64553], 'mapped', [1593, 1580]], + [[64554, 64554], 'mapped', [1593, 1605]], + [[64555, 64555], 'mapped', [1594, 1580]], + [[64556, 64556], 'mapped', [1594, 1605]], + [[64557, 64557], 'mapped', [1601, 1580]], + [[64558, 64558], 'mapped', [1601, 1581]], + [[64559, 64559], 'mapped', [1601, 1582]], + [[64560, 64560], 'mapped', [1601, 1605]], + [[64561, 64561], 'mapped', [1601, 1609]], + [[64562, 64562], 'mapped', [1601, 1610]], + [[64563, 64563], 'mapped', [1602, 1581]], + [[64564, 64564], 'mapped', [1602, 1605]], + [[64565, 64565], 'mapped', [1602, 1609]], + [[64566, 64566], 'mapped', [1602, 1610]], + [[64567, 64567], 'mapped', [1603, 1575]], + [[64568, 64568], 'mapped', [1603, 1580]], + [[64569, 64569], 'mapped', [1603, 1581]], + [[64570, 64570], 'mapped', [1603, 1582]], + [[64571, 64571], 'mapped', [1603, 1604]], + [[64572, 64572], 'mapped', [1603, 1605]], + [[64573, 64573], 'mapped', [1603, 1609]], + [[64574, 64574], 'mapped', [1603, 1610]], + [[64575, 64575], 'mapped', [1604, 1580]], + [[64576, 64576], 'mapped', [1604, 1581]], + [[64577, 64577], 'mapped', [1604, 1582]], + [[64578, 64578], 'mapped', [1604, 1605]], + [[64579, 64579], 'mapped', [1604, 1609]], + [[64580, 64580], 'mapped', [1604, 1610]], + [[64581, 64581], 'mapped', [1605, 1580]], + [[64582, 64582], 'mapped', [1605, 1581]], + [[64583, 64583], 'mapped', [1605, 1582]], + [[64584, 64584], 'mapped', [1605, 1605]], + [[64585, 64585], 'mapped', [1605, 1609]], + [[64586, 64586], 'mapped', [1605, 1610]], + [[64587, 64587], 'mapped', [1606, 1580]], + [[64588, 64588], 'mapped', [1606, 1581]], + [[64589, 64589], 'mapped', [1606, 1582]], + [[64590, 64590], 'mapped', [1606, 1605]], + [[64591, 64591], 'mapped', [1606, 1609]], + [[64592, 64592], 'mapped', [1606, 1610]], + [[64593, 64593], 'mapped', [1607, 1580]], + [[64594, 64594], 'mapped', [1607, 1605]], + [[64595, 64595], 'mapped', [1607, 1609]], + [[64596, 64596], 'mapped', [1607, 1610]], + [[64597, 64597], 'mapped', [1610, 1580]], + [[64598, 64598], 'mapped', [1610, 1581]], + [[64599, 64599], 'mapped', [1610, 1582]], + [[64600, 64600], 'mapped', [1610, 1605]], + [[64601, 64601], 'mapped', [1610, 1609]], + [[64602, 64602], 'mapped', [1610, 1610]], + [[64603, 64603], 'mapped', [1584, 1648]], + [[64604, 64604], 'mapped', [1585, 1648]], + [[64605, 64605], 'mapped', [1609, 1648]], + [[64606, 64606], 'disallowed_STD3_mapped', [32, 1612, 1617]], + [[64607, 64607], 'disallowed_STD3_mapped', [32, 1613, 1617]], + [[64608, 64608], 'disallowed_STD3_mapped', [32, 1614, 1617]], + [[64609, 64609], 'disallowed_STD3_mapped', [32, 1615, 1617]], + [[64610, 64610], 'disallowed_STD3_mapped', [32, 1616, 1617]], + [[64611, 64611], 'disallowed_STD3_mapped', [32, 1617, 1648]], + [[64612, 64612], 'mapped', [1574, 1585]], + [[64613, 64613], 'mapped', [1574, 1586]], + [[64614, 64614], 'mapped', [1574, 1605]], + [[64615, 64615], 'mapped', [1574, 1606]], + [[64616, 64616], 'mapped', [1574, 1609]], + [[64617, 64617], 'mapped', [1574, 1610]], + [[64618, 64618], 'mapped', [1576, 1585]], + [[64619, 64619], 'mapped', [1576, 1586]], + [[64620, 64620], 'mapped', [1576, 1605]], + [[64621, 64621], 'mapped', [1576, 1606]], + [[64622, 64622], 'mapped', [1576, 1609]], + [[64623, 64623], 'mapped', [1576, 1610]], + [[64624, 64624], 'mapped', [1578, 1585]], + [[64625, 64625], 'mapped', [1578, 1586]], + [[64626, 64626], 'mapped', [1578, 1605]], + [[64627, 64627], 'mapped', [1578, 1606]], + [[64628, 64628], 'mapped', [1578, 1609]], + [[64629, 64629], 'mapped', [1578, 1610]], + [[64630, 64630], 'mapped', [1579, 1585]], + [[64631, 64631], 'mapped', [1579, 1586]], + [[64632, 64632], 'mapped', [1579, 1605]], + [[64633, 64633], 'mapped', [1579, 1606]], + [[64634, 64634], 'mapped', [1579, 1609]], + [[64635, 64635], 'mapped', [1579, 1610]], + [[64636, 64636], 'mapped', [1601, 1609]], + [[64637, 64637], 'mapped', [1601, 1610]], + [[64638, 64638], 'mapped', [1602, 1609]], + [[64639, 64639], 'mapped', [1602, 1610]], + [[64640, 64640], 'mapped', [1603, 1575]], + [[64641, 64641], 'mapped', [1603, 1604]], + [[64642, 64642], 'mapped', [1603, 1605]], + [[64643, 64643], 'mapped', [1603, 1609]], + [[64644, 64644], 'mapped', [1603, 1610]], + [[64645, 64645], 'mapped', [1604, 1605]], + [[64646, 64646], 'mapped', [1604, 1609]], + [[64647, 64647], 'mapped', [1604, 1610]], + [[64648, 64648], 'mapped', [1605, 1575]], + [[64649, 64649], 'mapped', [1605, 1605]], + [[64650, 64650], 'mapped', [1606, 1585]], + [[64651, 64651], 'mapped', [1606, 1586]], + [[64652, 64652], 'mapped', [1606, 1605]], + [[64653, 64653], 'mapped', [1606, 1606]], + [[64654, 64654], 'mapped', [1606, 1609]], + [[64655, 64655], 'mapped', [1606, 1610]], + [[64656, 64656], 'mapped', [1609, 1648]], + [[64657, 64657], 'mapped', [1610, 1585]], + [[64658, 64658], 'mapped', [1610, 1586]], + [[64659, 64659], 'mapped', [1610, 1605]], + [[64660, 64660], 'mapped', [1610, 1606]], + [[64661, 64661], 'mapped', [1610, 1609]], + [[64662, 64662], 'mapped', [1610, 1610]], + [[64663, 64663], 'mapped', [1574, 1580]], + [[64664, 64664], 'mapped', [1574, 1581]], + [[64665, 64665], 'mapped', [1574, 1582]], + [[64666, 64666], 'mapped', [1574, 1605]], + [[64667, 64667], 'mapped', [1574, 1607]], + [[64668, 64668], 'mapped', [1576, 1580]], + [[64669, 64669], 'mapped', [1576, 1581]], + [[64670, 64670], 'mapped', [1576, 1582]], + [[64671, 64671], 'mapped', [1576, 1605]], + [[64672, 64672], 'mapped', [1576, 1607]], + [[64673, 64673], 'mapped', [1578, 1580]], + [[64674, 64674], 'mapped', [1578, 1581]], + [[64675, 64675], 'mapped', [1578, 1582]], + [[64676, 64676], 'mapped', [1578, 1605]], + [[64677, 64677], 'mapped', [1578, 1607]], + [[64678, 64678], 'mapped', [1579, 1605]], + [[64679, 64679], 'mapped', [1580, 1581]], + [[64680, 64680], 'mapped', [1580, 1605]], + [[64681, 64681], 'mapped', [1581, 1580]], + [[64682, 64682], 'mapped', [1581, 1605]], + [[64683, 64683], 'mapped', [1582, 1580]], + [[64684, 64684], 'mapped', [1582, 1605]], + [[64685, 64685], 'mapped', [1587, 1580]], + [[64686, 64686], 'mapped', [1587, 1581]], + [[64687, 64687], 'mapped', [1587, 1582]], + [[64688, 64688], 'mapped', [1587, 1605]], + [[64689, 64689], 'mapped', [1589, 1581]], + [[64690, 64690], 'mapped', [1589, 1582]], + [[64691, 64691], 'mapped', [1589, 1605]], + [[64692, 64692], 'mapped', [1590, 1580]], + [[64693, 64693], 'mapped', [1590, 1581]], + [[64694, 64694], 'mapped', [1590, 1582]], + [[64695, 64695], 'mapped', [1590, 1605]], + [[64696, 64696], 'mapped', [1591, 1581]], + [[64697, 64697], 'mapped', [1592, 1605]], + [[64698, 64698], 'mapped', [1593, 1580]], + [[64699, 64699], 'mapped', [1593, 1605]], + [[64700, 64700], 'mapped', [1594, 1580]], + [[64701, 64701], 'mapped', [1594, 1605]], + [[64702, 64702], 'mapped', [1601, 1580]], + [[64703, 64703], 'mapped', [1601, 1581]], + [[64704, 64704], 'mapped', [1601, 1582]], + [[64705, 64705], 'mapped', [1601, 1605]], + [[64706, 64706], 'mapped', [1602, 1581]], + [[64707, 64707], 'mapped', [1602, 1605]], + [[64708, 64708], 'mapped', [1603, 1580]], + [[64709, 64709], 'mapped', [1603, 1581]], + [[64710, 64710], 'mapped', [1603, 1582]], + [[64711, 64711], 'mapped', [1603, 1604]], + [[64712, 64712], 'mapped', [1603, 1605]], + [[64713, 64713], 'mapped', [1604, 1580]], + [[64714, 64714], 'mapped', [1604, 1581]], + [[64715, 64715], 'mapped', [1604, 1582]], + [[64716, 64716], 'mapped', [1604, 1605]], + [[64717, 64717], 'mapped', [1604, 1607]], + [[64718, 64718], 'mapped', [1605, 1580]], + [[64719, 64719], 'mapped', [1605, 1581]], + [[64720, 64720], 'mapped', [1605, 1582]], + [[64721, 64721], 'mapped', [1605, 1605]], + [[64722, 64722], 'mapped', [1606, 1580]], + [[64723, 64723], 'mapped', [1606, 1581]], + [[64724, 64724], 'mapped', [1606, 1582]], + [[64725, 64725], 'mapped', [1606, 1605]], + [[64726, 64726], 'mapped', [1606, 1607]], + [[64727, 64727], 'mapped', [1607, 1580]], + [[64728, 64728], 'mapped', [1607, 1605]], + [[64729, 64729], 'mapped', [1607, 1648]], + [[64730, 64730], 'mapped', [1610, 1580]], + [[64731, 64731], 'mapped', [1610, 1581]], + [[64732, 64732], 'mapped', [1610, 1582]], + [[64733, 64733], 'mapped', [1610, 1605]], + [[64734, 64734], 'mapped', [1610, 1607]], + [[64735, 64735], 'mapped', [1574, 1605]], + [[64736, 64736], 'mapped', [1574, 1607]], + [[64737, 64737], 'mapped', [1576, 1605]], + [[64738, 64738], 'mapped', [1576, 1607]], + [[64739, 64739], 'mapped', [1578, 1605]], + [[64740, 64740], 'mapped', [1578, 1607]], + [[64741, 64741], 'mapped', [1579, 1605]], + [[64742, 64742], 'mapped', [1579, 1607]], + [[64743, 64743], 'mapped', [1587, 1605]], + [[64744, 64744], 'mapped', [1587, 1607]], + [[64745, 64745], 'mapped', [1588, 1605]], + [[64746, 64746], 'mapped', [1588, 1607]], + [[64747, 64747], 'mapped', [1603, 1604]], + [[64748, 64748], 'mapped', [1603, 1605]], + [[64749, 64749], 'mapped', [1604, 1605]], + [[64750, 64750], 'mapped', [1606, 1605]], + [[64751, 64751], 'mapped', [1606, 1607]], + [[64752, 64752], 'mapped', [1610, 1605]], + [[64753, 64753], 'mapped', [1610, 1607]], + [[64754, 64754], 'mapped', [1600, 1614, 1617]], + [[64755, 64755], 'mapped', [1600, 1615, 1617]], + [[64756, 64756], 'mapped', [1600, 1616, 1617]], + [[64757, 64757], 'mapped', [1591, 1609]], + [[64758, 64758], 'mapped', [1591, 1610]], + [[64759, 64759], 'mapped', [1593, 1609]], + [[64760, 64760], 'mapped', [1593, 1610]], + [[64761, 64761], 'mapped', [1594, 1609]], + [[64762, 64762], 'mapped', [1594, 1610]], + [[64763, 64763], 'mapped', [1587, 1609]], + [[64764, 64764], 'mapped', [1587, 1610]], + [[64765, 64765], 'mapped', [1588, 1609]], + [[64766, 64766], 'mapped', [1588, 1610]], + [[64767, 64767], 'mapped', [1581, 1609]], + [[64768, 64768], 'mapped', [1581, 1610]], + [[64769, 64769], 'mapped', [1580, 1609]], + [[64770, 64770], 'mapped', [1580, 1610]], + [[64771, 64771], 'mapped', [1582, 1609]], + [[64772, 64772], 'mapped', [1582, 1610]], + [[64773, 64773], 'mapped', [1589, 1609]], + [[64774, 64774], 'mapped', [1589, 1610]], + [[64775, 64775], 'mapped', [1590, 1609]], + [[64776, 64776], 'mapped', [1590, 1610]], + [[64777, 64777], 'mapped', [1588, 1580]], + [[64778, 64778], 'mapped', [1588, 1581]], + [[64779, 64779], 'mapped', [1588, 1582]], + [[64780, 64780], 'mapped', [1588, 1605]], + [[64781, 64781], 'mapped', [1588, 1585]], + [[64782, 64782], 'mapped', [1587, 1585]], + [[64783, 64783], 'mapped', [1589, 1585]], + [[64784, 64784], 'mapped', [1590, 1585]], + [[64785, 64785], 'mapped', [1591, 1609]], + [[64786, 64786], 'mapped', [1591, 1610]], + [[64787, 64787], 'mapped', [1593, 1609]], + [[64788, 64788], 'mapped', [1593, 1610]], + [[64789, 64789], 'mapped', [1594, 1609]], + [[64790, 64790], 'mapped', [1594, 1610]], + [[64791, 64791], 'mapped', [1587, 1609]], + [[64792, 64792], 'mapped', [1587, 1610]], + [[64793, 64793], 'mapped', [1588, 1609]], + [[64794, 64794], 'mapped', [1588, 1610]], + [[64795, 64795], 'mapped', [1581, 1609]], + [[64796, 64796], 'mapped', [1581, 1610]], + [[64797, 64797], 'mapped', [1580, 1609]], + [[64798, 64798], 'mapped', [1580, 1610]], + [[64799, 64799], 'mapped', [1582, 1609]], + [[64800, 64800], 'mapped', [1582, 1610]], + [[64801, 64801], 'mapped', [1589, 1609]], + [[64802, 64802], 'mapped', [1589, 1610]], + [[64803, 64803], 'mapped', [1590, 1609]], + [[64804, 64804], 'mapped', [1590, 1610]], + [[64805, 64805], 'mapped', [1588, 1580]], + [[64806, 64806], 'mapped', [1588, 1581]], + [[64807, 64807], 'mapped', [1588, 1582]], + [[64808, 64808], 'mapped', [1588, 1605]], + [[64809, 64809], 'mapped', [1588, 1585]], + [[64810, 64810], 'mapped', [1587, 1585]], + [[64811, 64811], 'mapped', [1589, 1585]], + [[64812, 64812], 'mapped', [1590, 1585]], + [[64813, 64813], 'mapped', [1588, 1580]], + [[64814, 64814], 'mapped', [1588, 1581]], + [[64815, 64815], 'mapped', [1588, 1582]], + [[64816, 64816], 'mapped', [1588, 1605]], + [[64817, 64817], 'mapped', [1587, 1607]], + [[64818, 64818], 'mapped', [1588, 1607]], + [[64819, 64819], 'mapped', [1591, 1605]], + [[64820, 64820], 'mapped', [1587, 1580]], + [[64821, 64821], 'mapped', [1587, 1581]], + [[64822, 64822], 'mapped', [1587, 1582]], + [[64823, 64823], 'mapped', [1588, 1580]], + [[64824, 64824], 'mapped', [1588, 1581]], + [[64825, 64825], 'mapped', [1588, 1582]], + [[64826, 64826], 'mapped', [1591, 1605]], + [[64827, 64827], 'mapped', [1592, 1605]], + [[64828, 64829], 'mapped', [1575, 1611]], + [[64830, 64831], 'valid', [], 'NV8'], + [[64832, 64847], 'disallowed'], + [[64848, 64848], 'mapped', [1578, 1580, 1605]], + [[64849, 64850], 'mapped', [1578, 1581, 1580]], + [[64851, 64851], 'mapped', [1578, 1581, 1605]], + [[64852, 64852], 'mapped', [1578, 1582, 1605]], + [[64853, 64853], 'mapped', [1578, 1605, 1580]], + [[64854, 64854], 'mapped', [1578, 1605, 1581]], + [[64855, 64855], 'mapped', [1578, 1605, 1582]], + [[64856, 64857], 'mapped', [1580, 1605, 1581]], + [[64858, 64858], 'mapped', [1581, 1605, 1610]], + [[64859, 64859], 'mapped', [1581, 1605, 1609]], + [[64860, 64860], 'mapped', [1587, 1581, 1580]], + [[64861, 64861], 'mapped', [1587, 1580, 1581]], + [[64862, 64862], 'mapped', [1587, 1580, 1609]], + [[64863, 64864], 'mapped', [1587, 1605, 1581]], + [[64865, 64865], 'mapped', [1587, 1605, 1580]], + [[64866, 64867], 'mapped', [1587, 1605, 1605]], + [[64868, 64869], 'mapped', [1589, 1581, 1581]], + [[64870, 64870], 'mapped', [1589, 1605, 1605]], + [[64871, 64872], 'mapped', [1588, 1581, 1605]], + [[64873, 64873], 'mapped', [1588, 1580, 1610]], + [[64874, 64875], 'mapped', [1588, 1605, 1582]], + [[64876, 64877], 'mapped', [1588, 1605, 1605]], + [[64878, 64878], 'mapped', [1590, 1581, 1609]], + [[64879, 64880], 'mapped', [1590, 1582, 1605]], + [[64881, 64882], 'mapped', [1591, 1605, 1581]], + [[64883, 64883], 'mapped', [1591, 1605, 1605]], + [[64884, 64884], 'mapped', [1591, 1605, 1610]], + [[64885, 64885], 'mapped', [1593, 1580, 1605]], + [[64886, 64887], 'mapped', [1593, 1605, 1605]], + [[64888, 64888], 'mapped', [1593, 1605, 1609]], + [[64889, 64889], 'mapped', [1594, 1605, 1605]], + [[64890, 64890], 'mapped', [1594, 1605, 1610]], + [[64891, 64891], 'mapped', [1594, 1605, 1609]], + [[64892, 64893], 'mapped', [1601, 1582, 1605]], + [[64894, 64894], 'mapped', [1602, 1605, 1581]], + [[64895, 64895], 'mapped', [1602, 1605, 1605]], + [[64896, 64896], 'mapped', [1604, 1581, 1605]], + [[64897, 64897], 'mapped', [1604, 1581, 1610]], + [[64898, 64898], 'mapped', [1604, 1581, 1609]], + [[64899, 64900], 'mapped', [1604, 1580, 1580]], + [[64901, 64902], 'mapped', [1604, 1582, 1605]], + [[64903, 64904], 'mapped', [1604, 1605, 1581]], + [[64905, 64905], 'mapped', [1605, 1581, 1580]], + [[64906, 64906], 'mapped', [1605, 1581, 1605]], + [[64907, 64907], 'mapped', [1605, 1581, 1610]], + [[64908, 64908], 'mapped', [1605, 1580, 1581]], + [[64909, 64909], 'mapped', [1605, 1580, 1605]], + [[64910, 64910], 'mapped', [1605, 1582, 1580]], + [[64911, 64911], 'mapped', [1605, 1582, 1605]], + [[64912, 64913], 'disallowed'], + [[64914, 64914], 'mapped', [1605, 1580, 1582]], + [[64915, 64915], 'mapped', [1607, 1605, 1580]], + [[64916, 64916], 'mapped', [1607, 1605, 1605]], + [[64917, 64917], 'mapped', [1606, 1581, 1605]], + [[64918, 64918], 'mapped', [1606, 1581, 1609]], + [[64919, 64920], 'mapped', [1606, 1580, 1605]], + [[64921, 64921], 'mapped', [1606, 1580, 1609]], + [[64922, 64922], 'mapped', [1606, 1605, 1610]], + [[64923, 64923], 'mapped', [1606, 1605, 1609]], + [[64924, 64925], 'mapped', [1610, 1605, 1605]], + [[64926, 64926], 'mapped', [1576, 1582, 1610]], + [[64927, 64927], 'mapped', [1578, 1580, 1610]], + [[64928, 64928], 'mapped', [1578, 1580, 1609]], + [[64929, 64929], 'mapped', [1578, 1582, 1610]], + [[64930, 64930], 'mapped', [1578, 1582, 1609]], + [[64931, 64931], 'mapped', [1578, 1605, 1610]], + [[64932, 64932], 'mapped', [1578, 1605, 1609]], + [[64933, 64933], 'mapped', [1580, 1605, 1610]], + [[64934, 64934], 'mapped', [1580, 1581, 1609]], + [[64935, 64935], 'mapped', [1580, 1605, 1609]], + [[64936, 64936], 'mapped', [1587, 1582, 1609]], + [[64937, 64937], 'mapped', [1589, 1581, 1610]], + [[64938, 64938], 'mapped', [1588, 1581, 1610]], + [[64939, 64939], 'mapped', [1590, 1581, 1610]], + [[64940, 64940], 'mapped', [1604, 1580, 1610]], + [[64941, 64941], 'mapped', [1604, 1605, 1610]], + [[64942, 64942], 'mapped', [1610, 1581, 1610]], + [[64943, 64943], 'mapped', [1610, 1580, 1610]], + [[64944, 64944], 'mapped', [1610, 1605, 1610]], + [[64945, 64945], 'mapped', [1605, 1605, 1610]], + [[64946, 64946], 'mapped', [1602, 1605, 1610]], + [[64947, 64947], 'mapped', [1606, 1581, 1610]], + [[64948, 64948], 'mapped', [1602, 1605, 1581]], + [[64949, 64949], 'mapped', [1604, 1581, 1605]], + [[64950, 64950], 'mapped', [1593, 1605, 1610]], + [[64951, 64951], 'mapped', [1603, 1605, 1610]], + [[64952, 64952], 'mapped', [1606, 1580, 1581]], + [[64953, 64953], 'mapped', [1605, 1582, 1610]], + [[64954, 64954], 'mapped', [1604, 1580, 1605]], + [[64955, 64955], 'mapped', [1603, 1605, 1605]], + [[64956, 64956], 'mapped', [1604, 1580, 1605]], + [[64957, 64957], 'mapped', [1606, 1580, 1581]], + [[64958, 64958], 'mapped', [1580, 1581, 1610]], + [[64959, 64959], 'mapped', [1581, 1580, 1610]], + [[64960, 64960], 'mapped', [1605, 1580, 1610]], + [[64961, 64961], 'mapped', [1601, 1605, 1610]], + [[64962, 64962], 'mapped', [1576, 1581, 1610]], + [[64963, 64963], 'mapped', [1603, 1605, 1605]], + [[64964, 64964], 'mapped', [1593, 1580, 1605]], + [[64965, 64965], 'mapped', [1589, 1605, 1605]], + [[64966, 64966], 'mapped', [1587, 1582, 1610]], + [[64967, 64967], 'mapped', [1606, 1580, 1610]], + [[64968, 64975], 'disallowed'], + [[64976, 65007], 'disallowed'], + [[65008, 65008], 'mapped', [1589, 1604, 1746]], + [[65009, 65009], 'mapped', [1602, 1604, 1746]], + [[65010, 65010], 'mapped', [1575, 1604, 1604, 1607]], + [[65011, 65011], 'mapped', [1575, 1603, 1576, 1585]], + [[65012, 65012], 'mapped', [1605, 1581, 1605, 1583]], + [[65013, 65013], 'mapped', [1589, 1604, 1593, 1605]], + [[65014, 65014], 'mapped', [1585, 1587, 1608, 1604]], + [[65015, 65015], 'mapped', [1593, 1604, 1610, 1607]], + [[65016, 65016], 'mapped', [1608, 1587, 1604, 1605]], + [[65017, 65017], 'mapped', [1589, 1604, 1609]], + [ + [65018, 65018], + 'disallowed_STD3_mapped', + [ + 1589, 1604, 1609, 32, 1575, 1604, 1604, 1607, 32, 1593, 1604, 1610, 1607, 32, 1608, 1587, + 1604, 1605, + ], + ], + [[65019, 65019], 'disallowed_STD3_mapped', [1580, 1604, 32, 1580, 1604, 1575, 1604, 1607]], + [[65020, 65020], 'mapped', [1585, 1740, 1575, 1604]], + [[65021, 65021], 'valid', [], 'NV8'], + [[65022, 65023], 'disallowed'], + [[65024, 65039], 'ignored'], + [[65040, 65040], 'disallowed_STD3_mapped', [44]], + [[65041, 65041], 'mapped', [12289]], + [[65042, 65042], 'disallowed'], + [[65043, 65043], 'disallowed_STD3_mapped', [58]], + [[65044, 65044], 'disallowed_STD3_mapped', [59]], + [[65045, 65045], 'disallowed_STD3_mapped', [33]], + [[65046, 65046], 'disallowed_STD3_mapped', [63]], + [[65047, 65047], 'mapped', [12310]], + [[65048, 65048], 'mapped', [12311]], + [[65049, 65049], 'disallowed'], + [[65050, 65055], 'disallowed'], + [[65056, 65059], 'valid'], + [[65060, 65062], 'valid'], + [[65063, 65069], 'valid'], + [[65070, 65071], 'valid'], + [[65072, 65072], 'disallowed'], + [[65073, 65073], 'mapped', [8212]], + [[65074, 65074], 'mapped', [8211]], + [[65075, 65076], 'disallowed_STD3_mapped', [95]], + [[65077, 65077], 'disallowed_STD3_mapped', [40]], + [[65078, 65078], 'disallowed_STD3_mapped', [41]], + [[65079, 65079], 'disallowed_STD3_mapped', [123]], + [[65080, 65080], 'disallowed_STD3_mapped', [125]], + [[65081, 65081], 'mapped', [12308]], + [[65082, 65082], 'mapped', [12309]], + [[65083, 65083], 'mapped', [12304]], + [[65084, 65084], 'mapped', [12305]], + [[65085, 65085], 'mapped', [12298]], + [[65086, 65086], 'mapped', [12299]], + [[65087, 65087], 'mapped', [12296]], + [[65088, 65088], 'mapped', [12297]], + [[65089, 65089], 'mapped', [12300]], + [[65090, 65090], 'mapped', [12301]], + [[65091, 65091], 'mapped', [12302]], + [[65092, 65092], 'mapped', [12303]], + [[65093, 65094], 'valid', [], 'NV8'], + [[65095, 65095], 'disallowed_STD3_mapped', [91]], + [[65096, 65096], 'disallowed_STD3_mapped', [93]], + [[65097, 65100], 'disallowed_STD3_mapped', [32, 773]], + [[65101, 65103], 'disallowed_STD3_mapped', [95]], + [[65104, 65104], 'disallowed_STD3_mapped', [44]], + [[65105, 65105], 'mapped', [12289]], + [[65106, 65106], 'disallowed'], + [[65107, 65107], 'disallowed'], + [[65108, 65108], 'disallowed_STD3_mapped', [59]], + [[65109, 65109], 'disallowed_STD3_mapped', [58]], + [[65110, 65110], 'disallowed_STD3_mapped', [63]], + [[65111, 65111], 'disallowed_STD3_mapped', [33]], + [[65112, 65112], 'mapped', [8212]], + [[65113, 65113], 'disallowed_STD3_mapped', [40]], + [[65114, 65114], 'disallowed_STD3_mapped', [41]], + [[65115, 65115], 'disallowed_STD3_mapped', [123]], + [[65116, 65116], 'disallowed_STD3_mapped', [125]], + [[65117, 65117], 'mapped', [12308]], + [[65118, 65118], 'mapped', [12309]], + [[65119, 65119], 'disallowed_STD3_mapped', [35]], + [[65120, 65120], 'disallowed_STD3_mapped', [38]], + [[65121, 65121], 'disallowed_STD3_mapped', [42]], + [[65122, 65122], 'disallowed_STD3_mapped', [43]], + [[65123, 65123], 'mapped', [45]], + [[65124, 65124], 'disallowed_STD3_mapped', [60]], + [[65125, 65125], 'disallowed_STD3_mapped', [62]], + [[65126, 65126], 'disallowed_STD3_mapped', [61]], + [[65127, 65127], 'disallowed'], + [[65128, 65128], 'disallowed_STD3_mapped', [92]], + [[65129, 65129], 'disallowed_STD3_mapped', [36]], + [[65130, 65130], 'disallowed_STD3_mapped', [37]], + [[65131, 65131], 'disallowed_STD3_mapped', [64]], + [[65132, 65135], 'disallowed'], + [[65136, 65136], 'disallowed_STD3_mapped', [32, 1611]], + [[65137, 65137], 'mapped', [1600, 1611]], + [[65138, 65138], 'disallowed_STD3_mapped', [32, 1612]], + [[65139, 65139], 'valid'], + [[65140, 65140], 'disallowed_STD3_mapped', [32, 1613]], + [[65141, 65141], 'disallowed'], + [[65142, 65142], 'disallowed_STD3_mapped', [32, 1614]], + [[65143, 65143], 'mapped', [1600, 1614]], + [[65144, 65144], 'disallowed_STD3_mapped', [32, 1615]], + [[65145, 65145], 'mapped', [1600, 1615]], + [[65146, 65146], 'disallowed_STD3_mapped', [32, 1616]], + [[65147, 65147], 'mapped', [1600, 1616]], + [[65148, 65148], 'disallowed_STD3_mapped', [32, 1617]], + [[65149, 65149], 'mapped', [1600, 1617]], + [[65150, 65150], 'disallowed_STD3_mapped', [32, 1618]], + [[65151, 65151], 'mapped', [1600, 1618]], + [[65152, 65152], 'mapped', [1569]], + [[65153, 65154], 'mapped', [1570]], + [[65155, 65156], 'mapped', [1571]], + [[65157, 65158], 'mapped', [1572]], + [[65159, 65160], 'mapped', [1573]], + [[65161, 65164], 'mapped', [1574]], + [[65165, 65166], 'mapped', [1575]], + [[65167, 65170], 'mapped', [1576]], + [[65171, 65172], 'mapped', [1577]], + [[65173, 65176], 'mapped', [1578]], + [[65177, 65180], 'mapped', [1579]], + [[65181, 65184], 'mapped', [1580]], + [[65185, 65188], 'mapped', [1581]], + [[65189, 65192], 'mapped', [1582]], + [[65193, 65194], 'mapped', [1583]], + [[65195, 65196], 'mapped', [1584]], + [[65197, 65198], 'mapped', [1585]], + [[65199, 65200], 'mapped', [1586]], + [[65201, 65204], 'mapped', [1587]], + [[65205, 65208], 'mapped', [1588]], + [[65209, 65212], 'mapped', [1589]], + [[65213, 65216], 'mapped', [1590]], + [[65217, 65220], 'mapped', [1591]], + [[65221, 65224], 'mapped', [1592]], + [[65225, 65228], 'mapped', [1593]], + [[65229, 65232], 'mapped', [1594]], + [[65233, 65236], 'mapped', [1601]], + [[65237, 65240], 'mapped', [1602]], + [[65241, 65244], 'mapped', [1603]], + [[65245, 65248], 'mapped', [1604]], + [[65249, 65252], 'mapped', [1605]], + [[65253, 65256], 'mapped', [1606]], + [[65257, 65260], 'mapped', [1607]], + [[65261, 65262], 'mapped', [1608]], + [[65263, 65264], 'mapped', [1609]], + [[65265, 65268], 'mapped', [1610]], + [[65269, 65270], 'mapped', [1604, 1570]], + [[65271, 65272], 'mapped', [1604, 1571]], + [[65273, 65274], 'mapped', [1604, 1573]], + [[65275, 65276], 'mapped', [1604, 1575]], + [[65277, 65278], 'disallowed'], + [[65279, 65279], 'ignored'], + [[65280, 65280], 'disallowed'], + [[65281, 65281], 'disallowed_STD3_mapped', [33]], + [[65282, 65282], 'disallowed_STD3_mapped', [34]], + [[65283, 65283], 'disallowed_STD3_mapped', [35]], + [[65284, 65284], 'disallowed_STD3_mapped', [36]], + [[65285, 65285], 'disallowed_STD3_mapped', [37]], + [[65286, 65286], 'disallowed_STD3_mapped', [38]], + [[65287, 65287], 'disallowed_STD3_mapped', [39]], + [[65288, 65288], 'disallowed_STD3_mapped', [40]], + [[65289, 65289], 'disallowed_STD3_mapped', [41]], + [[65290, 65290], 'disallowed_STD3_mapped', [42]], + [[65291, 65291], 'disallowed_STD3_mapped', [43]], + [[65292, 65292], 'disallowed_STD3_mapped', [44]], + [[65293, 65293], 'mapped', [45]], + [[65294, 65294], 'mapped', [46]], + [[65295, 65295], 'disallowed_STD3_mapped', [47]], + [[65296, 65296], 'mapped', [48]], + [[65297, 65297], 'mapped', [49]], + [[65298, 65298], 'mapped', [50]], + [[65299, 65299], 'mapped', [51]], + [[65300, 65300], 'mapped', [52]], + [[65301, 65301], 'mapped', [53]], + [[65302, 65302], 'mapped', [54]], + [[65303, 65303], 'mapped', [55]], + [[65304, 65304], 'mapped', [56]], + [[65305, 65305], 'mapped', [57]], + [[65306, 65306], 'disallowed_STD3_mapped', [58]], + [[65307, 65307], 'disallowed_STD3_mapped', [59]], + [[65308, 65308], 'disallowed_STD3_mapped', [60]], + [[65309, 65309], 'disallowed_STD3_mapped', [61]], + [[65310, 65310], 'disallowed_STD3_mapped', [62]], + [[65311, 65311], 'disallowed_STD3_mapped', [63]], + [[65312, 65312], 'disallowed_STD3_mapped', [64]], + [[65313, 65313], 'mapped', [97]], + [[65314, 65314], 'mapped', [98]], + [[65315, 65315], 'mapped', [99]], + [[65316, 65316], 'mapped', [100]], + [[65317, 65317], 'mapped', [101]], + [[65318, 65318], 'mapped', [102]], + [[65319, 65319], 'mapped', [103]], + [[65320, 65320], 'mapped', [104]], + [[65321, 65321], 'mapped', [105]], + [[65322, 65322], 'mapped', [106]], + [[65323, 65323], 'mapped', [107]], + [[65324, 65324], 'mapped', [108]], + [[65325, 65325], 'mapped', [109]], + [[65326, 65326], 'mapped', [110]], + [[65327, 65327], 'mapped', [111]], + [[65328, 65328], 'mapped', [112]], + [[65329, 65329], 'mapped', [113]], + [[65330, 65330], 'mapped', [114]], + [[65331, 65331], 'mapped', [115]], + [[65332, 65332], 'mapped', [116]], + [[65333, 65333], 'mapped', [117]], + [[65334, 65334], 'mapped', [118]], + [[65335, 65335], 'mapped', [119]], + [[65336, 65336], 'mapped', [120]], + [[65337, 65337], 'mapped', [121]], + [[65338, 65338], 'mapped', [122]], + [[65339, 65339], 'disallowed_STD3_mapped', [91]], + [[65340, 65340], 'disallowed_STD3_mapped', [92]], + [[65341, 65341], 'disallowed_STD3_mapped', [93]], + [[65342, 65342], 'disallowed_STD3_mapped', [94]], + [[65343, 65343], 'disallowed_STD3_mapped', [95]], + [[65344, 65344], 'disallowed_STD3_mapped', [96]], + [[65345, 65345], 'mapped', [97]], + [[65346, 65346], 'mapped', [98]], + [[65347, 65347], 'mapped', [99]], + [[65348, 65348], 'mapped', [100]], + [[65349, 65349], 'mapped', [101]], + [[65350, 65350], 'mapped', [102]], + [[65351, 65351], 'mapped', [103]], + [[65352, 65352], 'mapped', [104]], + [[65353, 65353], 'mapped', [105]], + [[65354, 65354], 'mapped', [106]], + [[65355, 65355], 'mapped', [107]], + [[65356, 65356], 'mapped', [108]], + [[65357, 65357], 'mapped', [109]], + [[65358, 65358], 'mapped', [110]], + [[65359, 65359], 'mapped', [111]], + [[65360, 65360], 'mapped', [112]], + [[65361, 65361], 'mapped', [113]], + [[65362, 65362], 'mapped', [114]], + [[65363, 65363], 'mapped', [115]], + [[65364, 65364], 'mapped', [116]], + [[65365, 65365], 'mapped', [117]], + [[65366, 65366], 'mapped', [118]], + [[65367, 65367], 'mapped', [119]], + [[65368, 65368], 'mapped', [120]], + [[65369, 65369], 'mapped', [121]], + [[65370, 65370], 'mapped', [122]], + [[65371, 65371], 'disallowed_STD3_mapped', [123]], + [[65372, 65372], 'disallowed_STD3_mapped', [124]], + [[65373, 65373], 'disallowed_STD3_mapped', [125]], + [[65374, 65374], 'disallowed_STD3_mapped', [126]], + [[65375, 65375], 'mapped', [10629]], + [[65376, 65376], 'mapped', [10630]], + [[65377, 65377], 'mapped', [46]], + [[65378, 65378], 'mapped', [12300]], + [[65379, 65379], 'mapped', [12301]], + [[65380, 65380], 'mapped', [12289]], + [[65381, 65381], 'mapped', [12539]], + [[65382, 65382], 'mapped', [12530]], + [[65383, 65383], 'mapped', [12449]], + [[65384, 65384], 'mapped', [12451]], + [[65385, 65385], 'mapped', [12453]], + [[65386, 65386], 'mapped', [12455]], + [[65387, 65387], 'mapped', [12457]], + [[65388, 65388], 'mapped', [12515]], + [[65389, 65389], 'mapped', [12517]], + [[65390, 65390], 'mapped', [12519]], + [[65391, 65391], 'mapped', [12483]], + [[65392, 65392], 'mapped', [12540]], + [[65393, 65393], 'mapped', [12450]], + [[65394, 65394], 'mapped', [12452]], + [[65395, 65395], 'mapped', [12454]], + [[65396, 65396], 'mapped', [12456]], + [[65397, 65397], 'mapped', [12458]], + [[65398, 65398], 'mapped', [12459]], + [[65399, 65399], 'mapped', [12461]], + [[65400, 65400], 'mapped', [12463]], + [[65401, 65401], 'mapped', [12465]], + [[65402, 65402], 'mapped', [12467]], + [[65403, 65403], 'mapped', [12469]], + [[65404, 65404], 'mapped', [12471]], + [[65405, 65405], 'mapped', [12473]], + [[65406, 65406], 'mapped', [12475]], + [[65407, 65407], 'mapped', [12477]], + [[65408, 65408], 'mapped', [12479]], + [[65409, 65409], 'mapped', [12481]], + [[65410, 65410], 'mapped', [12484]], + [[65411, 65411], 'mapped', [12486]], + [[65412, 65412], 'mapped', [12488]], + [[65413, 65413], 'mapped', [12490]], + [[65414, 65414], 'mapped', [12491]], + [[65415, 65415], 'mapped', [12492]], + [[65416, 65416], 'mapped', [12493]], + [[65417, 65417], 'mapped', [12494]], + [[65418, 65418], 'mapped', [12495]], + [[65419, 65419], 'mapped', [12498]], + [[65420, 65420], 'mapped', [12501]], + [[65421, 65421], 'mapped', [12504]], + [[65422, 65422], 'mapped', [12507]], + [[65423, 65423], 'mapped', [12510]], + [[65424, 65424], 'mapped', [12511]], + [[65425, 65425], 'mapped', [12512]], + [[65426, 65426], 'mapped', [12513]], + [[65427, 65427], 'mapped', [12514]], + [[65428, 65428], 'mapped', [12516]], + [[65429, 65429], 'mapped', [12518]], + [[65430, 65430], 'mapped', [12520]], + [[65431, 65431], 'mapped', [12521]], + [[65432, 65432], 'mapped', [12522]], + [[65433, 65433], 'mapped', [12523]], + [[65434, 65434], 'mapped', [12524]], + [[65435, 65435], 'mapped', [12525]], + [[65436, 65436], 'mapped', [12527]], + [[65437, 65437], 'mapped', [12531]], + [[65438, 65438], 'mapped', [12441]], + [[65439, 65439], 'mapped', [12442]], + [[65440, 65440], 'disallowed'], + [[65441, 65441], 'mapped', [4352]], + [[65442, 65442], 'mapped', [4353]], + [[65443, 65443], 'mapped', [4522]], + [[65444, 65444], 'mapped', [4354]], + [[65445, 65445], 'mapped', [4524]], + [[65446, 65446], 'mapped', [4525]], + [[65447, 65447], 'mapped', [4355]], + [[65448, 65448], 'mapped', [4356]], + [[65449, 65449], 'mapped', [4357]], + [[65450, 65450], 'mapped', [4528]], + [[65451, 65451], 'mapped', [4529]], + [[65452, 65452], 'mapped', [4530]], + [[65453, 65453], 'mapped', [4531]], + [[65454, 65454], 'mapped', [4532]], + [[65455, 65455], 'mapped', [4533]], + [[65456, 65456], 'mapped', [4378]], + [[65457, 65457], 'mapped', [4358]], + [[65458, 65458], 'mapped', [4359]], + [[65459, 65459], 'mapped', [4360]], + [[65460, 65460], 'mapped', [4385]], + [[65461, 65461], 'mapped', [4361]], + [[65462, 65462], 'mapped', [4362]], + [[65463, 65463], 'mapped', [4363]], + [[65464, 65464], 'mapped', [4364]], + [[65465, 65465], 'mapped', [4365]], + [[65466, 65466], 'mapped', [4366]], + [[65467, 65467], 'mapped', [4367]], + [[65468, 65468], 'mapped', [4368]], + [[65469, 65469], 'mapped', [4369]], + [[65470, 65470], 'mapped', [4370]], + [[65471, 65473], 'disallowed'], + [[65474, 65474], 'mapped', [4449]], + [[65475, 65475], 'mapped', [4450]], + [[65476, 65476], 'mapped', [4451]], + [[65477, 65477], 'mapped', [4452]], + [[65478, 65478], 'mapped', [4453]], + [[65479, 65479], 'mapped', [4454]], + [[65480, 65481], 'disallowed'], + [[65482, 65482], 'mapped', [4455]], + [[65483, 65483], 'mapped', [4456]], + [[65484, 65484], 'mapped', [4457]], + [[65485, 65485], 'mapped', [4458]], + [[65486, 65486], 'mapped', [4459]], + [[65487, 65487], 'mapped', [4460]], + [[65488, 65489], 'disallowed'], + [[65490, 65490], 'mapped', [4461]], + [[65491, 65491], 'mapped', [4462]], + [[65492, 65492], 'mapped', [4463]], + [[65493, 65493], 'mapped', [4464]], + [[65494, 65494], 'mapped', [4465]], + [[65495, 65495], 'mapped', [4466]], + [[65496, 65497], 'disallowed'], + [[65498, 65498], 'mapped', [4467]], + [[65499, 65499], 'mapped', [4468]], + [[65500, 65500], 'mapped', [4469]], + [[65501, 65503], 'disallowed'], + [[65504, 65504], 'mapped', [162]], + [[65505, 65505], 'mapped', [163]], + [[65506, 65506], 'mapped', [172]], + [[65507, 65507], 'disallowed_STD3_mapped', [32, 772]], + [[65508, 65508], 'mapped', [166]], + [[65509, 65509], 'mapped', [165]], + [[65510, 65510], 'mapped', [8361]], + [[65511, 65511], 'disallowed'], + [[65512, 65512], 'mapped', [9474]], + [[65513, 65513], 'mapped', [8592]], + [[65514, 65514], 'mapped', [8593]], + [[65515, 65515], 'mapped', [8594]], + [[65516, 65516], 'mapped', [8595]], + [[65517, 65517], 'mapped', [9632]], + [[65518, 65518], 'mapped', [9675]], + [[65519, 65528], 'disallowed'], + [[65529, 65531], 'disallowed'], + [[65532, 65532], 'disallowed'], + [[65533, 65533], 'disallowed'], + [[65534, 65535], 'disallowed'], + [[65536, 65547], 'valid'], + [[65548, 65548], 'disallowed'], + [[65549, 65574], 'valid'], + [[65575, 65575], 'disallowed'], + [[65576, 65594], 'valid'], + [[65595, 65595], 'disallowed'], + [[65596, 65597], 'valid'], + [[65598, 65598], 'disallowed'], + [[65599, 65613], 'valid'], + [[65614, 65615], 'disallowed'], + [[65616, 65629], 'valid'], + [[65630, 65663], 'disallowed'], + [[65664, 65786], 'valid'], + [[65787, 65791], 'disallowed'], + [[65792, 65794], 'valid', [], 'NV8'], + [[65795, 65798], 'disallowed'], + [[65799, 65843], 'valid', [], 'NV8'], + [[65844, 65846], 'disallowed'], + [[65847, 65855], 'valid', [], 'NV8'], + [[65856, 65930], 'valid', [], 'NV8'], + [[65931, 65932], 'valid', [], 'NV8'], + [[65933, 65935], 'disallowed'], + [[65936, 65947], 'valid', [], 'NV8'], + [[65948, 65951], 'disallowed'], + [[65952, 65952], 'valid', [], 'NV8'], + [[65953, 65999], 'disallowed'], + [[66e3, 66044], 'valid', [], 'NV8'], + [[66045, 66045], 'valid'], + [[66046, 66175], 'disallowed'], + [[66176, 66204], 'valid'], + [[66205, 66207], 'disallowed'], + [[66208, 66256], 'valid'], + [[66257, 66271], 'disallowed'], + [[66272, 66272], 'valid'], + [[66273, 66299], 'valid', [], 'NV8'], + [[66300, 66303], 'disallowed'], + [[66304, 66334], 'valid'], + [[66335, 66335], 'valid'], + [[66336, 66339], 'valid', [], 'NV8'], + [[66340, 66351], 'disallowed'], + [[66352, 66368], 'valid'], + [[66369, 66369], 'valid', [], 'NV8'], + [[66370, 66377], 'valid'], + [[66378, 66378], 'valid', [], 'NV8'], + [[66379, 66383], 'disallowed'], + [[66384, 66426], 'valid'], + [[66427, 66431], 'disallowed'], + [[66432, 66461], 'valid'], + [[66462, 66462], 'disallowed'], + [[66463, 66463], 'valid', [], 'NV8'], + [[66464, 66499], 'valid'], + [[66500, 66503], 'disallowed'], + [[66504, 66511], 'valid'], + [[66512, 66517], 'valid', [], 'NV8'], + [[66518, 66559], 'disallowed'], + [[66560, 66560], 'mapped', [66600]], + [[66561, 66561], 'mapped', [66601]], + [[66562, 66562], 'mapped', [66602]], + [[66563, 66563], 'mapped', [66603]], + [[66564, 66564], 'mapped', [66604]], + [[66565, 66565], 'mapped', [66605]], + [[66566, 66566], 'mapped', [66606]], + [[66567, 66567], 'mapped', [66607]], + [[66568, 66568], 'mapped', [66608]], + [[66569, 66569], 'mapped', [66609]], + [[66570, 66570], 'mapped', [66610]], + [[66571, 66571], 'mapped', [66611]], + [[66572, 66572], 'mapped', [66612]], + [[66573, 66573], 'mapped', [66613]], + [[66574, 66574], 'mapped', [66614]], + [[66575, 66575], 'mapped', [66615]], + [[66576, 66576], 'mapped', [66616]], + [[66577, 66577], 'mapped', [66617]], + [[66578, 66578], 'mapped', [66618]], + [[66579, 66579], 'mapped', [66619]], + [[66580, 66580], 'mapped', [66620]], + [[66581, 66581], 'mapped', [66621]], + [[66582, 66582], 'mapped', [66622]], + [[66583, 66583], 'mapped', [66623]], + [[66584, 66584], 'mapped', [66624]], + [[66585, 66585], 'mapped', [66625]], + [[66586, 66586], 'mapped', [66626]], + [[66587, 66587], 'mapped', [66627]], + [[66588, 66588], 'mapped', [66628]], + [[66589, 66589], 'mapped', [66629]], + [[66590, 66590], 'mapped', [66630]], + [[66591, 66591], 'mapped', [66631]], + [[66592, 66592], 'mapped', [66632]], + [[66593, 66593], 'mapped', [66633]], + [[66594, 66594], 'mapped', [66634]], + [[66595, 66595], 'mapped', [66635]], + [[66596, 66596], 'mapped', [66636]], + [[66597, 66597], 'mapped', [66637]], + [[66598, 66598], 'mapped', [66638]], + [[66599, 66599], 'mapped', [66639]], + [[66600, 66637], 'valid'], + [[66638, 66717], 'valid'], + [[66718, 66719], 'disallowed'], + [[66720, 66729], 'valid'], + [[66730, 66815], 'disallowed'], + [[66816, 66855], 'valid'], + [[66856, 66863], 'disallowed'], + [[66864, 66915], 'valid'], + [[66916, 66926], 'disallowed'], + [[66927, 66927], 'valid', [], 'NV8'], + [[66928, 67071], 'disallowed'], + [[67072, 67382], 'valid'], + [[67383, 67391], 'disallowed'], + [[67392, 67413], 'valid'], + [[67414, 67423], 'disallowed'], + [[67424, 67431], 'valid'], + [[67432, 67583], 'disallowed'], + [[67584, 67589], 'valid'], + [[67590, 67591], 'disallowed'], + [[67592, 67592], 'valid'], + [[67593, 67593], 'disallowed'], + [[67594, 67637], 'valid'], + [[67638, 67638], 'disallowed'], + [[67639, 67640], 'valid'], + [[67641, 67643], 'disallowed'], + [[67644, 67644], 'valid'], + [[67645, 67646], 'disallowed'], + [[67647, 67647], 'valid'], + [[67648, 67669], 'valid'], + [[67670, 67670], 'disallowed'], + [[67671, 67679], 'valid', [], 'NV8'], + [[67680, 67702], 'valid'], + [[67703, 67711], 'valid', [], 'NV8'], + [[67712, 67742], 'valid'], + [[67743, 67750], 'disallowed'], + [[67751, 67759], 'valid', [], 'NV8'], + [[67760, 67807], 'disallowed'], + [[67808, 67826], 'valid'], + [[67827, 67827], 'disallowed'], + [[67828, 67829], 'valid'], + [[67830, 67834], 'disallowed'], + [[67835, 67839], 'valid', [], 'NV8'], + [[67840, 67861], 'valid'], + [[67862, 67865], 'valid', [], 'NV8'], + [[67866, 67867], 'valid', [], 'NV8'], + [[67868, 67870], 'disallowed'], + [[67871, 67871], 'valid', [], 'NV8'], + [[67872, 67897], 'valid'], + [[67898, 67902], 'disallowed'], + [[67903, 67903], 'valid', [], 'NV8'], + [[67904, 67967], 'disallowed'], + [[67968, 68023], 'valid'], + [[68024, 68027], 'disallowed'], + [[68028, 68029], 'valid', [], 'NV8'], + [[68030, 68031], 'valid'], + [[68032, 68047], 'valid', [], 'NV8'], + [[68048, 68049], 'disallowed'], + [[68050, 68095], 'valid', [], 'NV8'], + [[68096, 68099], 'valid'], + [[68100, 68100], 'disallowed'], + [[68101, 68102], 'valid'], + [[68103, 68107], 'disallowed'], + [[68108, 68115], 'valid'], + [[68116, 68116], 'disallowed'], + [[68117, 68119], 'valid'], + [[68120, 68120], 'disallowed'], + [[68121, 68147], 'valid'], + [[68148, 68151], 'disallowed'], + [[68152, 68154], 'valid'], + [[68155, 68158], 'disallowed'], + [[68159, 68159], 'valid'], + [[68160, 68167], 'valid', [], 'NV8'], + [[68168, 68175], 'disallowed'], + [[68176, 68184], 'valid', [], 'NV8'], + [[68185, 68191], 'disallowed'], + [[68192, 68220], 'valid'], + [[68221, 68223], 'valid', [], 'NV8'], + [[68224, 68252], 'valid'], + [[68253, 68255], 'valid', [], 'NV8'], + [[68256, 68287], 'disallowed'], + [[68288, 68295], 'valid'], + [[68296, 68296], 'valid', [], 'NV8'], + [[68297, 68326], 'valid'], + [[68327, 68330], 'disallowed'], + [[68331, 68342], 'valid', [], 'NV8'], + [[68343, 68351], 'disallowed'], + [[68352, 68405], 'valid'], + [[68406, 68408], 'disallowed'], + [[68409, 68415], 'valid', [], 'NV8'], + [[68416, 68437], 'valid'], + [[68438, 68439], 'disallowed'], + [[68440, 68447], 'valid', [], 'NV8'], + [[68448, 68466], 'valid'], + [[68467, 68471], 'disallowed'], + [[68472, 68479], 'valid', [], 'NV8'], + [[68480, 68497], 'valid'], + [[68498, 68504], 'disallowed'], + [[68505, 68508], 'valid', [], 'NV8'], + [[68509, 68520], 'disallowed'], + [[68521, 68527], 'valid', [], 'NV8'], + [[68528, 68607], 'disallowed'], + [[68608, 68680], 'valid'], + [[68681, 68735], 'disallowed'], + [[68736, 68736], 'mapped', [68800]], + [[68737, 68737], 'mapped', [68801]], + [[68738, 68738], 'mapped', [68802]], + [[68739, 68739], 'mapped', [68803]], + [[68740, 68740], 'mapped', [68804]], + [[68741, 68741], 'mapped', [68805]], + [[68742, 68742], 'mapped', [68806]], + [[68743, 68743], 'mapped', [68807]], + [[68744, 68744], 'mapped', [68808]], + [[68745, 68745], 'mapped', [68809]], + [[68746, 68746], 'mapped', [68810]], + [[68747, 68747], 'mapped', [68811]], + [[68748, 68748], 'mapped', [68812]], + [[68749, 68749], 'mapped', [68813]], + [[68750, 68750], 'mapped', [68814]], + [[68751, 68751], 'mapped', [68815]], + [[68752, 68752], 'mapped', [68816]], + [[68753, 68753], 'mapped', [68817]], + [[68754, 68754], 'mapped', [68818]], + [[68755, 68755], 'mapped', [68819]], + [[68756, 68756], 'mapped', [68820]], + [[68757, 68757], 'mapped', [68821]], + [[68758, 68758], 'mapped', [68822]], + [[68759, 68759], 'mapped', [68823]], + [[68760, 68760], 'mapped', [68824]], + [[68761, 68761], 'mapped', [68825]], + [[68762, 68762], 'mapped', [68826]], + [[68763, 68763], 'mapped', [68827]], + [[68764, 68764], 'mapped', [68828]], + [[68765, 68765], 'mapped', [68829]], + [[68766, 68766], 'mapped', [68830]], + [[68767, 68767], 'mapped', [68831]], + [[68768, 68768], 'mapped', [68832]], + [[68769, 68769], 'mapped', [68833]], + [[68770, 68770], 'mapped', [68834]], + [[68771, 68771], 'mapped', [68835]], + [[68772, 68772], 'mapped', [68836]], + [[68773, 68773], 'mapped', [68837]], + [[68774, 68774], 'mapped', [68838]], + [[68775, 68775], 'mapped', [68839]], + [[68776, 68776], 'mapped', [68840]], + [[68777, 68777], 'mapped', [68841]], + [[68778, 68778], 'mapped', [68842]], + [[68779, 68779], 'mapped', [68843]], + [[68780, 68780], 'mapped', [68844]], + [[68781, 68781], 'mapped', [68845]], + [[68782, 68782], 'mapped', [68846]], + [[68783, 68783], 'mapped', [68847]], + [[68784, 68784], 'mapped', [68848]], + [[68785, 68785], 'mapped', [68849]], + [[68786, 68786], 'mapped', [68850]], + [[68787, 68799], 'disallowed'], + [[68800, 68850], 'valid'], + [[68851, 68857], 'disallowed'], + [[68858, 68863], 'valid', [], 'NV8'], + [[68864, 69215], 'disallowed'], + [[69216, 69246], 'valid', [], 'NV8'], + [[69247, 69631], 'disallowed'], + [[69632, 69702], 'valid'], + [[69703, 69709], 'valid', [], 'NV8'], + [[69710, 69713], 'disallowed'], + [[69714, 69733], 'valid', [], 'NV8'], + [[69734, 69743], 'valid'], + [[69744, 69758], 'disallowed'], + [[69759, 69759], 'valid'], + [[69760, 69818], 'valid'], + [[69819, 69820], 'valid', [], 'NV8'], + [[69821, 69821], 'disallowed'], + [[69822, 69825], 'valid', [], 'NV8'], + [[69826, 69839], 'disallowed'], + [[69840, 69864], 'valid'], + [[69865, 69871], 'disallowed'], + [[69872, 69881], 'valid'], + [[69882, 69887], 'disallowed'], + [[69888, 69940], 'valid'], + [[69941, 69941], 'disallowed'], + [[69942, 69951], 'valid'], + [[69952, 69955], 'valid', [], 'NV8'], + [[69956, 69967], 'disallowed'], + [[69968, 70003], 'valid'], + [[70004, 70005], 'valid', [], 'NV8'], + [[70006, 70006], 'valid'], + [[70007, 70015], 'disallowed'], + [[70016, 70084], 'valid'], + [[70085, 70088], 'valid', [], 'NV8'], + [[70089, 70089], 'valid', [], 'NV8'], + [[70090, 70092], 'valid'], + [[70093, 70093], 'valid', [], 'NV8'], + [[70094, 70095], 'disallowed'], + [[70096, 70105], 'valid'], + [[70106, 70106], 'valid'], + [[70107, 70107], 'valid', [], 'NV8'], + [[70108, 70108], 'valid'], + [[70109, 70111], 'valid', [], 'NV8'], + [[70112, 70112], 'disallowed'], + [[70113, 70132], 'valid', [], 'NV8'], + [[70133, 70143], 'disallowed'], + [[70144, 70161], 'valid'], + [[70162, 70162], 'disallowed'], + [[70163, 70199], 'valid'], + [[70200, 70205], 'valid', [], 'NV8'], + [[70206, 70271], 'disallowed'], + [[70272, 70278], 'valid'], + [[70279, 70279], 'disallowed'], + [[70280, 70280], 'valid'], + [[70281, 70281], 'disallowed'], + [[70282, 70285], 'valid'], + [[70286, 70286], 'disallowed'], + [[70287, 70301], 'valid'], + [[70302, 70302], 'disallowed'], + [[70303, 70312], 'valid'], + [[70313, 70313], 'valid', [], 'NV8'], + [[70314, 70319], 'disallowed'], + [[70320, 70378], 'valid'], + [[70379, 70383], 'disallowed'], + [[70384, 70393], 'valid'], + [[70394, 70399], 'disallowed'], + [[70400, 70400], 'valid'], + [[70401, 70403], 'valid'], + [[70404, 70404], 'disallowed'], + [[70405, 70412], 'valid'], + [[70413, 70414], 'disallowed'], + [[70415, 70416], 'valid'], + [[70417, 70418], 'disallowed'], + [[70419, 70440], 'valid'], + [[70441, 70441], 'disallowed'], + [[70442, 70448], 'valid'], + [[70449, 70449], 'disallowed'], + [[70450, 70451], 'valid'], + [[70452, 70452], 'disallowed'], + [[70453, 70457], 'valid'], + [[70458, 70459], 'disallowed'], + [[70460, 70468], 'valid'], + [[70469, 70470], 'disallowed'], + [[70471, 70472], 'valid'], + [[70473, 70474], 'disallowed'], + [[70475, 70477], 'valid'], + [[70478, 70479], 'disallowed'], + [[70480, 70480], 'valid'], + [[70481, 70486], 'disallowed'], + [[70487, 70487], 'valid'], + [[70488, 70492], 'disallowed'], + [[70493, 70499], 'valid'], + [[70500, 70501], 'disallowed'], + [[70502, 70508], 'valid'], + [[70509, 70511], 'disallowed'], + [[70512, 70516], 'valid'], + [[70517, 70783], 'disallowed'], + [[70784, 70853], 'valid'], + [[70854, 70854], 'valid', [], 'NV8'], + [[70855, 70855], 'valid'], + [[70856, 70863], 'disallowed'], + [[70864, 70873], 'valid'], + [[70874, 71039], 'disallowed'], + [[71040, 71093], 'valid'], + [[71094, 71095], 'disallowed'], + [[71096, 71104], 'valid'], + [[71105, 71113], 'valid', [], 'NV8'], + [[71114, 71127], 'valid', [], 'NV8'], + [[71128, 71133], 'valid'], + [[71134, 71167], 'disallowed'], + [[71168, 71232], 'valid'], + [[71233, 71235], 'valid', [], 'NV8'], + [[71236, 71236], 'valid'], + [[71237, 71247], 'disallowed'], + [[71248, 71257], 'valid'], + [[71258, 71295], 'disallowed'], + [[71296, 71351], 'valid'], + [[71352, 71359], 'disallowed'], + [[71360, 71369], 'valid'], + [[71370, 71423], 'disallowed'], + [[71424, 71449], 'valid'], + [[71450, 71452], 'disallowed'], + [[71453, 71467], 'valid'], + [[71468, 71471], 'disallowed'], + [[71472, 71481], 'valid'], + [[71482, 71487], 'valid', [], 'NV8'], + [[71488, 71839], 'disallowed'], + [[71840, 71840], 'mapped', [71872]], + [[71841, 71841], 'mapped', [71873]], + [[71842, 71842], 'mapped', [71874]], + [[71843, 71843], 'mapped', [71875]], + [[71844, 71844], 'mapped', [71876]], + [[71845, 71845], 'mapped', [71877]], + [[71846, 71846], 'mapped', [71878]], + [[71847, 71847], 'mapped', [71879]], + [[71848, 71848], 'mapped', [71880]], + [[71849, 71849], 'mapped', [71881]], + [[71850, 71850], 'mapped', [71882]], + [[71851, 71851], 'mapped', [71883]], + [[71852, 71852], 'mapped', [71884]], + [[71853, 71853], 'mapped', [71885]], + [[71854, 71854], 'mapped', [71886]], + [[71855, 71855], 'mapped', [71887]], + [[71856, 71856], 'mapped', [71888]], + [[71857, 71857], 'mapped', [71889]], + [[71858, 71858], 'mapped', [71890]], + [[71859, 71859], 'mapped', [71891]], + [[71860, 71860], 'mapped', [71892]], + [[71861, 71861], 'mapped', [71893]], + [[71862, 71862], 'mapped', [71894]], + [[71863, 71863], 'mapped', [71895]], + [[71864, 71864], 'mapped', [71896]], + [[71865, 71865], 'mapped', [71897]], + [[71866, 71866], 'mapped', [71898]], + [[71867, 71867], 'mapped', [71899]], + [[71868, 71868], 'mapped', [71900]], + [[71869, 71869], 'mapped', [71901]], + [[71870, 71870], 'mapped', [71902]], + [[71871, 71871], 'mapped', [71903]], + [[71872, 71913], 'valid'], + [[71914, 71922], 'valid', [], 'NV8'], + [[71923, 71934], 'disallowed'], + [[71935, 71935], 'valid'], + [[71936, 72383], 'disallowed'], + [[72384, 72440], 'valid'], + [[72441, 73727], 'disallowed'], + [[73728, 74606], 'valid'], + [[74607, 74648], 'valid'], + [[74649, 74649], 'valid'], + [[74650, 74751], 'disallowed'], + [[74752, 74850], 'valid', [], 'NV8'], + [[74851, 74862], 'valid', [], 'NV8'], + [[74863, 74863], 'disallowed'], + [[74864, 74867], 'valid', [], 'NV8'], + [[74868, 74868], 'valid', [], 'NV8'], + [[74869, 74879], 'disallowed'], + [[74880, 75075], 'valid'], + [[75076, 77823], 'disallowed'], + [[77824, 78894], 'valid'], + [[78895, 82943], 'disallowed'], + [[82944, 83526], 'valid'], + [[83527, 92159], 'disallowed'], + [[92160, 92728], 'valid'], + [[92729, 92735], 'disallowed'], + [[92736, 92766], 'valid'], + [[92767, 92767], 'disallowed'], + [[92768, 92777], 'valid'], + [[92778, 92781], 'disallowed'], + [[92782, 92783], 'valid', [], 'NV8'], + [[92784, 92879], 'disallowed'], + [[92880, 92909], 'valid'], + [[92910, 92911], 'disallowed'], + [[92912, 92916], 'valid'], + [[92917, 92917], 'valid', [], 'NV8'], + [[92918, 92927], 'disallowed'], + [[92928, 92982], 'valid'], + [[92983, 92991], 'valid', [], 'NV8'], + [[92992, 92995], 'valid'], + [[92996, 92997], 'valid', [], 'NV8'], + [[92998, 93007], 'disallowed'], + [[93008, 93017], 'valid'], + [[93018, 93018], 'disallowed'], + [[93019, 93025], 'valid', [], 'NV8'], + [[93026, 93026], 'disallowed'], + [[93027, 93047], 'valid'], + [[93048, 93052], 'disallowed'], + [[93053, 93071], 'valid'], + [[93072, 93951], 'disallowed'], + [[93952, 94020], 'valid'], + [[94021, 94031], 'disallowed'], + [[94032, 94078], 'valid'], + [[94079, 94094], 'disallowed'], + [[94095, 94111], 'valid'], + [[94112, 110591], 'disallowed'], + [[110592, 110593], 'valid'], + [[110594, 113663], 'disallowed'], + [[113664, 113770], 'valid'], + [[113771, 113775], 'disallowed'], + [[113776, 113788], 'valid'], + [[113789, 113791], 'disallowed'], + [[113792, 113800], 'valid'], + [[113801, 113807], 'disallowed'], + [[113808, 113817], 'valid'], + [[113818, 113819], 'disallowed'], + [[113820, 113820], 'valid', [], 'NV8'], + [[113821, 113822], 'valid'], + [[113823, 113823], 'valid', [], 'NV8'], + [[113824, 113827], 'ignored'], + [[113828, 118783], 'disallowed'], + [[118784, 119029], 'valid', [], 'NV8'], + [[119030, 119039], 'disallowed'], + [[119040, 119078], 'valid', [], 'NV8'], + [[119079, 119080], 'disallowed'], + [[119081, 119081], 'valid', [], 'NV8'], + [[119082, 119133], 'valid', [], 'NV8'], + [[119134, 119134], 'mapped', [119127, 119141]], + [[119135, 119135], 'mapped', [119128, 119141]], + [[119136, 119136], 'mapped', [119128, 119141, 119150]], + [[119137, 119137], 'mapped', [119128, 119141, 119151]], + [[119138, 119138], 'mapped', [119128, 119141, 119152]], + [[119139, 119139], 'mapped', [119128, 119141, 119153]], + [[119140, 119140], 'mapped', [119128, 119141, 119154]], + [[119141, 119154], 'valid', [], 'NV8'], + [[119155, 119162], 'disallowed'], + [[119163, 119226], 'valid', [], 'NV8'], + [[119227, 119227], 'mapped', [119225, 119141]], + [[119228, 119228], 'mapped', [119226, 119141]], + [[119229, 119229], 'mapped', [119225, 119141, 119150]], + [[119230, 119230], 'mapped', [119226, 119141, 119150]], + [[119231, 119231], 'mapped', [119225, 119141, 119151]], + [[119232, 119232], 'mapped', [119226, 119141, 119151]], + [[119233, 119261], 'valid', [], 'NV8'], + [[119262, 119272], 'valid', [], 'NV8'], + [[119273, 119295], 'disallowed'], + [[119296, 119365], 'valid', [], 'NV8'], + [[119366, 119551], 'disallowed'], + [[119552, 119638], 'valid', [], 'NV8'], + [[119639, 119647], 'disallowed'], + [[119648, 119665], 'valid', [], 'NV8'], + [[119666, 119807], 'disallowed'], + [[119808, 119808], 'mapped', [97]], + [[119809, 119809], 'mapped', [98]], + [[119810, 119810], 'mapped', [99]], + [[119811, 119811], 'mapped', [100]], + [[119812, 119812], 'mapped', [101]], + [[119813, 119813], 'mapped', [102]], + [[119814, 119814], 'mapped', [103]], + [[119815, 119815], 'mapped', [104]], + [[119816, 119816], 'mapped', [105]], + [[119817, 119817], 'mapped', [106]], + [[119818, 119818], 'mapped', [107]], + [[119819, 119819], 'mapped', [108]], + [[119820, 119820], 'mapped', [109]], + [[119821, 119821], 'mapped', [110]], + [[119822, 119822], 'mapped', [111]], + [[119823, 119823], 'mapped', [112]], + [[119824, 119824], 'mapped', [113]], + [[119825, 119825], 'mapped', [114]], + [[119826, 119826], 'mapped', [115]], + [[119827, 119827], 'mapped', [116]], + [[119828, 119828], 'mapped', [117]], + [[119829, 119829], 'mapped', [118]], + [[119830, 119830], 'mapped', [119]], + [[119831, 119831], 'mapped', [120]], + [[119832, 119832], 'mapped', [121]], + [[119833, 119833], 'mapped', [122]], + [[119834, 119834], 'mapped', [97]], + [[119835, 119835], 'mapped', [98]], + [[119836, 119836], 'mapped', [99]], + [[119837, 119837], 'mapped', [100]], + [[119838, 119838], 'mapped', [101]], + [[119839, 119839], 'mapped', [102]], + [[119840, 119840], 'mapped', [103]], + [[119841, 119841], 'mapped', [104]], + [[119842, 119842], 'mapped', [105]], + [[119843, 119843], 'mapped', [106]], + [[119844, 119844], 'mapped', [107]], + [[119845, 119845], 'mapped', [108]], + [[119846, 119846], 'mapped', [109]], + [[119847, 119847], 'mapped', [110]], + [[119848, 119848], 'mapped', [111]], + [[119849, 119849], 'mapped', [112]], + [[119850, 119850], 'mapped', [113]], + [[119851, 119851], 'mapped', [114]], + [[119852, 119852], 'mapped', [115]], + [[119853, 119853], 'mapped', [116]], + [[119854, 119854], 'mapped', [117]], + [[119855, 119855], 'mapped', [118]], + [[119856, 119856], 'mapped', [119]], + [[119857, 119857], 'mapped', [120]], + [[119858, 119858], 'mapped', [121]], + [[119859, 119859], 'mapped', [122]], + [[119860, 119860], 'mapped', [97]], + [[119861, 119861], 'mapped', [98]], + [[119862, 119862], 'mapped', [99]], + [[119863, 119863], 'mapped', [100]], + [[119864, 119864], 'mapped', [101]], + [[119865, 119865], 'mapped', [102]], + [[119866, 119866], 'mapped', [103]], + [[119867, 119867], 'mapped', [104]], + [[119868, 119868], 'mapped', [105]], + [[119869, 119869], 'mapped', [106]], + [[119870, 119870], 'mapped', [107]], + [[119871, 119871], 'mapped', [108]], + [[119872, 119872], 'mapped', [109]], + [[119873, 119873], 'mapped', [110]], + [[119874, 119874], 'mapped', [111]], + [[119875, 119875], 'mapped', [112]], + [[119876, 119876], 'mapped', [113]], + [[119877, 119877], 'mapped', [114]], + [[119878, 119878], 'mapped', [115]], + [[119879, 119879], 'mapped', [116]], + [[119880, 119880], 'mapped', [117]], + [[119881, 119881], 'mapped', [118]], + [[119882, 119882], 'mapped', [119]], + [[119883, 119883], 'mapped', [120]], + [[119884, 119884], 'mapped', [121]], + [[119885, 119885], 'mapped', [122]], + [[119886, 119886], 'mapped', [97]], + [[119887, 119887], 'mapped', [98]], + [[119888, 119888], 'mapped', [99]], + [[119889, 119889], 'mapped', [100]], + [[119890, 119890], 'mapped', [101]], + [[119891, 119891], 'mapped', [102]], + [[119892, 119892], 'mapped', [103]], + [[119893, 119893], 'disallowed'], + [[119894, 119894], 'mapped', [105]], + [[119895, 119895], 'mapped', [106]], + [[119896, 119896], 'mapped', [107]], + [[119897, 119897], 'mapped', [108]], + [[119898, 119898], 'mapped', [109]], + [[119899, 119899], 'mapped', [110]], + [[119900, 119900], 'mapped', [111]], + [[119901, 119901], 'mapped', [112]], + [[119902, 119902], 'mapped', [113]], + [[119903, 119903], 'mapped', [114]], + [[119904, 119904], 'mapped', [115]], + [[119905, 119905], 'mapped', [116]], + [[119906, 119906], 'mapped', [117]], + [[119907, 119907], 'mapped', [118]], + [[119908, 119908], 'mapped', [119]], + [[119909, 119909], 'mapped', [120]], + [[119910, 119910], 'mapped', [121]], + [[119911, 119911], 'mapped', [122]], + [[119912, 119912], 'mapped', [97]], + [[119913, 119913], 'mapped', [98]], + [[119914, 119914], 'mapped', [99]], + [[119915, 119915], 'mapped', [100]], + [[119916, 119916], 'mapped', [101]], + [[119917, 119917], 'mapped', [102]], + [[119918, 119918], 'mapped', [103]], + [[119919, 119919], 'mapped', [104]], + [[119920, 119920], 'mapped', [105]], + [[119921, 119921], 'mapped', [106]], + [[119922, 119922], 'mapped', [107]], + [[119923, 119923], 'mapped', [108]], + [[119924, 119924], 'mapped', [109]], + [[119925, 119925], 'mapped', [110]], + [[119926, 119926], 'mapped', [111]], + [[119927, 119927], 'mapped', [112]], + [[119928, 119928], 'mapped', [113]], + [[119929, 119929], 'mapped', [114]], + [[119930, 119930], 'mapped', [115]], + [[119931, 119931], 'mapped', [116]], + [[119932, 119932], 'mapped', [117]], + [[119933, 119933], 'mapped', [118]], + [[119934, 119934], 'mapped', [119]], + [[119935, 119935], 'mapped', [120]], + [[119936, 119936], 'mapped', [121]], + [[119937, 119937], 'mapped', [122]], + [[119938, 119938], 'mapped', [97]], + [[119939, 119939], 'mapped', [98]], + [[119940, 119940], 'mapped', [99]], + [[119941, 119941], 'mapped', [100]], + [[119942, 119942], 'mapped', [101]], + [[119943, 119943], 'mapped', [102]], + [[119944, 119944], 'mapped', [103]], + [[119945, 119945], 'mapped', [104]], + [[119946, 119946], 'mapped', [105]], + [[119947, 119947], 'mapped', [106]], + [[119948, 119948], 'mapped', [107]], + [[119949, 119949], 'mapped', [108]], + [[119950, 119950], 'mapped', [109]], + [[119951, 119951], 'mapped', [110]], + [[119952, 119952], 'mapped', [111]], + [[119953, 119953], 'mapped', [112]], + [[119954, 119954], 'mapped', [113]], + [[119955, 119955], 'mapped', [114]], + [[119956, 119956], 'mapped', [115]], + [[119957, 119957], 'mapped', [116]], + [[119958, 119958], 'mapped', [117]], + [[119959, 119959], 'mapped', [118]], + [[119960, 119960], 'mapped', [119]], + [[119961, 119961], 'mapped', [120]], + [[119962, 119962], 'mapped', [121]], + [[119963, 119963], 'mapped', [122]], + [[119964, 119964], 'mapped', [97]], + [[119965, 119965], 'disallowed'], + [[119966, 119966], 'mapped', [99]], + [[119967, 119967], 'mapped', [100]], + [[119968, 119969], 'disallowed'], + [[119970, 119970], 'mapped', [103]], + [[119971, 119972], 'disallowed'], + [[119973, 119973], 'mapped', [106]], + [[119974, 119974], 'mapped', [107]], + [[119975, 119976], 'disallowed'], + [[119977, 119977], 'mapped', [110]], + [[119978, 119978], 'mapped', [111]], + [[119979, 119979], 'mapped', [112]], + [[119980, 119980], 'mapped', [113]], + [[119981, 119981], 'disallowed'], + [[119982, 119982], 'mapped', [115]], + [[119983, 119983], 'mapped', [116]], + [[119984, 119984], 'mapped', [117]], + [[119985, 119985], 'mapped', [118]], + [[119986, 119986], 'mapped', [119]], + [[119987, 119987], 'mapped', [120]], + [[119988, 119988], 'mapped', [121]], + [[119989, 119989], 'mapped', [122]], + [[119990, 119990], 'mapped', [97]], + [[119991, 119991], 'mapped', [98]], + [[119992, 119992], 'mapped', [99]], + [[119993, 119993], 'mapped', [100]], + [[119994, 119994], 'disallowed'], + [[119995, 119995], 'mapped', [102]], + [[119996, 119996], 'disallowed'], + [[119997, 119997], 'mapped', [104]], + [[119998, 119998], 'mapped', [105]], + [[119999, 119999], 'mapped', [106]], + [[12e4, 12e4], 'mapped', [107]], + [[120001, 120001], 'mapped', [108]], + [[120002, 120002], 'mapped', [109]], + [[120003, 120003], 'mapped', [110]], + [[120004, 120004], 'disallowed'], + [[120005, 120005], 'mapped', [112]], + [[120006, 120006], 'mapped', [113]], + [[120007, 120007], 'mapped', [114]], + [[120008, 120008], 'mapped', [115]], + [[120009, 120009], 'mapped', [116]], + [[120010, 120010], 'mapped', [117]], + [[120011, 120011], 'mapped', [118]], + [[120012, 120012], 'mapped', [119]], + [[120013, 120013], 'mapped', [120]], + [[120014, 120014], 'mapped', [121]], + [[120015, 120015], 'mapped', [122]], + [[120016, 120016], 'mapped', [97]], + [[120017, 120017], 'mapped', [98]], + [[120018, 120018], 'mapped', [99]], + [[120019, 120019], 'mapped', [100]], + [[120020, 120020], 'mapped', [101]], + [[120021, 120021], 'mapped', [102]], + [[120022, 120022], 'mapped', [103]], + [[120023, 120023], 'mapped', [104]], + [[120024, 120024], 'mapped', [105]], + [[120025, 120025], 'mapped', [106]], + [[120026, 120026], 'mapped', [107]], + [[120027, 120027], 'mapped', [108]], + [[120028, 120028], 'mapped', [109]], + [[120029, 120029], 'mapped', [110]], + [[120030, 120030], 'mapped', [111]], + [[120031, 120031], 'mapped', [112]], + [[120032, 120032], 'mapped', [113]], + [[120033, 120033], 'mapped', [114]], + [[120034, 120034], 'mapped', [115]], + [[120035, 120035], 'mapped', [116]], + [[120036, 120036], 'mapped', [117]], + [[120037, 120037], 'mapped', [118]], + [[120038, 120038], 'mapped', [119]], + [[120039, 120039], 'mapped', [120]], + [[120040, 120040], 'mapped', [121]], + [[120041, 120041], 'mapped', [122]], + [[120042, 120042], 'mapped', [97]], + [[120043, 120043], 'mapped', [98]], + [[120044, 120044], 'mapped', [99]], + [[120045, 120045], 'mapped', [100]], + [[120046, 120046], 'mapped', [101]], + [[120047, 120047], 'mapped', [102]], + [[120048, 120048], 'mapped', [103]], + [[120049, 120049], 'mapped', [104]], + [[120050, 120050], 'mapped', [105]], + [[120051, 120051], 'mapped', [106]], + [[120052, 120052], 'mapped', [107]], + [[120053, 120053], 'mapped', [108]], + [[120054, 120054], 'mapped', [109]], + [[120055, 120055], 'mapped', [110]], + [[120056, 120056], 'mapped', [111]], + [[120057, 120057], 'mapped', [112]], + [[120058, 120058], 'mapped', [113]], + [[120059, 120059], 'mapped', [114]], + [[120060, 120060], 'mapped', [115]], + [[120061, 120061], 'mapped', [116]], + [[120062, 120062], 'mapped', [117]], + [[120063, 120063], 'mapped', [118]], + [[120064, 120064], 'mapped', [119]], + [[120065, 120065], 'mapped', [120]], + [[120066, 120066], 'mapped', [121]], + [[120067, 120067], 'mapped', [122]], + [[120068, 120068], 'mapped', [97]], + [[120069, 120069], 'mapped', [98]], + [[120070, 120070], 'disallowed'], + [[120071, 120071], 'mapped', [100]], + [[120072, 120072], 'mapped', [101]], + [[120073, 120073], 'mapped', [102]], + [[120074, 120074], 'mapped', [103]], + [[120075, 120076], 'disallowed'], + [[120077, 120077], 'mapped', [106]], + [[120078, 120078], 'mapped', [107]], + [[120079, 120079], 'mapped', [108]], + [[120080, 120080], 'mapped', [109]], + [[120081, 120081], 'mapped', [110]], + [[120082, 120082], 'mapped', [111]], + [[120083, 120083], 'mapped', [112]], + [[120084, 120084], 'mapped', [113]], + [[120085, 120085], 'disallowed'], + [[120086, 120086], 'mapped', [115]], + [[120087, 120087], 'mapped', [116]], + [[120088, 120088], 'mapped', [117]], + [[120089, 120089], 'mapped', [118]], + [[120090, 120090], 'mapped', [119]], + [[120091, 120091], 'mapped', [120]], + [[120092, 120092], 'mapped', [121]], + [[120093, 120093], 'disallowed'], + [[120094, 120094], 'mapped', [97]], + [[120095, 120095], 'mapped', [98]], + [[120096, 120096], 'mapped', [99]], + [[120097, 120097], 'mapped', [100]], + [[120098, 120098], 'mapped', [101]], + [[120099, 120099], 'mapped', [102]], + [[120100, 120100], 'mapped', [103]], + [[120101, 120101], 'mapped', [104]], + [[120102, 120102], 'mapped', [105]], + [[120103, 120103], 'mapped', [106]], + [[120104, 120104], 'mapped', [107]], + [[120105, 120105], 'mapped', [108]], + [[120106, 120106], 'mapped', [109]], + [[120107, 120107], 'mapped', [110]], + [[120108, 120108], 'mapped', [111]], + [[120109, 120109], 'mapped', [112]], + [[120110, 120110], 'mapped', [113]], + [[120111, 120111], 'mapped', [114]], + [[120112, 120112], 'mapped', [115]], + [[120113, 120113], 'mapped', [116]], + [[120114, 120114], 'mapped', [117]], + [[120115, 120115], 'mapped', [118]], + [[120116, 120116], 'mapped', [119]], + [[120117, 120117], 'mapped', [120]], + [[120118, 120118], 'mapped', [121]], + [[120119, 120119], 'mapped', [122]], + [[120120, 120120], 'mapped', [97]], + [[120121, 120121], 'mapped', [98]], + [[120122, 120122], 'disallowed'], + [[120123, 120123], 'mapped', [100]], + [[120124, 120124], 'mapped', [101]], + [[120125, 120125], 'mapped', [102]], + [[120126, 120126], 'mapped', [103]], + [[120127, 120127], 'disallowed'], + [[120128, 120128], 'mapped', [105]], + [[120129, 120129], 'mapped', [106]], + [[120130, 120130], 'mapped', [107]], + [[120131, 120131], 'mapped', [108]], + [[120132, 120132], 'mapped', [109]], + [[120133, 120133], 'disallowed'], + [[120134, 120134], 'mapped', [111]], + [[120135, 120137], 'disallowed'], + [[120138, 120138], 'mapped', [115]], + [[120139, 120139], 'mapped', [116]], + [[120140, 120140], 'mapped', [117]], + [[120141, 120141], 'mapped', [118]], + [[120142, 120142], 'mapped', [119]], + [[120143, 120143], 'mapped', [120]], + [[120144, 120144], 'mapped', [121]], + [[120145, 120145], 'disallowed'], + [[120146, 120146], 'mapped', [97]], + [[120147, 120147], 'mapped', [98]], + [[120148, 120148], 'mapped', [99]], + [[120149, 120149], 'mapped', [100]], + [[120150, 120150], 'mapped', [101]], + [[120151, 120151], 'mapped', [102]], + [[120152, 120152], 'mapped', [103]], + [[120153, 120153], 'mapped', [104]], + [[120154, 120154], 'mapped', [105]], + [[120155, 120155], 'mapped', [106]], + [[120156, 120156], 'mapped', [107]], + [[120157, 120157], 'mapped', [108]], + [[120158, 120158], 'mapped', [109]], + [[120159, 120159], 'mapped', [110]], + [[120160, 120160], 'mapped', [111]], + [[120161, 120161], 'mapped', [112]], + [[120162, 120162], 'mapped', [113]], + [[120163, 120163], 'mapped', [114]], + [[120164, 120164], 'mapped', [115]], + [[120165, 120165], 'mapped', [116]], + [[120166, 120166], 'mapped', [117]], + [[120167, 120167], 'mapped', [118]], + [[120168, 120168], 'mapped', [119]], + [[120169, 120169], 'mapped', [120]], + [[120170, 120170], 'mapped', [121]], + [[120171, 120171], 'mapped', [122]], + [[120172, 120172], 'mapped', [97]], + [[120173, 120173], 'mapped', [98]], + [[120174, 120174], 'mapped', [99]], + [[120175, 120175], 'mapped', [100]], + [[120176, 120176], 'mapped', [101]], + [[120177, 120177], 'mapped', [102]], + [[120178, 120178], 'mapped', [103]], + [[120179, 120179], 'mapped', [104]], + [[120180, 120180], 'mapped', [105]], + [[120181, 120181], 'mapped', [106]], + [[120182, 120182], 'mapped', [107]], + [[120183, 120183], 'mapped', [108]], + [[120184, 120184], 'mapped', [109]], + [[120185, 120185], 'mapped', [110]], + [[120186, 120186], 'mapped', [111]], + [[120187, 120187], 'mapped', [112]], + [[120188, 120188], 'mapped', [113]], + [[120189, 120189], 'mapped', [114]], + [[120190, 120190], 'mapped', [115]], + [[120191, 120191], 'mapped', [116]], + [[120192, 120192], 'mapped', [117]], + [[120193, 120193], 'mapped', [118]], + [[120194, 120194], 'mapped', [119]], + [[120195, 120195], 'mapped', [120]], + [[120196, 120196], 'mapped', [121]], + [[120197, 120197], 'mapped', [122]], + [[120198, 120198], 'mapped', [97]], + [[120199, 120199], 'mapped', [98]], + [[120200, 120200], 'mapped', [99]], + [[120201, 120201], 'mapped', [100]], + [[120202, 120202], 'mapped', [101]], + [[120203, 120203], 'mapped', [102]], + [[120204, 120204], 'mapped', [103]], + [[120205, 120205], 'mapped', [104]], + [[120206, 120206], 'mapped', [105]], + [[120207, 120207], 'mapped', [106]], + [[120208, 120208], 'mapped', [107]], + [[120209, 120209], 'mapped', [108]], + [[120210, 120210], 'mapped', [109]], + [[120211, 120211], 'mapped', [110]], + [[120212, 120212], 'mapped', [111]], + [[120213, 120213], 'mapped', [112]], + [[120214, 120214], 'mapped', [113]], + [[120215, 120215], 'mapped', [114]], + [[120216, 120216], 'mapped', [115]], + [[120217, 120217], 'mapped', [116]], + [[120218, 120218], 'mapped', [117]], + [[120219, 120219], 'mapped', [118]], + [[120220, 120220], 'mapped', [119]], + [[120221, 120221], 'mapped', [120]], + [[120222, 120222], 'mapped', [121]], + [[120223, 120223], 'mapped', [122]], + [[120224, 120224], 'mapped', [97]], + [[120225, 120225], 'mapped', [98]], + [[120226, 120226], 'mapped', [99]], + [[120227, 120227], 'mapped', [100]], + [[120228, 120228], 'mapped', [101]], + [[120229, 120229], 'mapped', [102]], + [[120230, 120230], 'mapped', [103]], + [[120231, 120231], 'mapped', [104]], + [[120232, 120232], 'mapped', [105]], + [[120233, 120233], 'mapped', [106]], + [[120234, 120234], 'mapped', [107]], + [[120235, 120235], 'mapped', [108]], + [[120236, 120236], 'mapped', [109]], + [[120237, 120237], 'mapped', [110]], + [[120238, 120238], 'mapped', [111]], + [[120239, 120239], 'mapped', [112]], + [[120240, 120240], 'mapped', [113]], + [[120241, 120241], 'mapped', [114]], + [[120242, 120242], 'mapped', [115]], + [[120243, 120243], 'mapped', [116]], + [[120244, 120244], 'mapped', [117]], + [[120245, 120245], 'mapped', [118]], + [[120246, 120246], 'mapped', [119]], + [[120247, 120247], 'mapped', [120]], + [[120248, 120248], 'mapped', [121]], + [[120249, 120249], 'mapped', [122]], + [[120250, 120250], 'mapped', [97]], + [[120251, 120251], 'mapped', [98]], + [[120252, 120252], 'mapped', [99]], + [[120253, 120253], 'mapped', [100]], + [[120254, 120254], 'mapped', [101]], + [[120255, 120255], 'mapped', [102]], + [[120256, 120256], 'mapped', [103]], + [[120257, 120257], 'mapped', [104]], + [[120258, 120258], 'mapped', [105]], + [[120259, 120259], 'mapped', [106]], + [[120260, 120260], 'mapped', [107]], + [[120261, 120261], 'mapped', [108]], + [[120262, 120262], 'mapped', [109]], + [[120263, 120263], 'mapped', [110]], + [[120264, 120264], 'mapped', [111]], + [[120265, 120265], 'mapped', [112]], + [[120266, 120266], 'mapped', [113]], + [[120267, 120267], 'mapped', [114]], + [[120268, 120268], 'mapped', [115]], + [[120269, 120269], 'mapped', [116]], + [[120270, 120270], 'mapped', [117]], + [[120271, 120271], 'mapped', [118]], + [[120272, 120272], 'mapped', [119]], + [[120273, 120273], 'mapped', [120]], + [[120274, 120274], 'mapped', [121]], + [[120275, 120275], 'mapped', [122]], + [[120276, 120276], 'mapped', [97]], + [[120277, 120277], 'mapped', [98]], + [[120278, 120278], 'mapped', [99]], + [[120279, 120279], 'mapped', [100]], + [[120280, 120280], 'mapped', [101]], + [[120281, 120281], 'mapped', [102]], + [[120282, 120282], 'mapped', [103]], + [[120283, 120283], 'mapped', [104]], + [[120284, 120284], 'mapped', [105]], + [[120285, 120285], 'mapped', [106]], + [[120286, 120286], 'mapped', [107]], + [[120287, 120287], 'mapped', [108]], + [[120288, 120288], 'mapped', [109]], + [[120289, 120289], 'mapped', [110]], + [[120290, 120290], 'mapped', [111]], + [[120291, 120291], 'mapped', [112]], + [[120292, 120292], 'mapped', [113]], + [[120293, 120293], 'mapped', [114]], + [[120294, 120294], 'mapped', [115]], + [[120295, 120295], 'mapped', [116]], + [[120296, 120296], 'mapped', [117]], + [[120297, 120297], 'mapped', [118]], + [[120298, 120298], 'mapped', [119]], + [[120299, 120299], 'mapped', [120]], + [[120300, 120300], 'mapped', [121]], + [[120301, 120301], 'mapped', [122]], + [[120302, 120302], 'mapped', [97]], + [[120303, 120303], 'mapped', [98]], + [[120304, 120304], 'mapped', [99]], + [[120305, 120305], 'mapped', [100]], + [[120306, 120306], 'mapped', [101]], + [[120307, 120307], 'mapped', [102]], + [[120308, 120308], 'mapped', [103]], + [[120309, 120309], 'mapped', [104]], + [[120310, 120310], 'mapped', [105]], + [[120311, 120311], 'mapped', [106]], + [[120312, 120312], 'mapped', [107]], + [[120313, 120313], 'mapped', [108]], + [[120314, 120314], 'mapped', [109]], + [[120315, 120315], 'mapped', [110]], + [[120316, 120316], 'mapped', [111]], + [[120317, 120317], 'mapped', [112]], + [[120318, 120318], 'mapped', [113]], + [[120319, 120319], 'mapped', [114]], + [[120320, 120320], 'mapped', [115]], + [[120321, 120321], 'mapped', [116]], + [[120322, 120322], 'mapped', [117]], + [[120323, 120323], 'mapped', [118]], + [[120324, 120324], 'mapped', [119]], + [[120325, 120325], 'mapped', [120]], + [[120326, 120326], 'mapped', [121]], + [[120327, 120327], 'mapped', [122]], + [[120328, 120328], 'mapped', [97]], + [[120329, 120329], 'mapped', [98]], + [[120330, 120330], 'mapped', [99]], + [[120331, 120331], 'mapped', [100]], + [[120332, 120332], 'mapped', [101]], + [[120333, 120333], 'mapped', [102]], + [[120334, 120334], 'mapped', [103]], + [[120335, 120335], 'mapped', [104]], + [[120336, 120336], 'mapped', [105]], + [[120337, 120337], 'mapped', [106]], + [[120338, 120338], 'mapped', [107]], + [[120339, 120339], 'mapped', [108]], + [[120340, 120340], 'mapped', [109]], + [[120341, 120341], 'mapped', [110]], + [[120342, 120342], 'mapped', [111]], + [[120343, 120343], 'mapped', [112]], + [[120344, 120344], 'mapped', [113]], + [[120345, 120345], 'mapped', [114]], + [[120346, 120346], 'mapped', [115]], + [[120347, 120347], 'mapped', [116]], + [[120348, 120348], 'mapped', [117]], + [[120349, 120349], 'mapped', [118]], + [[120350, 120350], 'mapped', [119]], + [[120351, 120351], 'mapped', [120]], + [[120352, 120352], 'mapped', [121]], + [[120353, 120353], 'mapped', [122]], + [[120354, 120354], 'mapped', [97]], + [[120355, 120355], 'mapped', [98]], + [[120356, 120356], 'mapped', [99]], + [[120357, 120357], 'mapped', [100]], + [[120358, 120358], 'mapped', [101]], + [[120359, 120359], 'mapped', [102]], + [[120360, 120360], 'mapped', [103]], + [[120361, 120361], 'mapped', [104]], + [[120362, 120362], 'mapped', [105]], + [[120363, 120363], 'mapped', [106]], + [[120364, 120364], 'mapped', [107]], + [[120365, 120365], 'mapped', [108]], + [[120366, 120366], 'mapped', [109]], + [[120367, 120367], 'mapped', [110]], + [[120368, 120368], 'mapped', [111]], + [[120369, 120369], 'mapped', [112]], + [[120370, 120370], 'mapped', [113]], + [[120371, 120371], 'mapped', [114]], + [[120372, 120372], 'mapped', [115]], + [[120373, 120373], 'mapped', [116]], + [[120374, 120374], 'mapped', [117]], + [[120375, 120375], 'mapped', [118]], + [[120376, 120376], 'mapped', [119]], + [[120377, 120377], 'mapped', [120]], + [[120378, 120378], 'mapped', [121]], + [[120379, 120379], 'mapped', [122]], + [[120380, 120380], 'mapped', [97]], + [[120381, 120381], 'mapped', [98]], + [[120382, 120382], 'mapped', [99]], + [[120383, 120383], 'mapped', [100]], + [[120384, 120384], 'mapped', [101]], + [[120385, 120385], 'mapped', [102]], + [[120386, 120386], 'mapped', [103]], + [[120387, 120387], 'mapped', [104]], + [[120388, 120388], 'mapped', [105]], + [[120389, 120389], 'mapped', [106]], + [[120390, 120390], 'mapped', [107]], + [[120391, 120391], 'mapped', [108]], + [[120392, 120392], 'mapped', [109]], + [[120393, 120393], 'mapped', [110]], + [[120394, 120394], 'mapped', [111]], + [[120395, 120395], 'mapped', [112]], + [[120396, 120396], 'mapped', [113]], + [[120397, 120397], 'mapped', [114]], + [[120398, 120398], 'mapped', [115]], + [[120399, 120399], 'mapped', [116]], + [[120400, 120400], 'mapped', [117]], + [[120401, 120401], 'mapped', [118]], + [[120402, 120402], 'mapped', [119]], + [[120403, 120403], 'mapped', [120]], + [[120404, 120404], 'mapped', [121]], + [[120405, 120405], 'mapped', [122]], + [[120406, 120406], 'mapped', [97]], + [[120407, 120407], 'mapped', [98]], + [[120408, 120408], 'mapped', [99]], + [[120409, 120409], 'mapped', [100]], + [[120410, 120410], 'mapped', [101]], + [[120411, 120411], 'mapped', [102]], + [[120412, 120412], 'mapped', [103]], + [[120413, 120413], 'mapped', [104]], + [[120414, 120414], 'mapped', [105]], + [[120415, 120415], 'mapped', [106]], + [[120416, 120416], 'mapped', [107]], + [[120417, 120417], 'mapped', [108]], + [[120418, 120418], 'mapped', [109]], + [[120419, 120419], 'mapped', [110]], + [[120420, 120420], 'mapped', [111]], + [[120421, 120421], 'mapped', [112]], + [[120422, 120422], 'mapped', [113]], + [[120423, 120423], 'mapped', [114]], + [[120424, 120424], 'mapped', [115]], + [[120425, 120425], 'mapped', [116]], + [[120426, 120426], 'mapped', [117]], + [[120427, 120427], 'mapped', [118]], + [[120428, 120428], 'mapped', [119]], + [[120429, 120429], 'mapped', [120]], + [[120430, 120430], 'mapped', [121]], + [[120431, 120431], 'mapped', [122]], + [[120432, 120432], 'mapped', [97]], + [[120433, 120433], 'mapped', [98]], + [[120434, 120434], 'mapped', [99]], + [[120435, 120435], 'mapped', [100]], + [[120436, 120436], 'mapped', [101]], + [[120437, 120437], 'mapped', [102]], + [[120438, 120438], 'mapped', [103]], + [[120439, 120439], 'mapped', [104]], + [[120440, 120440], 'mapped', [105]], + [[120441, 120441], 'mapped', [106]], + [[120442, 120442], 'mapped', [107]], + [[120443, 120443], 'mapped', [108]], + [[120444, 120444], 'mapped', [109]], + [[120445, 120445], 'mapped', [110]], + [[120446, 120446], 'mapped', [111]], + [[120447, 120447], 'mapped', [112]], + [[120448, 120448], 'mapped', [113]], + [[120449, 120449], 'mapped', [114]], + [[120450, 120450], 'mapped', [115]], + [[120451, 120451], 'mapped', [116]], + [[120452, 120452], 'mapped', [117]], + [[120453, 120453], 'mapped', [118]], + [[120454, 120454], 'mapped', [119]], + [[120455, 120455], 'mapped', [120]], + [[120456, 120456], 'mapped', [121]], + [[120457, 120457], 'mapped', [122]], + [[120458, 120458], 'mapped', [97]], + [[120459, 120459], 'mapped', [98]], + [[120460, 120460], 'mapped', [99]], + [[120461, 120461], 'mapped', [100]], + [[120462, 120462], 'mapped', [101]], + [[120463, 120463], 'mapped', [102]], + [[120464, 120464], 'mapped', [103]], + [[120465, 120465], 'mapped', [104]], + [[120466, 120466], 'mapped', [105]], + [[120467, 120467], 'mapped', [106]], + [[120468, 120468], 'mapped', [107]], + [[120469, 120469], 'mapped', [108]], + [[120470, 120470], 'mapped', [109]], + [[120471, 120471], 'mapped', [110]], + [[120472, 120472], 'mapped', [111]], + [[120473, 120473], 'mapped', [112]], + [[120474, 120474], 'mapped', [113]], + [[120475, 120475], 'mapped', [114]], + [[120476, 120476], 'mapped', [115]], + [[120477, 120477], 'mapped', [116]], + [[120478, 120478], 'mapped', [117]], + [[120479, 120479], 'mapped', [118]], + [[120480, 120480], 'mapped', [119]], + [[120481, 120481], 'mapped', [120]], + [[120482, 120482], 'mapped', [121]], + [[120483, 120483], 'mapped', [122]], + [[120484, 120484], 'mapped', [305]], + [[120485, 120485], 'mapped', [567]], + [[120486, 120487], 'disallowed'], + [[120488, 120488], 'mapped', [945]], + [[120489, 120489], 'mapped', [946]], + [[120490, 120490], 'mapped', [947]], + [[120491, 120491], 'mapped', [948]], + [[120492, 120492], 'mapped', [949]], + [[120493, 120493], 'mapped', [950]], + [[120494, 120494], 'mapped', [951]], + [[120495, 120495], 'mapped', [952]], + [[120496, 120496], 'mapped', [953]], + [[120497, 120497], 'mapped', [954]], + [[120498, 120498], 'mapped', [955]], + [[120499, 120499], 'mapped', [956]], + [[120500, 120500], 'mapped', [957]], + [[120501, 120501], 'mapped', [958]], + [[120502, 120502], 'mapped', [959]], + [[120503, 120503], 'mapped', [960]], + [[120504, 120504], 'mapped', [961]], + [[120505, 120505], 'mapped', [952]], + [[120506, 120506], 'mapped', [963]], + [[120507, 120507], 'mapped', [964]], + [[120508, 120508], 'mapped', [965]], + [[120509, 120509], 'mapped', [966]], + [[120510, 120510], 'mapped', [967]], + [[120511, 120511], 'mapped', [968]], + [[120512, 120512], 'mapped', [969]], + [[120513, 120513], 'mapped', [8711]], + [[120514, 120514], 'mapped', [945]], + [[120515, 120515], 'mapped', [946]], + [[120516, 120516], 'mapped', [947]], + [[120517, 120517], 'mapped', [948]], + [[120518, 120518], 'mapped', [949]], + [[120519, 120519], 'mapped', [950]], + [[120520, 120520], 'mapped', [951]], + [[120521, 120521], 'mapped', [952]], + [[120522, 120522], 'mapped', [953]], + [[120523, 120523], 'mapped', [954]], + [[120524, 120524], 'mapped', [955]], + [[120525, 120525], 'mapped', [956]], + [[120526, 120526], 'mapped', [957]], + [[120527, 120527], 'mapped', [958]], + [[120528, 120528], 'mapped', [959]], + [[120529, 120529], 'mapped', [960]], + [[120530, 120530], 'mapped', [961]], + [[120531, 120532], 'mapped', [963]], + [[120533, 120533], 'mapped', [964]], + [[120534, 120534], 'mapped', [965]], + [[120535, 120535], 'mapped', [966]], + [[120536, 120536], 'mapped', [967]], + [[120537, 120537], 'mapped', [968]], + [[120538, 120538], 'mapped', [969]], + [[120539, 120539], 'mapped', [8706]], + [[120540, 120540], 'mapped', [949]], + [[120541, 120541], 'mapped', [952]], + [[120542, 120542], 'mapped', [954]], + [[120543, 120543], 'mapped', [966]], + [[120544, 120544], 'mapped', [961]], + [[120545, 120545], 'mapped', [960]], + [[120546, 120546], 'mapped', [945]], + [[120547, 120547], 'mapped', [946]], + [[120548, 120548], 'mapped', [947]], + [[120549, 120549], 'mapped', [948]], + [[120550, 120550], 'mapped', [949]], + [[120551, 120551], 'mapped', [950]], + [[120552, 120552], 'mapped', [951]], + [[120553, 120553], 'mapped', [952]], + [[120554, 120554], 'mapped', [953]], + [[120555, 120555], 'mapped', [954]], + [[120556, 120556], 'mapped', [955]], + [[120557, 120557], 'mapped', [956]], + [[120558, 120558], 'mapped', [957]], + [[120559, 120559], 'mapped', [958]], + [[120560, 120560], 'mapped', [959]], + [[120561, 120561], 'mapped', [960]], + [[120562, 120562], 'mapped', [961]], + [[120563, 120563], 'mapped', [952]], + [[120564, 120564], 'mapped', [963]], + [[120565, 120565], 'mapped', [964]], + [[120566, 120566], 'mapped', [965]], + [[120567, 120567], 'mapped', [966]], + [[120568, 120568], 'mapped', [967]], + [[120569, 120569], 'mapped', [968]], + [[120570, 120570], 'mapped', [969]], + [[120571, 120571], 'mapped', [8711]], + [[120572, 120572], 'mapped', [945]], + [[120573, 120573], 'mapped', [946]], + [[120574, 120574], 'mapped', [947]], + [[120575, 120575], 'mapped', [948]], + [[120576, 120576], 'mapped', [949]], + [[120577, 120577], 'mapped', [950]], + [[120578, 120578], 'mapped', [951]], + [[120579, 120579], 'mapped', [952]], + [[120580, 120580], 'mapped', [953]], + [[120581, 120581], 'mapped', [954]], + [[120582, 120582], 'mapped', [955]], + [[120583, 120583], 'mapped', [956]], + [[120584, 120584], 'mapped', [957]], + [[120585, 120585], 'mapped', [958]], + [[120586, 120586], 'mapped', [959]], + [[120587, 120587], 'mapped', [960]], + [[120588, 120588], 'mapped', [961]], + [[120589, 120590], 'mapped', [963]], + [[120591, 120591], 'mapped', [964]], + [[120592, 120592], 'mapped', [965]], + [[120593, 120593], 'mapped', [966]], + [[120594, 120594], 'mapped', [967]], + [[120595, 120595], 'mapped', [968]], + [[120596, 120596], 'mapped', [969]], + [[120597, 120597], 'mapped', [8706]], + [[120598, 120598], 'mapped', [949]], + [[120599, 120599], 'mapped', [952]], + [[120600, 120600], 'mapped', [954]], + [[120601, 120601], 'mapped', [966]], + [[120602, 120602], 'mapped', [961]], + [[120603, 120603], 'mapped', [960]], + [[120604, 120604], 'mapped', [945]], + [[120605, 120605], 'mapped', [946]], + [[120606, 120606], 'mapped', [947]], + [[120607, 120607], 'mapped', [948]], + [[120608, 120608], 'mapped', [949]], + [[120609, 120609], 'mapped', [950]], + [[120610, 120610], 'mapped', [951]], + [[120611, 120611], 'mapped', [952]], + [[120612, 120612], 'mapped', [953]], + [[120613, 120613], 'mapped', [954]], + [[120614, 120614], 'mapped', [955]], + [[120615, 120615], 'mapped', [956]], + [[120616, 120616], 'mapped', [957]], + [[120617, 120617], 'mapped', [958]], + [[120618, 120618], 'mapped', [959]], + [[120619, 120619], 'mapped', [960]], + [[120620, 120620], 'mapped', [961]], + [[120621, 120621], 'mapped', [952]], + [[120622, 120622], 'mapped', [963]], + [[120623, 120623], 'mapped', [964]], + [[120624, 120624], 'mapped', [965]], + [[120625, 120625], 'mapped', [966]], + [[120626, 120626], 'mapped', [967]], + [[120627, 120627], 'mapped', [968]], + [[120628, 120628], 'mapped', [969]], + [[120629, 120629], 'mapped', [8711]], + [[120630, 120630], 'mapped', [945]], + [[120631, 120631], 'mapped', [946]], + [[120632, 120632], 'mapped', [947]], + [[120633, 120633], 'mapped', [948]], + [[120634, 120634], 'mapped', [949]], + [[120635, 120635], 'mapped', [950]], + [[120636, 120636], 'mapped', [951]], + [[120637, 120637], 'mapped', [952]], + [[120638, 120638], 'mapped', [953]], + [[120639, 120639], 'mapped', [954]], + [[120640, 120640], 'mapped', [955]], + [[120641, 120641], 'mapped', [956]], + [[120642, 120642], 'mapped', [957]], + [[120643, 120643], 'mapped', [958]], + [[120644, 120644], 'mapped', [959]], + [[120645, 120645], 'mapped', [960]], + [[120646, 120646], 'mapped', [961]], + [[120647, 120648], 'mapped', [963]], + [[120649, 120649], 'mapped', [964]], + [[120650, 120650], 'mapped', [965]], + [[120651, 120651], 'mapped', [966]], + [[120652, 120652], 'mapped', [967]], + [[120653, 120653], 'mapped', [968]], + [[120654, 120654], 'mapped', [969]], + [[120655, 120655], 'mapped', [8706]], + [[120656, 120656], 'mapped', [949]], + [[120657, 120657], 'mapped', [952]], + [[120658, 120658], 'mapped', [954]], + [[120659, 120659], 'mapped', [966]], + [[120660, 120660], 'mapped', [961]], + [[120661, 120661], 'mapped', [960]], + [[120662, 120662], 'mapped', [945]], + [[120663, 120663], 'mapped', [946]], + [[120664, 120664], 'mapped', [947]], + [[120665, 120665], 'mapped', [948]], + [[120666, 120666], 'mapped', [949]], + [[120667, 120667], 'mapped', [950]], + [[120668, 120668], 'mapped', [951]], + [[120669, 120669], 'mapped', [952]], + [[120670, 120670], 'mapped', [953]], + [[120671, 120671], 'mapped', [954]], + [[120672, 120672], 'mapped', [955]], + [[120673, 120673], 'mapped', [956]], + [[120674, 120674], 'mapped', [957]], + [[120675, 120675], 'mapped', [958]], + [[120676, 120676], 'mapped', [959]], + [[120677, 120677], 'mapped', [960]], + [[120678, 120678], 'mapped', [961]], + [[120679, 120679], 'mapped', [952]], + [[120680, 120680], 'mapped', [963]], + [[120681, 120681], 'mapped', [964]], + [[120682, 120682], 'mapped', [965]], + [[120683, 120683], 'mapped', [966]], + [[120684, 120684], 'mapped', [967]], + [[120685, 120685], 'mapped', [968]], + [[120686, 120686], 'mapped', [969]], + [[120687, 120687], 'mapped', [8711]], + [[120688, 120688], 'mapped', [945]], + [[120689, 120689], 'mapped', [946]], + [[120690, 120690], 'mapped', [947]], + [[120691, 120691], 'mapped', [948]], + [[120692, 120692], 'mapped', [949]], + [[120693, 120693], 'mapped', [950]], + [[120694, 120694], 'mapped', [951]], + [[120695, 120695], 'mapped', [952]], + [[120696, 120696], 'mapped', [953]], + [[120697, 120697], 'mapped', [954]], + [[120698, 120698], 'mapped', [955]], + [[120699, 120699], 'mapped', [956]], + [[120700, 120700], 'mapped', [957]], + [[120701, 120701], 'mapped', [958]], + [[120702, 120702], 'mapped', [959]], + [[120703, 120703], 'mapped', [960]], + [[120704, 120704], 'mapped', [961]], + [[120705, 120706], 'mapped', [963]], + [[120707, 120707], 'mapped', [964]], + [[120708, 120708], 'mapped', [965]], + [[120709, 120709], 'mapped', [966]], + [[120710, 120710], 'mapped', [967]], + [[120711, 120711], 'mapped', [968]], + [[120712, 120712], 'mapped', [969]], + [[120713, 120713], 'mapped', [8706]], + [[120714, 120714], 'mapped', [949]], + [[120715, 120715], 'mapped', [952]], + [[120716, 120716], 'mapped', [954]], + [[120717, 120717], 'mapped', [966]], + [[120718, 120718], 'mapped', [961]], + [[120719, 120719], 'mapped', [960]], + [[120720, 120720], 'mapped', [945]], + [[120721, 120721], 'mapped', [946]], + [[120722, 120722], 'mapped', [947]], + [[120723, 120723], 'mapped', [948]], + [[120724, 120724], 'mapped', [949]], + [[120725, 120725], 'mapped', [950]], + [[120726, 120726], 'mapped', [951]], + [[120727, 120727], 'mapped', [952]], + [[120728, 120728], 'mapped', [953]], + [[120729, 120729], 'mapped', [954]], + [[120730, 120730], 'mapped', [955]], + [[120731, 120731], 'mapped', [956]], + [[120732, 120732], 'mapped', [957]], + [[120733, 120733], 'mapped', [958]], + [[120734, 120734], 'mapped', [959]], + [[120735, 120735], 'mapped', [960]], + [[120736, 120736], 'mapped', [961]], + [[120737, 120737], 'mapped', [952]], + [[120738, 120738], 'mapped', [963]], + [[120739, 120739], 'mapped', [964]], + [[120740, 120740], 'mapped', [965]], + [[120741, 120741], 'mapped', [966]], + [[120742, 120742], 'mapped', [967]], + [[120743, 120743], 'mapped', [968]], + [[120744, 120744], 'mapped', [969]], + [[120745, 120745], 'mapped', [8711]], + [[120746, 120746], 'mapped', [945]], + [[120747, 120747], 'mapped', [946]], + [[120748, 120748], 'mapped', [947]], + [[120749, 120749], 'mapped', [948]], + [[120750, 120750], 'mapped', [949]], + [[120751, 120751], 'mapped', [950]], + [[120752, 120752], 'mapped', [951]], + [[120753, 120753], 'mapped', [952]], + [[120754, 120754], 'mapped', [953]], + [[120755, 120755], 'mapped', [954]], + [[120756, 120756], 'mapped', [955]], + [[120757, 120757], 'mapped', [956]], + [[120758, 120758], 'mapped', [957]], + [[120759, 120759], 'mapped', [958]], + [[120760, 120760], 'mapped', [959]], + [[120761, 120761], 'mapped', [960]], + [[120762, 120762], 'mapped', [961]], + [[120763, 120764], 'mapped', [963]], + [[120765, 120765], 'mapped', [964]], + [[120766, 120766], 'mapped', [965]], + [[120767, 120767], 'mapped', [966]], + [[120768, 120768], 'mapped', [967]], + [[120769, 120769], 'mapped', [968]], + [[120770, 120770], 'mapped', [969]], + [[120771, 120771], 'mapped', [8706]], + [[120772, 120772], 'mapped', [949]], + [[120773, 120773], 'mapped', [952]], + [[120774, 120774], 'mapped', [954]], + [[120775, 120775], 'mapped', [966]], + [[120776, 120776], 'mapped', [961]], + [[120777, 120777], 'mapped', [960]], + [[120778, 120779], 'mapped', [989]], + [[120780, 120781], 'disallowed'], + [[120782, 120782], 'mapped', [48]], + [[120783, 120783], 'mapped', [49]], + [[120784, 120784], 'mapped', [50]], + [[120785, 120785], 'mapped', [51]], + [[120786, 120786], 'mapped', [52]], + [[120787, 120787], 'mapped', [53]], + [[120788, 120788], 'mapped', [54]], + [[120789, 120789], 'mapped', [55]], + [[120790, 120790], 'mapped', [56]], + [[120791, 120791], 'mapped', [57]], + [[120792, 120792], 'mapped', [48]], + [[120793, 120793], 'mapped', [49]], + [[120794, 120794], 'mapped', [50]], + [[120795, 120795], 'mapped', [51]], + [[120796, 120796], 'mapped', [52]], + [[120797, 120797], 'mapped', [53]], + [[120798, 120798], 'mapped', [54]], + [[120799, 120799], 'mapped', [55]], + [[120800, 120800], 'mapped', [56]], + [[120801, 120801], 'mapped', [57]], + [[120802, 120802], 'mapped', [48]], + [[120803, 120803], 'mapped', [49]], + [[120804, 120804], 'mapped', [50]], + [[120805, 120805], 'mapped', [51]], + [[120806, 120806], 'mapped', [52]], + [[120807, 120807], 'mapped', [53]], + [[120808, 120808], 'mapped', [54]], + [[120809, 120809], 'mapped', [55]], + [[120810, 120810], 'mapped', [56]], + [[120811, 120811], 'mapped', [57]], + [[120812, 120812], 'mapped', [48]], + [[120813, 120813], 'mapped', [49]], + [[120814, 120814], 'mapped', [50]], + [[120815, 120815], 'mapped', [51]], + [[120816, 120816], 'mapped', [52]], + [[120817, 120817], 'mapped', [53]], + [[120818, 120818], 'mapped', [54]], + [[120819, 120819], 'mapped', [55]], + [[120820, 120820], 'mapped', [56]], + [[120821, 120821], 'mapped', [57]], + [[120822, 120822], 'mapped', [48]], + [[120823, 120823], 'mapped', [49]], + [[120824, 120824], 'mapped', [50]], + [[120825, 120825], 'mapped', [51]], + [[120826, 120826], 'mapped', [52]], + [[120827, 120827], 'mapped', [53]], + [[120828, 120828], 'mapped', [54]], + [[120829, 120829], 'mapped', [55]], + [[120830, 120830], 'mapped', [56]], + [[120831, 120831], 'mapped', [57]], + [[120832, 121343], 'valid', [], 'NV8'], + [[121344, 121398], 'valid'], + [[121399, 121402], 'valid', [], 'NV8'], + [[121403, 121452], 'valid'], + [[121453, 121460], 'valid', [], 'NV8'], + [[121461, 121461], 'valid'], + [[121462, 121475], 'valid', [], 'NV8'], + [[121476, 121476], 'valid'], + [[121477, 121483], 'valid', [], 'NV8'], + [[121484, 121498], 'disallowed'], + [[121499, 121503], 'valid'], + [[121504, 121504], 'disallowed'], + [[121505, 121519], 'valid'], + [[121520, 124927], 'disallowed'], + [[124928, 125124], 'valid'], + [[125125, 125126], 'disallowed'], + [[125127, 125135], 'valid', [], 'NV8'], + [[125136, 125142], 'valid'], + [[125143, 126463], 'disallowed'], + [[126464, 126464], 'mapped', [1575]], + [[126465, 126465], 'mapped', [1576]], + [[126466, 126466], 'mapped', [1580]], + [[126467, 126467], 'mapped', [1583]], + [[126468, 126468], 'disallowed'], + [[126469, 126469], 'mapped', [1608]], + [[126470, 126470], 'mapped', [1586]], + [[126471, 126471], 'mapped', [1581]], + [[126472, 126472], 'mapped', [1591]], + [[126473, 126473], 'mapped', [1610]], + [[126474, 126474], 'mapped', [1603]], + [[126475, 126475], 'mapped', [1604]], + [[126476, 126476], 'mapped', [1605]], + [[126477, 126477], 'mapped', [1606]], + [[126478, 126478], 'mapped', [1587]], + [[126479, 126479], 'mapped', [1593]], + [[126480, 126480], 'mapped', [1601]], + [[126481, 126481], 'mapped', [1589]], + [[126482, 126482], 'mapped', [1602]], + [[126483, 126483], 'mapped', [1585]], + [[126484, 126484], 'mapped', [1588]], + [[126485, 126485], 'mapped', [1578]], + [[126486, 126486], 'mapped', [1579]], + [[126487, 126487], 'mapped', [1582]], + [[126488, 126488], 'mapped', [1584]], + [[126489, 126489], 'mapped', [1590]], + [[126490, 126490], 'mapped', [1592]], + [[126491, 126491], 'mapped', [1594]], + [[126492, 126492], 'mapped', [1646]], + [[126493, 126493], 'mapped', [1722]], + [[126494, 126494], 'mapped', [1697]], + [[126495, 126495], 'mapped', [1647]], + [[126496, 126496], 'disallowed'], + [[126497, 126497], 'mapped', [1576]], + [[126498, 126498], 'mapped', [1580]], + [[126499, 126499], 'disallowed'], + [[126500, 126500], 'mapped', [1607]], + [[126501, 126502], 'disallowed'], + [[126503, 126503], 'mapped', [1581]], + [[126504, 126504], 'disallowed'], + [[126505, 126505], 'mapped', [1610]], + [[126506, 126506], 'mapped', [1603]], + [[126507, 126507], 'mapped', [1604]], + [[126508, 126508], 'mapped', [1605]], + [[126509, 126509], 'mapped', [1606]], + [[126510, 126510], 'mapped', [1587]], + [[126511, 126511], 'mapped', [1593]], + [[126512, 126512], 'mapped', [1601]], + [[126513, 126513], 'mapped', [1589]], + [[126514, 126514], 'mapped', [1602]], + [[126515, 126515], 'disallowed'], + [[126516, 126516], 'mapped', [1588]], + [[126517, 126517], 'mapped', [1578]], + [[126518, 126518], 'mapped', [1579]], + [[126519, 126519], 'mapped', [1582]], + [[126520, 126520], 'disallowed'], + [[126521, 126521], 'mapped', [1590]], + [[126522, 126522], 'disallowed'], + [[126523, 126523], 'mapped', [1594]], + [[126524, 126529], 'disallowed'], + [[126530, 126530], 'mapped', [1580]], + [[126531, 126534], 'disallowed'], + [[126535, 126535], 'mapped', [1581]], + [[126536, 126536], 'disallowed'], + [[126537, 126537], 'mapped', [1610]], + [[126538, 126538], 'disallowed'], + [[126539, 126539], 'mapped', [1604]], + [[126540, 126540], 'disallowed'], + [[126541, 126541], 'mapped', [1606]], + [[126542, 126542], 'mapped', [1587]], + [[126543, 126543], 'mapped', [1593]], + [[126544, 126544], 'disallowed'], + [[126545, 126545], 'mapped', [1589]], + [[126546, 126546], 'mapped', [1602]], + [[126547, 126547], 'disallowed'], + [[126548, 126548], 'mapped', [1588]], + [[126549, 126550], 'disallowed'], + [[126551, 126551], 'mapped', [1582]], + [[126552, 126552], 'disallowed'], + [[126553, 126553], 'mapped', [1590]], + [[126554, 126554], 'disallowed'], + [[126555, 126555], 'mapped', [1594]], + [[126556, 126556], 'disallowed'], + [[126557, 126557], 'mapped', [1722]], + [[126558, 126558], 'disallowed'], + [[126559, 126559], 'mapped', [1647]], + [[126560, 126560], 'disallowed'], + [[126561, 126561], 'mapped', [1576]], + [[126562, 126562], 'mapped', [1580]], + [[126563, 126563], 'disallowed'], + [[126564, 126564], 'mapped', [1607]], + [[126565, 126566], 'disallowed'], + [[126567, 126567], 'mapped', [1581]], + [[126568, 126568], 'mapped', [1591]], + [[126569, 126569], 'mapped', [1610]], + [[126570, 126570], 'mapped', [1603]], + [[126571, 126571], 'disallowed'], + [[126572, 126572], 'mapped', [1605]], + [[126573, 126573], 'mapped', [1606]], + [[126574, 126574], 'mapped', [1587]], + [[126575, 126575], 'mapped', [1593]], + [[126576, 126576], 'mapped', [1601]], + [[126577, 126577], 'mapped', [1589]], + [[126578, 126578], 'mapped', [1602]], + [[126579, 126579], 'disallowed'], + [[126580, 126580], 'mapped', [1588]], + [[126581, 126581], 'mapped', [1578]], + [[126582, 126582], 'mapped', [1579]], + [[126583, 126583], 'mapped', [1582]], + [[126584, 126584], 'disallowed'], + [[126585, 126585], 'mapped', [1590]], + [[126586, 126586], 'mapped', [1592]], + [[126587, 126587], 'mapped', [1594]], + [[126588, 126588], 'mapped', [1646]], + [[126589, 126589], 'disallowed'], + [[126590, 126590], 'mapped', [1697]], + [[126591, 126591], 'disallowed'], + [[126592, 126592], 'mapped', [1575]], + [[126593, 126593], 'mapped', [1576]], + [[126594, 126594], 'mapped', [1580]], + [[126595, 126595], 'mapped', [1583]], + [[126596, 126596], 'mapped', [1607]], + [[126597, 126597], 'mapped', [1608]], + [[126598, 126598], 'mapped', [1586]], + [[126599, 126599], 'mapped', [1581]], + [[126600, 126600], 'mapped', [1591]], + [[126601, 126601], 'mapped', [1610]], + [[126602, 126602], 'disallowed'], + [[126603, 126603], 'mapped', [1604]], + [[126604, 126604], 'mapped', [1605]], + [[126605, 126605], 'mapped', [1606]], + [[126606, 126606], 'mapped', [1587]], + [[126607, 126607], 'mapped', [1593]], + [[126608, 126608], 'mapped', [1601]], + [[126609, 126609], 'mapped', [1589]], + [[126610, 126610], 'mapped', [1602]], + [[126611, 126611], 'mapped', [1585]], + [[126612, 126612], 'mapped', [1588]], + [[126613, 126613], 'mapped', [1578]], + [[126614, 126614], 'mapped', [1579]], + [[126615, 126615], 'mapped', [1582]], + [[126616, 126616], 'mapped', [1584]], + [[126617, 126617], 'mapped', [1590]], + [[126618, 126618], 'mapped', [1592]], + [[126619, 126619], 'mapped', [1594]], + [[126620, 126624], 'disallowed'], + [[126625, 126625], 'mapped', [1576]], + [[126626, 126626], 'mapped', [1580]], + [[126627, 126627], 'mapped', [1583]], + [[126628, 126628], 'disallowed'], + [[126629, 126629], 'mapped', [1608]], + [[126630, 126630], 'mapped', [1586]], + [[126631, 126631], 'mapped', [1581]], + [[126632, 126632], 'mapped', [1591]], + [[126633, 126633], 'mapped', [1610]], + [[126634, 126634], 'disallowed'], + [[126635, 126635], 'mapped', [1604]], + [[126636, 126636], 'mapped', [1605]], + [[126637, 126637], 'mapped', [1606]], + [[126638, 126638], 'mapped', [1587]], + [[126639, 126639], 'mapped', [1593]], + [[126640, 126640], 'mapped', [1601]], + [[126641, 126641], 'mapped', [1589]], + [[126642, 126642], 'mapped', [1602]], + [[126643, 126643], 'mapped', [1585]], + [[126644, 126644], 'mapped', [1588]], + [[126645, 126645], 'mapped', [1578]], + [[126646, 126646], 'mapped', [1579]], + [[126647, 126647], 'mapped', [1582]], + [[126648, 126648], 'mapped', [1584]], + [[126649, 126649], 'mapped', [1590]], + [[126650, 126650], 'mapped', [1592]], + [[126651, 126651], 'mapped', [1594]], + [[126652, 126703], 'disallowed'], + [[126704, 126705], 'valid', [], 'NV8'], + [[126706, 126975], 'disallowed'], + [[126976, 127019], 'valid', [], 'NV8'], + [[127020, 127023], 'disallowed'], + [[127024, 127123], 'valid', [], 'NV8'], + [[127124, 127135], 'disallowed'], + [[127136, 127150], 'valid', [], 'NV8'], + [[127151, 127152], 'disallowed'], + [[127153, 127166], 'valid', [], 'NV8'], + [[127167, 127167], 'valid', [], 'NV8'], + [[127168, 127168], 'disallowed'], + [[127169, 127183], 'valid', [], 'NV8'], + [[127184, 127184], 'disallowed'], + [[127185, 127199], 'valid', [], 'NV8'], + [[127200, 127221], 'valid', [], 'NV8'], + [[127222, 127231], 'disallowed'], + [[127232, 127232], 'disallowed'], + [[127233, 127233], 'disallowed_STD3_mapped', [48, 44]], + [[127234, 127234], 'disallowed_STD3_mapped', [49, 44]], + [[127235, 127235], 'disallowed_STD3_mapped', [50, 44]], + [[127236, 127236], 'disallowed_STD3_mapped', [51, 44]], + [[127237, 127237], 'disallowed_STD3_mapped', [52, 44]], + [[127238, 127238], 'disallowed_STD3_mapped', [53, 44]], + [[127239, 127239], 'disallowed_STD3_mapped', [54, 44]], + [[127240, 127240], 'disallowed_STD3_mapped', [55, 44]], + [[127241, 127241], 'disallowed_STD3_mapped', [56, 44]], + [[127242, 127242], 'disallowed_STD3_mapped', [57, 44]], + [[127243, 127244], 'valid', [], 'NV8'], + [[127245, 127247], 'disallowed'], + [[127248, 127248], 'disallowed_STD3_mapped', [40, 97, 41]], + [[127249, 127249], 'disallowed_STD3_mapped', [40, 98, 41]], + [[127250, 127250], 'disallowed_STD3_mapped', [40, 99, 41]], + [[127251, 127251], 'disallowed_STD3_mapped', [40, 100, 41]], + [[127252, 127252], 'disallowed_STD3_mapped', [40, 101, 41]], + [[127253, 127253], 'disallowed_STD3_mapped', [40, 102, 41]], + [[127254, 127254], 'disallowed_STD3_mapped', [40, 103, 41]], + [[127255, 127255], 'disallowed_STD3_mapped', [40, 104, 41]], + [[127256, 127256], 'disallowed_STD3_mapped', [40, 105, 41]], + [[127257, 127257], 'disallowed_STD3_mapped', [40, 106, 41]], + [[127258, 127258], 'disallowed_STD3_mapped', [40, 107, 41]], + [[127259, 127259], 'disallowed_STD3_mapped', [40, 108, 41]], + [[127260, 127260], 'disallowed_STD3_mapped', [40, 109, 41]], + [[127261, 127261], 'disallowed_STD3_mapped', [40, 110, 41]], + [[127262, 127262], 'disallowed_STD3_mapped', [40, 111, 41]], + [[127263, 127263], 'disallowed_STD3_mapped', [40, 112, 41]], + [[127264, 127264], 'disallowed_STD3_mapped', [40, 113, 41]], + [[127265, 127265], 'disallowed_STD3_mapped', [40, 114, 41]], + [[127266, 127266], 'disallowed_STD3_mapped', [40, 115, 41]], + [[127267, 127267], 'disallowed_STD3_mapped', [40, 116, 41]], + [[127268, 127268], 'disallowed_STD3_mapped', [40, 117, 41]], + [[127269, 127269], 'disallowed_STD3_mapped', [40, 118, 41]], + [[127270, 127270], 'disallowed_STD3_mapped', [40, 119, 41]], + [[127271, 127271], 'disallowed_STD3_mapped', [40, 120, 41]], + [[127272, 127272], 'disallowed_STD3_mapped', [40, 121, 41]], + [[127273, 127273], 'disallowed_STD3_mapped', [40, 122, 41]], + [[127274, 127274], 'mapped', [12308, 115, 12309]], + [[127275, 127275], 'mapped', [99]], + [[127276, 127276], 'mapped', [114]], + [[127277, 127277], 'mapped', [99, 100]], + [[127278, 127278], 'mapped', [119, 122]], + [[127279, 127279], 'disallowed'], + [[127280, 127280], 'mapped', [97]], + [[127281, 127281], 'mapped', [98]], + [[127282, 127282], 'mapped', [99]], + [[127283, 127283], 'mapped', [100]], + [[127284, 127284], 'mapped', [101]], + [[127285, 127285], 'mapped', [102]], + [[127286, 127286], 'mapped', [103]], + [[127287, 127287], 'mapped', [104]], + [[127288, 127288], 'mapped', [105]], + [[127289, 127289], 'mapped', [106]], + [[127290, 127290], 'mapped', [107]], + [[127291, 127291], 'mapped', [108]], + [[127292, 127292], 'mapped', [109]], + [[127293, 127293], 'mapped', [110]], + [[127294, 127294], 'mapped', [111]], + [[127295, 127295], 'mapped', [112]], + [[127296, 127296], 'mapped', [113]], + [[127297, 127297], 'mapped', [114]], + [[127298, 127298], 'mapped', [115]], + [[127299, 127299], 'mapped', [116]], + [[127300, 127300], 'mapped', [117]], + [[127301, 127301], 'mapped', [118]], + [[127302, 127302], 'mapped', [119]], + [[127303, 127303], 'mapped', [120]], + [[127304, 127304], 'mapped', [121]], + [[127305, 127305], 'mapped', [122]], + [[127306, 127306], 'mapped', [104, 118]], + [[127307, 127307], 'mapped', [109, 118]], + [[127308, 127308], 'mapped', [115, 100]], + [[127309, 127309], 'mapped', [115, 115]], + [[127310, 127310], 'mapped', [112, 112, 118]], + [[127311, 127311], 'mapped', [119, 99]], + [[127312, 127318], 'valid', [], 'NV8'], + [[127319, 127319], 'valid', [], 'NV8'], + [[127320, 127326], 'valid', [], 'NV8'], + [[127327, 127327], 'valid', [], 'NV8'], + [[127328, 127337], 'valid', [], 'NV8'], + [[127338, 127338], 'mapped', [109, 99]], + [[127339, 127339], 'mapped', [109, 100]], + [[127340, 127343], 'disallowed'], + [[127344, 127352], 'valid', [], 'NV8'], + [[127353, 127353], 'valid', [], 'NV8'], + [[127354, 127354], 'valid', [], 'NV8'], + [[127355, 127356], 'valid', [], 'NV8'], + [[127357, 127358], 'valid', [], 'NV8'], + [[127359, 127359], 'valid', [], 'NV8'], + [[127360, 127369], 'valid', [], 'NV8'], + [[127370, 127373], 'valid', [], 'NV8'], + [[127374, 127375], 'valid', [], 'NV8'], + [[127376, 127376], 'mapped', [100, 106]], + [[127377, 127386], 'valid', [], 'NV8'], + [[127387, 127461], 'disallowed'], + [[127462, 127487], 'valid', [], 'NV8'], + [[127488, 127488], 'mapped', [12411, 12363]], + [[127489, 127489], 'mapped', [12467, 12467]], + [[127490, 127490], 'mapped', [12469]], + [[127491, 127503], 'disallowed'], + [[127504, 127504], 'mapped', [25163]], + [[127505, 127505], 'mapped', [23383]], + [[127506, 127506], 'mapped', [21452]], + [[127507, 127507], 'mapped', [12487]], + [[127508, 127508], 'mapped', [20108]], + [[127509, 127509], 'mapped', [22810]], + [[127510, 127510], 'mapped', [35299]], + [[127511, 127511], 'mapped', [22825]], + [[127512, 127512], 'mapped', [20132]], + [[127513, 127513], 'mapped', [26144]], + [[127514, 127514], 'mapped', [28961]], + [[127515, 127515], 'mapped', [26009]], + [[127516, 127516], 'mapped', [21069]], + [[127517, 127517], 'mapped', [24460]], + [[127518, 127518], 'mapped', [20877]], + [[127519, 127519], 'mapped', [26032]], + [[127520, 127520], 'mapped', [21021]], + [[127521, 127521], 'mapped', [32066]], + [[127522, 127522], 'mapped', [29983]], + [[127523, 127523], 'mapped', [36009]], + [[127524, 127524], 'mapped', [22768]], + [[127525, 127525], 'mapped', [21561]], + [[127526, 127526], 'mapped', [28436]], + [[127527, 127527], 'mapped', [25237]], + [[127528, 127528], 'mapped', [25429]], + [[127529, 127529], 'mapped', [19968]], + [[127530, 127530], 'mapped', [19977]], + [[127531, 127531], 'mapped', [36938]], + [[127532, 127532], 'mapped', [24038]], + [[127533, 127533], 'mapped', [20013]], + [[127534, 127534], 'mapped', [21491]], + [[127535, 127535], 'mapped', [25351]], + [[127536, 127536], 'mapped', [36208]], + [[127537, 127537], 'mapped', [25171]], + [[127538, 127538], 'mapped', [31105]], + [[127539, 127539], 'mapped', [31354]], + [[127540, 127540], 'mapped', [21512]], + [[127541, 127541], 'mapped', [28288]], + [[127542, 127542], 'mapped', [26377]], + [[127543, 127543], 'mapped', [26376]], + [[127544, 127544], 'mapped', [30003]], + [[127545, 127545], 'mapped', [21106]], + [[127546, 127546], 'mapped', [21942]], + [[127547, 127551], 'disallowed'], + [[127552, 127552], 'mapped', [12308, 26412, 12309]], + [[127553, 127553], 'mapped', [12308, 19977, 12309]], + [[127554, 127554], 'mapped', [12308, 20108, 12309]], + [[127555, 127555], 'mapped', [12308, 23433, 12309]], + [[127556, 127556], 'mapped', [12308, 28857, 12309]], + [[127557, 127557], 'mapped', [12308, 25171, 12309]], + [[127558, 127558], 'mapped', [12308, 30423, 12309]], + [[127559, 127559], 'mapped', [12308, 21213, 12309]], + [[127560, 127560], 'mapped', [12308, 25943, 12309]], + [[127561, 127567], 'disallowed'], + [[127568, 127568], 'mapped', [24471]], + [[127569, 127569], 'mapped', [21487]], + [[127570, 127743], 'disallowed'], + [[127744, 127776], 'valid', [], 'NV8'], + [[127777, 127788], 'valid', [], 'NV8'], + [[127789, 127791], 'valid', [], 'NV8'], + [[127792, 127797], 'valid', [], 'NV8'], + [[127798, 127798], 'valid', [], 'NV8'], + [[127799, 127868], 'valid', [], 'NV8'], + [[127869, 127869], 'valid', [], 'NV8'], + [[127870, 127871], 'valid', [], 'NV8'], + [[127872, 127891], 'valid', [], 'NV8'], + [[127892, 127903], 'valid', [], 'NV8'], + [[127904, 127940], 'valid', [], 'NV8'], + [[127941, 127941], 'valid', [], 'NV8'], + [[127942, 127946], 'valid', [], 'NV8'], + [[127947, 127950], 'valid', [], 'NV8'], + [[127951, 127955], 'valid', [], 'NV8'], + [[127956, 127967], 'valid', [], 'NV8'], + [[127968, 127984], 'valid', [], 'NV8'], + [[127985, 127991], 'valid', [], 'NV8'], + [[127992, 127999], 'valid', [], 'NV8'], + [[128e3, 128062], 'valid', [], 'NV8'], + [[128063, 128063], 'valid', [], 'NV8'], + [[128064, 128064], 'valid', [], 'NV8'], + [[128065, 128065], 'valid', [], 'NV8'], + [[128066, 128247], 'valid', [], 'NV8'], + [[128248, 128248], 'valid', [], 'NV8'], + [[128249, 128252], 'valid', [], 'NV8'], + [[128253, 128254], 'valid', [], 'NV8'], + [[128255, 128255], 'valid', [], 'NV8'], + [[128256, 128317], 'valid', [], 'NV8'], + [[128318, 128319], 'valid', [], 'NV8'], + [[128320, 128323], 'valid', [], 'NV8'], + [[128324, 128330], 'valid', [], 'NV8'], + [[128331, 128335], 'valid', [], 'NV8'], + [[128336, 128359], 'valid', [], 'NV8'], + [[128360, 128377], 'valid', [], 'NV8'], + [[128378, 128378], 'disallowed'], + [[128379, 128419], 'valid', [], 'NV8'], + [[128420, 128420], 'disallowed'], + [[128421, 128506], 'valid', [], 'NV8'], + [[128507, 128511], 'valid', [], 'NV8'], + [[128512, 128512], 'valid', [], 'NV8'], + [[128513, 128528], 'valid', [], 'NV8'], + [[128529, 128529], 'valid', [], 'NV8'], + [[128530, 128532], 'valid', [], 'NV8'], + [[128533, 128533], 'valid', [], 'NV8'], + [[128534, 128534], 'valid', [], 'NV8'], + [[128535, 128535], 'valid', [], 'NV8'], + [[128536, 128536], 'valid', [], 'NV8'], + [[128537, 128537], 'valid', [], 'NV8'], + [[128538, 128538], 'valid', [], 'NV8'], + [[128539, 128539], 'valid', [], 'NV8'], + [[128540, 128542], 'valid', [], 'NV8'], + [[128543, 128543], 'valid', [], 'NV8'], + [[128544, 128549], 'valid', [], 'NV8'], + [[128550, 128551], 'valid', [], 'NV8'], + [[128552, 128555], 'valid', [], 'NV8'], + [[128556, 128556], 'valid', [], 'NV8'], + [[128557, 128557], 'valid', [], 'NV8'], + [[128558, 128559], 'valid', [], 'NV8'], + [[128560, 128563], 'valid', [], 'NV8'], + [[128564, 128564], 'valid', [], 'NV8'], + [[128565, 128576], 'valid', [], 'NV8'], + [[128577, 128578], 'valid', [], 'NV8'], + [[128579, 128580], 'valid', [], 'NV8'], + [[128581, 128591], 'valid', [], 'NV8'], + [[128592, 128639], 'valid', [], 'NV8'], + [[128640, 128709], 'valid', [], 'NV8'], + [[128710, 128719], 'valid', [], 'NV8'], + [[128720, 128720], 'valid', [], 'NV8'], + [[128721, 128735], 'disallowed'], + [[128736, 128748], 'valid', [], 'NV8'], + [[128749, 128751], 'disallowed'], + [[128752, 128755], 'valid', [], 'NV8'], + [[128756, 128767], 'disallowed'], + [[128768, 128883], 'valid', [], 'NV8'], + [[128884, 128895], 'disallowed'], + [[128896, 128980], 'valid', [], 'NV8'], + [[128981, 129023], 'disallowed'], + [[129024, 129035], 'valid', [], 'NV8'], + [[129036, 129039], 'disallowed'], + [[129040, 129095], 'valid', [], 'NV8'], + [[129096, 129103], 'disallowed'], + [[129104, 129113], 'valid', [], 'NV8'], + [[129114, 129119], 'disallowed'], + [[129120, 129159], 'valid', [], 'NV8'], + [[129160, 129167], 'disallowed'], + [[129168, 129197], 'valid', [], 'NV8'], + [[129198, 129295], 'disallowed'], + [[129296, 129304], 'valid', [], 'NV8'], + [[129305, 129407], 'disallowed'], + [[129408, 129412], 'valid', [], 'NV8'], + [[129413, 129471], 'disallowed'], + [[129472, 129472], 'valid', [], 'NV8'], + [[129473, 131069], 'disallowed'], + [[131070, 131071], 'disallowed'], + [[131072, 173782], 'valid'], + [[173783, 173823], 'disallowed'], + [[173824, 177972], 'valid'], + [[177973, 177983], 'disallowed'], + [[177984, 178205], 'valid'], + [[178206, 178207], 'disallowed'], + [[178208, 183969], 'valid'], + [[183970, 194559], 'disallowed'], + [[194560, 194560], 'mapped', [20029]], + [[194561, 194561], 'mapped', [20024]], + [[194562, 194562], 'mapped', [20033]], + [[194563, 194563], 'mapped', [131362]], + [[194564, 194564], 'mapped', [20320]], + [[194565, 194565], 'mapped', [20398]], + [[194566, 194566], 'mapped', [20411]], + [[194567, 194567], 'mapped', [20482]], + [[194568, 194568], 'mapped', [20602]], + [[194569, 194569], 'mapped', [20633]], + [[194570, 194570], 'mapped', [20711]], + [[194571, 194571], 'mapped', [20687]], + [[194572, 194572], 'mapped', [13470]], + [[194573, 194573], 'mapped', [132666]], + [[194574, 194574], 'mapped', [20813]], + [[194575, 194575], 'mapped', [20820]], + [[194576, 194576], 'mapped', [20836]], + [[194577, 194577], 'mapped', [20855]], + [[194578, 194578], 'mapped', [132380]], + [[194579, 194579], 'mapped', [13497]], + [[194580, 194580], 'mapped', [20839]], + [[194581, 194581], 'mapped', [20877]], + [[194582, 194582], 'mapped', [132427]], + [[194583, 194583], 'mapped', [20887]], + [[194584, 194584], 'mapped', [20900]], + [[194585, 194585], 'mapped', [20172]], + [[194586, 194586], 'mapped', [20908]], + [[194587, 194587], 'mapped', [20917]], + [[194588, 194588], 'mapped', [168415]], + [[194589, 194589], 'mapped', [20981]], + [[194590, 194590], 'mapped', [20995]], + [[194591, 194591], 'mapped', [13535]], + [[194592, 194592], 'mapped', [21051]], + [[194593, 194593], 'mapped', [21062]], + [[194594, 194594], 'mapped', [21106]], + [[194595, 194595], 'mapped', [21111]], + [[194596, 194596], 'mapped', [13589]], + [[194597, 194597], 'mapped', [21191]], + [[194598, 194598], 'mapped', [21193]], + [[194599, 194599], 'mapped', [21220]], + [[194600, 194600], 'mapped', [21242]], + [[194601, 194601], 'mapped', [21253]], + [[194602, 194602], 'mapped', [21254]], + [[194603, 194603], 'mapped', [21271]], + [[194604, 194604], 'mapped', [21321]], + [[194605, 194605], 'mapped', [21329]], + [[194606, 194606], 'mapped', [21338]], + [[194607, 194607], 'mapped', [21363]], + [[194608, 194608], 'mapped', [21373]], + [[194609, 194611], 'mapped', [21375]], + [[194612, 194612], 'mapped', [133676]], + [[194613, 194613], 'mapped', [28784]], + [[194614, 194614], 'mapped', [21450]], + [[194615, 194615], 'mapped', [21471]], + [[194616, 194616], 'mapped', [133987]], + [[194617, 194617], 'mapped', [21483]], + [[194618, 194618], 'mapped', [21489]], + [[194619, 194619], 'mapped', [21510]], + [[194620, 194620], 'mapped', [21662]], + [[194621, 194621], 'mapped', [21560]], + [[194622, 194622], 'mapped', [21576]], + [[194623, 194623], 'mapped', [21608]], + [[194624, 194624], 'mapped', [21666]], + [[194625, 194625], 'mapped', [21750]], + [[194626, 194626], 'mapped', [21776]], + [[194627, 194627], 'mapped', [21843]], + [[194628, 194628], 'mapped', [21859]], + [[194629, 194630], 'mapped', [21892]], + [[194631, 194631], 'mapped', [21913]], + [[194632, 194632], 'mapped', [21931]], + [[194633, 194633], 'mapped', [21939]], + [[194634, 194634], 'mapped', [21954]], + [[194635, 194635], 'mapped', [22294]], + [[194636, 194636], 'mapped', [22022]], + [[194637, 194637], 'mapped', [22295]], + [[194638, 194638], 'mapped', [22097]], + [[194639, 194639], 'mapped', [22132]], + [[194640, 194640], 'mapped', [20999]], + [[194641, 194641], 'mapped', [22766]], + [[194642, 194642], 'mapped', [22478]], + [[194643, 194643], 'mapped', [22516]], + [[194644, 194644], 'mapped', [22541]], + [[194645, 194645], 'mapped', [22411]], + [[194646, 194646], 'mapped', [22578]], + [[194647, 194647], 'mapped', [22577]], + [[194648, 194648], 'mapped', [22700]], + [[194649, 194649], 'mapped', [136420]], + [[194650, 194650], 'mapped', [22770]], + [[194651, 194651], 'mapped', [22775]], + [[194652, 194652], 'mapped', [22790]], + [[194653, 194653], 'mapped', [22810]], + [[194654, 194654], 'mapped', [22818]], + [[194655, 194655], 'mapped', [22882]], + [[194656, 194656], 'mapped', [136872]], + [[194657, 194657], 'mapped', [136938]], + [[194658, 194658], 'mapped', [23020]], + [[194659, 194659], 'mapped', [23067]], + [[194660, 194660], 'mapped', [23079]], + [[194661, 194661], 'mapped', [23e3]], + [[194662, 194662], 'mapped', [23142]], + [[194663, 194663], 'mapped', [14062]], + [[194664, 194664], 'disallowed'], + [[194665, 194665], 'mapped', [23304]], + [[194666, 194667], 'mapped', [23358]], + [[194668, 194668], 'mapped', [137672]], + [[194669, 194669], 'mapped', [23491]], + [[194670, 194670], 'mapped', [23512]], + [[194671, 194671], 'mapped', [23527]], + [[194672, 194672], 'mapped', [23539]], + [[194673, 194673], 'mapped', [138008]], + [[194674, 194674], 'mapped', [23551]], + [[194675, 194675], 'mapped', [23558]], + [[194676, 194676], 'disallowed'], + [[194677, 194677], 'mapped', [23586]], + [[194678, 194678], 'mapped', [14209]], + [[194679, 194679], 'mapped', [23648]], + [[194680, 194680], 'mapped', [23662]], + [[194681, 194681], 'mapped', [23744]], + [[194682, 194682], 'mapped', [23693]], + [[194683, 194683], 'mapped', [138724]], + [[194684, 194684], 'mapped', [23875]], + [[194685, 194685], 'mapped', [138726]], + [[194686, 194686], 'mapped', [23918]], + [[194687, 194687], 'mapped', [23915]], + [[194688, 194688], 'mapped', [23932]], + [[194689, 194689], 'mapped', [24033]], + [[194690, 194690], 'mapped', [24034]], + [[194691, 194691], 'mapped', [14383]], + [[194692, 194692], 'mapped', [24061]], + [[194693, 194693], 'mapped', [24104]], + [[194694, 194694], 'mapped', [24125]], + [[194695, 194695], 'mapped', [24169]], + [[194696, 194696], 'mapped', [14434]], + [[194697, 194697], 'mapped', [139651]], + [[194698, 194698], 'mapped', [14460]], + [[194699, 194699], 'mapped', [24240]], + [[194700, 194700], 'mapped', [24243]], + [[194701, 194701], 'mapped', [24246]], + [[194702, 194702], 'mapped', [24266]], + [[194703, 194703], 'mapped', [172946]], + [[194704, 194704], 'mapped', [24318]], + [[194705, 194706], 'mapped', [140081]], + [[194707, 194707], 'mapped', [33281]], + [[194708, 194709], 'mapped', [24354]], + [[194710, 194710], 'mapped', [14535]], + [[194711, 194711], 'mapped', [144056]], + [[194712, 194712], 'mapped', [156122]], + [[194713, 194713], 'mapped', [24418]], + [[194714, 194714], 'mapped', [24427]], + [[194715, 194715], 'mapped', [14563]], + [[194716, 194716], 'mapped', [24474]], + [[194717, 194717], 'mapped', [24525]], + [[194718, 194718], 'mapped', [24535]], + [[194719, 194719], 'mapped', [24569]], + [[194720, 194720], 'mapped', [24705]], + [[194721, 194721], 'mapped', [14650]], + [[194722, 194722], 'mapped', [14620]], + [[194723, 194723], 'mapped', [24724]], + [[194724, 194724], 'mapped', [141012]], + [[194725, 194725], 'mapped', [24775]], + [[194726, 194726], 'mapped', [24904]], + [[194727, 194727], 'mapped', [24908]], + [[194728, 194728], 'mapped', [24910]], + [[194729, 194729], 'mapped', [24908]], + [[194730, 194730], 'mapped', [24954]], + [[194731, 194731], 'mapped', [24974]], + [[194732, 194732], 'mapped', [25010]], + [[194733, 194733], 'mapped', [24996]], + [[194734, 194734], 'mapped', [25007]], + [[194735, 194735], 'mapped', [25054]], + [[194736, 194736], 'mapped', [25074]], + [[194737, 194737], 'mapped', [25078]], + [[194738, 194738], 'mapped', [25104]], + [[194739, 194739], 'mapped', [25115]], + [[194740, 194740], 'mapped', [25181]], + [[194741, 194741], 'mapped', [25265]], + [[194742, 194742], 'mapped', [25300]], + [[194743, 194743], 'mapped', [25424]], + [[194744, 194744], 'mapped', [142092]], + [[194745, 194745], 'mapped', [25405]], + [[194746, 194746], 'mapped', [25340]], + [[194747, 194747], 'mapped', [25448]], + [[194748, 194748], 'mapped', [25475]], + [[194749, 194749], 'mapped', [25572]], + [[194750, 194750], 'mapped', [142321]], + [[194751, 194751], 'mapped', [25634]], + [[194752, 194752], 'mapped', [25541]], + [[194753, 194753], 'mapped', [25513]], + [[194754, 194754], 'mapped', [14894]], + [[194755, 194755], 'mapped', [25705]], + [[194756, 194756], 'mapped', [25726]], + [[194757, 194757], 'mapped', [25757]], + [[194758, 194758], 'mapped', [25719]], + [[194759, 194759], 'mapped', [14956]], + [[194760, 194760], 'mapped', [25935]], + [[194761, 194761], 'mapped', [25964]], + [[194762, 194762], 'mapped', [143370]], + [[194763, 194763], 'mapped', [26083]], + [[194764, 194764], 'mapped', [26360]], + [[194765, 194765], 'mapped', [26185]], + [[194766, 194766], 'mapped', [15129]], + [[194767, 194767], 'mapped', [26257]], + [[194768, 194768], 'mapped', [15112]], + [[194769, 194769], 'mapped', [15076]], + [[194770, 194770], 'mapped', [20882]], + [[194771, 194771], 'mapped', [20885]], + [[194772, 194772], 'mapped', [26368]], + [[194773, 194773], 'mapped', [26268]], + [[194774, 194774], 'mapped', [32941]], + [[194775, 194775], 'mapped', [17369]], + [[194776, 194776], 'mapped', [26391]], + [[194777, 194777], 'mapped', [26395]], + [[194778, 194778], 'mapped', [26401]], + [[194779, 194779], 'mapped', [26462]], + [[194780, 194780], 'mapped', [26451]], + [[194781, 194781], 'mapped', [144323]], + [[194782, 194782], 'mapped', [15177]], + [[194783, 194783], 'mapped', [26618]], + [[194784, 194784], 'mapped', [26501]], + [[194785, 194785], 'mapped', [26706]], + [[194786, 194786], 'mapped', [26757]], + [[194787, 194787], 'mapped', [144493]], + [[194788, 194788], 'mapped', [26766]], + [[194789, 194789], 'mapped', [26655]], + [[194790, 194790], 'mapped', [26900]], + [[194791, 194791], 'mapped', [15261]], + [[194792, 194792], 'mapped', [26946]], + [[194793, 194793], 'mapped', [27043]], + [[194794, 194794], 'mapped', [27114]], + [[194795, 194795], 'mapped', [27304]], + [[194796, 194796], 'mapped', [145059]], + [[194797, 194797], 'mapped', [27355]], + [[194798, 194798], 'mapped', [15384]], + [[194799, 194799], 'mapped', [27425]], + [[194800, 194800], 'mapped', [145575]], + [[194801, 194801], 'mapped', [27476]], + [[194802, 194802], 'mapped', [15438]], + [[194803, 194803], 'mapped', [27506]], + [[194804, 194804], 'mapped', [27551]], + [[194805, 194805], 'mapped', [27578]], + [[194806, 194806], 'mapped', [27579]], + [[194807, 194807], 'mapped', [146061]], + [[194808, 194808], 'mapped', [138507]], + [[194809, 194809], 'mapped', [146170]], + [[194810, 194810], 'mapped', [27726]], + [[194811, 194811], 'mapped', [146620]], + [[194812, 194812], 'mapped', [27839]], + [[194813, 194813], 'mapped', [27853]], + [[194814, 194814], 'mapped', [27751]], + [[194815, 194815], 'mapped', [27926]], + [[194816, 194816], 'mapped', [27966]], + [[194817, 194817], 'mapped', [28023]], + [[194818, 194818], 'mapped', [27969]], + [[194819, 194819], 'mapped', [28009]], + [[194820, 194820], 'mapped', [28024]], + [[194821, 194821], 'mapped', [28037]], + [[194822, 194822], 'mapped', [146718]], + [[194823, 194823], 'mapped', [27956]], + [[194824, 194824], 'mapped', [28207]], + [[194825, 194825], 'mapped', [28270]], + [[194826, 194826], 'mapped', [15667]], + [[194827, 194827], 'mapped', [28363]], + [[194828, 194828], 'mapped', [28359]], + [[194829, 194829], 'mapped', [147153]], + [[194830, 194830], 'mapped', [28153]], + [[194831, 194831], 'mapped', [28526]], + [[194832, 194832], 'mapped', [147294]], + [[194833, 194833], 'mapped', [147342]], + [[194834, 194834], 'mapped', [28614]], + [[194835, 194835], 'mapped', [28729]], + [[194836, 194836], 'mapped', [28702]], + [[194837, 194837], 'mapped', [28699]], + [[194838, 194838], 'mapped', [15766]], + [[194839, 194839], 'mapped', [28746]], + [[194840, 194840], 'mapped', [28797]], + [[194841, 194841], 'mapped', [28791]], + [[194842, 194842], 'mapped', [28845]], + [[194843, 194843], 'mapped', [132389]], + [[194844, 194844], 'mapped', [28997]], + [[194845, 194845], 'mapped', [148067]], + [[194846, 194846], 'mapped', [29084]], + [[194847, 194847], 'disallowed'], + [[194848, 194848], 'mapped', [29224]], + [[194849, 194849], 'mapped', [29237]], + [[194850, 194850], 'mapped', [29264]], + [[194851, 194851], 'mapped', [149e3]], + [[194852, 194852], 'mapped', [29312]], + [[194853, 194853], 'mapped', [29333]], + [[194854, 194854], 'mapped', [149301]], + [[194855, 194855], 'mapped', [149524]], + [[194856, 194856], 'mapped', [29562]], + [[194857, 194857], 'mapped', [29579]], + [[194858, 194858], 'mapped', [16044]], + [[194859, 194859], 'mapped', [29605]], + [[194860, 194861], 'mapped', [16056]], + [[194862, 194862], 'mapped', [29767]], + [[194863, 194863], 'mapped', [29788]], + [[194864, 194864], 'mapped', [29809]], + [[194865, 194865], 'mapped', [29829]], + [[194866, 194866], 'mapped', [29898]], + [[194867, 194867], 'mapped', [16155]], + [[194868, 194868], 'mapped', [29988]], + [[194869, 194869], 'mapped', [150582]], + [[194870, 194870], 'mapped', [30014]], + [[194871, 194871], 'mapped', [150674]], + [[194872, 194872], 'mapped', [30064]], + [[194873, 194873], 'mapped', [139679]], + [[194874, 194874], 'mapped', [30224]], + [[194875, 194875], 'mapped', [151457]], + [[194876, 194876], 'mapped', [151480]], + [[194877, 194877], 'mapped', [151620]], + [[194878, 194878], 'mapped', [16380]], + [[194879, 194879], 'mapped', [16392]], + [[194880, 194880], 'mapped', [30452]], + [[194881, 194881], 'mapped', [151795]], + [[194882, 194882], 'mapped', [151794]], + [[194883, 194883], 'mapped', [151833]], + [[194884, 194884], 'mapped', [151859]], + [[194885, 194885], 'mapped', [30494]], + [[194886, 194887], 'mapped', [30495]], + [[194888, 194888], 'mapped', [30538]], + [[194889, 194889], 'mapped', [16441]], + [[194890, 194890], 'mapped', [30603]], + [[194891, 194891], 'mapped', [16454]], + [[194892, 194892], 'mapped', [16534]], + [[194893, 194893], 'mapped', [152605]], + [[194894, 194894], 'mapped', [30798]], + [[194895, 194895], 'mapped', [30860]], + [[194896, 194896], 'mapped', [30924]], + [[194897, 194897], 'mapped', [16611]], + [[194898, 194898], 'mapped', [153126]], + [[194899, 194899], 'mapped', [31062]], + [[194900, 194900], 'mapped', [153242]], + [[194901, 194901], 'mapped', [153285]], + [[194902, 194902], 'mapped', [31119]], + [[194903, 194903], 'mapped', [31211]], + [[194904, 194904], 'mapped', [16687]], + [[194905, 194905], 'mapped', [31296]], + [[194906, 194906], 'mapped', [31306]], + [[194907, 194907], 'mapped', [31311]], + [[194908, 194908], 'mapped', [153980]], + [[194909, 194910], 'mapped', [154279]], + [[194911, 194911], 'disallowed'], + [[194912, 194912], 'mapped', [16898]], + [[194913, 194913], 'mapped', [154539]], + [[194914, 194914], 'mapped', [31686]], + [[194915, 194915], 'mapped', [31689]], + [[194916, 194916], 'mapped', [16935]], + [[194917, 194917], 'mapped', [154752]], + [[194918, 194918], 'mapped', [31954]], + [[194919, 194919], 'mapped', [17056]], + [[194920, 194920], 'mapped', [31976]], + [[194921, 194921], 'mapped', [31971]], + [[194922, 194922], 'mapped', [32e3]], + [[194923, 194923], 'mapped', [155526]], + [[194924, 194924], 'mapped', [32099]], + [[194925, 194925], 'mapped', [17153]], + [[194926, 194926], 'mapped', [32199]], + [[194927, 194927], 'mapped', [32258]], + [[194928, 194928], 'mapped', [32325]], + [[194929, 194929], 'mapped', [17204]], + [[194930, 194930], 'mapped', [156200]], + [[194931, 194931], 'mapped', [156231]], + [[194932, 194932], 'mapped', [17241]], + [[194933, 194933], 'mapped', [156377]], + [[194934, 194934], 'mapped', [32634]], + [[194935, 194935], 'mapped', [156478]], + [[194936, 194936], 'mapped', [32661]], + [[194937, 194937], 'mapped', [32762]], + [[194938, 194938], 'mapped', [32773]], + [[194939, 194939], 'mapped', [156890]], + [[194940, 194940], 'mapped', [156963]], + [[194941, 194941], 'mapped', [32864]], + [[194942, 194942], 'mapped', [157096]], + [[194943, 194943], 'mapped', [32880]], + [[194944, 194944], 'mapped', [144223]], + [[194945, 194945], 'mapped', [17365]], + [[194946, 194946], 'mapped', [32946]], + [[194947, 194947], 'mapped', [33027]], + [[194948, 194948], 'mapped', [17419]], + [[194949, 194949], 'mapped', [33086]], + [[194950, 194950], 'mapped', [23221]], + [[194951, 194951], 'mapped', [157607]], + [[194952, 194952], 'mapped', [157621]], + [[194953, 194953], 'mapped', [144275]], + [[194954, 194954], 'mapped', [144284]], + [[194955, 194955], 'mapped', [33281]], + [[194956, 194956], 'mapped', [33284]], + [[194957, 194957], 'mapped', [36766]], + [[194958, 194958], 'mapped', [17515]], + [[194959, 194959], 'mapped', [33425]], + [[194960, 194960], 'mapped', [33419]], + [[194961, 194961], 'mapped', [33437]], + [[194962, 194962], 'mapped', [21171]], + [[194963, 194963], 'mapped', [33457]], + [[194964, 194964], 'mapped', [33459]], + [[194965, 194965], 'mapped', [33469]], + [[194966, 194966], 'mapped', [33510]], + [[194967, 194967], 'mapped', [158524]], + [[194968, 194968], 'mapped', [33509]], + [[194969, 194969], 'mapped', [33565]], + [[194970, 194970], 'mapped', [33635]], + [[194971, 194971], 'mapped', [33709]], + [[194972, 194972], 'mapped', [33571]], + [[194973, 194973], 'mapped', [33725]], + [[194974, 194974], 'mapped', [33767]], + [[194975, 194975], 'mapped', [33879]], + [[194976, 194976], 'mapped', [33619]], + [[194977, 194977], 'mapped', [33738]], + [[194978, 194978], 'mapped', [33740]], + [[194979, 194979], 'mapped', [33756]], + [[194980, 194980], 'mapped', [158774]], + [[194981, 194981], 'mapped', [159083]], + [[194982, 194982], 'mapped', [158933]], + [[194983, 194983], 'mapped', [17707]], + [[194984, 194984], 'mapped', [34033]], + [[194985, 194985], 'mapped', [34035]], + [[194986, 194986], 'mapped', [34070]], + [[194987, 194987], 'mapped', [160714]], + [[194988, 194988], 'mapped', [34148]], + [[194989, 194989], 'mapped', [159532]], + [[194990, 194990], 'mapped', [17757]], + [[194991, 194991], 'mapped', [17761]], + [[194992, 194992], 'mapped', [159665]], + [[194993, 194993], 'mapped', [159954]], + [[194994, 194994], 'mapped', [17771]], + [[194995, 194995], 'mapped', [34384]], + [[194996, 194996], 'mapped', [34396]], + [[194997, 194997], 'mapped', [34407]], + [[194998, 194998], 'mapped', [34409]], + [[194999, 194999], 'mapped', [34473]], + [[195e3, 195e3], 'mapped', [34440]], + [[195001, 195001], 'mapped', [34574]], + [[195002, 195002], 'mapped', [34530]], + [[195003, 195003], 'mapped', [34681]], + [[195004, 195004], 'mapped', [34600]], + [[195005, 195005], 'mapped', [34667]], + [[195006, 195006], 'mapped', [34694]], + [[195007, 195007], 'disallowed'], + [[195008, 195008], 'mapped', [34785]], + [[195009, 195009], 'mapped', [34817]], + [[195010, 195010], 'mapped', [17913]], + [[195011, 195011], 'mapped', [34912]], + [[195012, 195012], 'mapped', [34915]], + [[195013, 195013], 'mapped', [161383]], + [[195014, 195014], 'mapped', [35031]], + [[195015, 195015], 'mapped', [35038]], + [[195016, 195016], 'mapped', [17973]], + [[195017, 195017], 'mapped', [35066]], + [[195018, 195018], 'mapped', [13499]], + [[195019, 195019], 'mapped', [161966]], + [[195020, 195020], 'mapped', [162150]], + [[195021, 195021], 'mapped', [18110]], + [[195022, 195022], 'mapped', [18119]], + [[195023, 195023], 'mapped', [35488]], + [[195024, 195024], 'mapped', [35565]], + [[195025, 195025], 'mapped', [35722]], + [[195026, 195026], 'mapped', [35925]], + [[195027, 195027], 'mapped', [162984]], + [[195028, 195028], 'mapped', [36011]], + [[195029, 195029], 'mapped', [36033]], + [[195030, 195030], 'mapped', [36123]], + [[195031, 195031], 'mapped', [36215]], + [[195032, 195032], 'mapped', [163631]], + [[195033, 195033], 'mapped', [133124]], + [[195034, 195034], 'mapped', [36299]], + [[195035, 195035], 'mapped', [36284]], + [[195036, 195036], 'mapped', [36336]], + [[195037, 195037], 'mapped', [133342]], + [[195038, 195038], 'mapped', [36564]], + [[195039, 195039], 'mapped', [36664]], + [[195040, 195040], 'mapped', [165330]], + [[195041, 195041], 'mapped', [165357]], + [[195042, 195042], 'mapped', [37012]], + [[195043, 195043], 'mapped', [37105]], + [[195044, 195044], 'mapped', [37137]], + [[195045, 195045], 'mapped', [165678]], + [[195046, 195046], 'mapped', [37147]], + [[195047, 195047], 'mapped', [37432]], + [[195048, 195048], 'mapped', [37591]], + [[195049, 195049], 'mapped', [37592]], + [[195050, 195050], 'mapped', [37500]], + [[195051, 195051], 'mapped', [37881]], + [[195052, 195052], 'mapped', [37909]], + [[195053, 195053], 'mapped', [166906]], + [[195054, 195054], 'mapped', [38283]], + [[195055, 195055], 'mapped', [18837]], + [[195056, 195056], 'mapped', [38327]], + [[195057, 195057], 'mapped', [167287]], + [[195058, 195058], 'mapped', [18918]], + [[195059, 195059], 'mapped', [38595]], + [[195060, 195060], 'mapped', [23986]], + [[195061, 195061], 'mapped', [38691]], + [[195062, 195062], 'mapped', [168261]], + [[195063, 195063], 'mapped', [168474]], + [[195064, 195064], 'mapped', [19054]], + [[195065, 195065], 'mapped', [19062]], + [[195066, 195066], 'mapped', [38880]], + [[195067, 195067], 'mapped', [168970]], + [[195068, 195068], 'mapped', [19122]], + [[195069, 195069], 'mapped', [169110]], + [[195070, 195071], 'mapped', [38923]], + [[195072, 195072], 'mapped', [38953]], + [[195073, 195073], 'mapped', [169398]], + [[195074, 195074], 'mapped', [39138]], + [[195075, 195075], 'mapped', [19251]], + [[195076, 195076], 'mapped', [39209]], + [[195077, 195077], 'mapped', [39335]], + [[195078, 195078], 'mapped', [39362]], + [[195079, 195079], 'mapped', [39422]], + [[195080, 195080], 'mapped', [19406]], + [[195081, 195081], 'mapped', [170800]], + [[195082, 195082], 'mapped', [39698]], + [[195083, 195083], 'mapped', [4e4]], + [[195084, 195084], 'mapped', [40189]], + [[195085, 195085], 'mapped', [19662]], + [[195086, 195086], 'mapped', [19693]], + [[195087, 195087], 'mapped', [40295]], + [[195088, 195088], 'mapped', [172238]], + [[195089, 195089], 'mapped', [19704]], + [[195090, 195090], 'mapped', [172293]], + [[195091, 195091], 'mapped', [172558]], + [[195092, 195092], 'mapped', [172689]], + [[195093, 195093], 'mapped', [40635]], + [[195094, 195094], 'mapped', [19798]], + [[195095, 195095], 'mapped', [40697]], + [[195096, 195096], 'mapped', [40702]], + [[195097, 195097], 'mapped', [40709]], + [[195098, 195098], 'mapped', [40719]], + [[195099, 195099], 'mapped', [40726]], + [[195100, 195100], 'mapped', [40763]], + [[195101, 195101], 'mapped', [173568]], + [[195102, 196605], 'disallowed'], + [[196606, 196607], 'disallowed'], + [[196608, 262141], 'disallowed'], + [[262142, 262143], 'disallowed'], + [[262144, 327677], 'disallowed'], + [[327678, 327679], 'disallowed'], + [[327680, 393213], 'disallowed'], + [[393214, 393215], 'disallowed'], + [[393216, 458749], 'disallowed'], + [[458750, 458751], 'disallowed'], + [[458752, 524285], 'disallowed'], + [[524286, 524287], 'disallowed'], + [[524288, 589821], 'disallowed'], + [[589822, 589823], 'disallowed'], + [[589824, 655357], 'disallowed'], + [[655358, 655359], 'disallowed'], + [[655360, 720893], 'disallowed'], + [[720894, 720895], 'disallowed'], + [[720896, 786429], 'disallowed'], + [[786430, 786431], 'disallowed'], + [[786432, 851965], 'disallowed'], + [[851966, 851967], 'disallowed'], + [[851968, 917501], 'disallowed'], + [[917502, 917503], 'disallowed'], + [[917504, 917504], 'disallowed'], + [[917505, 917505], 'disallowed'], + [[917506, 917535], 'disallowed'], + [[917536, 917631], 'disallowed'], + [[917632, 917759], 'disallowed'], + [[917760, 917999], 'ignored'], + [[918e3, 983037], 'disallowed'], + [[983038, 983039], 'disallowed'], + [[983040, 1048573], 'disallowed'], + [[1048574, 1048575], 'disallowed'], + [[1048576, 1114109], 'disallowed'], + [[1114110, 1114111], 'disallowed'], + ]; + }, }); // node_modules/node-fetch/node_modules/tr46/index.js var require_tr46 = __commonJS({ - "node_modules/node-fetch/node_modules/tr46/index.js"(exports2, module2) { - "use strict"; - var punycode = require("punycode"); + 'node_modules/node-fetch/node_modules/tr46/index.js'(exports2, module2) { + 'use strict'; + var punycode = require('punycode'); var mappingTable = require_mappingTable(); var PROCESSING_OPTIONS = { TRANSITIONAL: 0, - NONTRANSITIONAL: 1 + NONTRANSITIONAL: 1, }; function normalize(str2) { - return str2.split("\0").map(function(s) { - return s.normalize("NFC"); - }).join("\0"); + return str2 + .split('\0') + .map(function (s) { + return s.normalize('NFC'); + }) + .join('\0'); } function findStatus(val) { var start = 0; @@ -48608,36 +61870,36 @@ var require_tr46 = __commonJS({ } var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; function countSymbols(string) { - return string.replace(regexAstralSymbols, "_").length; + return string.replace(regexAstralSymbols, '_').length; } function mapChars(domain_name, useSTD3, processing_option) { var hasError = false; - var processed = ""; + var processed = ''; var len = countSymbols(domain_name); for (var i = 0; i < len; ++i) { var codePoint = domain_name.codePointAt(i); var status = findStatus(codePoint); switch (status[1]) { - case "disallowed": + case 'disallowed': hasError = true; processed += String.fromCodePoint(codePoint); break; - case "ignored": + case 'ignored': break; - case "mapped": + case 'mapped': processed += String.fromCodePoint.apply(String, status[2]); break; - case "deviation": + case 'deviation': if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { processed += String.fromCodePoint.apply(String, status[2]); } else { processed += String.fromCodePoint(codePoint); } break; - case "valid": + case 'valid': processed += String.fromCodePoint(codePoint); break; - case "disallowed_STD3_mapped": + case 'disallowed_STD3_mapped': if (useSTD3) { hasError = true; processed += String.fromCodePoint(codePoint); @@ -48645,7 +61907,7 @@ var require_tr46 = __commonJS({ processed += String.fromCodePoint.apply(String, status[2]); } break; - case "disallowed_STD3_valid": + case 'disallowed_STD3_valid': if (useSTD3) { hasError = true; } @@ -48655,36 +61917,49 @@ var require_tr46 = __commonJS({ } return { string: processed, - error: hasError + error: hasError, }; } - var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; + var combiningMarksRegex = + /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; function validateLabel(label, processing_option) { - if (label.substr(0, 4) === "xn--") { + if (label.substr(0, 4) === 'xn--') { label = punycode.toUnicode(label); processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL; } var error = false; - if (normalize(label) !== label || label[3] === "-" && label[4] === "-" || label[0] === "-" || label[label.length - 1] === "-" || label.indexOf(".") !== -1 || label.search(combiningMarksRegex) === 0) { + if ( + normalize(label) !== label || + (label[3] === '-' && label[4] === '-') || + label[0] === '-' || + label[label.length - 1] === '-' || + label.indexOf('.') !== -1 || + label.search(combiningMarksRegex) === 0 + ) { error = true; } var len = countSymbols(label); for (var i = 0; i < len; ++i) { var status = findStatus(label.codePointAt(i)); - if (processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid" || processing === PROCESSING_OPTIONS.NONTRANSITIONAL && status[1] !== "valid" && status[1] !== "deviation") { + if ( + (processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== 'valid') || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== 'valid' && + status[1] !== 'deviation') + ) { error = true; break; } } return { label, - error + error, }; } function processing(domain_name, useSTD3, processing_option) { var result = mapChars(domain_name, useSTD3, processing_option); result.string = normalize(result.string); - var labels = result.string.split("."); + var labels = result.string.split('.'); for (var i = 0; i < labels.length; ++i) { try { var validation = validateLabel(labels[i]); @@ -48695,14 +61970,14 @@ var require_tr46 = __commonJS({ } } return { - string: labels.join("."), - error: result.error + string: labels.join('.'), + error: result.error, }; } - module2.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { + module2.exports.toASCII = function (domain_name, useSTD3, processing_option, verifyDnsLength) { var result = processing(domain_name, useSTD3, processing_option); - var labels = result.string.split("."); - labels = labels.map(function(l) { + var labels = result.string.split('.'); + labels = labels.map(function (l) { try { return punycode.toASCII(l); } catch (e) { @@ -48711,7 +61986,7 @@ var require_tr46 = __commonJS({ } }); if (verifyDnsLength) { - var total = labels.slice(0, labels.length - 1).join(".").length; + var total = labels.slice(0, labels.length - 1).join('.').length; if (total.length > 253 || total.length === 0) { result.error = true; } @@ -48722,26 +61997,25 @@ var require_tr46 = __commonJS({ } } } - if (result.error) - return null; - return labels.join("."); + if (result.error) return null; + return labels.join('.'); }; - module2.exports.toUnicode = function(domain_name, useSTD3) { + module2.exports.toUnicode = function (domain_name, useSTD3) { var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); return { domain: result.string, - error: result.error + error: result.error, }; }; module2.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; - } + }, }); // node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js var require_url_state_machine = __commonJS({ - "node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js"(exports2, module2) { - "use strict"; - var punycode = require("punycode"); + 'node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js'(exports2, module2) { + 'use strict'; + var punycode = require('punycode'); var tr46 = require_tr46(); var specialSchemes = { ftp: 21, @@ -48750,9 +62024,9 @@ var require_url_state_machine = __commonJS({ http: 80, https: 443, ws: 80, - wss: 443 + wss: 443, }; - var failure = Symbol("failure"); + var failure = Symbol('failure'); function countSymbols(str2) { return punycode.ucs2.decode(str2).length; } @@ -48764,29 +62038,33 @@ var require_url_state_machine = __commonJS({ return c >= 48 && c <= 57; } function isASCIIAlpha(c) { - return c >= 65 && c <= 90 || c >= 97 && c <= 122; + return (c >= 65 && c <= 90) || (c >= 97 && c <= 122); } function isASCIIAlphanumeric(c) { return isASCIIAlpha(c) || isASCIIDigit(c); } function isASCIIHex(c) { - return isASCIIDigit(c) || c >= 65 && c <= 70 || c >= 97 && c <= 102; + return isASCIIDigit(c) || (c >= 65 && c <= 70) || (c >= 97 && c <= 102); } function isSingleDot(buffer) { - return buffer === "." || buffer.toLowerCase() === "%2e"; + return buffer === '.' || buffer.toLowerCase() === '%2e'; } function isDoubleDot(buffer) { buffer = buffer.toLowerCase(); - return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; + return buffer === '..' || buffer === '%2e.' || buffer === '.%2e' || buffer === '%2e%2e'; } function isWindowsDriveLetterCodePoints(cp1, cp2) { return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); } function isWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); + return ( + string.length === 2 && + isASCIIAlpha(string.codePointAt(0)) && + (string[1] === ':' || string[1] === '|') + ); } function isNormalizedWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ':'; } function containsForbiddenHostCodePoint(string) { return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; @@ -48806,13 +62084,13 @@ var require_url_state_machine = __commonJS({ function percentEncode(c) { let hex = c.toString(16).toUpperCase(); if (hex.length === 1) { - hex = "0" + hex; + hex = '0' + hex; } - return "%" + hex; + return '%' + hex; } function utf8PercentEncode(c) { const buf = new Buffer(c); - let str2 = ""; + let str2 = ''; for (let i = 0; i < buf.length; ++i) { str2 += percentEncode(buf[i]); } @@ -48840,7 +62118,9 @@ var require_url_state_machine = __commonJS({ function isPathPercentEncode(c) { return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); } - var extraUserinfoPercentEncodeSet = /* @__PURE__ */ new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); + var extraUserinfoPercentEncodeSet = /* @__PURE__ */ new Set([ + 47, 58, 59, 61, 64, 91, 92, 93, 94, 124, + ]); function isUserinfoPercentEncode(c) { return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); } @@ -48853,14 +62133,14 @@ var require_url_state_machine = __commonJS({ } function parseIPv4Number(input) { let R = 10; - if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + if (input.length >= 2 && input.charAt(0) === '0' && input.charAt(1).toLowerCase() === 'x') { input = input.substring(2); R = 16; - } else if (input.length >= 2 && input.charAt(0) === "0") { + } else if (input.length >= 2 && input.charAt(0) === '0') { input = input.substring(1); R = 8; } - if (input === "") { + if (input === '') { return 0; } const regex = R === 10 ? /[^0-9]/ : R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/; @@ -48870,8 +62150,8 @@ var require_url_state_machine = __commonJS({ return parseInt(input, R); } function parseIPv4(input) { - const parts = input.split("."); - if (parts[parts.length - 1] === "") { + const parts = input.split('.'); + if (parts[parts.length - 1] === '') { if (parts.length > 1) { parts.pop(); } @@ -48881,7 +62161,7 @@ var require_url_state_machine = __commonJS({ } const numbers = []; for (const part of parts) { - if (part === "") { + if (part === '') { return input; } const n = parseIPv4Number(part); @@ -48907,12 +62187,12 @@ var require_url_state_machine = __commonJS({ return ipv4; } function serializeIPv4(address) { - let output = ""; + let output = ''; let n = address; for (let i = 1; i <= 4; ++i) { output = String(n % 256) + output; if (i !== 4) { - output = "." + output; + output = '.' + output; } n = Math.floor(n / 256); } @@ -49024,7 +62304,7 @@ var require_url_state_machine = __commonJS({ return address; } function serializeIPv6(address) { - let output = ""; + let output = ''; const seqResult = findLongestZeroSequence(address); const compress = seqResult.idx; let ignore0 = false; @@ -49035,21 +62315,21 @@ var require_url_state_machine = __commonJS({ ignore0 = false; } if (compress === pieceIndex) { - const separator = pieceIndex === 0 ? "::" : ":"; + const separator = pieceIndex === 0 ? '::' : ':'; output += separator; ignore0 = true; continue; } output += address[pieceIndex].toString(16); if (pieceIndex !== 7) { - output += ":"; + output += ':'; } } return output; } function parseHost(input, isSpecialArg) { - if (input[0] === "[") { - if (input[input.length - 1] !== "]") { + if (input[0] === '[') { + if (input[input.length - 1] !== ']') { return failure; } return parseIPv6(input.substring(1, input.length - 1)); @@ -49058,7 +62338,12 @@ var require_url_state_machine = __commonJS({ return parseOpaqueHost(input); } const domain = utf8PercentDecode(input); - const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + const asciiDomain = tr46.toASCII( + domain, + false, + tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, + false + ); if (asciiDomain === null) { return failure; } @@ -49066,7 +62351,7 @@ var require_url_state_machine = __commonJS({ return failure; } const ipv4Host = parseIPv4(asciiDomain); - if (typeof ipv4Host === "number" || ipv4Host === failure) { + if (typeof ipv4Host === 'number' || ipv4Host === failure) { return ipv4Host; } return asciiDomain; @@ -49075,7 +62360,7 @@ var require_url_state_machine = __commonJS({ if (containsForbiddenHostCodePointExcludingPercent(input)) { return failure; } - let output = ""; + let output = ''; const decoded = punycode.ucs2.decode(input); for (let i = 0; i < decoded.length; ++i) { output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); @@ -49108,39 +62393,39 @@ var require_url_state_machine = __commonJS({ } return { idx: maxIdx, - len: maxLen + len: maxLen, }; } function serializeHost(host) { - if (typeof host === "number") { + if (typeof host === 'number') { return serializeIPv4(host); } if (host instanceof Array) { - return "[" + serializeIPv6(host) + "]"; + return '[' + serializeIPv6(host) + ']'; } return host; } function trimControlChars(url) { - return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ''); } function trimTabAndNewline(url) { - return url.replace(/\u0009|\u000A|\u000D/g, ""); + return url.replace(/\u0009|\u000A|\u000D/g, ''); } function shortenPath(url) { const path2 = url.path; if (path2.length === 0) { return; } - if (url.scheme === "file" && path2.length === 1 && isNormalizedWindowsDriveLetter(path2[0])) { + if (url.scheme === 'file' && path2.length === 1 && isNormalizedWindowsDriveLetter(path2[0])) { return; } path2.pop(); } function includesCredentials(url) { - return url.username !== "" || url.password !== ""; + return url.username !== '' || url.password !== ''; } function cannotHaveAUsernamePasswordPort(url) { - return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; + return url.host === null || url.host === '' || url.cannotBeABaseURL || url.scheme === 'file'; } function isNormalizedWindowsDriveLetter(string) { return /^[A-Za-z]:$/.test(string); @@ -49149,22 +62434,22 @@ var require_url_state_machine = __commonJS({ this.pointer = 0; this.input = input; this.base = base || null; - this.encodingOverride = encodingOverride || "utf-8"; + this.encodingOverride = encodingOverride || 'utf-8'; this.stateOverride = stateOverride; this.url = url; this.failure = false; this.parseError = false; if (!this.url) { this.url = { - scheme: "", - username: "", - password: "", + scheme: '', + username: '', + password: '', host: null, port: null, path: [], query: null, fragment: null, - cannotBeABaseURL: false + cannotBeABaseURL: false, }; const res2 = trimControlChars(this.input); if (res2 !== this.input) { @@ -49177,8 +62462,8 @@ var require_url_state_machine = __commonJS({ this.parseError = true; } this.input = res; - this.state = stateOverride || "scheme start"; - this.buffer = ""; + this.state = stateOverride || 'scheme start'; + this.buffer = ''; this.atFlag = false; this.arrFlag = false; this.passwordTokenSeenFlag = false; @@ -49186,7 +62471,7 @@ var require_url_state_machine = __commonJS({ for (; this.pointer <= this.input.length; ++this.pointer) { const c = this.input[this.pointer]; const cStr = isNaN(c) ? void 0 : String.fromCodePoint(c); - const ret = this["parse " + this.state](c, cStr); + const ret = this['parse ' + this.state](c, cStr); if (!ret) { break; } else if (ret === failure) { @@ -49195,12 +62480,12 @@ var require_url_state_machine = __commonJS({ } } } - URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + URLStateMachine.prototype['parse scheme start'] = function parseSchemeStart(c, cStr) { if (isASCIIAlpha(c)) { this.buffer += cStr.toLowerCase(); - this.state = "scheme"; + this.state = 'scheme'; } else if (!this.stateOverride) { - this.state = "no scheme"; + this.state = 'no scheme'; --this.pointer; } else { this.parseError = true; @@ -49208,7 +62493,7 @@ var require_url_state_machine = __commonJS({ } return true; }; - URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + URLStateMachine.prototype['parse scheme'] = function parseScheme(c, cStr) { if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { this.buffer += cStr.toLowerCase(); } else if (c === 58) { @@ -49219,38 +62504,42 @@ var require_url_state_machine = __commonJS({ if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { return false; } - if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === 'file') { return false; } - if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + if (this.url.scheme === 'file' && (this.url.host === '' || this.url.host === null)) { return false; } } this.url.scheme = this.buffer; - this.buffer = ""; + this.buffer = ''; if (this.stateOverride) { return false; } - if (this.url.scheme === "file") { + if (this.url.scheme === 'file') { if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { this.parseError = true; } - this.state = "file"; - } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { - this.state = "special relative or authority"; + this.state = 'file'; + } else if ( + isSpecial(this.url) && + this.base !== null && + this.base.scheme === this.url.scheme + ) { + this.state = 'special relative or authority'; } else if (isSpecial(this.url)) { - this.state = "special authority slashes"; + this.state = 'special authority slashes'; } else if (this.input[this.pointer + 1] === 47) { - this.state = "path or authority"; + this.state = 'path or authority'; ++this.pointer; } else { this.url.cannotBeABaseURL = true; - this.url.path.push(""); - this.state = "cannot-be-a-base-URL path"; + this.url.path.push(''); + this.state = 'cannot-be-a-base-URL path'; } } else if (!this.stateOverride) { - this.buffer = ""; - this.state = "no scheme"; + this.buffer = ''; + this.state = 'no scheme'; this.pointer = -1; } else { this.parseError = true; @@ -49258,46 +62547,47 @@ var require_url_state_machine = __commonJS({ } return true; }; - URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { - if (this.base === null || this.base.cannotBeABaseURL && c !== 35) { + URLStateMachine.prototype['parse no scheme'] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { return failure; } else if (this.base.cannotBeABaseURL && c === 35) { this.url.scheme = this.base.scheme; this.url.path = this.base.path.slice(); this.url.query = this.base.query; - this.url.fragment = ""; + this.url.fragment = ''; this.url.cannotBeABaseURL = true; - this.state = "fragment"; - } else if (this.base.scheme === "file") { - this.state = "file"; - --this.pointer; - } else { - this.state = "relative"; + this.state = 'fragment'; + } else if (this.base.scheme === 'file') { + this.state = 'file'; --this.pointer; - } - return true; - }; - URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; } else { - this.parseError = true; - this.state = "relative"; + this.state = 'relative'; --this.pointer; } return true; }; - URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + URLStateMachine.prototype['parse special relative or authority'] = + function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = 'special authority ignore slashes'; + ++this.pointer; + } else { + this.parseError = true; + this.state = 'relative'; + --this.pointer; + } + return true; + }; + URLStateMachine.prototype['parse path or authority'] = function parsePathOrAuthority(c) { if (c === 47) { - this.state = "authority"; + this.state = 'authority'; } else { - this.state = "path"; + this.state = 'path'; --this.pointer; } return true; }; - URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + URLStateMachine.prototype['parse relative'] = function parseRelative(c) { this.url.scheme = this.base.scheme; if (isNaN(c)) { this.url.username = this.base.username; @@ -49307,15 +62597,15 @@ var require_url_state_machine = __commonJS({ this.url.path = this.base.path.slice(); this.url.query = this.base.query; } else if (c === 47) { - this.state = "relative slash"; + this.state = 'relative slash'; } else if (c === 63) { this.url.username = this.base.username; this.url.password = this.base.password; this.url.host = this.base.host; this.url.port = this.base.port; this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; + this.url.query = ''; + this.state = 'query'; } else if (c === 35) { this.url.username = this.base.username; this.url.password = this.base.password; @@ -49323,65 +62613,67 @@ var require_url_state_machine = __commonJS({ this.url.port = this.base.port; this.url.path = this.base.path.slice(); this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; + this.url.fragment = ''; + this.state = 'fragment'; } else if (isSpecial(this.url) && c === 92) { this.parseError = true; - this.state = "relative slash"; + this.state = 'relative slash'; } else { this.url.username = this.base.username; this.url.password = this.base.password; this.url.host = this.base.host; this.url.port = this.base.port; this.url.path = this.base.path.slice(0, this.base.path.length - 1); - this.state = "path"; + this.state = 'path'; --this.pointer; } return true; }; - URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + URLStateMachine.prototype['parse relative slash'] = function parseRelativeSlash(c) { if (isSpecial(this.url) && (c === 47 || c === 92)) { if (c === 92) { this.parseError = true; } - this.state = "special authority ignore slashes"; + this.state = 'special authority ignore slashes'; } else if (c === 47) { - this.state = "authority"; + this.state = 'authority'; } else { this.url.username = this.base.username; this.url.password = this.base.password; this.url.host = this.base.host; this.url.port = this.base.port; - this.state = "path"; - --this.pointer; - } - return true; - }; - URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "special authority ignore slashes"; - --this.pointer; - } - return true; - }; - URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { - if (c !== 47 && c !== 92) { - this.state = "authority"; + this.state = 'path'; --this.pointer; - } else { - this.parseError = true; } return true; }; - URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + URLStateMachine.prototype['parse special authority slashes'] = + function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = 'special authority ignore slashes'; + ++this.pointer; + } else { + this.parseError = true; + this.state = 'special authority ignore slashes'; + --this.pointer; + } + return true; + }; + URLStateMachine.prototype['parse special authority ignore slashes'] = + function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = 'authority'; + --this.pointer; + } else { + this.parseError = true; + } + return true; + }; + URLStateMachine.prototype['parse authority'] = function parseAuthority(c, cStr) { if (c === 64) { this.parseError = true; if (this.atFlag) { - this.buffer = "%40" + this.buffer; + this.buffer = '%40' + this.buffer; } this.atFlag = true; const len = countSymbols(this.buffer); @@ -49398,85 +62690,109 @@ var require_url_state_machine = __commonJS({ this.url.username += encodedCodePoints; } } - this.buffer = ""; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || isSpecial(this.url) && c === 92) { - if (this.atFlag && this.buffer === "") { + this.buffer = ''; + } else if ( + isNaN(c) || + c === 47 || + c === 63 || + c === 35 || + (isSpecial(this.url) && c === 92) + ) { + if (this.atFlag && this.buffer === '') { this.parseError = true; return failure; } this.pointer -= countSymbols(this.buffer) + 1; - this.buffer = ""; - this.state = "host"; + this.buffer = ''; + this.state = 'host'; } else { this.buffer += cStr; } return true; }; - URLStateMachine.prototype["parse hostname"] = URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { - if (this.stateOverride && this.url.scheme === "file") { - --this.pointer; - this.state = "file host"; - } else if (c === 58 && !this.arrFlag) { - if (this.buffer === "") { - this.parseError = true; - return failure; - } - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - this.url.host = host; - this.buffer = ""; - this.state = "port"; - if (this.stateOverride === "hostname") { - return false; - } - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || isSpecial(this.url) && c === 92) { - --this.pointer; - if (isSpecial(this.url) && this.buffer === "") { - this.parseError = true; - return failure; - } else if (this.stateOverride && this.buffer === "" && (includesCredentials(this.url) || this.url.port !== null)) { - this.parseError = true; - return false; - } - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - this.url.host = host; - this.buffer = ""; - this.state = "path start"; - if (this.stateOverride) { - return false; - } - } else { - if (c === 91) { - this.arrFlag = true; - } else if (c === 93) { - this.arrFlag = false; + URLStateMachine.prototype['parse hostname'] = URLStateMachine.prototype['parse host'] = + function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === 'file') { + --this.pointer; + this.state = 'file host'; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === '') { + this.parseError = true; + return failure; + } + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + this.url.host = host; + this.buffer = ''; + this.state = 'port'; + if (this.stateOverride === 'hostname') { + return false; + } + } else if ( + isNaN(c) || + c === 47 || + c === 63 || + c === 35 || + (isSpecial(this.url) && c === 92) + ) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === '') { + this.parseError = true; + return failure; + } else if ( + this.stateOverride && + this.buffer === '' && + (includesCredentials(this.url) || this.url.port !== null) + ) { + this.parseError = true; + return false; + } + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + this.url.host = host; + this.buffer = ''; + this.state = 'path start'; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; } - this.buffer += cStr; - } - return true; - }; - URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + return true; + }; + URLStateMachine.prototype['parse port'] = function parsePort(c, cStr) { if (isASCIIDigit(c)) { this.buffer += cStr; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || isSpecial(this.url) && c === 92 || this.stateOverride) { - if (this.buffer !== "") { + } else if ( + isNaN(c) || + c === 47 || + c === 63 || + c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride + ) { + if (this.buffer !== '') { const port = parseInt(this.buffer); if (port > Math.pow(2, 16) - 1) { this.parseError = true; return failure; } this.url.port = port === defaultPort(this.url.scheme) ? null : port; - this.buffer = ""; + this.buffer = ''; } if (this.stateOverride) { return false; } - this.state = "path start"; + this.state = 'path start'; --this.pointer; } else { this.parseError = true; @@ -49485,14 +62801,14 @@ var require_url_state_machine = __commonJS({ return true; }; var fileOtherwiseCodePoints = /* @__PURE__ */ new Set([47, 92, 63, 35]); - URLStateMachine.prototype["parse file"] = function parseFile(c) { - this.url.scheme = "file"; + URLStateMachine.prototype['parse file'] = function parseFile(c) { + this.url.scheme = 'file'; if (c === 47 || c === 92) { if (c === 92) { this.parseError = true; } - this.state = "file slash"; - } else if (this.base !== null && this.base.scheme === "file") { + this.state = 'file slash'; + } else if (this.base !== null && this.base.scheme === 'file') { if (isNaN(c)) { this.url.host = this.base.host; this.url.path = this.base.path.slice(); @@ -49500,202 +62816,236 @@ var require_url_state_machine = __commonJS({ } else if (c === 63) { this.url.host = this.base.host; this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; + this.url.query = ''; + this.state = 'query'; } else if (c === 35) { this.url.host = this.base.host; this.url.path = this.base.path.slice(); this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; + this.url.fragment = ''; + this.state = 'fragment'; } else { - if (this.input.length - this.pointer - 1 === 0 || !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || this.input.length - this.pointer - 1 >= 2 && !fileOtherwiseCodePoints.has(this.input[this.pointer + 2])) { + if ( + this.input.length - this.pointer - 1 === 0 || + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2])) + ) { this.url.host = this.base.host; this.url.path = this.base.path.slice(); shortenPath(this.url); } else { this.parseError = true; } - this.state = "path"; + this.state = 'path'; --this.pointer; } } else { - this.state = "path"; + this.state = 'path'; --this.pointer; } return true; }; - URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + URLStateMachine.prototype['parse file slash'] = function parseFileSlash(c) { if (c === 47 || c === 92) { if (c === 92) { this.parseError = true; } - this.state = "file host"; + this.state = 'file host'; } else { - if (this.base !== null && this.base.scheme === "file") { + if (this.base !== null && this.base.scheme === 'file') { if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { this.url.path.push(this.base.path[0]); } else { this.url.host = this.base.host; } } - this.state = "path"; + this.state = 'path'; --this.pointer; } return true; }; - URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + URLStateMachine.prototype['parse file host'] = function parseFileHost(c, cStr) { if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { --this.pointer; if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { this.parseError = true; - this.state = "path"; - } else if (this.buffer === "") { - this.url.host = ""; + this.state = 'path'; + } else if (this.buffer === '') { + this.url.host = ''; if (this.stateOverride) { return false; } - this.state = "path start"; + this.state = 'path start'; } else { let host = parseHost(this.buffer, isSpecial(this.url)); if (host === failure) { return failure; } - if (host === "localhost") { - host = ""; + if (host === 'localhost') { + host = ''; } this.url.host = host; if (this.stateOverride) { return false; } - this.buffer = ""; - this.state = "path start"; + this.buffer = ''; + this.state = 'path start'; } } else { this.buffer += cStr; } return true; }; - URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + URLStateMachine.prototype['parse path start'] = function parsePathStart(c) { if (isSpecial(this.url)) { if (c === 92) { this.parseError = true; } - this.state = "path"; + this.state = 'path'; if (c !== 47 && c !== 92) { --this.pointer; } } else if (!this.stateOverride && c === 63) { - this.url.query = ""; - this.state = "query"; + this.url.query = ''; + this.state = 'query'; } else if (!this.stateOverride && c === 35) { - this.url.fragment = ""; - this.state = "fragment"; + this.url.fragment = ''; + this.state = 'fragment'; } else if (c !== void 0) { - this.state = "path"; + this.state = 'path'; if (c !== 47) { --this.pointer; } } return true; }; - URLStateMachine.prototype["parse path"] = function parsePath(c) { - if (isNaN(c) || c === 47 || isSpecial(this.url) && c === 92 || !this.stateOverride && (c === 63 || c === 35)) { + URLStateMachine.prototype['parse path'] = function parsePath(c) { + if ( + isNaN(c) || + c === 47 || + (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35)) + ) { if (isSpecial(this.url) && c === 92) { this.parseError = true; } if (isDoubleDot(this.buffer)) { shortenPath(this.url); if (c !== 47 && !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); + this.url.path.push(''); } } else if (isSingleDot(this.buffer) && c !== 47 && !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); + this.url.path.push(''); } else if (!isSingleDot(this.buffer)) { - if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { - if (this.url.host !== "" && this.url.host !== null) { + if ( + this.url.scheme === 'file' && + this.url.path.length === 0 && + isWindowsDriveLetterString(this.buffer) + ) { + if (this.url.host !== '' && this.url.host !== null) { this.parseError = true; - this.url.host = ""; + this.url.host = ''; } - this.buffer = this.buffer[0] + ":"; + this.buffer = this.buffer[0] + ':'; } this.url.path.push(this.buffer); } - this.buffer = ""; - if (this.url.scheme === "file" && (c === void 0 || c === 63 || c === 35)) { - while (this.url.path.length > 1 && this.url.path[0] === "") { + this.buffer = ''; + if (this.url.scheme === 'file' && (c === void 0 || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === '') { this.parseError = true; this.url.path.shift(); } } if (c === 63) { - this.url.query = ""; - this.state = "query"; + this.url.query = ''; + this.state = 'query'; } if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; + this.url.fragment = ''; + this.state = 'fragment'; } } else { - if (c === 37 && (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2]))) { + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2])) + ) { this.parseError = true; } this.buffer += percentEncodeChar(c, isPathPercentEncode); } return true; }; - URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else { - if (!isNaN(c) && c !== 37) { - this.parseError = true; - } - if (c === 37 && (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - if (!isNaN(c)) { - this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + URLStateMachine.prototype['parse cannot-be-a-base-URL path'] = + function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ''; + this.state = 'query'; + } else if (c === 35) { + this.url.fragment = ''; + this.state = 'fragment'; + } else { + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2])) + ) { + this.parseError = true; + } + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } } - } - return true; - }; - URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { - if (isNaN(c) || !this.stateOverride && c === 35) { - if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { - this.encodingOverride = "utf-8"; + return true; + }; + URLStateMachine.prototype['parse query'] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === 'ws' || this.url.scheme === 'wss') { + this.encodingOverride = 'utf-8'; } const buffer = new Buffer(this.buffer); for (let i = 0; i < buffer.length; ++i) { - if (buffer[i] < 33 || buffer[i] > 126 || buffer[i] === 34 || buffer[i] === 35 || buffer[i] === 60 || buffer[i] === 62) { + if ( + buffer[i] < 33 || + buffer[i] > 126 || + buffer[i] === 34 || + buffer[i] === 35 || + buffer[i] === 60 || + buffer[i] === 62 + ) { this.url.query += percentEncode(buffer[i]); } else { this.url.query += String.fromCodePoint(buffer[i]); } } - this.buffer = ""; + this.buffer = ''; if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; + this.url.fragment = ''; + this.state = 'fragment'; } } else { - if (c === 37 && (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2]))) { + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2])) + ) { this.parseError = true; } this.buffer += cStr; } return true; }; - URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + URLStateMachine.prototype['parse fragment'] = function parseFragment(c) { if (isNaN(c)) { } else if (c === 0) { this.parseError = true; } else { - if (c === 37 && (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2]))) { + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || !isASCIIHex(this.input[this.pointer + 2])) + ) { this.parseError = true; } this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); @@ -49703,91 +63053,97 @@ var require_url_state_machine = __commonJS({ return true; }; function serializeURL(url, excludeFragment) { - let output = url.scheme + ":"; + let output = url.scheme + ':'; if (url.host !== null) { - output += "//"; - if (url.username !== "" || url.password !== "") { + output += '//'; + if (url.username !== '' || url.password !== '') { output += url.username; - if (url.password !== "") { - output += ":" + url.password; + if (url.password !== '') { + output += ':' + url.password; } - output += "@"; + output += '@'; } output += serializeHost(url.host); if (url.port !== null) { - output += ":" + url.port; + output += ':' + url.port; } - } else if (url.host === null && url.scheme === "file") { - output += "//"; + } else if (url.host === null && url.scheme === 'file') { + output += '//'; } if (url.cannotBeABaseURL) { output += url.path[0]; } else { for (const string of url.path) { - output += "/" + string; + output += '/' + string; } } if (url.query !== null) { - output += "?" + url.query; + output += '?' + url.query; } if (!excludeFragment && url.fragment !== null) { - output += "#" + url.fragment; + output += '#' + url.fragment; } return output; } function serializeOrigin(tuple) { - let result = tuple.scheme + "://"; + let result = tuple.scheme + '://'; result += serializeHost(tuple.host); if (tuple.port !== null) { - result += ":" + tuple.port; + result += ':' + tuple.port; } return result; } module2.exports.serializeURL = serializeURL; - module2.exports.serializeURLOrigin = function(url) { + module2.exports.serializeURLOrigin = function (url) { switch (url.scheme) { - case "blob": + case 'blob': try { return module2.exports.serializeURLOrigin(module2.exports.parseURL(url.path[0])); } catch (e) { - return "null"; - } - case "ftp": - case "gopher": - case "http": - case "https": - case "ws": - case "wss": + return 'null'; + } + case 'ftp': + case 'gopher': + case 'http': + case 'https': + case 'ws': + case 'wss': return serializeOrigin({ scheme: url.scheme, host: url.host, - port: url.port + port: url.port, }); - case "file": - return "file://"; + case 'file': + return 'file://'; default: - return "null"; + return 'null'; } }; - module2.exports.basicURLParse = function(input, options2) { + module2.exports.basicURLParse = function (input, options2) { if (options2 === void 0) { options2 = {}; } - const usm = new URLStateMachine(input, options2.baseURL, options2.encodingOverride, options2.url, options2.stateOverride); + const usm = new URLStateMachine( + input, + options2.baseURL, + options2.encodingOverride, + options2.url, + options2.stateOverride + ); if (usm.failure) { - return "failure"; + return 'failure'; } return usm.url; }; - module2.exports.setTheUsername = function(url, username) { - url.username = ""; + module2.exports.setTheUsername = function (url, username) { + url.username = ''; const decoded = punycode.ucs2.decode(username); for (let i = 0; i < decoded.length; ++i) { url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); } }; - module2.exports.setThePassword = function(url, password) { - url.password = ""; + module2.exports.setThePassword = function (url, password) { + url.password = ''; const decoded = punycode.ucs2.decode(password); for (let i = 0; i < decoded.length; ++i) { url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); @@ -49795,22 +63151,25 @@ var require_url_state_machine = __commonJS({ }; module2.exports.serializeHost = serializeHost; module2.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; - module2.exports.serializeInteger = function(integer) { + module2.exports.serializeInteger = function (integer) { return String(integer); }; - module2.exports.parseURL = function(input, options2) { + module2.exports.parseURL = function (input, options2) { if (options2 === void 0) { options2 = {}; } - return module2.exports.basicURLParse(input, { baseURL: options2.baseURL, encodingOverride: options2.encodingOverride }); + return module2.exports.basicURLParse(input, { + baseURL: options2.baseURL, + encodingOverride: options2.encodingOverride, + }); }; - } + }, }); // node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js var require_URL_impl = __commonJS({ - "node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js"(exports2) { - "use strict"; + 'node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js'(exports2) { + 'use strict'; var usm = require_url_state_machine(); exports2.implementation = class URLImpl { constructor(constructorArgs) { @@ -49819,13 +63178,13 @@ var require_URL_impl = __commonJS({ let parsedBase = null; if (base !== void 0) { parsedBase = usm.basicURLParse(base); - if (parsedBase === "failure") { - throw new TypeError("Invalid base URL"); + if (parsedBase === 'failure') { + throw new TypeError('Invalid base URL'); } } const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); - if (parsedURL === "failure") { - throw new TypeError("Invalid URL"); + if (parsedURL === 'failure') { + throw new TypeError('Invalid URL'); } this._url = parsedURL; } @@ -49834,8 +63193,8 @@ var require_URL_impl = __commonJS({ } set href(v) { const parsedURL = usm.basicURLParse(v); - if (parsedURL === "failure") { - throw new TypeError("Invalid URL"); + if (parsedURL === 'failure') { + throw new TypeError('Invalid URL'); } this._url = parsedURL; } @@ -49843,10 +63202,10 @@ var require_URL_impl = __commonJS({ return usm.serializeURLOrigin(this._url); } get protocol() { - return this._url.scheme + ":"; + return this._url.scheme + ':'; } set protocol(v) { - usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); + usm.basicURLParse(v + ':', { url: this._url, stateOverride: 'scheme start' }); } get username() { return this._url.username; @@ -49869,22 +63228,22 @@ var require_URL_impl = __commonJS({ get host() { const url = this._url; if (url.host === null) { - return ""; + return ''; } if (url.port === null) { return usm.serializeHost(url.host); } - return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); + return usm.serializeHost(url.host) + ':' + usm.serializeInteger(url.port); } set host(v) { if (this._url.cannotBeABaseURL) { return; } - usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); + usm.basicURLParse(v, { url: this._url, stateOverride: 'host' }); } get hostname() { if (this._url.host === null) { - return ""; + return ''; } return usm.serializeHost(this._url.host); } @@ -49892,11 +63251,11 @@ var require_URL_impl = __commonJS({ if (this._url.cannotBeABaseURL) { return; } - usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); + usm.basicURLParse(v, { url: this._url, stateOverride: 'hostname' }); } get port() { if (this._url.port === null) { - return ""; + return ''; } return usm.serializeInteger(this._url.port); } @@ -49904,10 +63263,10 @@ var require_URL_impl = __commonJS({ if (usm.cannotHaveAUsernamePasswordPort(this._url)) { return; } - if (v === "") { + if (v === '') { this._url.port = null; } else { - usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); + usm.basicURLParse(v, { url: this._url, stateOverride: 'port' }); } } get pathname() { @@ -49915,83 +63274,89 @@ var require_URL_impl = __commonJS({ return this._url.path[0]; } if (this._url.path.length === 0) { - return ""; + return ''; } - return "/" + this._url.path.join("/"); + return '/' + this._url.path.join('/'); } set pathname(v) { if (this._url.cannotBeABaseURL) { return; } this._url.path = []; - usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); + usm.basicURLParse(v, { url: this._url, stateOverride: 'path start' }); } get search() { - if (this._url.query === null || this._url.query === "") { - return ""; + if (this._url.query === null || this._url.query === '') { + return ''; } - return "?" + this._url.query; + return '?' + this._url.query; } set search(v) { const url = this._url; - if (v === "") { + if (v === '') { url.query = null; return; } - const input = v[0] === "?" ? v.substring(1) : v; - url.query = ""; - usm.basicURLParse(input, { url, stateOverride: "query" }); + const input = v[0] === '?' ? v.substring(1) : v; + url.query = ''; + usm.basicURLParse(input, { url, stateOverride: 'query' }); } get hash() { - if (this._url.fragment === null || this._url.fragment === "") { - return ""; + if (this._url.fragment === null || this._url.fragment === '') { + return ''; } - return "#" + this._url.fragment; + return '#' + this._url.fragment; } set hash(v) { - if (v === "") { + if (v === '') { this._url.fragment = null; return; } - const input = v[0] === "#" ? v.substring(1) : v; - this._url.fragment = ""; - usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); + const input = v[0] === '#' ? v.substring(1) : v; + this._url.fragment = ''; + usm.basicURLParse(input, { url: this._url, stateOverride: 'fragment' }); } toJSON() { return this.href; } }; - } + }, }); // node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js var require_URL = __commonJS({ - "node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js"(exports2, module2) { - "use strict"; + 'node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js'(exports2, module2) { + 'use strict'; var conversions = require_lib32(); var utils = require_utils7(); var Impl = require_URL_impl(); var impl = utils.implSymbol; function URL(url) { if (!this || this[impl] || !(this instanceof URL)) { - throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); + throw new TypeError( + "Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function." + ); } if (arguments.length < 1) { - throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); + throw new TypeError( + "Failed to construct 'URL': 1 argument required, but only " + + arguments.length + + ' present.' + ); } const args = []; for (let i = 0; i < arguments.length && i < 2; ++i) { args[i] = arguments[i]; } - args[0] = conversions["USVString"](args[0]); + args[0] = conversions['USVString'](args[0]); if (args[1] !== void 0) { - args[1] = conversions["USVString"](args[1]); + args[1] = conversions['USVString'](args[1]); } module2.exports.setup(this, args); } URL.prototype.toJSON = function toJSON() { if (!this || !module2.exports.is(this)) { - throw new TypeError("Illegal invocation"); + throw new TypeError('Illegal invocation'); } const args = []; for (let i = 0; i < arguments.length && i < 0; ++i) { @@ -49999,128 +63364,128 @@ var require_URL = __commonJS({ } return this[impl].toJSON.apply(this[impl], args); }; - Object.defineProperty(URL.prototype, "href", { + Object.defineProperty(URL.prototype, 'href', { get() { return this[impl].href; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].href = V; }, enumerable: true, - configurable: true + configurable: true, }); - URL.prototype.toString = function() { + URL.prototype.toString = function () { if (!this || !module2.exports.is(this)) { - throw new TypeError("Illegal invocation"); + throw new TypeError('Illegal invocation'); } return this.href; }; - Object.defineProperty(URL.prototype, "origin", { + Object.defineProperty(URL.prototype, 'origin', { get() { return this[impl].origin; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "protocol", { + Object.defineProperty(URL.prototype, 'protocol', { get() { return this[impl].protocol; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].protocol = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "username", { + Object.defineProperty(URL.prototype, 'username', { get() { return this[impl].username; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].username = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "password", { + Object.defineProperty(URL.prototype, 'password', { get() { return this[impl].password; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].password = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "host", { + Object.defineProperty(URL.prototype, 'host', { get() { return this[impl].host; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].host = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "hostname", { + Object.defineProperty(URL.prototype, 'hostname', { get() { return this[impl].hostname; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].hostname = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "port", { + Object.defineProperty(URL.prototype, 'port', { get() { return this[impl].port; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].port = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "pathname", { + Object.defineProperty(URL.prototype, 'pathname', { get() { return this[impl].pathname; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].pathname = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "search", { + Object.defineProperty(URL.prototype, 'search', { get() { return this[impl].search; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].search = V; }, enumerable: true, - configurable: true + configurable: true, }); - Object.defineProperty(URL.prototype, "hash", { + Object.defineProperty(URL.prototype, 'hash', { get() { return this[impl].hash; }, set(V) { - V = conversions["USVString"](V); + V = conversions['USVString'](V); this[impl].hash = V; }, enumerable: true, - configurable: true + configurable: true, }); module2.exports = { is(obj) { @@ -50132,8 +63497,7 @@ var require_URL = __commonJS({ return obj; }, setup(obj, constructorArgs, privateData) { - if (!privateData) - privateData = {}; + if (!privateData) privateData = {}; privateData.wrapper = obj; obj[impl] = new Impl.implementation(constructorArgs, privateData); obj[impl][utils.wrapperSymbol] = obj; @@ -50141,16 +63505,16 @@ var require_URL = __commonJS({ interface: URL, expose: { Window: { URL }, - Worker: { URL } - } + Worker: { URL }, + }, }; - } + }, }); // node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js var require_public_api = __commonJS({ - "node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js"(exports2) { - "use strict"; + 'node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js'(exports2) { + 'use strict'; exports2.URL = require_URL().interface; exports2.serializeURL = require_url_state_machine().serializeURL; exports2.serializeURLOrigin = require_url_state_machine().serializeURLOrigin; @@ -50160,29 +63524,29 @@ var require_public_api = __commonJS({ exports2.serializeHost = require_url_state_machine().serializeHost; exports2.serializeInteger = require_url_state_machine().serializeInteger; exports2.parseURL = require_url_state_machine().parseURL; - } + }, }); // node_modules/node-fetch/lib/index.js var require_lib33 = __commonJS({ - "node_modules/node-fetch/lib/index.js"(exports2, module2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/node-fetch/lib/index.js'(exports2, module2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex ? ex["default"] : ex; + return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex; } - var Stream = _interopDefault(require("stream")); - var http = _interopDefault(require("http")); - var Url = _interopDefault(require("url")); + var Stream = _interopDefault(require('stream')); + var http = _interopDefault(require('http')); + var Url = _interopDefault(require('url')); var whatwgUrl = _interopDefault(require_public_api()); - var https = _interopDefault(require("https")); - var zlib = _interopDefault(require("zlib")); + var https = _interopDefault(require('https')); + var zlib = _interopDefault(require('zlib')); var Readable = Stream.Readable; - var BUFFER = Symbol("buffer"); - var TYPE = Symbol("type"); + var BUFFER = Symbol('buffer'); + var TYPE = Symbol('type'); var Blob2 = class { constructor() { - this[TYPE] = ""; + this[TYPE] = ''; const blobParts = arguments[0]; const options2 = arguments[1]; const buffers = []; @@ -50202,7 +63566,7 @@ var require_lib33 = __commonJS({ } else if (element instanceof Blob2) { buffer = element[BUFFER]; } else { - buffer = Buffer.from(typeof element === "string" ? element : String(element)); + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); } size += buffer.length; buffers.push(buffer); @@ -50230,14 +63594,13 @@ var require_lib33 = __commonJS({ } stream() { const readable = new Readable(); - readable._read = function() { - }; + readable._read = function () {}; readable.push(this[BUFFER]); readable.push(null); return readable; } toString() { - return "[object Blob]"; + return '[object Blob]'; } slice() { const size = this.size; @@ -50269,13 +63632,13 @@ var require_lib33 = __commonJS({ Object.defineProperties(Blob2.prototype, { size: { enumerable: true }, type: { enumerable: true }, - slice: { enumerable: true } + slice: { enumerable: true }, }); Object.defineProperty(Blob2.prototype, Symbol.toStringTag, { - value: "Blob", + value: 'Blob', writable: false, enumerable: false, - configurable: true + configurable: true, }); function FetchError(message, type, systemError) { Error.call(this, message); @@ -50288,17 +63651,17 @@ var require_lib33 = __commonJS({ } FetchError.prototype = Object.create(Error.prototype); FetchError.prototype.constructor = FetchError; - FetchError.prototype.name = "FetchError"; + FetchError.prototype.name = 'FetchError'; var convert; try { - convert = require("encoding").convert; - } catch (e) { - } - var INTERNALS = Symbol("Body internals"); + convert = require('encoding').convert; + } catch (e) {} + var INTERNALS = Symbol('Body internals'); var PassThrough = Stream.PassThrough; function Body(body) { var _this = this; - var _ref = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, _ref$size = _ref.size; + var _ref = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, + _ref$size = _ref.size; let size = _ref$size === void 0 ? 0 : _ref$size; var _ref$timeout = _ref.timeout; let timeout = _ref$timeout === void 0 ? 0 : _ref$timeout; @@ -50306,29 +63669,33 @@ var require_lib33 = __commonJS({ body = null; } else if (isURLSearchParams(body)) { body = Buffer.from(body.toString()); - } else if (isBlob(body)) - ; - else if (Buffer.isBuffer(body)) - ; - else if (Object.prototype.toString.call(body) === "[object ArrayBuffer]") { + } else if (isBlob(body)); + else if (Buffer.isBuffer(body)); + else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { body = Buffer.from(body); } else if (ArrayBuffer.isView(body)) { body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof Stream) - ; + } else if (body instanceof Stream); else { body = Buffer.from(String(body)); } this[INTERNALS] = { body, disturbed: false, - error: null + error: null, }; this.size = size; this.timeout = timeout; if (body instanceof Stream) { - body.on("error", function(err) { - const error = err.name === "AbortError" ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, "system", err); + body.on('error', function (err) { + const error = + err.name === 'AbortError' + ? err + : new FetchError( + `Invalid response body while trying to fetch ${_this.url}: ${err.message}`, + 'system', + err + ); _this[INTERNALS].error = error; }); } @@ -50341,35 +63708,40 @@ var require_lib33 = __commonJS({ return this[INTERNALS].disturbed; }, arrayBuffer() { - return consumeBody.call(this).then(function(buf) { + return consumeBody.call(this).then(function (buf) { return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); }); }, blob() { - let ct = this.headers && this.headers.get("content-type") || ""; - return consumeBody.call(this).then(function(buf) { + let ct = (this.headers && this.headers.get('content-type')) || ''; + return consumeBody.call(this).then(function (buf) { return Object.assign( new Blob2([], { - type: ct.toLowerCase() + type: ct.toLowerCase(), }), { - [BUFFER]: buf + [BUFFER]: buf, } ); }); }, json() { var _this2 = this; - return consumeBody.call(this).then(function(buffer) { + return consumeBody.call(this).then(function (buffer) { try { return JSON.parse(buffer.toString()); } catch (err) { - return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, "invalid-json")); + return Body.Promise.reject( + new FetchError( + `invalid json response body at ${_this2.url} reason: ${err.message}`, + 'invalid-json' + ) + ); } }); }, text() { - return consumeBody.call(this).then(function(buffer) { + return consumeBody.call(this).then(function (buffer) { return buffer.toString(); }); }, @@ -50378,10 +63750,10 @@ var require_lib33 = __commonJS({ }, textConverted() { var _this3 = this; - return consumeBody.call(this).then(function(buffer) { + return consumeBody.call(this).then(function (buffer) { return convertBody(buffer, _this3.headers); }); - } + }, }; Object.defineProperties(Body.prototype, { body: { enumerable: true }, @@ -50389,9 +63761,9 @@ var require_lib33 = __commonJS({ arrayBuffer: { enumerable: true }, blob: { enumerable: true }, json: { enumerable: true }, - text: { enumerable: true } + text: { enumerable: true }, }); - Body.mixIn = function(proto) { + Body.mixIn = function (proto) { for (const name2 of Object.getOwnPropertyNames(Body.prototype)) { if (!(name2 in proto)) { const desc = Object.getOwnPropertyDescriptor(Body.prototype, name2); @@ -50424,35 +63796,48 @@ var require_lib33 = __commonJS({ let accum = []; let accumBytes = 0; let abort = false; - return new Body.Promise(function(resolve, reject) { + return new Body.Promise(function (resolve, reject) { let resTimeout; if (_this4.timeout) { - resTimeout = setTimeout(function() { + resTimeout = setTimeout(function () { abort = true; - reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, "body-timeout")); + reject( + new FetchError( + `Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, + 'body-timeout' + ) + ); }, _this4.timeout); } - body.on("error", function(err) { - if (err.name === "AbortError") { + body.on('error', function (err) { + if (err.name === 'AbortError') { abort = true; reject(err); } else { - reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, "system", err)); + reject( + new FetchError( + `Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, + 'system', + err + ) + ); } }); - body.on("data", function(chunk) { + body.on('data', function (chunk) { if (abort || chunk === null) { return; } if (_this4.size && accumBytes + chunk.length > _this4.size) { abort = true; - reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, "max-size")); + reject( + new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size') + ); return; } accumBytes += chunk.length; accum.push(chunk); }); - body.on("end", function() { + body.on('end', function () { if (abort) { return; } @@ -50460,17 +63845,25 @@ var require_lib33 = __commonJS({ try { resolve(Buffer.concat(accum, accumBytes)); } catch (err) { - reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, "system", err)); + reject( + new FetchError( + `Could not create Buffer from response body for ${_this4.url}: ${err.message}`, + 'system', + err + ) + ); } }); }); } function convertBody(buffer, headers) { - if (typeof convert !== "function") { - throw new Error("The package `encoding` must be installed to use the textConverted() function"); + if (typeof convert !== 'function') { + throw new Error( + 'The package `encoding` must be installed to use the textConverted() function' + ); } - const ct = headers.get("content-type"); - let charset = "utf-8"; + const ct = headers.get('content-type'); + let charset = 'utf-8'; let res, str2; if (ct) { res = /charset=([^;]*)/i.exec(ct); @@ -50496,28 +63889,49 @@ var require_lib33 = __commonJS({ } if (res) { charset = res.pop(); - if (charset === "gb2312" || charset === "gbk") { - charset = "gb18030"; + if (charset === 'gb2312' || charset === 'gbk') { + charset = 'gb18030'; } } - return convert(buffer, "UTF-8", charset).toString(); + return convert(buffer, 'UTF-8', charset).toString(); } function isURLSearchParams(obj) { - if (typeof obj !== "object" || typeof obj.append !== "function" || typeof obj.delete !== "function" || typeof obj.get !== "function" || typeof obj.getAll !== "function" || typeof obj.has !== "function" || typeof obj.set !== "function") { + if ( + typeof obj !== 'object' || + typeof obj.append !== 'function' || + typeof obj.delete !== 'function' || + typeof obj.get !== 'function' || + typeof obj.getAll !== 'function' || + typeof obj.has !== 'function' || + typeof obj.set !== 'function' + ) { return false; } - return obj.constructor.name === "URLSearchParams" || Object.prototype.toString.call(obj) === "[object URLSearchParams]" || typeof obj.sort === "function"; + return ( + obj.constructor.name === 'URLSearchParams' || + Object.prototype.toString.call(obj) === '[object URLSearchParams]' || + typeof obj.sort === 'function' + ); } function isBlob(obj) { - return typeof obj === "object" && typeof obj.arrayBuffer === "function" && typeof obj.type === "string" && typeof obj.stream === "function" && typeof obj.constructor === "function" && typeof obj.constructor.name === "string" && /^(Blob|File)$/.test(obj.constructor.name) && /^(Blob|File)$/.test(obj[Symbol.toStringTag]); + return ( + typeof obj === 'object' && + typeof obj.arrayBuffer === 'function' && + typeof obj.type === 'string' && + typeof obj.stream === 'function' && + typeof obj.constructor === 'function' && + typeof obj.constructor.name === 'string' && + /^(Blob|File)$/.test(obj.constructor.name) && + /^(Blob|File)$/.test(obj[Symbol.toStringTag]) + ); } function clone(instance) { let p1, p2; let body = instance.body; if (instance.bodyUsed) { - throw new Error("cannot clone body after it is used"); + throw new Error('cannot clone body after it is used'); } - if (body instanceof Stream && typeof body.getBoundary !== "function") { + if (body instanceof Stream && typeof body.getBoundary !== 'function') { p1 = new PassThrough(); p2 = new PassThrough(); body.pipe(p1); @@ -50530,24 +63944,24 @@ var require_lib33 = __commonJS({ function extractContentType(body) { if (body === null) { return null; - } else if (typeof body === "string") { - return "text/plain;charset=UTF-8"; + } else if (typeof body === 'string') { + return 'text/plain;charset=UTF-8'; } else if (isURLSearchParams(body)) { - return "application/x-www-form-urlencoded;charset=UTF-8"; + return 'application/x-www-form-urlencoded;charset=UTF-8'; } else if (isBlob(body)) { return body.type || null; } else if (Buffer.isBuffer(body)) { return null; - } else if (Object.prototype.toString.call(body) === "[object ArrayBuffer]") { + } else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { return null; } else if (ArrayBuffer.isView(body)) { return null; - } else if (typeof body.getBoundary === "function") { + } else if (typeof body.getBoundary === 'function') { return `multipart/form-data;boundary=${body.getBoundary()}`; } else if (body instanceof Stream) { return null; } else { - return "text/plain;charset=UTF-8"; + return 'text/plain;charset=UTF-8'; } } function getTotalBytes(instance) { @@ -50558,8 +63972,11 @@ var require_lib33 = __commonJS({ return body.size; } else if (Buffer.isBuffer(body)) { return body.length; - } else if (body && typeof body.getLengthSync === "function") { - if (body._lengthRetrievers && body._lengthRetrievers.length == 0 || body.hasKnownLength && body.hasKnownLength()) { + } else if (body && typeof body.getLengthSync === 'function') { + if ( + (body._lengthRetrievers && body._lengthRetrievers.length == 0) || + (body.hasKnownLength && body.hasKnownLength()) + ) { return body.getLengthSync(); } return null; @@ -50585,7 +64002,7 @@ var require_lib33 = __commonJS({ var invalidHeaderCharRegex = /[^\t\x20-\x7e\x80-\xff]/; function validateName(name2) { name2 = `${name2}`; - if (invalidTokenRegex.test(name2) || name2 === "") { + if (invalidTokenRegex.test(name2) || name2 === '') { throw new TypeError(`${name2} is not a legal HTTP header name`); } } @@ -50604,7 +64021,7 @@ var require_lib33 = __commonJS({ } return void 0; } - var MAP = Symbol("map"); + var MAP = Symbol('map'); var Headers = class { constructor() { let init = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0; @@ -50619,24 +64036,23 @@ var require_lib33 = __commonJS({ } return; } - if (init == null) - ; - else if (typeof init === "object") { + if (init == null); + else if (typeof init === 'object') { const method = init[Symbol.iterator]; if (method != null) { - if (typeof method !== "function") { - throw new TypeError("Header pairs must be iterable"); + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); } const pairs = []; for (const pair of init) { - if (typeof pair !== "object" || typeof pair[Symbol.iterator] !== "function") { - throw new TypeError("Each header pair must be iterable"); + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); } pairs.push(Array.from(pair)); } for (const pair of pairs) { if (pair.length !== 2) { - throw new TypeError("Each header pair must be a name/value tuple"); + throw new TypeError('Each header pair must be a name/value tuple'); } this.append(pair[0], pair[1]); } @@ -50647,7 +64063,7 @@ var require_lib33 = __commonJS({ } } } else { - throw new TypeError("Provided initializer must be an object"); + throw new TypeError('Provided initializer must be an object'); } } get(name2) { @@ -50657,7 +64073,7 @@ var require_lib33 = __commonJS({ if (key === void 0) { return null; } - return this[MAP][key].join(", "); + return this[MAP][key].join(', '); } forEach(callback) { let thisArg = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : void 0; @@ -50665,7 +64081,8 @@ var require_lib33 = __commonJS({ let i = 0; while (i < pairs.length) { var _pairs$i = pairs[i]; - const name2 = _pairs$i[0], value = _pairs$i[1]; + const name2 = _pairs$i[0], + value = _pairs$i[1]; callback.call(thisArg, value, name2, this); pairs = getHeaders(this); i++; @@ -50708,21 +64125,21 @@ var require_lib33 = __commonJS({ return this[MAP]; } keys() { - return createHeadersIterator(this, "key"); + return createHeadersIterator(this, 'key'); } values() { - return createHeadersIterator(this, "value"); + return createHeadersIterator(this, 'value'); } [Symbol.iterator]() { - return createHeadersIterator(this, "key+value"); + return createHeadersIterator(this, 'key+value'); } }; Headers.prototype.entries = Headers.prototype[Symbol.iterator]; Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: "Headers", + value: 'Headers', writable: false, enumerable: false, - configurable: true + configurable: true, }); Object.defineProperties(Headers.prototype, { get: { enumerable: true }, @@ -50733,60 +64150,71 @@ var require_lib33 = __commonJS({ delete: { enumerable: true }, keys: { enumerable: true }, values: { enumerable: true }, - entries: { enumerable: true } + entries: { enumerable: true }, }); function getHeaders(headers) { - let kind = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "key+value"; + let kind = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 'key+value'; const keys = Object.keys(headers[MAP]).sort(); - return keys.map(kind === "key" ? function(k) { - return k.toLowerCase(); - } : kind === "value" ? function(k) { - return headers[MAP][k].join(", "); - } : function(k) { - return [k.toLowerCase(), headers[MAP][k].join(", ")]; - }); + return keys.map( + kind === 'key' + ? function (k) { + return k.toLowerCase(); + } + : kind === 'value' + ? function (k) { + return headers[MAP][k].join(', '); + } + : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + } + ); } - var INTERNAL = Symbol("internal"); + var INTERNAL = Symbol('internal'); function createHeadersIterator(target, kind) { const iterator = Object.create(HeadersIteratorPrototype); iterator[INTERNAL] = { target, kind, - index: 0 + index: 0, }; return iterator; } - var HeadersIteratorPrototype = Object.setPrototypeOf({ - next() { - if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { - throw new TypeError("Value of `this` is not a HeadersIterator"); - } - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, kind = _INTERNAL.kind, index = _INTERNAL.index; - const values = getHeaders(target, kind); - const len = values.length; - if (index >= len) { + var HeadersIteratorPrototype = Object.setPrototypeOf( + { + next() { + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: void 0, + done: true, + }; + } + this[INTERNAL].index = index + 1; return { - value: void 0, - done: true + value: values[index], + done: false, }; - } - this[INTERNAL].index = index + 1; - return { - value: values[index], - done: false - }; - } - }, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + }, + }, + Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())) + ); Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: "HeadersIterator", + value: 'HeadersIterator', writable: false, enumerable: false, - configurable: true + configurable: true, }); function exportNodeCompatibleHeaders(headers) { const obj = Object.assign({ __proto__: null }, headers[MAP]); - const hostHeaderKey = find(headers[MAP], "Host"); + const hostHeaderKey = find(headers[MAP], 'Host'); if (hostHeaderKey !== void 0) { obj[hostHeaderKey] = obj[hostHeaderKey][0]; } @@ -50815,7 +64243,7 @@ var require_lib33 = __commonJS({ } return headers; } - var INTERNALS$1 = Symbol("Response internals"); + var INTERNALS$1 = Symbol('Response internals'); var STATUS_CODES = http.STATUS_CODES; var Response = class { constructor() { @@ -50824,10 +64252,10 @@ var require_lib33 = __commonJS({ Body.call(this, body, opts); const status = opts.status || 200; const headers = new Headers(opts.headers); - if (body != null && !headers.has("Content-Type")) { + if (body != null && !headers.has('Content-Type')) { const contentType = extractContentType(body); if (contentType) { - headers.append("Content-Type", contentType); + headers.append('Content-Type', contentType); } } this[INTERNALS$1] = { @@ -50835,11 +64263,11 @@ var require_lib33 = __commonJS({ status, statusText: opts.statusText || STATUS_CODES[status], headers, - counter: opts.counter + counter: opts.counter, }; } get url() { - return this[INTERNALS$1].url || ""; + return this[INTERNALS$1].url || ''; } get status() { return this[INTERNALS$1].status; @@ -50863,7 +64291,7 @@ var require_lib33 = __commonJS({ statusText: this.statusText, headers: this.headers, ok: this.ok, - redirected: this.redirected + redirected: this.redirected, }); } }; @@ -50875,15 +64303,15 @@ var require_lib33 = __commonJS({ redirected: { enumerable: true }, statusText: { enumerable: true }, headers: { enumerable: true }, - clone: { enumerable: true } + clone: { enumerable: true }, }); Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: "Response", + value: 'Response', writable: false, enumerable: false, - configurable: true + configurable: true, }); - var INTERNALS$2 = Symbol("Request internals"); + var INTERNALS$2 = Symbol('Request internals'); var URL = Url.URL || whatwgUrl.URL; var parse_url = Url.parse; var format_url = Url.format; @@ -50893,13 +64321,13 @@ var require_lib33 = __commonJS({ } return parse_url(urlStr); } - var streamDestructionSupported = "destroy" in Stream.Readable.prototype; + var streamDestructionSupported = 'destroy' in Stream.Readable.prototype; function isRequest(input) { - return typeof input === "object" && typeof input[INTERNALS$2] === "object"; + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; } function isAbortSignal(signal) { - const proto = signal && typeof signal === "object" && Object.getPrototypeOf(signal); - return !!(proto && proto.constructor.name === "AbortSignal"); + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); } var Request = class { constructor(input) { @@ -50915,38 +64343,51 @@ var require_lib33 = __commonJS({ } else { parsedURL = parseURL(input.url); } - let method = init.method || input.method || "GET"; + let method = init.method || input.method || 'GET'; method = method.toUpperCase(); - if ((init.body != null || isRequest(input) && input.body !== null) && (method === "GET" || method === "HEAD")) { - throw new TypeError("Request with GET/HEAD method cannot have body"); - } - let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + if ( + (init.body != null || (isRequest(input) && input.body !== null)) && + (method === 'GET' || method === 'HEAD') + ) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + let inputBody = + init.body != null + ? init.body + : isRequest(input) && input.body !== null + ? clone(input) + : null; Body.call(this, inputBody, { timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0 + size: init.size || input.size || 0, }); const headers = new Headers(init.headers || input.headers || {}); - if (inputBody != null && !headers.has("Content-Type")) { + if (inputBody != null && !headers.has('Content-Type')) { const contentType = extractContentType(inputBody); if (contentType) { - headers.append("Content-Type", contentType); + headers.append('Content-Type', contentType); } } let signal = isRequest(input) ? input.signal : null; - if ("signal" in init) - signal = init.signal; + if ('signal' in init) signal = init.signal; if (signal != null && !isAbortSignal(signal)) { - throw new TypeError("Expected signal to be an instanceof AbortSignal"); + throw new TypeError('Expected signal to be an instanceof AbortSignal'); } this[INTERNALS$2] = { method, - redirect: init.redirect || input.redirect || "follow", + redirect: init.redirect || input.redirect || 'follow', headers, parsedURL, - signal + signal, }; - this.follow = init.follow !== void 0 ? init.follow : input.follow !== void 0 ? input.follow : 20; - this.compress = init.compress !== void 0 ? init.compress : input.compress !== void 0 ? input.compress : true; + this.follow = + init.follow !== void 0 ? init.follow : input.follow !== void 0 ? input.follow : 20; + this.compress = + init.compress !== void 0 + ? init.compress + : input.compress !== void 0 + ? input.compress + : true; this.counter = init.counter || input.counter || 0; this.agent = init.agent || input.agent; } @@ -50971,10 +64412,10 @@ var require_lib33 = __commonJS({ }; Body.mixIn(Request.prototype); Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: "Request", + value: 'Request', writable: false, enumerable: false, - configurable: true + configurable: true, }); Object.defineProperties(Request.prototype, { method: { enumerable: true }, @@ -50982,91 +64423,96 @@ var require_lib33 = __commonJS({ headers: { enumerable: true }, redirect: { enumerable: true }, clone: { enumerable: true }, - signal: { enumerable: true } + signal: { enumerable: true }, }); function getNodeRequestOptions(request) { const parsedURL = request[INTERNALS$2].parsedURL; const headers = new Headers(request[INTERNALS$2].headers); - if (!headers.has("Accept")) { - headers.set("Accept", "*/*"); + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); } if (!parsedURL.protocol || !parsedURL.hostname) { - throw new TypeError("Only absolute URLs are supported"); + throw new TypeError('Only absolute URLs are supported'); } if (!/^https?:$/.test(parsedURL.protocol)) { - throw new TypeError("Only HTTP(S) protocols are supported"); - } - if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { - throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8"); + throw new TypeError('Only HTTP(S) protocols are supported'); + } + if ( + request.signal && + request.body instanceof Stream.Readable && + !streamDestructionSupported + ) { + throw new Error( + 'Cancellation of streamed requests with AbortSignal is not supported in node < 8' + ); } let contentLengthValue = null; if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { - contentLengthValue = "0"; + contentLengthValue = '0'; } if (request.body != null) { const totalBytes = getTotalBytes(request); - if (typeof totalBytes === "number") { + if (typeof totalBytes === 'number') { contentLengthValue = String(totalBytes); } } if (contentLengthValue) { - headers.set("Content-Length", contentLengthValue); + headers.set('Content-Length', contentLengthValue); } - if (!headers.has("User-Agent")) { - headers.set("User-Agent", "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"); + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); } - if (request.compress && !headers.has("Accept-Encoding")) { - headers.set("Accept-Encoding", "gzip,deflate"); + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); } let agent = request.agent; - if (typeof agent === "function") { + if (typeof agent === 'function') { agent = agent(parsedURL); } - if (!headers.has("Connection") && !agent) { - headers.set("Connection", "close"); + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); } return Object.assign({}, parsedURL, { method: request.method, headers: exportNodeCompatibleHeaders(headers), - agent + agent, }); } function AbortError(message) { Error.call(this, message); - this.type = "aborted"; + this.type = 'aborted'; this.message = message; Error.captureStackTrace(this, this.constructor); } AbortError.prototype = Object.create(Error.prototype); AbortError.prototype.constructor = AbortError; - AbortError.prototype.name = "AbortError"; + AbortError.prototype.name = 'AbortError'; var URL$1 = Url.URL || whatwgUrl.URL; var PassThrough$1 = Stream.PassThrough; var isDomainOrSubdomain = function isDomainOrSubdomain2(destination, original) { const orig = new URL$1(original).hostname; const dest = new URL$1(destination).hostname; - return orig === dest || orig[orig.length - dest.length - 1] === "." && orig.endsWith(dest); + return orig === dest || (orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest)); }; function fetch2(url, opts) { if (!fetch2.Promise) { - throw new Error("native promise missing, set fetch.Promise to your favorite alternative"); + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); } Body.Promise = fetch2.Promise; - return new fetch2.Promise(function(resolve, reject) { + return new fetch2.Promise(function (resolve, reject) { const request = new Request(url, opts); const options2 = getNodeRequestOptions(request); - const send = (options2.protocol === "https:" ? https : http).request; + const send = (options2.protocol === 'https:' ? https : http).request; const signal = request.signal; let response = null; const abort = function abort2() { - let error = new AbortError("The user aborted a request."); + let error = new AbortError('The user aborted a request.'); reject(error); if (request.body && request.body instanceof Stream.Readable) { request.body.destroy(error); } - if (!response || !response.body) - return; - response.body.emit("error", error); + if (!response || !response.body) return; + response.body.emit('error', error); }; if (signal && signal.aborted) { abort(); @@ -51079,61 +64525,78 @@ var require_lib33 = __commonJS({ const req = send(options2); let reqTimeout; if (signal) { - signal.addEventListener("abort", abortAndFinalize); + signal.addEventListener('abort', abortAndFinalize); } function finalize() { req.abort(); - if (signal) - signal.removeEventListener("abort", abortAndFinalize); + if (signal) signal.removeEventListener('abort', abortAndFinalize); clearTimeout(reqTimeout); } if (request.timeout) { - req.once("socket", function(socket) { - reqTimeout = setTimeout(function() { - reject(new FetchError(`network timeout at: ${request.url}`, "request-timeout")); + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); finalize(); }, request.timeout); }); } - req.on("error", function(err) { - reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, "system", err)); + req.on('error', function (err) { + reject( + new FetchError( + `request to ${request.url} failed, reason: ${err.message}`, + 'system', + err + ) + ); finalize(); }); - req.on("response", function(res) { + req.on('response', function (res) { clearTimeout(reqTimeout); const headers = createHeadersLenient(res.headers); if (fetch2.isRedirect(res.statusCode)) { - const location = headers.get("Location"); + const location = headers.get('Location'); let locationURL = null; try { locationURL = location === null ? null : new URL$1(location, request.url).toString(); } catch (err) { - if (request.redirect !== "manual") { - reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, "invalid-redirect")); + if (request.redirect !== 'manual') { + reject( + new FetchError( + `uri requested responds with an invalid redirect URL: ${location}`, + 'invalid-redirect' + ) + ); finalize(); return; } } switch (request.redirect) { - case "error": - reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, "no-redirect")); + case 'error': + reject( + new FetchError( + `uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, + 'no-redirect' + ) + ); finalize(); return; - case "manual": + case 'manual': if (locationURL !== null) { try { - headers.set("Location", locationURL); + headers.set('Location', locationURL); } catch (err) { reject(err); } } break; - case "follow": + case 'follow': if (locationURL === null) { break; } if (request.counter >= request.follow) { - reject(new FetchError(`maximum redirect reached at: ${request.url}`, "max-redirect")); + reject( + new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect') + ); finalize(); return; } @@ -51147,31 +64610,38 @@ var require_lib33 = __commonJS({ body: request.body, signal: request.signal, timeout: request.timeout, - size: request.size + size: request.size, }; if (!isDomainOrSubdomain(request.url, locationURL)) { - for (const name2 of ["authorization", "www-authenticate", "cookie", "cookie2"]) { + for (const name2 of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { requestOpts.headers.delete(name2); } } if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { - reject(new FetchError("Cannot follow redirect with body being a readable stream", "unsupported-redirect")); + reject( + new FetchError( + 'Cannot follow redirect with body being a readable stream', + 'unsupported-redirect' + ) + ); finalize(); return; } - if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === "POST") { - requestOpts.method = "GET"; + if ( + res.statusCode === 303 || + ((res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') + ) { + requestOpts.method = 'GET'; requestOpts.body = void 0; - requestOpts.headers.delete("content-length"); + requestOpts.headers.delete('content-length'); } resolve(fetch2(new Request(locationURL, requestOpts))); finalize(); return; } } - res.once("end", function() { - if (signal) - signal.removeEventListener("abort", abortAndFinalize); + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); }); let body = res.pipe(new PassThrough$1()); const response_options = { @@ -51181,27 +64651,33 @@ var require_lib33 = __commonJS({ headers, size: request.size, timeout: request.timeout, - counter: request.counter + counter: request.counter, }; - const codings = headers.get("Content-Encoding"); - if (!request.compress || request.method === "HEAD" || codings === null || res.statusCode === 204 || res.statusCode === 304) { + const codings = headers.get('Content-Encoding'); + if ( + !request.compress || + request.method === 'HEAD' || + codings === null || + res.statusCode === 204 || + res.statusCode === 304 + ) { response = new Response(body, response_options); resolve(response); return; } const zlibOptions = { flush: zlib.Z_SYNC_FLUSH, - finishFlush: zlib.Z_SYNC_FLUSH + finishFlush: zlib.Z_SYNC_FLUSH, }; - if (codings == "gzip" || codings == "x-gzip") { + if (codings == 'gzip' || codings == 'x-gzip') { body = body.pipe(zlib.createGunzip(zlibOptions)); response = new Response(body, response_options); resolve(response); return; } - if (codings == "deflate" || codings == "x-deflate") { + if (codings == 'deflate' || codings == 'x-deflate') { const raw = res.pipe(new PassThrough$1()); - raw.once("data", function(chunk) { + raw.once('data', function (chunk) { if ((chunk[0] & 15) === 8) { body = body.pipe(zlib.createInflate()); } else { @@ -51212,7 +64688,7 @@ var require_lib33 = __commonJS({ }); return; } - if (codings == "br" && typeof zlib.createBrotliDecompress === "function") { + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { body = body.pipe(zlib.createBrotliDecompress()); response = new Response(body, response_options); resolve(response); @@ -51224,37 +64700,41 @@ var require_lib33 = __commonJS({ writeToStream(req, request); }); } - fetch2.isRedirect = function(code) { + fetch2.isRedirect = function (code) { return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; }; fetch2.Promise = global.Promise; module2.exports = exports2 = fetch2; - Object.defineProperty(exports2, "__esModule", { value: true }); + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.default = exports2; exports2.Headers = Headers; exports2.Request = Request; exports2.Response = Response; exports2.FetchError = FetchError; - } + }, }); // node_modules/isomorphic-unfetch/index.js var require_isomorphic_unfetch = __commonJS({ - "node_modules/isomorphic-unfetch/index.js"(exports2, module2) { + 'node_modules/isomorphic-unfetch/index.js'(exports2, module2) { function r(m) { - return m && m.default || m; - } - module2.exports = global.fetch = global.fetch || (typeof process == "undefined" ? r(require_unfetch()) : function(url, opts) { - return r(require_lib33())(String(url).replace(/^\/\//g, "https://"), opts); - }); - } + return (m && m.default) || m; + } + module2.exports = global.fetch = + global.fetch || + (typeof process == 'undefined' + ? r(require_unfetch()) + : function (url, opts) { + return r(require_lib33())(String(url).replace(/^\/\//g, 'https://'), opts); + }); + }, }); // node_modules/@aave/contract-helpers/dist/cjs/commons/ipfs.js var require_ipfs = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/commons/ipfs.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/commons/ipfs.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.getProposalMetadata = exports2.getLink = void 0; var tslib_1 = require_tslib(); var utils_1 = require_utils5(); @@ -51264,25 +64744,26 @@ var require_ipfs = __commonJS({ } exports2.getLink = getLink2; var MEMORIZE2 = {}; - function getProposalMetadata2(hash, gateway = "https://cloudflare-ipfs.com/ipfs") { + function getProposalMetadata2(hash, gateway = 'https://cloudflare-ipfs.com/ipfs') { return __async(this, null, function* () { - const ipfsHash = hash.startsWith("0x") ? utils_1.base58.encode(Buffer.from(`1220${hash.slice(2)}`, "hex")) : hash; - if (MEMORIZE2[ipfsHash]) - return MEMORIZE2[ipfsHash]; + const ipfsHash = hash.startsWith('0x') + ? utils_1.base58.encode(Buffer.from(`1220${hash.slice(2)}`, 'hex')) + : hash; + if (MEMORIZE2[ipfsHash]) return MEMORIZE2[ipfsHash]; try { const ipfsResponse = yield (0, isomorphic_unfetch_1.default)(getLink2(ipfsHash, gateway)); if (!ipfsResponse.ok) { - throw Error("Fetch not working"); + throw Error('Fetch not working'); } const data = yield ipfsResponse.json(); if (!data.title) { - throw Error("Missing title field at proposal metadata."); + throw Error('Missing title field at proposal metadata.'); } if (!data.description) { - throw Error("Missing description field at proposal metadata."); + throw Error('Missing description field at proposal metadata.'); } if (!data.shortDescription) { - throw Error("Missing shortDescription field at proposal metadata."); + throw Error('Missing shortDescription field at proposal metadata.'); } MEMORIZE2[ipfsHash] = Object.assign(Object.assign({}, data), { ipfsHash }); return MEMORIZE2[ipfsHash]; @@ -51295,30 +64776,36 @@ var require_ipfs = __commonJS({ shortDescription: `Proposal with invalid metadata format or IPFS gateway is down`, aip: 0, author: `Proposal with invalid metadata format or IPFS gateway is down`, - discussions: `Proposal with invalid metadata format or IPFS gateway is down` + discussions: `Proposal with invalid metadata format or IPFS gateway is down`, }; } }); } exports2.getProposalMetadata = getProposalMetadata2; - } + }, }); // node_modules/@aave/contract-helpers/dist/cjs/index.js var require_cjs = __commonJS({ - "node_modules/@aave/contract-helpers/dist/cjs/index.js"(exports2) { - "use strict"; - Object.defineProperty(exports2, "__esModule", { value: true }); + 'node_modules/@aave/contract-helpers/dist/cjs/index.js'(exports2) { + 'use strict'; + Object.defineProperty(exports2, '__esModule', { value: true }); exports2.PERMISSION_MAP = exports2.PERMISSION = void 0; var tslib_1 = require_tslib(); (0, tslib_1.__exportStar)(require_permissions_manager(), exports2); var PermissionManagerTypes_1 = require_PermissionManagerTypes(); - Object.defineProperty(exports2, "PERMISSION", { enumerable: true, get: function() { - return PermissionManagerTypes_1.PERMISSION; - } }); - Object.defineProperty(exports2, "PERMISSION_MAP", { enumerable: true, get: function() { - return PermissionManagerTypes_1.PERMISSION_MAP; - } }); + Object.defineProperty(exports2, 'PERMISSION', { + enumerable: true, + get: function () { + return PermissionManagerTypes_1.PERMISSION; + }, + }); + Object.defineProperty(exports2, 'PERMISSION_MAP', { + enumerable: true, + get: function () { + return PermissionManagerTypes_1.PERMISSION_MAP; + }, + }); (0, tslib_1.__exportStar)(require_v3_UiIncentiveDataProvider_contract(), exports2); (0, tslib_1.__exportStar)(require_v3_UiPoolDataProvider_contract(), exports2); (0, tslib_1.__exportStar)(require_wallet_balance_provider(), exports2); @@ -51338,49 +64825,116 @@ var require_cjs = __commonJS({ (0, tslib_1.__exportStar)(require_types2(), exports2); (0, tslib_1.__exportStar)(require_ipfs(), exports2); (0, tslib_1.__exportStar)(require_utils6(), exports2); - } + }, }); // node_modules/lodash/lodash.js var require_lodash = __commonJS({ - "node_modules/lodash/lodash.js"(exports2, module2) { - (function() { + 'node_modules/lodash/lodash.js'(exports2, module2) { + (function () { var undefined2; - var VERSION = "4.17.21"; + var VERSION = '4.17.21'; var LARGE_ARRAY_SIZE = 200; - var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`"; - var HASH_UNDEFINED = "__lodash_hash_undefined__"; + var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.', + FUNC_ERROR_TEXT = 'Expected a function', + INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`'; + var HASH_UNDEFINED = '__lodash_hash_undefined__'; var MAX_MEMOIZE_SIZE = 500; - var PLACEHOLDER = "__lodash_placeholder__"; - var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4; - var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; - var WRAP_BIND_FLAG = 1, WRAP_BIND_KEY_FLAG = 2, WRAP_CURRY_BOUND_FLAG = 4, WRAP_CURRY_FLAG = 8, WRAP_CURRY_RIGHT_FLAG = 16, WRAP_PARTIAL_FLAG = 32, WRAP_PARTIAL_RIGHT_FLAG = 64, WRAP_ARY_FLAG = 128, WRAP_REARG_FLAG = 256, WRAP_FLIP_FLAG = 512; - var DEFAULT_TRUNC_LENGTH = 30, DEFAULT_TRUNC_OMISSION = "..."; - var HOT_COUNT = 800, HOT_SPAN = 16; - var LAZY_FILTER_FLAG = 1, LAZY_MAP_FLAG = 2, LAZY_WHILE_FLAG = 3; - var INFINITY = 1 / 0, MAX_SAFE_INTEGER = 9007199254740991, MAX_INTEGER = 17976931348623157e292, NAN = 0 / 0; - var MAX_ARRAY_LENGTH = 4294967295, MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; + var PLACEHOLDER = '__lodash_placeholder__'; + var CLONE_DEEP_FLAG = 1, + CLONE_FLAT_FLAG = 2, + CLONE_SYMBOLS_FLAG = 4; + var COMPARE_PARTIAL_FLAG = 1, + COMPARE_UNORDERED_FLAG = 2; + var WRAP_BIND_FLAG = 1, + WRAP_BIND_KEY_FLAG = 2, + WRAP_CURRY_BOUND_FLAG = 4, + WRAP_CURRY_FLAG = 8, + WRAP_CURRY_RIGHT_FLAG = 16, + WRAP_PARTIAL_FLAG = 32, + WRAP_PARTIAL_RIGHT_FLAG = 64, + WRAP_ARY_FLAG = 128, + WRAP_REARG_FLAG = 256, + WRAP_FLIP_FLAG = 512; + var DEFAULT_TRUNC_LENGTH = 30, + DEFAULT_TRUNC_OMISSION = '...'; + var HOT_COUNT = 800, + HOT_SPAN = 16; + var LAZY_FILTER_FLAG = 1, + LAZY_MAP_FLAG = 2, + LAZY_WHILE_FLAG = 3; + var INFINITY = 1 / 0, + MAX_SAFE_INTEGER = 9007199254740991, + MAX_INTEGER = 17976931348623157e292, + NAN = 0 / 0; + var MAX_ARRAY_LENGTH = 4294967295, + MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, + HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; var wrapFlags = [ - ["ary", WRAP_ARY_FLAG], - ["bind", WRAP_BIND_FLAG], - ["bindKey", WRAP_BIND_KEY_FLAG], - ["curry", WRAP_CURRY_FLAG], - ["curryRight", WRAP_CURRY_RIGHT_FLAG], - ["flip", WRAP_FLIP_FLAG], - ["partial", WRAP_PARTIAL_FLAG], - ["partialRight", WRAP_PARTIAL_RIGHT_FLAG], - ["rearg", WRAP_REARG_FLAG] + ['ary', WRAP_ARY_FLAG], + ['bind', WRAP_BIND_FLAG], + ['bindKey', WRAP_BIND_KEY_FLAG], + ['curry', WRAP_CURRY_FLAG], + ['curryRight', WRAP_CURRY_RIGHT_FLAG], + ['flip', WRAP_FLIP_FLAG], + ['partial', WRAP_PARTIAL_FLAG], + ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], + ['rearg', WRAP_REARG_FLAG], ]; - var argsTag = "[object Arguments]", arrayTag = "[object Array]", asyncTag = "[object AsyncFunction]", boolTag = "[object Boolean]", dateTag = "[object Date]", domExcTag = "[object DOMException]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", nullTag = "[object Null]", objectTag = "[object Object]", promiseTag = "[object Promise]", proxyTag = "[object Proxy]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", undefinedTag = "[object Undefined]", weakMapTag = "[object WeakMap]", weakSetTag = "[object WeakSet]"; - var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]"; - var reEmptyStringLeading = /\b__p \+= '';/g, reEmptyStringMiddle = /\b(__p \+=) '' \+/g, reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; - var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, reUnescapedHtml = /[&<>"']/g, reHasEscapedHtml = RegExp(reEscapedHtml.source), reHasUnescapedHtml = RegExp(reUnescapedHtml.source); - var reEscape = /<%-([\s\S]+?)%>/g, reEvaluate = /<%([\s\S]+?)%>/g, reInterpolate = /<%=([\s\S]+?)%>/g; - var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reHasRegExpChar = RegExp(reRegExpChar.source); + var argsTag = '[object Arguments]', + arrayTag = '[object Array]', + asyncTag = '[object AsyncFunction]', + boolTag = '[object Boolean]', + dateTag = '[object Date]', + domExcTag = '[object DOMException]', + errorTag = '[object Error]', + funcTag = '[object Function]', + genTag = '[object GeneratorFunction]', + mapTag = '[object Map]', + numberTag = '[object Number]', + nullTag = '[object Null]', + objectTag = '[object Object]', + promiseTag = '[object Promise]', + proxyTag = '[object Proxy]', + regexpTag = '[object RegExp]', + setTag = '[object Set]', + stringTag = '[object String]', + symbolTag = '[object Symbol]', + undefinedTag = '[object Undefined]', + weakMapTag = '[object WeakMap]', + weakSetTag = '[object WeakSet]'; + var arrayBufferTag = '[object ArrayBuffer]', + dataViewTag = '[object DataView]', + float32Tag = '[object Float32Array]', + float64Tag = '[object Float64Array]', + int8Tag = '[object Int8Array]', + int16Tag = '[object Int16Array]', + int32Tag = '[object Int32Array]', + uint8Tag = '[object Uint8Array]', + uint8ClampedTag = '[object Uint8ClampedArray]', + uint16Tag = '[object Uint16Array]', + uint32Tag = '[object Uint32Array]'; + var reEmptyStringLeading = /\b__p \+= '';/g, + reEmptyStringMiddle = /\b(__p \+=) '' \+/g, + reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; + var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, + reUnescapedHtml = /[&<>"']/g, + reHasEscapedHtml = RegExp(reEscapedHtml.source), + reHasUnescapedHtml = RegExp(reUnescapedHtml.source); + var reEscape = /<%-([\s\S]+?)%>/g, + reEvaluate = /<%([\s\S]+?)%>/g, + reInterpolate = /<%=([\s\S]+?)%>/g; + var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, + reIsPlainProp = /^\w*$/, + rePropName = + /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; + var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, + reHasRegExpChar = RegExp(reRegExpChar.source); var reTrimStart = /^\s+/; var reWhitespace = /\s/; - var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, reSplitDetails = /,? & /; + var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, + reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, + reSplitDetails = /,? & /; var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/; var reEscapeChar = /\\(\\)?/g; @@ -51394,296 +64948,421 @@ var require_lodash = __commonJS({ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; var reNoMatch = /($^)/; var reUnescapedString = /['\n\r\u2028\u2029\\]/g; - var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, rsDingbatRange = "\\u2700-\\u27bf", rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff", rsMathOpRange = "\\xac\\xb1\\xd7\\xf7", rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", rsPunctuationRange = "\\u2000-\\u206f", rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde", rsVarRange = "\\ufe0e\\ufe0f", rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; - var rsApos = "['\u2019]", rsAstral = "[" + rsAstralRange + "]", rsBreak = "[" + rsBreakRange + "]", rsCombo = "[" + rsComboRange + "]", rsDigits = "\\d+", rsDingbat = "[" + rsDingbatRange + "]", rsLower = "[" + rsLowerRange + "]", rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]", rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")", rsNonAstral = "[^" + rsAstralRange + "]", rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsUpper = "[" + rsUpperRange + "]", rsZWJ = "\\u200d"; - var rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")", rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")", rsOptContrLower = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?", rsOptContrUpper = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?", reOptMod = rsModifier + "?", rsOptVar = "[" + rsVarRange + "]?", rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*", rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", rsSeq = rsOptVar + reOptMod + rsOptJoin, rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq, rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")"; - var reApos = RegExp(rsApos, "g"); - var reComboMark = RegExp(rsCombo, "g"); - var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g"); - var reUnicodeWord = RegExp([ - rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")", - rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [rsBreak, rsUpper + rsMiscLower, "$"].join("|") + ")", - rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower, - rsUpper + "+" + rsOptContrUpper, - rsOrdUpper, - rsOrdLower, - rsDigits, - rsEmoji - ].join("|"), "g"); - var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]"); + var rsAstralRange = '\\ud800-\\udfff', + rsComboMarksRange = '\\u0300-\\u036f', + reComboHalfMarksRange = '\\ufe20-\\ufe2f', + rsComboSymbolsRange = '\\u20d0-\\u20ff', + rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, + rsDingbatRange = '\\u2700-\\u27bf', + rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', + rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', + rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', + rsPunctuationRange = '\\u2000-\\u206f', + rsSpaceRange = + ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', + rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', + rsVarRange = '\\ufe0e\\ufe0f', + rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; + var rsApos = "['\u2019]", + rsAstral = '[' + rsAstralRange + ']', + rsBreak = '[' + rsBreakRange + ']', + rsCombo = '[' + rsComboRange + ']', + rsDigits = '\\d+', + rsDingbat = '[' + rsDingbatRange + ']', + rsLower = '[' + rsLowerRange + ']', + rsMisc = + '[^' + + rsAstralRange + + rsBreakRange + + rsDigits + + rsDingbatRange + + rsLowerRange + + rsUpperRange + + ']', + rsFitz = '\\ud83c[\\udffb-\\udfff]', + rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', + rsNonAstral = '[^' + rsAstralRange + ']', + rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', + rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', + rsUpper = '[' + rsUpperRange + ']', + rsZWJ = '\\u200d'; + var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', + rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', + rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', + rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', + reOptMod = rsModifier + '?', + rsOptVar = '[' + rsVarRange + ']?', + rsOptJoin = + '(?:' + + rsZWJ + + '(?:' + + [rsNonAstral, rsRegional, rsSurrPair].join('|') + + ')' + + rsOptVar + + reOptMod + + ')*', + rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])', + rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])', + rsSeq = rsOptVar + reOptMod + rsOptJoin, + rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq, + rsSymbol = + '(?:' + + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + + ')'; + var reApos = RegExp(rsApos, 'g'); + var reComboMark = RegExp(rsCombo, 'g'); + var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); + var reUnicodeWord = RegExp( + [ + rsUpper + + '?' + + rsLower + + '+' + + rsOptContrLower + + '(?=' + + [rsBreak, rsUpper, '$'].join('|') + + ')', + rsMiscUpper + + '+' + + rsOptContrUpper + + '(?=' + + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + + ')', + rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, + rsUpper + '+' + rsOptContrUpper, + rsOrdUpper, + rsOrdLower, + rsDigits, + rsEmoji, + ].join('|'), + 'g' + ); + var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; var contextProps = [ - "Array", - "Buffer", - "DataView", - "Date", - "Error", - "Float32Array", - "Float64Array", - "Function", - "Int8Array", - "Int16Array", - "Int32Array", - "Map", - "Math", - "Object", - "Promise", - "RegExp", - "Set", - "String", - "Symbol", - "TypeError", - "Uint8Array", - "Uint8ClampedArray", - "Uint16Array", - "Uint32Array", - "WeakMap", - "_", - "clearTimeout", - "isFinite", - "parseInt", - "setTimeout" + 'Array', + 'Buffer', + 'DataView', + 'Date', + 'Error', + 'Float32Array', + 'Float64Array', + 'Function', + 'Int8Array', + 'Int16Array', + 'Int32Array', + 'Map', + 'Math', + 'Object', + 'Promise', + 'RegExp', + 'Set', + 'String', + 'Symbol', + 'TypeError', + 'Uint8Array', + 'Uint8ClampedArray', + 'Uint16Array', + 'Uint32Array', + 'WeakMap', + '_', + 'clearTimeout', + 'isFinite', + 'parseInt', + 'setTimeout', ]; var templateCounter = -1; var typedArrayTags = {}; - typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true; - typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false; + typedArrayTags[float32Tag] = + typedArrayTags[float64Tag] = + typedArrayTags[int8Tag] = + typedArrayTags[int16Tag] = + typedArrayTags[int32Tag] = + typedArrayTags[uint8Tag] = + typedArrayTags[uint8ClampedTag] = + typedArrayTags[uint16Tag] = + typedArrayTags[uint32Tag] = + true; + typedArrayTags[argsTag] = + typedArrayTags[arrayTag] = + typedArrayTags[arrayBufferTag] = + typedArrayTags[boolTag] = + typedArrayTags[dataViewTag] = + typedArrayTags[dateTag] = + typedArrayTags[errorTag] = + typedArrayTags[funcTag] = + typedArrayTags[mapTag] = + typedArrayTags[numberTag] = + typedArrayTags[objectTag] = + typedArrayTags[regexpTag] = + typedArrayTags[setTag] = + typedArrayTags[stringTag] = + typedArrayTags[weakMapTag] = + false; var cloneableTags = {}; - cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; + cloneableTags[argsTag] = + cloneableTags[arrayTag] = + cloneableTags[arrayBufferTag] = + cloneableTags[dataViewTag] = + cloneableTags[boolTag] = + cloneableTags[dateTag] = + cloneableTags[float32Tag] = + cloneableTags[float64Tag] = + cloneableTags[int8Tag] = + cloneableTags[int16Tag] = + cloneableTags[int32Tag] = + cloneableTags[mapTag] = + cloneableTags[numberTag] = + cloneableTags[objectTag] = + cloneableTags[regexpTag] = + cloneableTags[setTag] = + cloneableTags[stringTag] = + cloneableTags[symbolTag] = + cloneableTags[uint8Tag] = + cloneableTags[uint8ClampedTag] = + cloneableTags[uint16Tag] = + cloneableTags[uint32Tag] = + true; cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false; var deburredLetters = { - "\xC0": "A", - "\xC1": "A", - "\xC2": "A", - "\xC3": "A", - "\xC4": "A", - "\xC5": "A", - "\xE0": "a", - "\xE1": "a", - "\xE2": "a", - "\xE3": "a", - "\xE4": "a", - "\xE5": "a", - "\xC7": "C", - "\xE7": "c", - "\xD0": "D", - "\xF0": "d", - "\xC8": "E", - "\xC9": "E", - "\xCA": "E", - "\xCB": "E", - "\xE8": "e", - "\xE9": "e", - "\xEA": "e", - "\xEB": "e", - "\xCC": "I", - "\xCD": "I", - "\xCE": "I", - "\xCF": "I", - "\xEC": "i", - "\xED": "i", - "\xEE": "i", - "\xEF": "i", - "\xD1": "N", - "\xF1": "n", - "\xD2": "O", - "\xD3": "O", - "\xD4": "O", - "\xD5": "O", - "\xD6": "O", - "\xD8": "O", - "\xF2": "o", - "\xF3": "o", - "\xF4": "o", - "\xF5": "o", - "\xF6": "o", - "\xF8": "o", - "\xD9": "U", - "\xDA": "U", - "\xDB": "U", - "\xDC": "U", - "\xF9": "u", - "\xFA": "u", - "\xFB": "u", - "\xFC": "u", - "\xDD": "Y", - "\xFD": "y", - "\xFF": "y", - "\xC6": "Ae", - "\xE6": "ae", - "\xDE": "Th", - "\xFE": "th", - "\xDF": "ss", - "\u0100": "A", - "\u0102": "A", - "\u0104": "A", - "\u0101": "a", - "\u0103": "a", - "\u0105": "a", - "\u0106": "C", - "\u0108": "C", - "\u010A": "C", - "\u010C": "C", - "\u0107": "c", - "\u0109": "c", - "\u010B": "c", - "\u010D": "c", - "\u010E": "D", - "\u0110": "D", - "\u010F": "d", - "\u0111": "d", - "\u0112": "E", - "\u0114": "E", - "\u0116": "E", - "\u0118": "E", - "\u011A": "E", - "\u0113": "e", - "\u0115": "e", - "\u0117": "e", - "\u0119": "e", - "\u011B": "e", - "\u011C": "G", - "\u011E": "G", - "\u0120": "G", - "\u0122": "G", - "\u011D": "g", - "\u011F": "g", - "\u0121": "g", - "\u0123": "g", - "\u0124": "H", - "\u0126": "H", - "\u0125": "h", - "\u0127": "h", - "\u0128": "I", - "\u012A": "I", - "\u012C": "I", - "\u012E": "I", - "\u0130": "I", - "\u0129": "i", - "\u012B": "i", - "\u012D": "i", - "\u012F": "i", - "\u0131": "i", - "\u0134": "J", - "\u0135": "j", - "\u0136": "K", - "\u0137": "k", - "\u0138": "k", - "\u0139": "L", - "\u013B": "L", - "\u013D": "L", - "\u013F": "L", - "\u0141": "L", - "\u013A": "l", - "\u013C": "l", - "\u013E": "l", - "\u0140": "l", - "\u0142": "l", - "\u0143": "N", - "\u0145": "N", - "\u0147": "N", - "\u014A": "N", - "\u0144": "n", - "\u0146": "n", - "\u0148": "n", - "\u014B": "n", - "\u014C": "O", - "\u014E": "O", - "\u0150": "O", - "\u014D": "o", - "\u014F": "o", - "\u0151": "o", - "\u0154": "R", - "\u0156": "R", - "\u0158": "R", - "\u0155": "r", - "\u0157": "r", - "\u0159": "r", - "\u015A": "S", - "\u015C": "S", - "\u015E": "S", - "\u0160": "S", - "\u015B": "s", - "\u015D": "s", - "\u015F": "s", - "\u0161": "s", - "\u0162": "T", - "\u0164": "T", - "\u0166": "T", - "\u0163": "t", - "\u0165": "t", - "\u0167": "t", - "\u0168": "U", - "\u016A": "U", - "\u016C": "U", - "\u016E": "U", - "\u0170": "U", - "\u0172": "U", - "\u0169": "u", - "\u016B": "u", - "\u016D": "u", - "\u016F": "u", - "\u0171": "u", - "\u0173": "u", - "\u0174": "W", - "\u0175": "w", - "\u0176": "Y", - "\u0177": "y", - "\u0178": "Y", - "\u0179": "Z", - "\u017B": "Z", - "\u017D": "Z", - "\u017A": "z", - "\u017C": "z", - "\u017E": "z", - "\u0132": "IJ", - "\u0133": "ij", - "\u0152": "Oe", - "\u0153": "oe", - "\u0149": "'n", - "\u017F": "s" + '\xC0': 'A', + '\xC1': 'A', + '\xC2': 'A', + '\xC3': 'A', + '\xC4': 'A', + '\xC5': 'A', + '\xE0': 'a', + '\xE1': 'a', + '\xE2': 'a', + '\xE3': 'a', + '\xE4': 'a', + '\xE5': 'a', + '\xC7': 'C', + '\xE7': 'c', + '\xD0': 'D', + '\xF0': 'd', + '\xC8': 'E', + '\xC9': 'E', + '\xCA': 'E', + '\xCB': 'E', + '\xE8': 'e', + '\xE9': 'e', + '\xEA': 'e', + '\xEB': 'e', + '\xCC': 'I', + '\xCD': 'I', + '\xCE': 'I', + '\xCF': 'I', + '\xEC': 'i', + '\xED': 'i', + '\xEE': 'i', + '\xEF': 'i', + '\xD1': 'N', + '\xF1': 'n', + '\xD2': 'O', + '\xD3': 'O', + '\xD4': 'O', + '\xD5': 'O', + '\xD6': 'O', + '\xD8': 'O', + '\xF2': 'o', + '\xF3': 'o', + '\xF4': 'o', + '\xF5': 'o', + '\xF6': 'o', + '\xF8': 'o', + '\xD9': 'U', + '\xDA': 'U', + '\xDB': 'U', + '\xDC': 'U', + '\xF9': 'u', + '\xFA': 'u', + '\xFB': 'u', + '\xFC': 'u', + '\xDD': 'Y', + '\xFD': 'y', + '\xFF': 'y', + '\xC6': 'Ae', + '\xE6': 'ae', + '\xDE': 'Th', + '\xFE': 'th', + '\xDF': 'ss', + '\u0100': 'A', + '\u0102': 'A', + '\u0104': 'A', + '\u0101': 'a', + '\u0103': 'a', + '\u0105': 'a', + '\u0106': 'C', + '\u0108': 'C', + '\u010A': 'C', + '\u010C': 'C', + '\u0107': 'c', + '\u0109': 'c', + '\u010B': 'c', + '\u010D': 'c', + '\u010E': 'D', + '\u0110': 'D', + '\u010F': 'd', + '\u0111': 'd', + '\u0112': 'E', + '\u0114': 'E', + '\u0116': 'E', + '\u0118': 'E', + '\u011A': 'E', + '\u0113': 'e', + '\u0115': 'e', + '\u0117': 'e', + '\u0119': 'e', + '\u011B': 'e', + '\u011C': 'G', + '\u011E': 'G', + '\u0120': 'G', + '\u0122': 'G', + '\u011D': 'g', + '\u011F': 'g', + '\u0121': 'g', + '\u0123': 'g', + '\u0124': 'H', + '\u0126': 'H', + '\u0125': 'h', + '\u0127': 'h', + '\u0128': 'I', + '\u012A': 'I', + '\u012C': 'I', + '\u012E': 'I', + '\u0130': 'I', + '\u0129': 'i', + '\u012B': 'i', + '\u012D': 'i', + '\u012F': 'i', + '\u0131': 'i', + '\u0134': 'J', + '\u0135': 'j', + '\u0136': 'K', + '\u0137': 'k', + '\u0138': 'k', + '\u0139': 'L', + '\u013B': 'L', + '\u013D': 'L', + '\u013F': 'L', + '\u0141': 'L', + '\u013A': 'l', + '\u013C': 'l', + '\u013E': 'l', + '\u0140': 'l', + '\u0142': 'l', + '\u0143': 'N', + '\u0145': 'N', + '\u0147': 'N', + '\u014A': 'N', + '\u0144': 'n', + '\u0146': 'n', + '\u0148': 'n', + '\u014B': 'n', + '\u014C': 'O', + '\u014E': 'O', + '\u0150': 'O', + '\u014D': 'o', + '\u014F': 'o', + '\u0151': 'o', + '\u0154': 'R', + '\u0156': 'R', + '\u0158': 'R', + '\u0155': 'r', + '\u0157': 'r', + '\u0159': 'r', + '\u015A': 'S', + '\u015C': 'S', + '\u015E': 'S', + '\u0160': 'S', + '\u015B': 's', + '\u015D': 's', + '\u015F': 's', + '\u0161': 's', + '\u0162': 'T', + '\u0164': 'T', + '\u0166': 'T', + '\u0163': 't', + '\u0165': 't', + '\u0167': 't', + '\u0168': 'U', + '\u016A': 'U', + '\u016C': 'U', + '\u016E': 'U', + '\u0170': 'U', + '\u0172': 'U', + '\u0169': 'u', + '\u016B': 'u', + '\u016D': 'u', + '\u016F': 'u', + '\u0171': 'u', + '\u0173': 'u', + '\u0174': 'W', + '\u0175': 'w', + '\u0176': 'Y', + '\u0177': 'y', + '\u0178': 'Y', + '\u0179': 'Z', + '\u017B': 'Z', + '\u017D': 'Z', + '\u017A': 'z', + '\u017C': 'z', + '\u017E': 'z', + '\u0132': 'IJ', + '\u0133': 'ij', + '\u0152': 'Oe', + '\u0153': 'oe', + '\u0149': "'n", + '\u017F': 's', }; var htmlEscapes = { - "&": "&", - "<": "<", - ">": ">", - '"': """, - "'": "'" + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''', }; var htmlUnescapes = { - "&": "&", - "<": "<", - ">": ">", - """: '"', - "'": "'" + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'", }; var stringEscapes = { - "\\": "\\", + '\\': '\\', "'": "'", - "\n": "n", - "\r": "r", - "\u2028": "u2028", - "\u2029": "u2029" - }; - var freeParseFloat = parseFloat, freeParseInt = parseInt; - var freeGlobal = typeof global == "object" && global && global.Object === Object && global; - var freeSelf = typeof self == "object" && self && self.Object === Object && self; - var root = freeGlobal || freeSelf || Function("return this")(); - var freeExports = typeof exports2 == "object" && exports2 && !exports2.nodeType && exports2; - var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2; + '\n': 'n', + '\r': 'r', + '\u2028': 'u2028', + '\u2029': 'u2029', + }; + var freeParseFloat = parseFloat, + freeParseInt = parseInt; + var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; + var freeSelf = typeof self == 'object' && self && self.Object === Object && self; + var root = freeGlobal || freeSelf || Function('return this')(); + var freeExports = typeof exports2 == 'object' && exports2 && !exports2.nodeType && exports2; + var freeModule = + freeExports && typeof module2 == 'object' && module2 && !module2.nodeType && module2; var moduleExports = freeModule && freeModule.exports === freeExports; var freeProcess = moduleExports && freeGlobal.process; - var nodeUtil = function() { + var nodeUtil = (function () { try { - var types = freeModule && freeModule.require && freeModule.require("util").types; + var types = freeModule && freeModule.require && freeModule.require('util').types; if (types) { return types; } - return freeProcess && freeProcess.binding && freeProcess.binding("util"); - } catch (e) { - } - }(); - var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; + return freeProcess && freeProcess.binding && freeProcess.binding('util'); + } catch (e) {} + })(); + var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, + nodeIsDate = nodeUtil && nodeUtil.isDate, + nodeIsMap = nodeUtil && nodeUtil.isMap, + nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, + nodeIsSet = nodeUtil && nodeUtil.isSet, + nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; function apply(func, thisArg, args) { switch (args.length) { case 0: @@ -51698,7 +65377,8 @@ var require_lodash = __commonJS({ return func.apply(thisArg, args); } function arrayAggregator(array, setter, iteratee, accumulator) { - var index = -1, length = array == null ? 0 : array.length; + var index = -1, + length = array == null ? 0 : array.length; while (++index < length) { var value = array[index]; setter(accumulator, value, iteratee(value), array); @@ -51706,7 +65386,8 @@ var require_lodash = __commonJS({ return accumulator; } function arrayEach(array, iteratee) { - var index = -1, length = array == null ? 0 : array.length; + var index = -1, + length = array == null ? 0 : array.length; while (++index < length) { if (iteratee(array[index], index, array) === false) { break; @@ -51724,7 +65405,8 @@ var require_lodash = __commonJS({ return array; } function arrayEvery(array, predicate) { - var index = -1, length = array == null ? 0 : array.length; + var index = -1, + length = array == null ? 0 : array.length; while (++index < length) { if (!predicate(array[index], index, array)) { return false; @@ -51733,7 +65415,10 @@ var require_lodash = __commonJS({ return true; } function arrayFilter(array, predicate) { - var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = []; + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result = []; while (++index < length) { var value = array[index]; if (predicate(value, index, array)) { @@ -51747,7 +65432,8 @@ var require_lodash = __commonJS({ return !!length && baseIndexOf(array, value, 0) > -1; } function arrayIncludesWith(array, value, comparator) { - var index = -1, length = array == null ? 0 : array.length; + var index = -1, + length = array == null ? 0 : array.length; while (++index < length) { if (comparator(value, array[index])) { return true; @@ -51756,21 +65442,26 @@ var require_lodash = __commonJS({ return false; } function arrayMap(array, iteratee) { - var index = -1, length = array == null ? 0 : array.length, result = Array(length); + var index = -1, + length = array == null ? 0 : array.length, + result = Array(length); while (++index < length) { result[index] = iteratee(array[index], index, array); } return result; } function arrayPush(array, values) { - var index = -1, length = values.length, offset = array.length; + var index = -1, + length = values.length, + offset = array.length; while (++index < length) { array[offset + index] = values[index]; } return array; } function arrayReduce(array, iteratee, accumulator, initAccum) { - var index = -1, length = array == null ? 0 : array.length; + var index = -1, + length = array == null ? 0 : array.length; if (initAccum && length) { accumulator = array[++index]; } @@ -51790,7 +65481,8 @@ var require_lodash = __commonJS({ return accumulator; } function arraySome(array, predicate) { - var index = -1, length = array == null ? 0 : array.length; + var index = -1, + length = array == null ? 0 : array.length; while (++index < length) { if (predicate(array[index], index, array)) { return true; @@ -51798,16 +65490,16 @@ var require_lodash = __commonJS({ } return false; } - var asciiSize = baseProperty("length"); + var asciiSize = baseProperty('length'); function asciiToArray(string) { - return string.split(""); + return string.split(''); } function asciiWords(string) { return string.match(reAsciiWord) || []; } function baseFindKey(collection, predicate, eachFunc) { var result; - eachFunc(collection, function(value, key, collection2) { + eachFunc(collection, function (value, key, collection2) { if (predicate(value, key, collection2)) { result = key; return false; @@ -51816,7 +65508,8 @@ var require_lodash = __commonJS({ return result; } function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, index = fromIndex + (fromRight ? 1 : -1); + var length = array.length, + index = fromIndex + (fromRight ? 1 : -1); while (fromRight ? index-- : ++index < length) { if (predicate(array[index], index, array)) { return index; @@ -51825,10 +65518,13 @@ var require_lodash = __commonJS({ return -1; } function baseIndexOf(array, value, fromIndex) { - return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex); + return value === value + ? strictIndexOf(array, value, fromIndex) + : baseFindIndex(array, baseIsNaN, fromIndex); } function baseIndexOfWith(array, value, fromIndex, comparator) { - var index = fromIndex - 1, length = array.length; + var index = fromIndex - 1, + length = array.length; while (++index < length) { if (comparator(array[index], value)) { return index; @@ -51844,18 +65540,20 @@ var require_lodash = __commonJS({ return length ? baseSum(array, iteratee) / length : NAN; } function baseProperty(key) { - return function(object) { + return function (object) { return object == null ? undefined2 : object[key]; }; } function basePropertyOf(object) { - return function(key) { + return function (key) { return object == null ? undefined2 : object[key]; }; } function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { - eachFunc(collection, function(value, index, collection2) { - accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection2); + eachFunc(collection, function (value, index, collection2) { + accumulator = initAccum + ? ((initAccum = false), value) + : iteratee(accumulator, value, index, collection2); }); return accumulator; } @@ -51868,7 +65566,9 @@ var require_lodash = __commonJS({ return array; } function baseSum(array, iteratee) { - var result, index = -1, length = array.length; + var result, + index = -1, + length = array.length; while (++index < length) { var current = iteratee(array[index]); if (current !== undefined2) { @@ -51878,27 +65578,30 @@ var require_lodash = __commonJS({ return result; } function baseTimes(n, iteratee) { - var index = -1, result = Array(n); + var index = -1, + result = Array(n); while (++index < n) { result[index] = iteratee(index); } return result; } function baseToPairs(object, props) { - return arrayMap(props, function(key) { + return arrayMap(props, function (key) { return [key, object[key]]; }); } function baseTrim(string) { - return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string; + return string + ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') + : string; } function baseUnary(func) { - return function(value) { + return function (value) { return func(value); }; } function baseValues(object, props) { - return arrayMap(props, function(key) { + return arrayMap(props, function (key) { return object[key]; }); } @@ -51906,19 +65609,19 @@ var require_lodash = __commonJS({ return cache.has(key); } function charsStartIndex(strSymbols, chrSymbols) { - var index = -1, length = strSymbols.length; - while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) { - } + var index = -1, + length = strSymbols.length; + while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} return index; } function charsEndIndex(strSymbols, chrSymbols) { var index = strSymbols.length; - while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) { - } + while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} return index; } function countHolders(array, placeholder) { - var length = array.length, result = 0; + var length = array.length, + result = 0; while (length--) { if (array[length] === placeholder) { ++result; @@ -51929,7 +65632,7 @@ var require_lodash = __commonJS({ var deburrLetter = basePropertyOf(deburredLetters); var escapeHtmlChar = basePropertyOf(htmlEscapes); function escapeStringChar(chr) { - return "\\" + stringEscapes[chr]; + return '\\' + stringEscapes[chr]; } function getValue(object, key) { return object == null ? undefined2 : object[key]; @@ -51941,26 +65644,31 @@ var require_lodash = __commonJS({ return reHasUnicodeWord.test(string); } function iteratorToArray(iterator) { - var data, result = []; + var data, + result = []; while (!(data = iterator.next()).done) { result.push(data.value); } return result; } function mapToArray(map) { - var index = -1, result = Array(map.size); - map.forEach(function(value, key) { + var index = -1, + result = Array(map.size); + map.forEach(function (value, key) { result[++index] = [key, value]; }); return result; } function overArg(func, transform) { - return function(arg) { + return function (arg) { return func(transform(arg)); }; } function replaceHolders(array, placeholder) { - var index = -1, length = array.length, resIndex = 0, result = []; + var index = -1, + length = array.length, + resIndex = 0, + result = []; while (++index < length) { var value = array[index]; if (value === placeholder || value === PLACEHOLDER) { @@ -51971,21 +65679,24 @@ var require_lodash = __commonJS({ return result; } function setToArray(set) { - var index = -1, result = Array(set.size); - set.forEach(function(value) { + var index = -1, + result = Array(set.size); + set.forEach(function (value) { result[++index] = value; }); return result; } function setToPairs(set) { - var index = -1, result = Array(set.size); - set.forEach(function(value) { + var index = -1, + result = Array(set.size); + set.forEach(function (value) { result[++index] = [value, value]; }); return result; } function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, length = array.length; + var index = fromIndex - 1, + length = array.length; while (++index < length) { if (array[index] === value) { return index; @@ -52010,13 +65721,12 @@ var require_lodash = __commonJS({ } function trimmedEndIndex(string) { var index = string.length; - while (index-- && reWhitespace.test(string.charAt(index))) { - } + while (index-- && reWhitespace.test(string.charAt(index))) {} return index; } var unescapeHtmlChar = basePropertyOf(htmlUnescapes); function unicodeSize(string) { - var result = reUnicode.lastIndex = 0; + var result = (reUnicode.lastIndex = 0); while (reUnicode.test(string)) { ++result; } @@ -52029,54 +65739,105 @@ var require_lodash = __commonJS({ return string.match(reUnicodeWord) || []; } var runInContext = function runInContext2(context) { - context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); - var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError; - var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype; - var coreJsData = context["__core-js_shared__"]; + context = + context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); + var Array2 = context.Array, + Date2 = context.Date, + Error2 = context.Error, + Function2 = context.Function, + Math2 = context.Math, + Object2 = context.Object, + RegExp2 = context.RegExp, + String2 = context.String, + TypeError2 = context.TypeError; + var arrayProto = Array2.prototype, + funcProto = Function2.prototype, + objectProto = Object2.prototype; + var coreJsData = context['__core-js_shared__']; var funcToString = funcProto.toString; var hasOwnProperty = objectProto.hasOwnProperty; var idCounter = 0; - var maskSrcKey = function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ""); - return uid ? "Symbol(src)_1." + uid : ""; - }(); + var maskSrcKey = (function () { + var uid = /[^.]+$/.exec( + (coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO) || '' + ); + return uid ? 'Symbol(src)_1.' + uid : ''; + })(); var nativeObjectToString = objectProto.toString; var objectCtorString = funcToString.call(Object2); var oldDash = root._; var reIsNative = RegExp2( - "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" + '^' + + funcToString + .call(hasOwnProperty) + .replace(reRegExpChar, '\\$&') + .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + + '$' ); - var Buffer2 = moduleExports ? context.Buffer : undefined2, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined2, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined2, symIterator = Symbol2 ? Symbol2.iterator : undefined2, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined2; - var defineProperty = function() { + var Buffer2 = moduleExports ? context.Buffer : undefined2, + Symbol2 = context.Symbol, + Uint8Array2 = context.Uint8Array, + allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined2, + getPrototype = overArg(Object2.getPrototypeOf, Object2), + objectCreate = Object2.create, + propertyIsEnumerable = objectProto.propertyIsEnumerable, + splice = arrayProto.splice, + spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined2, + symIterator = Symbol2 ? Symbol2.iterator : undefined2, + symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined2; + var defineProperty = (function () { try { - var func = getNative(Object2, "defineProperty"); - func({}, "", {}); + var func = getNative(Object2, 'defineProperty'); + func({}, '', {}); return func; - } catch (e) { - } - }(); - var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; - var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined2, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse; - var DataView = getNative(context, "DataView"), Map2 = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap2 = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create"); + } catch (e) {} + })(); + var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, + ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, + ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; + var nativeCeil = Math2.ceil, + nativeFloor = Math2.floor, + nativeGetSymbols = Object2.getOwnPropertySymbols, + nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined2, + nativeIsFinite = context.isFinite, + nativeJoin = arrayProto.join, + nativeKeys = overArg(Object2.keys, Object2), + nativeMax = Math2.max, + nativeMin = Math2.min, + nativeNow = Date2.now, + nativeParseInt = context.parseInt, + nativeRandom = Math2.random, + nativeReverse = arrayProto.reverse; + var DataView = getNative(context, 'DataView'), + Map2 = getNative(context, 'Map'), + Promise2 = getNative(context, 'Promise'), + Set2 = getNative(context, 'Set'), + WeakMap2 = getNative(context, 'WeakMap'), + nativeCreate = getNative(Object2, 'create'); var metaMap = WeakMap2 && new WeakMap2(); var realNames = {}; - var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map2), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set2), weakMapCtorString = toSource(WeakMap2); - var symbolProto = Symbol2 ? Symbol2.prototype : undefined2, symbolValueOf = symbolProto ? symbolProto.valueOf : undefined2, symbolToString = symbolProto ? symbolProto.toString : undefined2; + var dataViewCtorString = toSource(DataView), + mapCtorString = toSource(Map2), + promiseCtorString = toSource(Promise2), + setCtorString = toSource(Set2), + weakMapCtorString = toSource(WeakMap2); + var symbolProto = Symbol2 ? Symbol2.prototype : undefined2, + symbolValueOf = symbolProto ? symbolProto.valueOf : undefined2, + symbolToString = symbolProto ? symbolProto.toString : undefined2; function lodash3(value) { if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) { if (value instanceof LodashWrapper) { return value; } - if (hasOwnProperty.call(value, "__wrapped__")) { + if (hasOwnProperty.call(value, '__wrapped__')) { return wrapperClone(value); } } return new LodashWrapper(value); } - var baseCreate = function() { - function object() { - } - return function(proto) { + var baseCreate = (function () { + function object() {} + return function (proto) { if (!isObject(proto)) { return {}; } @@ -52088,9 +65849,8 @@ var require_lodash = __commonJS({ object.prototype = undefined2; return result2; }; - }(); - function baseLodash() { - } + })(); + function baseLodash() {} function LodashWrapper(value, chainAll) { this.__wrapped__ = value; this.__actions__ = []; @@ -52099,13 +65859,13 @@ var require_lodash = __commonJS({ this.__values__ = undefined2; } lodash3.templateSettings = { - "escape": reEscape, - "evaluate": reEvaluate, - "interpolate": reInterpolate, - "variable": "", - "imports": { - "_": lodash3 - } + escape: reEscape, + evaluate: reEvaluate, + interpolate: reInterpolate, + variable: '', + imports: { + _: lodash3, + }, }; lodash3.prototype = baseLodash.prototype; lodash3.prototype.constructor = lodash3; @@ -52142,35 +65902,52 @@ var require_lodash = __commonJS({ return result2; } function lazyValue() { - var array = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray(array), isRight = dir < 0, arrLength = isArr ? array.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start, index = isRight ? end : start - 1, iteratees = this.__iteratees__, iterLength = iteratees.length, resIndex = 0, takeCount = nativeMin(length, this.__takeCount__); - if (!isArr || !isRight && arrLength == length && takeCount == length) { + var array = this.__wrapped__.value(), + dir = this.__dir__, + isArr = isArray(array), + isRight = dir < 0, + arrLength = isArr ? array.length : 0, + view = getView(0, arrLength, this.__views__), + start = view.start, + end = view.end, + length = end - start, + index = isRight ? end : start - 1, + iteratees = this.__iteratees__, + iterLength = iteratees.length, + resIndex = 0, + takeCount = nativeMin(length, this.__takeCount__); + if (!isArr || (!isRight && arrLength == length && takeCount == length)) { return baseWrapperValue(array, this.__actions__); } var result2 = []; - outer: - while (length-- && resIndex < takeCount) { - index += dir; - var iterIndex = -1, value = array[index]; - while (++iterIndex < iterLength) { - var data = iteratees[iterIndex], iteratee2 = data.iteratee, type = data.type, computed = iteratee2(value); - if (type == LAZY_MAP_FLAG) { - value = computed; - } else if (!computed) { - if (type == LAZY_FILTER_FLAG) { - continue outer; - } else { - break outer; - } + outer: while (length-- && resIndex < takeCount) { + index += dir; + var iterIndex = -1, + value = array[index]; + while (++iterIndex < iterLength) { + var data = iteratees[iterIndex], + iteratee2 = data.iteratee, + type = data.type, + computed = iteratee2(value); + if (type == LAZY_MAP_FLAG) { + value = computed; + } else if (!computed) { + if (type == LAZY_FILTER_FLAG) { + continue outer; + } else { + break outer; } } - result2[resIndex++] = value; } + result2[resIndex++] = value; + } return result2; } LazyWrapper.prototype = baseCreate(baseLodash.prototype); LazyWrapper.prototype.constructor = LazyWrapper; function Hash(entries) { - var index = -1, length = entries == null ? 0 : entries.length; + var index = -1, + length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; @@ -52205,12 +65982,13 @@ var require_lodash = __commonJS({ return this; } Hash.prototype.clear = hashClear; - Hash.prototype["delete"] = hashDelete; + Hash.prototype['delete'] = hashDelete; Hash.prototype.get = hashGet; Hash.prototype.has = hashHas; Hash.prototype.set = hashSet; function ListCache(entries) { - var index = -1, length = entries == null ? 0 : entries.length; + var index = -1, + length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; @@ -52222,7 +66000,8 @@ var require_lodash = __commonJS({ this.size = 0; } function listCacheDelete(key) { - var data = this.__data__, index = assocIndexOf(data, key); + var data = this.__data__, + index = assocIndexOf(data, key); if (index < 0) { return false; } @@ -52236,14 +66015,16 @@ var require_lodash = __commonJS({ return true; } function listCacheGet(key) { - var data = this.__data__, index = assocIndexOf(data, key); + var data = this.__data__, + index = assocIndexOf(data, key); return index < 0 ? undefined2 : data[index][1]; } function listCacheHas(key) { return assocIndexOf(this.__data__, key) > -1; } function listCacheSet(key, value) { - var data = this.__data__, index = assocIndexOf(data, key); + var data = this.__data__, + index = assocIndexOf(data, key); if (index < 0) { ++this.size; data.push([key, value]); @@ -52253,12 +66034,13 @@ var require_lodash = __commonJS({ return this; } ListCache.prototype.clear = listCacheClear; - ListCache.prototype["delete"] = listCacheDelete; + ListCache.prototype['delete'] = listCacheDelete; ListCache.prototype.get = listCacheGet; ListCache.prototype.has = listCacheHas; ListCache.prototype.set = listCacheSet; function MapCache(entries) { - var index = -1, length = entries == null ? 0 : entries.length; + var index = -1, + length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; @@ -52268,13 +66050,13 @@ var require_lodash = __commonJS({ function mapCacheClear() { this.size = 0; this.__data__ = { - "hash": new Hash(), - "map": new (Map2 || ListCache)(), - "string": new Hash() + hash: new Hash(), + map: new (Map2 || ListCache)(), + string: new Hash(), }; } function mapCacheDelete(key) { - var result2 = getMapData(this, key)["delete"](key); + var result2 = getMapData(this, key)['delete'](key); this.size -= result2 ? 1 : 0; return result2; } @@ -52285,18 +66067,20 @@ var require_lodash = __commonJS({ return getMapData(this, key).has(key); } function mapCacheSet(key, value) { - var data = getMapData(this, key), size2 = data.size; + var data = getMapData(this, key), + size2 = data.size; data.set(key, value); this.size += data.size == size2 ? 0 : 1; return this; } MapCache.prototype.clear = mapCacheClear; - MapCache.prototype["delete"] = mapCacheDelete; + MapCache.prototype['delete'] = mapCacheDelete; MapCache.prototype.get = mapCacheGet; MapCache.prototype.has = mapCacheHas; MapCache.prototype.set = mapCacheSet; function SetCache(values2) { - var index = -1, length = values2 == null ? 0 : values2.length; + var index = -1, + length = values2 == null ? 0 : values2.length; this.__data__ = new MapCache(); while (++index < length) { this.add(values2[index]); @@ -52312,7 +66096,7 @@ var require_lodash = __commonJS({ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; SetCache.prototype.has = setCacheHas; function Stack(entries) { - var data = this.__data__ = new ListCache(entries); + var data = (this.__data__ = new ListCache(entries)); this.size = data.size; } function stackClear() { @@ -52320,7 +66104,8 @@ var require_lodash = __commonJS({ this.size = 0; } function stackDelete(key) { - var data = this.__data__, result2 = data["delete"](key); + var data = this.__data__, + result2 = data['delete'](key); this.size = data.size; return result2; } @@ -52346,14 +66131,29 @@ var require_lodash = __commonJS({ return this; } Stack.prototype.clear = stackClear; - Stack.prototype["delete"] = stackDelete; + Stack.prototype['delete'] = stackDelete; Stack.prototype.get = stackGet; Stack.prototype.has = stackHas; Stack.prototype.set = stackSet; function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String2) : [], length = result2.length; + var isArr = isArray(value), + isArg = !isArr && isArguments(value), + isBuff = !isArr && !isArg && isBuffer(value), + isType = !isArr && !isArg && !isBuff && isTypedArray(value), + skipIndexes = isArr || isArg || isBuff || isType, + result2 = skipIndexes ? baseTimes(value.length, String2) : [], + length = result2.length; for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) { + if ( + (inherited || hasOwnProperty.call(value, key)) && + !( + skipIndexes && + (key == 'length' || + (isBuff && (key == 'offset' || key == 'parent')) || + (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || + isIndex(key, length)) + ) + ) { result2.push(key); } } @@ -52370,13 +66170,19 @@ var require_lodash = __commonJS({ return shuffleSelf(copyArray(array)); } function assignMergeValue(object, key, value) { - if (value !== undefined2 && !eq(object[key], value) || value === undefined2 && !(key in object)) { + if ( + (value !== undefined2 && !eq(object[key], value)) || + (value === undefined2 && !(key in object)) + ) { baseAssignValue(object, key, value); } } function assignValue(object, key, value) { var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === undefined2 && !(key in object)) { + if ( + !(hasOwnProperty.call(object, key) && eq(objValue, value)) || + (value === undefined2 && !(key in object)) + ) { baseAssignValue(object, key, value); } } @@ -52390,7 +66196,7 @@ var require_lodash = __commonJS({ return -1; } function baseAggregator(collection, setter, iteratee2, accumulator) { - baseEach(collection, function(value, key, collection2) { + baseEach(collection, function (value, key, collection2) { setter(accumulator, value, iteratee2(value), collection2); }); return accumulator; @@ -52402,19 +66208,22 @@ var require_lodash = __commonJS({ return object && copyObject(source, keysIn(source), object); } function baseAssignValue(object, key, value) { - if (key == "__proto__" && defineProperty) { + if (key == '__proto__' && defineProperty) { defineProperty(object, key, { - "configurable": true, - "enumerable": true, - "value": value, - "writable": true + configurable: true, + enumerable: true, + value: value, + writable: true, }); } else { object[key] = value; } } function baseAt(object, paths) { - var index = -1, length = paths.length, result2 = Array2(length), skip = object == null; + var index = -1, + length = paths.length, + result2 = Array2(length), + skip = object == null; while (++index < length) { result2[index] = skip ? undefined2 : get(object, paths[index]); } @@ -52432,7 +66241,10 @@ var require_lodash = __commonJS({ return number; } function baseClone(value, bitmask, customizer, key, object, stack) { - var result2, isDeep = bitmask & CLONE_DEEP_FLAG, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG; + var result2, + isDeep = bitmask & CLONE_DEEP_FLAG, + isFlat = bitmask & CLONE_FLAT_FLAG, + isFull = bitmask & CLONE_SYMBOLS_FLAG; if (customizer) { result2 = object ? customizer(value, key, object, stack) : customizer(value); } @@ -52449,14 +66261,17 @@ var require_lodash = __commonJS({ return copyArray(value, result2); } } else { - var tag = getTag(value), isFunc = tag == funcTag || tag == genTag; + var tag = getTag(value), + isFunc = tag == funcTag || tag == genTag; if (isBuffer(value)) { return cloneBuffer(value, isDeep); } - if (tag == objectTag || tag == argsTag || isFunc && !object) { + if (tag == objectTag || tag == argsTag || (isFunc && !object)) { result2 = isFlat || isFunc ? {} : initCloneObject(value); if (!isDeep) { - return isFlat ? copySymbolsIn(value, baseAssignIn(result2, value)) : copySymbols(value, baseAssign(result2, value)); + return isFlat + ? copySymbolsIn(value, baseAssignIn(result2, value)) + : copySymbols(value, baseAssign(result2, value)); } } else { if (!cloneableTags[tag]) { @@ -52472,28 +66287,32 @@ var require_lodash = __commonJS({ } stack.set(value, result2); if (isSet(value)) { - value.forEach(function(subValue) { + value.forEach(function (subValue) { result2.add(baseClone(subValue, bitmask, customizer, subValue, value, stack)); }); } else if (isMap(value)) { - value.forEach(function(subValue, key2) { + value.forEach(function (subValue, key2) { result2.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack)); }); } - var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys; + var keysFunc = isFull ? (isFlat ? getAllKeysIn : getAllKeys) : isFlat ? keysIn : keys; var props = isArr ? undefined2 : keysFunc(value); - arrayEach(props || value, function(subValue, key2) { + arrayEach(props || value, function (subValue, key2) { if (props) { key2 = subValue; subValue = value[key2]; } - assignValue(result2, key2, baseClone(subValue, bitmask, customizer, key2, value, stack)); + assignValue( + result2, + key2, + baseClone(subValue, bitmask, customizer, key2, value, stack) + ); }); return result2; } function baseConforms(source) { var props = keys(source); - return function(object) { + return function (object) { return baseConformsTo(object, source, props); }; } @@ -52504,23 +66323,30 @@ var require_lodash = __commonJS({ } object = Object2(object); while (length--) { - var key = props[length], predicate = source[key], value = object[key]; - if (value === undefined2 && !(key in object) || !predicate(value)) { + var key = props[length], + predicate = source[key], + value = object[key]; + if ((value === undefined2 && !(key in object)) || !predicate(value)) { return false; } } return true; } function baseDelay(func, wait, args) { - if (typeof func != "function") { + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } - return setTimeout2(function() { + return setTimeout2(function () { func.apply(undefined2, args); }, wait); } function baseDifference(array, values2, iteratee2, comparator) { - var index = -1, includes2 = arrayIncludes, isCommon = true, length = array.length, result2 = [], valuesLength = values2.length; + var index = -1, + includes2 = arrayIncludes, + isCommon = true, + length = array.length, + result2 = [], + valuesLength = values2.length; if (!length) { return result2; } @@ -52535,40 +66361,48 @@ var require_lodash = __commonJS({ isCommon = false; values2 = new SetCache(values2); } - outer: - while (++index < length) { - var value = array[index], computed = iteratee2 == null ? value : iteratee2(value); - value = comparator || value !== 0 ? value : 0; - if (isCommon && computed === computed) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values2[valuesIndex] === computed) { - continue outer; - } + outer: while (++index < length) { + var value = array[index], + computed = iteratee2 == null ? value : iteratee2(value); + value = comparator || value !== 0 ? value : 0; + if (isCommon && computed === computed) { + var valuesIndex = valuesLength; + while (valuesIndex--) { + if (values2[valuesIndex] === computed) { + continue outer; } - result2.push(value); - } else if (!includes2(values2, computed, comparator)) { - result2.push(value); } + result2.push(value); + } else if (!includes2(values2, computed, comparator)) { + result2.push(value); } + } return result2; } var baseEach = createBaseEach(baseForOwn); var baseEachRight = createBaseEach(baseForOwnRight, true); function baseEvery(collection, predicate) { var result2 = true; - baseEach(collection, function(value, index, collection2) { + baseEach(collection, function (value, index, collection2) { result2 = !!predicate(value, index, collection2); return result2; }); return result2; } function baseExtremum(array, iteratee2, comparator) { - var index = -1, length = array.length; + var index = -1, + length = array.length; while (++index < length) { - var value = array[index], current = iteratee2(value); - if (current != null && (computed === undefined2 ? current === current && !isSymbol(current) : comparator(current, computed))) { - var computed = current, result2 = value; + var value = array[index], + current = iteratee2(value); + if ( + current != null && + (computed === undefined2 + ? current === current && !isSymbol(current) + : comparator(current, computed)) + ) { + var computed = current, + result2 = value; } } return result2; @@ -52591,7 +66425,7 @@ var require_lodash = __commonJS({ } function baseFilter(collection, predicate) { var result2 = []; - baseEach(collection, function(value, index, collection2) { + baseEach(collection, function (value, index, collection2) { if (predicate(value, index, collection2)) { result2.push(value); } @@ -52599,7 +66433,8 @@ var require_lodash = __commonJS({ return result2; } function baseFlatten(array, depth, predicate, isStrict, result2) { - var index = -1, length = array.length; + var index = -1, + length = array.length; predicate || (predicate = isFlattenable); result2 || (result2 = []); while (++index < length) { @@ -52625,13 +66460,14 @@ var require_lodash = __commonJS({ return object && baseForRight(object, iteratee2, keys); } function baseFunctions(object, props) { - return arrayFilter(props, function(key) { + return arrayFilter(props, function (key) { return isFunction(object[key]); }); } function baseGet(object, path2) { path2 = castPath(path2, object); - var index = 0, length = path2.length; + var index = 0, + length = path2.length; while (object != null && index < length) { object = object[toKey(path2[index++])]; } @@ -52645,7 +66481,9 @@ var require_lodash = __commonJS({ if (value == null) { return value === undefined2 ? undefinedTag : nullTag; } - return symToStringTag && symToStringTag in Object2(value) ? getRawTag(value) : objectToString(value); + return symToStringTag && symToStringTag in Object2(value) + ? getRawTag(value) + : objectToString(value); } function baseGt(value, other) { return value > other; @@ -52660,39 +66498,53 @@ var require_lodash = __commonJS({ return number >= nativeMin(start, end) && number < nativeMax(start, end); } function baseIntersection(arrays, iteratee2, comparator) { - var includes2 = comparator ? arrayIncludesWith : arrayIncludes, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array2(othLength), maxLength = Infinity, result2 = []; + var includes2 = comparator ? arrayIncludesWith : arrayIncludes, + length = arrays[0].length, + othLength = arrays.length, + othIndex = othLength, + caches = Array2(othLength), + maxLength = Infinity, + result2 = []; while (othIndex--) { var array = arrays[othIndex]; if (othIndex && iteratee2) { array = arrayMap(array, baseUnary(iteratee2)); } maxLength = nativeMin(array.length, maxLength); - caches[othIndex] = !comparator && (iteratee2 || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined2; + caches[othIndex] = + !comparator && (iteratee2 || (length >= 120 && array.length >= 120)) + ? new SetCache(othIndex && array) + : undefined2; } array = arrays[0]; - var index = -1, seen = caches[0]; - outer: - while (++index < length && result2.length < maxLength) { - var value = array[index], computed = iteratee2 ? iteratee2(value) : value; - value = comparator || value !== 0 ? value : 0; - if (!(seen ? cacheHas(seen, computed) : includes2(result2, computed, comparator))) { - othIndex = othLength; - while (--othIndex) { - var cache = caches[othIndex]; - if (!(cache ? cacheHas(cache, computed) : includes2(arrays[othIndex], computed, comparator))) { - continue outer; - } + var index = -1, + seen = caches[0]; + outer: while (++index < length && result2.length < maxLength) { + var value = array[index], + computed = iteratee2 ? iteratee2(value) : value; + value = comparator || value !== 0 ? value : 0; + if (!(seen ? cacheHas(seen, computed) : includes2(result2, computed, comparator))) { + othIndex = othLength; + while (--othIndex) { + var cache = caches[othIndex]; + if ( + !(cache + ? cacheHas(cache, computed) + : includes2(arrays[othIndex], computed, comparator)) + ) { + continue outer; } - if (seen) { - seen.push(computed); - } - result2.push(value); } + if (seen) { + seen.push(computed); + } + result2.push(value); } + } return result2; } function baseInverter(object, setter, iteratee2, accumulator) { - baseForOwn(object, function(value, key, object2) { + baseForOwn(object, function (value, key, object2) { setter(accumulator, iteratee2(value), key, object2); }); return accumulator; @@ -52716,16 +66568,21 @@ var require_lodash = __commonJS({ if (value === other) { return true; } - if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) { + if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { return value !== value && other !== other; } return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); } function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other); + var objIsArr = isArray(object), + othIsArr = isArray(other), + objTag = objIsArr ? arrayTag : getTag(object), + othTag = othIsArr ? arrayTag : getTag(other); objTag = objTag == argsTag ? objectTag : objTag; othTag = othTag == argsTag ? objectTag : othTag; - var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag; + var objIsObj = objTag == objectTag, + othIsObj = othTag == objectTag, + isSameTag = objTag == othTag; if (isSameTag && isBuffer(object)) { if (!isBuffer(other)) { return false; @@ -52735,12 +66592,16 @@ var require_lodash = __commonJS({ } if (isSameTag && !objIsObj) { stack || (stack = new Stack()); - return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); + return objIsArr || isTypedArray(object) + ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) + : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); } if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__"); + var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), + othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other; + var objUnwrapped = objIsWrapped ? object.value() : object, + othUnwrapped = othIsWrapped ? other.value() : other; stack || (stack = new Stack()); return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); } @@ -52755,7 +66616,9 @@ var require_lodash = __commonJS({ return isObjectLike(value) && getTag(value) == mapTag; } function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, length = index, noCustomizer = !customizer; + var index = matchData.length, + length = index, + noCustomizer = !customizer; if (object == null) { return !length; } @@ -52768,7 +66631,9 @@ var require_lodash = __commonJS({ } while (++index < length) { data = matchData[index]; - var key = data[0], objValue = object[key], srcValue = data[1]; + var key = data[0], + objValue = object[key], + srcValue = data[1]; if (noCustomizer && data[2]) { if (objValue === undefined2 && !(key in object)) { return false; @@ -52778,7 +66643,17 @@ var require_lodash = __commonJS({ if (customizer) { var result2 = customizer(objValue, srcValue, key, object, source, stack); } - if (!(result2 === undefined2 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result2)) { + if ( + !(result2 === undefined2 + ? baseIsEqual( + srcValue, + objValue, + COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, + customizer, + stack + ) + : result2) + ) { return false; } } @@ -52799,16 +66674,18 @@ var require_lodash = __commonJS({ return isObjectLike(value) && getTag(value) == setTag; } function baseIsTypedArray(value) { - return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; + return ( + isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)] + ); } function baseIteratee(value) { - if (typeof value == "function") { + if (typeof value == 'function') { return value; } if (value == null) { return identity; } - if (typeof value == "object") { + if (typeof value == 'object') { return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value); } return property(value); @@ -52819,7 +66696,7 @@ var require_lodash = __commonJS({ } var result2 = []; for (var key in Object2(object)) { - if (hasOwnProperty.call(object, key) && key != "constructor") { + if (hasOwnProperty.call(object, key) && key != 'constructor') { result2.push(key); } } @@ -52829,9 +66706,10 @@ var require_lodash = __commonJS({ if (!isObject(object)) { return nativeKeysIn(object); } - var isProto = isPrototype(object), result2 = []; + var isProto = isPrototype(object), + result2 = []; for (var key in object) { - if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) { + if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { result2.push(key); } } @@ -52841,8 +66719,9 @@ var require_lodash = __commonJS({ return value < other; } function baseMap(collection, iteratee2) { - var index = -1, result2 = isArrayLike(collection) ? Array2(collection.length) : []; - baseEach(collection, function(value, key, collection2) { + var index = -1, + result2 = isArrayLike(collection) ? Array2(collection.length) : []; + baseEach(collection, function (value, key, collection2) { result2[++index] = iteratee2(value, key, collection2); }); return result2; @@ -52852,7 +66731,7 @@ var require_lodash = __commonJS({ if (matchData.length == 1 && matchData[0][2]) { return matchesStrictComparable(matchData[0][0], matchData[0][1]); } - return function(object) { + return function (object) { return object === source || baseIsMatch(object, source, matchData); }; } @@ -52860,38 +66739,52 @@ var require_lodash = __commonJS({ if (isKey(path2) && isStrictComparable(srcValue)) { return matchesStrictComparable(toKey(path2), srcValue); } - return function(object) { + return function (object) { var objValue = get(object, path2); - return objValue === undefined2 && objValue === srcValue ? hasIn(object, path2) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); + return objValue === undefined2 && objValue === srcValue + ? hasIn(object, path2) + : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); }; } function baseMerge(object, source, srcIndex, customizer, stack) { if (object === source) { return; } - baseFor(source, function(srcValue, key) { - stack || (stack = new Stack()); - if (isObject(srcValue)) { - baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } else { - var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : undefined2; - if (newValue === undefined2) { - newValue = srcValue; + baseFor( + source, + function (srcValue, key) { + stack || (stack = new Stack()); + if (isObject(srcValue)) { + baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); + } else { + var newValue = customizer + ? customizer(safeGet(object, key), srcValue, key + '', object, source, stack) + : undefined2; + if (newValue === undefined2) { + newValue = srcValue; + } + assignMergeValue(object, key, newValue); } - assignMergeValue(object, key, newValue); - } - }, keysIn); + }, + keysIn + ); } function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue); + var objValue = safeGet(object, key), + srcValue = safeGet(source, key), + stacked = stack.get(srcValue); if (stacked) { assignMergeValue(object, key, stacked); return; } - var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : undefined2; + var newValue = customizer + ? customizer(objValue, srcValue, key + '', object, source, stack) + : undefined2; var isCommon = newValue === undefined2; if (isCommon) { - var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue); + var isArr = isArray(srcValue), + isBuff = !isArr && isBuffer(srcValue), + isTyped = !isArr && !isBuff && isTypedArray(srcValue); newValue = srcValue; if (isArr || isBuff || isTyped) { if (isArray(objValue)) { @@ -52921,7 +66814,7 @@ var require_lodash = __commonJS({ if (isCommon) { stack.set(srcValue, newValue); mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack["delete"](srcValue); + stack['delete'](srcValue); } assignMergeValue(object, key, newValue); } @@ -52935,9 +66828,9 @@ var require_lodash = __commonJS({ } function baseOrderBy(collection, iteratees, orders) { if (iteratees.length) { - iteratees = arrayMap(iteratees, function(iteratee2) { + iteratees = arrayMap(iteratees, function (iteratee2) { if (isArray(iteratee2)) { - return function(value) { + return function (value) { return baseGet(value, iteratee2.length === 1 ? iteratee2[0] : iteratee2); }; } @@ -52948,25 +66841,28 @@ var require_lodash = __commonJS({ } var index = -1; iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - var result2 = baseMap(collection, function(value, key, collection2) { - var criteria = arrayMap(iteratees, function(iteratee2) { + var result2 = baseMap(collection, function (value, key, collection2) { + var criteria = arrayMap(iteratees, function (iteratee2) { return iteratee2(value); }); - return { "criteria": criteria, "index": ++index, "value": value }; + return { criteria: criteria, index: ++index, value: value }; }); - return baseSortBy(result2, function(object, other) { + return baseSortBy(result2, function (object, other) { return compareMultiple(object, other, orders); }); } function basePick(object, paths) { - return basePickBy(object, paths, function(value, path2) { + return basePickBy(object, paths, function (value, path2) { return hasIn(object, path2); }); } function basePickBy(object, paths, predicate) { - var index = -1, length = paths.length, result2 = {}; + var index = -1, + length = paths.length, + result2 = {}; while (++index < length) { - var path2 = paths[index], value = baseGet(object, path2); + var path2 = paths[index], + value = baseGet(object, path2); if (predicate(value, path2)) { baseSet(result2, castPath(path2, object), value); } @@ -52974,12 +66870,15 @@ var require_lodash = __commonJS({ return result2; } function basePropertyDeep(path2) { - return function(object) { + return function (object) { return baseGet(object, path2); }; } function basePullAll(array, values2, iteratee2, comparator) { - var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, index = -1, length = values2.length, seen = array; + var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, + index = -1, + length = values2.length, + seen = array; if (array === values2) { values2 = copyArray(values2); } @@ -52987,7 +66886,9 @@ var require_lodash = __commonJS({ seen = arrayMap(array, baseUnary(iteratee2)); } while (++index < length) { - var fromIndex = 0, value = values2[index], computed = iteratee2 ? iteratee2(value) : value; + var fromIndex = 0, + value = values2[index], + computed = iteratee2 ? iteratee2(value) : value; while ((fromIndex = indexOf2(seen, computed, fromIndex, comparator)) > -1) { if (seen !== array) { splice.call(seen, fromIndex, 1); @@ -52998,7 +66899,8 @@ var require_lodash = __commonJS({ return array; } function basePullAt(array, indexes) { - var length = array ? indexes.length : 0, lastIndex = length - 1; + var length = array ? indexes.length : 0, + lastIndex = length - 1; while (length--) { var index = indexes[length]; if (length == lastIndex || index !== previous) { @@ -53016,7 +66918,9 @@ var require_lodash = __commonJS({ return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); } function baseRange(start, end, step, fromRight) { - var index = -1, length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length); + var index = -1, + length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), + result2 = Array2(length); while (length--) { result2[fromRight ? length : ++index] = start; start += step; @@ -53024,7 +66928,7 @@ var require_lodash = __commonJS({ return result2; } function baseRepeat(string, n) { - var result2 = ""; + var result2 = ''; if (!string || n < 1 || n > MAX_SAFE_INTEGER) { return result2; } @@ -53040,7 +66944,7 @@ var require_lodash = __commonJS({ return result2; } function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ""); + return setToString(overRest(func, start, identity), func + ''); } function baseSample(collection) { return arraySample(values(collection)); @@ -53054,10 +66958,14 @@ var require_lodash = __commonJS({ return object; } path2 = castPath(path2, object); - var index = -1, length = path2.length, lastIndex = length - 1, nested = object; + var index = -1, + length = path2.length, + lastIndex = length - 1, + nested = object; while (nested != null && ++index < length) { - var key = toKey(path2[index]), newValue = value; - if (key === "__proto__" || key === "constructor" || key === "prototype") { + var key = toKey(path2[index]), + newValue = value; + if (key === '__proto__' || key === 'constructor' || key === 'prototype') { return object; } if (index != lastIndex) { @@ -53072,23 +66980,28 @@ var require_lodash = __commonJS({ } return object; } - var baseSetData = !metaMap ? identity : function(func, data) { - metaMap.set(func, data); - return func; - }; - var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, "toString", { - "configurable": true, - "enumerable": false, - "value": constant(string), - "writable": true - }); - }; + var baseSetData = !metaMap + ? identity + : function (func, data) { + metaMap.set(func, data); + return func; + }; + var baseSetToString = !defineProperty + ? identity + : function (func, string) { + return defineProperty(func, 'toString', { + configurable: true, + enumerable: false, + value: constant(string), + writable: true, + }); + }; function baseShuffle(collection) { return shuffleSelf(values(collection)); } function baseSlice(array, start, end) { - var index = -1, length = array.length; + var index = -1, + length = array.length; if (start < 0) { start = -start > length ? 0 : length + start; } @@ -53096,7 +67009,7 @@ var require_lodash = __commonJS({ if (end < 0) { end += length; } - length = start > end ? 0 : end - start >>> 0; + length = start > end ? 0 : (end - start) >>> 0; start >>>= 0; var result2 = Array2(length); while (++index < length) { @@ -53106,18 +67019,24 @@ var require_lodash = __commonJS({ } function baseSome(collection, predicate) { var result2; - baseEach(collection, function(value, index, collection2) { + baseEach(collection, function (value, index, collection2) { result2 = predicate(value, index, collection2); return !result2; }); return !!result2; } function baseSortedIndex(array, value, retHighest) { - var low = 0, high = array == null ? low : array.length; - if (typeof value == "number" && value === value && high <= HALF_MAX_ARRAY_LENGTH) { + var low = 0, + high = array == null ? low : array.length; + if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { while (low < high) { - var mid = low + high >>> 1, computed = array[mid]; - if (computed !== null && !isSymbol(computed) && (retHighest ? computed <= value : computed < value)) { + var mid = (low + high) >>> 1, + computed = array[mid]; + if ( + computed !== null && + !isSymbol(computed) && + (retHighest ? computed <= value : computed < value) + ) { low = mid + 1; } else { high = mid; @@ -53128,14 +67047,23 @@ var require_lodash = __commonJS({ return baseSortedIndexBy(array, value, identity, retHighest); } function baseSortedIndexBy(array, value, iteratee2, retHighest) { - var low = 0, high = array == null ? 0 : array.length; + var low = 0, + high = array == null ? 0 : array.length; if (high === 0) { return 0; } value = iteratee2(value); - var valIsNaN = value !== value, valIsNull = value === null, valIsSymbol = isSymbol(value), valIsUndefined = value === undefined2; + var valIsNaN = value !== value, + valIsNull = value === null, + valIsSymbol = isSymbol(value), + valIsUndefined = value === undefined2; while (low < high) { - var mid = nativeFloor((low + high) / 2), computed = iteratee2(array[mid]), othIsDefined = computed !== undefined2, othIsNull = computed === null, othIsReflexive = computed === computed, othIsSymbol = isSymbol(computed); + var mid = nativeFloor((low + high) / 2), + computed = iteratee2(array[mid]), + othIsDefined = computed !== undefined2, + othIsNull = computed === null, + othIsReflexive = computed === computed, + othIsSymbol = isSymbol(computed); if (valIsNaN) { var setLow = retHighest || othIsReflexive; } else if (valIsUndefined) { @@ -53158,9 +67086,13 @@ var require_lodash = __commonJS({ return nativeMin(high, MAX_ARRAY_INDEX); } function baseSortedUniq(array, iteratee2) { - var index = -1, length = array.length, resIndex = 0, result2 = []; + var index = -1, + length = array.length, + resIndex = 0, + result2 = []; while (++index < length) { - var value = array[index], computed = iteratee2 ? iteratee2(value) : value; + var value = array[index], + computed = iteratee2 ? iteratee2(value) : value; if (!index || !eq(computed, seen)) { var seen = computed; result2[resIndex++] = value === 0 ? 0 : value; @@ -53169,7 +67101,7 @@ var require_lodash = __commonJS({ return result2; } function baseToNumber(value) { - if (typeof value == "number") { + if (typeof value == 'number') { return value; } if (isSymbol(value)) { @@ -53178,20 +67110,25 @@ var require_lodash = __commonJS({ return +value; } function baseToString(value) { - if (typeof value == "string") { + if (typeof value == 'string') { return value; } if (isArray(value)) { - return arrayMap(value, baseToString) + ""; + return arrayMap(value, baseToString) + ''; } if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ""; + return symbolToString ? symbolToString.call(value) : ''; } - var result2 = value + ""; - return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2; + var result2 = value + ''; + return result2 == '0' && 1 / value == -INFINITY ? '-0' : result2; } function baseUniq(array, iteratee2, comparator) { - var index = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2; + var index = -1, + includes2 = arrayIncludes, + length = array.length, + isCommon = true, + result2 = [], + seen = result2; if (comparator) { isCommon = false; includes2 = arrayIncludesWith; @@ -53206,28 +67143,28 @@ var require_lodash = __commonJS({ } else { seen = iteratee2 ? [] : result2; } - outer: - while (++index < length) { - var value = array[index], computed = iteratee2 ? iteratee2(value) : value; - value = comparator || value !== 0 ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee2) { - seen.push(computed); - } - result2.push(value); - } else if (!includes2(seen, computed, comparator)) { - if (seen !== result2) { - seen.push(computed); + outer: while (++index < length) { + var value = array[index], + computed = iteratee2 ? iteratee2(value) : value; + value = comparator || value !== 0 ? value : 0; + if (isCommon && computed === computed) { + var seenIndex = seen.length; + while (seenIndex--) { + if (seen[seenIndex] === computed) { + continue outer; } - result2.push(value); } + if (iteratee2) { + seen.push(computed); + } + result2.push(value); + } else if (!includes2(seen, computed, comparator)) { + if (seen !== result2) { + seen.push(computed); + } + result2.push(value); } + } return result2; } function baseUnset(object, path2) { @@ -53239,38 +67176,57 @@ var require_lodash = __commonJS({ return baseSet(object, path2, updater(baseGet(object, path2)), customizer); } function baseWhile(array, predicate, isDrop, fromRight) { - var length = array.length, index = fromRight ? length : -1; - while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) { - } - return isDrop ? baseSlice(array, fromRight ? 0 : index, fromRight ? index + 1 : length) : baseSlice(array, fromRight ? index + 1 : 0, fromRight ? length : index); + var length = array.length, + index = fromRight ? length : -1; + while ( + (fromRight ? index-- : ++index < length) && + predicate(array[index], index, array) + ) {} + return isDrop + ? baseSlice(array, fromRight ? 0 : index, fromRight ? index + 1 : length) + : baseSlice(array, fromRight ? index + 1 : 0, fromRight ? length : index); } function baseWrapperValue(value, actions) { var result2 = value; if (result2 instanceof LazyWrapper) { result2 = result2.value(); } - return arrayReduce(actions, function(result3, action) { - return action.func.apply(action.thisArg, arrayPush([result3], action.args)); - }, result2); + return arrayReduce( + actions, + function (result3, action) { + return action.func.apply(action.thisArg, arrayPush([result3], action.args)); + }, + result2 + ); } function baseXor(arrays, iteratee2, comparator) { var length = arrays.length; if (length < 2) { return length ? baseUniq(arrays[0]) : []; } - var index = -1, result2 = Array2(length); + var index = -1, + result2 = Array2(length); while (++index < length) { - var array = arrays[index], othIndex = -1; + var array = arrays[index], + othIndex = -1; while (++othIndex < length) { if (othIndex != index) { - result2[index] = baseDifference(result2[index] || array, arrays[othIndex], iteratee2, comparator); + result2[index] = baseDifference( + result2[index] || array, + arrays[othIndex], + iteratee2, + comparator + ); } } } return baseUniq(baseFlatten(result2, 1), iteratee2, comparator); } function baseZipObject(props, values2, assignFunc) { - var index = -1, length = props.length, valsLength = values2.length, result2 = {}; + var index = -1, + length = props.length, + valsLength = values2.length, + result2 = {}; while (++index < length) { var value = index < valsLength ? values2[index] : undefined2; assignFunc(result2, props[index], value); @@ -53281,7 +67237,7 @@ var require_lodash = __commonJS({ return isArrayLikeObject(value) ? value : []; } function castFunction(value) { - return typeof value == "function" ? value : identity; + return typeof value == 'function' ? value : identity; } function castPath(value, object) { if (isArray(value)) { @@ -53295,14 +67251,17 @@ var require_lodash = __commonJS({ end = end === undefined2 ? length : end; return !start && end >= length ? array : baseSlice(array, start, end); } - var clearTimeout2 = ctxClearTimeout || function(id) { - return root.clearTimeout(id); - }; + var clearTimeout2 = + ctxClearTimeout || + function (id) { + return root.clearTimeout(id); + }; function cloneBuffer(buffer, isDeep) { if (isDeep) { return buffer.slice(); } - var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + var length = buffer.length, + result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); buffer.copy(result2); return result2; } @@ -53329,19 +67288,41 @@ var require_lodash = __commonJS({ } function compareAscending(value, other) { if (value !== other) { - var valIsDefined = value !== undefined2, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value); - var othIsDefined = other !== undefined2, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other); - if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) { + var valIsDefined = value !== undefined2, + valIsNull = value === null, + valIsReflexive = value === value, + valIsSymbol = isSymbol(value); + var othIsDefined = other !== undefined2, + othIsNull = other === null, + othIsReflexive = other === other, + othIsSymbol = isSymbol(other); + if ( + (!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || + (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || + (valIsNull && othIsDefined && othIsReflexive) || + (!valIsDefined && othIsReflexive) || + !valIsReflexive + ) { return 1; } - if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) { + if ( + (!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || + (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || + (othIsNull && valIsDefined && valIsReflexive) || + (!othIsDefined && valIsReflexive) || + !othIsReflexive + ) { return -1; } } return 0; } function compareMultiple(object, other, orders) { - var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length; + var index = -1, + objCriteria = object.criteria, + othCriteria = other.criteria, + length = objCriteria.length, + ordersLength = orders.length; while (++index < length) { var result2 = compareAscending(objCriteria[index], othCriteria[index]); if (result2) { @@ -53349,13 +67330,20 @@ var require_lodash = __commonJS({ return result2; } var order = orders[index]; - return result2 * (order == "desc" ? -1 : 1); + return result2 * (order == 'desc' ? -1 : 1); } } return object.index - other.index; } function composeArgs(args, partials, holders, isCurried) { - var argsIndex = -1, argsLength = args.length, holdersLength = holders.length, leftIndex = -1, leftLength = partials.length, rangeLength = nativeMax(argsLength - holdersLength, 0), result2 = Array2(leftLength + rangeLength), isUncurried = !isCurried; + var argsIndex = -1, + argsLength = args.length, + holdersLength = holders.length, + leftIndex = -1, + leftLength = partials.length, + rangeLength = nativeMax(argsLength - holdersLength, 0), + result2 = Array2(leftLength + rangeLength), + isUncurried = !isCurried; while (++leftIndex < leftLength) { result2[leftIndex] = partials[leftIndex]; } @@ -53370,7 +67358,15 @@ var require_lodash = __commonJS({ return result2; } function composeArgsRight(args, partials, holders, isCurried) { - var argsIndex = -1, argsLength = args.length, holdersIndex = -1, holdersLength = holders.length, rightIndex = -1, rightLength = partials.length, rangeLength = nativeMax(argsLength - holdersLength, 0), result2 = Array2(rangeLength + rightLength), isUncurried = !isCurried; + var argsIndex = -1, + argsLength = args.length, + holdersIndex = -1, + holdersLength = holders.length, + rightIndex = -1, + rightLength = partials.length, + rangeLength = nativeMax(argsLength - holdersLength, 0), + result2 = Array2(rangeLength + rightLength), + isUncurried = !isCurried; while (++argsIndex < rangeLength) { result2[argsIndex] = args[argsIndex]; } @@ -53386,7 +67382,8 @@ var require_lodash = __commonJS({ return result2; } function copyArray(source, array) { - var index = -1, length = source.length; + var index = -1, + length = source.length; array || (array = Array2(length)); while (++index < length) { array[index] = source[index]; @@ -53396,10 +67393,13 @@ var require_lodash = __commonJS({ function copyObject(source, props, object, customizer) { var isNew = !object; object || (object = {}); - var index = -1, length = props.length; + var index = -1, + length = props.length; while (++index < length) { var key = props[index]; - var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined2; + var newValue = customizer + ? customizer(object[key], source[key], key, object, source) + : undefined2; if (newValue === undefined2) { newValue = source[key]; } @@ -53418,15 +67418,22 @@ var require_lodash = __commonJS({ return copyObject(source, getSymbolsIn(source), object); } function createAggregator(setter, initializer) { - return function(collection, iteratee2) { - var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {}; + return function (collection, iteratee2) { + var func = isArray(collection) ? arrayAggregator : baseAggregator, + accumulator = initializer ? initializer() : {}; return func(collection, setter, getIteratee(iteratee2, 2), accumulator); }; } function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined2, guard = length > 2 ? sources[2] : undefined2; - customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : undefined2; + return baseRest(function (object, sources) { + var index = -1, + length = sources.length, + customizer = length > 1 ? sources[length - 1] : undefined2, + guard = length > 2 ? sources[2] : undefined2; + customizer = + assigner.length > 3 && typeof customizer == 'function' + ? (length--, customizer) + : undefined2; if (guard && isIterateeCall(sources[0], sources[1], guard)) { customizer = length < 3 ? undefined2 : customizer; length = 1; @@ -53442,14 +67449,16 @@ var require_lodash = __commonJS({ }); } function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee2) { + return function (collection, iteratee2) { if (collection == null) { return collection; } if (!isArrayLike(collection)) { return eachFunc(collection, iteratee2); } - var length = collection.length, index = fromRight ? length : -1, iterable = Object2(collection); + var length = collection.length, + index = fromRight ? length : -1, + iterable = Object2(collection); while (fromRight ? index-- : ++index < length) { if (iteratee2(iterable[index], index, iterable) === false) { break; @@ -53459,8 +67468,11 @@ var require_lodash = __commonJS({ }; } function createBaseFor(fromRight) { - return function(object, iteratee2, keysFunc) { - var index = -1, iterable = Object2(object), props = keysFunc(object), length = props.length; + return function (object, iteratee2, keysFunc) { + var index = -1, + iterable = Object2(object), + props = keysFunc(object), + length = props.length; while (length--) { var key = props[fromRight ? length : ++index]; if (iteratee2(iterable[key], key, iterable) === false) { @@ -53471,7 +67483,8 @@ var require_lodash = __commonJS({ }; } function createBind(func, bitmask, thisArg) { - var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func); + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); function wrapper() { var fn = this && this !== root && this instanceof wrapper ? Ctor : func; return fn.apply(isBind ? thisArg : this, arguments); @@ -53479,21 +67492,21 @@ var require_lodash = __commonJS({ return wrapper; } function createCaseFirst(methodName) { - return function(string) { + return function (string) { string = toString(string); var strSymbols = hasUnicode(string) ? stringToArray(string) : undefined2; var chr = strSymbols ? strSymbols[0] : string.charAt(0); - var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1); + var trailing = strSymbols ? castSlice(strSymbols, 1).join('') : string.slice(1); return chr[methodName]() + trailing; }; } function createCompounder(callback) { - return function(string) { - return arrayReduce(words(deburr(string).replace(reApos, "")), callback, ""); + return function (string) { + return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); }; } function createCtor(Ctor) { - return function() { + return function () { var args = arguments; switch (args.length) { case 0: @@ -53513,18 +67526,25 @@ var require_lodash = __commonJS({ case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); } - var thisBinding = baseCreate(Ctor.prototype), result2 = Ctor.apply(thisBinding, args); + var thisBinding = baseCreate(Ctor.prototype), + result2 = Ctor.apply(thisBinding, args); return isObject(result2) ? result2 : thisBinding; }; } function createCurry(func, bitmask, arity) { var Ctor = createCtor(func); function wrapper() { - var length = arguments.length, args = Array2(length), index = length, placeholder = getHolder(wrapper); + var length = arguments.length, + args = Array2(length), + index = length, + placeholder = getHolder(wrapper); while (index--) { args[index] = arguments[index]; } - var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder); + var holders = + length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder + ? [] + : replaceHolders(args, placeholder); length -= holders.length; if (length < arity) { return createRecurry( @@ -53546,12 +67566,12 @@ var require_lodash = __commonJS({ return wrapper; } function createFind(findIndexFunc) { - return function(collection, predicate, fromIndex) { + return function (collection, predicate, fromIndex) { var iterable = Object2(collection); if (!isArrayLike(collection)) { var iteratee2 = getIteratee(predicate, 3); collection = keys(collection); - predicate = function(key) { + predicate = function (key) { return iteratee2(iterable[key], key, iterable); }; } @@ -53560,36 +67580,49 @@ var require_lodash = __commonJS({ }; } function createFlow(fromRight) { - return flatRest(function(funcs) { - var length = funcs.length, index = length, prereq = LodashWrapper.prototype.thru; + return flatRest(function (funcs) { + var length = funcs.length, + index = length, + prereq = LodashWrapper.prototype.thru; if (fromRight) { funcs.reverse(); } while (index--) { var func = funcs[index]; - if (typeof func != "function") { + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } - if (prereq && !wrapper && getFuncName(func) == "wrapper") { + if (prereq && !wrapper && getFuncName(func) == 'wrapper') { var wrapper = new LodashWrapper([], true); } } index = wrapper ? index : length; while (++index < length) { func = funcs[index]; - var funcName = getFuncName(func), data = funcName == "wrapper" ? getData(func) : undefined2; - if (data && isLaziable(data[0]) && data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data[4].length && data[9] == 1) { + var funcName = getFuncName(func), + data = funcName == 'wrapper' ? getData(func) : undefined2; + if ( + data && + isLaziable(data[0]) && + data[1] == + (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && + !data[4].length && + data[9] == 1 + ) { wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); } else { - wrapper = func.length == 1 && isLaziable(func) ? wrapper[funcName]() : wrapper.thru(func); + wrapper = + func.length == 1 && isLaziable(func) ? wrapper[funcName]() : wrapper.thru(func); } } - return function() { - var args = arguments, value = args[0]; + return function () { + var args = arguments, + value = args[0]; if (wrapper && args.length == 1 && isArray(value)) { return wrapper.plant(value).value(); } - var index2 = 0, result2 = length ? funcs[index2].apply(this, args) : value; + var index2 = 0, + result2 = length ? funcs[index2].apply(this, args) : value; while (++index2 < length) { result2 = funcs[index2].call(this, result2); } @@ -53597,15 +67630,34 @@ var require_lodash = __commonJS({ }; }); } - function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary2, arity) { - var isAry = bitmask & WRAP_ARY_FLAG, isBind = bitmask & WRAP_BIND_FLAG, isBindKey = bitmask & WRAP_BIND_KEY_FLAG, isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), isFlip = bitmask & WRAP_FLIP_FLAG, Ctor = isBindKey ? undefined2 : createCtor(func); + function createHybrid( + func, + bitmask, + thisArg, + partials, + holders, + partialsRight, + holdersRight, + argPos, + ary2, + arity + ) { + var isAry = bitmask & WRAP_ARY_FLAG, + isBind = bitmask & WRAP_BIND_FLAG, + isBindKey = bitmask & WRAP_BIND_KEY_FLAG, + isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), + isFlip = bitmask & WRAP_FLIP_FLAG, + Ctor = isBindKey ? undefined2 : createCtor(func); function wrapper() { - var length = arguments.length, args = Array2(length), index = length; + var length = arguments.length, + args = Array2(length), + index = length; while (index--) { args[index] = arguments[index]; } if (isCurried) { - var placeholder = getHolder(wrapper), holdersCount = countHolders(args, placeholder); + var placeholder = getHolder(wrapper), + holdersCount = countHolders(args, placeholder); } if (partials) { args = composeArgs(args, partials, holders, isCurried); @@ -53629,7 +67681,8 @@ var require_lodash = __commonJS({ arity - length ); } - var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func; + var thisBinding = isBind ? thisArg : this, + fn = isBindKey ? thisBinding[func] : func; length = args.length; if (argPos) { args = reorder(args, argPos); @@ -53647,12 +67700,12 @@ var require_lodash = __commonJS({ return wrapper; } function createInverter(setter, toIteratee) { - return function(object, iteratee2) { + return function (object, iteratee2) { return baseInverter(object, setter, toIteratee(iteratee2), {}); }; } function createMathOperation(operator, defaultValue) { - return function(value, other) { + return function (value, other) { var result2; if (value === undefined2 && other === undefined2) { return defaultValue; @@ -53664,7 +67717,7 @@ var require_lodash = __commonJS({ if (result2 === undefined2) { return other; } - if (typeof value == "string" || typeof other == "string") { + if (typeof value == 'string' || typeof other == 'string') { value = baseToString(value); other = baseToString(other); } else { @@ -53677,29 +67730,37 @@ var require_lodash = __commonJS({ }; } function createOver(arrayFunc) { - return flatRest(function(iteratees) { + return flatRest(function (iteratees) { iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - return baseRest(function(args) { + return baseRest(function (args) { var thisArg = this; - return arrayFunc(iteratees, function(iteratee2) { + return arrayFunc(iteratees, function (iteratee2) { return apply(iteratee2, thisArg, args); }); }); }); } function createPadding(length, chars) { - chars = chars === undefined2 ? " " : baseToString(chars); + chars = chars === undefined2 ? ' ' : baseToString(chars); var charsLength = chars.length; if (charsLength < 2) { return charsLength ? baseRepeat(chars, length) : chars; } var result2 = baseRepeat(chars, nativeCeil(length / stringSize(chars))); - return hasUnicode(chars) ? castSlice(stringToArray(result2), 0, length).join("") : result2.slice(0, length); + return hasUnicode(chars) + ? castSlice(stringToArray(result2), 0, length).join('') + : result2.slice(0, length); } function createPartial(func, bitmask, thisArg, partials) { - var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func); + var isBind = bitmask & WRAP_BIND_FLAG, + Ctor = createCtor(func); function wrapper() { - var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func; + var argsIndex = -1, + argsLength = arguments.length, + leftIndex = -1, + leftLength = partials.length, + args = Array2(leftLength + argsLength), + fn = this && this !== root && this instanceof wrapper ? Ctor : func; while (++leftIndex < leftLength) { args[leftIndex] = partials[leftIndex]; } @@ -53711,8 +67772,8 @@ var require_lodash = __commonJS({ return wrapper; } function createRange(fromRight) { - return function(start, end, step) { - if (step && typeof step != "number" && isIterateeCall(start, end, step)) { + return function (start, end, step) { + if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { end = step = undefined2; } start = toFinite(start); @@ -53722,21 +67783,36 @@ var require_lodash = __commonJS({ } else { end = toFinite(end); } - step = step === undefined2 ? start < end ? 1 : -1 : toFinite(step); + step = step === undefined2 ? (start < end ? 1 : -1) : toFinite(step); return baseRange(start, end, step, fromRight); }; } function createRelationalOperation(operator) { - return function(value, other) { - if (!(typeof value == "string" && typeof other == "string")) { + return function (value, other) { + if (!(typeof value == 'string' && typeof other == 'string')) { value = toNumber(value); other = toNumber(other); } return operator(value, other); }; } - function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary2, arity) { - var isCurry = bitmask & WRAP_CURRY_FLAG, newHolders = isCurry ? holders : undefined2, newHoldersRight = isCurry ? undefined2 : holders, newPartials = isCurry ? partials : undefined2, newPartialsRight = isCurry ? undefined2 : partials; + function createRecurry( + func, + bitmask, + wrapFunc, + placeholder, + thisArg, + partials, + holders, + argPos, + ary2, + arity + ) { + var isCurry = bitmask & WRAP_CURRY_FLAG, + newHolders = isCurry ? holders : undefined2, + newHoldersRight = isCurry ? undefined2 : holders, + newPartials = isCurry ? partials : undefined2, + newPartialsRight = isCurry ? undefined2 : partials; bitmask |= isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG; bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { @@ -53752,7 +67828,7 @@ var require_lodash = __commonJS({ newHoldersRight, argPos, ary2, - arity + arity, ]; var result2 = wrapFunc.apply(undefined2, newData); if (isLaziable(func)) { @@ -53763,22 +67839,25 @@ var require_lodash = __commonJS({ } function createRound(methodName) { var func = Math2[methodName]; - return function(number, precision) { + return function (number, precision) { number = toNumber(number); precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); if (precision && nativeIsFinite(number)) { - var pair = (toString(number) + "e").split("e"), value = func(pair[0] + "e" + (+pair[1] + precision)); - pair = (toString(value) + "e").split("e"); - return +(pair[0] + "e" + (+pair[1] - precision)); + var pair = (toString(number) + 'e').split('e'), + value = func(pair[0] + 'e' + (+pair[1] + precision)); + pair = (toString(value) + 'e').split('e'); + return +(pair[0] + 'e' + (+pair[1] - precision)); } return func(number); }; } - var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop : function(values2) { - return new Set2(values2); - }; + var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) + ? noop + : function (values2) { + return new Set2(values2); + }; function createToPairs(keysFunc) { - return function(object) { + return function (object) { var tag = getTag(object); if (tag == mapTag) { return mapToArray(object); @@ -53791,7 +67870,7 @@ var require_lodash = __commonJS({ } function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary2, arity) { var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; - if (!isBindKey && typeof func != "function") { + if (!isBindKey && typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } var length = partials ? partials.length : 0; @@ -53803,7 +67882,8 @@ var require_lodash = __commonJS({ arity = arity === undefined2 ? arity : toInteger(arity); length -= holders ? holders.length : 0; if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { - var partialsRight = partials, holdersRight = holders; + var partialsRight = partials, + holdersRight = holders; partials = holders = undefined2; } var data = isBindKey ? undefined2 : getData(func); @@ -53817,7 +67897,7 @@ var require_lodash = __commonJS({ holdersRight, argPos, ary2, - arity + arity, ]; if (data) { mergeData(newData, data); @@ -53827,7 +67907,12 @@ var require_lodash = __commonJS({ thisArg = newData[2]; partials = newData[3]; holders = newData[4]; - arity = newData[9] = newData[9] === undefined2 ? isBindKey ? 0 : func.length : nativeMax(newData[9] - length, 0); + arity = newData[9] = + newData[9] === undefined2 + ? isBindKey + ? 0 + : func.length + : nativeMax(newData[9] - length, 0); if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); } @@ -53835,7 +67920,10 @@ var require_lodash = __commonJS({ var result2 = createBind(func, bitmask, thisArg); } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { result2 = createCurry(func, bitmask, arity); - } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { + } else if ( + (bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && + !holders.length + ) { result2 = createPartial(func, bitmask, thisArg, partials); } else { result2 = createHybrid.apply(undefined2, newData); @@ -53844,7 +67932,10 @@ var require_lodash = __commonJS({ return setWrapToString(setter(result2, newData), func, bitmask); } function customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined2 || eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key)) { + if ( + objValue === undefined2 || + (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key)) + ) { return srcValue; } return objValue; @@ -53853,7 +67944,7 @@ var require_lodash = __commonJS({ if (isObject(objValue) && isObject(srcValue)) { stack.set(srcValue, objValue); baseMerge(objValue, srcValue, undefined2, customDefaultsMerge, stack); - stack["delete"](srcValue); + stack['delete'](srcValue); } return objValue; } @@ -53861,7 +67952,9 @@ var require_lodash = __commonJS({ return isPlainObject(value) ? undefined2 : value; } function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length; + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + arrLength = array.length, + othLength = other.length; if (arrLength != othLength && !(isPartial && othLength > arrLength)) { return false; } @@ -53870,13 +67963,18 @@ var require_lodash = __commonJS({ if (arrStacked && othStacked) { return arrStacked == other && othStacked == array; } - var index = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined2; + var index = -1, + result2 = true, + seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined2; stack.set(array, other); stack.set(other, array); while (++index < arrLength) { - var arrValue = array[index], othValue = other[index]; + var arrValue = array[index], + othValue = other[index]; if (customizer) { - var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack); + var compared = isPartial + ? customizer(othValue, arrValue, index, other, array, stack) + : customizer(arrValue, othValue, index, array, other, stack); } if (compared !== undefined2) { if (compared) { @@ -53886,21 +67984,29 @@ var require_lodash = __commonJS({ break; } if (seen) { - if (!arraySome(other, function(othValue2, othIndex) { - if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { + if ( + !arraySome(other, function (othValue2, othIndex) { + if ( + !cacheHas(seen, othIndex) && + (arrValue === othValue2 || + equalFunc(arrValue, othValue2, bitmask, customizer, stack)) + ) { + return seen.push(othIndex); + } + }) + ) { result2 = false; break; } - } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { + } else if ( + !(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack)) + ) { result2 = false; break; } } - stack["delete"](array); - stack["delete"](other); + stack['delete'](array); + stack['delete'](other); return result2; } function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { @@ -53912,7 +68018,10 @@ var require_lodash = __commonJS({ object = object.buffer; other = other.buffer; case arrayBufferTag: - if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) { + if ( + object.byteLength != other.byteLength || + !equalFunc(new Uint8Array2(object), new Uint8Array2(other)) + ) { return false; } return true; @@ -53924,7 +68033,7 @@ var require_lodash = __commonJS({ return object.name == other.name && object.message == other.message; case regexpTag: case stringTag: - return object == other + ""; + return object == other + ''; case mapTag: var convert = mapToArray; case setTag: @@ -53939,8 +68048,15 @@ var require_lodash = __commonJS({ } bitmask |= COMPARE_UNORDERED_FLAG; stack.set(object, other); - var result2 = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack["delete"](object); + var result2 = equalArrays( + convert(object), + convert(other), + bitmask, + customizer, + equalFunc, + stack + ); + stack['delete'](object); return result2; case symbolTag: if (symbolValueOf) { @@ -53950,7 +68066,11 @@ var require_lodash = __commonJS({ return false; } function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length; + var isPartial = bitmask & COMPARE_PARTIAL_FLAG, + objProps = getAllKeys(object), + objLength = objProps.length, + othProps = getAllKeys(other), + othLength = othProps.length; if (objLength != othLength && !isPartial) { return false; } @@ -53972,28 +68092,46 @@ var require_lodash = __commonJS({ var skipCtor = isPartial; while (++index < objLength) { key = objProps[index]; - var objValue = object[key], othValue = other[key]; + var objValue = object[key], + othValue = other[key]; if (customizer) { - var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack); - } - if (!(compared === undefined2 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) { + var compared = isPartial + ? customizer(othValue, objValue, key, other, object, stack) + : customizer(objValue, othValue, key, object, other, stack); + } + if ( + !(compared === undefined2 + ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) + : compared) + ) { result2 = false; break; } - skipCtor || (skipCtor = key == "constructor"); + skipCtor || (skipCtor = key == 'constructor'); } if (result2 && !skipCtor) { - var objCtor = object.constructor, othCtor = other.constructor; - if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) { + var objCtor = object.constructor, + othCtor = other.constructor; + if ( + objCtor != othCtor && + 'constructor' in object && + 'constructor' in other && + !( + typeof objCtor == 'function' && + objCtor instanceof objCtor && + typeof othCtor == 'function' && + othCtor instanceof othCtor + ) + ) { result2 = false; } } - stack["delete"](object); - stack["delete"](other); + stack['delete'](object); + stack['delete'](other); return result2; } function flatRest(func) { - return setToString(overRest(func, undefined2, flatten), func + ""); + return setToString(overRest(func, undefined2, flatten), func + ''); } function getAllKeys(object) { return baseGetAllKeys(object, keys, getSymbols); @@ -54001,13 +68139,18 @@ var require_lodash = __commonJS({ function getAllKeysIn(object) { return baseGetAllKeys(object, keysIn, getSymbolsIn); } - var getData = !metaMap ? noop : function(func) { - return metaMap.get(func); - }; + var getData = !metaMap + ? noop + : function (func) { + return metaMap.get(func); + }; function getFuncName(func) { - var result2 = func.name + "", array = realNames[result2], length = hasOwnProperty.call(realNames, result2) ? array.length : 0; + var result2 = func.name + '', + array = realNames[result2], + length = hasOwnProperty.call(realNames, result2) ? array.length : 0; while (length--) { - var data = array[length], otherFunc = data.func; + var data = array[length], + otherFunc = data.func; if (otherFunc == null || otherFunc == func) { return data.name; } @@ -54015,7 +68158,7 @@ var require_lodash = __commonJS({ return result2; } function getHolder(func) { - var object = hasOwnProperty.call(lodash3, "placeholder") ? lodash3 : func; + var object = hasOwnProperty.call(lodash3, 'placeholder') ? lodash3 : func; return object.placeholder; } function getIteratee() { @@ -54025,12 +68168,14 @@ var require_lodash = __commonJS({ } function getMapData(map2, key) { var data = map2.__data__; - return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map; + return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map; } function getMatchData(object) { - var result2 = keys(object), length = result2.length; + var result2 = keys(object), + length = result2.length; while (length--) { - var key = result2[length], value = object[key]; + var key = result2[length], + value = object[key]; result2[length] = [key, value, isStrictComparable(value)]; } return result2; @@ -54040,12 +68185,12 @@ var require_lodash = __commonJS({ return baseIsNative(value) ? value : undefined2; } function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag]; + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; try { value[symToStringTag] = undefined2; var unmasked = true; - } catch (e) { - } + } catch (e) {} var result2 = nativeObjectToString.call(value); if (unmasked) { if (isOwn) { @@ -54056,27 +68201,39 @@ var require_lodash = __commonJS({ } return result2; } - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object2(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); - }; - var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { - var result2 = []; - while (object) { - arrayPush(result2, getSymbols(object)); - object = getPrototype(object); - } - return result2; - }; + var getSymbols = !nativeGetSymbols + ? stubArray + : function (object) { + if (object == null) { + return []; + } + object = Object2(object); + return arrayFilter(nativeGetSymbols(object), function (symbol) { + return propertyIsEnumerable.call(object, symbol); + }); + }; + var getSymbolsIn = !nativeGetSymbols + ? stubArray + : function (object) { + var result2 = []; + while (object) { + arrayPush(result2, getSymbols(object)); + object = getPrototype(object); + } + return result2; + }; var getTag = baseGetTag; - if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) { - getTag = function(value) { - var result2 = baseGetTag(value), Ctor = result2 == objectTag ? value.constructor : undefined2, ctorString = Ctor ? toSource(Ctor) : ""; + if ( + (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || + (Map2 && getTag(new Map2()) != mapTag) || + (Promise2 && getTag(Promise2.resolve()) != promiseTag) || + (Set2 && getTag(new Set2()) != setTag) || + (WeakMap2 && getTag(new WeakMap2()) != weakMapTag) + ) { + getTag = function (value) { + var result2 = baseGetTag(value), + Ctor = result2 == objectTag ? value.constructor : undefined2, + ctorString = Ctor ? toSource(Ctor) : ''; if (ctorString) { switch (ctorString) { case dataViewCtorString: @@ -54095,25 +68252,27 @@ var require_lodash = __commonJS({ }; } function getView(start, end, transforms) { - var index = -1, length = transforms.length; + var index = -1, + length = transforms.length; while (++index < length) { - var data = transforms[index], size2 = data.size; + var data = transforms[index], + size2 = data.size; switch (data.type) { - case "drop": + case 'drop': start += size2; break; - case "dropRight": + case 'dropRight': end -= size2; break; - case "take": + case 'take': end = nativeMin(end, start + size2); break; - case "takeRight": + case 'takeRight': start = nativeMax(start, end - size2); break; } } - return { "start": start, "end": end }; + return { start: start, end: end }; } function getWrapDetails(source) { var match = source.match(reWrapDetails); @@ -54121,7 +68280,9 @@ var require_lodash = __commonJS({ } function hasPath(object, path2, hasFunc) { path2 = castPath(path2, object); - var index = -1, length = path2.length, result2 = false; + var index = -1, + length = path2.length, + result2 = false; while (++index < length) { var key = toKey(path2[index]); if (!(result2 = object != null && hasFunc(object, key))) { @@ -54133,18 +68294,26 @@ var require_lodash = __commonJS({ return result2; } length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object)); + return ( + !!length && + isLength(length) && + isIndex(key, length) && + (isArray(object) || isArguments(object)) + ); } function initCloneArray(array) { - var length = array.length, result2 = new array.constructor(length); - if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) { + var length = array.length, + result2 = new array.constructor(length); + if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { result2.index = array.index; result2.input = array.input; } return result2; } function initCloneObject(object) { - return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {}; + return typeof object.constructor == 'function' && !isPrototype(object) + ? baseCreate(getPrototype(object)) + : {}; } function initCloneByTag(object, tag, isDeep) { var Ctor = object.constructor; @@ -54185,24 +68354,38 @@ var require_lodash = __commonJS({ return source; } var lastIndex = length - 1; - details[lastIndex] = (length > 1 ? "& " : "") + details[lastIndex]; - details = details.join(length > 2 ? ", " : " "); - return source.replace(reWrapComment, "{\n/* [wrapped with " + details + "] */\n"); + details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; + details = details.join(length > 2 ? ', ' : ' '); + return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); } function isFlattenable(value) { - return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]); + return ( + isArray(value) || + isArguments(value) || + !!(spreadableSymbol && value && value[spreadableSymbol]) + ); } function isIndex(value, length) { var type = typeof value; length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length); + return ( + !!length && + (type == 'number' || (type != 'symbol' && reIsUint.test(value))) && + value > -1 && + value % 1 == 0 && + value < length + ); } function isIterateeCall(value, index, object) { if (!isObject(object)) { return false; } var type = typeof index; - if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) { + if ( + type == 'number' + ? isArrayLike(object) && isIndex(index, object.length) + : type == 'string' && index in object + ) { return eq(object[index], value); } return false; @@ -54212,18 +68395,31 @@ var require_lodash = __commonJS({ return false; } var type = typeof value; - if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) { + if ( + type == 'number' || + type == 'symbol' || + type == 'boolean' || + value == null || + isSymbol(value) + ) { return true; } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object2(object); + return ( + reIsPlainProp.test(value) || + !reIsDeepProp.test(value) || + (object != null && value in Object2(object)) + ); } function isKeyable(value) { var type = typeof value; - return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null; + return type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean' + ? value !== '__proto__' + : value === null; } function isLaziable(func) { - var funcName = getFuncName(func), other = lodash3[funcName]; - if (typeof other != "function" || !(funcName in LazyWrapper.prototype)) { + var funcName = getFuncName(func), + other = lodash3[funcName]; + if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { return false; } if (func === other) { @@ -54237,14 +68433,15 @@ var require_lodash = __commonJS({ } var isMaskable = coreJsData ? isFunction : stubFalse; function isPrototype(value) { - var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto; + var Ctor = value && value.constructor, + proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; return value === proto; } function isStrictComparable(value) { return value === value && !isObject(value); } function matchesStrictComparable(key, srcValue) { - return function(object) { + return function (object) { if (object == null) { return false; } @@ -54252,7 +68449,7 @@ var require_lodash = __commonJS({ }; } function memoizeCapped(func) { - var result2 = memoize(func, function(key) { + var result2 = memoize(func, function (key) { if (cache.size === MAX_MEMOIZE_SIZE) { cache.clear(); } @@ -54262,8 +68459,18 @@ var require_lodash = __commonJS({ return result2; } function mergeData(data, source) { - var bitmask = data[1], srcBitmask = source[1], newBitmask = bitmask | srcBitmask, isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); - var isCombo = srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_CURRY_FLAG || srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_REARG_FLAG && data[7].length <= source[8] || srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG) && source[7].length <= source[8] && bitmask == WRAP_CURRY_FLAG; + var bitmask = data[1], + srcBitmask = source[1], + newBitmask = bitmask | srcBitmask, + isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); + var isCombo = + (srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_CURRY_FLAG) || + (srcBitmask == WRAP_ARY_FLAG && + bitmask == WRAP_REARG_FLAG && + data[7].length <= source[8]) || + (srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG) && + source[7].length <= source[8] && + bitmask == WRAP_CURRY_FLAG); if (!(isCommon || isCombo)) { return data; } @@ -54311,8 +68518,11 @@ var require_lodash = __commonJS({ } function overRest(func, start, transform2) { start = nativeMax(start === undefined2 ? func.length - 1 : start, 0); - return function() { - var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array2(length); + return function () { + var args = arguments, + index = -1, + length = nativeMax(args.length - start, 0), + array = Array2(length); while (++index < length) { array[index] = args[start + index]; } @@ -54329,7 +68539,9 @@ var require_lodash = __commonJS({ return path2.length < 2 ? object : baseGet(object, baseSlice(path2, 0, -1)); } function reorder(array, indexes) { - var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array); + var arrLength = array.length, + length = nativeMin(indexes.length, arrLength), + oldArray = copyArray(array); while (length--) { var index = indexes[length]; array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined2; @@ -54337,27 +68549,34 @@ var require_lodash = __commonJS({ return array; } function safeGet(object, key) { - if (key === "constructor" && typeof object[key] === "function") { + if (key === 'constructor' && typeof object[key] === 'function') { return; } - if (key == "__proto__") { + if (key == '__proto__') { return; } return object[key]; } var setData = shortOut(baseSetData); - var setTimeout2 = ctxSetTimeout || function(func, wait) { - return root.setTimeout(func, wait); - }; + var setTimeout2 = + ctxSetTimeout || + function (func, wait) { + return root.setTimeout(func, wait); + }; var setToString = shortOut(baseSetToString); function setWrapToString(wrapper, reference, bitmask) { - var source = reference + ""; - return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); + var source = reference + ''; + return setToString( + wrapper, + insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)) + ); } function shortOut(func) { - var count = 0, lastCalled = 0; - return function() { - var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled); + var count = 0, + lastCalled = 0; + return function () { + var stamp = nativeNow(), + remaining = HOT_SPAN - (stamp - lastCalled); lastCalled = stamp; if (remaining > 0) { if (++count >= HOT_COUNT) { @@ -54370,49 +68589,50 @@ var require_lodash = __commonJS({ }; } function shuffleSelf(array, size2) { - var index = -1, length = array.length, lastIndex = length - 1; + var index = -1, + length = array.length, + lastIndex = length - 1; size2 = size2 === undefined2 ? length : size2; while (++index < size2) { - var rand = baseRandom(index, lastIndex), value = array[rand]; + var rand = baseRandom(index, lastIndex), + value = array[rand]; array[rand] = array[index]; array[index] = value; } array.length = size2; return array; } - var stringToPath = memoizeCapped(function(string) { + var stringToPath = memoizeCapped(function (string) { var result2 = []; if (string.charCodeAt(0) === 46) { - result2.push(""); + result2.push(''); } - string.replace(rePropName, function(match, number, quote, subString) { - result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match); + string.replace(rePropName, function (match, number, quote, subString) { + result2.push(quote ? subString.replace(reEscapeChar, '$1') : number || match); }); return result2; }); function toKey(value) { - if (typeof value == "string" || isSymbol(value)) { + if (typeof value == 'string' || isSymbol(value)) { return value; } - var result2 = value + ""; - return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2; + var result2 = value + ''; + return result2 == '0' && 1 / value == -INFINITY ? '-0' : result2; } function toSource(func) { if (func != null) { try { return funcToString.call(func); - } catch (e) { - } + } catch (e) {} try { - return func + ""; - } catch (e) { - } + return func + ''; + } catch (e) {} } - return ""; + return ''; } function updateWrapDetails(details, bitmask) { - arrayEach(wrapFlags, function(pair) { - var value = "_." + pair[0]; + arrayEach(wrapFlags, function (pair) { + var value = '_.' + pair[0]; if (bitmask & pair[1] && !arrayIncludes(details, value)) { details.push(value); } @@ -54439,14 +68659,19 @@ var require_lodash = __commonJS({ if (!length || size2 < 1) { return []; } - var index = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2)); + var index = 0, + resIndex = 0, + result2 = Array2(nativeCeil(length / size2)); while (index < length) { - result2[resIndex++] = baseSlice(array, index, index += size2); + result2[resIndex++] = baseSlice(array, index, (index += size2)); } return result2; } function compact(array) { - var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = []; + var index = -1, + length = array == null ? 0 : array.length, + resIndex = 0, + result2 = []; while (++index < length) { var value = array[index]; if (value) { @@ -54460,28 +68685,45 @@ var require_lodash = __commonJS({ if (!length) { return []; } - var args = Array2(length - 1), array = arguments[0], index = length; + var args = Array2(length - 1), + array = arguments[0], + index = length; while (index--) { args[index - 1] = arguments[index]; } return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); } - var difference = baseRest(function(array, values2) { - return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true)) : []; + var difference = baseRest(function (array, values2) { + return isArrayLikeObject(array) + ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true)) + : []; }); - var differenceBy = baseRest(function(array, values2) { + var differenceBy = baseRest(function (array, values2) { var iteratee2 = last(values2); if (isArrayLikeObject(iteratee2)) { iteratee2 = undefined2; } - return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true), getIteratee(iteratee2, 2)) : []; + return isArrayLikeObject(array) + ? baseDifference( + array, + baseFlatten(values2, 1, isArrayLikeObject, true), + getIteratee(iteratee2, 2) + ) + : []; }); - var differenceWith = baseRest(function(array, values2) { + var differenceWith = baseRest(function (array, values2) { var comparator = last(values2); if (isArrayLikeObject(comparator)) { comparator = undefined2; } - return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true), undefined2, comparator) : []; + return isArrayLikeObject(array) + ? baseDifference( + array, + baseFlatten(values2, 1, isArrayLikeObject, true), + undefined2, + comparator + ) + : []; }); function drop(array, n, guard) { var length = array == null ? 0 : array.length; @@ -54501,7 +68743,9 @@ var require_lodash = __commonJS({ return baseSlice(array, 0, n < 0 ? 0 : n); } function dropRightWhile(array, predicate) { - return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true, true) : []; + return array && array.length + ? baseWhile(array, getIteratee(predicate, 3), true, true) + : []; } function dropWhile(array, predicate) { return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true) : []; @@ -54511,7 +68755,7 @@ var require_lodash = __commonJS({ if (!length) { return []; } - if (start && typeof start != "number" && isIterateeCall(array, value, start)) { + if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { start = 0; end = length; } @@ -54557,7 +68801,9 @@ var require_lodash = __commonJS({ return baseFlatten(array, depth); } function fromPairs(pairs) { - var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {}; + var index = -1, + length = pairs == null ? 0 : pairs.length, + result2 = {}; while (++index < length) { var pair = pairs[index]; result2[pair[0]] = pair[1]; @@ -54582,29 +68828,35 @@ var require_lodash = __commonJS({ var length = array == null ? 0 : array.length; return length ? baseSlice(array, 0, -1) : []; } - var intersection = baseRest(function(arrays) { + var intersection = baseRest(function (arrays) { var mapped = arrayMap(arrays, castArrayLikeObject); return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : []; }); - var intersectionBy = baseRest(function(arrays) { - var iteratee2 = last(arrays), mapped = arrayMap(arrays, castArrayLikeObject); + var intersectionBy = baseRest(function (arrays) { + var iteratee2 = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); if (iteratee2 === last(mapped)) { iteratee2 = undefined2; } else { mapped.pop(); } - return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, getIteratee(iteratee2, 2)) : []; + return mapped.length && mapped[0] === arrays[0] + ? baseIntersection(mapped, getIteratee(iteratee2, 2)) + : []; }); - var intersectionWith = baseRest(function(arrays) { - var comparator = last(arrays), mapped = arrayMap(arrays, castArrayLikeObject); - comparator = typeof comparator == "function" ? comparator : undefined2; + var intersectionWith = baseRest(function (arrays) { + var comparator = last(arrays), + mapped = arrayMap(arrays, castArrayLikeObject); + comparator = typeof comparator == 'function' ? comparator : undefined2; if (comparator) { mapped.pop(); } - return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined2, comparator) : []; + return mapped.length && mapped[0] === arrays[0] + ? baseIntersection(mapped, undefined2, comparator) + : []; }); function join3(array, separator) { - return array == null ? "" : nativeJoin.call(array, separator); + return array == null ? '' : nativeJoin.call(array, separator); } function last(array) { var length = array == null ? 0 : array.length; @@ -54620,26 +68872,38 @@ var require_lodash = __commonJS({ index = toInteger(fromIndex); index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); } - return value === value ? strictLastIndexOf(array, value, index) : baseFindIndex(array, baseIsNaN, index, true); + return value === value + ? strictLastIndexOf(array, value, index) + : baseFindIndex(array, baseIsNaN, index, true); } function nth(array, n) { return array && array.length ? baseNth(array, toInteger(n)) : undefined2; } var pull = baseRest(pullAll); function pullAll(array, values2) { - return array && array.length && values2 && values2.length ? basePullAll(array, values2) : array; + return array && array.length && values2 && values2.length + ? basePullAll(array, values2) + : array; } function pullAllBy(array, values2, iteratee2) { - return array && array.length && values2 && values2.length ? basePullAll(array, values2, getIteratee(iteratee2, 2)) : array; + return array && array.length && values2 && values2.length + ? basePullAll(array, values2, getIteratee(iteratee2, 2)) + : array; } function pullAllWith(array, values2, comparator) { - return array && array.length && values2 && values2.length ? basePullAll(array, values2, undefined2, comparator) : array; - } - var pullAt = flatRest(function(array, indexes) { - var length = array == null ? 0 : array.length, result2 = baseAt(array, indexes); - basePullAt(array, arrayMap(indexes, function(index) { - return isIndex(index, length) ? +index : index; - }).sort(compareAscending)); + return array && array.length && values2 && values2.length + ? basePullAll(array, values2, undefined2, comparator) + : array; + } + var pullAt = flatRest(function (array, indexes) { + var length = array == null ? 0 : array.length, + result2 = baseAt(array, indexes); + basePullAt( + array, + arrayMap(indexes, function (index) { + return isIndex(index, length) ? +index : index; + }).sort(compareAscending) + ); return result2; }); function remove(array, predicate) { @@ -54647,7 +68911,9 @@ var require_lodash = __commonJS({ if (!(array && array.length)) { return result2; } - var index = -1, indexes = [], length = array.length; + var index = -1, + indexes = [], + length = array.length; predicate = getIteratee(predicate, 3); while (++index < length) { var value = array[index]; @@ -54667,7 +68933,7 @@ var require_lodash = __commonJS({ if (!length) { return []; } - if (end && typeof end != "number" && isIterateeCall(array, start, end)) { + if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { start = 0; end = length; } else { @@ -54735,24 +69001,29 @@ var require_lodash = __commonJS({ return baseSlice(array, n < 0 ? 0 : n, length); } function takeRightWhile(array, predicate) { - return array && array.length ? baseWhile(array, getIteratee(predicate, 3), false, true) : []; + return array && array.length + ? baseWhile(array, getIteratee(predicate, 3), false, true) + : []; } function takeWhile(array, predicate) { return array && array.length ? baseWhile(array, getIteratee(predicate, 3)) : []; } - var union = baseRest(function(arrays) { + var union = baseRest(function (arrays) { return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); }); - var unionBy = baseRest(function(arrays) { + var unionBy = baseRest(function (arrays) { var iteratee2 = last(arrays); if (isArrayLikeObject(iteratee2)) { iteratee2 = undefined2; } - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee2, 2)); + return baseUniq( + baseFlatten(arrays, 1, isArrayLikeObject, true), + getIteratee(iteratee2, 2) + ); }); - var unionWith = baseRest(function(arrays) { + var unionWith = baseRest(function (arrays) { var comparator = last(arrays); - comparator = typeof comparator == "function" ? comparator : undefined2; + comparator = typeof comparator == 'function' ? comparator : undefined2; return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined2, comparator); }); function uniq(array) { @@ -54762,7 +69033,7 @@ var require_lodash = __commonJS({ return array && array.length ? baseUniq(array, getIteratee(iteratee2, 2)) : []; } function uniqWith(array, comparator) { - comparator = typeof comparator == "function" ? comparator : undefined2; + comparator = typeof comparator == 'function' ? comparator : undefined2; return array && array.length ? baseUniq(array, undefined2, comparator) : []; } function unzip(array) { @@ -54770,13 +69041,13 @@ var require_lodash = __commonJS({ return []; } var length = 0; - array = arrayFilter(array, function(group) { + array = arrayFilter(array, function (group) { if (isArrayLikeObject(group)) { length = nativeMax(group.length, length); return true; } }); - return baseTimes(length, function(index) { + return baseTimes(length, function (index) { return arrayMap(array, baseProperty(index)); }); } @@ -54788,26 +69059,26 @@ var require_lodash = __commonJS({ if (iteratee2 == null) { return result2; } - return arrayMap(result2, function(group) { + return arrayMap(result2, function (group) { return apply(iteratee2, undefined2, group); }); } - var without = baseRest(function(array, values2) { + var without = baseRest(function (array, values2) { return isArrayLikeObject(array) ? baseDifference(array, values2) : []; }); - var xor = baseRest(function(arrays) { + var xor = baseRest(function (arrays) { return baseXor(arrayFilter(arrays, isArrayLikeObject)); }); - var xorBy = baseRest(function(arrays) { + var xorBy = baseRest(function (arrays) { var iteratee2 = last(arrays); if (isArrayLikeObject(iteratee2)) { iteratee2 = undefined2; } return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee2, 2)); }); - var xorWith = baseRest(function(arrays) { + var xorWith = baseRest(function (arrays) { var comparator = last(arrays); - comparator = typeof comparator == "function" ? comparator : undefined2; + comparator = typeof comparator == 'function' ? comparator : undefined2; return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined2, comparator); }); var zip = baseRest(unzip); @@ -54817,9 +69088,10 @@ var require_lodash = __commonJS({ function zipObjectDeep(props, values2) { return baseZipObject(props || [], values2 || [], baseSet); } - var zipWith = baseRest(function(arrays) { - var length = arrays.length, iteratee2 = length > 1 ? arrays[length - 1] : undefined2; - iteratee2 = typeof iteratee2 == "function" ? (arrays.pop(), iteratee2) : undefined2; + var zipWith = baseRest(function (arrays) { + var length = arrays.length, + iteratee2 = length > 1 ? arrays[length - 1] : undefined2; + iteratee2 = typeof iteratee2 == 'function' ? (arrays.pop(), iteratee2) : undefined2; return unzipWith(arrays, iteratee2); }); function chain(value) { @@ -54834,20 +69106,28 @@ var require_lodash = __commonJS({ function thru(value, interceptor) { return interceptor(value); } - var wrapperAt = flatRest(function(paths) { - var length = paths.length, start = length ? paths[0] : 0, value = this.__wrapped__, interceptor = function(object) { - return baseAt(object, paths); - }; - if (length > 1 || this.__actions__.length || !(value instanceof LazyWrapper) || !isIndex(start)) { + var wrapperAt = flatRest(function (paths) { + var length = paths.length, + start = length ? paths[0] : 0, + value = this.__wrapped__, + interceptor = function (object) { + return baseAt(object, paths); + }; + if ( + length > 1 || + this.__actions__.length || + !(value instanceof LazyWrapper) || + !isIndex(start) + ) { return this.thru(interceptor); } value = value.slice(start, +start + (length ? 1 : 0)); value.__actions__.push({ - "func": thru, - "args": [interceptor], - "thisArg": undefined2 + func: thru, + args: [interceptor], + thisArg: undefined2, }); - return new LodashWrapper(value, this.__chain__).thru(function(array) { + return new LodashWrapper(value, this.__chain__).thru(function (array) { if (length && !array.length) { array.push(undefined2); } @@ -54864,14 +69144,16 @@ var require_lodash = __commonJS({ if (this.__values__ === undefined2) { this.__values__ = toArray(this.value()); } - var done = this.__index__ >= this.__values__.length, value = done ? undefined2 : this.__values__[this.__index__++]; - return { "done": done, "value": value }; + var done = this.__index__ >= this.__values__.length, + value = done ? undefined2 : this.__values__[this.__index__++]; + return { done: done, value: value }; } function wrapperToIterator() { return this; } function wrapperPlant(value) { - var result2, parent2 = this; + var result2, + parent2 = this; while (parent2 instanceof baseLodash) { var clone2 = wrapperClone(parent2); clone2.__index__ = 0; @@ -54896,9 +69178,9 @@ var require_lodash = __commonJS({ } wrapped = wrapped.reverse(); wrapped.__actions__.push({ - "func": thru, - "args": [reverse], - "thisArg": undefined2 + func: thru, + args: [reverse], + thisArg: undefined2, }); return new LodashWrapper(wrapped, this.__chain__); } @@ -54907,7 +69189,7 @@ var require_lodash = __commonJS({ function wrapperValue() { return baseWrapperValue(this.__wrapped__, this.__actions__); } - var countBy = createAggregator(function(result2, value, key) { + var countBy = createAggregator(function (result2, value, key) { if (hasOwnProperty.call(result2, key)) { ++result2[key]; } else { @@ -54945,7 +69227,7 @@ var require_lodash = __commonJS({ var func = isArray(collection) ? arrayEachRight : baseEachRight; return func(collection, getIteratee(iteratee2, 3)); } - var groupBy = createAggregator(function(result2, value, key) { + var groupBy = createAggregator(function (result2, value, key) { if (hasOwnProperty.call(result2, key)) { result2[key].push(value); } else { @@ -54959,16 +69241,20 @@ var require_lodash = __commonJS({ if (fromIndex < 0) { fromIndex = nativeMax(length + fromIndex, 0); } - return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1; + return isString(collection) + ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 + : !!length && baseIndexOf(collection, value, fromIndex) > -1; } - var invokeMap = baseRest(function(collection, path2, args) { - var index = -1, isFunc = typeof path2 == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : []; - baseEach(collection, function(value) { + var invokeMap = baseRest(function (collection, path2, args) { + var index = -1, + isFunc = typeof path2 == 'function', + result2 = isArrayLike(collection) ? Array2(collection.length) : []; + baseEach(collection, function (value) { result2[++index] = isFunc ? apply(path2, value, args) : baseInvoke(value, path2, args); }); return result2; }); - var keyBy = createAggregator(function(result2, value, key) { + var keyBy = createAggregator(function (result2, value, key) { baseAssignValue(result2, key, value); }); function map(collection, iteratee2) { @@ -54988,17 +69274,22 @@ var require_lodash = __commonJS({ } return baseOrderBy(collection, iteratees, orders); } - var partition = createAggregator(function(result2, value, key) { - result2[key ? 0 : 1].push(value); - }, function() { - return [[], []]; - }); + var partition = createAggregator( + function (result2, value, key) { + result2[key ? 0 : 1].push(value); + }, + function () { + return [[], []]; + } + ); function reduce(collection, iteratee2, accumulator) { - var func = isArray(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3; + var func = isArray(collection) ? arrayReduce : baseReduce, + initAccum = arguments.length < 3; return func(collection, getIteratee(iteratee2, 4), accumulator, initAccum, baseEach); } function reduceRight(collection, iteratee2, accumulator) { - var func = isArray(collection) ? arrayReduceRight : baseReduce, initAccum = arguments.length < 3; + var func = isArray(collection) ? arrayReduceRight : baseReduce, + initAccum = arguments.length < 3; return func(collection, getIteratee(iteratee2, 4), accumulator, initAccum, baseEachRight); } function reject(collection, predicate) { @@ -55042,7 +69333,7 @@ var require_lodash = __commonJS({ } return func(collection, getIteratee(predicate, 3)); } - var sortBy = baseRest(function(collection, iteratees) { + var sortBy = baseRest(function (collection, iteratees) { if (collection == null) { return []; } @@ -55054,15 +69345,17 @@ var require_lodash = __commonJS({ } return baseOrderBy(collection, baseFlatten(iteratees, 1), []); }); - var now = ctxNow || function() { - return root.Date.now(); - }; + var now = + ctxNow || + function () { + return root.Date.now(); + }; function after(n, func) { - if (typeof func != "function") { + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } n = toInteger(n); - return function() { + return function () { if (--n < 1) { return func.apply(this, arguments); } @@ -55075,11 +69368,11 @@ var require_lodash = __commonJS({ } function before(n, func) { var result2; - if (typeof func != "function") { + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } n = toInteger(n); - return function() { + return function () { if (--n > 0) { result2 = func.apply(this, arguments); } @@ -55089,7 +69382,7 @@ var require_lodash = __commonJS({ return result2; }; } - var bind = baseRest(function(func, thisArg, partials) { + var bind = baseRest(function (func, thisArg, partials) { var bitmask = WRAP_BIND_FLAG; if (partials.length) { var holders = replaceHolders(partials, getHolder(bind)); @@ -55097,7 +69390,7 @@ var require_lodash = __commonJS({ } return createWrap(func, bitmask, thisArg, partials, holders); }); - var bindKey = baseRest(function(object, key, partials) { + var bindKey = baseRest(function (object, key, partials) { var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; if (partials.length) { var holders = replaceHolders(partials, getHolder(bindKey)); @@ -55107,30 +69400,58 @@ var require_lodash = __commonJS({ }); function curry(func, arity, guard) { arity = guard ? undefined2 : arity; - var result2 = createWrap(func, WRAP_CURRY_FLAG, undefined2, undefined2, undefined2, undefined2, undefined2, arity); + var result2 = createWrap( + func, + WRAP_CURRY_FLAG, + undefined2, + undefined2, + undefined2, + undefined2, + undefined2, + arity + ); result2.placeholder = curry.placeholder; return result2; } function curryRight(func, arity, guard) { arity = guard ? undefined2 : arity; - var result2 = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined2, undefined2, undefined2, undefined2, undefined2, arity); + var result2 = createWrap( + func, + WRAP_CURRY_RIGHT_FLAG, + undefined2, + undefined2, + undefined2, + undefined2, + undefined2, + arity + ); result2.placeholder = curryRight.placeholder; return result2; } function debounce(func, wait, options2) { - var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true; - if (typeof func != "function") { + var lastArgs, + lastThis, + maxWait, + result2, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } wait = toNumber(wait) || 0; if (isObject(options2)) { leading = !!options2.leading; - maxing = "maxWait" in options2; + maxing = 'maxWait' in options2; maxWait = maxing ? nativeMax(toNumber(options2.maxWait) || 0, wait) : maxWait; - trailing = "trailing" in options2 ? !!options2.trailing : trailing; + trailing = 'trailing' in options2 ? !!options2.trailing : trailing; } function invokeFunc(time) { - var args = lastArgs, thisArg = lastThis; + var args = lastArgs, + thisArg = lastThis; lastArgs = lastThis = undefined2; lastInvokeTime = time; result2 = func.apply(thisArg, args); @@ -55142,12 +69463,20 @@ var require_lodash = __commonJS({ return leading ? invokeFunc(time) : result2; } function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall; + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + timeWaiting = wait - timeSinceLastCall; return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting; } function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime; - return lastCallTime === undefined2 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait; + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; + return ( + lastCallTime === undefined2 || + timeSinceLastCall >= wait || + timeSinceLastCall < 0 || + (maxing && timeSinceLastInvoke >= maxWait) + ); } function timerExpired() { var time = now(); @@ -55175,7 +69504,8 @@ var require_lodash = __commonJS({ return timerId === undefined2 ? result2 : trailingEdge(now()); } function debounced() { - var time = now(), isInvoking = shouldInvoke(time); + var time = now(), + isInvoking = shouldInvoke(time); lastArgs = arguments; lastThis = this; lastCallTime = time; @@ -55198,21 +69528,23 @@ var require_lodash = __commonJS({ debounced.flush = flush; return debounced; } - var defer = baseRest(function(func, args) { + var defer = baseRest(function (func, args) { return baseDelay(func, 1, args); }); - var delay = baseRest(function(func, wait, args) { + var delay = baseRest(function (func, wait, args) { return baseDelay(func, toNumber(wait) || 0, args); }); function flip(func) { return createWrap(func, WRAP_FLIP_FLAG); } function memoize(func, resolver) { - if (typeof func != "function" || resolver != null && typeof resolver != "function") { + if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { throw new TypeError2(FUNC_ERROR_TEXT); } - var memoized = function() { - var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache; + var memoized = function () { + var args = arguments, + key = resolver ? resolver.apply(this, args) : args[0], + cache = memoized.cache; if (cache.has(key)) { return cache.get(key); } @@ -55225,10 +69557,10 @@ var require_lodash = __commonJS({ } memoize.Cache = MapCache; function negate(predicate) { - if (typeof predicate != "function") { + if (typeof predicate != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } - return function() { + return function () { var args = arguments; switch (args.length) { case 0: @@ -55246,42 +69578,47 @@ var require_lodash = __commonJS({ function once(func) { return before(2, func); } - var overArgs = castRest(function(func, transforms) { - transforms = transforms.length == 1 && isArray(transforms[0]) ? arrayMap(transforms[0], baseUnary(getIteratee())) : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee())); + var overArgs = castRest(function (func, transforms) { + transforms = + transforms.length == 1 && isArray(transforms[0]) + ? arrayMap(transforms[0], baseUnary(getIteratee())) + : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee())); var funcsLength = transforms.length; - return baseRest(function(args) { - var index = -1, length = nativeMin(args.length, funcsLength); + return baseRest(function (args) { + var index = -1, + length = nativeMin(args.length, funcsLength); while (++index < length) { args[index] = transforms[index].call(this, args[index]); } return apply(func, this, args); }); }); - var partial = baseRest(function(func, partials) { + var partial = baseRest(function (func, partials) { var holders = replaceHolders(partials, getHolder(partial)); return createWrap(func, WRAP_PARTIAL_FLAG, undefined2, partials, holders); }); - var partialRight = baseRest(function(func, partials) { + var partialRight = baseRest(function (func, partials) { var holders = replaceHolders(partials, getHolder(partialRight)); return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined2, partials, holders); }); - var rearg = flatRest(function(func, indexes) { + var rearg = flatRest(function (func, indexes) { return createWrap(func, WRAP_REARG_FLAG, undefined2, undefined2, undefined2, indexes); }); function rest(func, start) { - if (typeof func != "function") { + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } start = start === undefined2 ? start : toInteger(start); return baseRest(func, start); } function spread(func, start) { - if (typeof func != "function") { + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } start = start == null ? 0 : nativeMax(toInteger(start), 0); - return baseRest(function(args) { - var array = args[start], otherArgs = castSlice(args, 0, start); + return baseRest(function (args) { + var array = args[start], + otherArgs = castSlice(args, 0, start); if (array) { arrayPush(otherArgs, array); } @@ -55289,18 +69626,19 @@ var require_lodash = __commonJS({ }); } function throttle(func, wait, options2) { - var leading = true, trailing = true; - if (typeof func != "function") { + var leading = true, + trailing = true; + if (typeof func != 'function') { throw new TypeError2(FUNC_ERROR_TEXT); } if (isObject(options2)) { - leading = "leading" in options2 ? !!options2.leading : leading; - trailing = "trailing" in options2 ? !!options2.trailing : trailing; + leading = 'leading' in options2 ? !!options2.leading : leading; + trailing = 'trailing' in options2 ? !!options2.trailing : trailing; } return debounce(func, wait, { - "leading": leading, - "maxWait": wait, - "trailing": trailing + leading: leading, + maxWait: wait, + trailing: trailing, }); } function unary(func) { @@ -55320,31 +69658,39 @@ var require_lodash = __commonJS({ return baseClone(value, CLONE_SYMBOLS_FLAG); } function cloneWith(value, customizer) { - customizer = typeof customizer == "function" ? customizer : undefined2; + customizer = typeof customizer == 'function' ? customizer : undefined2; return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); } function cloneDeep(value) { return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); } function cloneDeepWith(value, customizer) { - customizer = typeof customizer == "function" ? customizer : undefined2; + customizer = typeof customizer == 'function' ? customizer : undefined2; return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); } function conformsTo(object, source) { return source == null || baseConformsTo(object, source, keys(source)); } function eq(value, other) { - return value === other || value !== value && other !== other; + return value === other || (value !== value && other !== other); } var gt = createRelationalOperation(baseGt); - var gte = createRelationalOperation(function(value, other) { + var gte = createRelationalOperation(function (value, other) { return value >= other; }); - var isArguments = baseIsArguments(function() { - return arguments; - }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee"); - }; + var isArguments = baseIsArguments( + (function () { + return arguments; + })() + ) + ? baseIsArguments + : function (value) { + return ( + isObjectLike(value) && + hasOwnProperty.call(value, 'callee') && + !propertyIsEnumerable.call(value, 'callee') + ); + }; var isArray = Array2.isArray; var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; function isArrayLike(value) { @@ -55354,7 +69700,11 @@ var require_lodash = __commonJS({ return isObjectLike(value) && isArrayLike(value); } function isBoolean(value) { - return value === true || value === false || isObjectLike(value) && baseGetTag(value) == boolTag; + return ( + value === true || + value === false || + (isObjectLike(value) && baseGetTag(value) == boolTag) + ); } var isBuffer = nativeIsBuffer || stubFalse; var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; @@ -55365,7 +69715,15 @@ var require_lodash = __commonJS({ if (value == null) { return true; } - if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) { + if ( + isArrayLike(value) && + (isArray(value) || + typeof value == 'string' || + typeof value.splice == 'function' || + isBuffer(value) || + isTypedArray(value) || + isArguments(value)) + ) { return !value.length; } var tag = getTag(value); @@ -55386,19 +69744,27 @@ var require_lodash = __commonJS({ return baseIsEqual(value, other); } function isEqualWith(value, other, customizer) { - customizer = typeof customizer == "function" ? customizer : undefined2; + customizer = typeof customizer == 'function' ? customizer : undefined2; var result2 = customizer ? customizer(value, other) : undefined2; - return result2 === undefined2 ? baseIsEqual(value, other, undefined2, customizer) : !!result2; + return result2 === undefined2 + ? baseIsEqual(value, other, undefined2, customizer) + : !!result2; } function isError(value) { if (!isObjectLike(value)) { return false; } var tag = baseGetTag(value); - return tag == errorTag || tag == domExcTag || typeof value.message == "string" && typeof value.name == "string" && !isPlainObject(value); + return ( + tag == errorTag || + tag == domExcTag || + (typeof value.message == 'string' && + typeof value.name == 'string' && + !isPlainObject(value)) + ); } function isFinite(value) { - return typeof value == "number" && nativeIsFinite(value); + return typeof value == 'number' && nativeIsFinite(value); } function isFunction(value) { if (!isObject(value)) { @@ -55408,24 +69774,26 @@ var require_lodash = __commonJS({ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; } function isInteger(value) { - return typeof value == "number" && value == toInteger(value); + return typeof value == 'number' && value == toInteger(value); } function isLength(value) { - return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; + return ( + typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER + ); } function isObject(value) { var type = typeof value; - return value != null && (type == "object" || type == "function"); + return value != null && (type == 'object' || type == 'function'); } function isObjectLike(value) { - return value != null && typeof value == "object"; + return value != null && typeof value == 'object'; } var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; function isMatch(object, source) { return object === source || baseIsMatch(object, source, getMatchData(source)); } function isMatchWith(object, source, customizer) { - customizer = typeof customizer == "function" ? customizer : undefined2; + customizer = typeof customizer == 'function' ? customizer : undefined2; return baseIsMatch(object, source, getMatchData(source), customizer); } function isNaN2(value) { @@ -55444,7 +69812,9 @@ var require_lodash = __commonJS({ return value == null; } function isNumber(value) { - return typeof value == "number" || isObjectLike(value) && baseGetTag(value) == numberTag; + return ( + typeof value == 'number' || (isObjectLike(value) && baseGetTag(value) == numberTag) + ); } function isPlainObject(value) { if (!isObjectLike(value) || baseGetTag(value) != objectTag) { @@ -55454,8 +69824,12 @@ var require_lodash = __commonJS({ if (proto === null) { return true; } - var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor; - return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString; + var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; + return ( + typeof Ctor == 'function' && + Ctor instanceof Ctor && + funcToString.call(Ctor) == objectCtorString + ); } var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; function isSafeInteger(value) { @@ -55463,10 +69837,15 @@ var require_lodash = __commonJS({ } var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; function isString(value) { - return typeof value == "string" || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag; + return ( + typeof value == 'string' || + (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag) + ); } function isSymbol(value) { - return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag; + return ( + typeof value == 'symbol' || (isObjectLike(value) && baseGetTag(value) == symbolTag) + ); } var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; function isUndefined(value) { @@ -55479,7 +69858,7 @@ var require_lodash = __commonJS({ return isObjectLike(value) && baseGetTag(value) == weakSetTag; } var lt = createRelationalOperation(baseLt); - var lte = createRelationalOperation(function(value, other) { + var lte = createRelationalOperation(function (value, other) { return value <= other; }); function toArray(value) { @@ -55492,7 +69871,8 @@ var require_lodash = __commonJS({ if (symIterator && value[symIterator]) { return iteratorToArray(value[symIterator]()); } - var tag = getTag(value), func = tag == mapTag ? mapToArray : tag == setTag ? setToArray : values; + var tag = getTag(value), + func = tag == mapTag ? mapToArray : tag == setTag ? setToArray : values; return func(value); } function toFinite(value) { @@ -55507,40 +69887,49 @@ var require_lodash = __commonJS({ return value === value ? value : 0; } function toInteger(value) { - var result2 = toFinite(value), remainder = result2 % 1; - return result2 === result2 ? remainder ? result2 - remainder : result2 : 0; + var result2 = toFinite(value), + remainder = result2 % 1; + return result2 === result2 ? (remainder ? result2 - remainder : result2) : 0; } function toLength(value) { return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0; } function toNumber(value) { - if (typeof value == "number") { + if (typeof value == 'number') { return value; } if (isSymbol(value)) { return NAN; } if (isObject(value)) { - var other = typeof value.valueOf == "function" ? value.valueOf() : value; - value = isObject(other) ? other + "" : other; + var other = typeof value.valueOf == 'function' ? value.valueOf() : value; + value = isObject(other) ? other + '' : other; } - if (typeof value != "string") { + if (typeof value != 'string') { return value === 0 ? value : +value; } value = baseTrim(value); var isBinary = reIsBinary.test(value); - return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value; + return isBinary || reIsOctal.test(value) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : reIsBadHex.test(value) + ? NAN + : +value; } function toPlainObject(value) { return copyObject(value, keysIn(value)); } function toSafeInteger(value) { - return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0; + return value + ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) + : value === 0 + ? value + : 0; } function toString(value) { - return value == null ? "" : baseToString(value); + return value == null ? '' : baseToString(value); } - var assign = createAssigner(function(object, source) { + var assign = createAssigner(function (object, source) { if (isPrototype(source) || isArrayLike(source)) { copyObject(source, keys(source), object); return; @@ -55551,13 +69940,13 @@ var require_lodash = __commonJS({ } } }); - var assignIn = createAssigner(function(object, source) { + var assignIn = createAssigner(function (object, source) { copyObject(source, keysIn(source), object); }); - var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { + var assignInWith = createAssigner(function (object, source, srcIndex, customizer) { copyObject(source, keysIn(source), object, customizer); }); - var assignWith = createAssigner(function(object, source, srcIndex, customizer) { + var assignWith = createAssigner(function (object, source, srcIndex, customizer) { copyObject(source, keys(source), object, customizer); }); var at = flatRest(baseAt); @@ -55565,7 +69954,7 @@ var require_lodash = __commonJS({ var result2 = baseCreate(prototype); return properties == null ? result2 : baseAssign(result2, properties); } - var defaults = baseRest(function(object, sources) { + var defaults = baseRest(function (object, sources) { object = Object2(object); var index = -1; var length = sources.length; @@ -55581,14 +69970,17 @@ var require_lodash = __commonJS({ while (++propsIndex < propsLength) { var key = props[propsIndex]; var value = object[key]; - if (value === undefined2 || eq(value, objectProto[key]) && !hasOwnProperty.call(object, key)) { + if ( + value === undefined2 || + (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key)) + ) { object[key] = source[key]; } } } return object; }); - var defaultsDeep = baseRest(function(args) { + var defaultsDeep = baseRest(function (args) { args.push(undefined2, customDefaultsMerge); return apply(mergeWith, undefined2, args); }); @@ -55626,14 +70018,14 @@ var require_lodash = __commonJS({ function hasIn(object, path2) { return object != null && hasPath(object, path2, baseHasIn); } - var invert = createInverter(function(result2, value, key) { - if (value != null && typeof value.toString != "function") { + var invert = createInverter(function (result2, value, key) { + if (value != null && typeof value.toString != 'function') { value = nativeObjectToString.call(value); } result2[value] = key; }, constant(identity)); - var invertBy = createInverter(function(result2, value, key) { - if (value != null && typeof value.toString != "function") { + var invertBy = createInverter(function (result2, value, key) { + if (value != null && typeof value.toString != 'function') { value = nativeObjectToString.call(value); } if (hasOwnProperty.call(result2, value)) { @@ -55652,7 +70044,7 @@ var require_lodash = __commonJS({ function mapKeys(object, iteratee2) { var result2 = {}; iteratee2 = getIteratee(iteratee2, 3); - baseForOwn(object, function(value, key, object2) { + baseForOwn(object, function (value, key, object2) { baseAssignValue(result2, iteratee2(value, key, object2), value); }); return result2; @@ -55660,31 +70052,35 @@ var require_lodash = __commonJS({ function mapValues(object, iteratee2) { var result2 = {}; iteratee2 = getIteratee(iteratee2, 3); - baseForOwn(object, function(value, key, object2) { + baseForOwn(object, function (value, key, object2) { baseAssignValue(result2, key, iteratee2(value, key, object2)); }); return result2; } - var merge = createAssigner(function(object, source, srcIndex) { + var merge = createAssigner(function (object, source, srcIndex) { baseMerge(object, source, srcIndex); }); - var mergeWith = createAssigner(function(object, source, srcIndex, customizer) { + var mergeWith = createAssigner(function (object, source, srcIndex, customizer) { baseMerge(object, source, srcIndex, customizer); }); - var omit = flatRest(function(object, paths) { + var omit = flatRest(function (object, paths) { var result2 = {}; if (object == null) { return result2; } var isDeep = false; - paths = arrayMap(paths, function(path2) { + paths = arrayMap(paths, function (path2) { path2 = castPath(path2, object); isDeep || (isDeep = path2.length > 1); return path2; }); copyObject(object, getAllKeysIn(object), result2); if (isDeep) { - result2 = baseClone(result2, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone); + result2 = baseClone( + result2, + CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, + customOmitClone + ); } var length = paths.length; while (length--) { @@ -55695,24 +70091,25 @@ var require_lodash = __commonJS({ function omitBy(object, predicate) { return pickBy(object, negate(getIteratee(predicate))); } - var pick = flatRest(function(object, paths) { + var pick = flatRest(function (object, paths) { return object == null ? {} : basePick(object, paths); }); function pickBy(object, predicate) { if (object == null) { return {}; } - var props = arrayMap(getAllKeysIn(object), function(prop) { + var props = arrayMap(getAllKeysIn(object), function (prop) { return [prop]; }); predicate = getIteratee(predicate); - return basePickBy(object, props, function(value, path2) { + return basePickBy(object, props, function (value, path2) { return predicate(value, path2[0]); }); } function result(object, path2, defaultValue) { path2 = castPath(path2, object); - var index = -1, length = path2.length; + var index = -1, + length = path2.length; if (!length) { length = 1; object = undefined2; @@ -55731,13 +70128,14 @@ var require_lodash = __commonJS({ return object == null ? object : baseSet(object, path2, value); } function setWith(object, path2, value, customizer) { - customizer = typeof customizer == "function" ? customizer : undefined2; + customizer = typeof customizer == 'function' ? customizer : undefined2; return object == null ? object : baseSet(object, path2, value, customizer); } var toPairs = createToPairs(keys); var toPairsIn = createToPairs(keysIn); function transform(object, iteratee2, accumulator) { - var isArr = isArray(object), isArrLike = isArr || isBuffer(object) || isTypedArray(object); + var isArr = isArray(object), + isArrLike = isArr || isBuffer(object) || isTypedArray(object); iteratee2 = getIteratee(iteratee2, 4); if (accumulator == null) { var Ctor = object && object.constructor; @@ -55749,7 +70147,7 @@ var require_lodash = __commonJS({ accumulator = {}; } } - (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object2) { + (isArrLike ? arrayEach : baseForOwn)(object, function (value, index, object2) { return iteratee2(accumulator, value, index, object2); }); return accumulator; @@ -55761,8 +70159,10 @@ var require_lodash = __commonJS({ return object == null ? object : baseUpdate(object, path2, castFunction(updater)); } function updateWith(object, path2, updater, customizer) { - customizer = typeof customizer == "function" ? customizer : undefined2; - return object == null ? object : baseUpdate(object, path2, castFunction(updater), customizer); + customizer = typeof customizer == 'function' ? customizer : undefined2; + return object == null + ? object + : baseUpdate(object, path2, castFunction(updater), customizer); } function values(object) { return object == null ? [] : baseValues(object, keys(object)); @@ -55797,14 +70197,14 @@ var require_lodash = __commonJS({ return baseInRange(number, start, end); } function random(lower, upper, floating) { - if (floating && typeof floating != "boolean" && isIterateeCall(lower, upper, floating)) { + if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) { upper = floating = undefined2; } if (floating === undefined2) { - if (typeof upper == "boolean") { + if (typeof upper == 'boolean') { floating = upper; upper = undefined2; - } else if (typeof lower == "boolean") { + } else if (typeof lower == 'boolean') { floating = lower; lower = undefined2; } @@ -55828,11 +70228,14 @@ var require_lodash = __commonJS({ } if (floating || lower % 1 || upper % 1) { var rand = nativeRandom(); - return nativeMin(lower + rand * (upper - lower + freeParseFloat("1e-" + ((rand + "").length - 1))), upper); + return nativeMin( + lower + rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1))), + upper + ); } return baseRandom(lower, upper); } - var camelCase = createCompounder(function(result2, word, index) { + var camelCase = createCompounder(function (result2, word, index) { word = word.toLowerCase(); return result2 + (index ? capitalize(word) : word); }); @@ -55841,7 +70244,7 @@ var require_lodash = __commonJS({ } function deburr(string) { string = toString(string); - return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ""); + return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); } function endsWith(string, target, position) { string = toString(string); @@ -55854,19 +70257,23 @@ var require_lodash = __commonJS({ } function escape(string) { string = toString(string); - return string && reHasUnescapedHtml.test(string) ? string.replace(reUnescapedHtml, escapeHtmlChar) : string; + return string && reHasUnescapedHtml.test(string) + ? string.replace(reUnescapedHtml, escapeHtmlChar) + : string; } function escapeRegExp(string) { string = toString(string); - return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar, "\\$&") : string; + return string && reHasRegExpChar.test(string) + ? string.replace(reRegExpChar, '\\$&') + : string; } - var kebabCase = createCompounder(function(result2, word, index) { - return result2 + (index ? "-" : "") + word.toLowerCase(); + var kebabCase = createCompounder(function (result2, word, index) { + return result2 + (index ? '-' : '') + word.toLowerCase(); }); - var lowerCase = createCompounder(function(result2, word, index) { - return result2 + (index ? " " : "") + word.toLowerCase(); + var lowerCase = createCompounder(function (result2, word, index) { + return result2 + (index ? ' ' : '') + word.toLowerCase(); }); - var lowerFirst = createCaseFirst("toLowerCase"); + var lowerFirst = createCaseFirst('toLowerCase'); function pad(string, length, chars) { string = toString(string); length = toInteger(length); @@ -55875,19 +70282,25 @@ var require_lodash = __commonJS({ return string; } var mid = (length - strLength) / 2; - return createPadding(nativeFloor(mid), chars) + string + createPadding(nativeCeil(mid), chars); + return ( + createPadding(nativeFloor(mid), chars) + string + createPadding(nativeCeil(mid), chars) + ); } function padEnd(string, length, chars) { string = toString(string); length = toInteger(length); var strLength = length ? stringSize(string) : 0; - return length && strLength < length ? string + createPadding(length - strLength, chars) : string; + return length && strLength < length + ? string + createPadding(length - strLength, chars) + : string; } function padStart(string, length, chars) { string = toString(string); length = toInteger(length); var strLength = length ? stringSize(string) : 0; - return length && strLength < length ? createPadding(length - strLength, chars) + string : string; + return length && strLength < length + ? createPadding(length - strLength, chars) + string + : string; } function parseInt2(string, radix, guard) { if (guard || radix == null) { @@ -55895,7 +70308,7 @@ var require_lodash = __commonJS({ } else if (radix) { radix = +radix; } - return nativeParseInt(toString(string).replace(reTrimStart, ""), radix || 0); + return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0); } function repeat(string, n, guard) { if (guard ? isIterateeCall(string, n, guard) : n === undefined2) { @@ -55906,14 +70319,15 @@ var require_lodash = __commonJS({ return baseRepeat(toString(string), n); } function replace() { - var args = arguments, string = toString(args[0]); + var args = arguments, + string = toString(args[0]); return args.length < 3 ? string : string.replace(args[1], args[2]); } - var snakeCase = createCompounder(function(result2, word, index) { - return result2 + (index ? "_" : "") + word.toLowerCase(); + var snakeCase = createCompounder(function (result2, word, index) { + return result2 + (index ? '_' : '') + word.toLowerCase(); }); function split(string, separator, limit) { - if (limit && typeof limit != "number" && isIterateeCall(string, separator, limit)) { + if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) { separator = limit = undefined2; } limit = limit === undefined2 ? MAX_ARRAY_LENGTH : limit >>> 0; @@ -55921,7 +70335,10 @@ var require_lodash = __commonJS({ return []; } string = toString(string); - if (string && (typeof separator == "string" || separator != null && !isRegExp(separator))) { + if ( + string && + (typeof separator == 'string' || (separator != null && !isRegExp(separator))) + ) { separator = baseToString(separator); if (!separator && hasUnicode(string)) { return castSlice(stringToArray(string), 0, limit); @@ -55929,8 +70346,8 @@ var require_lodash = __commonJS({ } return string.split(separator, limit); } - var startCase = createCompounder(function(result2, word, index) { - return result2 + (index ? " " : "") + upperFirst(word); + var startCase = createCompounder(function (result2, word, index) { + return result2 + (index ? ' ' : '') + upperFirst(word); }); function startsWith(string, target, position) { string = toString(string); @@ -55945,41 +70362,90 @@ var require_lodash = __commonJS({ } string = toString(string); options2 = assignInWith({}, options2, settings, customDefaultsAssignIn); - var imports = assignInWith({}, options2.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys); - var isEscaping, isEvaluating, index = 0, interpolate = options2.interpolate || reNoMatch, source = "__p += '"; + var imports = assignInWith( + {}, + options2.imports, + settings.imports, + customDefaultsAssignIn + ), + importsKeys = keys(imports), + importsValues = baseValues(imports, importsKeys); + var isEscaping, + isEvaluating, + index = 0, + interpolate = options2.interpolate || reNoMatch, + source = "__p += '"; var reDelimiters = RegExp2( - (options2.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options2.evaluate || reNoMatch).source + "|$", - "g" + (options2.escape || reNoMatch).source + + '|' + + interpolate.source + + '|' + + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + + '|' + + (options2.evaluate || reNoMatch).source + + '|$', + 'g' ); - var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options2, "sourceURL") ? (options2.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n"; - string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) { - interpolateValue || (interpolateValue = esTemplateValue); - source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar); - if (escapeValue) { - isEscaping = true; - source += "' +\n__e(" + escapeValue + ") +\n'"; - } - if (evaluateValue) { - isEvaluating = true; - source += "';\n" + evaluateValue + ";\n__p += '"; - } - if (interpolateValue) { - source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'"; + var sourceURL = + '//# sourceURL=' + + (hasOwnProperty.call(options2, 'sourceURL') + ? (options2.sourceURL + '').replace(/\s/g, ' ') + : 'lodash.templateSources[' + ++templateCounter + ']') + + '\n'; + string.replace( + reDelimiters, + function ( + match, + escapeValue, + interpolateValue, + esTemplateValue, + evaluateValue, + offset + ) { + interpolateValue || (interpolateValue = esTemplateValue); + source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar); + if (escapeValue) { + isEscaping = true; + source += "' +\n__e(" + escapeValue + ") +\n'"; + } + if (evaluateValue) { + isEvaluating = true; + source += "';\n" + evaluateValue + ";\n__p += '"; + } + if (interpolateValue) { + source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'"; + } + index = offset + match.length; + return match; } - index = offset + match.length; - return match; - }); + ); source += "';\n"; - var variable = hasOwnProperty.call(options2, "variable") && options2.variable; + var variable = hasOwnProperty.call(options2, 'variable') && options2.variable; if (!variable) { - source = "with (obj) {\n" + source + "\n}\n"; + source = 'with (obj) {\n' + source + '\n}\n'; } else if (reForbiddenIdentifierChars.test(variable)) { throw new Error2(INVALID_TEMPL_VAR_ERROR_TEXT); } - source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;"); - source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}"; - var result2 = attempt(function() { - return Function2(importsKeys, sourceURL + "return " + source).apply(undefined2, importsValues); + source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source) + .replace(reEmptyStringMiddle, '$1') + .replace(reEmptyStringTrailing, '$1;'); + source = + 'function(' + + (variable || 'obj') + + ') {\n' + + (variable ? '' : 'obj || (obj = {});\n') + + "var __t, __p = ''" + + (isEscaping ? ', __e = _.escape' : '') + + (isEvaluating + ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" + : ';\n') + + source + + 'return __p\n}'; + var result2 = attempt(function () { + return Function2(importsKeys, sourceURL + 'return ' + source).apply( + undefined2, + importsValues + ); }); result2.source = source; if (isError(result2)) { @@ -56001,8 +70467,11 @@ var require_lodash = __commonJS({ if (!string || !(chars = baseToString(chars))) { return string; } - var strSymbols = stringToArray(string), chrSymbols = stringToArray(chars), start = charsStartIndex(strSymbols, chrSymbols), end = charsEndIndex(strSymbols, chrSymbols) + 1; - return castSlice(strSymbols, start, end).join(""); + var strSymbols = stringToArray(string), + chrSymbols = stringToArray(chars), + start = charsStartIndex(strSymbols, chrSymbols), + end = charsEndIndex(strSymbols, chrSymbols) + 1; + return castSlice(strSymbols, start, end).join(''); } function trimEnd(string, chars, guard) { string = toString(string); @@ -56012,26 +70481,29 @@ var require_lodash = __commonJS({ if (!string || !(chars = baseToString(chars))) { return string; } - var strSymbols = stringToArray(string), end = charsEndIndex(strSymbols, stringToArray(chars)) + 1; - return castSlice(strSymbols, 0, end).join(""); + var strSymbols = stringToArray(string), + end = charsEndIndex(strSymbols, stringToArray(chars)) + 1; + return castSlice(strSymbols, 0, end).join(''); } function trimStart(string, chars, guard) { string = toString(string); if (string && (guard || chars === undefined2)) { - return string.replace(reTrimStart, ""); + return string.replace(reTrimStart, ''); } if (!string || !(chars = baseToString(chars))) { return string; } - var strSymbols = stringToArray(string), start = charsStartIndex(strSymbols, stringToArray(chars)); - return castSlice(strSymbols, start).join(""); + var strSymbols = stringToArray(string), + start = charsStartIndex(strSymbols, stringToArray(chars)); + return castSlice(strSymbols, start).join(''); } function truncate(string, options2) { - var length = DEFAULT_TRUNC_LENGTH, omission = DEFAULT_TRUNC_OMISSION; + var length = DEFAULT_TRUNC_LENGTH, + omission = DEFAULT_TRUNC_OMISSION; if (isObject(options2)) { - var separator = "separator" in options2 ? options2.separator : separator; - length = "length" in options2 ? toInteger(options2.length) : length; - omission = "omission" in options2 ? baseToString(options2.omission) : omission; + var separator = 'separator' in options2 ? options2.separator : separator; + length = 'length' in options2 ? toInteger(options2.length) : length; + omission = 'omission' in options2 ? baseToString(options2.omission) : omission; } string = toString(string); var strLength = string.length; @@ -56046,7 +70518,7 @@ var require_lodash = __commonJS({ if (end < 1) { return omission; } - var result2 = strSymbols ? castSlice(strSymbols, 0, end).join("") : string.slice(0, end); + var result2 = strSymbols ? castSlice(strSymbols, 0, end).join('') : string.slice(0, end); if (separator === undefined2) { return result2 + omission; } @@ -56055,12 +70527,13 @@ var require_lodash = __commonJS({ } if (isRegExp(separator)) { if (string.slice(end).search(separator)) { - var match, substring = result2; + var match, + substring = result2; if (!separator.global) { - separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g"); + separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + 'g'); } separator.lastIndex = 0; - while (match = separator.exec(substring)) { + while ((match = separator.exec(substring))) { var newEnd = match.index; } result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd); @@ -56075,12 +70548,14 @@ var require_lodash = __commonJS({ } function unescape(string) { string = toString(string); - return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string; + return string && reHasEscapedHtml.test(string) + ? string.replace(reEscapedHtml, unescapeHtmlChar) + : string; } - var upperCase = createCompounder(function(result2, word, index) { - return result2 + (index ? " " : "") + word.toUpperCase(); + var upperCase = createCompounder(function (result2, word, index) { + return result2 + (index ? ' ' : '') + word.toUpperCase(); }); - var upperFirst = createCaseFirst("toUpperCase"); + var upperFirst = createCaseFirst('toUpperCase'); function words(string, pattern, guard) { string = toString(string); pattern = guard ? undefined2 : pattern; @@ -56089,29 +70564,32 @@ var require_lodash = __commonJS({ } return string.match(pattern) || []; } - var attempt = baseRest(function(func, args) { + var attempt = baseRest(function (func, args) { try { return apply(func, undefined2, args); } catch (e) { return isError(e) ? e : new Error2(e); } }); - var bindAll = flatRest(function(object, methodNames) { - arrayEach(methodNames, function(key) { + var bindAll = flatRest(function (object, methodNames) { + arrayEach(methodNames, function (key) { key = toKey(key); baseAssignValue(object, key, bind(object[key], object)); }); return object; }); function cond(pairs) { - var length = pairs == null ? 0 : pairs.length, toIteratee = getIteratee(); - pairs = !length ? [] : arrayMap(pairs, function(pair) { - if (typeof pair[1] != "function") { - throw new TypeError2(FUNC_ERROR_TEXT); - } - return [toIteratee(pair[0]), pair[1]]; - }); - return baseRest(function(args) { + var length = pairs == null ? 0 : pairs.length, + toIteratee = getIteratee(); + pairs = !length + ? [] + : arrayMap(pairs, function (pair) { + if (typeof pair[1] != 'function') { + throw new TypeError2(FUNC_ERROR_TEXT); + } + return [toIteratee(pair[0]), pair[1]]; + }); + return baseRest(function (args) { var index = -1; while (++index < length) { var pair = pairs[index]; @@ -56125,7 +70603,7 @@ var require_lodash = __commonJS({ return baseConforms(baseClone(source, CLONE_DEEP_FLAG)); } function constant(value) { - return function() { + return function () { return value; }; } @@ -56138,7 +70616,7 @@ var require_lodash = __commonJS({ return value; } function iteratee(func) { - return baseIteratee(typeof func == "function" ? func : baseClone(func, CLONE_DEEP_FLAG)); + return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG)); } function matches(source) { return baseMatches(baseClone(source, CLONE_DEEP_FLAG)); @@ -56146,34 +70624,37 @@ var require_lodash = __commonJS({ function matchesProperty(path2, srcValue) { return baseMatchesProperty(path2, baseClone(srcValue, CLONE_DEEP_FLAG)); } - var method = baseRest(function(path2, args) { - return function(object) { + var method = baseRest(function (path2, args) { + return function (object) { return baseInvoke(object, path2, args); }; }); - var methodOf = baseRest(function(object, args) { - return function(path2) { + var methodOf = baseRest(function (object, args) { + return function (path2) { return baseInvoke(object, path2, args); }; }); function mixin(object, source, options2) { - var props = keys(source), methodNames = baseFunctions(source, props); + var props = keys(source), + methodNames = baseFunctions(source, props); if (options2 == null && !(isObject(source) && (methodNames.length || !props.length))) { options2 = source; source = object; object = this; methodNames = baseFunctions(source, keys(source)); } - var chain2 = !(isObject(options2) && "chain" in options2) || !!options2.chain, isFunc = isFunction(object); - arrayEach(methodNames, function(methodName) { + var chain2 = !(isObject(options2) && 'chain' in options2) || !!options2.chain, + isFunc = isFunction(object); + arrayEach(methodNames, function (methodName) { var func = source[methodName]; object[methodName] = func; if (isFunc) { - object.prototype[methodName] = function() { + object.prototype[methodName] = function () { var chainAll = this.__chain__; if (chain2 || chainAll) { - var result2 = object(this.__wrapped__), actions = result2.__actions__ = copyArray(this.__actions__); - actions.push({ "func": func, "args": arguments, "thisArg": object }); + var result2 = object(this.__wrapped__), + actions = (result2.__actions__ = copyArray(this.__actions__)); + actions.push({ func: func, args: arguments, thisArg: object }); result2.__chain__ = chainAll; return result2; } @@ -56189,11 +70670,10 @@ var require_lodash = __commonJS({ } return this; } - function noop() { - } + function noop() {} function nthArg(n) { n = toInteger(n); - return baseRest(function(args) { + return baseRest(function (args) { return baseNth(args, n); }); } @@ -56204,7 +70684,7 @@ var require_lodash = __commonJS({ return isKey(path2) ? baseProperty(toKey(path2)) : basePropertyDeep(path2); } function propertyOf(object) { - return function(path2) { + return function (path2) { return object == null ? undefined2 : baseGet(object, path2); }; } @@ -56220,7 +70700,7 @@ var require_lodash = __commonJS({ return {}; } function stubString() { - return ""; + return ''; } function stubTrue() { return true; @@ -56230,7 +70710,8 @@ var require_lodash = __commonJS({ if (n < 1 || n > MAX_SAFE_INTEGER) { return []; } - var index = MAX_ARRAY_LENGTH, length = nativeMin(n, MAX_ARRAY_LENGTH); + var index = MAX_ARRAY_LENGTH, + length = nativeMin(n, MAX_ARRAY_LENGTH); iteratee2 = getIteratee(iteratee2); n -= MAX_ARRAY_LENGTH; var result2 = baseTimes(length, iteratee2); @@ -56249,19 +70730,21 @@ var require_lodash = __commonJS({ var id = ++idCounter; return toString(prefix) + id; } - var add = createMathOperation(function(augend, addend) { + var add = createMathOperation(function (augend, addend) { return augend + addend; }, 0); - var ceil = createRound("ceil"); - var divide = createMathOperation(function(dividend, divisor) { + var ceil = createRound('ceil'); + var divide = createMathOperation(function (dividend, divisor) { return dividend / divisor; }, 1); - var floor = createRound("floor"); + var floor = createRound('floor'); function max(array) { return array && array.length ? baseExtremum(array, identity, baseGt) : undefined2; } function maxBy(array, iteratee2) { - return array && array.length ? baseExtremum(array, getIteratee(iteratee2, 2), baseGt) : undefined2; + return array && array.length + ? baseExtremum(array, getIteratee(iteratee2, 2), baseGt) + : undefined2; } function mean(array) { return baseMean(array, identity); @@ -56273,13 +70756,15 @@ var require_lodash = __commonJS({ return array && array.length ? baseExtremum(array, identity, baseLt) : undefined2; } function minBy(array, iteratee2) { - return array && array.length ? baseExtremum(array, getIteratee(iteratee2, 2), baseLt) : undefined2; + return array && array.length + ? baseExtremum(array, getIteratee(iteratee2, 2), baseLt) + : undefined2; } - var multiply = createMathOperation(function(multiplier, multiplicand) { + var multiply = createMathOperation(function (multiplier, multiplicand) { return multiplier * multiplicand; }, 1); - var round = createRound("round"); - var subtract = createMathOperation(function(minuend, subtrahend) { + var round = createRound('round'); + var subtract = createMathOperation(function (minuend, subtrahend) { return minuend - subtrahend; }, 0); function sum(array) { @@ -56594,82 +71079,90 @@ var require_lodash = __commonJS({ lodash3.each = forEach; lodash3.eachRight = forEachRight; lodash3.first = head; - mixin(lodash3, function() { - var source = {}; - baseForOwn(lodash3, function(func, methodName) { - if (!hasOwnProperty.call(lodash3.prototype, methodName)) { - source[methodName] = func; - } - }); - return source; - }(), { "chain": false }); + mixin( + lodash3, + (function () { + var source = {}; + baseForOwn(lodash3, function (func, methodName) { + if (!hasOwnProperty.call(lodash3.prototype, methodName)) { + source[methodName] = func; + } + }); + return source; + })(), + { chain: false } + ); lodash3.VERSION = VERSION; - arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) { - lodash3[methodName].placeholder = lodash3; - }); - arrayEach(["drop", "take"], function(methodName, index) { - LazyWrapper.prototype[methodName] = function(n) { + arrayEach( + ['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], + function (methodName) { + lodash3[methodName].placeholder = lodash3; + } + ); + arrayEach(['drop', 'take'], function (methodName, index) { + LazyWrapper.prototype[methodName] = function (n) { n = n === undefined2 ? 1 : nativeMax(toInteger(n), 0); var result2 = this.__filtered__ && !index ? new LazyWrapper(this) : this.clone(); if (result2.__filtered__) { result2.__takeCount__ = nativeMin(n, result2.__takeCount__); } else { result2.__views__.push({ - "size": nativeMin(n, MAX_ARRAY_LENGTH), - "type": methodName + (result2.__dir__ < 0 ? "Right" : "") + size: nativeMin(n, MAX_ARRAY_LENGTH), + type: methodName + (result2.__dir__ < 0 ? 'Right' : ''), }); } return result2; }; - LazyWrapper.prototype[methodName + "Right"] = function(n) { + LazyWrapper.prototype[methodName + 'Right'] = function (n) { return this.reverse()[methodName](n).reverse(); }; }); - arrayEach(["filter", "map", "takeWhile"], function(methodName, index) { - var type = index + 1, isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG; - LazyWrapper.prototype[methodName] = function(iteratee2) { + arrayEach(['filter', 'map', 'takeWhile'], function (methodName, index) { + var type = index + 1, + isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG; + LazyWrapper.prototype[methodName] = function (iteratee2) { var result2 = this.clone(); result2.__iteratees__.push({ - "iteratee": getIteratee(iteratee2, 3), - "type": type + iteratee: getIteratee(iteratee2, 3), + type: type, }); result2.__filtered__ = result2.__filtered__ || isFilter; return result2; }; }); - arrayEach(["head", "last"], function(methodName, index) { - var takeName = "take" + (index ? "Right" : ""); - LazyWrapper.prototype[methodName] = function() { + arrayEach(['head', 'last'], function (methodName, index) { + var takeName = 'take' + (index ? 'Right' : ''); + LazyWrapper.prototype[methodName] = function () { return this[takeName](1).value()[0]; }; }); - arrayEach(["initial", "tail"], function(methodName, index) { - var dropName = "drop" + (index ? "" : "Right"); - LazyWrapper.prototype[methodName] = function() { + arrayEach(['initial', 'tail'], function (methodName, index) { + var dropName = 'drop' + (index ? '' : 'Right'); + LazyWrapper.prototype[methodName] = function () { return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1); }; }); - LazyWrapper.prototype.compact = function() { + LazyWrapper.prototype.compact = function () { return this.filter(identity); }; - LazyWrapper.prototype.find = function(predicate) { + LazyWrapper.prototype.find = function (predicate) { return this.filter(predicate).head(); }; - LazyWrapper.prototype.findLast = function(predicate) { + LazyWrapper.prototype.findLast = function (predicate) { return this.reverse().find(predicate); }; - LazyWrapper.prototype.invokeMap = baseRest(function(path2, args) { - if (typeof path2 == "function") { + LazyWrapper.prototype.invokeMap = baseRest(function (path2, args) { + if (typeof path2 == 'function') { return new LazyWrapper(this); } - return this.map(function(value) { + return this.map(function (value) { return baseInvoke(value, path2, args); }); }); - LazyWrapper.prototype.reject = function(predicate) { + LazyWrapper.prototype.reject = function (predicate) { return this.filter(negate(getIteratee(predicate))); }; - LazyWrapper.prototype.slice = function(start, end) { + LazyWrapper.prototype.slice = function (start, end) { start = toInteger(start); var result2 = this; if (result2.__filtered__ && (start > 0 || end < 0)) { @@ -56686,67 +71179,87 @@ var require_lodash = __commonJS({ } return result2; }; - LazyWrapper.prototype.takeRightWhile = function(predicate) { + LazyWrapper.prototype.takeRightWhile = function (predicate) { return this.reverse().takeWhile(predicate).reverse(); }; - LazyWrapper.prototype.toArray = function() { + LazyWrapper.prototype.toArray = function () { return this.take(MAX_ARRAY_LENGTH); }; - baseForOwn(LazyWrapper.prototype, function(func, methodName) { - var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName), isTaker = /^(?:head|last)$/.test(methodName), lodashFunc = lodash3[isTaker ? "take" + (methodName == "last" ? "Right" : "") : methodName], retUnwrapped = isTaker || /^find/.test(methodName); + baseForOwn(LazyWrapper.prototype, function (func, methodName) { + var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName), + isTaker = /^(?:head|last)$/.test(methodName), + lodashFunc = + lodash3[isTaker ? 'take' + (methodName == 'last' ? 'Right' : '') : methodName], + retUnwrapped = isTaker || /^find/.test(methodName); if (!lodashFunc) { return; } - lodash3.prototype[methodName] = function() { - var value = this.__wrapped__, args = isTaker ? [1] : arguments, isLazy = value instanceof LazyWrapper, iteratee2 = args[0], useLazy = isLazy || isArray(value); - var interceptor = function(value2) { + lodash3.prototype[methodName] = function () { + var value = this.__wrapped__, + args = isTaker ? [1] : arguments, + isLazy = value instanceof LazyWrapper, + iteratee2 = args[0], + useLazy = isLazy || isArray(value); + var interceptor = function (value2) { var result3 = lodashFunc.apply(lodash3, arrayPush([value2], args)); return isTaker && chainAll ? result3[0] : result3; }; - if (useLazy && checkIteratee && typeof iteratee2 == "function" && iteratee2.length != 1) { + if ( + useLazy && + checkIteratee && + typeof iteratee2 == 'function' && + iteratee2.length != 1 + ) { isLazy = useLazy = false; } - var chainAll = this.__chain__, isHybrid = !!this.__actions__.length, isUnwrapped = retUnwrapped && !chainAll, onlyLazy = isLazy && !isHybrid; + var chainAll = this.__chain__, + isHybrid = !!this.__actions__.length, + isUnwrapped = retUnwrapped && !chainAll, + onlyLazy = isLazy && !isHybrid; if (!retUnwrapped && useLazy) { value = onlyLazy ? value : new LazyWrapper(this); var result2 = func.apply(value, args); - result2.__actions__.push({ "func": thru, "args": [interceptor], "thisArg": undefined2 }); + result2.__actions__.push({ func: thru, args: [interceptor], thisArg: undefined2 }); return new LodashWrapper(result2, chainAll); } if (isUnwrapped && onlyLazy) { return func.apply(this, args); } result2 = this.thru(interceptor); - return isUnwrapped ? isTaker ? result2.value()[0] : result2.value() : result2; + return isUnwrapped ? (isTaker ? result2.value()[0] : result2.value()) : result2; }; }); - arrayEach(["pop", "push", "shift", "sort", "splice", "unshift"], function(methodName) { - var func = arrayProto[methodName], chainName = /^(?:push|sort|unshift)$/.test(methodName) ? "tap" : "thru", retUnwrapped = /^(?:pop|shift)$/.test(methodName); - lodash3.prototype[methodName] = function() { + arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function (methodName) { + var func = arrayProto[methodName], + chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru', + retUnwrapped = /^(?:pop|shift)$/.test(methodName); + lodash3.prototype[methodName] = function () { var args = arguments; if (retUnwrapped && !this.__chain__) { var value = this.value(); return func.apply(isArray(value) ? value : [], args); } - return this[chainName](function(value2) { + return this[chainName](function (value2) { return func.apply(isArray(value2) ? value2 : [], args); }); }; }); - baseForOwn(LazyWrapper.prototype, function(func, methodName) { + baseForOwn(LazyWrapper.prototype, function (func, methodName) { var lodashFunc = lodash3[methodName]; if (lodashFunc) { - var key = lodashFunc.name + ""; + var key = lodashFunc.name + ''; if (!hasOwnProperty.call(realNames, key)) { realNames[key] = []; } - realNames[key].push({ "name": methodName, "func": lodashFunc }); + realNames[key].push({ name: methodName, func: lodashFunc }); } }); - realNames[createHybrid(undefined2, WRAP_BIND_KEY_FLAG).name] = [{ - "name": "wrapper", - "func": undefined2 - }]; + realNames[createHybrid(undefined2, WRAP_BIND_KEY_FLAG).name] = [ + { + name: 'wrapper', + func: undefined2, + }, + ]; LazyWrapper.prototype.clone = lazyClone; LazyWrapper.prototype.reverse = lazyReverse; LazyWrapper.prototype.value = lazyValue; @@ -56756,7 +71269,10 @@ var require_lodash = __commonJS({ lodash3.prototype.next = wrapperNext; lodash3.prototype.plant = wrapperPlant; lodash3.prototype.reverse = wrapperReverse; - lodash3.prototype.toJSON = lodash3.prototype.valueOf = lodash3.prototype.value = wrapperValue; + lodash3.prototype.toJSON = + lodash3.prototype.valueOf = + lodash3.prototype.value = + wrapperValue; lodash3.prototype.first = lodash3.prototype.head; if (symIterator) { lodash3.prototype[symIterator] = wrapperToIterator; @@ -56764,9 +71280,9 @@ var require_lodash = __commonJS({ return lodash3; }; var _ = runInContext(); - if (typeof define == "function" && typeof define.amd == "object" && define.amd) { + if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) { root._ = _; - define(function() { + define(function () { return _; }); } else if (freeModule) { @@ -56775,155 +71291,162 @@ var require_lodash = __commonJS({ } else { root._ = _; } - }).call(exports2); - } + }.call(exports2)); + }, }); // node_modules/kind-of/index.js var require_kind_of = __commonJS({ - "node_modules/kind-of/index.js"(exports2, module2) { + 'node_modules/kind-of/index.js'(exports2, module2) { var toString = Object.prototype.toString; module2.exports = function kindOf(val) { - if (val === void 0) - return "undefined"; - if (val === null) - return "null"; + if (val === void 0) return 'undefined'; + if (val === null) return 'null'; var type = typeof val; - if (type === "boolean") - return "boolean"; - if (type === "string") - return "string"; - if (type === "number") - return "number"; - if (type === "symbol") - return "symbol"; - if (type === "function") { - return isGeneratorFn(val) ? "generatorfunction" : "function"; - } - if (isArray(val)) - return "array"; - if (isBuffer(val)) - return "buffer"; - if (isArguments(val)) - return "arguments"; - if (isDate(val)) - return "date"; - if (isError(val)) - return "error"; - if (isRegexp(val)) - return "regexp"; + if (type === 'boolean') return 'boolean'; + if (type === 'string') return 'string'; + if (type === 'number') return 'number'; + if (type === 'symbol') return 'symbol'; + if (type === 'function') { + return isGeneratorFn(val) ? 'generatorfunction' : 'function'; + } + if (isArray(val)) return 'array'; + if (isBuffer(val)) return 'buffer'; + if (isArguments(val)) return 'arguments'; + if (isDate(val)) return 'date'; + if (isError(val)) return 'error'; + if (isRegexp(val)) return 'regexp'; switch (ctorName(val)) { - case "Symbol": - return "symbol"; - case "Promise": - return "promise"; - case "WeakMap": - return "weakmap"; - case "WeakSet": - return "weakset"; - case "Map": - return "map"; - case "Set": - return "set"; - case "Int8Array": - return "int8array"; - case "Uint8Array": - return "uint8array"; - case "Uint8ClampedArray": - return "uint8clampedarray"; - case "Int16Array": - return "int16array"; - case "Uint16Array": - return "uint16array"; - case "Int32Array": - return "int32array"; - case "Uint32Array": - return "uint32array"; - case "Float32Array": - return "float32array"; - case "Float64Array": - return "float64array"; + case 'Symbol': + return 'symbol'; + case 'Promise': + return 'promise'; + case 'WeakMap': + return 'weakmap'; + case 'WeakSet': + return 'weakset'; + case 'Map': + return 'map'; + case 'Set': + return 'set'; + case 'Int8Array': + return 'int8array'; + case 'Uint8Array': + return 'uint8array'; + case 'Uint8ClampedArray': + return 'uint8clampedarray'; + case 'Int16Array': + return 'int16array'; + case 'Uint16Array': + return 'uint16array'; + case 'Int32Array': + return 'int32array'; + case 'Uint32Array': + return 'uint32array'; + case 'Float32Array': + return 'float32array'; + case 'Float64Array': + return 'float64array'; } if (isGeneratorObj(val)) { - return "generator"; + return 'generator'; } type = toString.call(val); switch (type) { - case "[object Object]": - return "object"; - case "[object Map Iterator]": - return "mapiterator"; - case "[object Set Iterator]": - return "setiterator"; - case "[object String Iterator]": - return "stringiterator"; - case "[object Array Iterator]": - return "arrayiterator"; - } - return type.slice(8, -1).toLowerCase().replace(/\s/g, ""); + case '[object Object]': + return 'object'; + case '[object Map Iterator]': + return 'mapiterator'; + case '[object Set Iterator]': + return 'setiterator'; + case '[object String Iterator]': + return 'stringiterator'; + case '[object Array Iterator]': + return 'arrayiterator'; + } + return type.slice(8, -1).toLowerCase().replace(/\s/g, ''); }; function ctorName(val) { - return typeof val.constructor === "function" ? val.constructor.name : null; + return typeof val.constructor === 'function' ? val.constructor.name : null; } function isArray(val) { - if (Array.isArray) - return Array.isArray(val); + if (Array.isArray) return Array.isArray(val); return val instanceof Array; } function isError(val) { - return val instanceof Error || typeof val.message === "string" && val.constructor && typeof val.constructor.stackTraceLimit === "number"; + return ( + val instanceof Error || + (typeof val.message === 'string' && + val.constructor && + typeof val.constructor.stackTraceLimit === 'number') + ); } function isDate(val) { - if (val instanceof Date) - return true; - return typeof val.toDateString === "function" && typeof val.getDate === "function" && typeof val.setDate === "function"; + if (val instanceof Date) return true; + return ( + typeof val.toDateString === 'function' && + typeof val.getDate === 'function' && + typeof val.setDate === 'function' + ); } function isRegexp(val) { - if (val instanceof RegExp) - return true; - return typeof val.flags === "string" && typeof val.ignoreCase === "boolean" && typeof val.multiline === "boolean" && typeof val.global === "boolean"; + if (val instanceof RegExp) return true; + return ( + typeof val.flags === 'string' && + typeof val.ignoreCase === 'boolean' && + typeof val.multiline === 'boolean' && + typeof val.global === 'boolean' + ); } function isGeneratorFn(name2, val) { - return ctorName(name2) === "GeneratorFunction"; + return ctorName(name2) === 'GeneratorFunction'; } function isGeneratorObj(val) { - return typeof val.throw === "function" && typeof val.return === "function" && typeof val.next === "function"; + return ( + typeof val.throw === 'function' && + typeof val.return === 'function' && + typeof val.next === 'function' + ); } function isArguments(val) { try { - if (typeof val.length === "number" && typeof val.callee === "function") { + if (typeof val.length === 'number' && typeof val.callee === 'function') { return true; } } catch (err) { - if (err.message.indexOf("callee") !== -1) { + if (err.message.indexOf('callee') !== -1) { return true; } } return false; } function isBuffer(val) { - if (val.constructor && typeof val.constructor.isBuffer === "function") { + if (val.constructor && typeof val.constructor.isBuffer === 'function') { return val.constructor.isBuffer(val); } return false; } - } + }, }); // node_modules/is-extendable/index.js var require_is_extendable = __commonJS({ - "node_modules/is-extendable/index.js"(exports2, module2) { - "use strict"; + 'node_modules/is-extendable/index.js'(exports2, module2) { + 'use strict'; module2.exports = function isExtendable(val) { - return typeof val !== "undefined" && val !== null && (typeof val === "object" || typeof val === "function"); + return ( + typeof val !== 'undefined' && + val !== null && + (typeof val === 'object' || typeof val === 'function') + ); }; - } + }, }); // node_modules/extend-shallow/index.js var require_extend_shallow = __commonJS({ - "node_modules/extend-shallow/index.js"(exports2, module2) { - "use strict"; + 'node_modules/extend-shallow/index.js'(exports2, module2) { + 'use strict'; var isObject = require_is_extendable(); module2.exports = function extend(o) { if (!isObject(o)) { @@ -56948,21 +71471,21 @@ var require_extend_shallow = __commonJS({ function hasOwn(obj, key) { return Object.prototype.hasOwnProperty.call(obj, key); } - } + }, }); // node_modules/section-matter/index.js var require_section_matter = __commonJS({ - "node_modules/section-matter/index.js"(exports2, module2) { - "use strict"; + 'node_modules/section-matter/index.js'(exports2, module2) { + 'use strict'; var typeOf = require_kind_of(); var extend = require_extend_shallow(); - module2.exports = function(input, options2) { - if (typeof options2 === "function") { + module2.exports = function (input, options2) { + if (typeof options2 === 'function') { options2 = { parse: options2 }; } var file3 = toObject(input); - var defaults = { section_delimiter: "---", parse: identity }; + var defaults = { section_delimiter: '---', parse: identity }; var opts = extend({}, defaults, options2); var delim = opts.section_delimiter; var lines = file3.content.split(/\r?\n/); @@ -56997,15 +71520,15 @@ var require_section_matter = __commonJS({ continue; } stack.push(ln); - section.data = content.join("\n"); + section.data = content.join('\n'); content = []; continue; } if (sections === null) { - initSections(content.join("\n")); + initSections(content.join('\n')); } if (len === 2) { - closeSection(content.join("\n")); + closeSection(content.join('\n')); } stack.push(ln); continue; @@ -57013,9 +71536,9 @@ var require_section_matter = __commonJS({ content.push(line); } if (sections === null) { - initSections(content.join("\n")); + initSections(content.join('\n')); } else { - closeSection(content.join("\n")); + closeSection(content.join('\n')); } file3.sections = sections; return file3; @@ -57030,49 +71553,47 @@ var require_section_matter = __commonJS({ return true; } function toObject(input) { - if (typeOf(input) !== "object") { + if (typeOf(input) !== 'object') { input = { content: input }; } - if (typeof input.content !== "string" && !isBuffer(input.content)) { - throw new TypeError("expected a buffer or string"); + if (typeof input.content !== 'string' && !isBuffer(input.content)) { + throw new TypeError('expected a buffer or string'); } input.content = input.content.toString(); input.sections = []; return input; } function getKey(val, delim) { - return val ? val.slice(delim.length).trim() : ""; + return val ? val.slice(delim.length).trim() : ''; } function createSection() { - return { key: "", data: "", content: "" }; + return { key: '', data: '', content: '' }; } function identity(val) { return val; } function isBuffer(val) { - if (val && val.constructor && typeof val.constructor.isBuffer === "function") { + if (val && val.constructor && typeof val.constructor.isBuffer === 'function') { return val.constructor.isBuffer(val); } return false; } - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/common.js var require_common3 = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/common.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/common.js'(exports2, module2) { + 'use strict'; function isNothing(subject) { - return typeof subject === "undefined" || subject === null; + return typeof subject === 'undefined' || subject === null; } function isObject(subject) { - return typeof subject === "object" && subject !== null; + return typeof subject === 'object' && subject !== null; } function toArray(sequence) { - if (Array.isArray(sequence)) - return sequence; - else if (isNothing(sequence)) - return []; + if (Array.isArray(sequence)) return sequence; + else if (isNothing(sequence)) return []; return [sequence]; } function extend(target, source) { @@ -57087,7 +71608,8 @@ var require_common3 = __commonJS({ return target; } function repeat(string, count) { - var result = "", cycle; + var result = '', + cycle; for (cycle = 0; cycle < count; cycle += 1) { result += string; } @@ -57102,43 +71624,44 @@ var require_common3 = __commonJS({ module2.exports.repeat = repeat; module2.exports.isNegativeZero = isNegativeZero; module2.exports.extend = extend; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/exception.js var require_exception = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/exception.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/exception.js'(exports2, module2) { + 'use strict'; function YAMLException(reason, mark) { Error.call(this); - this.name = "YAMLException"; + this.name = 'YAMLException'; this.reason = reason; this.mark = mark; - this.message = (this.reason || "(unknown reason)") + (this.mark ? " " + this.mark.toString() : ""); + this.message = + (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : ''); if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } else { - this.stack = new Error().stack || ""; + this.stack = new Error().stack || ''; } } YAMLException.prototype = Object.create(Error.prototype); YAMLException.prototype.constructor = YAMLException; YAMLException.prototype.toString = function toString(compact) { - var result = this.name + ": "; - result += this.reason || "(unknown reason)"; + var result = this.name + ': '; + result += this.reason || '(unknown reason)'; if (!compact && this.mark) { - result += " " + this.mark.toString(); + result += ' ' + this.mark.toString(); } return result; }; module2.exports = YAMLException; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/mark.js var require_mark = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/mark.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/mark.js'(exports2, module2) { + 'use strict'; var common = require_common3(); function Mark(name2, buffer, position, line, column) { this.name = name2; @@ -57149,76 +71672,83 @@ var require_mark = __commonJS({ } Mark.prototype.getSnippet = function getSnippet(indent, maxLength) { var head, start, tail, end, snippet; - if (!this.buffer) - return null; + if (!this.buffer) return null; indent = indent || 4; maxLength = maxLength || 75; - head = ""; + head = ''; start = this.position; - while (start > 0 && "\0\r\n\x85\u2028\u2029".indexOf(this.buffer.charAt(start - 1)) === -1) { + while (start > 0 && '\0\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) { start -= 1; if (this.position - start > maxLength / 2 - 1) { - head = " ... "; + head = ' ... '; start += 5; break; } } - tail = ""; + tail = ''; end = this.position; - while (end < this.buffer.length && "\0\r\n\x85\u2028\u2029".indexOf(this.buffer.charAt(end)) === -1) { + while ( + end < this.buffer.length && + '\0\r\n\x85\u2028\u2029'.indexOf(this.buffer.charAt(end)) === -1 + ) { end += 1; if (end - this.position > maxLength / 2 - 1) { - tail = " ... "; + tail = ' ... '; end -= 5; break; } } snippet = this.buffer.slice(start, end); - return common.repeat(" ", indent) + head + snippet + tail + "\n" + common.repeat(" ", indent + this.position - start + head.length) + "^"; + return ( + common.repeat(' ', indent) + + head + + snippet + + tail + + '\n' + + common.repeat(' ', indent + this.position - start + head.length) + + '^' + ); }; Mark.prototype.toString = function toString(compact) { - var snippet, where = ""; + var snippet, + where = ''; if (this.name) { where += 'in "' + this.name + '" '; } - where += "at line " + (this.line + 1) + ", column " + (this.column + 1); + where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1); if (!compact) { snippet = this.getSnippet(); if (snippet) { - where += ":\n" + snippet; + where += ':\n' + snippet; } } return where; }; module2.exports = Mark; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type.js var require_type = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type.js'(exports2, module2) { + 'use strict'; var YAMLException = require_exception(); var TYPE_CONSTRUCTOR_OPTIONS = [ - "kind", - "resolve", - "construct", - "instanceOf", - "predicate", - "represent", - "defaultStyle", - "styleAliases" - ]; - var YAML_NODE_KINDS = [ - "scalar", - "sequence", - "mapping" + 'kind', + 'resolve', + 'construct', + 'instanceOf', + 'predicate', + 'represent', + 'defaultStyle', + 'styleAliases', ]; + var YAML_NODE_KINDS = ['scalar', 'sequence', 'mapping']; function compileStyleAliases(map) { var result = {}; if (map !== null) { - Object.keys(map).forEach(function(style) { - map[style].forEach(function(alias) { + Object.keys(map).forEach(function (style) { + map[style].forEach(function (alias) { result[String(alias)] = style; }); }); @@ -57227,65 +71757,75 @@ var require_type = __commonJS({ } function Type(tag, options2) { options2 = options2 || {}; - Object.keys(options2).forEach(function(name2) { + Object.keys(options2).forEach(function (name2) { if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name2) === -1) { - throw new YAMLException('Unknown option "' + name2 + '" is met in definition of "' + tag + '" YAML type.'); + throw new YAMLException( + 'Unknown option "' + name2 + '" is met in definition of "' + tag + '" YAML type.' + ); } }); this.tag = tag; - this.kind = options2["kind"] || null; - this.resolve = options2["resolve"] || function() { - return true; - }; - this.construct = options2["construct"] || function(data) { - return data; - }; - this.instanceOf = options2["instanceOf"] || null; - this.predicate = options2["predicate"] || null; - this.represent = options2["represent"] || null; - this.defaultStyle = options2["defaultStyle"] || null; - this.styleAliases = compileStyleAliases(options2["styleAliases"] || null); + this.kind = options2['kind'] || null; + this.resolve = + options2['resolve'] || + function () { + return true; + }; + this.construct = + options2['construct'] || + function (data) { + return data; + }; + this.instanceOf = options2['instanceOf'] || null; + this.predicate = options2['predicate'] || null; + this.represent = options2['represent'] || null; + this.defaultStyle = options2['defaultStyle'] || null; + this.styleAliases = compileStyleAliases(options2['styleAliases'] || null); if (YAML_NODE_KINDS.indexOf(this.kind) === -1) { - throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.'); + throw new YAMLException( + 'Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.' + ); } } module2.exports = Type; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema.js var require_schema = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema.js'(exports2, module2) { + 'use strict'; var common = require_common3(); var YAMLException = require_exception(); var Type = require_type(); function compileList(schema, name2, result) { var exclude = []; - schema.include.forEach(function(includedSchema) { + schema.include.forEach(function (includedSchema) { result = compileList(includedSchema, name2, result); }); - schema[name2].forEach(function(currentType) { - result.forEach(function(previousType, previousIndex) { + schema[name2].forEach(function (currentType) { + result.forEach(function (previousType, previousIndex) { if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) { exclude.push(previousIndex); } }); result.push(currentType); }); - return result.filter(function(type, index) { + return result.filter(function (type, index) { return exclude.indexOf(index) === -1; }); } function compileMap() { var result = { - scalar: {}, - sequence: {}, - mapping: {}, - fallback: {} - }, index, length; + scalar: {}, + sequence: {}, + mapping: {}, + fallback: {}, + }, + index, + length; function collectType(type) { - result[type.kind][type.tag] = result["fallback"][type.tag] = type; + result[type.kind][type.tag] = result['fallback'][type.tag] = type; } for (index = 0, length = arguments.length; index < length; index += 1) { arguments[index].forEach(collectType); @@ -57296,13 +71836,15 @@ var require_schema = __commonJS({ this.include = definition.include || []; this.implicit = definition.implicit || []; this.explicit = definition.explicit || []; - this.implicit.forEach(function(type) { - if (type.loadKind && type.loadKind !== "scalar") { - throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported."); + this.implicit.forEach(function (type) { + if (type.loadKind && type.loadKind !== 'scalar') { + throw new YAMLException( + 'There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.' + ); } }); - this.compiledImplicit = compileList(this, "implicit", []); - this.compiledExplicit = compileList(this, "explicit", []); + this.compiledImplicit = compileList(this, 'implicit', []); + this.compiledExplicit = compileList(this, 'explicit', []); this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit); } Schema.DEFAULT = null; @@ -57318,96 +71860,105 @@ var require_schema = __commonJS({ types = arguments[1]; break; default: - throw new YAMLException("Wrong number of arguments for Schema.create function"); + throw new YAMLException('Wrong number of arguments for Schema.create function'); } schemas = common.toArray(schemas); types = common.toArray(types); - if (!schemas.every(function(schema) { - return schema instanceof Schema; - })) { - throw new YAMLException("Specified list of super schemas (or a single Schema object) contains a non-Schema object."); + if ( + !schemas.every(function (schema) { + return schema instanceof Schema; + }) + ) { + throw new YAMLException( + 'Specified list of super schemas (or a single Schema object) contains a non-Schema object.' + ); } - if (!types.every(function(type) { - return type instanceof Type; - })) { - throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object."); + if ( + !types.every(function (type) { + return type instanceof Type; + }) + ) { + throw new YAMLException( + 'Specified list of YAML types (or a single Type object) contains a non-Type object.' + ); } return new Schema({ include: schemas, - explicit: types + explicit: types, }); }; module2.exports = Schema; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/str.js var require_str = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/str.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/str.js'(exports2, module2) { + 'use strict'; var Type = require_type(); - module2.exports = new Type("tag:yaml.org,2002:str", { - kind: "scalar", - construct: function(data) { - return data !== null ? data : ""; - } + module2.exports = new Type('tag:yaml.org,2002:str', { + kind: 'scalar', + construct: function (data) { + return data !== null ? data : ''; + }, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/seq.js var require_seq = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/seq.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/seq.js'(exports2, module2) { + 'use strict'; var Type = require_type(); - module2.exports = new Type("tag:yaml.org,2002:seq", { - kind: "sequence", - construct: function(data) { + module2.exports = new Type('tag:yaml.org,2002:seq', { + kind: 'sequence', + construct: function (data) { return data !== null ? data : []; - } + }, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/map.js var require_map = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/map.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/map.js'(exports2, module2) { + 'use strict'; var Type = require_type(); - module2.exports = new Type("tag:yaml.org,2002:map", { - kind: "mapping", - construct: function(data) { + module2.exports = new Type('tag:yaml.org,2002:map', { + kind: 'mapping', + construct: function (data) { return data !== null ? data : {}; - } + }, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js var require_failsafe = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js'( + exports2, + module2 + ) { + 'use strict'; var Schema = require_schema(); module2.exports = new Schema({ - explicit: [ - require_str(), - require_seq(), - require_map() - ] + explicit: [require_str(), require_seq(), require_map()], }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/null.js var require_null2 = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/null.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/null.js'(exports2, module2) { + 'use strict'; var Type = require_type(); function resolveYamlNull(data) { - if (data === null) - return true; + if (data === null) return true; var max = data.length; - return max === 1 && data === "~" || max === 4 && (data === "null" || data === "Null" || data === "NULL"); + return ( + (max === 1 && data === '~') || + (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL')) + ); } function constructYamlNull() { return null; @@ -57415,76 +71966,78 @@ var require_null2 = __commonJS({ function isNull(object) { return object === null; } - module2.exports = new Type("tag:yaml.org,2002:null", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:null', { + kind: 'scalar', resolve: resolveYamlNull, construct: constructYamlNull, predicate: isNull, represent: { - canonical: function() { - return "~"; + canonical: function () { + return '~'; }, - lowercase: function() { - return "null"; + lowercase: function () { + return 'null'; }, - uppercase: function() { - return "NULL"; + uppercase: function () { + return 'NULL'; + }, + camelcase: function () { + return 'Null'; }, - camelcase: function() { - return "Null"; - } }, - defaultStyle: "lowercase" + defaultStyle: 'lowercase', }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/bool.js var require_bool = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/bool.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/bool.js'(exports2, module2) { + 'use strict'; var Type = require_type(); function resolveYamlBoolean(data) { - if (data === null) - return false; + if (data === null) return false; var max = data.length; - return max === 4 && (data === "true" || data === "True" || data === "TRUE") || max === 5 && (data === "false" || data === "False" || data === "FALSE"); + return ( + (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) || + (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE')) + ); } function constructYamlBoolean(data) { - return data === "true" || data === "True" || data === "TRUE"; + return data === 'true' || data === 'True' || data === 'TRUE'; } function isBoolean(object) { - return Object.prototype.toString.call(object) === "[object Boolean]"; + return Object.prototype.toString.call(object) === '[object Boolean]'; } - module2.exports = new Type("tag:yaml.org,2002:bool", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:bool', { + kind: 'scalar', resolve: resolveYamlBoolean, construct: constructYamlBoolean, predicate: isBoolean, represent: { - lowercase: function(object) { - return object ? "true" : "false"; + lowercase: function (object) { + return object ? 'true' : 'false'; }, - uppercase: function(object) { - return object ? "TRUE" : "FALSE"; + uppercase: function (object) { + return object ? 'TRUE' : 'FALSE'; + }, + camelcase: function (object) { + return object ? 'True' : 'False'; }, - camelcase: function(object) { - return object ? "True" : "False"; - } }, - defaultStyle: "lowercase" + defaultStyle: 'lowercase', }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/int.js var require_int = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/int.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/int.js'(exports2, module2) { + 'use strict'; var common = require_common3(); var Type = require_type(); function isHexCode(c) { - return 48 <= c && c <= 57 || 65 <= c && c <= 70 || 97 <= c && c <= 102; + return (48 <= c && c <= 57) || (65 <= c && c <= 70) || (97 <= c && c <= 102); } function isOctCode(c) { return 48 <= c && c <= 55; @@ -57493,100 +72046,89 @@ var require_int = __commonJS({ return 48 <= c && c <= 57; } function resolveYamlInteger(data) { - if (data === null) - return false; - var max = data.length, index = 0, hasDigits = false, ch; - if (!max) - return false; + if (data === null) return false; + var max = data.length, + index = 0, + hasDigits = false, + ch; + if (!max) return false; ch = data[index]; - if (ch === "-" || ch === "+") { + if (ch === '-' || ch === '+') { ch = data[++index]; } - if (ch === "0") { - if (index + 1 === max) - return true; + if (ch === '0') { + if (index + 1 === max) return true; ch = data[++index]; - if (ch === "b") { + if (ch === 'b') { index++; for (; index < max; index++) { ch = data[index]; - if (ch === "_") - continue; - if (ch !== "0" && ch !== "1") - return false; + if (ch === '_') continue; + if (ch !== '0' && ch !== '1') return false; hasDigits = true; } - return hasDigits && ch !== "_"; + return hasDigits && ch !== '_'; } - if (ch === "x") { + if (ch === 'x') { index++; for (; index < max; index++) { ch = data[index]; - if (ch === "_") - continue; - if (!isHexCode(data.charCodeAt(index))) - return false; + if (ch === '_') continue; + if (!isHexCode(data.charCodeAt(index))) return false; hasDigits = true; } - return hasDigits && ch !== "_"; + return hasDigits && ch !== '_'; } for (; index < max; index++) { ch = data[index]; - if (ch === "_") - continue; - if (!isOctCode(data.charCodeAt(index))) - return false; + if (ch === '_') continue; + if (!isOctCode(data.charCodeAt(index))) return false; hasDigits = true; } - return hasDigits && ch !== "_"; + return hasDigits && ch !== '_'; } - if (ch === "_") - return false; + if (ch === '_') return false; for (; index < max; index++) { ch = data[index]; - if (ch === "_") - continue; - if (ch === ":") - break; + if (ch === '_') continue; + if (ch === ':') break; if (!isDecCode(data.charCodeAt(index))) { return false; } hasDigits = true; } - if (!hasDigits || ch === "_") - return false; - if (ch !== ":") - return true; + if (!hasDigits || ch === '_') return false; + if (ch !== ':') return true; return /^(:[0-5]?[0-9])+$/.test(data.slice(index)); } function constructYamlInteger(data) { - var value = data, sign = 1, ch, base, digits = []; - if (value.indexOf("_") !== -1) { - value = value.replace(/_/g, ""); + var value = data, + sign = 1, + ch, + base, + digits = []; + if (value.indexOf('_') !== -1) { + value = value.replace(/_/g, ''); } ch = value[0]; - if (ch === "-" || ch === "+") { - if (ch === "-") - sign = -1; + if (ch === '-' || ch === '+') { + if (ch === '-') sign = -1; value = value.slice(1); ch = value[0]; } - if (value === "0") - return 0; - if (ch === "0") { - if (value[1] === "b") - return sign * parseInt(value.slice(2), 2); - if (value[1] === "x") - return sign * parseInt(value, 16); + if (value === '0') return 0; + if (ch === '0') { + if (value[1] === 'b') return sign * parseInt(value.slice(2), 2); + if (value[1] === 'x') return sign * parseInt(value, 16); return sign * parseInt(value, 8); } - if (value.indexOf(":") !== -1) { - value.split(":").forEach(function(v) { + if (value.indexOf(':') !== -1) { + value.split(':').forEach(function (v) { digits.unshift(parseInt(v, 10)); }); value = 0; base = 1; - digits.forEach(function(d) { + digits.forEach(function (d) { value += d * base; base *= 60; }); @@ -57595,74 +72137,79 @@ var require_int = __commonJS({ return sign * parseInt(value, 10); } function isInteger(object) { - return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common.isNegativeZero(object)); + return ( + Object.prototype.toString.call(object) === '[object Number]' && + object % 1 === 0 && + !common.isNegativeZero(object) + ); } - module2.exports = new Type("tag:yaml.org,2002:int", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:int', { + kind: 'scalar', resolve: resolveYamlInteger, construct: constructYamlInteger, predicate: isInteger, represent: { - binary: function(obj) { - return obj >= 0 ? "0b" + obj.toString(2) : "-0b" + obj.toString(2).slice(1); + binary: function (obj) { + return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); }, - octal: function(obj) { - return obj >= 0 ? "0" + obj.toString(8) : "-0" + obj.toString(8).slice(1); + octal: function (obj) { + return obj >= 0 ? '0' + obj.toString(8) : '-0' + obj.toString(8).slice(1); }, - decimal: function(obj) { + decimal: function (obj) { return obj.toString(10); }, - hexadecimal: function(obj) { - return obj >= 0 ? "0x" + obj.toString(16).toUpperCase() : "-0x" + obj.toString(16).toUpperCase().slice(1); - } + hexadecimal: function (obj) { + return obj >= 0 + ? '0x' + obj.toString(16).toUpperCase() + : '-0x' + obj.toString(16).toUpperCase().slice(1); + }, }, - defaultStyle: "decimal", + defaultStyle: 'decimal', styleAliases: { - binary: [2, "bin"], - octal: [8, "oct"], - decimal: [10, "dec"], - hexadecimal: [16, "hex"] - } + binary: [2, 'bin'], + octal: [8, 'oct'], + decimal: [10, 'dec'], + hexadecimal: [16, 'hex'], + }, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/float.js var require_float = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/float.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/float.js'(exports2, module2) { + 'use strict'; var common = require_common3(); var Type = require_type(); var YAML_FLOAT_PATTERN = new RegExp( - "^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$" + '^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$' ); function resolveYamlFloat(data) { - if (data === null) - return false; - if (!YAML_FLOAT_PATTERN.test(data) || data[data.length - 1] === "_") { + if (data === null) return false; + if (!YAML_FLOAT_PATTERN.test(data) || data[data.length - 1] === '_') { return false; } return true; } function constructYamlFloat(data) { var value, sign, base, digits; - value = data.replace(/_/g, "").toLowerCase(); - sign = value[0] === "-" ? -1 : 1; + value = data.replace(/_/g, '').toLowerCase(); + sign = value[0] === '-' ? -1 : 1; digits = []; - if ("+-".indexOf(value[0]) >= 0) { + if ('+-'.indexOf(value[0]) >= 0) { value = value.slice(1); } - if (value === ".inf") { + if (value === '.inf') { return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY; - } else if (value === ".nan") { + } else if (value === '.nan') { return NaN; - } else if (value.indexOf(":") >= 0) { - value.split(":").forEach(function(v) { + } else if (value.indexOf(':') >= 0) { + value.split(':').forEach(function (v) { digits.unshift(parseFloat(v, 10)); }); value = 0; base = 1; - digits.forEach(function(d) { + digits.forEach(function (d) { value += d * base; base *= 60; }); @@ -57675,110 +72222,108 @@ var require_float = __commonJS({ var res; if (isNaN(object)) { switch (style) { - case "lowercase": - return ".nan"; - case "uppercase": - return ".NAN"; - case "camelcase": - return ".NaN"; + case 'lowercase': + return '.nan'; + case 'uppercase': + return '.NAN'; + case 'camelcase': + return '.NaN'; } } else if (Number.POSITIVE_INFINITY === object) { switch (style) { - case "lowercase": - return ".inf"; - case "uppercase": - return ".INF"; - case "camelcase": - return ".Inf"; + case 'lowercase': + return '.inf'; + case 'uppercase': + return '.INF'; + case 'camelcase': + return '.Inf'; } } else if (Number.NEGATIVE_INFINITY === object) { switch (style) { - case "lowercase": - return "-.inf"; - case "uppercase": - return "-.INF"; - case "camelcase": - return "-.Inf"; + case 'lowercase': + return '-.inf'; + case 'uppercase': + return '-.INF'; + case 'camelcase': + return '-.Inf'; } } else if (common.isNegativeZero(object)) { - return "-0.0"; + return '-0.0'; } res = object.toString(10); - return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res; + return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res; } function isFloat(object) { - return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object)); + return ( + Object.prototype.toString.call(object) === '[object Number]' && + (object % 1 !== 0 || common.isNegativeZero(object)) + ); } - module2.exports = new Type("tag:yaml.org,2002:float", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:float', { + kind: 'scalar', resolve: resolveYamlFloat, construct: constructYamlFloat, predicate: isFloat, represent: representYamlFloat, - defaultStyle: "lowercase" + defaultStyle: 'lowercase', }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/json.js var require_json = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/json.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/json.js'(exports2, module2) { + 'use strict'; var Schema = require_schema(); module2.exports = new Schema({ - include: [ - require_failsafe() - ], - implicit: [ - require_null2(), - require_bool(), - require_int(), - require_float() - ] + include: [require_failsafe()], + implicit: [require_null2(), require_bool(), require_int(), require_float()], }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/core.js var require_core = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/core.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/core.js'(exports2, module2) { + 'use strict'; var Schema = require_schema(); module2.exports = new Schema({ - include: [ - require_json() - ] + include: [require_json()], }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/timestamp.js var require_timestamp = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/timestamp.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/timestamp.js'(exports2, module2) { + 'use strict'; var Type = require_type(); - var YAML_DATE_REGEXP = new RegExp( - "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$" - ); + var YAML_DATE_REGEXP = new RegExp('^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$'); var YAML_TIMESTAMP_REGEXP = new RegExp( - "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$" + '^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$' ); function resolveYamlTimestamp(data) { - if (data === null) - return false; - if (YAML_DATE_REGEXP.exec(data) !== null) - return true; - if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) - return true; + if (data === null) return false; + if (YAML_DATE_REGEXP.exec(data) !== null) return true; + if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true; return false; } function constructYamlTimestamp(data) { - var match, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date; + var match, + year, + month, + day, + hour, + minute, + second, + fraction = 0, + delta = null, + tz_hour, + tz_minute, + date; match = YAML_DATE_REGEXP.exec(data); - if (match === null) - match = YAML_TIMESTAMP_REGEXP.exec(data); - if (match === null) - throw new Error("Date resolve error"); + if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data); + if (match === null) throw new Error('Date resolve error'); year = +match[1]; month = +match[2] - 1; day = +match[3]; @@ -57791,7 +72336,7 @@ var require_timestamp = __commonJS({ if (match[7]) { fraction = match[7].slice(0, 3); while (fraction.length < 3) { - fraction += "0"; + fraction += '0'; } fraction = +fraction; } @@ -57799,89 +72344,93 @@ var require_timestamp = __commonJS({ tz_hour = +match[10]; tz_minute = +(match[11] || 0); delta = (tz_hour * 60 + tz_minute) * 6e4; - if (match[9] === "-") - delta = -delta; + if (match[9] === '-') delta = -delta; } date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction)); - if (delta) - date.setTime(date.getTime() - delta); + if (delta) date.setTime(date.getTime() - delta); return date; } function representYamlTimestamp(object) { return object.toISOString(); } - module2.exports = new Type("tag:yaml.org,2002:timestamp", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:timestamp', { + kind: 'scalar', resolve: resolveYamlTimestamp, construct: constructYamlTimestamp, instanceOf: Date, - represent: representYamlTimestamp + represent: representYamlTimestamp, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/merge.js var require_merge = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/merge.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/merge.js'(exports2, module2) { + 'use strict'; var Type = require_type(); function resolveYamlMerge(data) { - return data === "<<" || data === null; + return data === '<<' || data === null; } - module2.exports = new Type("tag:yaml.org,2002:merge", { - kind: "scalar", - resolve: resolveYamlMerge + module2.exports = new Type('tag:yaml.org,2002:merge', { + kind: 'scalar', + resolve: resolveYamlMerge, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/binary.js var require_binary = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/binary.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/binary.js'(exports2, module2) { + 'use strict'; var NodeBuffer; try { _require = require; - NodeBuffer = _require("buffer").Buffer; - } catch (__) { - } + NodeBuffer = _require('buffer').Buffer; + } catch (__) {} var _require; var Type = require_type(); - var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r"; + var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r'; function resolveYamlBinary(data) { - if (data === null) - return false; - var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP; + if (data === null) return false; + var code, + idx, + bitlen = 0, + max = data.length, + map = BASE64_MAP; for (idx = 0; idx < max; idx++) { code = map.indexOf(data.charAt(idx)); - if (code > 64) - continue; - if (code < 0) - return false; + if (code > 64) continue; + if (code < 0) return false; bitlen += 6; } return bitlen % 8 === 0; } function constructYamlBinary(data) { - var idx, tailbits, input = data.replace(/[\r\n=]/g, ""), max = input.length, map = BASE64_MAP, bits = 0, result = []; + var idx, + tailbits, + input = data.replace(/[\r\n=]/g, ''), + max = input.length, + map = BASE64_MAP, + bits = 0, + result = []; for (idx = 0; idx < max; idx++) { if (idx % 4 === 0 && idx) { - result.push(bits >> 16 & 255); - result.push(bits >> 8 & 255); + result.push((bits >> 16) & 255); + result.push((bits >> 8) & 255); result.push(bits & 255); } - bits = bits << 6 | map.indexOf(input.charAt(idx)); + bits = (bits << 6) | map.indexOf(input.charAt(idx)); } - tailbits = max % 4 * 6; + tailbits = (max % 4) * 6; if (tailbits === 0) { - result.push(bits >> 16 & 255); - result.push(bits >> 8 & 255); + result.push((bits >> 16) & 255); + result.push((bits >> 8) & 255); result.push(bits & 255); } else if (tailbits === 18) { - result.push(bits >> 10 & 255); - result.push(bits >> 2 & 255); + result.push((bits >> 10) & 255); + result.push((bits >> 2) & 255); } else if (tailbits === 12) { - result.push(bits >> 4 & 255); + result.push((bits >> 4) & 255); } if (NodeBuffer) { return NodeBuffer.from ? NodeBuffer.from(result) : new NodeBuffer(result); @@ -57889,30 +72438,35 @@ var require_binary = __commonJS({ return result; } function representYamlBinary(object) { - var result = "", bits = 0, idx, tail, max = object.length, map = BASE64_MAP; + var result = '', + bits = 0, + idx, + tail, + max = object.length, + map = BASE64_MAP; for (idx = 0; idx < max; idx++) { if (idx % 3 === 0 && idx) { - result += map[bits >> 18 & 63]; - result += map[bits >> 12 & 63]; - result += map[bits >> 6 & 63]; + result += map[(bits >> 18) & 63]; + result += map[(bits >> 12) & 63]; + result += map[(bits >> 6) & 63]; result += map[bits & 63]; } bits = (bits << 8) + object[idx]; } tail = max % 3; if (tail === 0) { - result += map[bits >> 18 & 63]; - result += map[bits >> 12 & 63]; - result += map[bits >> 6 & 63]; + result += map[(bits >> 18) & 63]; + result += map[(bits >> 12) & 63]; + result += map[(bits >> 6) & 63]; result += map[bits & 63]; } else if (tail === 2) { - result += map[bits >> 10 & 63]; - result += map[bits >> 4 & 63]; - result += map[bits << 2 & 63]; + result += map[(bits >> 10) & 63]; + result += map[(bits >> 4) & 63]; + result += map[(bits << 2) & 63]; result += map[64]; } else if (tail === 1) { - result += map[bits >> 2 & 63]; - result += map[bits << 4 & 63]; + result += map[(bits >> 2) & 63]; + result += map[(bits << 4) & 63]; result += map[64]; result += map[64]; } @@ -57921,86 +72475,91 @@ var require_binary = __commonJS({ function isBinary(object) { return NodeBuffer && NodeBuffer.isBuffer(object); } - module2.exports = new Type("tag:yaml.org,2002:binary", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:binary', { + kind: 'scalar', resolve: resolveYamlBinary, construct: constructYamlBinary, predicate: isBinary, - represent: representYamlBinary + represent: representYamlBinary, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/omap.js var require_omap = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/omap.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/omap.js'(exports2, module2) { + 'use strict'; var Type = require_type(); var _hasOwnProperty = Object.prototype.hasOwnProperty; var _toString = Object.prototype.toString; function resolveYamlOmap(data) { - if (data === null) - return true; - var objectKeys = [], index, length, pair, pairKey, pairHasKey, object = data; + if (data === null) return true; + var objectKeys = [], + index, + length, + pair, + pairKey, + pairHasKey, + object = data; for (index = 0, length = object.length; index < length; index += 1) { pair = object[index]; pairHasKey = false; - if (_toString.call(pair) !== "[object Object]") - return false; + if (_toString.call(pair) !== '[object Object]') return false; for (pairKey in pair) { if (_hasOwnProperty.call(pair, pairKey)) { - if (!pairHasKey) - pairHasKey = true; - else - return false; + if (!pairHasKey) pairHasKey = true; + else return false; } } - if (!pairHasKey) - return false; - if (objectKeys.indexOf(pairKey) === -1) - objectKeys.push(pairKey); - else - return false; + if (!pairHasKey) return false; + if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey); + else return false; } return true; } function constructYamlOmap(data) { return data !== null ? data : []; } - module2.exports = new Type("tag:yaml.org,2002:omap", { - kind: "sequence", + module2.exports = new Type('tag:yaml.org,2002:omap', { + kind: 'sequence', resolve: resolveYamlOmap, - construct: constructYamlOmap + construct: constructYamlOmap, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/pairs.js var require_pairs = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/pairs.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/pairs.js'(exports2, module2) { + 'use strict'; var Type = require_type(); var _toString = Object.prototype.toString; function resolveYamlPairs(data) { - if (data === null) - return true; - var index, length, pair, keys, result, object = data; + if (data === null) return true; + var index, + length, + pair, + keys, + result, + object = data; result = new Array(object.length); for (index = 0, length = object.length; index < length; index += 1) { pair = object[index]; - if (_toString.call(pair) !== "[object Object]") - return false; + if (_toString.call(pair) !== '[object Object]') return false; keys = Object.keys(pair); - if (keys.length !== 1) - return false; + if (keys.length !== 1) return false; result[index] = [keys[0], pair[keys[0]]]; } return true; } function constructYamlPairs(data) { - if (data === null) - return []; - var index, length, pair, keys, result, object = data; + if (data === null) return []; + var index, + length, + pair, + keys, + result, + object = data; result = new Array(object.length); for (index = 0, length = object.length; index < length; index += 1) { pair = object[index]; @@ -58009,28 +72568,27 @@ var require_pairs = __commonJS({ } return result; } - module2.exports = new Type("tag:yaml.org,2002:pairs", { - kind: "sequence", + module2.exports = new Type('tag:yaml.org,2002:pairs', { + kind: 'sequence', resolve: resolveYamlPairs, - construct: constructYamlPairs + construct: constructYamlPairs, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/set.js var require_set = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/set.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/set.js'(exports2, module2) { + 'use strict'; var Type = require_type(); var _hasOwnProperty = Object.prototype.hasOwnProperty; function resolveYamlSet(data) { - if (data === null) - return true; - var key, object = data; + if (data === null) return true; + var key, + object = data; for (key in object) { if (_hasOwnProperty.call(object, key)) { - if (object[key] !== null) - return false; + if (object[key] !== null) return false; } } return true; @@ -58038,41 +72596,37 @@ var require_set = __commonJS({ function constructYamlSet(data) { return data !== null ? data : {}; } - module2.exports = new Type("tag:yaml.org,2002:set", { - kind: "mapping", + module2.exports = new Type('tag:yaml.org,2002:set', { + kind: 'mapping', resolve: resolveYamlSet, - construct: constructYamlSet + construct: constructYamlSet, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js var require_default_safe = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js'( + exports2, + module2 + ) { + 'use strict'; var Schema = require_schema(); module2.exports = new Schema({ - include: [ - require_core() - ], - implicit: [ - require_timestamp(), - require_merge() - ], - explicit: [ - require_binary(), - require_omap(), - require_pairs(), - require_set() - ] + include: [require_core()], + implicit: [require_timestamp(), require_merge()], + explicit: [require_binary(), require_omap(), require_pairs(), require_set()], }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js var require_undefined = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js'( + exports2, + module2 + ) { + 'use strict'; var Type = require_type(); function resolveJavascriptUndefined() { return true; @@ -58081,94 +72635,97 @@ var require_undefined = __commonJS({ return void 0; } function representJavascriptUndefined() { - return ""; + return ''; } function isUndefined(object) { - return typeof object === "undefined"; + return typeof object === 'undefined'; } - module2.exports = new Type("tag:yaml.org,2002:js/undefined", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:js/undefined', { + kind: 'scalar', resolve: resolveJavascriptUndefined, construct: constructJavascriptUndefined, predicate: isUndefined, - represent: representJavascriptUndefined + represent: representJavascriptUndefined, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js var require_regexp = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js'(exports2, module2) { + 'use strict'; var Type = require_type(); function resolveJavascriptRegExp(data) { - if (data === null) - return false; - if (data.length === 0) - return false; - var regexp = data, tail = /\/([gim]*)$/.exec(data), modifiers = ""; - if (regexp[0] === "/") { - if (tail) - modifiers = tail[1]; - if (modifiers.length > 3) - return false; - if (regexp[regexp.length - modifiers.length - 1] !== "/") - return false; + if (data === null) return false; + if (data.length === 0) return false; + var regexp = data, + tail = /\/([gim]*)$/.exec(data), + modifiers = ''; + if (regexp[0] === '/') { + if (tail) modifiers = tail[1]; + if (modifiers.length > 3) return false; + if (regexp[regexp.length - modifiers.length - 1] !== '/') return false; } return true; } function constructJavascriptRegExp(data) { - var regexp = data, tail = /\/([gim]*)$/.exec(data), modifiers = ""; - if (regexp[0] === "/") { - if (tail) - modifiers = tail[1]; + var regexp = data, + tail = /\/([gim]*)$/.exec(data), + modifiers = ''; + if (regexp[0] === '/') { + if (tail) modifiers = tail[1]; regexp = regexp.slice(1, regexp.length - modifiers.length - 1); } return new RegExp(regexp, modifiers); } function representJavascriptRegExp(object) { - var result = "/" + object.source + "/"; - if (object.global) - result += "g"; - if (object.multiline) - result += "m"; - if (object.ignoreCase) - result += "i"; + var result = '/' + object.source + '/'; + if (object.global) result += 'g'; + if (object.multiline) result += 'm'; + if (object.ignoreCase) result += 'i'; return result; } function isRegExp(object) { - return Object.prototype.toString.call(object) === "[object RegExp]"; + return Object.prototype.toString.call(object) === '[object RegExp]'; } - module2.exports = new Type("tag:yaml.org,2002:js/regexp", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:js/regexp', { + kind: 'scalar', resolve: resolveJavascriptRegExp, construct: constructJavascriptRegExp, predicate: isRegExp, - represent: representJavascriptRegExp + represent: representJavascriptRegExp, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/function.js var require_function = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/function.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/type/js/function.js'( + exports2, + module2 + ) { + 'use strict'; var esprima; try { _require = require; - esprima = _require("esprima"); + esprima = _require('esprima'); } catch (_) { - if (typeof window !== "undefined") - esprima = window.esprima; + if (typeof window !== 'undefined') esprima = window.esprima; } var _require; var Type = require_type(); function resolveJavascriptFunction(data) { - if (data === null) - return false; + if (data === null) return false; try { - var source = "(" + data + ")", ast = esprima.parse(source, { range: true }); - if (ast.type !== "Program" || ast.body.length !== 1 || ast.body[0].type !== "ExpressionStatement" || ast.body[0].expression.type !== "ArrowFunctionExpression" && ast.body[0].expression.type !== "FunctionExpression") { + var source = '(' + data + ')', + ast = esprima.parse(source, { range: true }); + if ( + ast.type !== 'Program' || + ast.body.length !== 1 || + ast.body[0].type !== 'ExpressionStatement' || + (ast.body[0].expression.type !== 'ArrowFunctionExpression' && + ast.body[0].expression.type !== 'FunctionExpression') + ) { return false; } return true; @@ -58177,57 +72734,63 @@ var require_function = __commonJS({ } } function constructJavascriptFunction(data) { - var source = "(" + data + ")", ast = esprima.parse(source, { range: true }), params = [], body; - if (ast.type !== "Program" || ast.body.length !== 1 || ast.body[0].type !== "ExpressionStatement" || ast.body[0].expression.type !== "ArrowFunctionExpression" && ast.body[0].expression.type !== "FunctionExpression") { - throw new Error("Failed to resolve function"); - } - ast.body[0].expression.params.forEach(function(param) { + var source = '(' + data + ')', + ast = esprima.parse(source, { range: true }), + params = [], + body; + if ( + ast.type !== 'Program' || + ast.body.length !== 1 || + ast.body[0].type !== 'ExpressionStatement' || + (ast.body[0].expression.type !== 'ArrowFunctionExpression' && + ast.body[0].expression.type !== 'FunctionExpression') + ) { + throw new Error('Failed to resolve function'); + } + ast.body[0].expression.params.forEach(function (param) { params.push(param.name); }); body = ast.body[0].expression.body.range; - if (ast.body[0].expression.body.type === "BlockStatement") { + if (ast.body[0].expression.body.type === 'BlockStatement') { return new Function(params, source.slice(body[0] + 1, body[1] - 1)); } - return new Function(params, "return " + source.slice(body[0], body[1])); + return new Function(params, 'return ' + source.slice(body[0], body[1])); } function representJavascriptFunction(object) { return object.toString(); } function isFunction(object) { - return Object.prototype.toString.call(object) === "[object Function]"; + return Object.prototype.toString.call(object) === '[object Function]'; } - module2.exports = new Type("tag:yaml.org,2002:js/function", { - kind: "scalar", + module2.exports = new Type('tag:yaml.org,2002:js/function', { + kind: 'scalar', resolve: resolveJavascriptFunction, construct: constructJavascriptFunction, predicate: isFunction, - represent: representJavascriptFunction + represent: representJavascriptFunction, }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_full.js var require_default_full = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_full.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/schema/default_full.js'( + exports2, + module2 + ) { + 'use strict'; var Schema = require_schema(); module2.exports = Schema.DEFAULT = new Schema({ - include: [ - require_default_safe() - ], - explicit: [ - require_undefined(), - require_regexp(), - require_function() - ] + include: [require_default_safe()], + explicit: [require_undefined(), require_regexp(), require_function()], }); - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/loader.js var require_loader = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/loader.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/loader.js'(exports2, module2) { + 'use strict'; var common = require_common3(); var YAMLException = require_exception(); var Mark = require_mark(); @@ -58241,11 +72804,13 @@ var require_loader = __commonJS({ var CHOMPING_CLIP = 1; var CHOMPING_STRIP = 2; var CHOMPING_KEEP = 3; - var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; + var PATTERN_NON_PRINTABLE = + /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/; var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/; var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i; - var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i; + var PATTERN_TAG_URI = + /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i; function _class(obj) { return Object.prototype.toString.call(obj); } @@ -58291,16 +72856,49 @@ var require_loader = __commonJS({ return -1; } function simpleEscapeSequence(c) { - return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? '"' : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "\x85" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : ""; + return c === 48 + ? '\0' + : c === 97 + ? '\x07' + : c === 98 + ? '\b' + : c === 116 + ? ' ' + : c === 9 + ? ' ' + : c === 110 + ? '\n' + : c === 118 + ? '\v' + : c === 102 + ? '\f' + : c === 114 + ? '\r' + : c === 101 + ? '\x1B' + : c === 32 + ? ' ' + : c === 34 + ? '"' + : c === 47 + ? '/' + : c === 92 + ? '\\' + : c === 78 + ? '\x85' + : c === 95 + ? '\xA0' + : c === 76 + ? '\u2028' + : c === 80 + ? '\u2029' + : ''; } function charFromCodepoint(c) { if (c <= 65535) { return String.fromCharCode(c); } - return String.fromCharCode( - (c - 65536 >> 10) + 55296, - (c - 65536 & 1023) + 56320 - ); + return String.fromCharCode(((c - 65536) >> 10) + 55296, ((c - 65536) & 1023) + 56320); } var simpleEscapeCheck = new Array(256); var simpleEscapeMap = new Array(256); @@ -58311,12 +72909,12 @@ var require_loader = __commonJS({ var i; function State(input, options2) { this.input = input; - this.filename = options2["filename"] || null; - this.schema = options2["schema"] || DEFAULT_FULL_SCHEMA; - this.onWarning = options2["onWarning"] || null; - this.legacy = options2["legacy"] || false; - this.json = options2["json"] || false; - this.listener = options2["listener"] || null; + this.filename = options2['filename'] || null; + this.schema = options2['schema'] || DEFAULT_FULL_SCHEMA; + this.onWarning = options2['onWarning'] || null; + this.legacy = options2['legacy'] || false; + this.json = options2['json'] || false; + this.listener = options2['listener'] || null; this.implicitTypes = this.schema.compiledImplicit; this.typeMap = this.schema.compiledTypeMap; this.length = input.length; @@ -58329,7 +72927,13 @@ var require_loader = __commonJS({ function generateError(state, message) { return new YAMLException( message, - new Mark(state.filename, state.input, state.position, state.line, state.position - state.lineStart) + new Mark( + state.filename, + state.input, + state.position, + state.line, + state.position - state.lineStart + ) ); } function throwError(state, message) { @@ -58344,44 +72948,47 @@ var require_loader = __commonJS({ YAML: function handleYamlDirective(state, name2, args) { var match, major, minor; if (state.version !== null) { - throwError(state, "duplication of %YAML directive"); + throwError(state, 'duplication of %YAML directive'); } if (args.length !== 1) { - throwError(state, "YAML directive accepts exactly one argument"); + throwError(state, 'YAML directive accepts exactly one argument'); } match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]); if (match === null) { - throwError(state, "ill-formed argument of the YAML directive"); + throwError(state, 'ill-formed argument of the YAML directive'); } major = parseInt(match[1], 10); minor = parseInt(match[2], 10); if (major !== 1) { - throwError(state, "unacceptable YAML version of the document"); + throwError(state, 'unacceptable YAML version of the document'); } state.version = args[0]; state.checkLineBreaks = minor < 2; if (minor !== 1 && minor !== 2) { - throwWarning(state, "unsupported YAML version of the document"); + throwWarning(state, 'unsupported YAML version of the document'); } }, TAG: function handleTagDirective(state, name2, args) { var handle, prefix; if (args.length !== 2) { - throwError(state, "TAG directive accepts exactly two arguments"); + throwError(state, 'TAG directive accepts exactly two arguments'); } handle = args[0]; prefix = args[1]; if (!PATTERN_TAG_HANDLE.test(handle)) { - throwError(state, "ill-formed tag handle (first argument) of the TAG directive"); + throwError(state, 'ill-formed tag handle (first argument) of the TAG directive'); } if (_hasOwnProperty.call(state.tagMap, handle)) { - throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle'); + throwError( + state, + 'there is a previously declared suffix for "' + handle + '" tag handle' + ); } if (!PATTERN_TAG_URI.test(prefix)) { - throwError(state, "ill-formed tag prefix (second argument) of the TAG directive"); + throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive'); } state.tagMap[handle] = prefix; - } + }, }; function captureSegment(state, start, end, checkJson) { var _position, _length, _character, _result; @@ -58390,12 +72997,12 @@ var require_loader = __commonJS({ if (checkJson) { for (_position = 0, _length = _result.length; _position < _length; _position += 1) { _character = _result.charCodeAt(_position); - if (!(_character === 9 || 32 <= _character && _character <= 1114111)) { - throwError(state, "expected valid JSON character"); + if (!(_character === 9 || (32 <= _character && _character <= 1114111))) { + throwError(state, 'expected valid JSON character'); } } } else if (PATTERN_NON_PRINTABLE.test(_result)) { - throwError(state, "the stream contains non-printable characters"); + throwError(state, 'the stream contains non-printable characters'); } state.result += _result; } @@ -58403,7 +73010,7 @@ var require_loader = __commonJS({ function mergeMappings(state, destination, source, overridableKeys) { var sourceKeys, key, index, quantity; if (!common.isObject(source)) { - throwError(state, "cannot merge mappings; the provided source object is unacceptable"); + throwError(state, 'cannot merge mappings; the provided source object is unacceptable'); } sourceKeys = Object.keys(source); for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) { @@ -58414,27 +73021,36 @@ var require_loader = __commonJS({ } } } - function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) { + function storeMappingPair( + state, + _result, + overridableKeys, + keyTag, + keyNode, + valueNode, + startLine, + startPos + ) { var index, quantity; if (Array.isArray(keyNode)) { keyNode = Array.prototype.slice.call(keyNode); for (index = 0, quantity = keyNode.length; index < quantity; index += 1) { if (Array.isArray(keyNode[index])) { - throwError(state, "nested arrays are not supported inside keys"); + throwError(state, 'nested arrays are not supported inside keys'); } - if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") { - keyNode[index] = "[object Object]"; + if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') { + keyNode[index] = '[object Object]'; } } } - if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") { - keyNode = "[object Object]"; + if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') { + keyNode = '[object Object]'; } keyNode = String(keyNode); if (_result === null) { _result = {}; } - if (keyTag === "tag:yaml.org,2002:merge") { + if (keyTag === 'tag:yaml.org,2002:merge') { if (Array.isArray(valueNode)) { for (index = 0, quantity = valueNode.length; index < quantity; index += 1) { mergeMappings(state, _result, valueNode[index], overridableKeys); @@ -58443,10 +73059,14 @@ var require_loader = __commonJS({ mergeMappings(state, _result, valueNode, overridableKeys); } } else { - if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) { + if ( + !state.json && + !_hasOwnProperty.call(overridableKeys, keyNode) && + _hasOwnProperty.call(_result, keyNode) + ) { state.line = startLine || state.line; state.position = startPos || state.position; - throwError(state, "duplicated mapping key"); + throwError(state, 'duplicated mapping key'); } _result[keyNode] = valueNode; delete overridableKeys[keyNode]; @@ -58464,13 +73084,14 @@ var require_loader = __commonJS({ state.position++; } } else { - throwError(state, "a line break is expected"); + throwError(state, 'a line break is expected'); } state.line += 1; state.lineStart = state.position; } function skipSeparationSpace(state, allowComments, checkIndent) { - var lineBreaks = 0, ch = state.input.charCodeAt(state.position); + var lineBreaks = 0, + ch = state.input.charCodeAt(state.position); while (ch !== 0) { while (is_WHITE_SPACE(ch)) { ch = state.input.charCodeAt(++state.position); @@ -58494,14 +73115,19 @@ var require_loader = __commonJS({ } } if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) { - throwWarning(state, "deficient indentation"); + throwWarning(state, 'deficient indentation'); } return lineBreaks; } function testDocumentSeparator(state) { - var _position = state.position, ch; + var _position = state.position, + ch; ch = state.input.charCodeAt(_position); - if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) { + if ( + (ch === 45 || ch === 46) && + ch === state.input.charCodeAt(_position + 1) && + ch === state.input.charCodeAt(_position + 2) + ) { _position += 3; ch = state.input.charCodeAt(_position); if (ch === 0 || is_WS_OR_EOL(ch)) { @@ -58512,31 +73138,55 @@ var require_loader = __commonJS({ } function writeFoldedLines(state, count) { if (count === 1) { - state.result += " "; + state.result += ' '; } else if (count > 1) { - state.result += common.repeat("\n", count - 1); + state.result += common.repeat('\n', count - 1); } } function readPlainScalar(state, nodeIndent, withinFlowCollection) { - var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch; + var preceding, + following, + captureStart, + captureEnd, + hasPendingContent, + _line, + _lineStart, + _lineIndent, + _kind = state.kind, + _result = state.result, + ch; ch = state.input.charCodeAt(state.position); - if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) { + if ( + is_WS_OR_EOL(ch) || + is_FLOW_INDICATOR(ch) || + ch === 35 || + ch === 38 || + ch === 42 || + ch === 33 || + ch === 124 || + ch === 62 || + ch === 39 || + ch === 34 || + ch === 37 || + ch === 64 || + ch === 96 + ) { return false; } if (ch === 63 || ch === 45) { following = state.input.charCodeAt(state.position + 1); - if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) { + if (is_WS_OR_EOL(following) || (withinFlowCollection && is_FLOW_INDICATOR(following))) { return false; } } - state.kind = "scalar"; - state.result = ""; + state.kind = 'scalar'; + state.result = ''; captureStart = captureEnd = state.position; hasPendingContent = false; while (ch !== 0) { if (ch === 58) { following = state.input.charCodeAt(state.position + 1); - if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) { + if (is_WS_OR_EOL(following) || (withinFlowCollection && is_FLOW_INDICATOR(following))) { break; } } else if (ch === 35) { @@ -58544,7 +73194,10 @@ var require_loader = __commonJS({ if (is_WS_OR_EOL(preceding)) { break; } - } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) { + } else if ( + (state.position === state.lineStart && testDocumentSeparator(state)) || + (withinFlowCollection && is_FLOW_INDICATOR(ch)) + ) { break; } else if (is_EOL(ch)) { _line = state.line; @@ -58588,8 +73241,8 @@ var require_loader = __commonJS({ if (ch !== 39) { return false; } - state.kind = "scalar"; - state.result = ""; + state.kind = 'scalar'; + state.result = ''; state.position++; captureStart = captureEnd = state.position; while ((ch = state.input.charCodeAt(state.position)) !== 0) { @@ -58608,13 +73261,13 @@ var require_loader = __commonJS({ writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); captureStart = captureEnd = state.position; } else if (state.position === state.lineStart && testDocumentSeparator(state)) { - throwError(state, "unexpected end of the document within a single quoted scalar"); + throwError(state, 'unexpected end of the document within a single quoted scalar'); } else { state.position++; captureEnd = state.position; } } - throwError(state, "unexpected end of the stream within a single quoted scalar"); + throwError(state, 'unexpected end of the stream within a single quoted scalar'); } function readDoubleQuotedScalar(state, nodeIndent) { var captureStart, captureEnd, hexLength, hexResult, tmp, ch; @@ -58622,8 +73275,8 @@ var require_loader = __commonJS({ if (ch !== 34) { return false; } - state.kind = "scalar"; - state.result = ""; + state.kind = 'scalar'; + state.result = ''; state.position++; captureStart = captureEnd = state.position; while ((ch = state.input.charCodeAt(state.position)) !== 0) { @@ -58647,13 +73300,13 @@ var require_loader = __commonJS({ if ((tmp = fromHexCode(ch)) >= 0) { hexResult = (hexResult << 4) + tmp; } else { - throwError(state, "expected hexadecimal character"); + throwError(state, 'expected hexadecimal character'); } } state.result += charFromCodepoint(hexResult); state.position++; } else { - throwError(state, "unknown escape sequence"); + throwError(state, 'unknown escape sequence'); } captureStart = captureEnd = state.position; } else if (is_EOL(ch)) { @@ -58661,16 +73314,30 @@ var require_loader = __commonJS({ writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent)); captureStart = captureEnd = state.position; } else if (state.position === state.lineStart && testDocumentSeparator(state)) { - throwError(state, "unexpected end of the document within a double quoted scalar"); + throwError(state, 'unexpected end of the document within a double quoted scalar'); } else { state.position++; captureEnd = state.position; } } - throwError(state, "unexpected end of the stream within a double quoted scalar"); + throwError(state, 'unexpected end of the stream within a double quoted scalar'); } function readFlowCollection(state, nodeIndent) { - var readNext = true, _line, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = {}, keyNode, keyTag, valueNode, ch; + var readNext = true, + _line, + _tag = state.tag, + _result, + _anchor = state.anchor, + following, + terminator, + isPair, + isExplicitPair, + isMapping, + overridableKeys = {}, + keyNode, + keyTag, + valueNode, + ch; ch = state.input.charCodeAt(state.position); if (ch === 91) { terminator = 93; @@ -58694,11 +73361,11 @@ var require_loader = __commonJS({ state.position++; state.tag = _tag; state.anchor = _anchor; - state.kind = isMapping ? "mapping" : "sequence"; + state.kind = isMapping ? 'mapping' : 'sequence'; state.result = _result; return true; } else if (!readNext) { - throwError(state, "missed comma between flow collection entries"); + throwError(state, 'missed comma between flow collection entries'); } keyTag = keyNode = valueNode = null; isPair = isExplicitPair = false; @@ -58739,10 +73406,19 @@ var require_loader = __commonJS({ readNext = false; } } - throwError(state, "unexpected end of the stream within a flow collection"); + throwError(state, 'unexpected end of the stream within a flow collection'); } function readBlockScalar(state, nodeIndent) { - var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch; + var captureStart, + folding, + chomping = CHOMPING_CLIP, + didReadContent = false, + detectedIndent = false, + textIndent = nodeIndent, + emptyLines = 0, + atMoreIndented = false, + tmp, + ch; ch = state.input.charCodeAt(state.position); if (ch === 124) { folding = false; @@ -58751,24 +73427,27 @@ var require_loader = __commonJS({ } else { return false; } - state.kind = "scalar"; - state.result = ""; + state.kind = 'scalar'; + state.result = ''; while (ch !== 0) { ch = state.input.charCodeAt(++state.position); if (ch === 43 || ch === 45) { if (CHOMPING_CLIP === chomping) { chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP; } else { - throwError(state, "repeat of a chomping mode identifier"); + throwError(state, 'repeat of a chomping mode identifier'); } } else if ((tmp = fromDecimalCode(ch)) >= 0) { if (tmp === 0) { - throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one"); + throwError( + state, + 'bad explicit indentation width of a block scalar; it cannot be less than one' + ); } else if (!detectedIndent) { textIndent = nodeIndent + tmp - 1; detectedIndent = true; } else { - throwError(state, "repeat of an indentation width identifier"); + throwError(state, 'repeat of an indentation width identifier'); } } else { break; @@ -58801,10 +73480,10 @@ var require_loader = __commonJS({ } if (state.lineIndent < textIndent) { if (chomping === CHOMPING_KEEP) { - state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); } else if (chomping === CHOMPING_CLIP) { if (didReadContent) { - state.result += "\n"; + state.result += '\n'; } } break; @@ -58812,19 +73491,19 @@ var require_loader = __commonJS({ if (folding) { if (is_WHITE_SPACE(ch)) { atMoreIndented = true; - state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); } else if (atMoreIndented) { atMoreIndented = false; - state.result += common.repeat("\n", emptyLines + 1); + state.result += common.repeat('\n', emptyLines + 1); } else if (emptyLines === 0) { if (didReadContent) { - state.result += " "; + state.result += ' '; } } else { - state.result += common.repeat("\n", emptyLines); + state.result += common.repeat('\n', emptyLines); } } else { - state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines); + state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines); } didReadContent = true; detectedIndent = true; @@ -58838,7 +73517,13 @@ var require_loader = __commonJS({ return true; } function readBlockSequence(state, nodeIndent) { - var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch; + var _line, + _tag = state.tag, + _anchor = state.anchor, + _result = [], + following, + detected = false, + ch; if (state.anchor !== null) { state.anchorMap[state.anchor] = _result; } @@ -58866,7 +73551,7 @@ var require_loader = __commonJS({ skipSeparationSpace(state, true, -1); ch = state.input.charCodeAt(state.position); if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) { - throwError(state, "bad indentation of a sequence entry"); + throwError(state, 'bad indentation of a sequence entry'); } else if (state.lineIndent < nodeIndent) { break; } @@ -58874,14 +73559,27 @@ var require_loader = __commonJS({ if (detected) { state.tag = _tag; state.anchor = _anchor; - state.kind = "sequence"; + state.kind = 'sequence'; state.result = _result; return true; } return false; } function readBlockMapping(state, nodeIndent, flowIndent) { - var following, allowCompact, _line, _pos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = {}, keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch; + var following, + allowCompact, + _line, + _pos, + _tag = state.tag, + _anchor = state.anchor, + _result = {}, + overridableKeys = {}, + keyTag = null, + keyNode = null, + valueNode = null, + atExplicitKey = false, + detected = false, + ch; if (state.anchor !== null) { state.anchorMap[state.anchor] = _result; } @@ -58903,7 +73601,10 @@ var require_loader = __commonJS({ atExplicitKey = false; allowCompact = true; } else { - throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"); + throwError( + state, + 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line' + ); } state.position += 1; ch = following; @@ -58916,7 +73617,10 @@ var require_loader = __commonJS({ if (ch === 58) { ch = state.input.charCodeAt(++state.position); if (!is_WS_OR_EOL(ch)) { - throwError(state, "a whitespace character is expected after the key-value separator within a block mapping"); + throwError( + state, + 'a whitespace character is expected after the key-value separator within a block mapping' + ); } if (atExplicitKey) { storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null); @@ -58928,14 +73632,17 @@ var require_loader = __commonJS({ keyTag = state.tag; keyNode = state.result; } else if (detected) { - throwError(state, "can not read an implicit mapping pair; a colon is missed"); + throwError(state, 'can not read an implicit mapping pair; a colon is missed'); } else { state.tag = _tag; state.anchor = _anchor; return true; } } else if (detected) { - throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key"); + throwError( + state, + 'can not read a block mapping entry; a multiline key may not be an implicit key' + ); } else { state.tag = _tag; state.anchor = _anchor; @@ -58953,14 +73660,23 @@ var require_loader = __commonJS({ } } if (!atExplicitKey) { - storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos); + storeMappingPair( + state, + _result, + overridableKeys, + keyTag, + keyNode, + valueNode, + _line, + _pos + ); keyTag = keyNode = valueNode = null; } skipSeparationSpace(state, true, -1); ch = state.input.charCodeAt(state.position); } if (state.lineIndent > nodeIndent && ch !== 0) { - throwError(state, "bad indentation of a mapping entry"); + throwError(state, 'bad indentation of a mapping entry'); } else if (state.lineIndent < nodeIndent) { break; } @@ -58971,18 +73687,22 @@ var require_loader = __commonJS({ if (detected) { state.tag = _tag; state.anchor = _anchor; - state.kind = "mapping"; + state.kind = 'mapping'; state.result = _result; } return detected; } function readTagProperty(state) { - var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch; + var _position, + isVerbatim = false, + isNamed = false, + tagHandle, + tagName, + ch; ch = state.input.charCodeAt(state.position); - if (ch !== 33) - return false; + if (ch !== 33) return false; if (state.tag !== null) { - throwError(state, "duplication of a tag property"); + throwError(state, 'duplication of a tag property'); } ch = state.input.charCodeAt(++state.position); if (ch === 60) { @@ -58990,10 +73710,10 @@ var require_loader = __commonJS({ ch = state.input.charCodeAt(++state.position); } else if (ch === 33) { isNamed = true; - tagHandle = "!!"; + tagHandle = '!!'; ch = state.input.charCodeAt(++state.position); } else { - tagHandle = "!"; + tagHandle = '!'; } _position = state.position; if (isVerbatim) { @@ -59004,7 +73724,7 @@ var require_loader = __commonJS({ tagName = state.input.slice(_position, state.position); ch = state.input.charCodeAt(++state.position); } else { - throwError(state, "unexpected end of the stream within a verbatim tag"); + throwError(state, 'unexpected end of the stream within a verbatim tag'); } } else { while (ch !== 0 && !is_WS_OR_EOL(ch)) { @@ -59012,32 +73732,32 @@ var require_loader = __commonJS({ if (!isNamed) { tagHandle = state.input.slice(_position - 1, state.position + 1); if (!PATTERN_TAG_HANDLE.test(tagHandle)) { - throwError(state, "named tag handle cannot contain such characters"); + throwError(state, 'named tag handle cannot contain such characters'); } isNamed = true; _position = state.position + 1; } else { - throwError(state, "tag suffix cannot contain exclamation marks"); + throwError(state, 'tag suffix cannot contain exclamation marks'); } } ch = state.input.charCodeAt(++state.position); } tagName = state.input.slice(_position, state.position); if (PATTERN_FLOW_INDICATORS.test(tagName)) { - throwError(state, "tag suffix cannot contain flow indicator characters"); + throwError(state, 'tag suffix cannot contain flow indicator characters'); } } if (tagName && !PATTERN_TAG_URI.test(tagName)) { - throwError(state, "tag name cannot contain such characters: " + tagName); + throwError(state, 'tag name cannot contain such characters: ' + tagName); } if (isVerbatim) { state.tag = tagName; } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) { state.tag = state.tagMap[tagHandle] + tagName; - } else if (tagHandle === "!") { - state.tag = "!" + tagName; - } else if (tagHandle === "!!") { - state.tag = "tag:yaml.org,2002:" + tagName; + } else if (tagHandle === '!') { + state.tag = '!' + tagName; + } else if (tagHandle === '!!') { + state.tag = 'tag:yaml.org,2002:' + tagName; } else { throwError(state, 'undeclared tag handle "' + tagHandle + '"'); } @@ -59046,10 +73766,9 @@ var require_loader = __commonJS({ function readAnchorProperty(state) { var _position, ch; ch = state.input.charCodeAt(state.position); - if (ch !== 38) - return false; + if (ch !== 38) return false; if (state.anchor !== null) { - throwError(state, "duplication of an anchor property"); + throwError(state, 'duplication of an anchor property'); } ch = state.input.charCodeAt(++state.position); _position = state.position; @@ -59057,7 +73776,7 @@ var require_loader = __commonJS({ ch = state.input.charCodeAt(++state.position); } if (state.position === _position) { - throwError(state, "name of an anchor node must contain at least one character"); + throwError(state, 'name of an anchor node must contain at least one character'); } state.anchor = state.input.slice(_position, state.position); return true; @@ -59065,15 +73784,14 @@ var require_loader = __commonJS({ function readAlias(state) { var _position, alias, ch; ch = state.input.charCodeAt(state.position); - if (ch !== 42) - return false; + if (ch !== 42) return false; ch = state.input.charCodeAt(++state.position); _position = state.position; while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) { ch = state.input.charCodeAt(++state.position); } if (state.position === _position) { - throwError(state, "name of an alias node must contain at least one character"); + throwError(state, 'name of an alias node must contain at least one character'); } alias = state.input.slice(_position, state.position); if (!_hasOwnProperty.call(state.anchorMap, alias)) { @@ -59084,15 +73802,28 @@ var require_loader = __commonJS({ return true; } function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) { - var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, type, flowIndent, blockIndent; + var allowBlockStyles, + allowBlockScalars, + allowBlockCollections, + indentStatus = 1, + atNewLine = false, + hasContent = false, + typeIndex, + typeQuantity, + type, + flowIndent, + blockIndent; if (state.listener !== null) { - state.listener("open", state); + state.listener('open', state); } state.tag = null; state.anchor = null; state.kind = null; state.result = null; - allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext; + allowBlockStyles = + allowBlockScalars = + allowBlockCollections = + CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext; if (allowToSeek) { if (skipSeparationSpace(state, true, -1)) { atNewLine = true; @@ -59133,20 +73864,29 @@ var require_loader = __commonJS({ } blockIndent = state.position - state.lineStart; if (indentStatus === 1) { - if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) { + if ( + (allowBlockCollections && + (readBlockSequence(state, blockIndent) || + readBlockMapping(state, blockIndent, flowIndent))) || + readFlowCollection(state, flowIndent) + ) { hasContent = true; } else { - if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) { + if ( + (allowBlockScalars && readBlockScalar(state, flowIndent)) || + readSingleQuotedScalar(state, flowIndent) || + readDoubleQuotedScalar(state, flowIndent) + ) { hasContent = true; } else if (readAlias(state)) { hasContent = true; if (state.tag !== null || state.anchor !== null) { - throwError(state, "alias node should not have any properties"); + throwError(state, 'alias node should not have any properties'); } } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) { hasContent = true; if (state.tag === null) { - state.tag = "?"; + state.tag = '?'; } } if (state.anchor !== null) { @@ -59157,12 +73897,19 @@ var require_loader = __commonJS({ hasContent = allowBlockCollections && readBlockSequence(state, blockIndent); } } - if (state.tag !== null && state.tag !== "!") { - if (state.tag === "?") { - if (state.result !== null && state.kind !== "scalar") { - throwError(state, 'unacceptable node kind for ! tag; it should be "scalar", not "' + state.kind + '"'); + if (state.tag !== null && state.tag !== '!') { + if (state.tag === '?') { + if (state.result !== null && state.kind !== 'scalar') { + throwError( + state, + 'unacceptable node kind for ! tag; it should be "scalar", not "' + state.kind + '"' + ); } - for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) { + for ( + typeIndex = 0, typeQuantity = state.implicitTypes.length; + typeIndex < typeQuantity; + typeIndex += 1 + ) { type = state.implicitTypes[typeIndex]; if (type.resolve(state.result)) { state.result = type.construct(state.result); @@ -59173,13 +73920,22 @@ var require_loader = __commonJS({ break; } } - } else if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) { - type = state.typeMap[state.kind || "fallback"][state.tag]; + } else if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) { + type = state.typeMap[state.kind || 'fallback'][state.tag]; if (state.result !== null && type.kind !== state.kind) { - throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"'); + throwError( + state, + 'unacceptable node kind for !<' + + state.tag + + '> tag; it should be "' + + type.kind + + '", not "' + + state.kind + + '"' + ); } if (!type.resolve(state.result)) { - throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag"); + throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag'); } else { state.result = type.construct(state.result); if (state.anchor !== null) { @@ -59187,16 +73943,21 @@ var require_loader = __commonJS({ } } } else { - throwError(state, "unknown tag !<" + state.tag + ">"); + throwError(state, 'unknown tag !<' + state.tag + '>'); } } if (state.listener !== null) { - state.listener("close", state); + state.listener('close', state); } return state.tag !== null || state.anchor !== null || hasContent; } function readDocument(state) { - var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch; + var documentStart = state.position, + _position, + directiveName, + directiveArgs, + hasDirectives = false, + ch; state.version = null; state.checkLineBreaks = state.legacy; state.tagMap = {}; @@ -59216,7 +73977,7 @@ var require_loader = __commonJS({ directiveName = state.input.slice(_position, state.position); directiveArgs = []; if (directiveName.length < 1) { - throwError(state, "directive name must not be less than one character in length"); + throwError(state, 'directive name must not be less than one character in length'); } while (ch !== 0) { while (is_WHITE_SPACE(ch)) { @@ -59228,16 +73989,14 @@ var require_loader = __commonJS({ } while (ch !== 0 && !is_EOL(ch)); break; } - if (is_EOL(ch)) - break; + if (is_EOL(ch)) break; _position = state.position; while (ch !== 0 && !is_WS_OR_EOL(ch)) { ch = state.input.charCodeAt(++state.position); } directiveArgs.push(state.input.slice(_position, state.position)); } - if (ch !== 0) - readLineBreak(state); + if (ch !== 0) readLineBreak(state); if (_hasOwnProperty.call(directiveHandlers, directiveName)) { directiveHandlers[directiveName](state, directiveName, directiveArgs); } else { @@ -59245,16 +74004,24 @@ var require_loader = __commonJS({ } } skipSeparationSpace(state, true, -1); - if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) { + if ( + state.lineIndent === 0 && + state.input.charCodeAt(state.position) === 45 && + state.input.charCodeAt(state.position + 1) === 45 && + state.input.charCodeAt(state.position + 2) === 45 + ) { state.position += 3; skipSeparationSpace(state, true, -1); } else if (hasDirectives) { - throwError(state, "directives end mark is expected"); + throwError(state, 'directives end mark is expected'); } composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true); skipSeparationSpace(state, true, -1); - if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) { - throwWarning(state, "non-ASCII line breaks are interpreted as content"); + if ( + state.checkLineBreaks && + PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position)) + ) { + throwWarning(state, 'non-ASCII line breaks are interpreted as content'); } state.documents.push(state.result); if (state.position === state.lineStart && testDocumentSeparator(state)) { @@ -59265,7 +74032,7 @@ var require_loader = __commonJS({ return; } if (state.position < state.length - 1) { - throwError(state, "end of the stream or a document separator is expected"); + throwError(state, 'end of the stream or a document separator is expected'); } else { return; } @@ -59274,20 +74041,23 @@ var require_loader = __commonJS({ input = String(input); options2 = options2 || {}; if (input.length !== 0) { - if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) { - input += "\n"; + if ( + input.charCodeAt(input.length - 1) !== 10 && + input.charCodeAt(input.length - 1) !== 13 + ) { + input += '\n'; } if (input.charCodeAt(0) === 65279) { input = input.slice(1); } } var state = new State(input, options2); - var nullpos = input.indexOf("\0"); + var nullpos = input.indexOf('\0'); if (nullpos !== -1) { state.position = nullpos; - throwError(state, "null byte is not allowed in input"); + throwError(state, 'null byte is not allowed in input'); } - state.input += "\0"; + state.input += '\0'; while (state.input.charCodeAt(state.position) === 32) { state.lineIndent += 1; state.position += 1; @@ -59298,12 +74068,12 @@ var require_loader = __commonJS({ return state.documents; } function loadAll(input, iterator, options2) { - if (iterator !== null && typeof iterator === "object" && typeof options2 === "undefined") { + if (iterator !== null && typeof iterator === 'object' && typeof options2 === 'undefined') { options2 = iterator; iterator = null; } var documents = loadDocuments(input, options2); - if (typeof iterator !== "function") { + if (typeof iterator !== 'function') { return documents; } for (var index = 0, length = documents.length; index < length; index += 1) { @@ -59317,10 +74087,10 @@ var require_loader = __commonJS({ } else if (documents.length === 1) { return documents[0]; } - throw new YAMLException("expected a single document in the stream, but found more"); + throw new YAMLException('expected a single document in the stream, but found more'); } function safeLoadAll(input, iterator, options2) { - if (typeof iterator === "object" && iterator !== null && typeof options2 === "undefined") { + if (typeof iterator === 'object' && iterator !== null && typeof options2 === 'undefined') { options2 = iterator; iterator = null; } @@ -59333,13 +74103,13 @@ var require_loader = __commonJS({ module2.exports.load = load; module2.exports.safeLoadAll = safeLoadAll; module2.exports.safeLoad = safeLoad; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/dumper.js var require_dumper = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/dumper.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml/dumper.js'(exports2, module2) { + 'use strict'; var common = require_common3(); var YAMLException = require_exception(); var DEFAULT_FULL_SCHEMA = require_default_full(); @@ -59371,52 +74141,51 @@ var require_dumper = __commonJS({ var CHAR_VERTICAL_LINE = 124; var CHAR_RIGHT_CURLY_BRACKET = 125; var ESCAPE_SEQUENCES = {}; - ESCAPE_SEQUENCES[0] = "\\0"; - ESCAPE_SEQUENCES[7] = "\\a"; - ESCAPE_SEQUENCES[8] = "\\b"; - ESCAPE_SEQUENCES[9] = "\\t"; - ESCAPE_SEQUENCES[10] = "\\n"; - ESCAPE_SEQUENCES[11] = "\\v"; - ESCAPE_SEQUENCES[12] = "\\f"; - ESCAPE_SEQUENCES[13] = "\\r"; - ESCAPE_SEQUENCES[27] = "\\e"; + ESCAPE_SEQUENCES[0] = '\\0'; + ESCAPE_SEQUENCES[7] = '\\a'; + ESCAPE_SEQUENCES[8] = '\\b'; + ESCAPE_SEQUENCES[9] = '\\t'; + ESCAPE_SEQUENCES[10] = '\\n'; + ESCAPE_SEQUENCES[11] = '\\v'; + ESCAPE_SEQUENCES[12] = '\\f'; + ESCAPE_SEQUENCES[13] = '\\r'; + ESCAPE_SEQUENCES[27] = '\\e'; ESCAPE_SEQUENCES[34] = '\\"'; - ESCAPE_SEQUENCES[92] = "\\\\"; - ESCAPE_SEQUENCES[133] = "\\N"; - ESCAPE_SEQUENCES[160] = "\\_"; - ESCAPE_SEQUENCES[8232] = "\\L"; - ESCAPE_SEQUENCES[8233] = "\\P"; + ESCAPE_SEQUENCES[92] = '\\\\'; + ESCAPE_SEQUENCES[133] = '\\N'; + ESCAPE_SEQUENCES[160] = '\\_'; + ESCAPE_SEQUENCES[8232] = '\\L'; + ESCAPE_SEQUENCES[8233] = '\\P'; var DEPRECATED_BOOLEANS_SYNTAX = [ - "y", - "Y", - "yes", - "Yes", - "YES", - "on", - "On", - "ON", - "n", - "N", - "no", - "No", - "NO", - "off", - "Off", - "OFF" + 'y', + 'Y', + 'yes', + 'Yes', + 'YES', + 'on', + 'On', + 'ON', + 'n', + 'N', + 'no', + 'No', + 'NO', + 'off', + 'Off', + 'OFF', ]; function compileStyleMap(schema, map) { var result, keys, index, length, tag, style, type; - if (map === null) - return {}; + if (map === null) return {}; result = {}; keys = Object.keys(map); for (index = 0, length = keys.length; index < length; index += 1) { tag = keys[index]; style = String(map[tag]); - if (tag.slice(0, 2) === "!!") { - tag = "tag:yaml.org,2002:" + tag.slice(2); + if (tag.slice(0, 2) === '!!') { + tag = 'tag:yaml.org,2002:' + tag.slice(2); } - type = schema.compiledTypeMap["fallback"][tag]; + type = schema.compiledTypeMap['fallback'][tag]; if (type && _hasOwnProperty.call(type.styleAliases, style)) { style = type.styleAliases[style]; } @@ -59428,42 +74197,47 @@ var require_dumper = __commonJS({ var string, handle, length; string = character.toString(16).toUpperCase(); if (character <= 255) { - handle = "x"; + handle = 'x'; length = 2; } else if (character <= 65535) { - handle = "u"; + handle = 'u'; length = 4; } else if (character <= 4294967295) { - handle = "U"; + handle = 'U'; length = 8; } else { - throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF"); + throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF'); } - return "\\" + handle + common.repeat("0", length - string.length) + string; + return '\\' + handle + common.repeat('0', length - string.length) + string; } function State(options2) { - this.schema = options2["schema"] || DEFAULT_FULL_SCHEMA; - this.indent = Math.max(1, options2["indent"] || 2); - this.noArrayIndent = options2["noArrayIndent"] || false; - this.skipInvalid = options2["skipInvalid"] || false; - this.flowLevel = common.isNothing(options2["flowLevel"]) ? -1 : options2["flowLevel"]; - this.styleMap = compileStyleMap(this.schema, options2["styles"] || null); - this.sortKeys = options2["sortKeys"] || false; - this.lineWidth = options2["lineWidth"] || 80; - this.noRefs = options2["noRefs"] || false; - this.noCompatMode = options2["noCompatMode"] || false; - this.condenseFlow = options2["condenseFlow"] || false; + this.schema = options2['schema'] || DEFAULT_FULL_SCHEMA; + this.indent = Math.max(1, options2['indent'] || 2); + this.noArrayIndent = options2['noArrayIndent'] || false; + this.skipInvalid = options2['skipInvalid'] || false; + this.flowLevel = common.isNothing(options2['flowLevel']) ? -1 : options2['flowLevel']; + this.styleMap = compileStyleMap(this.schema, options2['styles'] || null); + this.sortKeys = options2['sortKeys'] || false; + this.lineWidth = options2['lineWidth'] || 80; + this.noRefs = options2['noRefs'] || false; + this.noCompatMode = options2['noCompatMode'] || false; + this.condenseFlow = options2['condenseFlow'] || false; this.implicitTypes = this.schema.compiledImplicit; this.explicitTypes = this.schema.compiledExplicit; this.tag = null; - this.result = ""; + this.result = ''; this.duplicates = []; this.usedDuplicates = null; } function indentString(string, spaces) { - var ind = common.repeat(" ", spaces), position = 0, next = -1, result = "", line, length = string.length; + var ind = common.repeat(' ', spaces), + position = 0, + next = -1, + result = '', + line, + length = string.length; while (position < length) { - next = string.indexOf("\n", position); + next = string.indexOf('\n', position); if (next === -1) { line = string.slice(position); position = length; @@ -59471,14 +74245,13 @@ var require_dumper = __commonJS({ line = string.slice(position, next + 1); position = next + 1; } - if (line.length && line !== "\n") - result += ind; + if (line.length && line !== '\n') result += ind; result += line; } return result; } function generateNextLine(state, level) { - return "\n" + common.repeat(" ", state.indent * level); + return '\n' + common.repeat(' ', state.indent * level); } function testImplicitResolving(state, str2) { var index, length, type; @@ -59494,16 +74267,61 @@ var require_dumper = __commonJS({ return c === CHAR_SPACE || c === CHAR_TAB; } function isPrintable(c) { - return 32 <= c && c <= 126 || 161 <= c && c <= 55295 && c !== 8232 && c !== 8233 || 57344 <= c && c <= 65533 && c !== 65279 || 65536 <= c && c <= 1114111; + return ( + (32 <= c && c <= 126) || + (161 <= c && c <= 55295 && c !== 8232 && c !== 8233) || + (57344 <= c && c <= 65533 && c !== 65279) || + (65536 <= c && c <= 1114111) + ); } function isNsChar(c) { - return isPrintable(c) && !isWhitespace(c) && c !== 65279 && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED; + return ( + isPrintable(c) && + !isWhitespace(c) && + c !== 65279 && + c !== CHAR_CARRIAGE_RETURN && + c !== CHAR_LINE_FEED + ); } function isPlainSafe(c, prev) { - return isPrintable(c) && c !== 65279 && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_COLON && (c !== CHAR_SHARP || prev && isNsChar(prev)); + return ( + isPrintable(c) && + c !== 65279 && + c !== CHAR_COMMA && + c !== CHAR_LEFT_SQUARE_BRACKET && + c !== CHAR_RIGHT_SQUARE_BRACKET && + c !== CHAR_LEFT_CURLY_BRACKET && + c !== CHAR_RIGHT_CURLY_BRACKET && + c !== CHAR_COLON && + (c !== CHAR_SHARP || (prev && isNsChar(prev))) + ); } function isPlainSafeFirst(c) { - return isPrintable(c) && c !== 65279 && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT; + return ( + isPrintable(c) && + c !== 65279 && + !isWhitespace(c) && + c !== CHAR_MINUS && + c !== CHAR_QUESTION && + c !== CHAR_COLON && + c !== CHAR_COMMA && + c !== CHAR_LEFT_SQUARE_BRACKET && + c !== CHAR_RIGHT_SQUARE_BRACKET && + c !== CHAR_LEFT_CURLY_BRACKET && + c !== CHAR_RIGHT_CURLY_BRACKET && + c !== CHAR_SHARP && + c !== CHAR_AMPERSAND && + c !== CHAR_ASTERISK && + c !== CHAR_EXCLAMATION && + c !== CHAR_VERTICAL_LINE && + c !== CHAR_EQUALS && + c !== CHAR_GREATER_THAN && + c !== CHAR_SINGLE_QUOTE && + c !== CHAR_DOUBLE_QUOTE && + c !== CHAR_PERCENT && + c !== CHAR_COMMERCIAL_AT && + c !== CHAR_GRAVE_ACCENT + ); } function needIndentIndicator(string) { var leadingSpaceRe = /^\n* /; @@ -59514,14 +74332,22 @@ var require_dumper = __commonJS({ var STYLE_LITERAL = 3; var STYLE_FOLDED = 4; var STYLE_DOUBLE = 5; - function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) { + function chooseScalarStyle( + string, + singleLineOnly, + indentPerLevel, + lineWidth, + testAmbiguousType + ) { var i; var char, prev_char; var hasLineBreak = false; var hasFoldableLine = false; var shouldTrackWidth = lineWidth !== -1; var previousLineBreak = -1; - var plain = isPlainSafeFirst(string.charCodeAt(0)) && !isWhitespace(string.charCodeAt(string.length - 1)); + var plain = + isPlainSafeFirst(string.charCodeAt(0)) && + !isWhitespace(string.charCodeAt(string.length - 1)); if (singleLineOnly) { for (i = 0; i < string.length; i++) { char = string.charCodeAt(i); @@ -59537,7 +74363,9 @@ var require_dumper = __commonJS({ if (char === CHAR_LINE_FEED) { hasLineBreak = true; if (shouldTrackWidth) { - hasFoldableLine = hasFoldableLine || i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " "; + hasFoldableLine = + hasFoldableLine || + (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== ' '); previousLineBreak = i; } } else if (!isPrintable(char)) { @@ -59546,7 +74374,11 @@ var require_dumper = __commonJS({ prev_char = i > 0 ? string.charCodeAt(i - 1) : null; plain = plain && isPlainSafe(char, prev_char); } - hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " "); + hasFoldableLine = + hasFoldableLine || + (shouldTrackWidth && + i - previousLineBreak - 1 > lineWidth && + string[previousLineBreak + 1] !== ' '); } if (!hasLineBreak && !hasFoldableLine) { return plain && !testAmbiguousType(string) ? STYLE_PLAIN : STYLE_SINGLE; @@ -59557,7 +74389,7 @@ var require_dumper = __commonJS({ return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL; } function writeScalar(state, string, level, iskey) { - state.dump = function() { + state.dump = (function () { if (string.length === 0) { return "''"; } @@ -59565,8 +74397,11 @@ var require_dumper = __commonJS({ return "'" + string + "'"; } var indent = state.indent * Math.max(1, level); - var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent); - var singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel; + var lineWidth = + state.lineWidth === -1 + ? -1 + : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent); + var singleLineOnly = iskey || (state.flowLevel > -1 && level >= state.flowLevel); function testAmbiguity(string2) { return testImplicitResolving(state, string2); } @@ -59576,71 +74411,85 @@ var require_dumper = __commonJS({ case STYLE_SINGLE: return "'" + string.replace(/'/g, "''") + "'"; case STYLE_LITERAL: - return "|" + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent)); + return ( + '|' + + blockHeader(string, state.indent) + + dropEndingNewline(indentString(string, indent)) + ); case STYLE_FOLDED: - return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent)); + return ( + '>' + + blockHeader(string, state.indent) + + dropEndingNewline(indentString(foldString(string, lineWidth), indent)) + ); case STYLE_DOUBLE: return '"' + escapeString(string, lineWidth) + '"'; default: - throw new YAMLException("impossible error: invalid scalar style"); + throw new YAMLException('impossible error: invalid scalar style'); } - }(); + })(); } function blockHeader(string, indentPerLevel) { - var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : ""; - var clip = string[string.length - 1] === "\n"; - var keep = clip && (string[string.length - 2] === "\n" || string === "\n"); - var chomp = keep ? "+" : clip ? "" : "-"; - return indentIndicator + chomp + "\n"; + var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : ''; + var clip = string[string.length - 1] === '\n'; + var keep = clip && (string[string.length - 2] === '\n' || string === '\n'); + var chomp = keep ? '+' : clip ? '' : '-'; + return indentIndicator + chomp + '\n'; } function dropEndingNewline(string) { - return string[string.length - 1] === "\n" ? string.slice(0, -1) : string; + return string[string.length - 1] === '\n' ? string.slice(0, -1) : string; } function foldString(string, width) { var lineRe = /(\n+)([^\n]*)/g; - var result = function() { - var nextLF = string.indexOf("\n"); + var result = (function () { + var nextLF = string.indexOf('\n'); nextLF = nextLF !== -1 ? nextLF : string.length; lineRe.lastIndex = nextLF; return foldLine(string.slice(0, nextLF), width); - }(); - var prevMoreIndented = string[0] === "\n" || string[0] === " "; + })(); + var prevMoreIndented = string[0] === '\n' || string[0] === ' '; var moreIndented; var match; - while (match = lineRe.exec(string)) { - var prefix = match[1], line = match[2]; - moreIndented = line[0] === " "; - result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width); + while ((match = lineRe.exec(string))) { + var prefix = match[1], + line = match[2]; + moreIndented = line[0] === ' '; + result += + prefix + + (!prevMoreIndented && !moreIndented && line !== '' ? '\n' : '') + + foldLine(line, width); prevMoreIndented = moreIndented; } return result; } function foldLine(line, width) { - if (line === "" || line[0] === " ") - return line; + if (line === '' || line[0] === ' ') return line; var breakRe = / [^ ]/g; var match; - var start = 0, end, curr = 0, next = 0; - var result = ""; - while (match = breakRe.exec(line)) { + var start = 0, + end, + curr = 0, + next = 0; + var result = ''; + while ((match = breakRe.exec(line))) { next = match.index; if (next - start > width) { end = curr > start ? curr : next; - result += "\n" + line.slice(start, end); + result += '\n' + line.slice(start, end); start = end + 1; } curr = next; } - result += "\n"; + result += '\n'; if (line.length - start > width && curr > start) { - result += line.slice(start, curr) + "\n" + line.slice(curr + 1); + result += line.slice(start, curr) + '\n' + line.slice(curr + 1); } else { result += line.slice(start); } return result.slice(1); } function escapeString(string) { - var result = ""; + var result = ''; var char, nextChar; var escapeSeq; for (var i = 0; i < string.length; i++) { @@ -59659,51 +74508,61 @@ var require_dumper = __commonJS({ return result; } function writeFlowSequence(state, level, object) { - var _result = "", _tag = state.tag, index, length; + var _result = '', + _tag = state.tag, + index, + length; for (index = 0, length = object.length; index < length; index += 1) { if (writeNode(state, level, object[index], false, false)) { - if (index !== 0) - _result += "," + (!state.condenseFlow ? " " : ""); + if (index !== 0) _result += ',' + (!state.condenseFlow ? ' ' : ''); _result += state.dump; } } state.tag = _tag; - state.dump = "[" + _result + "]"; + state.dump = '[' + _result + ']'; } function writeBlockSequence(state, level, object, compact) { - var _result = "", _tag = state.tag, index, length; + var _result = '', + _tag = state.tag, + index, + length; for (index = 0, length = object.length; index < length; index += 1) { if (writeNode(state, level + 1, object[index], true, true)) { if (!compact || index !== 0) { _result += generateNextLine(state, level); } if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - _result += "-"; + _result += '-'; } else { - _result += "- "; + _result += '- '; } _result += state.dump; } } state.tag = _tag; - state.dump = _result || "[]"; + state.dump = _result || '[]'; } function writeFlowMapping(state, level, object) { - var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, pairBuffer; + var _result = '', + _tag = state.tag, + objectKeyList = Object.keys(object), + index, + length, + objectKey, + objectValue, + pairBuffer; for (index = 0, length = objectKeyList.length; index < length; index += 1) { - pairBuffer = ""; - if (index !== 0) - pairBuffer += ", "; - if (state.condenseFlow) - pairBuffer += '"'; + pairBuffer = ''; + if (index !== 0) pairBuffer += ', '; + if (state.condenseFlow) pairBuffer += '"'; objectKey = objectKeyList[index]; objectValue = object[objectKey]; if (!writeNode(state, level, objectKey, false, false)) { continue; } - if (state.dump.length > 1024) - pairBuffer += "? "; - pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " "); + if (state.dump.length > 1024) pairBuffer += '? '; + pairBuffer += + state.dump + (state.condenseFlow ? '"' : '') + ':' + (state.condenseFlow ? '' : ' '); if (!writeNode(state, level, objectValue, false, false)) { continue; } @@ -59711,19 +74570,27 @@ var require_dumper = __commonJS({ _result += pairBuffer; } state.tag = _tag; - state.dump = "{" + _result + "}"; + state.dump = '{' + _result + '}'; } function writeBlockMapping(state, level, object, compact) { - var _result = "", _tag = state.tag, objectKeyList = Object.keys(object), index, length, objectKey, objectValue, explicitPair, pairBuffer; + var _result = '', + _tag = state.tag, + objectKeyList = Object.keys(object), + index, + length, + objectKey, + objectValue, + explicitPair, + pairBuffer; if (state.sortKeys === true) { objectKeyList.sort(); - } else if (typeof state.sortKeys === "function") { + } else if (typeof state.sortKeys === 'function') { objectKeyList.sort(state.sortKeys); } else if (state.sortKeys) { - throw new YAMLException("sortKeys must be a boolean or a function"); + throw new YAMLException('sortKeys must be a boolean or a function'); } for (index = 0, length = objectKeyList.length; index < length; index += 1) { - pairBuffer = ""; + pairBuffer = ''; if (!compact || index !== 0) { pairBuffer += generateNextLine(state, level); } @@ -59732,12 +74599,13 @@ var require_dumper = __commonJS({ if (!writeNode(state, level + 1, objectKey, true, true, true)) { continue; } - explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024; + explicitPair = + (state.tag !== null && state.tag !== '?') || (state.dump && state.dump.length > 1024); if (explicitPair) { if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - pairBuffer += "?"; + pairBuffer += '?'; } else { - pairBuffer += "? "; + pairBuffer += '? '; } } pairBuffer += state.dump; @@ -59748,31 +74616,37 @@ var require_dumper = __commonJS({ continue; } if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) { - pairBuffer += ":"; + pairBuffer += ':'; } else { - pairBuffer += ": "; + pairBuffer += ': '; } pairBuffer += state.dump; _result += pairBuffer; } state.tag = _tag; - state.dump = _result || "{}"; + state.dump = _result || '{}'; } function detectType(state, object, explicit) { var _result, typeList, index, length, type, style; typeList = explicit ? state.explicitTypes : state.implicitTypes; for (index = 0, length = typeList.length; index < length; index += 1) { type = typeList[index]; - if ((type.instanceOf || type.predicate) && (!type.instanceOf || typeof object === "object" && object instanceof type.instanceOf) && (!type.predicate || type.predicate(object))) { - state.tag = explicit ? type.tag : "?"; + if ( + (type.instanceOf || type.predicate) && + (!type.instanceOf || (typeof object === 'object' && object instanceof type.instanceOf)) && + (!type.predicate || type.predicate(object)) + ) { + state.tag = explicit ? type.tag : '?'; if (type.represent) { style = state.styleMap[type.tag] || type.defaultStyle; - if (_toString.call(type.represent) === "[object Function]") { + if (_toString.call(type.represent) === '[object Function]') { _result = type.represent(object, style); } else if (_hasOwnProperty.call(type.represent, style)) { _result = type.represent[style](object, style); } else { - throw new YAMLException("!<" + type.tag + '> tag resolver accepts not "' + style + '" style'); + throw new YAMLException( + '!<' + type.tag + '> tag resolver accepts not "' + style + '" style' + ); } state.dump = _result; } @@ -59791,62 +74665,70 @@ var require_dumper = __commonJS({ if (block) { block = state.flowLevel < 0 || state.flowLevel > level; } - var objectOrArray = type === "[object Object]" || type === "[object Array]", duplicateIndex, duplicate; + var objectOrArray = type === '[object Object]' || type === '[object Array]', + duplicateIndex, + duplicate; if (objectOrArray) { duplicateIndex = state.duplicates.indexOf(object); duplicate = duplicateIndex !== -1; } - if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) { + if ( + (state.tag !== null && state.tag !== '?') || + duplicate || + (state.indent !== 2 && level > 0) + ) { compact = false; } if (duplicate && state.usedDuplicates[duplicateIndex]) { - state.dump = "*ref_" + duplicateIndex; + state.dump = '*ref_' + duplicateIndex; } else { if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) { state.usedDuplicates[duplicateIndex] = true; } - if (type === "[object Object]") { + if (type === '[object Object]') { if (block && Object.keys(state.dump).length !== 0) { writeBlockMapping(state, level, state.dump, compact); if (duplicate) { - state.dump = "&ref_" + duplicateIndex + state.dump; + state.dump = '&ref_' + duplicateIndex + state.dump; } } else { writeFlowMapping(state, level, state.dump); if (duplicate) { - state.dump = "&ref_" + duplicateIndex + " " + state.dump; + state.dump = '&ref_' + duplicateIndex + ' ' + state.dump; } } - } else if (type === "[object Array]") { + } else if (type === '[object Array]') { var arrayLevel = state.noArrayIndent && level > 0 ? level - 1 : level; if (block && state.dump.length !== 0) { writeBlockSequence(state, arrayLevel, state.dump, compact); if (duplicate) { - state.dump = "&ref_" + duplicateIndex + state.dump; + state.dump = '&ref_' + duplicateIndex + state.dump; } } else { writeFlowSequence(state, arrayLevel, state.dump); if (duplicate) { - state.dump = "&ref_" + duplicateIndex + " " + state.dump; + state.dump = '&ref_' + duplicateIndex + ' ' + state.dump; } } - } else if (type === "[object String]") { - if (state.tag !== "?") { + } else if (type === '[object String]') { + if (state.tag !== '?') { writeScalar(state, state.dump, level, iskey); } } else { - if (state.skipInvalid) - return false; - throw new YAMLException("unacceptable kind of an object to dump " + type); + if (state.skipInvalid) return false; + throw new YAMLException('unacceptable kind of an object to dump ' + type); } - if (state.tag !== null && state.tag !== "?") { - state.dump = "!<" + state.tag + "> " + state.dump; + if (state.tag !== null && state.tag !== '?') { + state.dump = '!<' + state.tag + '> ' + state.dump; } } return true; } function getDuplicateReferences(object, state) { - var objects = [], duplicatesIndexes = [], index, length; + var objects = [], + duplicatesIndexes = [], + index, + length; inspectNode(object, objects, duplicatesIndexes); for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) { state.duplicates.push(objects[duplicatesIndexes[index]]); @@ -59855,7 +74737,7 @@ var require_dumper = __commonJS({ } function inspectNode(object, objects, duplicatesIndexes) { var objectKeyList, index, length; - if (object !== null && typeof object === "object") { + if (object !== null && typeof object === 'object') { index = objects.indexOf(object); if (index !== -1) { if (duplicatesIndexes.indexOf(index) === -1) { @@ -59879,29 +74761,27 @@ var require_dumper = __commonJS({ function dump(input, options2) { options2 = options2 || {}; var state = new State(options2); - if (!state.noRefs) - getDuplicateReferences(input, state); - if (writeNode(state, 0, input, true, true)) - return state.dump + "\n"; - return ""; + if (!state.noRefs) getDuplicateReferences(input, state); + if (writeNode(state, 0, input, true, true)) return state.dump + '\n'; + return ''; } function safeDump(input, options2) { return dump(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options2)); } module2.exports.dump = dump; module2.exports.safeDump = safeDump; - } + }, }); // node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml.js var require_js_yaml = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/lib/js-yaml.js'(exports2, module2) { + 'use strict'; var loader = require_loader(); var dumper = require_dumper(); function deprecated(name2) { - return function() { - throw new Error("Function " + name2 + " is deprecated and cannot be used."); + return function () { + throw new Error('Function ' + name2 + ' is deprecated and cannot be used.'); }; } module2.exports.Type = require_type(); @@ -59921,44 +74801,44 @@ var require_js_yaml = __commonJS({ module2.exports.MINIMAL_SCHEMA = require_failsafe(); module2.exports.SAFE_SCHEMA = require_default_safe(); module2.exports.DEFAULT_SCHEMA = require_default_full(); - module2.exports.scan = deprecated("scan"); - module2.exports.parse = deprecated("parse"); - module2.exports.compose = deprecated("compose"); - module2.exports.addConstructor = deprecated("addConstructor"); - } + module2.exports.scan = deprecated('scan'); + module2.exports.parse = deprecated('parse'); + module2.exports.compose = deprecated('compose'); + module2.exports.addConstructor = deprecated('addConstructor'); + }, }); // node_modules/gray-matter/node_modules/js-yaml/index.js var require_js_yaml2 = __commonJS({ - "node_modules/gray-matter/node_modules/js-yaml/index.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/node_modules/js-yaml/index.js'(exports2, module2) { + 'use strict'; var yaml2 = require_js_yaml(); module2.exports = yaml2; - } + }, }); // node_modules/gray-matter/lib/engines.js var require_engines = __commonJS({ - "node_modules/gray-matter/lib/engines.js"(exports, module) { - "use strict"; + 'node_modules/gray-matter/lib/engines.js'(exports, module) { + 'use strict'; var yaml = require_js_yaml2(); - var engines = exports = module.exports; + var engines = (exports = module.exports); engines.yaml = { parse: yaml.safeLoad.bind(yaml), - stringify: yaml.safeDump.bind(yaml) + stringify: yaml.safeDump.bind(yaml), }; engines.json = { parse: JSON.parse.bind(JSON), - stringify: function(obj, options2) { + stringify: function (obj, options2) { const opts = Object.assign({ replacer: null, space: 2 }, options2); return JSON.stringify(obj, opts.replacer, opts.space); - } + }, }; engines.javascript = { parse: function parse(str, options, wrap) { try { if (wrap !== false) { - str = "(function() {\nreturn " + str.trim() + ";\n}());"; + str = '(function() {\nreturn ' + str.trim() + ';\n}());'; } return eval(str) || {}; } catch (err) { @@ -59968,163 +74848,160 @@ var require_engines = __commonJS({ throw new SyntaxError(err); } }, - stringify: function() { - throw new Error("stringifying JavaScript is not supported"); - } + stringify: function () { + throw new Error('stringifying JavaScript is not supported'); + }, }; - } + }, }); // node_modules/strip-bom-string/index.js var require_strip_bom_string = __commonJS({ - "node_modules/strip-bom-string/index.js"(exports2, module2) { - "use strict"; - module2.exports = function(str2) { - if (typeof str2 === "string" && str2.charAt(0) === "\uFEFF") { + 'node_modules/strip-bom-string/index.js'(exports2, module2) { + 'use strict'; + module2.exports = function (str2) { + if (typeof str2 === 'string' && str2.charAt(0) === '\uFEFF') { return str2.slice(1); } return str2; }; - } + }, }); // node_modules/gray-matter/lib/utils.js var require_utils8 = __commonJS({ - "node_modules/gray-matter/lib/utils.js"(exports2) { - "use strict"; + 'node_modules/gray-matter/lib/utils.js'(exports2) { + 'use strict'; var stripBom = require_strip_bom_string(); var typeOf = require_kind_of(); - exports2.define = function(obj, key, val) { + exports2.define = function (obj, key, val) { Reflect.defineProperty(obj, key, { enumerable: false, configurable: true, writable: true, - value: val + value: val, }); }; - exports2.isBuffer = function(val) { - return typeOf(val) === "buffer"; + exports2.isBuffer = function (val) { + return typeOf(val) === 'buffer'; }; - exports2.isObject = function(val) { - return typeOf(val) === "object"; + exports2.isObject = function (val) { + return typeOf(val) === 'object'; }; - exports2.toBuffer = function(input) { - return typeof input === "string" ? Buffer.from(input) : input; + exports2.toBuffer = function (input) { + return typeof input === 'string' ? Buffer.from(input) : input; }; - exports2.toString = function(input) { - if (exports2.isBuffer(input)) - return stripBom(String(input)); - if (typeof input !== "string") { - throw new TypeError("expected input to be a string or buffer"); + exports2.toString = function (input) { + if (exports2.isBuffer(input)) return stripBom(String(input)); + if (typeof input !== 'string') { + throw new TypeError('expected input to be a string or buffer'); } return stripBom(input); }; - exports2.arrayify = function(val) { - return val ? Array.isArray(val) ? val : [val] : []; + exports2.arrayify = function (val) { + return val ? (Array.isArray(val) ? val : [val]) : []; }; - exports2.startsWith = function(str2, substr, len) { - if (typeof len !== "number") - len = substr.length; + exports2.startsWith = function (str2, substr, len) { + if (typeof len !== 'number') len = substr.length; return str2.slice(0, len) === substr; }; - } + }, }); // node_modules/gray-matter/lib/defaults.js var require_defaults = __commonJS({ - "node_modules/gray-matter/lib/defaults.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/lib/defaults.js'(exports2, module2) { + 'use strict'; var engines2 = require_engines(); var utils = require_utils8(); - module2.exports = function(options2) { + module2.exports = function (options2) { const opts = Object.assign({}, options2); - opts.delimiters = utils.arrayify(opts.delims || opts.delimiters || "---"); + opts.delimiters = utils.arrayify(opts.delims || opts.delimiters || '---'); if (opts.delimiters.length === 1) { opts.delimiters.push(opts.delimiters[0]); } - opts.language = (opts.language || opts.lang || "yaml").toLowerCase(); + opts.language = (opts.language || opts.lang || 'yaml').toLowerCase(); opts.engines = Object.assign({}, engines2, opts.parsers, opts.engines); return opts; }; - } + }, }); // node_modules/gray-matter/lib/engine.js var require_engine = __commonJS({ - "node_modules/gray-matter/lib/engine.js"(exports2, module2) { - "use strict"; - module2.exports = function(name2, options2) { + 'node_modules/gray-matter/lib/engine.js'(exports2, module2) { + 'use strict'; + module2.exports = function (name2, options2) { let engine = options2.engines[name2] || options2.engines[aliase(name2)]; - if (typeof engine === "undefined") { + if (typeof engine === 'undefined') { throw new Error('gray-matter engine "' + name2 + '" is not registered'); } - if (typeof engine === "function") { + if (typeof engine === 'function') { engine = { parse: engine }; } return engine; }; function aliase(name2) { switch (name2.toLowerCase()) { - case "js": - case "javascript": - return "javascript"; - case "coffee": - case "coffeescript": - case "cson": - return "coffee"; - case "yaml": - case "yml": - return "yaml"; + case 'js': + case 'javascript': + return 'javascript'; + case 'coffee': + case 'coffeescript': + case 'cson': + return 'coffee'; + case 'yaml': + case 'yml': + return 'yaml'; default: { return name2; } } } - } + }, }); // node_modules/gray-matter/lib/stringify.js var require_stringify = __commonJS({ - "node_modules/gray-matter/lib/stringify.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/lib/stringify.js'(exports2, module2) { + 'use strict'; var typeOf = require_kind_of(); var getEngine = require_engine(); var defaults = require_defaults(); - module2.exports = function(file3, data, options2) { + module2.exports = function (file3, data, options2) { if (data == null && options2 == null) { switch (typeOf(file3)) { - case "object": + case 'object': data = file3.data; options2 = {}; break; - case "string": + case 'string': return file3; default: { - throw new TypeError("expected file to be a string or object"); + throw new TypeError('expected file to be a string or object'); } } } const str2 = file3.content; const opts = defaults(options2); if (data == null) { - if (!opts.data) - return file3; + if (!opts.data) return file3; data = opts.data; } const language = file3.language || opts.language; const engine = getEngine(language, opts); - if (typeof engine.stringify !== "function") { + if (typeof engine.stringify !== 'function') { throw new TypeError('expected "' + language + '.stringify" to be a function'); } data = Object.assign({}, file3.data, data); const open = opts.delimiters[0]; const close = opts.delimiters[1]; const matter2 = engine.stringify(data, options2).trim(); - let buf = ""; - if (matter2 !== "{}") { + let buf = ''; + if (matter2 !== '{}') { buf = newline(open) + newline(matter2) + newline(close); } - if (typeof file3.excerpt === "string" && file3.excerpt !== "") { + if (typeof file3.excerpt === 'string' && file3.excerpt !== '') { if (str2.indexOf(file3.excerpt.trim()) === -1) { buf += newline(file3.excerpt) + newline(close); } @@ -60132,59 +75009,59 @@ var require_stringify = __commonJS({ return buf + newline(str2); }; function newline(str2) { - return str2.slice(-1) !== "\n" ? str2 + "\n" : str2; + return str2.slice(-1) !== '\n' ? str2 + '\n' : str2; } - } + }, }); // node_modules/gray-matter/lib/excerpt.js var require_excerpt = __commonJS({ - "node_modules/gray-matter/lib/excerpt.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/lib/excerpt.js'(exports2, module2) { + 'use strict'; var defaults = require_defaults(); - module2.exports = function(file3, options2) { + module2.exports = function (file3, options2) { const opts = defaults(options2); if (file3.data == null) { file3.data = {}; } - if (typeof opts.excerpt === "function") { + if (typeof opts.excerpt === 'function') { return opts.excerpt(file3, opts); } const sep = file3.data.excerpt_separator || opts.excerpt_separator; if (sep == null && (opts.excerpt === false || opts.excerpt == null)) { return file3; } - const delimiter = typeof opts.excerpt === "string" ? opts.excerpt : sep || opts.delimiters[0]; + const delimiter = typeof opts.excerpt === 'string' ? opts.excerpt : sep || opts.delimiters[0]; const idx = file3.content.indexOf(delimiter); if (idx !== -1) { file3.excerpt = file3.content.slice(0, idx); } return file3; }; - } + }, }); // node_modules/gray-matter/lib/to-file.js var require_to_file = __commonJS({ - "node_modules/gray-matter/lib/to-file.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/lib/to-file.js'(exports2, module2) { + 'use strict'; var typeOf = require_kind_of(); var stringify = require_stringify(); var utils = require_utils8(); - module2.exports = function(file3) { - if (typeOf(file3) !== "object") { + module2.exports = function (file3) { + if (typeOf(file3) !== 'object') { file3 = { content: file3 }; } - if (typeOf(file3.data) !== "object") { + if (typeOf(file3.data) !== 'object') { file3.data = {}; } if (file3.contents && file3.content == null) { file3.content = file3.contents; } - utils.define(file3, "orig", utils.toBuffer(file3.content)); - utils.define(file3, "language", file3.language || ""); - utils.define(file3, "matter", file3.matter || ""); - utils.define(file3, "stringify", function(data, options2) { + utils.define(file3, 'orig', utils.toBuffer(file3.content)); + utils.define(file3, 'language', file3.language || ''); + utils.define(file3, 'matter', file3.matter || ''); + utils.define(file3, 'stringify', function (data, options2) { if (options2 && options2.language) { file3.language = options2.language; } @@ -60192,34 +75069,34 @@ var require_to_file = __commonJS({ }); file3.content = utils.toString(file3.content); file3.isEmpty = false; - file3.excerpt = ""; + file3.excerpt = ''; return file3; }; - } + }, }); // node_modules/gray-matter/lib/parse.js var require_parse = __commonJS({ - "node_modules/gray-matter/lib/parse.js"(exports2, module2) { - "use strict"; + 'node_modules/gray-matter/lib/parse.js'(exports2, module2) { + 'use strict'; var getEngine = require_engine(); var defaults = require_defaults(); - module2.exports = function(language, str2, options2) { + module2.exports = function (language, str2, options2) { const opts = defaults(options2); const engine = getEngine(language, opts); - if (typeof engine.parse !== "function") { + if (typeof engine.parse !== 'function') { throw new TypeError('expected "' + language + '.parse" to be a function'); } return engine.parse(str2, opts); }; - } + }, }); // node_modules/gray-matter/index.js var require_gray_matter = __commonJS({ - "node_modules/gray-matter/index.js"(exports2, module2) { - "use strict"; - var fs3 = require("fs"); + 'node_modules/gray-matter/index.js'(exports2, module2) { + 'use strict'; + var fs3 = require('fs'); var sections = require_section_matter(); var defaults = require_defaults(); var stringify = require_stringify(); @@ -60229,8 +75106,8 @@ var require_gray_matter = __commonJS({ var parse2 = require_parse(); var utils = require_utils8(); function matter2(input, options2) { - if (input === "") { - return { data: {}, content: input, excerpt: "", orig: input }; + if (input === '') { + return { data: {}, content: input, excerpt: '', orig: input }; } let file3 = toFile(input); const cached = matter2.cache[file3.content]; @@ -60247,7 +75124,7 @@ var require_gray_matter = __commonJS({ function parseMatter(file3, options2) { const opts = defaults(options2); const open = opts.delimiters[0]; - const close = "\n" + opts.delimiters[1]; + const close = '\n' + opts.delimiters[1]; let str2 = file3.content; if (opts.language) { file3.language = opts.language; @@ -60272,8 +75149,8 @@ var require_gray_matter = __commonJS({ closeIndex = len; } file3.matter = str2.slice(0, closeIndex); - const block = file3.matter.replace(/^\s*#[^\n]+/gm, "").trim(); - if (block === "") { + const block = file3.matter.replace(/^\s*#[^\n]+/gm, '').trim(); + if (block === '') { file3.isEmpty = true; file3.empty = file3.content; file3.data = {}; @@ -60281,38 +75158,37 @@ var require_gray_matter = __commonJS({ file3.data = parse2(file3.language, file3.matter, opts); } if (closeIndex === len) { - file3.content = ""; + file3.content = ''; } else { file3.content = str2.slice(closeIndex + close.length); - if (file3.content[0] === "\r") { + if (file3.content[0] === '\r') { file3.content = file3.content.slice(1); } - if (file3.content[0] === "\n") { + if (file3.content[0] === '\n') { file3.content = file3.content.slice(1); } } excerpt(file3, opts); - if (opts.sections === true || typeof opts.section === "function") { + if (opts.sections === true || typeof opts.section === 'function') { sections(file3, opts.section); } return file3; } matter2.engines = engines2; - matter2.stringify = function(file3, data, options2) { - if (typeof file3 === "string") - file3 = matter2(file3, options2); + matter2.stringify = function (file3, data, options2) { + if (typeof file3 === 'string') file3 = matter2(file3, options2); return stringify(file3, data, options2); }; - matter2.read = function(filepath, options2) { - const str2 = fs3.readFileSync(filepath, "utf8"); + matter2.read = function (filepath, options2) { + const str2 = fs3.readFileSync(filepath, 'utf8'); const file3 = matter2(str2, options2); file3.path = filepath; return file3; }; - matter2.test = function(str2, options2) { + matter2.test = function (str2, options2) { return utils.startsWith(str2, defaults(options2).delimiters[0]); }; - matter2.language = function(str2, options2) { + matter2.language = function (str2, options2) { const opts = defaults(options2); const open = opts.delimiters[0]; if (matter2.test(str2)) { @@ -60321,21 +75197,21 @@ var require_gray_matter = __commonJS({ const language = str2.slice(0, str2.search(/\r?\n/)); return { raw: language, - name: language ? language.trim() : "" + name: language ? language.trim() : '', }; }; matter2.cache = {}; - matter2.clearCache = function() { + matter2.clearCache = function () { matter2.cache = {}; }; module2.exports = matter2; - } + }, }); // src/static-build/populateCache.ts var populateCache_exports = {}; __export(populateCache_exports, { - populateCache: () => populateCache + populateCache: () => populateCache, }); module.exports = __toCommonJS(populateCache_exports); @@ -60346,24 +75222,24 @@ var import_contract_helpers5 = __toESM(require_cjs()); var import_contract_helpers = __toESM(require_cjs()); var governanceConfig = { chainId: import_contract_helpers.ChainId.mainnet, - votingAssetName: "AAVE + stkAAVE", + votingAssetName: 'AAVE + stkAAVE', averageNetworkBlockTime: 13.5, - queryGovernanceDataUrl: "https://api.thegraph.com/subgraphs/name/aave/governance-v2", - wsGovernanceDataUrl: "wss://api.thegraph.com/subgraphs/name/aave/governance-v2", - aaveTokenAddress: "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9", - aAaveTokenAddress: "0xDa5E8e1C3596D3Cc11a4dd5aD66b8f03B5410F8C", - stkAaveTokenAddress: "0x4da27a545c0c5b758a6ba100e3a049001de870f5", - governanceForumLink: "https://governance.aave.com", - governanceFAQLink: "https://docs.aave.com/faq/governance", - walletBalanceProvider: "0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922", - governanceSnapshotLink: "https://snapshot.org/#/aave.eth", + queryGovernanceDataUrl: 'https://api.thegraph.com/subgraphs/name/aave/governance-v2', + wsGovernanceDataUrl: 'wss://api.thegraph.com/subgraphs/name/aave/governance-v2', + aaveTokenAddress: '0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9', + aAaveTokenAddress: '0xDa5E8e1C3596D3Cc11a4dd5aD66b8f03B5410F8C', + stkAaveTokenAddress: '0x4da27a545c0c5b758a6ba100e3a049001de870f5', + governanceForumLink: 'https://governance.aave.com', + governanceFAQLink: 'https://docs.aave.com/faq/governance', + walletBalanceProvider: '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922', + governanceSnapshotLink: 'https://snapshot.org/#/aave.eth', addresses: { - AAVE_GOVERNANCE_V2: "0xEC568fffba86c094cf06b22134B23074DFE2252c", - AAVE_GOVERNANCE_V2_EXECUTOR_SHORT: "0x61910EcD7e8e942136CE7Fe7943f956cea1CC2f7", - AAVE_GOVERNANCE_V2_EXECUTOR_LONG: "0xEE56e2B3D491590B5b31738cC34d5232F378a8D5", - AAVE_GOVERNANCE_V2_HELPER: "0x16ff7583ea21055bf5f929ec4b896d997ff35847" + AAVE_GOVERNANCE_V2: '0xEC568fffba86c094cf06b22134B23074DFE2252c', + AAVE_GOVERNANCE_V2_EXECUTOR_SHORT: '0x61910EcD7e8e942136CE7Fe7943f956cea1CC2f7', + AAVE_GOVERNANCE_V2_EXECUTOR_LONG: '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5', + AAVE_GOVERNANCE_V2_HELPER: '0x16ff7583ea21055bf5f929ec4b896d997ff35847', }, - ipfsGateway: "https://cf-ipfs.com/ipfs" + ipfsGateway: 'https://gateway.pinata.cloud/ipfs', }; // src/utils/marketsAndNetworksConfig.ts @@ -60373,633 +75249,656 @@ var import_ethers = __toESM(require_lib31()); // src/ui-config/marketsConfig.tsx var import_contract_helpers2 = __toESM(require_cjs()); var marketsData = { - ["proto_mainnet" /* proto_mainnet */]: { - marketTitle: "Ethereum", + ['proto_mainnet' /* proto_mainnet */]: { + marketTitle: 'Ethereum', chainId: import_contract_helpers2.ChainId.mainnet, enabledFeatures: { governance: true, staking: true, liquiditySwap: true, collateralRepay: true, - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5".toLowerCase(), - LENDING_POOL: "0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9", - WETH_GATEWAY: "0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31", - REPAY_WITH_COLLATERAL_ADAPTER: "0x80Aca0C645fEdABaa20fd2Bf0Daf57885A309FE6", - SWAP_COLLATERAL_ADAPTER: "0x135896DE8421be2ec868E0b811006171D9df802A", - WALLET_BALANCE_PROVIDER: "0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922", - UI_POOL_DATA_PROVIDER: "0x30375522F67a6308630d49A694ca1491fA2D3BC6", - UI_INCENTIVE_DATA_PROVIDER: "0xD01ab9a6577E1D84F142e44D49380e23A340387d", - COLLECTOR: "0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c" + LENDING_POOL_ADDRESS_PROVIDER: '0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5'.toLowerCase(), + LENDING_POOL: '0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9', + WETH_GATEWAY: '0xEFFC18fC3b7eb8E676dac549E0c693ad50D1Ce31', + REPAY_WITH_COLLATERAL_ADAPTER: '0x80Aca0C645fEdABaa20fd2Bf0Daf57885A309FE6', + SWAP_COLLATERAL_ADAPTER: '0x135896DE8421be2ec868E0b811006171D9df802A', + WALLET_BALANCE_PROVIDER: '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922', + UI_POOL_DATA_PROVIDER: '0x30375522F67a6308630d49A694ca1491fA2D3BC6', + UI_INCENTIVE_DATA_PROVIDER: '0xD01ab9a6577E1D84F142e44D49380e23A340387d', + COLLECTOR: '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-track-your-health-factor", - marketName: "aavev2" - } + URL: 'https://app.hal.xyz/recipes/aave-track-your-health-factor', + marketName: 'aavev2', + }, }, - ["amm_mainnet" /* amm_mainnet */]: { - marketTitle: "Ethereum AMM", + ['amm_mainnet' /* amm_mainnet */]: { + marketTitle: 'Ethereum AMM', chainId: import_contract_helpers2.ChainId.mainnet, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xacc030ef66f9dfeae9cbb0cd1b25654b82cfa8d5".toLowerCase(), - LENDING_POOL: "0x7937d4799803fbbe595ed57278bc4ca21f3bffcb", - WETH_GATEWAY: "0x1C4a4e31231F71Fc34867D034a9E68f6fC798249", - WALLET_BALANCE_PROVIDER: "0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922", - UI_POOL_DATA_PROVIDER: "0x30375522F67a6308630d49A694ca1491fA2D3BC6", - UI_INCENTIVE_DATA_PROVIDER: "0xD01ab9a6577E1D84F142e44D49380e23A340387d", - COLLECTOR: "0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c" - } + LENDING_POOL_ADDRESS_PROVIDER: '0xacc030ef66f9dfeae9cbb0cd1b25654b82cfa8d5'.toLowerCase(), + LENDING_POOL: '0x7937d4799803fbbe595ed57278bc4ca21f3bffcb', + WETH_GATEWAY: '0x1C4a4e31231F71Fc34867D034a9E68f6fC798249', + WALLET_BALANCE_PROVIDER: '0x8E8dAd5409E0263a51C0aB5055dA66Be28cFF922', + UI_POOL_DATA_PROVIDER: '0x30375522F67a6308630d49A694ca1491fA2D3BC6', + UI_INCENTIVE_DATA_PROVIDER: '0xD01ab9a6577E1D84F142e44D49380e23A340387d', + COLLECTOR: '0x464C71f6c2F760DdA6093dCB91C24c39e5d6e18c', + }, }, - ["proto_polygon" /* proto_polygon */]: { - marketTitle: "Polygon", + ['proto_polygon' /* proto_polygon */]: { + marketTitle: 'Polygon', chainId: import_contract_helpers2.ChainId.polygon, enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true + collateralRepay: true, }, - cachingServerUrl: "https://cache-api-137.aave.com/graphql", - cachingWSServerUrl: "wss://cache-api-137.aave.com/graphql", + cachingServerUrl: 'https://cache-api-137.aave.com/graphql', + cachingWSServerUrl: 'wss://cache-api-137.aave.com/graphql', addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xd05e3E715d945B59290df0ae8eF85c1BdB684744".toLowerCase(), - LENDING_POOL: "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", - WETH_GATEWAY: "0xAeBF56223F044a73A513FAD7E148A9075227eD9b", - SWAP_COLLATERAL_ADAPTER: "0x35784a624D4FfBC3594f4d16fA3801FeF063241c", - REPAY_WITH_COLLATERAL_ADAPTER: "0xE84cF064a0a65290Ae5673b500699f3753063936", - WALLET_BALANCE_PROVIDER: "0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e", - UI_POOL_DATA_PROVIDER: "0x0d24b23DBaB0dc1A6F58029bA94F94Ff0D5382c2", - UI_INCENTIVE_DATA_PROVIDER: "0x645654D59A5226CBab969b1f5431aA47CBf64ab8", - COLLECTOR: "0x7734280A4337F37Fbf4651073Db7c28C80B339e9" + LENDING_POOL_ADDRESS_PROVIDER: '0xd05e3E715d945B59290df0ae8eF85c1BdB684744'.toLowerCase(), + LENDING_POOL: '0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf', + WETH_GATEWAY: '0xAeBF56223F044a73A513FAD7E148A9075227eD9b', + SWAP_COLLATERAL_ADAPTER: '0x35784a624D4FfBC3594f4d16fA3801FeF063241c', + REPAY_WITH_COLLATERAL_ADAPTER: '0xE84cF064a0a65290Ae5673b500699f3753063936', + WALLET_BALANCE_PROVIDER: '0x34aa032bC416Cf2CdC45c0C8f065b1F19463D43e', + UI_POOL_DATA_PROVIDER: '0x0d24b23DBaB0dc1A6F58029bA94F94Ff0D5382c2', + UI_INCENTIVE_DATA_PROVIDER: '0x645654D59A5226CBab969b1f5431aA47CBf64ab8', + COLLECTOR: '0x7734280A4337F37Fbf4651073Db7c28C80B339e9', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-track-your-health-factor", - marketName: "aavepolygon" - } + URL: 'https://app.hal.xyz/recipes/aave-track-your-health-factor', + marketName: 'aavepolygon', + }, }, - ["proto_avalanche" /* proto_avalanche */]: { - marketTitle: "Avalanche", + ['proto_avalanche' /* proto_avalanche */]: { + marketTitle: 'Avalanche', chainId: import_contract_helpers2.ChainId.avalanche, enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true + collateralRepay: true, }, - cachingServerUrl: "https://cache-api-43114.aave.com/graphql", - cachingWSServerUrl: "wss://cache-api-43114.aave.com/graphql", + cachingServerUrl: 'https://cache-api-43114.aave.com/graphql', + cachingWSServerUrl: 'wss://cache-api-43114.aave.com/graphql', addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xb6A86025F0FE1862B372cb0ca18CE3EDe02A318f".toLowerCase(), - LENDING_POOL: "0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C", - WETH_GATEWAY: "0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b", - SWAP_COLLATERAL_ADAPTER: "0x2EcF2a2e74B19Aab2a62312167aFF4B78E93B6C5", - REPAY_WITH_COLLATERAL_ADAPTER: "0x935b362EE3E1f342cc48118C528AAbee5118F6e6", - WALLET_BALANCE_PROVIDER: "0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6", - UI_POOL_DATA_PROVIDER: "0xa7da242e099136A71fF975B8D78b79AA543c9182", - UI_INCENTIVE_DATA_PROVIDER: "0x11979886A6dBAE27D7a72c49fCF3F23240D647bF", - COLLECTOR: "0x467b92aF281d14cB6809913AD016a607b5ba8A36" + LENDING_POOL_ADDRESS_PROVIDER: '0xb6A86025F0FE1862B372cb0ca18CE3EDe02A318f'.toLowerCase(), + LENDING_POOL: '0x4F01AeD16D97E3aB5ab2B501154DC9bb0F1A5A2C', + WETH_GATEWAY: '0xC27d4dBefc2C0CE57916a699971b58a3BD9C7d5b', + SWAP_COLLATERAL_ADAPTER: '0x2EcF2a2e74B19Aab2a62312167aFF4B78E93B6C5', + REPAY_WITH_COLLATERAL_ADAPTER: '0x935b362EE3E1f342cc48118C528AAbee5118F6e6', + WALLET_BALANCE_PROVIDER: '0x73e4898a1Bfa9f710B6A6AB516403A6299e01fc6', + UI_POOL_DATA_PROVIDER: '0xa7da242e099136A71fF975B8D78b79AA543c9182', + UI_INCENTIVE_DATA_PROVIDER: '0x11979886A6dBAE27D7a72c49fCF3F23240D647bF', + COLLECTOR: '0x467b92aF281d14cB6809913AD016a607b5ba8A36', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-track-your-health-factor", - marketName: "aaveavalanche" - } + URL: 'https://app.hal.xyz/recipes/aave-track-your-health-factor', + marketName: 'aaveavalanche', + }, }, - ["proto_goerli_v3" /* proto_goerli_v3 */]: { - marketTitle: "Ethereum G\xF6rli", + ['proto_goerli_v3' /* proto_goerli_v3 */]: { + marketTitle: 'Ethereum G\xF6rli', v3: true, chainId: import_contract_helpers2.ChainId.goerli, enabledFeatures: { - faucet: true + faucet: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xc4dCB5126a3AfEd129BC3668Ea19285A9f56D15D".toLowerCase(), - LENDING_POOL: "0x368EedF3f56ad10b9bC57eed4Dac65B26Bb667f6", - WETH_GATEWAY: "0xd5B55D3Ed89FDa19124ceB5baB620328287b915d", - FAUCET: "0x1ca525Cd5Cb77DB5Fa9cBbA02A0824e283469DBe", - WALLET_BALANCE_PROVIDER: "0x75CC0f0E3764be7594772D08EEBc322970CbB3a9", - UI_POOL_DATA_PROVIDER: "0xC576539371a2f425545B7BF4eb2a14Eee1944a1C", - UI_INCENTIVE_DATA_PROVIDER: "0xACFd610B51ac6B70F030B277EA8A2A8D2143dC7A" - } + LENDING_POOL_ADDRESS_PROVIDER: '0xc4dCB5126a3AfEd129BC3668Ea19285A9f56D15D'.toLowerCase(), + LENDING_POOL: '0x368EedF3f56ad10b9bC57eed4Dac65B26Bb667f6', + WETH_GATEWAY: '0xd5B55D3Ed89FDa19124ceB5baB620328287b915d', + FAUCET: '0x1ca525Cd5Cb77DB5Fa9cBbA02A0824e283469DBe', + WALLET_BALANCE_PROVIDER: '0x75CC0f0E3764be7594772D08EEBc322970CbB3a9', + UI_POOL_DATA_PROVIDER: '0xC576539371a2f425545B7BF4eb2a14Eee1944a1C', + UI_INCENTIVE_DATA_PROVIDER: '0xACFd610B51ac6B70F030B277EA8A2A8D2143dC7A', + }, }, - ["proto_arbitrum_v3" /* proto_arbitrum_v3 */]: { - marketTitle: "Arbitrum", + ['proto_arbitrum_v3' /* proto_arbitrum_v3 */]: { + marketTitle: 'Arbitrum', v3: true, chainId: import_contract_helpers2.ChainId.arbitrum_one, enabledFeatures: { incentives: true, liquiditySwap: true, - collateralRepay: true + collateralRepay: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb".toLowerCase(), - LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD", - WETH_GATEWAY: "0xB5Ee21786D28c5Ba61661550879475976B707099", - WALLET_BALANCE_PROVIDER: "0xBc790382B3686abffE4be14A030A96aC6154023a", - UI_POOL_DATA_PROVIDER: "0x85272bf6DdCCBDea45Cf0535ea5C65bf91B480c4", - UI_INCENTIVE_DATA_PROVIDER: "0x35DDe5599318112829d97A29f4E8f4C49aAfc47C", - L2_ENCODER: "0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC", - COLLECTOR: "0x053D55f9B5AF8694c503EB288a1B7E552f590710", - SWAP_COLLATERAL_ADAPTER: "0xAE9f94BD98eC2831a1330e0418bE0fDb5C95C2B9", - REPAY_WITH_COLLATERAL_ADAPTER: "0x32FdC26aFFA1eB331263Bcdd59F2e46eCbCC2E24" + LENDING_POOL_ADDRESS_PROVIDER: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'.toLowerCase(), + LENDING_POOL: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + WETH_GATEWAY: '0xB5Ee21786D28c5Ba61661550879475976B707099', + WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a', + UI_POOL_DATA_PROVIDER: '0x85272bf6DdCCBDea45Cf0535ea5C65bf91B480c4', + UI_INCENTIVE_DATA_PROVIDER: '0x35DDe5599318112829d97A29f4E8f4C49aAfc47C', + L2_ENCODER: '0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC', + COLLECTOR: '0x053D55f9B5AF8694c503EB288a1B7E552f590710', + SWAP_COLLATERAL_ADAPTER: '0xAE9f94BD98eC2831a1330e0418bE0fDb5C95C2B9', + REPAY_WITH_COLLATERAL_ADAPTER: '0x32FdC26aFFA1eB331263Bcdd59F2e46eCbCC2E24', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-v3-track-health-factor", - marketName: "arbitrum" - } + URL: 'https://app.hal.xyz/recipes/aave-v3-track-health-factor', + marketName: 'arbitrum', + }, }, - ["proto_arbitrum_goerli_v3" /* proto_arbitrum_goerli_v3 */]: { - marketTitle: "Arbitrum G\xF6rli", + ['proto_arbitrum_goerli_v3' /* proto_arbitrum_goerli_v3 */]: { + marketTitle: 'Arbitrum G\xF6rli', v3: true, chainId: import_contract_helpers2.ChainId.arbitrum_goerli, enabledFeatures: { faucet: true, - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xF8aa90E66B8BAe13f2e4aDe6104abAb8eeDaBfdc".toLowerCase(), - LENDING_POOL: "0x6Cbb4E8eC402E07fDF96DbbC6c752aCfB0eB6075", - WETH_GATEWAY: "0xBCca2fc5F30A65cE2155d739364f3fc8F57E6999", - FAUCET: "0x98256500C9f1CE77e4C925b7bbF1588515E34422", - WALLET_BALANCE_PROVIDER: "0xA0025bE90591971ad76D12F8c9CecA09f66db3D8", - UI_POOL_DATA_PROVIDER: "0xDf8470D702Cc63c510eeD4b5322896aAf92F4F1D", - UI_INCENTIVE_DATA_PROVIDER: "0xcBc599F81ece6C3f60907400A142459596898DAD", - L2_ENCODER: "0xBFB521464727c3B31A6D9183413cc2B66f4F6686" - } - }, - ["proto_avalanche_v3" /* proto_avalanche_v3 */]: { - marketTitle: "Avalanche", + LENDING_POOL_ADDRESS_PROVIDER: '0xF8aa90E66B8BAe13f2e4aDe6104abAb8eeDaBfdc'.toLowerCase(), + LENDING_POOL: '0x6Cbb4E8eC402E07fDF96DbbC6c752aCfB0eB6075', + WETH_GATEWAY: '0xBCca2fc5F30A65cE2155d739364f3fc8F57E6999', + FAUCET: '0x98256500C9f1CE77e4C925b7bbF1588515E34422', + WALLET_BALANCE_PROVIDER: '0xA0025bE90591971ad76D12F8c9CecA09f66db3D8', + UI_POOL_DATA_PROVIDER: '0xDf8470D702Cc63c510eeD4b5322896aAf92F4F1D', + UI_INCENTIVE_DATA_PROVIDER: '0xcBc599F81ece6C3f60907400A142459596898DAD', + L2_ENCODER: '0xBFB521464727c3B31A6D9183413cc2B66f4F6686', + }, + }, + ['proto_avalanche_v3' /* proto_avalanche_v3 */]: { + marketTitle: 'Avalanche', v3: true, chainId: import_contract_helpers2.ChainId.avalanche, enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true + collateralRepay: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb".toLowerCase(), - LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD", - WETH_GATEWAY: "0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7", - REPAY_WITH_COLLATERAL_ADAPTER: "0x8a743090e9759E758d15a4CFd18408fb6332c625", - SWAP_COLLATERAL_ADAPTER: "0xF7fC20D9D1D8DFE55F5F2c3180272a5747dD327F", - WALLET_BALANCE_PROVIDER: "0xBc790382B3686abffE4be14A030A96aC6154023a", - UI_POOL_DATA_PROVIDER: "0x1dDAF95C8f58d1283E9aE5e3C964b575D7cF7aE3", - UI_INCENTIVE_DATA_PROVIDER: "0x70371a494f73A8Df658C5cd29E2C1601787e1009", - COLLECTOR: "0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0" + LENDING_POOL_ADDRESS_PROVIDER: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'.toLowerCase(), + LENDING_POOL: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + WETH_GATEWAY: '0x6F143FE2F7B02424ad3CaD1593D6f36c0Aab69d7', + REPAY_WITH_COLLATERAL_ADAPTER: '0x8a743090e9759E758d15a4CFd18408fb6332c625', + SWAP_COLLATERAL_ADAPTER: '0xF7fC20D9D1D8DFE55F5F2c3180272a5747dD327F', + WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a', + UI_POOL_DATA_PROVIDER: '0x1dDAF95C8f58d1283E9aE5e3C964b575D7cF7aE3', + UI_INCENTIVE_DATA_PROVIDER: '0x70371a494f73A8Df658C5cd29E2C1601787e1009', + COLLECTOR: '0x5ba7fd868c40c16f7aDfAe6CF87121E13FC2F7a0', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-v3-track-health-factor", - marketName: "avalanche" - } + URL: 'https://app.hal.xyz/recipes/aave-v3-track-health-factor', + marketName: 'avalanche', + }, }, - ["proto_fuji_v3" /* proto_fuji_v3 */]: { - marketTitle: "Avalanche Fuji", + ['proto_fuji_v3' /* proto_fuji_v3 */]: { + marketTitle: 'Avalanche Fuji', v3: true, chainId: import_contract_helpers2.ChainId.fuji, enabledFeatures: { faucet: true, - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0x1775ECC8362dB6CaB0c7A9C0957cF656A5276c29".toLowerCase(), - LENDING_POOL: "0xb47673b7a73D78743AFF1487AF69dBB5763F00cA", - WETH_GATEWAY: "0x8f57153F18b7273f9A814b93b31Cb3f9b035e7C2", - FAUCET: "0x127277bF2F5fA186bfC6b3a0ca00baefB5472d3a", - WALLET_BALANCE_PROVIDER: "0xd19443202328A66875a51560c28276868B8C61C2", - UI_POOL_DATA_PROVIDER: "0x88138CA1e9E485A1E688b030F85Bb79d63f156BA", - UI_INCENTIVE_DATA_PROVIDER: "0x7eEB186F13538e6795a0823e2D7283FEeD2738f5" - } + LENDING_POOL_ADDRESS_PROVIDER: '0x1775ECC8362dB6CaB0c7A9C0957cF656A5276c29'.toLowerCase(), + LENDING_POOL: '0xb47673b7a73D78743AFF1487AF69dBB5763F00cA', + WETH_GATEWAY: '0x8f57153F18b7273f9A814b93b31Cb3f9b035e7C2', + FAUCET: '0x127277bF2F5fA186bfC6b3a0ca00baefB5472d3a', + WALLET_BALANCE_PROVIDER: '0xd19443202328A66875a51560c28276868B8C61C2', + UI_POOL_DATA_PROVIDER: '0x88138CA1e9E485A1E688b030F85Bb79d63f156BA', + UI_INCENTIVE_DATA_PROVIDER: '0x7eEB186F13538e6795a0823e2D7283FEeD2738f5', + }, }, - ["proto_optimism_goerli_v3" /* proto_optimism_goerli_v3 */]: { - marketTitle: "Optimism G\xF6rli", + ['proto_optimism_goerli_v3' /* proto_optimism_goerli_v3 */]: { + marketTitle: 'Optimism G\xF6rli', v3: true, chainId: import_contract_helpers2.ChainId.optimism_goerli, enabledFeatures: { faucet: true, - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0x74a328ED938160D702378Daeb7aB2504714B4E4b".toLowerCase(), - LENDING_POOL: "0x4b529A5d8268d74B687aC3dbb00e1b85bF4BF0d4", - WETH_GATEWAY: "0x6f7f2440006221F893c587b88f01afc42B6F8d2e", - FAUCET: "0xC52eA1F19C22E5a3725105BC0cf4988614e84D98", - WALLET_BALANCE_PROVIDER: "0xAEe1FD5CB505aa48E49c01DdE732956eDef8b42f", - UI_POOL_DATA_PROVIDER: "0x7F2CEE177943bBa0C27e77C8F7893A27B4E0F740", - UI_INCENTIVE_DATA_PROVIDER: "0x596b5804E1f541baC5f265aF7C4bcc5077522876" - } + LENDING_POOL_ADDRESS_PROVIDER: '0x74a328ED938160D702378Daeb7aB2504714B4E4b'.toLowerCase(), + LENDING_POOL: '0x4b529A5d8268d74B687aC3dbb00e1b85bF4BF0d4', + WETH_GATEWAY: '0x6f7f2440006221F893c587b88f01afc42B6F8d2e', + FAUCET: '0xC52eA1F19C22E5a3725105BC0cf4988614e84D98', + WALLET_BALANCE_PROVIDER: '0xAEe1FD5CB505aa48E49c01DdE732956eDef8b42f', + UI_POOL_DATA_PROVIDER: '0x7F2CEE177943bBa0C27e77C8F7893A27B4E0F740', + UI_INCENTIVE_DATA_PROVIDER: '0x596b5804E1f541baC5f265aF7C4bcc5077522876', + }, }, - ["proto_fantom_v3" /* proto_fantom_v3 */]: { - marketTitle: "Fantom", + ['proto_fantom_v3' /* proto_fantom_v3 */]: { + marketTitle: 'Fantom', v3: true, chainId: import_contract_helpers2.ChainId.fantom, enabledFeatures: { incentives: true, collateralRepay: true, - liquiditySwap: true + liquiditySwap: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb".toLowerCase(), - LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD", - WETH_GATEWAY: "0x1DcDA4de2Bf6c7AD9a34788D22aE6b7d55016e1f", - SWAP_COLLATERAL_ADAPTER: "0xe387c6053ce8ec9f8c3fa5ce085af73114a695d3", - REPAY_WITH_COLLATERAL_ADAPTER: "0x1408401B2A7E28cB747b3e258D0831Fc926bAC51", - WALLET_BALANCE_PROVIDER: "0xBc790382B3686abffE4be14A030A96aC6154023a", - UI_POOL_DATA_PROVIDER: "0x46E1b32fA843da745D7AA0ae630b544D6af9fe81", - UI_INCENTIVE_DATA_PROVIDER: "0x881c17956e29e4D5264162B6C2D7F5b2E6de4d54", - COLLECTOR: "0xBe85413851D195fC6341619cD68BfDc26a25b928" + LENDING_POOL_ADDRESS_PROVIDER: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'.toLowerCase(), + LENDING_POOL: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + WETH_GATEWAY: '0x1DcDA4de2Bf6c7AD9a34788D22aE6b7d55016e1f', + SWAP_COLLATERAL_ADAPTER: '0xe387c6053ce8ec9f8c3fa5ce085af73114a695d3', + REPAY_WITH_COLLATERAL_ADAPTER: '0x1408401B2A7E28cB747b3e258D0831Fc926bAC51', + WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a', + UI_POOL_DATA_PROVIDER: '0x46E1b32fA843da745D7AA0ae630b544D6af9fe81', + UI_INCENTIVE_DATA_PROVIDER: '0x881c17956e29e4D5264162B6C2D7F5b2E6de4d54', + COLLECTOR: '0xBe85413851D195fC6341619cD68BfDc26a25b928', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-v3-track-health-factor", - marketName: "fantom" - } + URL: 'https://app.hal.xyz/recipes/aave-v3-track-health-factor', + marketName: 'fantom', + }, }, - ["proto_fantom_testnet_v3" /* proto_fantom_testnet_v3 */]: { - marketTitle: "Fantom Testnet", + ['proto_fantom_testnet_v3' /* proto_fantom_testnet_v3 */]: { + marketTitle: 'Fantom Testnet', v3: true, chainId: import_contract_helpers2.ChainId.fantom_testnet, enabledFeatures: { faucet: true, - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xE339D30cBa24C70dCCb82B234589E3C83249e658".toLowerCase(), - LENDING_POOL: "0x771A45a19cE333a19356694C5fc80c76fe9bc741", - WETH_GATEWAY: "0x87770f04Bbece8092d777860907798138825f303", - FAUCET: "0x02D538e56A729C535F83b2DA20Ddf9AD7281FE6c", - WALLET_BALANCE_PROVIDER: "0xBb3F2bB6126b0709F738cbe6B50bFE69fd663e73", - UI_POOL_DATA_PROVIDER: "0xBCb61ecc7997cc736E4802de2D5ce76D0908C97c", - UI_INCENTIVE_DATA_PROVIDER: "0xe2E3a30E77469397dc3CF74f1Fa35f39493207C2" - } + LENDING_POOL_ADDRESS_PROVIDER: '0xE339D30cBa24C70dCCb82B234589E3C83249e658'.toLowerCase(), + LENDING_POOL: '0x771A45a19cE333a19356694C5fc80c76fe9bc741', + WETH_GATEWAY: '0x87770f04Bbece8092d777860907798138825f303', + FAUCET: '0x02D538e56A729C535F83b2DA20Ddf9AD7281FE6c', + WALLET_BALANCE_PROVIDER: '0xBb3F2bB6126b0709F738cbe6B50bFE69fd663e73', + UI_POOL_DATA_PROVIDER: '0xBCb61ecc7997cc736E4802de2D5ce76D0908C97c', + UI_INCENTIVE_DATA_PROVIDER: '0xe2E3a30E77469397dc3CF74f1Fa35f39493207C2', + }, }, - ["proto_harmony_v3" /* proto_harmony_v3 */]: { - marketTitle: "Harmony", + ['proto_harmony_v3' /* proto_harmony_v3 */]: { + marketTitle: 'Harmony', v3: true, chainId: import_contract_helpers2.ChainId.harmony, enabledFeatures: { - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb".toLowerCase(), - LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD", - WETH_GATEWAY: "0xE387c6053CE8EC9f8C3fa5cE085Af73114a695d3", - WALLET_BALANCE_PROVIDER: "0xBc790382B3686abffE4be14A030A96aC6154023a", - UI_POOL_DATA_PROVIDER: "0xf952959c0F7FBed55786749219FECd8cd0ec8441", - UI_INCENTIVE_DATA_PROVIDER: "0x027f58ea3B4c81c1ceeFAdE9c56375545a6E75F4", - COLLECTOR: "0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31" - } + LENDING_POOL_ADDRESS_PROVIDER: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'.toLowerCase(), + LENDING_POOL: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + WETH_GATEWAY: '0xE387c6053CE8EC9f8C3fa5cE085Af73114a695d3', + WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a', + UI_POOL_DATA_PROVIDER: '0xf952959c0F7FBed55786749219FECd8cd0ec8441', + UI_INCENTIVE_DATA_PROVIDER: '0x027f58ea3B4c81c1ceeFAdE9c56375545a6E75F4', + COLLECTOR: '0x8A020d92D6B119978582BE4d3EdFdC9F7b28BF31', + }, }, - ["proto_optimism_v3" /* proto_optimism_v3 */]: { - marketTitle: "Optimism", + ['proto_optimism_v3' /* proto_optimism_v3 */]: { + marketTitle: 'Optimism', v3: true, chainId: import_contract_helpers2.ChainId.optimism, enabledFeatures: { incentives: true, collateralRepay: true, - liquiditySwap: true + liquiditySwap: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb".toLowerCase(), - LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD", - WETH_GATEWAY: "0x76D3030728e52DEB8848d5613aBaDE88441cbc59", - WALLET_BALANCE_PROVIDER: "0xBc790382B3686abffE4be14A030A96aC6154023a", - UI_POOL_DATA_PROVIDER: "0x472337F1C9c1C5497c23dD8060df8729f33b5543", - UI_INCENTIVE_DATA_PROVIDER: "0x44b864b92043a960313F3C94BD6DB4dA202814F6", - L2_ENCODER: "0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC", - COLLECTOR: "0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf", - SWAP_COLLATERAL_ADAPTER: "0xC7524B08101dBe695d7ad671a332760b5d967Cbd", - REPAY_WITH_COLLATERAL_ADAPTER: "0x70371a494f73A8Df658C5cd29E2C1601787e1009" - } - }, - ["proto_polygon_v3" /* proto_polygon_v3 */]: { - marketTitle: "Polygon", + LENDING_POOL_ADDRESS_PROVIDER: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'.toLowerCase(), + LENDING_POOL: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + WETH_GATEWAY: '0x76D3030728e52DEB8848d5613aBaDE88441cbc59', + WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a', + UI_POOL_DATA_PROVIDER: '0x472337F1C9c1C5497c23dD8060df8729f33b5543', + UI_INCENTIVE_DATA_PROVIDER: '0x44b864b92043a960313F3C94BD6DB4dA202814F6', + L2_ENCODER: '0x9abADECD08572e0eA5aF4d47A9C7984a5AA503dC', + COLLECTOR: '0xB2289E329D2F85F1eD31Adbb30eA345278F21bcf', + SWAP_COLLATERAL_ADAPTER: '0xC7524B08101dBe695d7ad671a332760b5d967Cbd', + REPAY_WITH_COLLATERAL_ADAPTER: '0x70371a494f73A8Df658C5cd29E2C1601787e1009', + }, + }, + ['proto_polygon_v3' /* proto_polygon_v3 */]: { + marketTitle: 'Polygon', chainId: import_contract_helpers2.ChainId.polygon, v3: true, enabledFeatures: { liquiditySwap: true, incentives: true, - collateralRepay: true + collateralRepay: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb".toLowerCase(), - LENDING_POOL: "0x794a61358D6845594F94dc1DB02A252b5b4814aD", - WETH_GATEWAY: "0x1e4b7A6b903680eab0c5dAbcb8fD429cD2a9598c", - REPAY_WITH_COLLATERAL_ADAPTER: "0xA125561fca253f19eA93970534Bb0364ea74187a", - SWAP_COLLATERAL_ADAPTER: "0x301F221bc732907E2da2dbBFaA8F8F6847c170c3", - WALLET_BALANCE_PROVIDER: "0xBc790382B3686abffE4be14A030A96aC6154023a", - UI_POOL_DATA_PROVIDER: "0x7006e5a16E449123a3F26920746d03337ff37340", - UI_INCENTIVE_DATA_PROVIDER: "0xF43EfC9789736BaF550DC016C7389210c43e7997", - COLLECTOR: "0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383" + LENDING_POOL_ADDRESS_PROVIDER: '0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb'.toLowerCase(), + LENDING_POOL: '0x794a61358D6845594F94dc1DB02A252b5b4814aD', + WETH_GATEWAY: '0x1e4b7A6b903680eab0c5dAbcb8fD429cD2a9598c', + REPAY_WITH_COLLATERAL_ADAPTER: '0xA125561fca253f19eA93970534Bb0364ea74187a', + SWAP_COLLATERAL_ADAPTER: '0x301F221bc732907E2da2dbBFaA8F8F6847c170c3', + WALLET_BALANCE_PROVIDER: '0xBc790382B3686abffE4be14A030A96aC6154023a', + UI_POOL_DATA_PROVIDER: '0x7006e5a16E449123a3F26920746d03337ff37340', + UI_INCENTIVE_DATA_PROVIDER: '0xF43EfC9789736BaF550DC016C7389210c43e7997', + COLLECTOR: '0xe8599F3cc5D38a9aD6F3684cd5CEa72f10Dbc383', }, halIntegration: { - URL: "https://app.hal.xyz/recipes/aave-v3-track-health-factor", - marketName: "polygon" - } + URL: 'https://app.hal.xyz/recipes/aave-v3-track-health-factor', + marketName: 'polygon', + }, }, - ["proto_mumbai_v3" /* proto_mumbai_v3 */]: { - marketTitle: "Polygon Mumbai", + ['proto_mumbai_v3' /* proto_mumbai_v3 */]: { + marketTitle: 'Polygon Mumbai', chainId: import_contract_helpers2.ChainId.mumbai, enabledFeatures: { incentives: true, - faucet: true + faucet: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0x5343b5bA672Ae99d627A1C87866b8E53F47Db2E6".toLowerCase(), - LENDING_POOL: "0x6C9fB0D5bD9429eb9Cd96B85B81d872281771E6B", - WETH_GATEWAY: "0x2a58E9bbb5434FdA7FF78051a4B82cb0EF669C17", - FAUCET: "0xc1eB89DA925cc2Ae8B36818d26E12DDF8F8601b0", - WALLET_BALANCE_PROVIDER: "0x78baC31Ed73c115EB7067d1AfE75eC7B4e16Df9e", - UI_POOL_DATA_PROVIDER: "0x74E3445f239f9915D57715Efb810f67b2a7E5758", - UI_INCENTIVE_DATA_PROVIDER: "0x26C3249723F2b98be57F49a1a31A9243a4B2cd88" + LENDING_POOL_ADDRESS_PROVIDER: '0x5343b5bA672Ae99d627A1C87866b8E53F47Db2E6'.toLowerCase(), + LENDING_POOL: '0x6C9fB0D5bD9429eb9Cd96B85B81d872281771E6B', + WETH_GATEWAY: '0x2a58E9bbb5434FdA7FF78051a4B82cb0EF669C17', + FAUCET: '0xc1eB89DA925cc2Ae8B36818d26E12DDF8F8601b0', + WALLET_BALANCE_PROVIDER: '0x78baC31Ed73c115EB7067d1AfE75eC7B4e16Df9e', + UI_POOL_DATA_PROVIDER: '0x74E3445f239f9915D57715Efb810f67b2a7E5758', + UI_INCENTIVE_DATA_PROVIDER: '0x26C3249723F2b98be57F49a1a31A9243a4B2cd88', }, - v3: true + v3: true, }, - ["proto_goerli" /* proto_goerli */]: { - marketTitle: "Ethereum G\xF6rli", + ['proto_goerli' /* proto_goerli */]: { + marketTitle: 'Ethereum G\xF6rli', chainId: import_contract_helpers2.ChainId.goerli, enabledFeatures: { - faucet: true + faucet: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0x5E52dEc931FFb32f609681B8438A51c675cc232d".toLowerCase(), - LENDING_POOL: "0x4bd5643ac6f66a5237E18bfA7d47cF22f1c9F210", - WETH_GATEWAY: "0x3bd3a20Ac9Ff1dda1D99C0dFCE6D65C4960B3627", - WALLET_BALANCE_PROVIDER: "0xf1E4A6E7FA07421FD5139Ba0848290A27e22db7f", - UI_POOL_DATA_PROVIDER: "0xcCb7a1B6B5D72c4AA633B114537cD20612fDccbB", - UI_INCENTIVE_DATA_PROVIDER: "0xA2E05bE2090b3658A264bdf1C39387f5Dba367Ec", - FAUCET: "0x681860075529352da2C94082Eb66c59dF958e89C" - } + LENDING_POOL_ADDRESS_PROVIDER: '0x5E52dEc931FFb32f609681B8438A51c675cc232d'.toLowerCase(), + LENDING_POOL: '0x4bd5643ac6f66a5237E18bfA7d47cF22f1c9F210', + WETH_GATEWAY: '0x3bd3a20Ac9Ff1dda1D99C0dFCE6D65C4960B3627', + WALLET_BALANCE_PROVIDER: '0xf1E4A6E7FA07421FD5139Ba0848290A27e22db7f', + UI_POOL_DATA_PROVIDER: '0xcCb7a1B6B5D72c4AA633B114537cD20612fDccbB', + UI_INCENTIVE_DATA_PROVIDER: '0xA2E05bE2090b3658A264bdf1C39387f5Dba367Ec', + FAUCET: '0x681860075529352da2C94082Eb66c59dF958e89C', + }, }, - ["proto_mumbai" /* proto_mumbai */]: { - marketTitle: "Polygon Mumbai", + ['proto_mumbai' /* proto_mumbai */]: { + marketTitle: 'Polygon Mumbai', chainId: import_contract_helpers2.ChainId.mumbai, enabledFeatures: { incentives: true, - faucet: true + faucet: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0x178113104fEcbcD7fF8669a0150721e231F0FD4B".toLowerCase(), - LENDING_POOL: "0x9198F13B08E299d85E096929fA9781A1E3d5d827", - WETH_GATEWAY: "0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA", - FAUCET: "0x0b3C23243106A69449e79C14c58BB49E358f9B10", - WALLET_BALANCE_PROVIDER: "0xEe7c0172c200e12AFEa3C34837052ec52F3f367A", - UI_POOL_DATA_PROVIDER: "0x71ABaeBCA33Dac8CbF99790DF3c72b42908b8E43", - UI_INCENTIVE_DATA_PROVIDER: "0x070a7D8F4d7A7A87452C5BaBaB3158e08411907E" - } + LENDING_POOL_ADDRESS_PROVIDER: '0x178113104fEcbcD7fF8669a0150721e231F0FD4B'.toLowerCase(), + LENDING_POOL: '0x9198F13B08E299d85E096929fA9781A1E3d5d827', + WETH_GATEWAY: '0xee9eE614Ad26963bEc1Bec0D2c92879ae1F209fA', + FAUCET: '0x0b3C23243106A69449e79C14c58BB49E358f9B10', + WALLET_BALANCE_PROVIDER: '0xEe7c0172c200e12AFEa3C34837052ec52F3f367A', + UI_POOL_DATA_PROVIDER: '0x71ABaeBCA33Dac8CbF99790DF3c72b42908b8E43', + UI_INCENTIVE_DATA_PROVIDER: '0x070a7D8F4d7A7A87452C5BaBaB3158e08411907E', + }, }, - ["proto_fuji" /* proto_fuji */]: { - marketTitle: "Avalanche Fuji", + ['proto_fuji' /* proto_fuji */]: { + marketTitle: 'Avalanche Fuji', chainId: import_contract_helpers2.ChainId.fuji, enabledFeatures: { faucet: true, - incentives: true + incentives: true, }, rpcOnly: true, addresses: { - LENDING_POOL_ADDRESS_PROVIDER: "0x7fdC1FdF79BE3309bf82f4abdAD9f111A6590C0f".toLowerCase(), - LENDING_POOL: "0x76cc67FF2CC77821A70ED14321111Ce381C2594D", - WETH_GATEWAY: "0x1648C14DbB6ccdd5846969cE23DeEC4C66a03335", - FAUCET: "0x90E5BAc5A98fff59617080848959f44eACB4Cd7B", - WALLET_BALANCE_PROVIDER: "0x3f5A507B33260a3869878B31FB90F04F451d28e3", - UI_POOL_DATA_PROVIDER: "0xBA6378f1c1D046e9EB0F538560BA7558546edF3C", - UI_INCENTIVE_DATA_PROVIDER: "0x9842E5B7b7C6cEDfB1952a388e050582Ff95645b" - } - } + LENDING_POOL_ADDRESS_PROVIDER: '0x7fdC1FdF79BE3309bf82f4abdAD9f111A6590C0f'.toLowerCase(), + LENDING_POOL: '0x76cc67FF2CC77821A70ED14321111Ce381C2594D', + WETH_GATEWAY: '0x1648C14DbB6ccdd5846969cE23DeEC4C66a03335', + FAUCET: '0x90E5BAc5A98fff59617080848959f44eACB4Cd7B', + WALLET_BALANCE_PROVIDER: '0x3f5A507B33260a3869878B31FB90F04F451d28e3', + UI_POOL_DATA_PROVIDER: '0xBA6378f1c1D046e9EB0F538560BA7558546edF3C', + UI_INCENTIVE_DATA_PROVIDER: '0x9842E5B7b7C6cEDfB1952a388e050582Ff95645b', + }, + }, }; // src/ui-config/networksConfig.ts var import_contract_helpers3 = __toESM(require_cjs()); var networkConfigs = { [import_contract_helpers3.ChainId.goerli]: { - name: "Ethereum G\xF6rli", - publicJsonRPCUrl: ["https://eth-goerli.alchemyapi.io/v2/demo", "https://goerli.prylabs.net"], - publicJsonRPCWSUrl: "wss://eth-goerli.alchemyapi.io/v2/demo", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "ETH", - wrappedBaseAssetSymbol: "WETH", + name: 'Ethereum G\xF6rli', + publicJsonRPCUrl: ['https://eth-goerli.alchemyapi.io/v2/demo', 'https://goerli.prylabs.net'], + publicJsonRPCWSUrl: 'wss://eth-goerli.alchemyapi.io/v2/demo', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'ETH', + wrappedBaseAssetSymbol: 'WETH', baseAssetDecimals: 18, - explorerLink: "https://goerli.etherscan.io", + explorerLink: 'https://goerli.etherscan.io', isTestnet: true, - networkLogoPath: "/icons/networks/ethereum.svg" + networkLogoPath: '/icons/networks/ethereum.svg', }, [import_contract_helpers3.ChainId.mainnet]: { - name: "Ethereum", - privateJsonRPCUrl: "https://eth-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca", - publicJsonRPCUrl: ["https://cloudflare-eth.com/v1/mainnet"], - publicJsonRPCWSUrl: "wss://eth-mainnet.alchemyapi.io/v2/demo", - baseUniswapAdapter: "0xc3efa200a60883a96ffe3d5b492b121d6e9a1f3f", - baseAssetSymbol: "ETH", - wrappedBaseAssetSymbol: "WETH", + name: 'Ethereum', + privateJsonRPCUrl: 'https://eth-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca', + publicJsonRPCUrl: ['https://cloudflare-eth.com/v1/mainnet'], + publicJsonRPCWSUrl: 'wss://eth-mainnet.alchemyapi.io/v2/demo', + baseUniswapAdapter: '0xc3efa200a60883a96ffe3d5b492b121d6e9a1f3f', + baseAssetSymbol: 'ETH', + wrappedBaseAssetSymbol: 'WETH', baseAssetDecimals: 18, - explorerLink: "https://etherscan.io", - ratesHistoryApiUrl: "https://aave-api-v2.aave.com/data/rates-history", - networkLogoPath: "/icons/networks/ethereum.svg" + explorerLink: 'https://etherscan.io', + ratesHistoryApiUrl: 'https://aave-api-v2.aave.com/data/rates-history', + networkLogoPath: '/icons/networks/ethereum.svg', }, [import_contract_helpers3.ChainId.polygon]: { - name: "Polygon POS", - privateJsonRPCUrl: "https://poly-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca", + name: 'Polygon POS', + privateJsonRPCUrl: 'https://poly-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca', publicJsonRPCUrl: [], - baseAssetSymbol: "MATIC", - wrappedBaseAssetSymbol: "WMATIC", + baseAssetSymbol: 'MATIC', + wrappedBaseAssetSymbol: 'WMATIC', baseAssetDecimals: 18, - explorerLink: "https://polygonscan.com", - networkLogoPath: "/icons/networks/polygon.svg", + explorerLink: 'https://polygonscan.com', + networkLogoPath: '/icons/networks/polygon.svg', bridge: { - icon: "/icons/bridge/polygon.svg", - name: "Polygon PoS Bridge", - url: "https://wallet.matic.network/bridge/" + icon: '/icons/bridge/polygon.svg', + name: 'Polygon PoS Bridge', + url: 'https://wallet.matic.network/bridge/', }, - ratesHistoryApiUrl: "https://aave-api-v2.aave.com/data/rates-history" + ratesHistoryApiUrl: 'https://aave-api-v2.aave.com/data/rates-history', }, [import_contract_helpers3.ChainId.mumbai]: { - name: "Mumbai", - publicJsonRPCUrl: ["https://polygon-mumbai.g.alchemy.com/v2/demo"], - publicJsonRPCWSUrl: "wss://polygon-mumbai.g.alchemy.com/v2/demo", - baseAssetSymbol: "MATIC", - wrappedBaseAssetSymbol: "WMATIC", + name: 'Mumbai', + publicJsonRPCUrl: ['https://polygon-mumbai.g.alchemy.com/v2/demo'], + publicJsonRPCWSUrl: 'wss://polygon-mumbai.g.alchemy.com/v2/demo', + baseAssetSymbol: 'MATIC', + wrappedBaseAssetSymbol: 'WMATIC', baseAssetDecimals: 18, - explorerLink: "https://explorer-mumbai.maticvigil.com", + explorerLink: 'https://explorer-mumbai.maticvigil.com', isTestnet: true, - networkLogoPath: "/icons/networks/polygon.svg" + networkLogoPath: '/icons/networks/polygon.svg', }, [import_contract_helpers3.ChainId.fuji]: { - name: "Avalanche Fuji", - publicJsonRPCUrl: ["https://api.avax-test.network/ext/bc/C/rpc"], - publicJsonRPCWSUrl: "wss://api.avax-test.network/ext/bc/C/rpc", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "AVAX", - wrappedBaseAssetSymbol: "WAVAX", + name: 'Avalanche Fuji', + publicJsonRPCUrl: ['https://api.avax-test.network/ext/bc/C/rpc'], + publicJsonRPCWSUrl: 'wss://api.avax-test.network/ext/bc/C/rpc', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'AVAX', + wrappedBaseAssetSymbol: 'WAVAX', baseAssetDecimals: 18, - explorerLink: "https://cchain.explorer.avax-test.network", + explorerLink: 'https://cchain.explorer.avax-test.network', isTestnet: true, - networkLogoPath: "/icons/networks/avalanche.svg", + networkLogoPath: '/icons/networks/avalanche.svg', bridge: { - icon: "/icons/bridge/avalanche.svg", - name: "Avalanche Bridge", - url: "https://bridge.avax.network/" - } + icon: '/icons/bridge/avalanche.svg', + name: 'Avalanche Bridge', + url: 'https://bridge.avax.network/', + }, }, [import_contract_helpers3.ChainId.avalanche]: { - name: "Avalanche", - privateJsonRPCUrl: "https://avax-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca/ext/bc/C/rpc", - publicJsonRPCUrl: ["https://api.avax.network/ext/bc/C/rpc"], - publicJsonRPCWSUrl: "wss://api.avax.network/ext/bc/C/rpc", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "AVAX", - wrappedBaseAssetSymbol: "WAVAX", + name: 'Avalanche', + privateJsonRPCUrl: + 'https://avax-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca/ext/bc/C/rpc', + publicJsonRPCUrl: ['https://api.avax.network/ext/bc/C/rpc'], + publicJsonRPCWSUrl: 'wss://api.avax.network/ext/bc/C/rpc', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'AVAX', + wrappedBaseAssetSymbol: 'WAVAX', baseAssetDecimals: 18, - explorerLink: "https://cchain.explorer.avax.network", - networkLogoPath: "/icons/networks/avalanche.svg", + explorerLink: 'https://cchain.explorer.avax.network', + networkLogoPath: '/icons/networks/avalanche.svg', bridge: { - icon: "/icons/bridge/avalanche.svg", - name: "Avalanche Bridge", - url: "https://bridge.avax.network/" + icon: '/icons/bridge/avalanche.svg', + name: 'Avalanche Bridge', + url: 'https://bridge.avax.network/', }, - ratesHistoryApiUrl: "https://aave-api-v2.aave.com/data/rates-history" + ratesHistoryApiUrl: 'https://aave-api-v2.aave.com/data/rates-history', }, [import_contract_helpers3.ChainId.arbitrum_goerli]: { - name: "Arbitrum G\xF6rli", - publicJsonRPCUrl: ["https://goerli-rollup.arbitrum.io/rpc"], - publicJsonRPCWSUrl: "wss://goerli-rollup.arbitrum.io/rpc", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "ETH", - wrappedBaseAssetSymbol: "WETH", + name: 'Arbitrum G\xF6rli', + publicJsonRPCUrl: ['https://goerli-rollup.arbitrum.io/rpc'], + publicJsonRPCWSUrl: 'wss://goerli-rollup.arbitrum.io/rpc', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'ETH', + wrappedBaseAssetSymbol: 'WETH', baseAssetDecimals: 18, - explorerLink: "https://goerli-rollup-explorer.arbitrum.io", + explorerLink: 'https://goerli-rollup-explorer.arbitrum.io', isTestnet: true, - networkLogoPath: "/icons/networks/arbitrum.svg", + networkLogoPath: '/icons/networks/arbitrum.svg', bridge: { - icon: "/icons/bridge/arbitrum.svg", - name: "Arbitrum Bridge", - url: "https://bridge.arbitrum.io" - } + icon: '/icons/bridge/arbitrum.svg', + name: 'Arbitrum Bridge', + url: 'https://bridge.arbitrum.io', + }, }, [import_contract_helpers3.ChainId.arbitrum_one]: { - name: "Arbitrum", - publicJsonRPCUrl: ["https://arb1.arbitrum.io/rpc"], - publicJsonRPCWSUrl: "wss://arb1.arbitrum.io/rpc", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "ETH", - wrappedBaseAssetSymbol: "WETH", + name: 'Arbitrum', + publicJsonRPCUrl: ['https://arb1.arbitrum.io/rpc'], + publicJsonRPCWSUrl: 'wss://arb1.arbitrum.io/rpc', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'ETH', + wrappedBaseAssetSymbol: 'WETH', baseAssetDecimals: 18, - explorerLink: "https://arbiscan.io", - networkLogoPath: "/icons/networks/arbitrum.svg", + explorerLink: 'https://arbiscan.io', + networkLogoPath: '/icons/networks/arbitrum.svg', bridge: { - icon: "/icons/bridge/arbitrum.svg", - name: "Arbitrum Bridge", - url: "https://bridge.arbitrum.io" - } + icon: '/icons/bridge/arbitrum.svg', + name: 'Arbitrum Bridge', + url: 'https://bridge.arbitrum.io', + }, }, [import_contract_helpers3.ChainId.harmony]: { - name: "Harmony", - privateJsonRPCUrl: "https://harmony-0.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca", - publicJsonRPCUrl: ["https://api.s0.t.hmny.io", "https://api.harmony.one"], - publicJsonRPCWSUrl: "wss://ws.s0.t.hmny.io", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "ONE", - wrappedBaseAssetSymbol: "WONE", + name: 'Harmony', + privateJsonRPCUrl: 'https://harmony-0.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca', + publicJsonRPCUrl: ['https://api.s0.t.hmny.io', 'https://api.harmony.one'], + publicJsonRPCWSUrl: 'wss://ws.s0.t.hmny.io', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'ONE', + wrappedBaseAssetSymbol: 'WONE', baseAssetDecimals: 18, - explorerLink: "https://explorer.harmony.one", - networkLogoPath: "/icons/networks/harmony.svg", + explorerLink: 'https://explorer.harmony.one', + networkLogoPath: '/icons/networks/harmony.svg', bridge: { - icon: "/icons/bridge/harmony.svg", - name: "Harmony Bridge", - url: "https://bridge.harmony.one" - } + icon: '/icons/bridge/harmony.svg', + name: 'Harmony Bridge', + url: 'https://bridge.harmony.one', + }, }, [import_contract_helpers3.ChainId.optimism]: { - name: "Optimism", - privateJsonRPCUrl: "https://optimism-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca", - publicJsonRPCUrl: ["https://optimism-mainnet.public.blastapi.io"], - publicJsonRPCWSUrl: "wss://optimism-mainnet.public.blastapi.io", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "ETH", - wrappedBaseAssetSymbol: "WETH", + name: 'Optimism', + privateJsonRPCUrl: + 'https://optimism-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca', + publicJsonRPCUrl: ['https://optimism-mainnet.public.blastapi.io'], + publicJsonRPCWSUrl: 'wss://optimism-mainnet.public.blastapi.io', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'ETH', + wrappedBaseAssetSymbol: 'WETH', baseAssetDecimals: 18, - explorerLink: "https://optimistic.etherscan.io", - networkLogoPath: "/icons/networks/optimism.svg", + explorerLink: 'https://optimistic.etherscan.io', + networkLogoPath: '/icons/networks/optimism.svg', bridge: { - icon: "/icons/bridge/optimism.svg", - name: "Optimism Bridge", - url: "https://app.optimism.io/bridge" - } + icon: '/icons/bridge/optimism.svg', + name: 'Optimism Bridge', + url: 'https://app.optimism.io/bridge', + }, }, [import_contract_helpers3.ChainId.optimism_goerli]: { - name: "Optimism G\xF6rli", - publicJsonRPCUrl: ["https://goerli.optimism.io"], - publicJsonRPCWSUrl: "wss://goerli.optimism.io", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "ETH", - wrappedBaseAssetSymbol: "WETH", + name: 'Optimism G\xF6rli', + publicJsonRPCUrl: ['https://goerli.optimism.io'], + publicJsonRPCWSUrl: 'wss://goerli.optimism.io', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'ETH', + wrappedBaseAssetSymbol: 'WETH', baseAssetDecimals: 18, - explorerLink: "https://l2-explorer.surge.sh", + explorerLink: 'https://l2-explorer.surge.sh', isTestnet: true, - networkLogoPath: "/icons/networks/optimism.svg" + networkLogoPath: '/icons/networks/optimism.svg', }, [import_contract_helpers3.ChainId.fantom]: { - name: "Fantom", - privateJsonRPCUrl: "https://fantom-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca", + name: 'Fantom', + privateJsonRPCUrl: 'https://fantom-mainnet.gateway.pokt.network/v1/lb/62b3314e123e6f00397f19ca', publicJsonRPCUrl: [], - baseUniswapAdapter: "0x0", - baseAssetSymbol: "FTM", - wrappedBaseAssetSymbol: "WFTM", + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'FTM', + wrappedBaseAssetSymbol: 'WFTM', baseAssetDecimals: 18, - explorerLink: "https://ftmscan.com", - networkLogoPath: "/icons/networks/fantom.svg", + explorerLink: 'https://ftmscan.com', + networkLogoPath: '/icons/networks/fantom.svg', bridge: { - icon: "/icons/bridge/fantom.svg", - name: "Fantom Bridge", - url: "https://app.multichain.org/#/router" - } + icon: '/icons/bridge/fantom.svg', + name: 'Fantom Bridge', + url: 'https://app.multichain.org/#/router', + }, }, [import_contract_helpers3.ChainId.fantom_testnet]: { - name: "Fantom Testnet", - publicJsonRPCUrl: ["https://rpc.testnet.fantom.network"], - publicJsonRPCWSUrl: "", - baseUniswapAdapter: "0x0", - baseAssetSymbol: "FTM", - wrappedBaseAssetSymbol: "WFTM", + name: 'Fantom Testnet', + publicJsonRPCUrl: ['https://rpc.testnet.fantom.network'], + publicJsonRPCWSUrl: '', + baseUniswapAdapter: '0x0', + baseAssetSymbol: 'FTM', + wrappedBaseAssetSymbol: 'WFTM', baseAssetDecimals: 18, - explorerLink: "https://testnet.ftmscan.com", + explorerLink: 'https://testnet.ftmscan.com', isTestnet: true, - networkLogoPath: "/icons/networks/fantom.svg", + networkLogoPath: '/icons/networks/fantom.svg', bridge: { - icon: "/icons/bridge/fantom.svg", - name: "Fantom Bridge", - url: "https://app.multichain.org/#/router" - } - } + icon: '/icons/bridge/fantom.svg', + name: 'Fantom Bridge', + url: 'https://app.multichain.org/#/router', + }, + }, }; // src/utils/marketsAndNetworksConfig.ts -var STAGING_ENV = process.env.NEXT_PUBLIC_ENV === "staging"; -var PROD_ENV = !process.env.NEXT_PUBLIC_ENV || process.env.NEXT_PUBLIC_ENV === "prod"; +var STAGING_ENV = process.env.NEXT_PUBLIC_ENV === 'staging'; +var PROD_ENV = !process.env.NEXT_PUBLIC_ENV || process.env.NEXT_PUBLIC_ENV === 'prod'; var _a; -var ENABLE_TESTNET = PROD_ENV && ((_a = global == null ? void 0 : global.window) == null ? void 0 : _a.localStorage.getItem("testnetsEnabled")) === "true"; +var ENABLE_TESTNET = + PROD_ENV && + ((_a = global == null ? void 0 : global.window) == null + ? void 0 + : _a.localStorage.getItem('testnetsEnabled')) === 'true'; var _a2; -var FORK_ENABLED = ((_a2 = global == null ? void 0 : global.window) == null ? void 0 : _a2.localStorage.getItem("forkEnabled")) === "true"; +var FORK_ENABLED = + ((_a2 = global == null ? void 0 : global.window) == null + ? void 0 + : _a2.localStorage.getItem('forkEnabled')) === 'true'; var _a3; -var FORK_BASE_CHAIN_ID = Number(((_a3 = global == null ? void 0 : global.window) == null ? void 0 : _a3.localStorage.getItem("forkBaseChainId")) || 1); +var FORK_BASE_CHAIN_ID = Number( + ((_a3 = global == null ? void 0 : global.window) == null + ? void 0 + : _a3.localStorage.getItem('forkBaseChainId')) || 1 +); var _a4; -var FORK_CHAIN_ID = Number(((_a4 = global == null ? void 0 : global.window) == null ? void 0 : _a4.localStorage.getItem("forkChainId")) || 3030); +var FORK_CHAIN_ID = Number( + ((_a4 = global == null ? void 0 : global.window) == null + ? void 0 + : _a4.localStorage.getItem('forkNetworkId')) || 3030 +); var _a5; -var FORK_RPC_URL = ((_a5 = global == null ? void 0 : global.window) == null ? void 0 : _a5.localStorage.getItem("forkRPCUrl")) || "http://127.0.0.1:8545"; +var FORK_RPC_URL = + ((_a5 = global == null ? void 0 : global.window) == null + ? void 0 + : _a5.localStorage.getItem('forkRPCUrl')) || 'http://127.0.0.1:8545'; var _a6; -var FORK_WS_RPC_URL = ((_a6 = global == null ? void 0 : global.window) == null ? void 0 : _a6.localStorage.getItem("forkWsRPCUrl")) || "ws://127.0.0.1:8545"; +var FORK_WS_RPC_URL = + ((_a6 = global == null ? void 0 : global.window) == null + ? void 0 + : _a6.localStorage.getItem('forkWsRPCUrl')) || 'ws://127.0.0.1:8545'; var networkConfigs2 = Object.keys(networkConfigs).reduce((acc, value) => { acc[value] = networkConfigs[value]; if (FORK_ENABLED && Number(value) === FORK_BASE_CHAIN_ID) { @@ -61009,8 +75908,8 @@ var networkConfigs2 = Object.keys(networkConfigs).reduce((acc, value) => { privateJsonRPCUrl: FORK_RPC_URL, privateJsonRPCWSUrl: FORK_WS_RPC_URL, publicJsonRPCUrl: [], - publicJsonRPCWSUrl: "", - underlyingChainId: FORK_BASE_CHAIN_ID + publicJsonRPCWSUrl: '', + underlyingChainId: FORK_BASE_CHAIN_ID, }); } return acc; @@ -61021,47 +75920,48 @@ var marketsData2 = Object.keys(marketsData).reduce((acc, value) => { acc[`fork_${value}`] = __spreadProps(__spreadValues({}, marketsData[value]), { chainId: FORK_CHAIN_ID, rpcOnly: true, - isFork: true + isFork: true, }); } return acc; }, {}); function getSupportedChainIds() { return Array.from( - Object.keys(marketsData2).filter((value) => { - const isTestnet = networkConfigs2[marketsData2[value].chainId].isTestnet; - if (STAGING_ENV || ENABLE_TESTNET) { - return isTestnet; - } - return !isTestnet; - }).reduce( - (acc, value) => acc.add(marketsData2[value].chainId), - /* @__PURE__ */ new Set() - ) + Object.keys(marketsData2) + .filter((value) => { + const isTestnet = networkConfigs2[marketsData2[value].chainId].isTestnet; + if (STAGING_ENV || ENABLE_TESTNET) { + return isTestnet; + } + return !isTestnet; + }) + .reduce((acc, value) => acc.add(marketsData2[value].chainId), /* @__PURE__ */ new Set()) ); } -var availableMarkets = Object.keys(marketsData2).filter( - (key) => getSupportedChainIds().includes(marketsData2[key].chainId) +var availableMarkets = Object.keys(marketsData2).filter((key) => + getSupportedChainIds().includes(marketsData2[key].chainId) ); -var linkBuilder = ({ baseUrl, addressPrefix = "address", txPrefix = "tx" }) => ({ tx, address }) => { - if (tx) { - return `${baseUrl}/${txPrefix}/${tx}`; - } - if (address) { - return `${baseUrl}/${addressPrefix}/${address}`; - } - return baseUrl; -}; +var linkBuilder = + ({ baseUrl, addressPrefix = 'address', txPrefix = 'tx' }) => + ({ tx, address }) => { + if (tx) { + return `${baseUrl}/${txPrefix}/${tx}`; + } + if (address) { + return `${baseUrl}/${addressPrefix}/${address}`; + } + return baseUrl; + }; function getNetworkConfig(chainId) { const config = networkConfigs2[chainId]; if (!config) { const name2 = import_contract_helpers4.ChainIdToNetwork[chainId]; return { - name: name2 || `unknown chainId: ${chainId}` + name: name2 || `unknown chainId: ${chainId}`, }; } return __spreadProps(__spreadValues({}, config), { - explorerLinkBuilder: linkBuilder({ baseUrl: config.explorerLink }) + explorerLinkBuilder: linkBuilder({ baseUrl: config.explorerLink }), }); } var providers = {}; @@ -61071,15 +75971,18 @@ var getProvider = (chainId) => { const chainProviders = []; if (config.privateJsonRPCUrl) { chainProviders.push({ - provider: new import_ethers.providers.StaticJsonRpcProvider(config.privateJsonRPCUrl, chainId), - priority: 0 + provider: new import_ethers.providers.StaticJsonRpcProvider( + config.privateJsonRPCUrl, + chainId + ), + priority: 0, }); } if (config.publicJsonRPCUrl.length) { - config.publicJsonRPCUrl.map( - (rpc, ix) => chainProviders.push({ + config.publicJsonRPCUrl.map((rpc, ix) => + chainProviders.push({ provider: new import_ethers.providers.StaticJsonRpcProvider(rpc, chainId), - priority: ix + 1 + priority: ix + 1, }) ); } @@ -61096,31 +75999,34 @@ var getProvider = (chainId) => { }; // src/modules/governance/utils/governanceProvider.tsx -var governanceContract = new import_contract_helpers5.AaveGovernanceService(getProvider(governanceConfig.chainId), { - GOVERNANCE_ADDRESS: governanceConfig.addresses.AAVE_GOVERNANCE_V2, - GOVERNANCE_HELPER_ADDRESS: governanceConfig.addresses.AAVE_GOVERNANCE_V2_HELPER -}); +var governanceContract = new import_contract_helpers5.AaveGovernanceService( + getProvider(governanceConfig.chainId), + { + GOVERNANCE_ADDRESS: governanceConfig.addresses.AAVE_GOVERNANCE_V2, + GOVERNANCE_HELPER_ADDRESS: governanceConfig.addresses.AAVE_GOVERNANCE_V2_HELPER, + } +); // src/static-build/ipfs.ts -var import_path2 = require("path"); +var import_path2 = require('path'); // node_modules/steno/lib/index.js -var import_fs = __toESM(require("fs"), 1); -var __classPrivateFieldSet = function(receiver, state, value, kind, f) { - if (kind === "m") - throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value; +var import_fs = __toESM(require('fs'), 1); +var __classPrivateFieldSet = function (receiver, state, value, kind, f) { + if (kind === 'm') throw new TypeError('Private method is not writable'); + if (kind === 'a' && !f) throw new TypeError('Private accessor was defined without a setter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError('Cannot write private member to an object whose class did not declare it'); + return ( + kind === 'a' ? f.call(receiver, value) : f ? (f.value = value) : state.set(receiver, value), + value + ); }; -var __classPrivateFieldGet = function(receiver, state, kind, f) { - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); +var __classPrivateFieldGet = function (receiver, state, kind, f) { + if (kind === 'a' && !f) throw new TypeError('Private accessor was defined without a getter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError('Cannot read private member from an object whose class did not declare it'); + return kind === 'm' ? f : kind === 'a' ? f.call(receiver) : f ? f.value : state.get(receiver); }; var _Writer_instances; var _Writer_filename; @@ -61132,66 +76038,105 @@ var _Writer_nextPromise; var _Writer_nextData; var _Writer_add; var _Writer_write; -_Writer_filename = /* @__PURE__ */ new WeakMap(), _Writer_tempFilename = /* @__PURE__ */ new WeakMap(), _Writer_locked = /* @__PURE__ */ new WeakMap(), _Writer_prev = /* @__PURE__ */ new WeakMap(), _Writer_next = /* @__PURE__ */ new WeakMap(), _Writer_nextPromise = /* @__PURE__ */ new WeakMap(), _Writer_nextData = /* @__PURE__ */ new WeakMap(), _Writer_instances = /* @__PURE__ */ new WeakSet(), _Writer_add = function _Writer_add2(data) { - __classPrivateFieldSet(this, _Writer_nextData, data, "f"); - __classPrivateFieldSet(this, _Writer_nextPromise, __classPrivateFieldGet(this, _Writer_nextPromise, "f") || new Promise((resolve, reject) => { - __classPrivateFieldSet(this, _Writer_next, [resolve, reject], "f"); - }), "f"); - return new Promise((resolve, reject) => { - var _a7; - (_a7 = __classPrivateFieldGet(this, _Writer_nextPromise, "f")) === null || _a7 === void 0 ? void 0 : _a7.then(resolve).catch(reject); - }); -}, _Writer_write = function _Writer_write2(data) { - return __async(this, null, function* () { - var _a7, _b; - __classPrivateFieldSet(this, _Writer_locked, true, "f"); - try { - yield import_fs.default.promises.writeFile(__classPrivateFieldGet(this, _Writer_tempFilename, "f"), data, "utf-8"); - yield import_fs.default.promises.rename(__classPrivateFieldGet(this, _Writer_tempFilename, "f"), __classPrivateFieldGet(this, _Writer_filename, "f")); - (_a7 = __classPrivateFieldGet(this, _Writer_prev, "f")) === null || _a7 === void 0 ? void 0 : _a7[0](); - } catch (err) { - (_b = __classPrivateFieldGet(this, _Writer_prev, "f")) === null || _b === void 0 ? void 0 : _b[1](err); - throw err; - } finally { - __classPrivateFieldSet(this, _Writer_locked, false, "f"); - __classPrivateFieldSet(this, _Writer_prev, __classPrivateFieldGet(this, _Writer_next, "f"), "f"); - __classPrivateFieldSet(this, _Writer_next, __classPrivateFieldSet(this, _Writer_nextPromise, null, "f"), "f"); - if (__classPrivateFieldGet(this, _Writer_nextData, "f") !== null) { - const nextData = __classPrivateFieldGet(this, _Writer_nextData, "f"); - __classPrivateFieldSet(this, _Writer_nextData, null, "f"); - yield this.write(nextData); +(_Writer_filename = /* @__PURE__ */ new WeakMap()), + (_Writer_tempFilename = /* @__PURE__ */ new WeakMap()), + (_Writer_locked = /* @__PURE__ */ new WeakMap()), + (_Writer_prev = /* @__PURE__ */ new WeakMap()), + (_Writer_next = /* @__PURE__ */ new WeakMap()), + (_Writer_nextPromise = /* @__PURE__ */ new WeakMap()), + (_Writer_nextData = /* @__PURE__ */ new WeakMap()), + (_Writer_instances = /* @__PURE__ */ new WeakSet()), + (_Writer_add = function _Writer_add2(data) { + __classPrivateFieldSet(this, _Writer_nextData, data, 'f'); + __classPrivateFieldSet( + this, + _Writer_nextPromise, + __classPrivateFieldGet(this, _Writer_nextPromise, 'f') || + new Promise((resolve, reject) => { + __classPrivateFieldSet(this, _Writer_next, [resolve, reject], 'f'); + }), + 'f' + ); + return new Promise((resolve, reject) => { + var _a7; + (_a7 = __classPrivateFieldGet(this, _Writer_nextPromise, 'f')) === null || _a7 === void 0 + ? void 0 + : _a7.then(resolve).catch(reject); + }); + }), + (_Writer_write = function _Writer_write2(data) { + return __async(this, null, function* () { + var _a7, _b; + __classPrivateFieldSet(this, _Writer_locked, true, 'f'); + try { + yield import_fs.default.promises.writeFile( + __classPrivateFieldGet(this, _Writer_tempFilename, 'f'), + data, + 'utf-8' + ); + yield import_fs.default.promises.rename( + __classPrivateFieldGet(this, _Writer_tempFilename, 'f'), + __classPrivateFieldGet(this, _Writer_filename, 'f') + ); + (_a7 = __classPrivateFieldGet(this, _Writer_prev, 'f')) === null || _a7 === void 0 + ? void 0 + : _a7[0](); + } catch (err) { + (_b = __classPrivateFieldGet(this, _Writer_prev, 'f')) === null || _b === void 0 + ? void 0 + : _b[1](err); + throw err; + } finally { + __classPrivateFieldSet(this, _Writer_locked, false, 'f'); + __classPrivateFieldSet( + this, + _Writer_prev, + __classPrivateFieldGet(this, _Writer_next, 'f'), + 'f' + ); + __classPrivateFieldSet( + this, + _Writer_next, + __classPrivateFieldSet(this, _Writer_nextPromise, null, 'f'), + 'f' + ); + if (__classPrivateFieldGet(this, _Writer_nextData, 'f') !== null) { + const nextData = __classPrivateFieldGet(this, _Writer_nextData, 'f'); + __classPrivateFieldSet(this, _Writer_nextData, null, 'f'); + yield this.write(nextData); + } } - } + }); }); -}; // node_modules/lowdb/lib/adapters/TextFile.js var _TextFile_filename; var _TextFile_writer; -_TextFile_filename = /* @__PURE__ */ new WeakMap(), _TextFile_writer = /* @__PURE__ */ new WeakMap(); +(_TextFile_filename = /* @__PURE__ */ new WeakMap()), + (_TextFile_writer = /* @__PURE__ */ new WeakMap()); // node_modules/lowdb/lib/adapters/JSONFile.js var _JSONFile_adapter; _JSONFile_adapter = /* @__PURE__ */ new WeakMap(); // node_modules/lowdb/lib/adapters/TextFileSync.js -var import_fs2 = __toESM(require("fs"), 1); -var import_path = __toESM(require("path"), 1); -var __classPrivateFieldSet2 = function(receiver, state, value, kind, f) { - if (kind === "m") - throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value; +var import_fs2 = __toESM(require('fs'), 1); +var import_path = __toESM(require('path'), 1); +var __classPrivateFieldSet2 = function (receiver, state, value, kind, f) { + if (kind === 'm') throw new TypeError('Private method is not writable'); + if (kind === 'a' && !f) throw new TypeError('Private accessor was defined without a setter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError('Cannot write private member to an object whose class did not declare it'); + return ( + kind === 'a' ? f.call(receiver, value) : f ? (f.value = value) : state.set(receiver, value), + value + ); }; -var __classPrivateFieldGet2 = function(receiver, state, kind, f) { - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); +var __classPrivateFieldGet2 = function (receiver, state, kind, f) { + if (kind === 'a' && !f) throw new TypeError('Private accessor was defined without a getter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError('Cannot read private member from an object whose class did not declare it'); + return kind === 'm' ? f : kind === 'a' ? f.call(receiver) : f ? f.value : state.get(receiver); }; var _TextFileSync_tempFilename; var _TextFileSync_filename; @@ -61199,15 +76144,26 @@ var TextFileSync = class { constructor(filename) { _TextFileSync_tempFilename.set(this, void 0); _TextFileSync_filename.set(this, void 0); - __classPrivateFieldSet2(this, _TextFileSync_filename, filename, "f"); - __classPrivateFieldSet2(this, _TextFileSync_tempFilename, import_path.default.join(import_path.default.dirname(filename), `.${import_path.default.basename(filename)}.tmp`), "f"); + __classPrivateFieldSet2(this, _TextFileSync_filename, filename, 'f'); + __classPrivateFieldSet2( + this, + _TextFileSync_tempFilename, + import_path.default.join( + import_path.default.dirname(filename), + `.${import_path.default.basename(filename)}.tmp` + ), + 'f' + ); } read() { let data; try { - data = import_fs2.default.readFileSync(__classPrivateFieldGet2(this, _TextFileSync_filename, "f"), "utf-8"); + data = import_fs2.default.readFileSync( + __classPrivateFieldGet2(this, _TextFileSync_filename, 'f'), + 'utf-8' + ); } catch (e) { - if (e.code === "ENOENT") { + if (e.code === 'ENOENT') { return null; } throw e; @@ -61215,37 +76171,44 @@ var TextFileSync = class { return data; } write(str2) { - import_fs2.default.writeFileSync(__classPrivateFieldGet2(this, _TextFileSync_tempFilename, "f"), str2); - import_fs2.default.renameSync(__classPrivateFieldGet2(this, _TextFileSync_tempFilename, "f"), __classPrivateFieldGet2(this, _TextFileSync_filename, "f")); + import_fs2.default.writeFileSync( + __classPrivateFieldGet2(this, _TextFileSync_tempFilename, 'f'), + str2 + ); + import_fs2.default.renameSync( + __classPrivateFieldGet2(this, _TextFileSync_tempFilename, 'f'), + __classPrivateFieldGet2(this, _TextFileSync_filename, 'f') + ); } }; -_TextFileSync_tempFilename = /* @__PURE__ */ new WeakMap(), _TextFileSync_filename = /* @__PURE__ */ new WeakMap(); +(_TextFileSync_tempFilename = /* @__PURE__ */ new WeakMap()), + (_TextFileSync_filename = /* @__PURE__ */ new WeakMap()); // node_modules/lowdb/lib/adapters/JSONFileSync.js -var __classPrivateFieldSet3 = function(receiver, state, value, kind, f) { - if (kind === "m") - throw new TypeError("Private method is not writable"); - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a setter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value; +var __classPrivateFieldSet3 = function (receiver, state, value, kind, f) { + if (kind === 'm') throw new TypeError('Private method is not writable'); + if (kind === 'a' && !f) throw new TypeError('Private accessor was defined without a setter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError('Cannot write private member to an object whose class did not declare it'); + return ( + kind === 'a' ? f.call(receiver, value) : f ? (f.value = value) : state.set(receiver, value), + value + ); }; -var __classPrivateFieldGet3 = function(receiver, state, kind, f) { - if (kind === "a" && !f) - throw new TypeError("Private accessor was defined without a getter"); - if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) - throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); +var __classPrivateFieldGet3 = function (receiver, state, kind, f) { + if (kind === 'a' && !f) throw new TypeError('Private accessor was defined without a getter'); + if (typeof state === 'function' ? receiver !== state || !f : !state.has(receiver)) + throw new TypeError('Cannot read private member from an object whose class did not declare it'); + return kind === 'm' ? f : kind === 'a' ? f.call(receiver) : f ? f.value : state.get(receiver); }; var _JSONFileSync_adapter; var JSONFileSync = class { constructor(filename) { _JSONFileSync_adapter.set(this, void 0); - __classPrivateFieldSet3(this, _JSONFileSync_adapter, new TextFileSync(filename), "f"); + __classPrivateFieldSet3(this, _JSONFileSync_adapter, new TextFileSync(filename), 'f'); } read() { - const data = __classPrivateFieldGet3(this, _JSONFileSync_adapter, "f").read(); + const data = __classPrivateFieldGet3(this, _JSONFileSync_adapter, 'f').read(); if (data === null) { return null; } else { @@ -61253,7 +76216,7 @@ var JSONFileSync = class { } } write(obj) { - __classPrivateFieldGet3(this, _JSONFileSync_adapter, "f").write(JSON.stringify(obj, null, 2)); + __classPrivateFieldGet3(this, _JSONFileSync_adapter, 'f').write(JSON.stringify(obj, null, 2)); } }; _JSONFileSync_adapter = /* @__PURE__ */ new WeakMap(); @@ -61274,24 +76237,24 @@ _MemorySync_data = /* @__PURE__ */ new WeakMap(); var MissingAdapterError = class extends Error { constructor() { super(); - this.message = "Missing Adapter"; + this.message = 'Missing Adapter'; } }; // node_modules/lowdb/lib/LowSync.js var LowSync = class { constructor(adapter3) { - Object.defineProperty(this, "adapter", { + Object.defineProperty(this, 'adapter', { enumerable: true, configurable: true, writable: true, - value: void 0 + value: void 0, }); - Object.defineProperty(this, "data", { + Object.defineProperty(this, 'data', { enumerable: true, configurable: true, writable: true, - value: null + value: null, }); if (adapter3) { this.adapter = adapter3; @@ -61320,33 +76283,37 @@ function getLink(hash, gateway) { return `${gateway}/${hash}`; } var MEMORIZE = {}; -function getProposalMetadata(hash, gateway = "https://cloudflare-ipfs.com/ipfs") { +function getProposalMetadata(hash, gateway = 'https://cloudflare-ipfs.com/ipfs') { return __async(this, null, function* () { - const ipfsHash = hash.startsWith("0x") ? import_utils.base58.encode(Buffer.from(`1220${hash.slice(2)}`, "hex")) : hash; - if (MEMORIZE[ipfsHash]) - return MEMORIZE[ipfsHash]; + const ipfsHash = hash.startsWith('0x') + ? import_utils.base58.encode(Buffer.from(`1220${hash.slice(2)}`, 'hex')) + : hash; + if (MEMORIZE[ipfsHash]) return MEMORIZE[ipfsHash]; const ipfsResponse = yield (0, import_isomorphic_unfetch.default)(getLink(ipfsHash, gateway), { headers: { - "Content-Type": "application/json" - } + 'Content-Type': 'application/json', + }, }); if (!ipfsResponse.ok) { - throw Error("Fetch not working"); + throw Error('Fetch not working'); } const clone = yield ipfsResponse.clone(); try { const response = yield ipfsResponse.json(); const { content, data } = (0, import_gray_matter.default)(response.description); - MEMORIZE[ipfsHash] = __spreadValues(__spreadProps(__spreadValues({}, response), { - ipfsHash, - description: content - }), data); + MEMORIZE[ipfsHash] = __spreadValues( + __spreadProps(__spreadValues({}, response), { + ipfsHash, + description: content, + }), + data + ); } catch (e) { const text = yield clone.text(); const { content, data } = (0, import_gray_matter.default)(text); MEMORIZE[ipfsHash] = __spreadProps(__spreadValues({}, data), { ipfsHash, - description: content + description: content, }); } return MEMORIZE[ipfsHash]; @@ -61357,30 +76324,30 @@ function getProposalMetadata(hash, gateway = "https://cloudflare-ipfs.com/ipfs") var LowWithLodash = class extends LowSync { constructor() { super(...arguments); - this.chain = import_lodash.default.chain(this).get("data"); + this.chain = import_lodash.default.chain(this).get('data'); } }; -var file = (0, import_path2.join)(process.cwd(), "src/static-build", "ipfsFiles.json"); +var file = (0, import_path2.join)(process.cwd(), 'src/static-build', 'ipfsFiles.json'); var adapter = new JSONFileSync(file); var db = new LowWithLodash(adapter); db.read(); var Ipfs = class { get(id) { - const value = db.chain.get("ipfs").find({ id }).value(); - if (!value) - throw new Error(`trying to fetch ipfs cache, but failed ${id}`); + const value = db.chain.get('ipfs').find({ id }).value(); + if (!value) throw new Error(`trying to fetch ipfs cache, but failed ${id}`); return value; } populate(id, proposal) { return __async(this, null, function* () { db.data || (db.data = { ipfs: [] }); - const value = db.chain.get("ipfs").find({ id }).value(); - if (value) - return; - if (!proposal) - throw new Error(`error populating proposal ${id}`); + const value = db.chain.get('ipfs').find({ id }).value(); + if (value) return; + if (!proposal) throw new Error(`error populating proposal ${id}`); const ipfs = yield getProposalMetadata(proposal.ipfsHash); - const newIpfs = __spreadProps(__spreadValues({}, ipfs), { originalHash: proposal.ipfsHash, id }); + const newIpfs = __spreadProps(__spreadValues({}, ipfs), { + originalHash: proposal.ipfsHash, + id, + }); db.data.ipfs.push(newIpfs); return db.write(); }); @@ -61389,70 +76356,79 @@ var Ipfs = class { // src/static-build/proposal.ts var import_lodash2 = __toESM(require_lodash()); -var import_path3 = require("path"); +var import_path3 = require('path'); // src/modules/governance/utils/formatProposal.ts var import_contract_helpers6 = __toESM(require_cjs()); var import_bignumber = __toESM(require_bignumber2()); -var averageBlockTime = 14; +var averageBlockTime = 12; function enhanceProposalWithTimes(proposal) { return __async(this, null, function* () { const provider = getProvider(import_contract_helpers6.ChainId.mainnet); const [{ timestamp: startTimestamp }, { timestamp: creationTimestamp }] = yield Promise.all([ provider.getBlock(proposal.startBlock), - provider.getBlock(proposal.proposalCreated) + provider.getBlock(proposal.proposalCreated), ]); if (proposal.state === import_contract_helpers6.ProposalState.Active) { - const currentBlock = yield provider.getBlock("latest"); + const currentBlock = yield provider.getBlock('latest'); return __spreadProps(__spreadValues({}, proposal), { startTimestamp, creationTimestamp, - expirationTimestamp: currentBlock.timestamp + (proposal.endBlock - currentBlock.number) * averageBlockTime + expirationTimestamp: + currentBlock.timestamp + (proposal.endBlock - currentBlock.number) * averageBlockTime, }); } - const expirationTimestamp = startTimestamp + (proposal.endBlock - proposal.startBlock) * averageBlockTime; - return __spreadProps(__spreadValues({}, proposal), { startTimestamp, creationTimestamp, expirationTimestamp }); + const expirationTimestamp = + startTimestamp + (proposal.endBlock - proposal.startBlock) * averageBlockTime; + return __spreadProps(__spreadValues({}, proposal), { + startTimestamp, + creationTimestamp, + expirationTimestamp, + }); }); } // src/modules/governance/utils/immutableStates.ts var import_contract_helpers7 = __toESM(require_cjs()); -var isProposalStateImmutable = (proposal) => ![ - import_contract_helpers7.ProposalState.Active, - import_contract_helpers7.ProposalState.Pending, - import_contract_helpers7.ProposalState.Queued, - import_contract_helpers7.ProposalState.Succeeded -].includes(proposal.state); +var isProposalStateImmutable = (proposal) => + ![ + import_contract_helpers7.ProposalState.Active, + import_contract_helpers7.ProposalState.Pending, + import_contract_helpers7.ProposalState.Queued, + import_contract_helpers7.ProposalState.Succeeded, + ].includes(proposal.state); // src/static-build/proposal.ts var LowWithLodash2 = class extends LowSync { constructor() { super(...arguments); - this.chain = import_lodash2.default.chain(this).get("data"); + this.chain = import_lodash2.default.chain(this).get('data'); } }; -var file2 = (0, import_path3.join)(process.cwd(), "src/static-build", "proposals.json"); +var file2 = (0, import_path3.join)(process.cwd(), 'src/static-build', 'proposals.json'); var adapter2 = new JSONFileSync(file2); var db2 = new LowWithLodash2(adapter2); db2.read(); var Proposal2 = class { count() { var _a7, _b; - return ((_b = (_a7 = db2.data) == null ? void 0 : _a7.proposals) == null ? void 0 : _b.length) || 0; + return ( + ((_b = (_a7 = db2.data) == null ? void 0 : _a7.proposals) == null ? void 0 : _b.length) || 0 + ); } get(id) { - const value = db2.chain.get("proposals").find({ id }).value(); - if (!value) - throw new Error("trying to fetch proposal cache, but failed"); + const value = db2.chain.get('proposals').find({ id }).value(); + if (!value) throw new Error('trying to fetch proposal cache, but failed'); return value; } populate(id) { return __async(this, null, function* () { db2.data || (db2.data = { proposals: [] }); - const value = db2.chain.get("proposals").find({ id }).value(); - if (value && isProposalStateImmutable(value)) - return value; - const _a7 = yield governanceContract.getProposal({ proposalId: id }), { values } = _a7, rest = __objRest(_a7, ["values"]); + const value = db2.chain.get('proposals').find({ id }).value(); + if (value && isProposalStateImmutable(value)) return value; + const _a7 = yield governanceContract.getProposal({ proposalId: id }), + { values } = _a7, + rest = __objRest(_a7, ['values']); const proposal = yield enhanceProposalWithTimes(rest); if (value) { const index = db2.data.proposals.findIndex((p) => p.id === id); @@ -61478,11 +76454,12 @@ function populateCache() { } }); } -populateCache().then(() => console.log("finished")); +populateCache().then(() => console.log('finished')); // Annotate the CommonJS export names for ESM import in node: -0 && (module.exports = { - populateCache -}); +0 && + (module.exports = { + populateCache, + }); /*! * is-extendable * diff --git a/src/components/AddressBlocked.tsx b/src/components/AddressBlocked.tsx index 49de7d77dd..92649e50be 100644 --- a/src/components/AddressBlocked.tsx +++ b/src/components/AddressBlocked.tsx @@ -2,6 +2,7 @@ import { ReactNode } from 'react'; import { useAddressAllowed } from 'src/hooks/useAddressAllowed'; import { MainLayout } from 'src/layouts/MainLayout'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; + import { AddressBlockedModal } from './AddressBlockedModal'; export const AddressBlocked = ({ children }: { children: ReactNode }) => { diff --git a/src/components/AddressBlockedModal.tsx b/src/components/AddressBlockedModal.tsx index 3fd865c844..3da0f27818 100644 --- a/src/components/AddressBlockedModal.tsx +++ b/src/components/AddressBlockedModal.tsx @@ -1,6 +1,7 @@ import { ExclamationCircleIcon, LogoutIcon } from '@heroicons/react/outline'; import { Trans } from '@lingui/macro'; import { Box, Button, SvgIcon, Typography } from '@mui/material'; + import { BasicModal } from './primitives/BasicModal'; import { Link } from './primitives/Link'; diff --git a/src/components/ConnectWalletPaper.tsx b/src/components/ConnectWalletPaper.tsx index 93eda67fac..ce97e4b46c 100644 --- a/src/components/ConnectWalletPaper.tsx +++ b/src/components/ConnectWalletPaper.tsx @@ -1,10 +1,11 @@ import { Trans } from '@lingui/macro'; import { CircularProgress, Paper, PaperProps, Typography } from '@mui/material'; import { ReactNode } from 'react'; -import { ConnectWalletButton } from './WalletConnection/ConnectWalletButton'; import LoveGhost from '/public/loveGhost.svg'; +import { ConnectWalletButton } from './WalletConnection/ConnectWalletButton'; + interface ConnectWalletPaperProps extends PaperProps { loading?: boolean; description?: ReactNode; diff --git a/src/components/ContentWithTooltip.tsx b/src/components/ContentWithTooltip.tsx index 01c48e6357..801410bb9a 100644 --- a/src/components/ContentWithTooltip.tsx +++ b/src/components/ContentWithTooltip.tsx @@ -1,4 +1,4 @@ -import { Box, ClickAwayListener, Popper, styled, Tooltip, experimental_sx } from '@mui/material'; +import { Box, ClickAwayListener, experimental_sx, Popper, styled, Tooltip } from '@mui/material'; import { JSXElementConstructor, ReactElement, ReactNode, useState } from 'react'; interface ContentWithTooltipProps { diff --git a/src/components/FaucetButton.tsx b/src/components/FaucetButton.tsx index df65a87d12..74e5226bd2 100644 --- a/src/components/FaucetButton.tsx +++ b/src/components/FaucetButton.tsx @@ -2,6 +2,7 @@ import { ExternalLinkIcon } from '@heroicons/react/outline'; import { Trans } from '@lingui/macro'; import { Button, SvgIcon, Typography } from '@mui/material'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; + import { DarkTooltip } from './infoTooltips/DarkTooltip'; import { Link, ROUTES } from './primitives/Link'; diff --git a/src/components/HALLink.tsx b/src/components/HALLink.tsx index 7d7374d827..88fe1458d8 100644 --- a/src/components/HALLink.tsx +++ b/src/components/HALLink.tsx @@ -1,15 +1,15 @@ import { valueToBigNumber } from '@aave/math-utils'; import { Trans } from '@lingui/macro'; import { + Button, + experimental_sx, + Link, Popper, + Stack, styled, SvgIcon, Tooltip, Typography, - experimental_sx, - Button, - Link, - Stack, } from '@mui/material'; import BigNumber from 'bignumber.js'; import { useMemo } from 'react'; diff --git a/src/components/HealthFactorNumber.tsx b/src/components/HealthFactorNumber.tsx index 80cabcfd2c..2de3dba4af 100644 --- a/src/components/HealthFactorNumber.tsx +++ b/src/components/HealthFactorNumber.tsx @@ -1,6 +1,6 @@ import { valueToBigNumber } from '@aave/math-utils'; import { Trans } from '@lingui/macro'; -import { Typography, Box, Button, useTheme } from '@mui/material'; +import { Box, Button, Typography, useTheme } from '@mui/material'; import { TypographyProps } from '@mui/material/Typography'; import BigNumber from 'bignumber.js'; diff --git a/src/components/MarketSwitcher.tsx b/src/components/MarketSwitcher.tsx index d75a265fdb..c3c82deccd 100644 --- a/src/components/MarketSwitcher.tsx +++ b/src/components/MarketSwitcher.tsx @@ -6,8 +6,6 @@ import { MenuItem, SvgIcon, TextField, - ToggleButton, - ToggleButtonGroup, Tooltip, Typography, useMediaQuery, @@ -26,6 +24,8 @@ import { networkConfigs, STAGING_ENV, } from '../utils/marketsAndNetworksConfig'; +import StyledToggleButton from './StyledToggleButton'; +import StyledToggleButtonGroup from './StyledToggleButtonGroup'; export const getMarketInfoById = (marketId: CustomMarket) => { const market: MarketDataType = marketsData[marketId as CustomMarket]; @@ -94,6 +94,7 @@ enum SelectedMarketVersion { V2, V3, } + export const MarketSwitcher = () => { const { currentMarket, setCurrentMarket } = useProtocolDataContext(); const [selectedMarketVersion, setSelectedMarketVersion] = useState( @@ -201,7 +202,7 @@ export const MarketSwitcher = () => { {isV3MarketsAvailable && ( - { @@ -222,7 +223,7 @@ export const MarketSwitcher = () => { padding: '2px', }} > - { > Version 3 - - + { > Version 2 - - + + )} {availableMarkets.map((marketId: CustomMarket) => { diff --git a/src/components/Meta.tsx b/src/components/Meta.tsx index ed534f1f1e..b0f92ba342 100644 --- a/src/components/Meta.tsx +++ b/src/components/Meta.tsx @@ -1,5 +1,5 @@ -import React from 'react'; import Head from 'next/head'; +import React from 'react'; type MetaProps = { title: string; diff --git a/src/components/ReserveOverviewBox.tsx b/src/components/ReserveOverviewBox.tsx index 7ac6bae29e..ca97e303a3 100644 --- a/src/components/ReserveOverviewBox.tsx +++ b/src/components/ReserveOverviewBox.tsx @@ -1,5 +1,5 @@ -import React, { ReactNode } from 'react'; import { Box, Typography } from '@mui/material'; +import React, { ReactNode } from 'react'; type ReserveOverviewBoxProps = { children: ReactNode; diff --git a/src/components/ReserveSubheader.tsx b/src/components/ReserveSubheader.tsx index 6ea1671dbf..2eb117bc05 100644 --- a/src/components/ReserveSubheader.tsx +++ b/src/components/ReserveSubheader.tsx @@ -1,5 +1,6 @@ -import React from 'react'; import Box from '@mui/material/Box'; +import React from 'react'; + import { FormattedNumber } from './primitives/FormattedNumber'; type ReserveSubheaderProps = { diff --git a/src/components/StyledToggleButton.tsx b/src/components/StyledToggleButton.tsx new file mode 100644 index 0000000000..2af296649f --- /dev/null +++ b/src/components/StyledToggleButton.tsx @@ -0,0 +1,36 @@ +import { styled, ToggleButton, ToggleButtonProps } from '@mui/material'; +import React from 'react'; + +const CustomToggleButton = styled(ToggleButton)(({ theme }) => ({ + border: '0px', + flex: 1, + backgroundColor: '#383D51', + borderRadius: '4px', + + '&.Mui-selected, &.Mui-selected:hover': { + backgroundColor: '#FFFFFF', + borderRadius: '4px !important', + }, + + '&.Mui-selected, &.Mui-disabled': { + zIndex: 100, + height: '100%', + display: 'flex', + justifyContent: 'center', + + '.MuiTypography-subheader1': { + background: theme.palette.gradients.aaveGradient, + backgroundClip: 'text', + textFillColor: 'transparent', + }, + '.MuiTypography-secondary14': { + background: theme.palette.gradients.aaveGradient, + backgroundClip: 'text', + textFillColor: 'transparent', + }, + }, +})) as typeof ToggleButton; + +export default function StyledToggleButton(props: ToggleButtonProps) { + return ; +} diff --git a/src/components/StyledToggleButtonGroup.tsx b/src/components/StyledToggleButtonGroup.tsx new file mode 100644 index 0000000000..adc8442b35 --- /dev/null +++ b/src/components/StyledToggleButtonGroup.tsx @@ -0,0 +1,11 @@ +import { styled, ToggleButtonGroup, ToggleButtonGroupProps } from '@mui/material'; + +const CustomToggleGroup = styled(ToggleButtonGroup)({ + backgroundColor: '#383D51', + border: '1px solid rgba(235, 235, 237, 0.12)', + padding: '4px', +}) as typeof ToggleButtonGroup; + +export default function StyledToggleGroup(props: ToggleButtonGroupProps) { + return ; +} diff --git a/src/components/WalletConnection/ConnectWalletButton.tsx b/src/components/WalletConnection/ConnectWalletButton.tsx index 61a6d98bbe..176981a3de 100644 --- a/src/components/WalletConnection/ConnectWalletButton.tsx +++ b/src/components/WalletConnection/ConnectWalletButton.tsx @@ -1,6 +1,7 @@ import { Trans } from '@lingui/macro'; import { Button } from '@mui/material'; import { useWalletModalContext } from 'src/hooks/useWalletModal'; + import { WalletModal } from './WalletModal'; export const ConnectWalletButton = () => { diff --git a/src/components/WalletConnection/WalletModal.tsx b/src/components/WalletConnection/WalletModal.tsx index 80ac4f5f85..c3ecbdf74f 100644 --- a/src/components/WalletConnection/WalletModal.tsx +++ b/src/components/WalletConnection/WalletModal.tsx @@ -1,4 +1,5 @@ import { useWalletModalContext } from 'src/hooks/useWalletModal'; + import { BasicModal } from '../primitives/BasicModal'; import { WalletSelector } from './WalletSelector'; diff --git a/src/components/WalletConnection/WalletSelector.tsx b/src/components/WalletConnection/WalletSelector.tsx index f9cd19032a..06fe4446cc 100644 --- a/src/components/WalletConnection/WalletSelector.tsx +++ b/src/components/WalletConnection/WalletSelector.tsx @@ -1,11 +1,12 @@ +import { Trans } from '@lingui/macro'; import { Alert, Box, Button, Link, Typography } from '@mui/material'; +import { UnsupportedChainIdError } from '@web3-react/core'; +import { NoEthereumProviderError } from '@web3-react/injected-connector'; +import { UserRejectedRequestError } from '@web3-react/walletconnect-connector'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { WalletType } from 'src/libs/web3-data-provider/WalletOptions'; + import { TxModalTitle } from '../transactions/FlowCommons/TxModalTitle'; -import { Trans } from '@lingui/macro'; -import { UnsupportedChainIdError } from '@web3-react/core'; -import { UserRejectedRequestError } from '@web3-react/walletconnect-connector'; -import { NoEthereumProviderError } from '@web3-react/injected-connector'; export type WalletRowProps = { walletName: string; diff --git a/src/components/Warnings/CooldownWarning.tsx b/src/components/Warnings/CooldownWarning.tsx index 5ebd4b5980..2d8a692967 100644 --- a/src/components/Warnings/CooldownWarning.tsx +++ b/src/components/Warnings/CooldownWarning.tsx @@ -1,8 +1,8 @@ import { Trans } from '@lingui/macro'; import { Typography } from '@mui/material'; -import { Warning } from '../primitives/Warning'; import { Link } from '../primitives/Link'; +import { Warning } from '../primitives/Warning'; export const CooldownWarning = () => { return ( diff --git a/src/components/caps/CapsCircularStatus.tsx b/src/components/caps/CapsCircularStatus.tsx index 55941bcd5a..cc6559170f 100644 --- a/src/components/caps/CapsCircularStatus.tsx +++ b/src/components/caps/CapsCircularStatus.tsx @@ -1,7 +1,8 @@ -import { ReactNode, useState } from 'react'; +import Box from '@mui/material/Box'; import CircularProgress, { circularProgressClasses } from '@mui/material/CircularProgress'; import Typography from '@mui/material/Typography'; -import Box from '@mui/material/Box'; +import { ReactNode, useState } from 'react'; + import { ContentWithTooltip } from '../ContentWithTooltip'; type CapsCircularStatusProps = { @@ -54,7 +55,6 @@ export const CapsCircularStatus = ({ value, tooltipContent }: CapsCircularStatus /> <> - Debt limits the amount possible to borrow against this asset by protocol users. Debt - ceiling is specific to assets in isolation mode and is denoted in USD. + Debt ceiling limits the amount possible to borrow against this asset by protocol + users. Debt ceiling is specific to assets in isolation mode and is denoted in USD. {' '} { + if (currentMarket && currentMarket === 'proto_harmony_v3') { + return 'https://snapshot.org/#/aave.eth/proposal/0x81a78109941e5e0ac6cb5ebf82597c839c20ad6821a8c3ff063dba39032533d4'; + } else if (currentMarket && currentMarket === 'proto_fantom_v3') { + return 'https://snapshot.org/#/aave.eth/proposal/0xeefcd76e523391a14cfd0a79b531ea0a3faf0eb4a058e255fac13a2d224cc647'; + } else if (symbol && frozenProposalMap[symbol]) { + return frozenProposalMap[symbol]; + } else { + return 'https://app.aave.com/governance'; + } +}; + +export const FrozenTooltip = ({ symbol, currentMarket }: FrozenTooltipProps) => { + return ( + + + This asset is frozen due to an Aave Protocol Governance decision.{' '} + + More details + + + + } + > + + + + + ); +}; diff --git a/src/components/infoTooltips/FrozenWarning.tsx b/src/components/infoTooltips/FrozenWarning.tsx deleted file mode 100644 index a32d0387f2..0000000000 --- a/src/components/infoTooltips/FrozenWarning.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { ExclamationIcon } from '@heroicons/react/outline'; -import { Trans } from '@lingui/macro'; -import { Box, SvgIcon } from '@mui/material'; - -import { ContentWithTooltip } from '../ContentWithTooltip'; -import { Link } from '../primitives/Link'; -import { frozenProposalMap } from '../../utils/marketsAndNetworksConfig'; - -interface FrozenWarningProps { - symbol?: string; -} - -export const FrozenWarning = ({ symbol }: FrozenWarningProps) => { - return ( - - - {symbol} is frozen due to an Aave Protocol Governance decision.{' '} - - More details - - - - } - > - - - - - ); -}; diff --git a/src/components/infoTooltips/ReserveFactorTooltip.tsx b/src/components/infoTooltips/ReserveFactorTooltip.tsx index ca4a4ea1e6..e5aaa11ea4 100644 --- a/src/components/infoTooltips/ReserveFactorTooltip.tsx +++ b/src/components/infoTooltips/ReserveFactorTooltip.tsx @@ -1,6 +1,6 @@ import { Trans } from '@lingui/macro'; -import { Link } from '../primitives/Link'; +import { Link } from '../primitives/Link'; import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip'; interface ReserveFactorTooltipProps extends TextWithTooltipProps { diff --git a/src/components/infoTooltips/SupplyCapMaxedTooltip.tsx b/src/components/infoTooltips/SupplyCapMaxedTooltip.tsx index 489bb7c223..e07717b0bc 100644 --- a/src/components/infoTooltips/SupplyCapMaxedTooltip.tsx +++ b/src/components/infoTooltips/SupplyCapMaxedTooltip.tsx @@ -2,8 +2,9 @@ import { ExclamationIcon } from '@heroicons/react/outline'; import { Trans } from '@lingui/macro'; import { Box } from '@mui/material'; import { AssetCapData } from 'src/hooks/useAssetCaps'; -import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip'; + import { Link } from '../primitives/Link'; +import { TextWithTooltip, TextWithTooltipProps } from '../TextWithTooltip'; type SupplyCapMaxedTooltipProps = TextWithTooltipProps & { supplyCap: AssetCapData; diff --git a/src/components/lists/ListMobileItem.tsx b/src/components/lists/ListMobileItem.tsx index dc56929560..2230dea941 100644 --- a/src/components/lists/ListMobileItem.tsx +++ b/src/components/lists/ListMobileItem.tsx @@ -1,10 +1,10 @@ import { Box, Divider, Skeleton, Typography } from '@mui/material'; import { ReactNode } from 'react'; +import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { CustomMarket } from 'src/ui-config/marketsConfig'; + import { Link, ROUTES } from '../primitives/Link'; import { TokenIcon } from '../primitives/TokenIcon'; -import { useAssetCaps } from 'src/hooks/useAssetCaps'; -import { ETHBorrowWarning } from '../transactions/Warnings/ETHBorrowWarning'; interface ListMobileItemProps { warningComponent?: ReactNode; @@ -18,7 +18,6 @@ interface ListMobileItemProps { showSupplyCapTooltips?: boolean; showBorrowCapTooltips?: boolean; showDebtCeilingTooltips?: boolean; - showETHBorrowWarning?: boolean; } export const ListMobileItem = ({ @@ -33,7 +32,6 @@ export const ListMobileItem = ({ showSupplyCapTooltips = false, showBorrowCapTooltips = false, showDebtCeilingTooltips = false, - showETHBorrowWarning = false, }: ListMobileItemProps) => { const { supplyCap, borrowCap, debtCeiling } = useAssetCaps(); @@ -66,15 +64,9 @@ export const ListMobileItem = ({ {symbol} - {showETHBorrowWarning ? ( - - ) : ( - <> - {showSupplyCapTooltips && supplyCap.displayMaxedTooltip({ supplyCap })} - {showBorrowCapTooltips && borrowCap.displayMaxedTooltip({ borrowCap })} - {showDebtCeilingTooltips && debtCeiling.displayMaxedTooltip({ debtCeiling })} - - )} + {showSupplyCapTooltips && supplyCap.displayMaxedTooltip({ supplyCap })} + {showBorrowCapTooltips && borrowCap.displayMaxedTooltip({ borrowCap })} + {showDebtCeilingTooltips && debtCeiling.displayMaxedTooltip({ debtCeiling })} ) )} diff --git a/src/components/lists/ListWrapper.tsx b/src/components/lists/ListWrapper.tsx index ee32460110..40ae50a12a 100644 --- a/src/components/lists/ListWrapper.tsx +++ b/src/components/lists/ListWrapper.tsx @@ -5,7 +5,7 @@ import { ReactNode, useState } from 'react'; import { toggleLocalStorageClick } from '../../helpers/toggle-local-storage-click'; interface ListWrapperProps { - title: ReactNode; + titleComponent: ReactNode; localStorageName?: string; subTitleComponent?: ReactNode; subChildrenComponent?: ReactNode; @@ -13,19 +13,17 @@ interface ListWrapperProps { children: ReactNode; withTopMargin?: boolean; noData?: boolean; - captionSize?: 'h2' | 'h3'; } export const ListWrapper = ({ children, localStorageName, - title, + titleComponent, subTitleComponent, subChildrenComponent, topInfo, withTopMargin, noData, - captionSize = 'h3', }: ListWrapperProps) => { const [isCollapse, setIsCollapse] = useState( localStorageName ? localStorage.getItem(localStorageName) === 'true' : false @@ -51,15 +49,14 @@ export const ListWrapper = ({ > - - {title} - + {titleComponent} {subTitleComponent} diff --git a/src/components/primitives/CheckBadge.tsx b/src/components/primitives/CheckBadge.tsx index f8def81b7a..f1f2a2ac6a 100644 --- a/src/components/primitives/CheckBadge.tsx +++ b/src/components/primitives/CheckBadge.tsx @@ -1,4 +1,4 @@ -import { CheckCircleIcon, XCircleIcon, QuestionMarkCircleIcon } from '@heroicons/react/solid'; +import { CheckCircleIcon, QuestionMarkCircleIcon, XCircleIcon } from '@heroicons/react/solid'; import { Box, BoxProps, Typography, TypographyProps, useTheme } from '@mui/material'; import { ReactNode } from 'react'; diff --git a/src/components/primitives/Link.tsx b/src/components/primitives/Link.tsx index c034ce2de1..7db24272e9 100644 --- a/src/components/primitives/Link.tsx +++ b/src/components/primitives/Link.tsx @@ -1,10 +1,10 @@ import MuiLink, { LinkProps as MuiLinkProps } from '@mui/material/Link'; import { styled } from '@mui/material/styles'; +import clsx from 'clsx'; import NextLink, { LinkProps as NextLinkProps } from 'next/link'; import { useRouter } from 'next/router'; import * as React from 'react'; import { CustomMarket } from 'src/ui-config/marketsConfig'; -import clsx from 'clsx'; // Add support for the sx prop for consistency with the other branches. const Anchor = styled('a')({}); diff --git a/src/components/transactions/AssetInput.tsx b/src/components/transactions/AssetInput.tsx index d8eccfab4c..88aa692701 100644 --- a/src/components/transactions/AssetInput.tsx +++ b/src/components/transactions/AssetInput.tsx @@ -1,9 +1,10 @@ +import { XCircleIcon } from '@heroicons/react/solid'; import { Trans } from '@lingui/macro'; import { Box, Button, - IconButton, FormControl, + IconButton, InputBase, ListItemText, MenuItem, @@ -11,7 +12,6 @@ import { SelectChangeEvent, Typography, } from '@mui/material'; -import { XCircleIcon } from '@heroicons/react/solid'; import React, { ReactNode } from 'react'; import NumberFormat, { NumberFormatProps } from 'react-number-format'; diff --git a/src/components/transactions/Borrow/BorrowActions.tsx b/src/components/transactions/Borrow/BorrowActions.tsx index 8f934b20c9..f9f85cb921 100644 --- a/src/components/transactions/Borrow/BorrowActions.tsx +++ b/src/components/transactions/Borrow/BorrowActions.tsx @@ -7,6 +7,7 @@ import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { useTxBuilderContext } from 'src/hooks/useTxBuilder'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { optimizedPath } from 'src/utils/utils'; + import { TxActionsWrapper } from '../TxActionsWrapper'; export interface BorrowActionsProps extends BoxProps { diff --git a/src/components/transactions/Borrow/BorrowModalContent.tsx b/src/components/transactions/Borrow/BorrowModalContent.tsx index 4285d68c2f..55dc13c134 100644 --- a/src/components/transactions/Borrow/BorrowModalContent.tsx +++ b/src/components/transactions/Borrow/BorrowModalContent.tsx @@ -5,17 +5,21 @@ import { valueToBigNumber, } from '@aave/math-utils'; import { Trans } from '@lingui/macro'; -import { Alert, Box, Checkbox, ToggleButton, ToggleButtonGroup, Typography } from '@mui/material'; +import { Alert, Box, Checkbox, Typography } from '@mui/material'; import { useRef, useState } from 'react'; import { APYTypeTooltip } from 'src/components/infoTooltips/APYTypeTooltip'; import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; import { Row } from 'src/components/primitives/Row'; +import { Warning } from 'src/components/primitives/Warning'; +import StyledToggleButton from 'src/components/StyledToggleButton'; +import StyledToggleButtonGroup from 'src/components/StyledToggleButtonGroup'; import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider'; import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useModalContext } from 'src/hooks/useModal'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { ERC20TokenType } from 'src/libs/web3-data-provider/Web3Provider'; import { getMaxAmountAvailableToBorrow } from 'src/utils/getMaxAmountAvailableToBorrow'; + import { CapType } from '../../caps/helper'; import { AssetInput } from '../AssetInput'; import { GasEstimationError } from '../FlowCommons/GasEstimationError'; @@ -65,14 +69,14 @@ const BorrowModeSwitch = ({ align="flex-start" captionColor="text.secondary" > - setInterestRateMode(value)} sx={{ width: '100%', mt: 0.5 }} > - @@ -80,8 +84,8 @@ const BorrowModeSwitch = ({ Variable - - + @@ -89,8 +93,8 @@ const BorrowModeSwitch = ({ Stable - - + + ); }; @@ -218,7 +222,6 @@ export const BorrowModalContent = ({ return ( <> {borrowCap.determineWarningDisplay({ borrowCap })} - {debtCeiling.determineWarningDisplay({ debtCeiling })} {poolReserve.isIsolated && debtCeiling.determineWarningDisplay({ debtCeiling })} )} + + + Attention: Parameter changes via governance can alter your account health factor + and risk of liquidation. Follow the{' '} + Aave governance forum for updates. + + + Max slippage rate - setMaxSlippage(value)} exclusive > - + 0.1% - - + + 0.5% - - + + 1% - - + + Repay with - setRepayType(value)} sx={{ width: '100%' }} > - + Wallet balance - + - + Collateral - - + + ); } diff --git a/src/components/transactions/StakeRewardClaim/StakeRewardClaimActions.tsx b/src/components/transactions/StakeRewardClaim/StakeRewardClaimActions.tsx index 7c27cde0fc..f4dfbd7005 100644 --- a/src/components/transactions/StakeRewardClaim/StakeRewardClaimActions.tsx +++ b/src/components/transactions/StakeRewardClaim/StakeRewardClaimActions.tsx @@ -1,8 +1,9 @@ import { Trans } from '@lingui/macro'; import { BoxProps } from '@mui/material'; +import { useStakeTxBuilderContext } from 'src/hooks/useStakeTxBuilder'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; + import { useTransactionHandler } from '../../../helpers/useTransactionHandler'; -import { useStakeTxBuilderContext } from 'src/hooks/useStakeTxBuilder'; import { TxActionsWrapper } from '../TxActionsWrapper'; export interface StakeRewardClaimActionProps extends BoxProps { diff --git a/src/components/transactions/StakeRewardClaim/StakeRewardClaimModal.tsx b/src/components/transactions/StakeRewardClaim/StakeRewardClaimModal.tsx index 83fbcf3566..e339658dda 100644 --- a/src/components/transactions/StakeRewardClaim/StakeRewardClaimModal.tsx +++ b/src/components/transactions/StakeRewardClaim/StakeRewardClaimModal.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { ModalType, useModalContext } from 'src/hooks/useModal'; + import { BasicModal } from '../../primitives/BasicModal'; import { StakeRewardClaimModalContent } from './StakeRewardClaimModalContent'; diff --git a/src/components/transactions/StakeRewardClaim/StakeRewardClaimModalContent.tsx b/src/components/transactions/StakeRewardClaim/StakeRewardClaimModalContent.tsx index 80b786e46b..ea3ff1175f 100644 --- a/src/components/transactions/StakeRewardClaim/StakeRewardClaimModalContent.tsx +++ b/src/components/transactions/StakeRewardClaim/StakeRewardClaimModalContent.tsx @@ -1,20 +1,21 @@ -import React from 'react'; -import { Typography } from '@mui/material'; import { normalize } from '@aave/math-utils'; +import { Trans } from '@lingui/macro'; +import { Typography } from '@mui/material'; +import React from 'react'; +import { useStakeData } from 'src/hooks/stake-data-provider/StakeDataProvider'; +import { useModalContext } from 'src/hooks/useModal'; +import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; +import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; +import { stakeConfig } from 'src/ui-config/stakeConfig'; import { getNetworkConfig } from 'src/utils/marketsAndNetworksConfig'; + import { TxErrorView } from '../FlowCommons/Error'; +import { GasEstimationError } from '../FlowCommons/GasEstimationError'; import { TxSuccessView } from '../FlowCommons/Success'; -import { ChangeNetworkWarning } from '../Warnings/ChangeNetworkWarning'; -import { TxModalTitle } from '../FlowCommons/TxModalTitle'; import { DetailsNumberLineWithSub, TxModalDetails } from '../FlowCommons/TxModalDetails'; -import { GasEstimationError } from '../FlowCommons/GasEstimationError'; -import { Trans } from '@lingui/macro'; -import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; -import { useStakeData } from 'src/hooks/stake-data-provider/StakeDataProvider'; -import { stakeConfig } from 'src/ui-config/stakeConfig'; +import { TxModalTitle } from '../FlowCommons/TxModalTitle'; +import { ChangeNetworkWarning } from '../Warnings/ChangeNetworkWarning'; import { StakeRewardClaimActions } from './StakeRewardClaimActions'; -import { useModalContext } from 'src/hooks/useModal'; -import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; export type StakeRewardClaimProps = { stakeAssetName: string; diff --git a/src/components/transactions/Supply/SupplyModalContent.tsx b/src/components/transactions/Supply/SupplyModalContent.tsx index ea63d560f5..e127e70fb5 100644 --- a/src/components/transactions/Supply/SupplyModalContent.tsx +++ b/src/components/transactions/Supply/SupplyModalContent.tsx @@ -9,11 +9,13 @@ import { Typography } from '@mui/material'; import BigNumber from 'bignumber.js'; import React, { useRef, useState } from 'react'; import { CollateralType } from 'src/helpers/types'; +import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useModalContext } from 'src/hooks/useModal'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { ERC20TokenType } from 'src/libs/web3-data-provider/Web3Provider'; import { getMaxAmountAvailableToSupply } from 'src/utils/getMaxAmountAvailableToSupply'; import { isFeatureEnabled } from 'src/utils/marketsAndNetworksConfig'; + import { useAppDataContext } from '../../../hooks/app-data-provider/useAppDataProvider'; import { CapType } from '../../caps/helper'; import { AssetInput } from '../AssetInput'; @@ -29,11 +31,9 @@ import { } from '../FlowCommons/TxModalDetails'; import { AAVEWarning } from '../Warnings/AAVEWarning'; import { AMPLWarning } from '../Warnings/AMPLWarning'; -import { HarmonyWarning } from '../Warnings/HarmonyWarning'; import { IsolationModeWarning } from '../Warnings/IsolationModeWarning'; import { SNXWarning } from '../Warnings/SNXWarning'; import { SupplyActions } from './SupplyActions'; -import { useAssetCaps } from 'src/hooks/useAssetCaps'; export enum ErrorType { CAP_REACHED, @@ -217,7 +217,6 @@ export const SupplyModalContent = ({ poolReserve.symbol === 'AAVE' && isFeatureEnabled.staking(currentMarketData) && } {poolReserve.symbol === 'SNX' && !maxAmountToSupply.eq('0') && } - {currentNetworkConfig.name === 'Harmony' && } { diff --git a/src/components/transactions/Swap/SwapModalContent.tsx b/src/components/transactions/Swap/SwapModalContent.tsx index 45ed564dc5..a3acb9da6d 100644 --- a/src/components/transactions/Swap/SwapModalContent.tsx +++ b/src/components/transactions/Swap/SwapModalContent.tsx @@ -1,31 +1,34 @@ -import React, { useRef, useState } from 'react'; -import { - ComputedReserveData, - useAppDataContext, -} from '../../../hooks/app-data-provider/useAppDataProvider'; -import { SwapActions } from './SwapActions'; -import { ToggleButton, ToggleButtonGroup, Typography, Box } from '@mui/material'; -import BigNumber from 'bignumber.js'; -import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; -import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { Trans } from '@lingui/macro'; -import { remainingCap } from 'src/utils/getMaxAmountAvailableToSupply'; -import { useSwap } from 'src/hooks/useSwap'; +import { Box, Typography } from '@mui/material'; +import BigNumber from 'bignumber.js'; +import React, { useRef, useState } from 'react'; +import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; +import { Row } from 'src/components/primitives/Row'; +import StyledToggleButton from 'src/components/StyledToggleButton'; +import StyledToggleButtonGroup from 'src/components/StyledToggleButtonGroup'; import { Asset, AssetInput } from 'src/components/transactions/AssetInput'; +import { GasEstimationError } from 'src/components/transactions/FlowCommons/GasEstimationError'; import { DetailsHFLine, DetailsIncentivesLine, DetailsNumberLine, TxModalDetails, } from 'src/components/transactions/FlowCommons/TxModalDetails'; -import { GasEstimationError } from 'src/components/transactions/FlowCommons/GasEstimationError'; import { useModalContext } from 'src/hooks/useModal'; -import { TxSuccessView } from '../FlowCommons/Success'; -import { Row } from 'src/components/primitives/Row'; -import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; +import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; +import { useSwap } from 'src/hooks/useSwap'; +import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; +import { remainingCap } from 'src/utils/getMaxAmountAvailableToSupply'; import { calculateHFAfterSwap } from 'src/utils/hfUtils'; + +import { + ComputedReserveData, + useAppDataContext, +} from '../../../hooks/app-data-provider/useAppDataProvider'; import { ModalWrapperProps } from '../FlowCommons/ModalWrapper'; +import { TxSuccessView } from '../FlowCommons/Success'; import { ErrorType, flashLoanNotAvailable, useFlashloan } from '../utils'; +import { SwapActions } from './SwapActions'; export type SupplyProps = { underlyingAsset: string; @@ -218,22 +221,22 @@ export const SwapModalContent = ({ Max slippage rate - setMaxSlippage(value)} exclusive > - + 0.1% - - + + 0.5% - - + + 1% - - + + {blockingError !== undefined && ( diff --git a/src/components/transactions/TxActionsWrapper.tsx b/src/components/transactions/TxActionsWrapper.tsx index 67b2837e3d..d413206447 100644 --- a/src/components/transactions/TxActionsWrapper.tsx +++ b/src/components/transactions/TxActionsWrapper.tsx @@ -1,11 +1,12 @@ import { Trans } from '@lingui/macro'; import { Box, BoxProps, Button, CircularProgress } from '@mui/material'; +import isEmpty from 'lodash/isEmpty'; import { ReactNode } from 'react'; import { TxStateType, useModalContext } from 'src/hooks/useModal'; -import isEmpty from 'lodash/isEmpty'; +import { TxAction } from 'src/ui-config/errorMapping'; + import { LeftHelperText } from './FlowCommons/LeftHelperText'; import { RightHelperText } from './FlowCommons/RightHelperText'; -import { TxAction } from 'src/ui-config/errorMapping'; interface TxActionsWrapperProps extends BoxProps { actionInProgressText: ReactNode; diff --git a/src/components/transactions/UnStake/UnStakeActions.tsx b/src/components/transactions/UnStake/UnStakeActions.tsx index dc6ab4748b..b5802edd02 100644 --- a/src/components/transactions/UnStake/UnStakeActions.tsx +++ b/src/components/transactions/UnStake/UnStakeActions.tsx @@ -1,8 +1,9 @@ import { Trans } from '@lingui/macro'; import { BoxProps } from '@mui/material'; +import { useStakeTxBuilderContext } from 'src/hooks/useStakeTxBuilder'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; + import { useTransactionHandler } from '../../../helpers/useTransactionHandler'; -import { useStakeTxBuilderContext } from 'src/hooks/useStakeTxBuilder'; import { TxActionsWrapper } from '../TxActionsWrapper'; export interface UnStakeActionProps extends BoxProps { diff --git a/src/components/transactions/UnStake/UnStakeModal.tsx b/src/components/transactions/UnStake/UnStakeModal.tsx index 6e99993b90..c2fee6a6b7 100644 --- a/src/components/transactions/UnStake/UnStakeModal.tsx +++ b/src/components/transactions/UnStake/UnStakeModal.tsx @@ -1,5 +1,6 @@ import React from 'react'; import { ModalType, useModalContext } from 'src/hooks/useModal'; + import { BasicModal } from '../../primitives/BasicModal'; import { UnStakeModalContent } from './UnStakeModalContent'; diff --git a/src/components/transactions/UnStake/UnStakeModalContent.tsx b/src/components/transactions/UnStake/UnStakeModalContent.tsx index 0252e607f2..3bbc8925db 100644 --- a/src/components/transactions/UnStake/UnStakeModalContent.tsx +++ b/src/components/transactions/UnStake/UnStakeModalContent.tsx @@ -1,22 +1,23 @@ -import React, { useRef, useState } from 'react'; -import { Typography } from '@mui/material'; -import { AssetInput } from '../AssetInput'; import { normalize, valueToBigNumber } from '@aave/math-utils'; +import { Trans } from '@lingui/macro'; +import { Typography } from '@mui/material'; +import { parseUnits } from 'ethers/lib/utils'; +import React, { useRef, useState } from 'react'; +import { useStakeData } from 'src/hooks/stake-data-provider/StakeDataProvider'; +import { useModalContext } from 'src/hooks/useModal'; +import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; +import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; +import { stakeConfig } from 'src/ui-config/stakeConfig'; import { getNetworkConfig } from 'src/utils/marketsAndNetworksConfig'; + +import { AssetInput } from '../AssetInput'; import { TxErrorView } from '../FlowCommons/Error'; +import { GasEstimationError } from '../FlowCommons/GasEstimationError'; import { TxSuccessView } from '../FlowCommons/Success'; -import { ChangeNetworkWarning } from '../Warnings/ChangeNetworkWarning'; import { TxModalTitle } from '../FlowCommons/TxModalTitle'; -import { GasEstimationError } from '../FlowCommons/GasEstimationError'; -import { Trans } from '@lingui/macro'; -import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; -import { useStakeData } from 'src/hooks/stake-data-provider/StakeDataProvider'; -import { stakeConfig } from 'src/ui-config/stakeConfig'; -import { UnStakeActions } from './UnStakeActions'; import { GasStation } from '../GasStation/GasStation'; -import { parseUnits } from 'ethers/lib/utils'; -import { useModalContext } from 'src/hooks/useModal'; -import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; +import { ChangeNetworkWarning } from '../Warnings/ChangeNetworkWarning'; +import { UnStakeActions } from './UnStakeActions'; export type UnStakeProps = { stakeAssetName: string; diff --git a/src/components/transactions/Warnings/BorrowCapWarning.tsx b/src/components/transactions/Warnings/BorrowCapWarning.tsx index ee5a92a36d..c13b896c24 100644 --- a/src/components/transactions/Warnings/BorrowCapWarning.tsx +++ b/src/components/transactions/Warnings/BorrowCapWarning.tsx @@ -1,5 +1,6 @@ import { Trans } from '@lingui/macro'; import { AssetCapData } from 'src/hooks/useAssetCaps'; + import { Link } from '../../primitives/Link'; import { Warning } from '../../primitives/Warning'; diff --git a/src/components/transactions/Warnings/DebtCeilingWarning.tsx b/src/components/transactions/Warnings/DebtCeilingWarning.tsx index 2cf0ce3328..6f88134f9f 100644 --- a/src/components/transactions/Warnings/DebtCeilingWarning.tsx +++ b/src/components/transactions/Warnings/DebtCeilingWarning.tsx @@ -1,5 +1,6 @@ import { Trans } from '@lingui/macro'; import { AssetCapData } from 'src/hooks/useAssetCaps'; + import { Link } from '../../primitives/Link'; import { Warning } from '../../primitives/Warning'; diff --git a/src/components/transactions/Warnings/ETHBorrowWarning.tsx b/src/components/transactions/Warnings/ETHBorrowWarning.tsx deleted file mode 100644 index be5bc81cde..0000000000 --- a/src/components/transactions/Warnings/ETHBorrowWarning.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import { ExclamationIcon } from '@heroicons/react/outline'; -import { Trans } from '@lingui/macro'; -import { Box, SvgIcon } from '@mui/material'; -import { ContentWithTooltip } from 'src/components/ContentWithTooltip'; -import { Link } from 'src/components/primitives/Link'; - -export const ETHBorrowWarning = () => { - return ( - - - As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of - the merge to mitigate liquidity risk.{' '} - - Learn more - - {'.'} - - - } - > - - - - - ); -}; diff --git a/src/components/transactions/Warnings/HarmonyWarning.tsx b/src/components/transactions/Warnings/HarmonyWarning.tsx deleted file mode 100644 index 6d2820fea0..0000000000 --- a/src/components/transactions/Warnings/HarmonyWarning.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { Trans } from '@lingui/macro'; -import { Link, Typography } from '@mui/material'; - -import { Warning } from '../../primitives/Warning'; - -interface HarmonyWarningProps { - learnMore?: boolean; // Modify wording on link text -} - -export const HarmonyWarning = ({ learnMore }: HarmonyWarningProps) => { - return ( - - - - Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity - with Ethereum, which affects the Aave V3 Harmony market.{' '} - - {learnMore ? 'Learn More' : 'Join the community discussion'} - - - - - ); -}; diff --git a/src/components/transactions/Warnings/MarketWarning.tsx b/src/components/transactions/Warnings/MarketWarning.tsx new file mode 100644 index 0000000000..7228d50e37 --- /dev/null +++ b/src/components/transactions/Warnings/MarketWarning.tsx @@ -0,0 +1,55 @@ +import { Trans } from '@lingui/macro'; +import { Link, Typography } from '@mui/material'; + +import { Warning } from '../../primitives/Warning'; + +const WarningMessage = ({ market }: { market: string }) => { + if (market === 'Harmony') { + return ( + + Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity + with Ethereum, which affects the Aave V3 Harmony market. + + ); + } else if (market === 'Fantom') { + return Per the community, the Fantom market has been frozen.; + } else { + return <>; + } +}; + +const getLink = (market: string, forum: boolean | undefined): string => { + if (market === 'Harmony') { + if (forum) { + return 'https://governance.aave.com/t/harmony-horizon-bridge-exploit-consequences-to-aave-v3-harmony/8614'; + } else { + return 'https://snapshot.org/#/aave.eth/proposal/0x81a78109941e5e0ac6cb5ebf82597c839c20ad6821a8c3ff063dba39032533d4'; + } + } else if (market === 'Fantom') { + if (forum) { + return 'https://governance.aave.com/t/arc-aave-v3-fantom-freeze-reserves/9166'; + } else { + return 'https://snapshot.org/#/aave.eth/proposal/0xeefcd76e523391a14cfd0a79b531ea0a3faf0eb4a058e255fac13a2d224cc647'; + } + } else { + return ''; + } +}; + +interface MarketWarningProps { + marketName: string; + forum?: boolean; +} + +export const MarketWarning = ({ marketName, forum }: MarketWarningProps) => { + return ( + + + {' '} + + {forum ? Join the community discussion : Learn more} + + + + ); +}; diff --git a/src/components/transactions/Warnings/SupplyCapWarning.tsx b/src/components/transactions/Warnings/SupplyCapWarning.tsx index c359f9f765..6417d9f942 100644 --- a/src/components/transactions/Warnings/SupplyCapWarning.tsx +++ b/src/components/transactions/Warnings/SupplyCapWarning.tsx @@ -1,5 +1,6 @@ import { Trans } from '@lingui/macro'; import { AssetCapData } from 'src/hooks/useAssetCaps'; + import { Link } from '../../primitives/Link'; import { Warning } from '../../primitives/Warning'; diff --git a/src/components/transactions/Withdraw/WithdrawActions.tsx b/src/components/transactions/Withdraw/WithdrawActions.tsx index 6774d18d7c..0eae035995 100644 --- a/src/components/transactions/Withdraw/WithdrawActions.tsx +++ b/src/components/transactions/Withdraw/WithdrawActions.tsx @@ -6,6 +6,7 @@ import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { useTxBuilderContext } from 'src/hooks/useTxBuilder'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { optimizedPath } from 'src/utils/utils'; + import { TxActionsWrapper } from '../TxActionsWrapper'; export interface WithdrawActionsProps extends BoxProps { diff --git a/src/hooks/governance-data-provider/AaveTokensDataProvider.tsx b/src/hooks/governance-data-provider/AaveTokensDataProvider.tsx index e7375be429..f5ca68e48d 100644 --- a/src/hooks/governance-data-provider/AaveTokensDataProvider.tsx +++ b/src/hooks/governance-data-provider/AaveTokensDataProvider.tsx @@ -1,11 +1,12 @@ -import React, { useContext } from 'react'; import { WalletBalanceProvider } from '@aave/contract-helpers'; import { normalize } from '@aave/math-utils'; +import React, { useContext } from 'react'; +import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { governanceConfig } from 'src/ui-config/governanceConfig'; import { getProvider } from 'src/utils/marketsAndNetworksConfig'; -import { useProtocolDataContext } from '../useProtocolDataContext'; -import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; + import { usePolling } from '../usePolling'; +import { useProtocolDataContext } from '../useProtocolDataContext'; type WalletBalanceProviderContext = { daveTokens: { aave: string; aAave: string; stkAave: string }; diff --git a/src/hooks/stake-data-provider/_useStakeDataRPC.tsx b/src/hooks/stake-data-provider/_useStakeDataRPC.tsx index 2ecbec82a0..6f065bc134 100644 --- a/src/hooks/stake-data-provider/_useStakeDataRPC.tsx +++ b/src/hooks/stake-data-provider/_useStakeDataRPC.tsx @@ -1,15 +1,16 @@ import { UiStakeDataProvider } from '@aave/contract-helpers'; -import { usePolling } from '../usePolling'; import { useApolloClient } from '@apollo/client'; +import { stakeConfig } from 'src/ui-config/stakeConfig'; import { getProvider } from 'src/utils/marketsAndNetworksConfig'; + +import { usePolling } from '../usePolling'; +import { useProtocolDataContext } from '../useProtocolDataContext'; import { C_StakeGeneralUiDataDocument, C_StakeGeneralUiDataQuery, C_StakeUserUiDataDocument, C_StakeUserUiDataQuery, } from './graphql/hooks'; -import { stakeConfig } from 'src/ui-config/stakeConfig'; -import { useProtocolDataContext } from '../useProtocolDataContext'; export function _useStakeDataRPC(currentAccount: string, chainId: number, skip = false) { const { cache } = useApolloClient(); diff --git a/src/hooks/useAddressAllowed.tsx b/src/hooks/useAddressAllowed.tsx index 907f6ad6be..98d332800d 100644 --- a/src/hooks/useAddressAllowed.tsx +++ b/src/hooks/useAddressAllowed.tsx @@ -1,4 +1,5 @@ import { useState } from 'react'; + import { usePolling } from './usePolling'; export interface AddressAllowedResult { diff --git a/src/hooks/useAssetCaps.tsx b/src/hooks/useAssetCaps.tsx index ffb38b6514..25b73b2664 100644 --- a/src/hooks/useAssetCaps.tsx +++ b/src/hooks/useAssetCaps.tsx @@ -1,12 +1,13 @@ -import { useContext, createContext, ReactNode } from 'react'; import { valueToBigNumber } from '@aave/math-utils'; -import { SupplyCapWarning } from 'src/components/transactions/Warnings/SupplyCapWarning'; +import { createContext, ReactNode, useContext } from 'react'; +import { BorrowCapMaxedTooltip } from 'src/components/infoTooltips/BorrowCapMaxedTooltip'; +import { DebtCeilingMaxedTooltip } from 'src/components/infoTooltips/DebtCeilingMaxedTooltip'; +import { SupplyCapMaxedTooltip } from 'src/components/infoTooltips/SupplyCapMaxedTooltip'; import { BorrowCapWarning } from 'src/components/transactions/Warnings/BorrowCapWarning'; import { DebtCeilingWarning } from 'src/components/transactions/Warnings/DebtCeilingWarning'; +import { SupplyCapWarning } from 'src/components/transactions/Warnings/SupplyCapWarning'; + import { ComputedReserveData } from './app-data-provider/useAppDataProvider'; -import { SupplyCapMaxedTooltip } from 'src/components/infoTooltips/SupplyCapMaxedTooltip'; -import { BorrowCapMaxedTooltip } from 'src/components/infoTooltips/BorrowCapMaxedTooltip'; -import { DebtCeilingMaxedTooltip } from 'src/components/infoTooltips/DebtCeilingMaxedTooltip'; type WarningDisplayProps = { supplyCap?: AssetCapData; diff --git a/src/hooks/usePermissions.tsx b/src/hooks/usePermissions.tsx index d4f6a398f1..75eec0c41c 100644 --- a/src/hooks/usePermissions.tsx +++ b/src/hooks/usePermissions.tsx @@ -1,9 +1,9 @@ +import { PERMISSION, PermissionManager } from '@aave/contract-helpers'; import React, { useContext, useEffect, useState } from 'react'; -import { PermissionManager, PERMISSION } from '@aave/contract-helpers'; +import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; +import { getProvider, isFeatureEnabled } from 'src/utils/marketsAndNetworksConfig'; import { useProtocolDataContext } from './useProtocolDataContext'; -import { getProvider, isFeatureEnabled } from 'src/utils/marketsAndNetworksConfig'; -import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; type PermissionsContext = { permissions: PERMISSION[]; diff --git a/src/hooks/useReservesHistory.tsx b/src/hooks/useReservesHistory.tsx index 95bd3e7200..ebc57f5fe1 100644 --- a/src/hooks/useReservesHistory.tsx +++ b/src/hooks/useReservesHistory.tsx @@ -1,8 +1,20 @@ +/** + * This hook is used for getting historical reserve data, and it is primarily used with charts. + * In particular, this hook is used in the ApyGraph. + */ import dayjs from 'dayjs'; -import { useEffect, useState } from 'react'; +import { useCallback, useEffect, useState } from 'react'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { makeCancelable } from 'src/utils/utils'; +export const reserveRateTimeRangeOptions = ['1m', '6m', '1y'] as const; +export type ReserveRateTimeRange = typeof reserveRateTimeRangeOptions[number]; + +type RatesHistoryParams = { + from: number; + resolutionInHours: number; +}; + type APIResponse = { liquidityRate_avg: number; variableBorrowRate_avg: number; @@ -11,12 +23,15 @@ type APIResponse = { x: { year: number; month: number; date: number; hours: number }; }; -const fetchStats = async (address: string, endpointURL: string) => { - const thirtyDaysAgo = dayjs().subtract(45, 'day').unix(); +const fetchStats = async ( + address: string, + timeRange: ReserveRateTimeRange, + endpointURL: string +) => { + const { from, resolutionInHours } = resolutionForTimeRange(timeRange); try { - const result = await fetch( - `${endpointURL}?reserveId=${address}&from=${thirtyDaysAgo}&resolutionInHours=6` - ); + const url = `${endpointURL}?reserveId=${address}&from=${from}&resolutionInHours=${resolutionInHours}`; + const result = await fetch(url); const json = await result.json(); return json; } catch (e) { @@ -24,6 +39,28 @@ const fetchStats = async (address: string, endpointURL: string) => { } }; +// TODO: there is possibly a bug here, as Polygon and Avalanche v2 data is coming through empty and erroring in our hook +// The same asset without the 'from' field comes through just fine. +const resolutionForTimeRange = (timeRange: ReserveRateTimeRange): RatesHistoryParams => { + switch (timeRange) { + case '1m': + return { + from: dayjs().subtract(30, 'day').unix(), + resolutionInHours: 6, + }; + case '6m': + return { + from: dayjs().subtract(6, 'month').unix(), + resolutionInHours: 24, + }; + case '1y': + return { + from: dayjs().subtract(1, 'year').unix(), + resolutionInHours: 24, + }; + } +}; + export type FormattedReserveHistoryItem = { date: number; liquidityRate: number; @@ -38,20 +75,27 @@ const BROKEN_ASSETS = [ ]; // TODO: api need to be altered to expect chainId underlying asset and poolConfig -export function useReserveRatesHistory(reserveAddress: string) { +export function useReserveRatesHistory(reserveAddress: string, timeRange: ReserveRateTimeRange) { const { currentNetworkConfig } = useProtocolDataContext(); const [loading, setLoading] = useState(true); + const [error, setError] = useState(false); const [data, setData] = useState([]); - useEffect(() => { + const refetchData = useCallback<() => () => void>(() => { + // reset + setLoading(true); + setError(false); + setData([]); + if ( reserveAddress && currentNetworkConfig.ratesHistoryApiUrl && !BROKEN_ASSETS.includes(reserveAddress) ) { const cancelable = makeCancelable( - fetchStats(reserveAddress, currentNetworkConfig.ratesHistoryApiUrl) + fetchStats(reserveAddress, timeRange, currentNetworkConfig.ratesHistoryApiUrl) ); + cancelable.promise .then((data: APIResponse[]) => { setData( @@ -65,16 +109,28 @@ export function useReserveRatesHistory(reserveAddress: string) { ); setLoading(false); }) - .catch((e) => console.log('error fetching result', e)); + .catch((e) => { + console.error('useReservesHistory(): Failed to fetch historical reserve data.', e); + setError(true); + setLoading(false); + }); + return cancelable.cancel; - } else { - setLoading(false); } - }, [reserveAddress, currentNetworkConfig]); + + setLoading(false); + return () => null; + }, [reserveAddress, timeRange, currentNetworkConfig]); + + useEffect(() => { + const cancel = refetchData(); + return () => cancel(); + }, [refetchData]); return { loading, data, - error: BROKEN_ASSETS.includes(reserveAddress) || (!loading && data.length === 0), + error: error || BROKEN_ASSETS.includes(reserveAddress) || (!loading && data.length === 0), + refetch: refetchData, }; } diff --git a/src/hooks/useSwap.ts b/src/hooks/useSwap.ts index e0d619c73b..517e158698 100644 --- a/src/hooks/useSwap.ts +++ b/src/hooks/useSwap.ts @@ -1,15 +1,16 @@ +import { ChainId } from '@aave/contract-helpers'; +import { BigNumberZeroDecimal, normalize, normalizeBN, valueToBigNumber } from '@aave/math-utils'; import { - constructPartialSDK, + constructBuildTx, constructFetchFetcher, constructGetRate, - constructBuildTx, + constructPartialSDK, TransactionParams, } from '@paraswap/sdk'; -import { OptimalRate, SwapSide, ContractMethod } from 'paraswap-core'; +import { ContractMethod, OptimalRate, SwapSide } from 'paraswap-core'; import { useCallback, useEffect, useState } from 'react'; + import { ComputedReserveData } from './app-data-provider/useAppDataProvider'; -import { ChainId } from '@aave/contract-helpers'; -import { BigNumberZeroDecimal, normalize, normalizeBN, valueToBigNumber } from '@aave/math-utils'; const ParaSwap = (chainId: number) => { const fetcher = constructFetchFetcher(fetch); // alternatively constructFetchFetcher diff --git a/src/libs/LanguageProvider.tsx b/src/libs/LanguageProvider.tsx index 143d47789e..6ae87609e7 100644 --- a/src/libs/LanguageProvider.tsx +++ b/src/libs/LanguageProvider.tsx @@ -1,7 +1,7 @@ // src/index.js import { i18n } from '@lingui/core'; import { I18nProvider } from '@lingui/react'; -import { en, es, fr, el } from 'make-plural/plurals'; +import { el, en, es, fr } from 'make-plural/plurals'; import React, { useEffect } from 'react'; import { messages } from '../locales/en/messages.js'; diff --git a/src/libs/hooks/useWeb3Context.tsx b/src/libs/hooks/useWeb3Context.tsx index e380657971..05990cc1d8 100644 --- a/src/libs/hooks/useWeb3Context.tsx +++ b/src/libs/hooks/useWeb3Context.tsx @@ -1,4 +1,5 @@ import React, { useContext } from 'react'; + import { Web3Data } from '../web3-data-provider/Web3Provider'; // import { Web3Data } from '../web3-data-provider/Web3ContextProvider'; diff --git a/src/libs/web3-data-provider/WalletOptions.ts b/src/libs/web3-data-provider/WalletOptions.ts index 17b8afbf8e..46f284f944 100644 --- a/src/libs/web3-data-provider/WalletOptions.ts +++ b/src/libs/web3-data-provider/WalletOptions.ts @@ -1,13 +1,14 @@ import { ChainId } from '@aave/contract-helpers'; +import { SafeAppConnector } from '@gnosis.pm/safe-apps-web3-react'; import { AbstractConnector } from '@web3-react/abstract-connector'; +import { UnsupportedChainIdError } from '@web3-react/core'; +import { FrameConnector } from '@web3-react/frame-connector'; import { InjectedConnector } from '@web3-react/injected-connector'; +import { TorusConnector } from '@web3-react/torus-connector'; import { WalletConnectConnector } from '@web3-react/walletconnect-connector'; import { WalletLinkConnector } from '@web3-react/walletlink-connector'; -import { TorusConnector } from '@web3-react/torus-connector'; -import { FrameConnector } from '@web3-react/frame-connector'; import { getNetworkConfig, getSupportedChainIds } from 'src/utils/marketsAndNetworksConfig'; -import { UnsupportedChainIdError } from '@web3-react/core'; -import { SafeAppConnector } from '@gnosis.pm/safe-apps-web3-react'; +import { LedgerHQFrameConnector } from 'web3-ledgerhq-frame-connector'; export enum WalletType { INJECTED = 'injected', @@ -16,6 +17,7 @@ export enum WalletType { TORUS = 'torus', FRAME = 'frame', GNOSIS = 'gnosis', + LEDGER = 'ledger', } const APP_NAME = 'Aave'; @@ -28,6 +30,8 @@ export const getWallet = ( const supportedChainIds = getSupportedChainIds(); switch (wallet) { + case WalletType.LEDGER: + return new LedgerHQFrameConnector({}); case WalletType.INJECTED: return new InjectedConnector({}); case WalletType.WALLET_LINK: diff --git a/src/libs/web3-data-provider/Web3Provider.tsx b/src/libs/web3-data-provider/Web3Provider.tsx index da2b69cc3e..99f592b843 100644 --- a/src/libs/web3-data-provider/Web3Provider.tsx +++ b/src/libs/web3-data-provider/Web3Provider.tsx @@ -1,23 +1,23 @@ -import React, { ReactElement, useCallback, useEffect, useState } from 'react'; - -import { hexToAscii } from 'src/utils/utils'; -import { getNetworkConfig } from 'src/utils/marketsAndNetworksConfig'; - -import { Web3Context } from '../hooks/useWeb3Context'; -import { getWallet, WalletType } from './WalletOptions'; -import { AbstractConnector } from '@web3-react/abstract-connector'; +import { API_ETH_MOCK_ADDRESS, transactionType } from '@aave/contract-helpers'; +import { SignatureLike } from '@ethersproject/bytes'; import { JsonRpcProvider, TransactionResponse, // Web3Provider, } from '@ethersproject/providers'; +import { AbstractConnector } from '@web3-react/abstract-connector'; import { useWeb3React } from '@web3-react/core'; -import { BigNumber, providers } from 'ethers'; -import { SignatureLike } from '@ethersproject/bytes'; -import { API_ETH_MOCK_ADDRESS, transactionType } from '@aave/contract-helpers'; +import { TorusConnector } from '@web3-react/torus-connector'; import { WalletConnectConnector } from '@web3-react/walletconnect-connector'; import { WalletLinkConnector } from '@web3-react/walletlink-connector'; -import { TorusConnector } from '@web3-react/torus-connector'; +import { BigNumber, providers } from 'ethers'; +import React, { ReactElement, useCallback, useEffect, useState } from 'react'; +import { getNetworkConfig } from 'src/utils/marketsAndNetworksConfig'; +import { hexToAscii } from 'src/utils/utils'; +import { isLedgerDappBrowserProvider } from 'web3-ledgerhq-frame-connector'; + +import { Web3Context } from '../hooks/useWeb3Context'; +import { getWallet, WalletType } from './WalletOptions'; export type ERC20TokenType = { address: string; @@ -64,9 +64,10 @@ export const Web3ContextProvider: React.FC<{ children: ReactElement }> = ({ chil const [loading, setLoading] = useState(false); const [tried, setTried] = useState(false); const [deactivated, setDeactivated] = useState(false); - const [triedSafe, setTriedSafe] = useState(false); - const [switchNetworkError, setSwitchNetworkError] = useState(); + const [triedGnosisSafe, setTriedGnosisSafe] = useState(false); const [triedCoinbase, setTriedCoinbase] = useState(false); + const [triedLedger, setTriedLedger] = useState(false); + const [switchNetworkError, setSwitchNetworkError] = useState(); // for now we use network changed as it returns the chain string instead of hex // const handleChainChanged = (chainId: number) => { @@ -175,11 +176,24 @@ export const Web3ContextProvider: React.FC<{ children: ReactElement }> = ({ chil return false; }; + // third, try connecting to ledger + useEffect(() => { + if (!triedLedger && triedGnosisSafe && triedCoinbase) { + // check if the DApp is hosted within Ledger iframe + const canConnectToLedger = isLedgerDappBrowserProvider(); + if (canConnectToLedger) { + connectWallet(WalletType.LEDGER).finally(() => setTriedLedger(true)); + } else { + setTriedLedger(true); + } + } + }, [connectWallet, triedGnosisSafe, triedCoinbase, triedLedger, setTriedLedger]); + // second, try connecting to coinbase useEffect(() => { if (!triedCoinbase) { // do check if condition applies to try and connect directly to coinbase - if (triedSafe) { + if (triedGnosisSafe) { // eslint-disable-next-line @typescript-eslint/no-explicit-any const injectedProvider = (window as any)?.ethereum; if (injectedProvider?.isCoinbaseBrowser) { @@ -208,34 +222,34 @@ export const Web3ContextProvider: React.FC<{ children: ReactElement }> = ({ chil } } } - }, [connectWallet, triedSafe, setTriedCoinbase, triedCoinbase]); + }, [connectWallet, triedGnosisSafe, setTriedCoinbase, triedCoinbase]); // first, try connecting to a gnosis safe useEffect(() => { - if (!triedSafe) { + if (!triedGnosisSafe) { const gnosisConnector = getWallet(WalletType.GNOSIS); // @ts-expect-error isSafeApp not in abstract connector type gnosisConnector.isSafeApp().then((loadedInSafe) => { if (loadedInSafe) { connectWallet(WalletType.GNOSIS) .then(() => { - setTriedSafe(true); + setTriedGnosisSafe(true); }) .catch(() => { - setTriedSafe(true); + setTriedGnosisSafe(true); }); } else { - setTriedSafe(true); + setTriedGnosisSafe(true); } }); } - }, [connectWallet, setTriedSafe, triedSafe]); + }, [connectWallet, setTriedGnosisSafe, triedGnosisSafe]); // handle logic to eagerly connect to the injected ethereum provider, // if it exists and has granted access already useEffect(() => { const lastWalletProvider = localStorage.getItem('walletProvider'); - if (!active && !deactivated && triedSafe && triedCoinbase) { + if (!active && !deactivated && triedGnosisSafe && triedCoinbase && triedLedger) { if (!!lastWalletProvider) { connectWallet(lastWalletProvider as WalletType).catch(() => { setTried(true); @@ -257,7 +271,16 @@ export const Web3ContextProvider: React.FC<{ children: ReactElement }> = ({ chil // }); } } - }, [activate, setTried, active, connectWallet, deactivated, triedSafe, triedCoinbase]); + }, [ + activate, + setTried, + active, + connectWallet, + deactivated, + triedGnosisSafe, + triedCoinbase, + triedLedger, + ]); // if the connection worked, wait until we get confirmation of that to flip the flag useEffect(() => { diff --git a/src/locales/de/messages.po b/src/locales/de/messages.po index ab04c9bb94..c4fa923a97 100644 --- a/src/locales/de/messages.po +++ b/src/locales/de/messages.po @@ -8,7 +8,7 @@ msgstr "" "Language: de\n" "Project-Id-Version: aave-interface\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-09-14 12:07\n" +"PO-Revision-Date: 2022-09-27 18:08\n" "Last-Translator: \n" "Language-Team: German\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -22,6 +22,10 @@ msgstr "" msgid "<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more." msgstr "" +#: src/components/transactions/Borrow/BorrowModalContent.tsx +msgid "<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates." +msgstr "" + #: src/modules/staking/StakingHeader.tsx msgid "AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol." msgstr "" @@ -176,11 +180,6 @@ msgstr "" msgid "Array parameters that should be equal length are not" msgstr "" -#: src/components/transactions/Warnings/ETHBorrowWarning.tsx -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more." -msgstr "" - #: src/modules/faucet/FaucetAssetsList.tsx #: src/modules/markets/AssetsList.tsx msgid "Asset" @@ -260,6 +259,10 @@ msgstr "" msgid "Available to supply" msgstr "" +#: pages/404.page.tsx +msgid "Back to Dashboard" +msgstr "" + #: src/components/transactions/AssetInput.tsx #: src/components/transactions/ClaimRewards/ClaimRewardsModalContent.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx @@ -503,6 +506,10 @@ msgstr "" msgid "Copy address" msgstr "" +#: pages/500.page.tsx +msgid "Copy error message" +msgstr "" + #: src/components/transactions/FlowCommons/Error.tsx msgid "Copy error text" msgstr "" @@ -532,6 +539,10 @@ msgstr "" msgid "Dashboard" msgstr "" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Data couldn't be fetched, please reload graph." +msgstr "" + #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListMobileItem.tsx msgid "Debt" @@ -622,13 +633,17 @@ msgstr "" msgid "Discord" msgstr "" +#: pages/500.page.tsx +msgid "Discord channel" +msgstr "" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Swap/SwapModalContent.tsx msgid "Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions" msgstr "" -#: src/components/transactions/Warnings/HarmonyWarning.tsx -msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market." msgstr "" #: src/modules/dashboard/DashboardEModeButton.tsx @@ -815,6 +830,10 @@ msgstr "" msgid "I understand how cooldown ({0}) and unstaking ({1}) work" msgstr "" +#: pages/500.page.tsx +msgid "If the error continues to happen,<0/> you may report it to this" +msgstr "" + #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx msgid "If the health factor goes below 1, the liquidation of your collateral might be triggered." msgstr "" @@ -843,6 +862,10 @@ msgstr "" msgid "Interest rate rebalance conditions were not met" msgstr "" +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "Interest rate strategy" +msgstr "" + #: src/ui-config/errorMapping.tsx msgid "Invalid amount to burn" msgstr "" @@ -883,6 +906,10 @@ msgstr "" msgid "Isolated assets have limited borrowing power and other assets cannot be used as collateral." msgstr "" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Join the community discussion" +msgstr "" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Language" msgstr "" @@ -894,6 +921,7 @@ msgstr "" #: src/components/transactions/StakeCooldown/StakeCooldownModalContent.tsx #: src/components/transactions/Warnings/BorrowCapWarning.tsx #: src/components/transactions/Warnings/DebtCeilingWarning.tsx +#: src/components/transactions/Warnings/MarketWarning.tsx #: src/components/transactions/Warnings/SupplyCapWarning.tsx #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx #: src/modules/reserve-overview/ReserveConfiguration.tsx @@ -943,6 +971,10 @@ msgstr "" msgid "Liquidation value" msgstr "" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Loading data..." +msgstr "" + #: src/ui-config/errorMapping.tsx msgid "Ltv validation failed" msgstr "" @@ -1122,6 +1154,10 @@ msgstr "" msgid "Overview" msgstr "" +#: pages/404.page.tsx +msgid "Page not found" +msgstr "" + #: src/components/incentives/IncentivesTooltipContent.tsx msgid "Participating in this {symbol} reserve gives annualized rewards." msgstr "" @@ -1131,12 +1167,8 @@ msgstr "" msgid "Pending..." msgstr "" -#: src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx -msgid "Per the community, borrowing in this market is currently disabled. <0>Learn More" -msgstr "" - -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -msgid "Per the community, supplying in this market is currently disabled. <0>Learn More" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Per the community, the Fantom market has been frozen." msgstr "" #: src/modules/reserve-overview/ReserveActions.tsx @@ -1235,6 +1267,14 @@ msgstr "" msgid "Rejected connection request" msgstr "" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Reload" +msgstr "" + +#: pages/500.page.tsx +msgid "Reload the page" +msgstr "" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Repay/RepayModalContent.tsx msgid "Remaining debt" @@ -1376,6 +1416,19 @@ msgstr "" msgid "Since this is a test network, you can get any of the assets if you have ETH on your wallet" msgstr "" +#: pages/500.page.tsx +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Something went wrong" +msgstr "" + +#: pages/500.page.tsx +msgid "Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later." +msgstr "" + +#: pages/404.page.tsx +msgid "Sorry, we couldn't find the page you were looking for." +msgstr "" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Spanish" msgstr "" @@ -1675,6 +1728,14 @@ msgstr "" msgid "This asset has reached its supply cap. Nothing is available to be supplied from this market." msgstr "" +#: src/components/infoTooltips/FrozenTooltip.tsx +msgid "This asset is frozen due to an Aave Protocol Governance decision. <0>More details" +msgstr "" + +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "This asset is frozen due to an Aave community decision. <0>More details" +msgstr "" + #: src/components/infoTooltips/GasTooltip.tsx msgid "This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider." msgstr "" @@ -1831,7 +1892,9 @@ msgstr "" msgid "User is trying to borrow multiple assets including a siloed one" msgstr "" +#: src/modules/reserve-overview/ReserveConfiguration.tsx #: src/modules/reserve-overview/ReserveTopDetails.tsx +#: src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx msgid "Utilization Rate" msgstr "" @@ -1921,6 +1984,10 @@ msgstr "" msgid "We couldn’t detect a wallet. Connect a wallet to stake." msgstr "" +#: pages/404.page.tsx +msgid "We suggest you go back to the Dashboard." +msgstr "" + #: src/components/infoTooltips/LiquidationPenaltyTooltip.tsx msgid "When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus." msgstr "" @@ -2184,10 +2251,6 @@ msgstr "" msgid "{0} Faucet" msgstr "" -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "{0} is frozen due to an Aave community decision. <0>More details" -msgstr "" - #: src/modules/staking/StakingPanel.tsx msgid "{d}d" msgstr "" @@ -2205,10 +2268,6 @@ msgstr "" msgid "{networkName} Faucet" msgstr "" -#: src/components/infoTooltips/FrozenWarning.tsx -msgid "{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details" -msgstr "" - #: src/modules/staking/StakingPanel.tsx msgid "{s}s" msgstr "" diff --git a/src/locales/el/messages.js b/src/locales/el/messages.js index a20ae52039..dd5745e1c0 100644 --- a/src/locales/el/messages.js +++ b/src/locales/el/messages.js @@ -1 +1 @@ -/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"Το<0>Ampleforth είναι ένα περιουσιακό στοιχείο που επηρεάζεται από την αναπροσαρμογή. Επισκεφθείτε την <1>τεκμηρίωση ή τις <2>Συχνές Ερωτήσεις του Ampleforth για να μάθετε περισσότερα.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"Οι κάτοχοι AAVE μπορούν να κλειδώσουν το AAVE τους στην Μονάδα Ασφάλειας για να προσθέσουν περισσότερη ασφάλεια στο πρωτόκολλο και να κερδίσουν κίνητρα ασφάλειας. Σε περίπτωση εκδήλωσης ελλείμματος, έως και το 30% του κλειδώματος σας μπορεί να μειωθεί για να καλυφθεί το έλλειμμα, παρέχοντας ένα επιπλέον επίπεδο προστασίας για το πρωτόκολλο.","ACTIVATE COOLDOWN":"ΕΝΕΡΓΟΠΟΙΗΣΗ ΨΥΞΗΣ","APR":"APR","APY":"APY","APY type":"Τύπος APY","APY, stable":"APY, σταθερό","APY, variable":"APY, μεταβλητό","AToken supply is not zero":"Η προσφορά AToken δεν είναι μηδενική","Aave Governance":"Διακυβέρνηση Aave","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Το Aave είναι ένα πλήρως αποκεντρωμένο πρωτόκολλο, το οποίο ελέγχεται από την κοινότητα των κατόχων του token του AAVE. Οι κάτοχοι των token του AAVE συζητούν, προτείνουν και ψηφίζουν συλλογικά για τις αναβαθμίσεις του πρωτοκόλλου. Οι κάτοχοι των token του AAVE μπορούν είτε να ψηφίσουν οι ίδιοι για νέες προτάσεις είτε να μεταβιβαστούν σε μια διεύθυνση της επιλογής τους. Για να μάθετε περισσότερα δείτε την τεκμηρίωση Διακυβέρνησης","Aave per month":"Aave ανά μήνα","Account":"Λογαριασμός","Action cannot be performed because the reserve is frozen":"Η ενέργεια δεν μπορεί να εκτελεστεί επειδή το αποθεματικό έχει παγώσει","Action cannot be performed because the reserve is paused":"Η ενέργεια δεν μπορεί να εκτελεστεί επειδή η εφεδρεία βρίσκεται σε παύση","Action requires an active reserve":"Η δράση απαιτεί ενεργό απόθεμα","Add to wallet":"Add to wallet","Add {0} to wallet to track your balance.":["Add ",["0"]," to wallet to track your balance."],"Address is not a contract":"Η διεύθυνση δεν είναι συμβόλαιο","All Assets":"All Assets","All done!":"Όλα έτοιμα!","All proposals":"Όλες οι προτάσεις","Allowance required action":"Απαιτούμενη δράση επιδότησης","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Σας επιτρέπει να αποφασίσετε αν θα χρησιμοποιήσετε ένα παρεχόμενο περιουσιακό στοιχείο ως εγγύηση. Ένα περιουσιακό στοιχείο που χρησιμοποιείται ως εγγύηση θα επηρεάσει τη δανειοληπτική σας ικανότητα και τον συντελεστή υγείας.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Σας επιτρέπει την εναλλαγή μεταξύ <0>μεταβλητού και <1>σταθερού επιτοκίου, όπου το μεταβλητό επιτόκιο μπορεί να αυξάνεται και να μειώνεται ανάλογα με την ποσότητα ρευστότητας στο αποθεματικό, ενώ το σταθερό επιτόκιο θα παραμείνει το ίδιο για τη διάρκεια του δανείου σας.","Already on cooldown":"Ήδη σε ψύξη","Amount":"Ποσό","Amount must be greater than 0":"Το ποσό πρέπει να είναι μεγαλύτερο από 0","Ampleforth FAQ":"Συχνές ερωτήσεις του Ampleforth","Approval":"Έγκριση","Approve confirmed":"Η έγκριση επιβεβαιώθηκε","Approve to continue":"Εγκρίνετε για να συνεχίσετε","Approved":"Εγκρίθηκε","Approving {symbol}...":["Έγκριση του ",["symbol"],"..."],"Array parameters that should be equal length are not":"Οι παράμετροι της συστοιχίας που θα έπρεπε να είναι ίσου μήκους δεν είναι","As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.":"As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.","Asset":"Περιουσιακό στοιχείο","Asset can only be used as collateral in isolation mode only.":"To περιουσιακό στοιχείο μπορεί να χρησιμοποιηθεί ως εγγύηση μόνο σε λειτουργία απομόνωσης.","Asset cannot be used as collateral.":"Το περιουσιακό στοιχείο δεν μπορεί να χρησιμοποιηθεί ως εγγύηση.","Asset category":"Κατηγορία περιουσιακών στοιχείων","Asset is not borrowable in isolation mode":"Το περιουσιακό στοιχείο δεν είναι δανείσιμο σε λειτουργία απομόνωσης","Asset is not listed":"Το περιουσιακό στοιχείο δεν περιλαμβάνεται στον κατάλογο","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.","Asset to delegate":"Περιουσιακό στοιχείο προς εκχώρηση","Assets":"Περιουσιακά Στοιχεία","Assets to borrow":"Περιουσιακά στοιχεία προς δανεισμό","Assets to supply":"Περιουσιακά στοιχεία προς προμήθεια","Author":"Συγγραφέας","Available":"Διαθέσιμο","Available assets":"Διαθέσιμα περιουσιακά στοιχεία","Available liquidity":"Διαθέσιμη ρευστότητα","Available rewards":"Διαθέσιμες ανταμοιβές","Available to borrow":"Διαθέσιμο για δανεισμό","Available to supply":"Διαθέσιμο για προμήθεια","Balance":"Υπόλοιπο","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Προσοχή - Είστε πολύ κοντά στην ρευστοποίηση. Εξετάστε το ενδεχόμενο να καταθέσετε περισσότερες εγγυήσεις ή να εξοφλήσετε κάποιες από τις δανειακές σας θέσεις","Before supplying":"Πριν από την προμήθεια","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ","Blocked Address":"Blocked Address","Borrow":"Δανεισμός","Borrow APY rate":"Επιτόκιο δανεισμού APY","Borrow APY, stable":"Δανεισμός APY, σταθερό","Borrow APY, variable":"Δανεισμός APY, μεταβλητό","Borrow and repay in same block is not allowed":"Δεν επιτρέπεται ο δανεισμός και η αποπληρωμή στο ίδιο block","Borrow cap":"Ανώτατο όριο δανεισμού","Borrow cap is exceeded":"Υπέρβαση του ανώτατου ορίου δανεισμού","Borrow power used":"Δανεισμός χρησιμοποιημένης ισχύος","Borrow {symbol}":["Δανεισμός ",["symbol"]],"Borrowed":"Borrowed","Borrowing is currently unavailable for {0}.":["Ο δανεισμός δεν είναι επί του παρόντος διαθέσιμος για ",["0"],"."],"Borrowing is not enabled":"Ο δανεισμός δεν είναι ενεργοποιημένος","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"Ο δανεισμός δεν είναι διαθέσιμος επειδή έχετε ενεργοποιήσει τη Λειτουργία Αποδοτικότητας (E-Mode) και τη λειτουργία Απομόνωσης. Για να διαχειριστείτε τη λειτουργία E-Mode και τη λειτουργία Απομόνωσης, επισκεφθείτε τον <0>Πίνακα ελέγχου.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["Ο δανεισμός δεν είναι διαθέσιμος επειδή έχετε ενεργοποιήσει τη λειτουργία Αποδοτικότητας (E-Mode) για την κατηγορία ",["0"],". Για να διαχειριστείτε τις κατηγορίες E-Mode επισκεφθείτε τον <0>Πίνακα ελέγχου."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.","Borrowing power and assets are limited due to Isolation mode.":"Η δύναμη δανεισμού και τα περιουσιακά στοιχεία είναι περιορισμένα λόγω της λειτουργίας απομόνωσης.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Borrowing this amount will reduce your health factor and increase risk of liquidation.","Borrowing {symbol}":["Δανεισμός ",["symbol"]],"CLAIM {symbol}":["ΔΙΕΚΔΙΚΗΣΗ ",["symbol"]],"CLAIMING {symbol}":["ΔΙΕΚΔΙΚΗΣΗ ",["symbol"]],"Can be collateral":"Μπορεί να αποτελέσει εγγύηση","Can be executed":"Μπορεί να εκτελεστεί","Cannot disable E-Mode":"Cannot disable E-Mode","Cap reached. Lower supply amount":"Το ανώτατο όριο έχει επιτευχθεί. Χαμηλότερη ποσότητα προσφοράς","Claim":"Διεκδίκηση","Claim AAVE":"Διεκδίκηση AAVE","Claim all":"Διεκδικήστε τα όλα","Claim all rewards":"Διεκδικήστε όλες τις ανταμοιβές","Claim {0}":["Διεκδίκηση ",["0"]],"Claimable AAVE":"Διεκδικήσιμο AAVE","Claimed":"Claimed","Claiming":"Διεκδίκηση","Close":"Κλείσιμο","Collateral":"Εγγύηση","Collateral amount to repay with":"Ποσό εγγύησης προς αποπληρωμή με","Collateral is (mostly) the same currency that is being borrowed":"Η εγγύηση είναι (ως επί το πλείστον) το ίδιο νόμισμα που δανείζεται","Collateral usage":"Χρησιμοποίηση εγγυήσεων","Collateral usage is limited because of Isolation mode.":"H χρήση εγγυήσεων είναι περιορισμένη λόγω της λειτουργίας Απομόνωσης.","Collateral usage is limited because of isolation mode. <0>Learn More":"Η χρήση εγγύησης είναι περιορισμένη λόγω της λειτουργίας απομόνωσης. <0>Μάθετε περισσότερα","Collateralization":"Εξασφάλιση","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Συνδέστε το πορτοφόλι","Cooldown period":"Περίοδος ψύξης","Cooldown period warning":"Προειδοποίηση περιόδου ψύξης","Cooldown time left":"Χρόνος ψύξης που έχει απομείνει","Cooldown to unstake":"Ψύξτε για ξεκλείδωμα","Cooling down...":"Ψύξη...","Copy address":"Αντιγραφή διεύθυνσης","Copy error text":"Κείμενο σφάλματος αντιγραφής","Created":"Δημιουργήθηκε","Current LTV":"Τρέχον LTV","Current differential":"Τρέχον διαφορικό","Current votes":"Τρέχουσες ψήφοι","Dark mode":"Σκοτεινή λειτουργία","Dashboard":"Ταμπλό","Debt":"Χρέος","Debt amount to repay":"Ποσό χρέους προς αποπληρωμή","Debt ceiling is exceeded":"Υπέρβαση του ανώτατου ορίου χρέους","Debt ceiling is not zero":"Το ανώτατο όριο χρέους δεν είναι μηδενικό","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Ορίστε Επανάληψη με κείμενο έγκρισης","Delegate":"Εκπρόσωπος","Delegating":"Ανάθεση αρμοδιοτήτων","Delegation":"Delegation","Details":"Λεπτομέρειες","Developers":"Προγραμματιστές","Differential":"Διαφορικό","Disable E-Mode":"Απενεργοποίηση E-Mode","Disable testnet":"Disable testnet","Disable {symbol} as collateral":["Απενεργοποίηση ",["symbol"]," ως εγγύηση"],"Disabled":"Απενεργοποιημένο","Disabling E-Mode":"Απενεργοποίηση E-Mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"Η απενεργοποίηση αυτού του περιουσιακού στοιχείου ως εγγύηση επηρεάζει τη δανειοληπτική σας ικανότητα και τον Συντελεστή Υγείας.","Disconnect Wallet":"Αποσυνδέστε το πορτοφόλι","Discord":"Discord","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}":["Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>",["0"],""],"E-Mode":"E-Mode","E-Mode Category":"Κατηγορία E-Mode","E-Mode category":"E-Mode category","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"Το E-Mode αυξάνει το LTV σας για μια επιλεγμένη κατηγορία περιουσιακών στοιχείων έως και 97%. <0>Μάθετε περισσότερα","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"Το E-Mode αυξάνει το LTV σας για μια επιλεγμένη κατηγορία περιουσιακών στοιχείων έως και <0/>. <1>Μάθετε περισσότερα","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"Η λειτουργία E-Mode αυξάνει το LTV σας για μια επιλεγμένη κατηγορία περιουσιακών στοιχείων, πράγμα που σημαίνει ότι όταν είναι ενεργοποιημένη η λειτουργία E-Mode, θα έχετε μεγαλύτερη δανειοληπτική ικανότητα για περιουσιακά στοιχεία της ίδιας κατηγορίας E-mode που έχει οριστεί από την Διακυβέρνηση του Aave. Μπορείτε να εισέλθετε στην κατάσταση E-Mode από τον <0>Πίνακα Ελέγχου. Για να μάθετε περισσότερα σχετικά με το E-Mode και τους εφαρμοζόμενους περιορισμούς στο <1>FAQ ή στο <2>Aave V3 Technical Paper.","Efficiency mode (E-Mode)":"Λειτουργία αποδοτικότητας (E-Mode)","Emode":"Emode","Enable E-Mode":"Ενεργοποίηση E-Mode","Enable {symbol} as collateral":["Ενεργοποίηση ",["symbol"]," ως εγγύηση"],"Enabled":"Ενεργοποιημένο","Enabled in isolation":"Ενεργοποιημένο σε απομόνωση","Enabling E-Mode":"Ενεργοποίηση E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"Η ενεργοποίηση αυτού του περιουσιακού στοιχείου ως εγγύηση αυξάνει τη δανειοληπτική σας ικανότητα και τον Συντελεστή Υγείας. Ωστόσο, μπορεί να ρευστοποιηθεί εάν ο συντελεστής υγείας σας πέσει κάτω από το 1.","English":"Αγγλικά","Enter ETH address":"Εισάγετε διεύθυνση ETH","Enter an amount":"Εισάγετε ένα ποσό","Error connecting. Try refreshing the page.":"Σφάλμα σύνδεσης. Δοκιμάστε να ανανεώσετε τη σελίδα.","Executed":"Εκτελέστηκε","Expires":"Λήγει","FAQ":"ΣΥΧΝΕΣ ΕΡΩΤΗΣΕΙΣ","Faucet":"Βρύση","Faucet {0}":["Βρύση ",["0"]],"Filter":"Φίλτρο","For repayment of a specific type of debt, the user needs to have debt that type":"Για την αποπληρωμή ενός συγκεκριμένου τύπου χρέους, ο χρήστης πρέπει να έχει χρέος αυτού του τύπου","Forum discussion":"Συζήτηση φόρουμ","French":"Γαλλικά","Funds in the Safety Module":"Κεφάλαια στην Μονάδα Ασφάλειας","Get ABP Token":"Get ABP Token","Github":"Github","Global settings":"Γενικές ρυθμίσεις","Go Back":"Πηγαίνετε Πίσω","Go back":"Go back","Go to Balancer Pool":"Go to Balancer Pool","Governance":"Διακυβέρνηση","Greek":"Greek","Health factor":"Συντελεστής υγείας","Health factor is lesser than the liquidation threshold":"Ο συντελεστής υγείας είναι μικρότερος από το όριο ρευστοποίησης","Health factor is not below the threshold":"Ο παράγοντας υγείας δεν είναι κάτω από το όριο","Hide":"Απόκρυψη","I acknowledge the risks involved.":"I acknowledge the risks involved.","I understand how cooldown ({0}) and unstaking ({1}) work":["Καταλαβαίνω πώς λειτουργεί η ψύξη (",["0"],") και το ξεκλείδωμα (",["1"],")"],"If the health factor goes below 1, the liquidation of your collateral might be triggered.":"Εάν ο συντελεστής υγείας πέσει κάτω από το 1, ενδέχεται να ενεργοποιηθεί η ρευστοποίηση των εγγυήσεών σας.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["Εάν ΔΕΝ ξεκλειδώσετε εντός ",["0"]," του παραθύρου ξεκλειδώματος, θα πρέπει να ενεργοποιήσετε ξανά τη διαδικασία ψύξης."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"Εάν το δάνειο προς αξία υπερβεί το όριο ρευστοποίησης, η παρεχόμενη εγγύηση σας μπορεί να ρευστοποιηθεί.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"Στο E-Mode ορισμένα περιουσιακά στοιχεία δεν είναι δανείσιμα. Βγείτε από το E-Mode για να αποκτήσετε πρόσβαση σε όλα τα περιουσιακά στοιχεία","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable ",["0"]," as collateral before borrowing another asset. Read more in our <0>FAQ"],"Inconsistent flashloan parameters":"Ασυνεπείς παράμετροι flashloan","Interest rate rebalance conditions were not met":"Δεν τηρήθηκαν οι όροι επανεξισορρόπησης των επιτοκίων","Invalid amount to burn":"Μη έγκυρη ποσότητα προς καύση","Invalid amount to mint":"Μη έγκυρο ποσό για νομισματοκοπία","Invalid bridge protocol fee":"Μη έγκυρη αμοιβή πρωτοκόλλου γέφυρας","Invalid expiration":"Μη έγκυρη λήξη","Invalid flashloan premium":"Άκυρη πριμοδότηση flashloan","Invalid return value of the flashloan executor function":"Μη έγκυρη τιμή επιστροφής της συνάρτησης εκτελεστή flashloan","Invalid signature":"Μη έγκυρη υπογραφή","Isolated":"Απομονωμένο","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Τα απομονωμένα περιουσιακά στοιχεία έχουν περιορισμένη δανειοληπτική ικανότητα και άλλα περιουσιακά στοιχεία δεν μπορούν να χρησιμοποιηθούν ως εγγύηση.","Language":"Γλώσσα","Learn more":"Μάθετε περισσότερα","Learn more about risks involved":"Μάθετε περισσότερα για τους κινδύνους","Learn more in our <0>FAQ guide":"Μάθετε περισσότερα στον οδηγό <0>Συχνών Ερωτήσεων","Links":"Σύνδεσμοι","Liquidation <0/> threshold":"Ρευστοποίηση <0/> κατώτατο όριο","Liquidation at":"Ρευστοποίηση στο","Liquidation penalty":"Ποινή ρευστοποίησης","Liquidation risk":"Liquidation risk","Liquidation risk parameters":"Liquidation risk parameters","Liquidation threshold":"Κατώτατο όριο ρευστοποίησης","Liquidation value":"Αξία ρευστοποίησης","Ltv validation failed":"Η επικύρωση του Ltv απέτυχε","MAX":"ΜΕΓΙΣΤΟ","Market":"Αγορά","Markets":"Αγορές","Max":"Μεγιστο","Max LTV":"Μέγιστο LTV","Max slashing":"Μέγιστη περικοπή","Max slippage rate":"Μέγιστο ποσοστό ολίσθησης","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["Maximum amount available to borrow against this asset is limited because debt ceiling is at ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.","Maximum amount available to supply is <0/> {0} (<1/>).":["Maximum amount available to supply is <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["Maximum amount available to supply is limited because protocol supply cap is at ",["0"],"%."],"Maximum loan to value":"Maximum loan to value","Menu":"Μενού","Minimum received":"Ελάχιστο λαμβανόμενο","More":"Περισσότερα","NAY":"ΚΑΤΑ","Need help connecting a wallet? <0>Read our FAQ":"Χρειάζεστε βοήθεια για τη σύνδεση ενός πορτοφολιού; <0>Διαβάστε τις Συχνές Ερωτήσεις μας","Net APR":"Καθαρό APR","Net APY":"Καθαρό APY","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"Το καθαρό ΑΡΥ είναι η συνδυασμένη επίδραση όλων των θέσεων προσφοράς και δανεισμού στην καθαρή αξία, συμπεριλαμβανομένων των κινήτρων. Είναι δυνατόν να υπάρχει αρνητικό καθαρό APY εάν το χρεωστικό APY είναι υψηλότερο από το προσφερόμενο APY.","Net worth":"Καθαρή αξία","Network":"Δίκτυο","Network not supported for this wallet":"Δίκτυο που δεν υποστηρίζεται για αυτό το πορτοφόλι","New APY":"Νέο APY","No rewards to claim":"Δεν υπάρχουν ανταμοιβές για διεκδίκηση","No voting power":"Δεν υπάρχει δικαίωμα ψήφου","None":"Κανένα","Not a valid address":"Μη έγκυρη διεύθυνση","Not enough balance on your wallet":"Δεν υπάρχει αρκετό υπόλοιπο στο πορτοφόλι σας","Not enough collateral to repay this amount of debt with":"Δεν υπάρχουν επαρκείς εγγυήσεις για την αποπληρωμή αυτού του ποσού χρέους με","Not enough staked balance":"Δεν υπάρχει αρκετό κλειδωμένο υπόλοιπο","Not enough voting power to participate in this proposal":"Δεν έχει αρκετή δύναμη ψήφου για να συμμετάσχει στην παρούσα πρόταση","Not reached":"Δεν έχει επιτευχθεί","Nothing borrowed yet":"Τίποτα δανεισμένο ακόμα","Nothing staked":"Τίποτα κλειδωμένο","Nothing supplied yet":"Τίποτα δεν έχει παρασχεθεί ακόμη","Notify":"Notify","Ok, Close":"Εντάξει, Κλείσιμο","Ok, I got it":"Εντάξει, το κατάλαβα","Operation not supported":"Η λειτουργία δεν υποστηρίζεται","Oracle price":"Τιμή Oracle","Overview":"Επισκόπηση","Participating in this {symbol} reserve gives annualized rewards.":["Η συμμετοχή σε αυτό το αποθεματικό ",["symbol"]," δίνει ετήσιες ανταμοιβές."],"Pending...":"Εκκρεμεί...","Per the community, borrowing in this market is currently disabled. <0>Learn More":"Per the community, borrowing in this market is currently disabled. <0>Learn More","Per the community, supplying in this market is currently disabled. <0>Learn More":"Per the community, supplying in this market is currently disabled. <0>Learn More","Please connect a wallet to view your personal information here.":"Παρακαλούμε συνδέστε ένα πορτοφόλι για να δείτε τις προσωπικές σας πληροφορίες εδώ.","Please connect your wallet to get free testnet assets.":"Please connect your wallet to get free testnet assets.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Συνδέστε το πορτοφόλι σας για να δείτε τις προμήθειες, τα δάνεια και τις ανοιχτές θέσεις σας.","Please switch to {networkName}.":["Παρακαλώ μεταβείτε στο ",["networkName"],"."],"Please, connect your wallet":"Παρακαλώ, συνδέστε το πορτοφόλι σας","Pool addresses provider is not registered":"Ο πάροχος διευθύνσεων κοινόχρηστων ταμείων δεν είναι εγγεγραμμένος","Price impact":"Επίδραση στην τιμή","Proposal details":"Λεπτομέρειες πρότασης","Proposal overview":"Επισκόπηση πρότασης","Proposals":"Προτάσεις","Proposition power":"Ισχύς πρότασης","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap at 100% for this asset. Further borrowing unavailable.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"Protocol supply cap at 100% for this asset. Further supply unavailable.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"Protocol supply cap is at 100% for this asset. Further supply unavailable.","Quorum":"Απαρτία","Raw-Ipfs":"Raw-Ipfs","Reached":"Επιτεύχθηκε","Received":"Received","Recipient address":"Διεύθυνση παραλήπτη","Rejected connection request":"Απόρριψη αιτήματος σύνδεσης","Remaining debt":"Υπολειπόμενο χρέος","Remaining supply":"Υπολειπόμενη προσφορά","Repay":"Αποπληρωμή","Repay with":"Αποπληρωμή με","Repay {symbol}":["Αποπληρωμή ",["symbol"]],"Repaying {symbol}":["Αποπληρώνοντας ",["symbol"]],"Reserve Size":"Μέγεθος Αποθεματικού","Reserve factor":"Reserve factor","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["Reserve factor is a percentage of interest which goes to a ",["0"]," that is controlled by Aave governance to promote ecosystem growth."],"Reserve status & configuration":"Κατάσταση & διαμόρφωση αποθεματικού","Retry What?":"Επαναλάβετε Τι;","Retry with Approval":"Επανάληψη με Έγκριση","Retry with approval":"Επανάληψη με έγκριση","Review approval tx details":"Αναθεώρηση λεπτομερειών έγκρισης συναλλαγής","Review tx":"Αναθεώρηση συναλλαγής","Review tx details":"Αναθεώρηση λεπτομερειών συναλλαγής","Reward(s) to claim":"Ανταμοιβή(ες) προς διεκδίκηση","Rewards APR":"Ανταμοιβές APR","Risk details":"Λεπτομέρειες κινδύνου","SEE CHARTS":"ΔΕΙΤΕ ΓΡΑΦΗΜΑΤΑ","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Ασφάλεια των κατατεθειμένων εξασφαλίσεών σας έναντι των δανειζόμενων περιουσιακών στοιχείων και της υποκείμενης αξίας τους.","Seatbelt report":"Seatbelt report","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"Φαίνεται ότι δεν μπορούμε να αλλάξουμε το δίκτυο αυτόματα. Ελέγξτε αν μπορείτε να το αλλάξετε από το πορτοφόλι.","Select":"Select","Select APY type to switch":"Επιλέξτε τύπο APY για εναλλαγή","Select language":"Επιλέξτε γλώσσα","Select token to add":"Select token to add","Select token to view in block explorer":"Select token to view in block explorer","Setup notifications about your Health Factor using the Hal app.":"Setup notifications about your Health Factor using the Hal app.","Share on twitter":"Μοιραστείτε το στο twitter","Show":"Εμφάνιση","Show assets with 0 balance":"Εμφάνιση περιουσιακών στοιχείων με υπόλοιπο 0","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Δεδομένου ότι πρόκειται για ένα δοκιμαστικό δίκτυο, μπορείτε να αποκτήσετε οποιοδήποτε από τα περιουσιακά στοιχεία αν έχετε ETH στο πορτοφόλι σας","Spanish":"Ισπανικά","Stable":"Σταθερό","Stable Interest Type is disabled for this currency":"Ο Τύπος Σταθερού Επιτοκίου είναι απενεργοποιημένος για αυτό το νόμισμα","Stable borrowing is enabled":"Ο σταθερός δανεισμός είναι ενεργοποιημένος","Stable borrowing is not enabled":"Ο σταθερός δανεισμός δεν είναι ενεργοποιημένος","Stable debt supply is not zero":"Η σταθερή προσφορά χρέους δεν είναι μηδενική","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"Το σταθερό επιτόκιο θα <0>μείνει το ίδιο για όλη τη διάρκεια του δανείου σας. Συνιστάται για μακροχρόνιες περιόδους δανεισμού και για χρήστες που προτιμούν την προβλεψιμότητα.","Stablecoin":"Σταθερό νόμισμα","Stake":"Κλειδώστε","Stake AAVE":"Stake AAVE","Stake ABPT":"Stake ABPT","Stake cooldown activated":"Stake cooldown activated","Staked":"Κλειδωμένο","Staking":"Κλείδωμα","Staking APR":"Κλείδωμα APR","Started":"Ξεκίνησε","State":"Κατάσταση","Supplied":"Supplied","Supply":"Προσφορά","Supply APY":"Προσφορά APY","Supply apy":"Προσφορά apy","Supply balance":"Υπόλοιπο προσφοράς","Supply cap is exceeded":"Υπέρβαση του ανώτατου ορίου προσφοράς","Supply cap on target reserve reached. Try lowering the amount.":"Επίτευξη του ανώτατου ορίου εφοδιασμού στο αποθεματικό-στόχο. Δοκιμάστε να \nμειώσετε την ποσότητα.","Supply {symbol}":["Προσφορά ",["symbol"]],"Supplying your":"Προμηθεύοντας το","Supplying {symbol}":["Παροχή ",["symbol"]],"Swap":"Ανταλλαγή","Swapped":"Swapped","Swapping":"Ανταλλαγή","Switch APY type":"Αλλαγή τύπου APY","Switch E-Mode":"Switch E-Mode","Switch E-Mode category":"Switch E-Mode category","Switch Network":"Αλλαγή Δικτύου","Switch rate":"Αλλαγή ποσοστού","Switching E-Mode":"Switching E-Mode","Switching rate":"Αλλαγή ποσοστού","Test Assets":"Test Assets","Testnet mode":"Λειτουργία Testnet","Testnet mode is ON":"Testnet mode is ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"Το % της συνολικής δανειοληπτικής σας δύναμης που χρησιμοποιείται. Αυτό βασίζεται στο ποσό της παρεχόμενης εξασφάλισής σας και στο συνολικό ποσό που μπορείτε να δανειστείτε.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"Ο δείκτης μέγιστου LTV αντιπροσωπεύει τη μέγιστη δανειοληπτική ικανότητα μιας συγκεκριμένης εγγύησης. Για παράδειγμα, εάν μια εγγύηση έχει LTV 75%, ο χρήστης μπορεί να δανειστεί έως και 0,75 ETH στο κύριο νόμισμα για κάθε 1 ETH αξίας εγγύησης.","The Stable Rate is not enabled for this currency":"Η Σταθερή Ισοτιμία δεν είναι ενεργοποιημένη για αυτό το νόμισμα","The address of the pool addresses provider is invalid":"Η διεύθυνση του παρόχου διευθύνσεων κοινόχρηστου ταμείου είναι άκυρη","The app is running in testnet mode. Learn how it works in":"The app is running in testnet mode. Learn how it works in","The caller of the function is not an AToken":"Ο καλών της συνάρτησης δεν είναι AToken","The caller of this function must be a pool":"Ο καλών αυτής της συνάρτησης πρέπει να είναι ένα κοινόχρηστο ταμείο","The collateral balance is 0":"Το υπόλοιπο των εγγυήσεων είναι 0","The collateral chosen cannot be liquidated":"Η εγγύηση που έχει επιλεγεί δεν μπορεί να ρευστοποιηθεί","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"Η περίοδος ψύξης είναι ο χρόνος που απαιτείται πριν από την αποδέσμευση των token σας (10 ημέρες). Μπορείτε να αποσύρετε τα περιουσιακά σας στοιχεία από τη μονάδα ασφαλείας μόνο μετά την περίοδο αναστολής και εντός του ενεργού παραθύρου ξεκλειδώματος.<0>Μάθετε περισσότερα","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["Η περίοδος ψύξης είναι ",["0"],". Μετά την ",["1"]," περίοδο ψύξης, θα εισέλθετε στο παράθυρο ξεκλειδώματος ",["2"],". Θα συνεχίσετε να λαμβάνετε ανταμοιβές κατά τη διάρκεια της ψύξης και του παραθύρου ξεκλειδώματος."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"Οι επιπτώσεις στον συντελεστή υγείας θα προκαλούσαν ρευστοποίηση. Προσπαθήστε να μειώσετε το ποσό.","The requested amount is greater than the max loan size in stable rate mode":"Το αιτούμενο ποσό είναι μεγαλύτερο από το μέγιστο μέγεθος δανείου στη λειτουργία σταθερού επιτοκίου","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"Το συνολικό ποσό των περιουσιακών σας στοιχείων σε δολάρια ΗΠΑ που μπορούν να χρησιμοποιηθούν ως εγγύηση για δανεισμό περιουσιακών στοιχείων.","The underlying asset cannot be rescued":"Το υποκείμενο περιουσιακό στοιχείο δεν μπορεί να διασωθεί","The underlying balance needs to be greater than 0":"Το υποκείμενο υπόλοιπο πρέπει να είναι μεγαλύτερο από 0","The weighted average of APY for all borrowed assets, including incentives.":"Ο σταθμισμένος μέσος όρος του APY για όλα τα δανειακά περιουσιακά στοιχεία, συμπεριλαμβανομένων των κινήτρων.","The weighted average of APY for all supplied assets, including incentives.":"Ο σταθμισμένος μέσος όρος του APY για όλα τα παρεχόμενα περιουσιακά στοιχεία, συμπεριλαμβανομένων των κινήτρων.","There are not enough funds in the{0}reserve to borrow":["Δεν υπάρχουν αρκετά κεφάλαια στο",["0"],"αποθεματικό για δανεισμό"],"There is not enough collateral to cover a new borrow":"Δεν υπάρχουν επαρκείς εξασφαλίσεις για την κάλυψη ενός νέου δανείου","There was some error. Please try changing the parameters or <0><1>copy the error":"Υπήρξε κάποιο σφάλμα. Προσπαθήστε να αλλάξετε τις παραμέτρους ή <0><1>αντιγράψτε το σφάλμα","These funds have been borrowed and are not available for withdrawal at this time.":"Τα κεφάλαια αυτά έχουν δανειστεί και δεν είναι διαθέσιμα για ανάληψη αυτή τη στιγμή.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.","This address is blocked on app.aave.com because it is associated with one or more":"This address is blocked on app.aave.com because it is associated with one or more","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["Αυτό το περιουσιακό στοιχείο έχει σχεδόν φτάσει στο όριο δανεισμού του. Υπάρχει μόνο ",["messageValue"]," διαθέσιμο για δανεισμό από αυτή την αγορά."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["Αυτό το περιουσιακό στοιχείο έχει σχεδόν φτάσει στο όριο της προσφοράς του. Μόνο ",["messageValue"]," μπορεί να παρασχεθεί σε αυτή την αγορά."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"Αυτό το περιουσιακό στοιχείο έχει φθάσει στο ανώτατο όριο δανεισμού του. Τίποτα δεν είναι διαθέσιμο για δανεισμό από αυτή την αγορά.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"Αυτό το περιουσιακό στοιχείο έχει φτάσει στο όριο της προσφοράς του. Τίποτα δεν είναι διαθέσιμο για προμήθεια από αυτή την αγορά.","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"Αυτός ο υπολογισμός gas είναι μόνο μια εκτίμηση. Το πορτοφόλι σας θα καθορίσει την τιμή της συναλλαγής. Μπορείτε να τροποποιήσετε τις ρυθμίσεις gas απευθείας από τον πάροχο του πορτοφολιού σας.","This integration was<0>proposed and approvedby the community.":"This integration was<0>proposed and approvedby the community.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"Αυτό είναι το συνολικό ποσό που μπορείτε να δανειστείτε. Μπορείτε να δανειστείτε με βάση την εξασφάλισή σας και μέχρι να επιτευχθεί το ανώτατο όριο δανεισμού.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"Αυτό είναι το συνολικό ποσό που μπορείτε να προμηθεύσετε σε αυτό το αποθεματικό. Μπορείτε να προμηθεύσετε το υπόλοιπο του πορτοφολιού σας μέχρι να επιτευχθεί το ανώτατο όριο προμηθειών.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"Αυτό αντιπροσωπεύει το κατώτατο όριο στο οποίο μια θέση δανεισμού θα θεωρηθεί υποεγγυημένη και θα υπόκειται σε ρευστοποίηση για κάθε εγγύηση. Για παράδειγμα, εάν μια εγγύηση έχει κατώτατο όριο ρευστοποίησης 80%, αυτό σημαίνει ότι η θέση θα ρευστοποιηθεί όταν η αξία του χρέους ανέρχεται στο 80% της αξίας της εγγύησης.","Time left to be able to withdraw your staked asset.":"Χρόνος που απομένει για να μπορέσετε να αποσύρετε το κλειδωμένο περιουσιακό στοιχείο σας.","Time left to unstake":"Χρόνος που απομένει για το ξεκλείδωμα","Time left until the withdrawal window closes.":"Χρόνος που απομένει μέχρι να κλείσει το παράθυρο ανάληψης.","To borrow you need to supply any asset to be used as collateral.":"Για να δανειστείτε πρέπει να προσκομίσετε οποιοδήποτε περιουσιακό στοιχείο που θα χρησιμοποιηθεί ως εγγύηση.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["To enable E-mode for the ",["0"]," category, all borrow positions outside of this cateogry must be closed."],"To repay on behalf of a user an explicit amount to repay is needed":"Για την εξόφληση εκ μέρους ενός χρήστη απαιτείται ένα ρητό ποσό προς εξόφληση","To request access for this permissioned market, please visit: <0>Acces Provider Name":"Για να ζητήσετε πρόσβαση σε αυτή την αδειοδοτημένη αγορά, επισκεφθείτε την ιστοσελίδα: <0>Όνομα Παρόχου Πρόσβασης","Total available":"Σύνολο διαθέσιμων","Total borrowed":"Σύνολο δανεικών","Total borrows":"Σύνολο δανείων","Total emission per day":"Συνολικές εκπομπές ανά ημέρα","Total market size":"Συνολικό μέγεθος της αγοράς","Total supplied":"Σύνολο παρεχόμενων","Total voting power":"Συνολική δύναμη ψήφου","Total worth":"Συνολική αξία","Transaction failed":"Η συναλλαγή απέτυχε","Transaction overview":"Επισκόπηση συναλλαγής","Type of delegation":"Τύπος ανάθεσης","UNSTAKE {symbol}":["ΞΕΚΛΕΙΔΩΜΑ ",["symbol"]],"UNSTAKING {symbol}":["ΞΕΚΛΕΙΔΩΜΑ ",["symbol"]],"Unavailable":"Μη διαθέσιμο","Unbacked":"Μη υποστηριζόμενο","Unbacked mint cap is exceeded":"Υπέρβαση του ανώτατου ορίου νομισματοκοπείου χωρίς αντίκρισμα","Unstake now":"Ξεκλειδώστε τώρα","Unstake window":"Παράθυρο ξεκλειδώματος","Used as collateral":"Χρησιμοποιείται ως εγγύηση","User cannot withdraw more than the available balance":"Ο χρήστης δεν μπορεί να κάνει ανάληψη μεγαλύτερη από το διαθέσιμο υπόλοιπο","User did not borrow the specified currency":"Ο χρήστης δεν δανείστηκε το καθορισμένο νόμισμα","User does not have outstanding stable rate debt on this reserve":"Ο χρήστης δεν έχει ανεξόφλητο χρέος σταθερού επιτοκίου σε αυτό το αποθεματικό","User does not have outstanding variable rate debt on this reserve":"Ο χρήστης δεν έχει ανεξόφλητο χρέος μεταβλητού επιτοκίου σε αυτό το αποθεματικό","User is in isolation mode":"Ο χρήστης βρίσκεται σε λειτουργία απομόνωσης","User is trying to borrow multiple assets including a siloed one":"Ο χρήστης προσπαθεί να δανειστεί πολλαπλά περιουσιακά στοιχεία, συμπεριλαμβανομένου ενός απομονωμένου περιουσιακού στοιχείου","Utilization Rate":"Ποσοστό χρησιμοποίησης","VOTE NAY":"ΨΗΦΙΣΤΕ ΚΑΤΑ","VOTE YAE":"ΨΗΦΙΣΤΕ ΥΠΕΡ","Variable":"Μεταβλητό","Variable debt supply is not zero":"Η προσφορά μεταβλητού χρέους δεν είναι μηδενική","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.","Version 2":"Version 2","Version 3":"Version 3","View contract":"View contract","View details":"Προβολή λεπτομερειών","View on Explorer":"Προβολή στον Explorer","Vote":"Vote","Vote NAY":"Ψηφίστε ΚΑΤΑ","Vote YAE":"Ψηφίστε ΥΠΕΡ","Voting power":"Δύναμη ψήφου","Voting results":"Αποτελέσματα ψηφοφορίας","Wallet balance":"Υπόλοιπο πορτοφολιού","Wallet not detected. Connect or install wallet and retry":"Το πορτοφόλι δεν εντοπίστηκε. Συνδέστε ή εγκαταστήστε το πορτοφόλι και επαναλάβετε την προσπάθεια","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Τα πορτοφόλια παρέχονται από Εξωτερικούς Παρόχους και επιλέγοντας τα συμφωνείτε με τους Όρους των εν λόγω Παρόχων. Η πρόσβασή σας στο πορτοφόλι ενδέχεται να εξαρτάται από τη λειτουργία του Εξωτερικού Παρόχου.","We couldn’t detect a wallet. Connect a wallet to stake.":"Δεν μπορέσαμε να εντοπίσουμε πορτοφόλι. Συνδέστε ένα πορτοφόλι για να κλειδώσετε.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"Όταν πραγματοποιείται ρευστοποίηση, οι ρευστοποιητές επιστρέφουν έως και το 50% του ανεξόφλητου δανεισμένου ποσού για λογαριασμό του δανειολήπτη. Σε αντάλλαγμα, μπορούν να αγοράσουν τις εξασφαλίσεις με έκπτωση και να κρατήσουν τη διαφορά (ποινή ρευστοποίησης) ως μπόνους.","Why do I need to approve?":"Γιατί πρέπει να εγκρίνω;","With a voting power of <0/>":"Με δύναμη ψήφου <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more","Withdraw":"Ανάληψη","Withdraw {symbol}":["Ανάληψη ",["symbol"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Withdrawing this amount will reduce your health factor and increase risk of liquidation.","Withdrawing {symbol}":["Ανάληψη ",["symbol"]],"Wrong Network":"Λάθος δίκτυο","YAE":"ΥΠΕΡ","You are entering Isolation mode":"Εισέρχεστε σε λειτουργία απομόνωσης","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"Μπορείτε να δανειστείτε αυτό το περιουσιακό στοιχείο με σταθερό επιτόκιο μόνο αν δανειστείτε περισσότερο από το ποσό που παρέχετε ως εγγύηση.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"Δεν μπορείτε να αλλάξετε τον Τύπο Επιτοκίου σε σταθερό, καθώς τα δάνειά σας είναι υψηλότερα από τις εγγυήσεις σας","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"Δεν μπορείτε να απενεργοποιήσετε το E-Mode καθώς το τρέχον επίπεδο εγγύησης είναι πάνω από 80%, η απενεργοποίηση του E-Mode μπορεί να προκαλέσει ρευστοποίηση. Για να βγείτε από το E-Mode, προμήθεια ή αποπληρωμή δανεισμένων θέσεων.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"Δεν μπορείτε να αλλάξετε τη χρήση ως λειτουργία εγγύησης για αυτό το νόμισμα, διότι θα προκαλέσει κλήση εγγύησης","You can not use this currency as collateral":"Δεν μπορείτε να χρησιμοποιήσετε αυτό το νόμισμα ως εγγύηση","You can not withdraw this amount because it will cause collateral call":"Δεν μπορείτε να αποσύρετε αυτό το ποσό, διότι θα προκληθεί κλήση εγγύησης","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"Μπορείτε να αποσύρετε τα περιουσιακά σας στοιχεία από τη Μονάδα Ασφαλείας μόνο αφού λήξει η περίοδος αναμονής και το παράθυρο ξεκλειδώματος είναι ενεργό.","You can report incident to our <0>Discord or <1>Github.":"Μπορείτε να αναφέρετε το περιστατικό στο <0>Discord ή στο <1>Github.","You cancelled the transaction.":"Ακυρώσατε τη συναλλαγή.","You did not participate in this proposal":"Δεν συμμετείχατε στην παρούσα πρόταση","You do not have supplies in this currency":"Δεν έχετε προμήθειες σε αυτό το νόμισμα","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"Δεν έχετε αρκετά χρήματα στο πορτοφόλι σας για να αποπληρώσετε ολόκληρο το ποσό. Εάν προχωρήσετε στην αποπληρωμή με το τρέχον ποσό των χρημάτων σας, θα εξακολουθείτε να έχετε μια μικρή θέση δανεισμού στο ταμπλό σας.","You have not borrow yet using this currency":"Δεν έχετε δανειστεί ακόμα χρησιμοποιώντας αυτό το νόμισμα","You switched to {0} rate":["Αλλάξατε σε ποσοστό ",["0"]],"You unstake here":"Μπορείτε να ξεκλειδώσετε εδώ","You voted {0}":["Ψηφίσατε ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"Θα βγείτε από τη λειτουργία απομόνωσης και άλλα tokens μπορούν πλέον να χρησιμοποιηθούν ως εγγύηση","You {action} <0/> {symbol}":["Εσείς ",["action"]," <0/> ",["symbol"]],"Your borrows":"Τα δάνεια σας","Your current loan to value based on your collateral supplied.":"Το τρέχον δάνειο προς αξία με βάση τις παρεχόμενες εξασφαλίσεις σας.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Ο συντελεστής υγείας και το δάνειο προς αξία καθορίζουν τη διασφάλιση των εξασφαλίσεών σας. Για να αποφύγετε τις ρευστοποιήσεις μπορείτε να παράσχετε περισσότερες εξασφαλίσεις ή να εξοφλήσετε δανειακές θέσεις.","Your info":"Οι πληροφορίες σας","Your reward balance is 0":"Το υπόλοιπο της ανταμοιβής σας είναι 0","Your supplies":"Οι προμήθειές σας","Your voting info":"Οι πληροφορίες ψήφου σας","Your {networkName} wallet is empty. Get free test assets at":["Your ",["networkName"]," wallet is empty. Get free test assets at"],"Your {networkName} wallet is empty. Get free test {0} at":["Your ",["networkName"]," wallet is empty. Get free test ",["0"]," at"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Το πορτοφόλι σας ",["networkName"]," είναι άδειο. Αγοράστε ή μεταφέρετε περιουσιακά στοιχεία"],"Zero address not valid":"Η μηδενική διεύθυνση δεν είναι έγκυρη","assets":"περιουσιακά στοιχεία","blocked activities":"blocked activities","copy the error":"αντιγράψτε το σφάλμα","documentation":"τεκμηρίωση","ends":"τελειώνει","here.":"εδώ.","is an asset affected by rebasing. Visit the":"είναι ένα περιουσιακό στοιχείο που επηρεάζεται από την αναπροσαρμογή. Επισκεφθείτε το","of":"of","on":"ενεργοποίηση","or":"ή","or use <0>{0} to transfer your ETH assets.":["ή χρησιμοποιήστε <0>",["0"]," για να μεταφέρετε τα περιουσιακά σας στοιχεία ETH."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"παρακαλούμε ελέγξτε ότι το ποσό που θέλετε να παρέχετε δεν χρησιμοποιείται επί του παρόντος για κλείδωμα. Εάν χρησιμοποιείται για κλείδωμα, η συναλλαγή σας ενδέχεται να αποτύχει.","repaid":"repaid","staking view":"προβολή κλειδώματος","to learn more.":"για να μάθετε περισσότερα.","tokens is not the same as staking them. If you wish to stake your":"tokens δεν είναι το ίδιο με το να τα κλειδώνετε. Εάν επιθυμείτε να κλειδώσετε τα","tokens, please go to the":"tokens, παρακαλούμε μεταβείτε στο","withdrew":"withdrew","{0}":[["0"]],"{0} Balance":[["0"]," Υπόλοιπο"],"{0} Faucet":[["0"]," Βρύση"],"{0} is frozen due to an Aave community decision. <0>More details":[["0"]," is frozen due to an Aave community decision. <0>More details"],"{d}d":[["d"],"η"],"{h}h":[["h"],"ω"],"{m}m":[["m"],"λ"],"{networkName} Faucet":[["networkName"]," Faucet"],"{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details":[["symbol"]," is frozen due to an Aave Protocol Governance decision. <0>More details"],"{s}s":[["s"],"δ"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file +/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"Το<0>Ampleforth είναι ένα περιουσιακό στοιχείο που επηρεάζεται από την αναπροσαρμογή. Επισκεφθείτε την <1>τεκμηρίωση ή τις <2>Συχνές Ερωτήσεις του Ampleforth για να μάθετε περισσότερα.","<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.":"<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"Οι κάτοχοι AAVE μπορούν να κλειδώσουν το AAVE τους στην Μονάδα Ασφάλειας για να προσθέσουν περισσότερη ασφάλεια στο πρωτόκολλο και να κερδίσουν κίνητρα ασφάλειας. Σε περίπτωση εκδήλωσης ελλείμματος, έως και το 30% του κλειδώματος σας μπορεί να μειωθεί για να καλυφθεί το έλλειμμα, παρέχοντας ένα επιπλέον επίπεδο προστασίας για το πρωτόκολλο.","ACTIVATE COOLDOWN":"ΕΝΕΡΓΟΠΟΙΗΣΗ ΨΥΞΗΣ","APR":"APR","APY":"APY","APY type":"Τύπος APY","APY, stable":"APY, σταθερό","APY, variable":"APY, μεταβλητό","AToken supply is not zero":"Η προσφορά AToken δεν είναι μηδενική","Aave Governance":"Διακυβέρνηση Aave","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Το Aave είναι ένα πλήρως αποκεντρωμένο πρωτόκολλο, το οποίο ελέγχεται από την κοινότητα των κατόχων του token του AAVE. Οι κάτοχοι των token του AAVE συζητούν, προτείνουν και ψηφίζουν συλλογικά για τις αναβαθμίσεις του πρωτοκόλλου. Οι κάτοχοι των token του AAVE μπορούν είτε να ψηφίσουν οι ίδιοι για νέες προτάσεις είτε να μεταβιβαστούν σε μια διεύθυνση της επιλογής τους. Για να μάθετε περισσότερα δείτε την τεκμηρίωση Διακυβέρνησης","Aave per month":"Aave ανά μήνα","Account":"Λογαριασμός","Action cannot be performed because the reserve is frozen":"Η ενέργεια δεν μπορεί να εκτελεστεί επειδή το αποθεματικό έχει παγώσει","Action cannot be performed because the reserve is paused":"Η ενέργεια δεν μπορεί να εκτελεστεί επειδή η εφεδρεία βρίσκεται σε παύση","Action requires an active reserve":"Η δράση απαιτεί ενεργό απόθεμα","Add to wallet":"Add to wallet","Add {0} to wallet to track your balance.":["Add ",["0"]," to wallet to track your balance."],"Address is not a contract":"Η διεύθυνση δεν είναι συμβόλαιο","All Assets":"All Assets","All done!":"Όλα έτοιμα!","All proposals":"Όλες οι προτάσεις","Allowance required action":"Απαιτούμενη δράση επιδότησης","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Σας επιτρέπει να αποφασίσετε αν θα χρησιμοποιήσετε ένα παρεχόμενο περιουσιακό στοιχείο ως εγγύηση. Ένα περιουσιακό στοιχείο που χρησιμοποιείται ως εγγύηση θα επηρεάσει τη δανειοληπτική σας ικανότητα και τον συντελεστή υγείας.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Σας επιτρέπει την εναλλαγή μεταξύ <0>μεταβλητού και <1>σταθερού επιτοκίου, όπου το μεταβλητό επιτόκιο μπορεί να αυξάνεται και να μειώνεται ανάλογα με την ποσότητα ρευστότητας στο αποθεματικό, ενώ το σταθερό επιτόκιο θα παραμείνει το ίδιο για τη διάρκεια του δανείου σας.","Already on cooldown":"Ήδη σε ψύξη","Amount":"Ποσό","Amount must be greater than 0":"Το ποσό πρέπει να είναι μεγαλύτερο από 0","Ampleforth FAQ":"Συχνές ερωτήσεις του Ampleforth","Approval":"Έγκριση","Approve confirmed":"Η έγκριση επιβεβαιώθηκε","Approve to continue":"Εγκρίνετε για να συνεχίσετε","Approved":"Εγκρίθηκε","Approving {symbol}...":["Έγκριση του ",["symbol"],"..."],"Array parameters that should be equal length are not":"Οι παράμετροι της συστοιχίας που θα έπρεπε να είναι ίσου μήκους δεν είναι","Asset":"Περιουσιακό στοιχείο","Asset can only be used as collateral in isolation mode only.":"To περιουσιακό στοιχείο μπορεί να χρησιμοποιηθεί ως εγγύηση μόνο σε λειτουργία απομόνωσης.","Asset cannot be used as collateral.":"Το περιουσιακό στοιχείο δεν μπορεί να χρησιμοποιηθεί ως εγγύηση.","Asset category":"Κατηγορία περιουσιακών στοιχείων","Asset is not borrowable in isolation mode":"Το περιουσιακό στοιχείο δεν είναι δανείσιμο σε λειτουργία απομόνωσης","Asset is not listed":"Το περιουσιακό στοιχείο δεν περιλαμβάνεται στον κατάλογο","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.","Asset to delegate":"Περιουσιακό στοιχείο προς εκχώρηση","Assets":"Περιουσιακά Στοιχεία","Assets to borrow":"Περιουσιακά στοιχεία προς δανεισμό","Assets to supply":"Περιουσιακά στοιχεία προς προμήθεια","Author":"Συγγραφέας","Available":"Διαθέσιμο","Available assets":"Διαθέσιμα περιουσιακά στοιχεία","Available liquidity":"Διαθέσιμη ρευστότητα","Available rewards":"Διαθέσιμες ανταμοιβές","Available to borrow":"Διαθέσιμο για δανεισμό","Available to supply":"Διαθέσιμο για προμήθεια","Back to Dashboard":"Back to Dashboard","Balance":"Υπόλοιπο","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Προσοχή - Είστε πολύ κοντά στην ρευστοποίηση. Εξετάστε το ενδεχόμενο να καταθέσετε περισσότερες εγγυήσεις ή να εξοφλήσετε κάποιες από τις δανειακές σας θέσεις","Before supplying":"Πριν από την προμήθεια","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ","Blocked Address":"Blocked Address","Borrow":"Δανεισμός","Borrow APY rate":"Επιτόκιο δανεισμού APY","Borrow APY, stable":"Δανεισμός APY, σταθερό","Borrow APY, variable":"Δανεισμός APY, μεταβλητό","Borrow and repay in same block is not allowed":"Δεν επιτρέπεται ο δανεισμός και η αποπληρωμή στο ίδιο block","Borrow cap":"Ανώτατο όριο δανεισμού","Borrow cap is exceeded":"Υπέρβαση του ανώτατου ορίου δανεισμού","Borrow power used":"Δανεισμός χρησιμοποιημένης ισχύος","Borrow {symbol}":["Δανεισμός ",["symbol"]],"Borrowed":"Borrowed","Borrowing is currently unavailable for {0}.":["Ο δανεισμός δεν είναι επί του παρόντος διαθέσιμος για ",["0"],"."],"Borrowing is not enabled":"Ο δανεισμός δεν είναι ενεργοποιημένος","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"Ο δανεισμός δεν είναι διαθέσιμος επειδή έχετε ενεργοποιήσει τη Λειτουργία Αποδοτικότητας (E-Mode) και τη λειτουργία Απομόνωσης. Για να διαχειριστείτε τη λειτουργία E-Mode και τη λειτουργία Απομόνωσης, επισκεφθείτε τον <0>Πίνακα ελέγχου.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["Ο δανεισμός δεν είναι διαθέσιμος επειδή έχετε ενεργοποιήσει τη λειτουργία Αποδοτικότητας (E-Mode) για την κατηγορία ",["0"],". Για να διαχειριστείτε τις κατηγορίες E-Mode επισκεφθείτε τον <0>Πίνακα ελέγχου."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.","Borrowing power and assets are limited due to Isolation mode.":"Η δύναμη δανεισμού και τα περιουσιακά στοιχεία είναι περιορισμένα λόγω της λειτουργίας απομόνωσης.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Borrowing this amount will reduce your health factor and increase risk of liquidation.","Borrowing {symbol}":["Δανεισμός ",["symbol"]],"CLAIM {symbol}":["ΔΙΕΚΔΙΚΗΣΗ ",["symbol"]],"CLAIMING {symbol}":["ΔΙΕΚΔΙΚΗΣΗ ",["symbol"]],"Can be collateral":"Μπορεί να αποτελέσει εγγύηση","Can be executed":"Μπορεί να εκτελεστεί","Cannot disable E-Mode":"Cannot disable E-Mode","Cap reached. Lower supply amount":"Το ανώτατο όριο έχει επιτευχθεί. Χαμηλότερη ποσότητα προσφοράς","Claim":"Διεκδίκηση","Claim AAVE":"Διεκδίκηση AAVE","Claim all":"Διεκδικήστε τα όλα","Claim all rewards":"Διεκδικήστε όλες τις ανταμοιβές","Claim {0}":["Διεκδίκηση ",["0"]],"Claimable AAVE":"Διεκδικήσιμο AAVE","Claimed":"Claimed","Claiming":"Διεκδίκηση","Close":"Κλείσιμο","Collateral":"Εγγύηση","Collateral amount to repay with":"Ποσό εγγύησης προς αποπληρωμή με","Collateral is (mostly) the same currency that is being borrowed":"Η εγγύηση είναι (ως επί το πλείστον) το ίδιο νόμισμα που δανείζεται","Collateral usage":"Χρησιμοποίηση εγγυήσεων","Collateral usage is limited because of Isolation mode.":"H χρήση εγγυήσεων είναι περιορισμένη λόγω της λειτουργίας Απομόνωσης.","Collateral usage is limited because of isolation mode. <0>Learn More":"Η χρήση εγγύησης είναι περιορισμένη λόγω της λειτουργίας απομόνωσης. <0>Μάθετε περισσότερα","Collateralization":"Εξασφάλιση","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Συνδέστε το πορτοφόλι","Cooldown period":"Περίοδος ψύξης","Cooldown period warning":"Προειδοποίηση περιόδου ψύξης","Cooldown time left":"Χρόνος ψύξης που έχει απομείνει","Cooldown to unstake":"Ψύξτε για ξεκλείδωμα","Cooling down...":"Ψύξη...","Copy address":"Αντιγραφή διεύθυνσης","Copy error message":"Copy error message","Copy error text":"Κείμενο σφάλματος αντιγραφής","Created":"Δημιουργήθηκε","Current LTV":"Τρέχον LTV","Current differential":"Τρέχον διαφορικό","Current votes":"Τρέχουσες ψήφοι","Dark mode":"Σκοτεινή λειτουργία","Dashboard":"Ταμπλό","Data couldn't be fetched, please reload graph.":"Data couldn't be fetched, please reload graph.","Debt":"Χρέος","Debt amount to repay":"Ποσό χρέους προς αποπληρωμή","Debt ceiling is exceeded":"Υπέρβαση του ανώτατου ορίου χρέους","Debt ceiling is not zero":"Το ανώτατο όριο χρέους δεν είναι μηδενικό","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Ορίστε Επανάληψη με κείμενο έγκρισης","Delegate":"Εκπρόσωπος","Delegating":"Ανάθεση αρμοδιοτήτων","Delegation":"Delegation","Details":"Λεπτομέρειες","Developers":"Προγραμματιστές","Differential":"Διαφορικό","Disable E-Mode":"Απενεργοποίηση E-Mode","Disable testnet":"Disable testnet","Disable {symbol} as collateral":["Απενεργοποίηση ",["symbol"]," ως εγγύηση"],"Disabled":"Απενεργοποιημένο","Disabling E-Mode":"Απενεργοποίηση E-Mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"Η απενεργοποίηση αυτού του περιουσιακού στοιχείου ως εγγύηση επηρεάζει τη δανειοληπτική σας ικανότητα και τον Συντελεστή Υγείας.","Disconnect Wallet":"Αποσυνδέστε το πορτοφόλι","Discord":"Discord","Discord channel":"Discord channel","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.":"Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.","E-Mode":"E-Mode","E-Mode Category":"Κατηγορία E-Mode","E-Mode category":"E-Mode category","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"Το E-Mode αυξάνει το LTV σας για μια επιλεγμένη κατηγορία περιουσιακών στοιχείων έως και 97%. <0>Μάθετε περισσότερα","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"Το E-Mode αυξάνει το LTV σας για μια επιλεγμένη κατηγορία περιουσιακών στοιχείων έως και <0/>. <1>Μάθετε περισσότερα","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"Η λειτουργία E-Mode αυξάνει το LTV σας για μια επιλεγμένη κατηγορία περιουσιακών στοιχείων, πράγμα που σημαίνει ότι όταν είναι ενεργοποιημένη η λειτουργία E-Mode, θα έχετε μεγαλύτερη δανειοληπτική ικανότητα για περιουσιακά στοιχεία της ίδιας κατηγορίας E-mode που έχει οριστεί από την Διακυβέρνηση του Aave. Μπορείτε να εισέλθετε στην κατάσταση E-Mode από τον <0>Πίνακα Ελέγχου. Για να μάθετε περισσότερα σχετικά με το E-Mode και τους εφαρμοζόμενους περιορισμούς στο <1>FAQ ή στο <2>Aave V3 Technical Paper.","Efficiency mode (E-Mode)":"Λειτουργία αποδοτικότητας (E-Mode)","Emode":"Emode","Enable E-Mode":"Ενεργοποίηση E-Mode","Enable {symbol} as collateral":["Ενεργοποίηση ",["symbol"]," ως εγγύηση"],"Enabled":"Ενεργοποιημένο","Enabled in isolation":"Ενεργοποιημένο σε απομόνωση","Enabling E-Mode":"Ενεργοποίηση E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"Η ενεργοποίηση αυτού του περιουσιακού στοιχείου ως εγγύηση αυξάνει τη δανειοληπτική σας ικανότητα και τον Συντελεστή Υγείας. Ωστόσο, μπορεί να ρευστοποιηθεί εάν ο συντελεστής υγείας σας πέσει κάτω από το 1.","English":"Αγγλικά","Enter ETH address":"Εισάγετε διεύθυνση ETH","Enter an amount":"Εισάγετε ένα ποσό","Error connecting. Try refreshing the page.":"Σφάλμα σύνδεσης. Δοκιμάστε να ανανεώσετε τη σελίδα.","Executed":"Εκτελέστηκε","Expires":"Λήγει","FAQ":"ΣΥΧΝΕΣ ΕΡΩΤΗΣΕΙΣ","Faucet":"Βρύση","Faucet {0}":["Βρύση ",["0"]],"Filter":"Φίλτρο","For repayment of a specific type of debt, the user needs to have debt that type":"Για την αποπληρωμή ενός συγκεκριμένου τύπου χρέους, ο χρήστης πρέπει να έχει χρέος αυτού του τύπου","Forum discussion":"Συζήτηση φόρουμ","French":"Γαλλικά","Funds in the Safety Module":"Κεφάλαια στην Μονάδα Ασφάλειας","Get ABP Token":"Get ABP Token","Github":"Github","Global settings":"Γενικές ρυθμίσεις","Go Back":"Πηγαίνετε Πίσω","Go back":"Go back","Go to Balancer Pool":"Go to Balancer Pool","Governance":"Διακυβέρνηση","Greek":"Greek","Health factor":"Συντελεστής υγείας","Health factor is lesser than the liquidation threshold":"Ο συντελεστής υγείας είναι μικρότερος από το όριο ρευστοποίησης","Health factor is not below the threshold":"Ο παράγοντας υγείας δεν είναι κάτω από το όριο","Hide":"Απόκρυψη","I acknowledge the risks involved.":"I acknowledge the risks involved.","I understand how cooldown ({0}) and unstaking ({1}) work":["Καταλαβαίνω πώς λειτουργεί η ψύξη (",["0"],") και το ξεκλείδωμα (",["1"],")"],"If the error continues to happen,<0/> you may report it to this":"If the error continues to happen,<0/> you may report it to this","If the health factor goes below 1, the liquidation of your collateral might be triggered.":"Εάν ο συντελεστής υγείας πέσει κάτω από το 1, ενδέχεται να ενεργοποιηθεί η ρευστοποίηση των εγγυήσεών σας.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["Εάν ΔΕΝ ξεκλειδώσετε εντός ",["0"]," του παραθύρου ξεκλειδώματος, θα πρέπει να ενεργοποιήσετε ξανά τη διαδικασία ψύξης."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"Εάν το δάνειο προς αξία υπερβεί το όριο ρευστοποίησης, η παρεχόμενη εγγύηση σας μπορεί να ρευστοποιηθεί.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"Στο E-Mode ορισμένα περιουσιακά στοιχεία δεν είναι δανείσιμα. Βγείτε από το E-Mode για να αποκτήσετε πρόσβαση σε όλα τα περιουσιακά στοιχεία","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable ",["0"]," as collateral before borrowing another asset. Read more in our <0>FAQ"],"Inconsistent flashloan parameters":"Ασυνεπείς παράμετροι flashloan","Interest rate rebalance conditions were not met":"Δεν τηρήθηκαν οι όροι επανεξισορρόπησης των επιτοκίων","Interest rate strategy":"Interest rate strategy","Invalid amount to burn":"Μη έγκυρη ποσότητα προς καύση","Invalid amount to mint":"Μη έγκυρο ποσό για νομισματοκοπία","Invalid bridge protocol fee":"Μη έγκυρη αμοιβή πρωτοκόλλου γέφυρας","Invalid expiration":"Μη έγκυρη λήξη","Invalid flashloan premium":"Άκυρη πριμοδότηση flashloan","Invalid return value of the flashloan executor function":"Μη έγκυρη τιμή επιστροφής της συνάρτησης εκτελεστή flashloan","Invalid signature":"Μη έγκυρη υπογραφή","Isolated":"Απομονωμένο","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Τα απομονωμένα περιουσιακά στοιχεία έχουν περιορισμένη δανειοληπτική ικανότητα και άλλα περιουσιακά στοιχεία δεν μπορούν να χρησιμοποιηθούν ως εγγύηση.","Join the community discussion":"Join the community discussion","Language":"Γλώσσα","Learn more":"Μάθετε περισσότερα","Learn more about risks involved":"Μάθετε περισσότερα για τους κινδύνους","Learn more in our <0>FAQ guide":"Μάθετε περισσότερα στον οδηγό <0>Συχνών Ερωτήσεων","Links":"Σύνδεσμοι","Liquidation <0/> threshold":"Ρευστοποίηση <0/> κατώτατο όριο","Liquidation at":"Ρευστοποίηση στο","Liquidation penalty":"Ποινή ρευστοποίησης","Liquidation risk":"Liquidation risk","Liquidation risk parameters":"Liquidation risk parameters","Liquidation threshold":"Κατώτατο όριο ρευστοποίησης","Liquidation value":"Αξία ρευστοποίησης","Loading data...":"Loading data...","Ltv validation failed":"Η επικύρωση του Ltv απέτυχε","MAX":"ΜΕΓΙΣΤΟ","Market":"Αγορά","Markets":"Αγορές","Max":"Μεγιστο","Max LTV":"Μέγιστο LTV","Max slashing":"Μέγιστη περικοπή","Max slippage rate":"Μέγιστο ποσοστό ολίσθησης","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["Maximum amount available to borrow against this asset is limited because debt ceiling is at ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.","Maximum amount available to supply is <0/> {0} (<1/>).":["Maximum amount available to supply is <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["Maximum amount available to supply is limited because protocol supply cap is at ",["0"],"%."],"Maximum loan to value":"Maximum loan to value","Menu":"Μενού","Minimum received":"Ελάχιστο λαμβανόμενο","More":"Περισσότερα","NAY":"ΚΑΤΑ","Need help connecting a wallet? <0>Read our FAQ":"Χρειάζεστε βοήθεια για τη σύνδεση ενός πορτοφολιού; <0>Διαβάστε τις Συχνές Ερωτήσεις μας","Net APR":"Καθαρό APR","Net APY":"Καθαρό APY","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"Το καθαρό ΑΡΥ είναι η συνδυασμένη επίδραση όλων των θέσεων προσφοράς και δανεισμού στην καθαρή αξία, συμπεριλαμβανομένων των κινήτρων. Είναι δυνατόν να υπάρχει αρνητικό καθαρό APY εάν το χρεωστικό APY είναι υψηλότερο από το προσφερόμενο APY.","Net worth":"Καθαρή αξία","Network":"Δίκτυο","Network not supported for this wallet":"Δίκτυο που δεν υποστηρίζεται για αυτό το πορτοφόλι","New APY":"Νέο APY","No rewards to claim":"Δεν υπάρχουν ανταμοιβές για διεκδίκηση","No voting power":"Δεν υπάρχει δικαίωμα ψήφου","None":"Κανένα","Not a valid address":"Μη έγκυρη διεύθυνση","Not enough balance on your wallet":"Δεν υπάρχει αρκετό υπόλοιπο στο πορτοφόλι σας","Not enough collateral to repay this amount of debt with":"Δεν υπάρχουν επαρκείς εγγυήσεις για την αποπληρωμή αυτού του ποσού χρέους με","Not enough staked balance":"Δεν υπάρχει αρκετό κλειδωμένο υπόλοιπο","Not enough voting power to participate in this proposal":"Δεν έχει αρκετή δύναμη ψήφου για να συμμετάσχει στην παρούσα πρόταση","Not reached":"Δεν έχει επιτευχθεί","Nothing borrowed yet":"Τίποτα δανεισμένο ακόμα","Nothing staked":"Τίποτα κλειδωμένο","Nothing supplied yet":"Τίποτα δεν έχει παρασχεθεί ακόμη","Notify":"Notify","Ok, Close":"Εντάξει, Κλείσιμο","Ok, I got it":"Εντάξει, το κατάλαβα","Operation not supported":"Η λειτουργία δεν υποστηρίζεται","Oracle price":"Τιμή Oracle","Overview":"Επισκόπηση","Page not found":"Page not found","Participating in this {symbol} reserve gives annualized rewards.":["Η συμμετοχή σε αυτό το αποθεματικό ",["symbol"]," δίνει ετήσιες ανταμοιβές."],"Pending...":"Εκκρεμεί...","Per the community, the Fantom market has been frozen.":"Per the community, the Fantom market has been frozen.","Please connect a wallet to view your personal information here.":"Παρακαλούμε συνδέστε ένα πορτοφόλι για να δείτε τις προσωπικές σας πληροφορίες εδώ.","Please connect your wallet to get free testnet assets.":"Please connect your wallet to get free testnet assets.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Συνδέστε το πορτοφόλι σας για να δείτε τις προμήθειες, τα δάνεια και τις ανοιχτές θέσεις σας.","Please switch to {networkName}.":["Παρακαλώ μεταβείτε στο ",["networkName"],"."],"Please, connect your wallet":"Παρακαλώ, συνδέστε το πορτοφόλι σας","Pool addresses provider is not registered":"Ο πάροχος διευθύνσεων κοινόχρηστων ταμείων δεν είναι εγγεγραμμένος","Price impact":"Επίδραση στην τιμή","Proposal details":"Λεπτομέρειες πρότασης","Proposal overview":"Επισκόπηση πρότασης","Proposals":"Προτάσεις","Proposition power":"Ισχύς πρότασης","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap at 100% for this asset. Further borrowing unavailable.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"Protocol supply cap at 100% for this asset. Further supply unavailable.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"Protocol supply cap is at 100% for this asset. Further supply unavailable.","Quorum":"Απαρτία","Raw-Ipfs":"Raw-Ipfs","Reached":"Επιτεύχθηκε","Received":"Received","Recipient address":"Διεύθυνση παραλήπτη","Rejected connection request":"Απόρριψη αιτήματος σύνδεσης","Reload":"Reload","Reload the page":"Reload the page","Remaining debt":"Υπολειπόμενο χρέος","Remaining supply":"Υπολειπόμενη προσφορά","Repay":"Αποπληρωμή","Repay with":"Αποπληρωμή με","Repay {symbol}":["Αποπληρωμή ",["symbol"]],"Repaying {symbol}":["Αποπληρώνοντας ",["symbol"]],"Reserve Size":"Μέγεθος Αποθεματικού","Reserve factor":"Reserve factor","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["Reserve factor is a percentage of interest which goes to a ",["0"]," that is controlled by Aave governance to promote ecosystem growth."],"Reserve status & configuration":"Κατάσταση & διαμόρφωση αποθεματικού","Retry What?":"Επαναλάβετε Τι;","Retry with Approval":"Επανάληψη με Έγκριση","Retry with approval":"Επανάληψη με έγκριση","Review approval tx details":"Αναθεώρηση λεπτομερειών έγκρισης συναλλαγής","Review tx":"Αναθεώρηση συναλλαγής","Review tx details":"Αναθεώρηση λεπτομερειών συναλλαγής","Reward(s) to claim":"Ανταμοιβή(ες) προς διεκδίκηση","Rewards APR":"Ανταμοιβές APR","Risk details":"Λεπτομέρειες κινδύνου","SEE CHARTS":"ΔΕΙΤΕ ΓΡΑΦΗΜΑΤΑ","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Ασφάλεια των κατατεθειμένων εξασφαλίσεών σας έναντι των δανειζόμενων περιουσιακών στοιχείων και της υποκείμενης αξίας τους.","Seatbelt report":"Seatbelt report","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"Φαίνεται ότι δεν μπορούμε να αλλάξουμε το δίκτυο αυτόματα. Ελέγξτε αν μπορείτε να το αλλάξετε από το πορτοφόλι.","Select":"Select","Select APY type to switch":"Επιλέξτε τύπο APY για εναλλαγή","Select language":"Επιλέξτε γλώσσα","Select token to add":"Select token to add","Select token to view in block explorer":"Select token to view in block explorer","Setup notifications about your Health Factor using the Hal app.":"Setup notifications about your Health Factor using the Hal app.","Share on twitter":"Μοιραστείτε το στο twitter","Show":"Εμφάνιση","Show assets with 0 balance":"Εμφάνιση περιουσιακών στοιχείων με υπόλοιπο 0","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Δεδομένου ότι πρόκειται για ένα δοκιμαστικό δίκτυο, μπορείτε να αποκτήσετε οποιοδήποτε από τα περιουσιακά στοιχεία αν έχετε ETH στο πορτοφόλι σας","Something went wrong":"Something went wrong","Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.":"Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.","Sorry, we couldn't find the page you were looking for.":"Sorry, we couldn't find the page you were looking for.","Spanish":"Ισπανικά","Stable":"Σταθερό","Stable Interest Type is disabled for this currency":"Ο Τύπος Σταθερού Επιτοκίου είναι απενεργοποιημένος για αυτό το νόμισμα","Stable borrowing is enabled":"Ο σταθερός δανεισμός είναι ενεργοποιημένος","Stable borrowing is not enabled":"Ο σταθερός δανεισμός δεν είναι ενεργοποιημένος","Stable debt supply is not zero":"Η σταθερή προσφορά χρέους δεν είναι μηδενική","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"Το σταθερό επιτόκιο θα <0>μείνει το ίδιο για όλη τη διάρκεια του δανείου σας. Συνιστάται για μακροχρόνιες περιόδους δανεισμού και για χρήστες που προτιμούν την προβλεψιμότητα.","Stablecoin":"Σταθερό νόμισμα","Stake":"Κλειδώστε","Stake AAVE":"Stake AAVE","Stake ABPT":"Stake ABPT","Stake cooldown activated":"Stake cooldown activated","Staked":"Κλειδωμένο","Staking":"Κλείδωμα","Staking APR":"Κλείδωμα APR","Started":"Ξεκίνησε","State":"Κατάσταση","Supplied":"Supplied","Supply":"Προσφορά","Supply APY":"Προσφορά APY","Supply apy":"Προσφορά apy","Supply balance":"Υπόλοιπο προσφοράς","Supply cap is exceeded":"Υπέρβαση του ανώτατου ορίου προσφοράς","Supply cap on target reserve reached. Try lowering the amount.":"Επίτευξη του ανώτατου ορίου εφοδιασμού στο αποθεματικό-στόχο. Δοκιμάστε να \nμειώσετε την ποσότητα.","Supply {symbol}":["Προσφορά ",["symbol"]],"Supplying your":"Προμηθεύοντας το","Supplying {symbol}":["Παροχή ",["symbol"]],"Swap":"Ανταλλαγή","Swapped":"Swapped","Swapping":"Ανταλλαγή","Switch APY type":"Αλλαγή τύπου APY","Switch E-Mode":"Switch E-Mode","Switch E-Mode category":"Switch E-Mode category","Switch Network":"Αλλαγή Δικτύου","Switch rate":"Αλλαγή ποσοστού","Switching E-Mode":"Switching E-Mode","Switching rate":"Αλλαγή ποσοστού","Test Assets":"Test Assets","Testnet mode":"Λειτουργία Testnet","Testnet mode is ON":"Testnet mode is ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"Το % της συνολικής δανειοληπτικής σας δύναμης που χρησιμοποιείται. Αυτό βασίζεται στο ποσό της παρεχόμενης εξασφάλισής σας και στο συνολικό ποσό που μπορείτε να δανειστείτε.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"Ο δείκτης μέγιστου LTV αντιπροσωπεύει τη μέγιστη δανειοληπτική ικανότητα μιας συγκεκριμένης εγγύησης. Για παράδειγμα, εάν μια εγγύηση έχει LTV 75%, ο χρήστης μπορεί να δανειστεί έως και 0,75 ETH στο κύριο νόμισμα για κάθε 1 ETH αξίας εγγύησης.","The Stable Rate is not enabled for this currency":"Η Σταθερή Ισοτιμία δεν είναι ενεργοποιημένη για αυτό το νόμισμα","The address of the pool addresses provider is invalid":"Η διεύθυνση του παρόχου διευθύνσεων κοινόχρηστου ταμείου είναι άκυρη","The app is running in testnet mode. Learn how it works in":"The app is running in testnet mode. Learn how it works in","The caller of the function is not an AToken":"Ο καλών της συνάρτησης δεν είναι AToken","The caller of this function must be a pool":"Ο καλών αυτής της συνάρτησης πρέπει να είναι ένα κοινόχρηστο ταμείο","The collateral balance is 0":"Το υπόλοιπο των εγγυήσεων είναι 0","The collateral chosen cannot be liquidated":"Η εγγύηση που έχει επιλεγεί δεν μπορεί να ρευστοποιηθεί","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"Η περίοδος ψύξης είναι ο χρόνος που απαιτείται πριν από την αποδέσμευση των token σας (10 ημέρες). Μπορείτε να αποσύρετε τα περιουσιακά σας στοιχεία από τη μονάδα ασφαλείας μόνο μετά την περίοδο αναστολής και εντός του ενεργού παραθύρου ξεκλειδώματος.<0>Μάθετε περισσότερα","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["Η περίοδος ψύξης είναι ",["0"],". Μετά την ",["1"]," περίοδο ψύξης, θα εισέλθετε στο παράθυρο ξεκλειδώματος ",["2"],". Θα συνεχίσετε να λαμβάνετε ανταμοιβές κατά τη διάρκεια της ψύξης και του παραθύρου ξεκλειδώματος."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"Οι επιπτώσεις στον συντελεστή υγείας θα προκαλούσαν ρευστοποίηση. Προσπαθήστε να μειώσετε το ποσό.","The requested amount is greater than the max loan size in stable rate mode":"Το αιτούμενο ποσό είναι μεγαλύτερο από το μέγιστο μέγεθος δανείου στη λειτουργία σταθερού επιτοκίου","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"Το συνολικό ποσό των περιουσιακών σας στοιχείων σε δολάρια ΗΠΑ που μπορούν να χρησιμοποιηθούν ως εγγύηση για δανεισμό περιουσιακών στοιχείων.","The underlying asset cannot be rescued":"Το υποκείμενο περιουσιακό στοιχείο δεν μπορεί να διασωθεί","The underlying balance needs to be greater than 0":"Το υποκείμενο υπόλοιπο πρέπει να είναι μεγαλύτερο από 0","The weighted average of APY for all borrowed assets, including incentives.":"Ο σταθμισμένος μέσος όρος του APY για όλα τα δανειακά περιουσιακά στοιχεία, συμπεριλαμβανομένων των κινήτρων.","The weighted average of APY for all supplied assets, including incentives.":"Ο σταθμισμένος μέσος όρος του APY για όλα τα παρεχόμενα περιουσιακά στοιχεία, συμπεριλαμβανομένων των κινήτρων.","There are not enough funds in the{0}reserve to borrow":["Δεν υπάρχουν αρκετά κεφάλαια στο",["0"],"αποθεματικό για δανεισμό"],"There is not enough collateral to cover a new borrow":"Δεν υπάρχουν επαρκείς εξασφαλίσεις για την κάλυψη ενός νέου δανείου","There was some error. Please try changing the parameters or <0><1>copy the error":"Υπήρξε κάποιο σφάλμα. Προσπαθήστε να αλλάξετε τις παραμέτρους ή <0><1>αντιγράψτε το σφάλμα","These funds have been borrowed and are not available for withdrawal at this time.":"Τα κεφάλαια αυτά έχουν δανειστεί και δεν είναι διαθέσιμα για ανάληψη αυτή τη στιγμή.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.","This address is blocked on app.aave.com because it is associated with one or more":"This address is blocked on app.aave.com because it is associated with one or more","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["Αυτό το περιουσιακό στοιχείο έχει σχεδόν φτάσει στο όριο δανεισμού του. Υπάρχει μόνο ",["messageValue"]," διαθέσιμο για δανεισμό από αυτή την αγορά."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["Αυτό το περιουσιακό στοιχείο έχει σχεδόν φτάσει στο όριο της προσφοράς του. Μόνο ",["messageValue"]," μπορεί να παρασχεθεί σε αυτή την αγορά."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"Αυτό το περιουσιακό στοιχείο έχει φθάσει στο ανώτατο όριο δανεισμού του. Τίποτα δεν είναι διαθέσιμο για δανεισμό από αυτή την αγορά.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"Αυτό το περιουσιακό στοιχείο έχει φτάσει στο όριο της προσφοράς του. Τίποτα δεν είναι διαθέσιμο για προμήθεια από αυτή την αγορά.","This asset is frozen due to an Aave Protocol Governance decision. <0>More details":"This asset is frozen due to an Aave Protocol Governance decision. <0>More details","This asset is frozen due to an Aave community decision. <0>More details":"This asset is frozen due to an Aave community decision. <0>More details","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"Αυτός ο υπολογισμός gas είναι μόνο μια εκτίμηση. Το πορτοφόλι σας θα καθορίσει την τιμή της συναλλαγής. Μπορείτε να τροποποιήσετε τις ρυθμίσεις gas απευθείας από τον πάροχο του πορτοφολιού σας.","This integration was<0>proposed and approvedby the community.":"This integration was<0>proposed and approvedby the community.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"Αυτό είναι το συνολικό ποσό που μπορείτε να δανειστείτε. Μπορείτε να δανειστείτε με βάση την εξασφάλισή σας και μέχρι να επιτευχθεί το ανώτατο όριο δανεισμού.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"Αυτό είναι το συνολικό ποσό που μπορείτε να προμηθεύσετε σε αυτό το αποθεματικό. Μπορείτε να προμηθεύσετε το υπόλοιπο του πορτοφολιού σας μέχρι να επιτευχθεί το ανώτατο όριο προμηθειών.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"Αυτό αντιπροσωπεύει το κατώτατο όριο στο οποίο μια θέση δανεισμού θα θεωρηθεί υποεγγυημένη και θα υπόκειται σε ρευστοποίηση για κάθε εγγύηση. Για παράδειγμα, εάν μια εγγύηση έχει κατώτατο όριο ρευστοποίησης 80%, αυτό σημαίνει ότι η θέση θα ρευστοποιηθεί όταν η αξία του χρέους ανέρχεται στο 80% της αξίας της εγγύησης.","Time left to be able to withdraw your staked asset.":"Χρόνος που απομένει για να μπορέσετε να αποσύρετε το κλειδωμένο περιουσιακό στοιχείο σας.","Time left to unstake":"Χρόνος που απομένει για το ξεκλείδωμα","Time left until the withdrawal window closes.":"Χρόνος που απομένει μέχρι να κλείσει το παράθυρο ανάληψης.","To borrow you need to supply any asset to be used as collateral.":"Για να δανειστείτε πρέπει να προσκομίσετε οποιοδήποτε περιουσιακό στοιχείο που θα χρησιμοποιηθεί ως εγγύηση.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["To enable E-mode for the ",["0"]," category, all borrow positions outside of this cateogry must be closed."],"To repay on behalf of a user an explicit amount to repay is needed":"Για την εξόφληση εκ μέρους ενός χρήστη απαιτείται ένα ρητό ποσό προς εξόφληση","To request access for this permissioned market, please visit: <0>Acces Provider Name":"Για να ζητήσετε πρόσβαση σε αυτή την αδειοδοτημένη αγορά, επισκεφθείτε την ιστοσελίδα: <0>Όνομα Παρόχου Πρόσβασης","Total available":"Σύνολο διαθέσιμων","Total borrowed":"Σύνολο δανεικών","Total borrows":"Σύνολο δανείων","Total emission per day":"Συνολικές εκπομπές ανά ημέρα","Total market size":"Συνολικό μέγεθος της αγοράς","Total supplied":"Σύνολο παρεχόμενων","Total voting power":"Συνολική δύναμη ψήφου","Total worth":"Συνολική αξία","Transaction failed":"Η συναλλαγή απέτυχε","Transaction overview":"Επισκόπηση συναλλαγής","Type of delegation":"Τύπος ανάθεσης","UNSTAKE {symbol}":["ΞΕΚΛΕΙΔΩΜΑ ",["symbol"]],"UNSTAKING {symbol}":["ΞΕΚΛΕΙΔΩΜΑ ",["symbol"]],"Unavailable":"Μη διαθέσιμο","Unbacked":"Μη υποστηριζόμενο","Unbacked mint cap is exceeded":"Υπέρβαση του ανώτατου ορίου νομισματοκοπείου χωρίς αντίκρισμα","Unstake now":"Ξεκλειδώστε τώρα","Unstake window":"Παράθυρο ξεκλειδώματος","Used as collateral":"Χρησιμοποιείται ως εγγύηση","User cannot withdraw more than the available balance":"Ο χρήστης δεν μπορεί να κάνει ανάληψη μεγαλύτερη από το διαθέσιμο υπόλοιπο","User did not borrow the specified currency":"Ο χρήστης δεν δανείστηκε το καθορισμένο νόμισμα","User does not have outstanding stable rate debt on this reserve":"Ο χρήστης δεν έχει ανεξόφλητο χρέος σταθερού επιτοκίου σε αυτό το αποθεματικό","User does not have outstanding variable rate debt on this reserve":"Ο χρήστης δεν έχει ανεξόφλητο χρέος μεταβλητού επιτοκίου σε αυτό το αποθεματικό","User is in isolation mode":"Ο χρήστης βρίσκεται σε λειτουργία απομόνωσης","User is trying to borrow multiple assets including a siloed one":"Ο χρήστης προσπαθεί να δανειστεί πολλαπλά περιουσιακά στοιχεία, συμπεριλαμβανομένου ενός απομονωμένου περιουσιακού στοιχείου","Utilization Rate":"Ποσοστό χρησιμοποίησης","VOTE NAY":"ΨΗΦΙΣΤΕ ΚΑΤΑ","VOTE YAE":"ΨΗΦΙΣΤΕ ΥΠΕΡ","Variable":"Μεταβλητό","Variable debt supply is not zero":"Η προσφορά μεταβλητού χρέους δεν είναι μηδενική","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.","Version 2":"Version 2","Version 3":"Version 3","View contract":"View contract","View details":"Προβολή λεπτομερειών","View on Explorer":"Προβολή στον Explorer","Vote":"Vote","Vote NAY":"Ψηφίστε ΚΑΤΑ","Vote YAE":"Ψηφίστε ΥΠΕΡ","Voting power":"Δύναμη ψήφου","Voting results":"Αποτελέσματα ψηφοφορίας","Wallet balance":"Υπόλοιπο πορτοφολιού","Wallet not detected. Connect or install wallet and retry":"Το πορτοφόλι δεν εντοπίστηκε. Συνδέστε ή εγκαταστήστε το πορτοφόλι και επαναλάβετε την προσπάθεια","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Τα πορτοφόλια παρέχονται από Εξωτερικούς Παρόχους και επιλέγοντας τα συμφωνείτε με τους Όρους των εν λόγω Παρόχων. Η πρόσβασή σας στο πορτοφόλι ενδέχεται να εξαρτάται από τη λειτουργία του Εξωτερικού Παρόχου.","We couldn’t detect a wallet. Connect a wallet to stake.":"Δεν μπορέσαμε να εντοπίσουμε πορτοφόλι. Συνδέστε ένα πορτοφόλι για να κλειδώσετε.","We suggest you go back to the Dashboard.":"We suggest you go back to the Dashboard.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"Όταν πραγματοποιείται ρευστοποίηση, οι ρευστοποιητές επιστρέφουν έως και το 50% του ανεξόφλητου δανεισμένου ποσού για λογαριασμό του δανειολήπτη. Σε αντάλλαγμα, μπορούν να αγοράσουν τις εξασφαλίσεις με έκπτωση και να κρατήσουν τη διαφορά (ποινή ρευστοποίησης) ως μπόνους.","Why do I need to approve?":"Γιατί πρέπει να εγκρίνω;","With a voting power of <0/>":"Με δύναμη ψήφου <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more","Withdraw":"Ανάληψη","Withdraw {symbol}":["Ανάληψη ",["symbol"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Withdrawing this amount will reduce your health factor and increase risk of liquidation.","Withdrawing {symbol}":["Ανάληψη ",["symbol"]],"Wrong Network":"Λάθος δίκτυο","YAE":"ΥΠΕΡ","You are entering Isolation mode":"Εισέρχεστε σε λειτουργία απομόνωσης","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"Μπορείτε να δανειστείτε αυτό το περιουσιακό στοιχείο με σταθερό επιτόκιο μόνο αν δανειστείτε περισσότερο από το ποσό που παρέχετε ως εγγύηση.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"Δεν μπορείτε να αλλάξετε τον Τύπο Επιτοκίου σε σταθερό, καθώς τα δάνειά σας είναι υψηλότερα από τις εγγυήσεις σας","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"Δεν μπορείτε να απενεργοποιήσετε το E-Mode καθώς το τρέχον επίπεδο εγγύησης είναι πάνω από 80%, η απενεργοποίηση του E-Mode μπορεί να προκαλέσει ρευστοποίηση. Για να βγείτε από το E-Mode, προμήθεια ή αποπληρωμή δανεισμένων θέσεων.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"Δεν μπορείτε να αλλάξετε τη χρήση ως λειτουργία εγγύησης για αυτό το νόμισμα, διότι θα προκαλέσει κλήση εγγύησης","You can not use this currency as collateral":"Δεν μπορείτε να χρησιμοποιήσετε αυτό το νόμισμα ως εγγύηση","You can not withdraw this amount because it will cause collateral call":"Δεν μπορείτε να αποσύρετε αυτό το ποσό, διότι θα προκληθεί κλήση εγγύησης","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"Μπορείτε να αποσύρετε τα περιουσιακά σας στοιχεία από τη Μονάδα Ασφαλείας μόνο αφού λήξει η περίοδος αναμονής και το παράθυρο ξεκλειδώματος είναι ενεργό.","You can report incident to our <0>Discord or <1>Github.":"Μπορείτε να αναφέρετε το περιστατικό στο <0>Discord ή στο <1>Github.","You cancelled the transaction.":"Ακυρώσατε τη συναλλαγή.","You did not participate in this proposal":"Δεν συμμετείχατε στην παρούσα πρόταση","You do not have supplies in this currency":"Δεν έχετε προμήθειες σε αυτό το νόμισμα","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"Δεν έχετε αρκετά χρήματα στο πορτοφόλι σας για να αποπληρώσετε ολόκληρο το ποσό. Εάν προχωρήσετε στην αποπληρωμή με το τρέχον ποσό των χρημάτων σας, θα εξακολουθείτε να έχετε μια μικρή θέση δανεισμού στο ταμπλό σας.","You have not borrow yet using this currency":"Δεν έχετε δανειστεί ακόμα χρησιμοποιώντας αυτό το νόμισμα","You switched to {0} rate":["Αλλάξατε σε ποσοστό ",["0"]],"You unstake here":"Μπορείτε να ξεκλειδώσετε εδώ","You voted {0}":["Ψηφίσατε ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"Θα βγείτε από τη λειτουργία απομόνωσης και άλλα tokens μπορούν πλέον να χρησιμοποιηθούν ως εγγύηση","You {action} <0/> {symbol}":["Εσείς ",["action"]," <0/> ",["symbol"]],"Your borrows":"Τα δάνεια σας","Your current loan to value based on your collateral supplied.":"Το τρέχον δάνειο προς αξία με βάση τις παρεχόμενες εξασφαλίσεις σας.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Ο συντελεστής υγείας και το δάνειο προς αξία καθορίζουν τη διασφάλιση των εξασφαλίσεών σας. Για να αποφύγετε τις ρευστοποιήσεις μπορείτε να παράσχετε περισσότερες εξασφαλίσεις ή να εξοφλήσετε δανειακές θέσεις.","Your info":"Οι πληροφορίες σας","Your reward balance is 0":"Το υπόλοιπο της ανταμοιβής σας είναι 0","Your supplies":"Οι προμήθειές σας","Your voting info":"Οι πληροφορίες ψήφου σας","Your {networkName} wallet is empty. Get free test assets at":["Your ",["networkName"]," wallet is empty. Get free test assets at"],"Your {networkName} wallet is empty. Get free test {0} at":["Your ",["networkName"]," wallet is empty. Get free test ",["0"]," at"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Το πορτοφόλι σας ",["networkName"]," είναι άδειο. Αγοράστε ή μεταφέρετε περιουσιακά στοιχεία"],"Zero address not valid":"Η μηδενική διεύθυνση δεν είναι έγκυρη","assets":"περιουσιακά στοιχεία","blocked activities":"blocked activities","copy the error":"αντιγράψτε το σφάλμα","documentation":"τεκμηρίωση","ends":"τελειώνει","here.":"εδώ.","is an asset affected by rebasing. Visit the":"είναι ένα περιουσιακό στοιχείο που επηρεάζεται από την αναπροσαρμογή. Επισκεφθείτε το","of":"of","on":"ενεργοποίηση","or":"ή","or use <0>{0} to transfer your ETH assets.":["ή χρησιμοποιήστε <0>",["0"]," για να μεταφέρετε τα περιουσιακά σας στοιχεία ETH."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"παρακαλούμε ελέγξτε ότι το ποσό που θέλετε να παρέχετε δεν χρησιμοποιείται επί του παρόντος για κλείδωμα. Εάν χρησιμοποιείται για κλείδωμα, η συναλλαγή σας ενδέχεται να αποτύχει.","repaid":"repaid","staking view":"προβολή κλειδώματος","to learn more.":"για να μάθετε περισσότερα.","tokens is not the same as staking them. If you wish to stake your":"tokens δεν είναι το ίδιο με το να τα κλειδώνετε. Εάν επιθυμείτε να κλειδώσετε τα","tokens, please go to the":"tokens, παρακαλούμε μεταβείτε στο","withdrew":"withdrew","{0}":[["0"]],"{0} Balance":[["0"]," Υπόλοιπο"],"{0} Faucet":[["0"]," Βρύση"],"{d}d":[["d"],"η"],"{h}h":[["h"],"ω"],"{m}m":[["m"],"λ"],"{networkName} Faucet":[["networkName"]," Faucet"],"{s}s":[["s"],"δ"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file diff --git a/src/locales/el/messages.po b/src/locales/el/messages.po index ba3c54fcb8..9e1583da39 100644 --- a/src/locales/el/messages.po +++ b/src/locales/el/messages.po @@ -8,7 +8,7 @@ msgstr "" "Language: el\n" "Project-Id-Version: aave-interface\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-09-14 12:07\n" +"PO-Revision-Date: 2022-09-27 18:08\n" "Last-Translator: \n" "Language-Team: Greek\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -22,6 +22,10 @@ msgstr "" msgid "<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more." msgstr "Το<0>Ampleforth είναι ένα περιουσιακό στοιχείο που επηρεάζεται από την αναπροσαρμογή. Επισκεφθείτε την <1>τεκμηρίωση ή τις <2>Συχνές Ερωτήσεις του Ampleforth για να μάθετε περισσότερα." +#: src/components/transactions/Borrow/BorrowModalContent.tsx +msgid "<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates." +msgstr "" + #: src/modules/staking/StakingHeader.tsx msgid "AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol." msgstr "Οι κάτοχοι AAVE μπορούν να κλειδώσουν το AAVE τους στην Μονάδα Ασφάλειας για να προσθέσουν περισσότερη ασφάλεια στο πρωτόκολλο και να κερδίσουν κίνητρα ασφάλειας. Σε περίπτωση εκδήλωσης ελλείμματος, έως και το 30% του κλειδώματος σας μπορεί να μειωθεί για να καλυφθεί το έλλειμμα, παρέχοντας ένα επιπλέον επίπεδο προστασίας για το πρωτόκολλο." @@ -176,11 +180,6 @@ msgstr "Έγκριση του {symbol}..." msgid "Array parameters that should be equal length are not" msgstr "Οι παράμετροι της συστοιχίας που θα έπρεπε να είναι ίσου μήκους δεν είναι" -#: src/components/transactions/Warnings/ETHBorrowWarning.tsx -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more." -msgstr "" - #: src/modules/faucet/FaucetAssetsList.tsx #: src/modules/markets/AssetsList.tsx msgid "Asset" @@ -260,6 +259,10 @@ msgstr "Διαθέσιμο για δανεισμό" msgid "Available to supply" msgstr "Διαθέσιμο για προμήθεια" +#: pages/404.page.tsx +msgid "Back to Dashboard" +msgstr "" + #: src/components/transactions/AssetInput.tsx #: src/components/transactions/ClaimRewards/ClaimRewardsModalContent.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx @@ -503,6 +506,10 @@ msgstr "Ψύξη..." msgid "Copy address" msgstr "Αντιγραφή διεύθυνσης" +#: pages/500.page.tsx +msgid "Copy error message" +msgstr "" + #: src/components/transactions/FlowCommons/Error.tsx msgid "Copy error text" msgstr "Κείμενο σφάλματος αντιγραφής" @@ -532,6 +539,10 @@ msgstr "Σκοτεινή λειτουργία" msgid "Dashboard" msgstr "Ταμπλό" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Data couldn't be fetched, please reload graph." +msgstr "" + #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListMobileItem.tsx msgid "Debt" @@ -622,13 +633,17 @@ msgstr "Αποσυνδέστε το πορτοφόλι" msgid "Discord" msgstr "Discord" +#: pages/500.page.tsx +msgid "Discord channel" +msgstr "" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Swap/SwapModalContent.tsx msgid "Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions" msgstr "" -#: src/components/transactions/Warnings/HarmonyWarning.tsx -msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market." msgstr "" #: src/modules/dashboard/DashboardEModeButton.tsx @@ -815,6 +830,10 @@ msgstr "" msgid "I understand how cooldown ({0}) and unstaking ({1}) work" msgstr "Καταλαβαίνω πώς λειτουργεί η ψύξη ({0}) και το ξεκλείδωμα ({1})" +#: pages/500.page.tsx +msgid "If the error continues to happen,<0/> you may report it to this" +msgstr "" + #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx msgid "If the health factor goes below 1, the liquidation of your collateral might be triggered." msgstr "Εάν ο συντελεστής υγείας πέσει κάτω από το 1, ενδέχεται να ενεργοποιηθεί η ρευστοποίηση των εγγυήσεών σας." @@ -843,6 +862,10 @@ msgstr "Ασυνεπείς παράμετροι flashloan" msgid "Interest rate rebalance conditions were not met" msgstr "Δεν τηρήθηκαν οι όροι επανεξισορρόπησης των επιτοκίων" +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "Interest rate strategy" +msgstr "" + #: src/ui-config/errorMapping.tsx msgid "Invalid amount to burn" msgstr "Μη έγκυρη ποσότητα προς καύση" @@ -883,6 +906,10 @@ msgstr "" msgid "Isolated assets have limited borrowing power and other assets cannot be used as collateral." msgstr "Τα απομονωμένα περιουσιακά στοιχεία έχουν περιορισμένη δανειοληπτική ικανότητα και άλλα περιουσιακά στοιχεία δεν μπορούν να χρησιμοποιηθούν ως εγγύηση." +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Join the community discussion" +msgstr "" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Language" msgstr "Γλώσσα" @@ -894,6 +921,7 @@ msgstr "Γλώσσα" #: src/components/transactions/StakeCooldown/StakeCooldownModalContent.tsx #: src/components/transactions/Warnings/BorrowCapWarning.tsx #: src/components/transactions/Warnings/DebtCeilingWarning.tsx +#: src/components/transactions/Warnings/MarketWarning.tsx #: src/components/transactions/Warnings/SupplyCapWarning.tsx #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx #: src/modules/reserve-overview/ReserveConfiguration.tsx @@ -943,6 +971,10 @@ msgstr "Κατώτατο όριο ρευστοποίησης" msgid "Liquidation value" msgstr "Αξία ρευστοποίησης" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Loading data..." +msgstr "" + #: src/ui-config/errorMapping.tsx msgid "Ltv validation failed" msgstr "Η επικύρωση του Ltv απέτυχε" @@ -1122,6 +1154,10 @@ msgstr "Τιμή Oracle" msgid "Overview" msgstr "Επισκόπηση" +#: pages/404.page.tsx +msgid "Page not found" +msgstr "" + #: src/components/incentives/IncentivesTooltipContent.tsx msgid "Participating in this {symbol} reserve gives annualized rewards." msgstr "Η συμμετοχή σε αυτό το αποθεματικό {symbol} δίνει ετήσιες ανταμοιβές." @@ -1131,12 +1167,8 @@ msgstr "Η συμμετοχή σε αυτό το αποθεματικό {symbol} msgid "Pending..." msgstr "Εκκρεμεί..." -#: src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx -msgid "Per the community, borrowing in this market is currently disabled. <0>Learn More" -msgstr "" - -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -msgid "Per the community, supplying in this market is currently disabled. <0>Learn More" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Per the community, the Fantom market has been frozen." msgstr "" #: src/modules/reserve-overview/ReserveActions.tsx @@ -1235,6 +1267,14 @@ msgstr "Διεύθυνση παραλήπτη" msgid "Rejected connection request" msgstr "Απόρριψη αιτήματος σύνδεσης" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Reload" +msgstr "" + +#: pages/500.page.tsx +msgid "Reload the page" +msgstr "" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Repay/RepayModalContent.tsx msgid "Remaining debt" @@ -1376,6 +1416,19 @@ msgstr "" msgid "Since this is a test network, you can get any of the assets if you have ETH on your wallet" msgstr "Δεδομένου ότι πρόκειται για ένα δοκιμαστικό δίκτυο, μπορείτε να αποκτήσετε οποιοδήποτε από τα περιουσιακά στοιχεία αν έχετε ETH στο πορτοφόλι σας" +#: pages/500.page.tsx +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Something went wrong" +msgstr "" + +#: pages/500.page.tsx +msgid "Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later." +msgstr "" + +#: pages/404.page.tsx +msgid "Sorry, we couldn't find the page you were looking for." +msgstr "" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Spanish" msgstr "Ισπανικά" @@ -1676,6 +1729,14 @@ msgstr "Αυτό το περιουσιακό στοιχείο έχει φθάσ msgid "This asset has reached its supply cap. Nothing is available to be supplied from this market." msgstr "Αυτό το περιουσιακό στοιχείο έχει φτάσει στο όριο της προσφοράς του. Τίποτα δεν είναι διαθέσιμο για προμήθεια από αυτή την αγορά." +#: src/components/infoTooltips/FrozenTooltip.tsx +msgid "This asset is frozen due to an Aave Protocol Governance decision. <0>More details" +msgstr "" + +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "This asset is frozen due to an Aave community decision. <0>More details" +msgstr "" + #: src/components/infoTooltips/GasTooltip.tsx msgid "This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider." msgstr "Αυτός ο υπολογισμός gas είναι μόνο μια εκτίμηση. Το πορτοφόλι σας θα καθορίσει την τιμή της συναλλαγής. Μπορείτε να τροποποιήσετε τις ρυθμίσεις gas απευθείας από τον πάροχο του πορτοφολιού σας." @@ -1832,7 +1893,9 @@ msgstr "Ο χρήστης βρίσκεται σε λειτουργία απομ msgid "User is trying to borrow multiple assets including a siloed one" msgstr "Ο χρήστης προσπαθεί να δανειστεί πολλαπλά περιουσιακά στοιχεία, συμπεριλαμβανομένου ενός απομονωμένου περιουσιακού στοιχείου" +#: src/modules/reserve-overview/ReserveConfiguration.tsx #: src/modules/reserve-overview/ReserveTopDetails.tsx +#: src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx msgid "Utilization Rate" msgstr "Ποσοστό χρησιμοποίησης" @@ -1922,6 +1985,10 @@ msgstr "Τα πορτοφόλια παρέχονται από Εξωτερικο msgid "We couldn’t detect a wallet. Connect a wallet to stake." msgstr "Δεν μπορέσαμε να εντοπίσουμε πορτοφόλι. Συνδέστε ένα πορτοφόλι για να κλειδώσετε." +#: pages/404.page.tsx +msgid "We suggest you go back to the Dashboard." +msgstr "" + #: src/components/infoTooltips/LiquidationPenaltyTooltip.tsx msgid "When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus." msgstr "Όταν πραγματοποιείται ρευστοποίηση, οι ρευστοποιητές επιστρέφουν έως και το 50% του ανεξόφλητου δανεισμένου ποσού για λογαριασμό του δανειολήπτη. Σε αντάλλαγμα, μπορούν να αγοράσουν τις εξασφαλίσεις με έκπτωση και να κρατήσουν τη διαφορά (ποινή ρευστοποίησης) ως μπόνους." @@ -2185,10 +2252,6 @@ msgstr "{0} Υπόλοιπο" msgid "{0} Faucet" msgstr "{0} Βρύση" -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "{0} is frozen due to an Aave community decision. <0>More details" -msgstr "" - #: src/modules/staking/StakingPanel.tsx msgid "{d}d" msgstr "{d}η" @@ -2206,10 +2269,6 @@ msgstr "{m}λ" msgid "{networkName} Faucet" msgstr "" -#: src/components/infoTooltips/FrozenWarning.tsx -msgid "{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details" -msgstr "" - #: src/modules/staking/StakingPanel.tsx msgid "{s}s" msgstr "{s}δ" diff --git a/src/locales/en/messages.js b/src/locales/en/messages.js index 5eba54a283..c4c48cd269 100644 --- a/src/locales/en/messages.js +++ b/src/locales/en/messages.js @@ -1 +1 @@ -/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.","ACTIVATE COOLDOWN":"ACTIVATE COOLDOWN","APR":"APR","APY":"APY","APY type":"APY type","APY, stable":"APY, stable","APY, variable":"APY, variable","AToken supply is not zero":"AToken supply is not zero","Aave Governance":"Aave Governance","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation","Aave per month":"Aave per month","Account":"Account","Action cannot be performed because the reserve is frozen":"Action cannot be performed because the reserve is frozen","Action cannot be performed because the reserve is paused":"Action cannot be performed because the reserve is paused","Action requires an active reserve":"Action requires an active reserve","Add to wallet":"Add to wallet","Add {0} to wallet to track your balance.":["Add ",["0"]," to wallet to track your balance."],"Address is not a contract":"Address is not a contract","All Assets":"All Assets","All done!":"All done!","All proposals":"All proposals","Allowance required action":"Allowance required action","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.","Already on cooldown":"Already on cooldown","Amount":"Amount","Amount must be greater than 0":"Amount must be greater than 0","Ampleforth FAQ":"Ampleforth FAQ","Approval":"Approval","Approve confirmed":"Approve confirmed","Approve to continue":"Approve to continue","Approved":"Approved","Approving {symbol}...":["Approving ",["symbol"],"..."],"Array parameters that should be equal length are not":"Array parameters that should be equal length are not","As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.":"As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.","Asset":"Asset","Asset can only be used as collateral in isolation mode only.":"Asset can only be used as collateral in isolation mode only.","Asset cannot be used as collateral.":"Asset cannot be used as collateral.","Asset category":"Asset category","Asset is not borrowable in isolation mode":"Asset is not borrowable in isolation mode","Asset is not listed":"Asset is not listed","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.","Asset to delegate":"Asset to delegate","Assets":"Assets","Assets to borrow":"Assets to borrow","Assets to supply":"Assets to supply","Author":"Author","Available":"Available","Available assets":"Available assets","Available liquidity":"Available liquidity","Available rewards":"Available rewards","Available to borrow":"Available to borrow","Available to supply":"Available to supply","Balance":"Balance","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions","Before supplying":"Before supplying","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ","Blocked Address":"Blocked Address","Borrow":"Borrow","Borrow APY rate":"Borrow APY rate","Borrow APY, stable":"Borrow APY, stable","Borrow APY, variable":"Borrow APY, variable","Borrow and repay in same block is not allowed":"Borrow and repay in same block is not allowed","Borrow cap":"Borrow cap","Borrow cap is exceeded":"Borrow cap is exceeded","Borrow power used":"Borrow power used","Borrow {symbol}":["Borrow ",["symbol"]],"Borrowed":"Borrowed","Borrowing is currently unavailable for {0}.":["Borrowing is currently unavailable for ",["0"],"."],"Borrowing is not enabled":"Borrowing is not enabled","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for ",["0"]," category. To manage E-Mode categories visit your <0>Dashboard."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.","Borrowing power and assets are limited due to Isolation mode.":"Borrowing power and assets are limited due to Isolation mode.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Borrowing this amount will reduce your health factor and increase risk of liquidation.","Borrowing {symbol}":["Borrowing ",["symbol"]],"CLAIM {symbol}":["CLAIM ",["symbol"]],"CLAIMING {symbol}":["CLAIMING ",["symbol"]],"Can be collateral":"Can be collateral","Can be executed":"Can be executed","Cannot disable E-Mode":"Cannot disable E-Mode","Cap reached. Lower supply amount":"Cap reached. Lower supply amount","Claim":"Claim","Claim AAVE":"Claim AAVE","Claim all":"Claim all","Claim all rewards":"Claim all rewards","Claim {0}":["Claim ",["0"]],"Claimable AAVE":"Claimable AAVE","Claimed":"Claimed","Claiming":"Claiming","Close":"Close","Collateral":"Collateral","Collateral amount to repay with":"Collateral amount to repay with","Collateral is (mostly) the same currency that is being borrowed":"Collateral is (mostly) the same currency that is being borrowed","Collateral usage":"Collateral usage","Collateral usage is limited because of Isolation mode.":"Collateral usage is limited because of Isolation mode.","Collateral usage is limited because of isolation mode. <0>Learn More":"Collateral usage is limited because of isolation mode. <0>Learn More","Collateralization":"Collateralization","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Connect wallet","Cooldown period":"Cooldown period","Cooldown period warning":"Cooldown period warning","Cooldown time left":"Cooldown time left","Cooldown to unstake":"Cooldown to unstake","Cooling down...":"Cooling down...","Copy address":"Copy address","Copy error text":"Copy error text","Created":"Created","Current LTV":"Current LTV","Current differential":"Current differential","Current votes":"Current votes","Dark mode":"Dark mode","Dashboard":"Dashboard","Debt":"Debt","Debt amount to repay":"Debt amount to repay","Debt ceiling is exceeded":"Debt ceiling is exceeded","Debt ceiling is not zero":"Debt ceiling is not zero","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Define Retry with Approval text","Delegate":"Delegate","Delegating":"Delegating","Delegation":"Delegation","Details":"Details","Developers":"Developers","Differential":"Differential","Disable E-Mode":"Disable E-Mode","Disable testnet":"Disable testnet","Disable {symbol} as collateral":["Disable ",["symbol"]," as collateral"],"Disabled":"Disabled","Disabling E-Mode":"Disabling E-Mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"Disabling this asset as collateral affects your borrowing power and Health Factor.","Disconnect Wallet":"Disconnect Wallet","Discord":"Discord","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}":["Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>",["0"],""],"E-Mode":"E-Mode","E-Mode Category":"E-Mode Category","E-Mode category":"E-Mode category","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.","Efficiency mode (E-Mode)":"Efficiency mode (E-Mode)","Emode":"Emode","Enable E-Mode":"Enable E-Mode","Enable {symbol} as collateral":["Enable ",["symbol"]," as collateral"],"Enabled":"Enabled","Enabled in isolation":"Enabled in isolation","Enabling E-Mode":"Enabling E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.","English":"English","Enter ETH address":"Enter ETH address","Enter an amount":"Enter an amount","Error connecting. Try refreshing the page.":"Error connecting. Try refreshing the page.","Executed":"Executed","Expires":"Expires","FAQ":"FAQ","Faucet":"Faucet","Faucet {0}":["Faucet ",["0"]],"Filter":"Filter","For repayment of a specific type of debt, the user needs to have debt that type":"For repayment of a specific type of debt, the user needs to have debt that type","Forum discussion":"Forum discussion","French":"French","Funds in the Safety Module":"Funds in the Safety Module","Get ABP Token":"Get ABP Token","Github":"Github","Global settings":"Global settings","Go Back":"Go Back","Go back":"Go back","Go to Balancer Pool":"Go to Balancer Pool","Governance":"Governance","Greek":"Greek","Health factor":"Health factor","Health factor is lesser than the liquidation threshold":"Health factor is lesser than the liquidation threshold","Health factor is not below the threshold":"Health factor is not below the threshold","Hide":"Hide","I acknowledge the risks involved.":"I acknowledge the risks involved.","I understand how cooldown ({0}) and unstaking ({1}) work":["I understand how cooldown (",["0"],") and unstaking (",["1"],") work"],"If the health factor goes below 1, the liquidation of your collateral might be triggered.":"If the health factor goes below 1, the liquidation of your collateral might be triggered.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["If you DO NOT unstake within ",["0"]," of unstake window, you will need to activate cooldown process again."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable ",["0"]," as collateral before borrowing another asset. Read more in our <0>FAQ"],"Inconsistent flashloan parameters":"Inconsistent flashloan parameters","Interest rate rebalance conditions were not met":"Interest rate rebalance conditions were not met","Invalid amount to burn":"Invalid amount to burn","Invalid amount to mint":"Invalid amount to mint","Invalid bridge protocol fee":"Invalid bridge protocol fee","Invalid expiration":"Invalid expiration","Invalid flashloan premium":"Invalid flashloan premium","Invalid return value of the flashloan executor function":"Invalid return value of the flashloan executor function","Invalid signature":"Invalid signature","Isolated":"Isolated","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Isolated assets have limited borrowing power and other assets cannot be used as collateral.","Language":"Language","Learn more":"Learn more","Learn more about risks involved":"Learn more about risks involved","Learn more in our <0>FAQ guide":"Learn more in our <0>FAQ guide","Links":"Links","Liquidation <0/> threshold":"Liquidation <0/> threshold","Liquidation at":"Liquidation at","Liquidation penalty":"Liquidation penalty","Liquidation risk":"Liquidation risk","Liquidation risk parameters":"Liquidation risk parameters","Liquidation threshold":"Liquidation threshold","Liquidation value":"Liquidation value","Ltv validation failed":"Ltv validation failed","MAX":"MAX","Market":"Market","Markets":"Markets","Max":"Max","Max LTV":"Max LTV","Max slashing":"Max slashing","Max slippage rate":"Max slippage rate","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["Maximum amount available to borrow against this asset is limited because debt ceiling is at ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.","Maximum amount available to supply is <0/> {0} (<1/>).":["Maximum amount available to supply is <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["Maximum amount available to supply is limited because protocol supply cap is at ",["0"],"%."],"Maximum loan to value":"Maximum loan to value","Menu":"Menu","Minimum received":"Minimum received","More":"More","NAY":"NAY","Need help connecting a wallet? <0>Read our FAQ":"Need help connecting a wallet? <0>Read our FAQ","Net APR":"Net APR","Net APY":"Net APY","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.","Net worth":"Net worth","Network":"Network","Network not supported for this wallet":"Network not supported for this wallet","New APY":"New APY","No rewards to claim":"No rewards to claim","No voting power":"No voting power","None":"None","Not a valid address":"Not a valid address","Not enough balance on your wallet":"Not enough balance on your wallet","Not enough collateral to repay this amount of debt with":"Not enough collateral to repay this amount of debt with","Not enough staked balance":"Not enough staked balance","Not enough voting power to participate in this proposal":"Not enough voting power to participate in this proposal","Not reached":"Not reached","Nothing borrowed yet":"Nothing borrowed yet","Nothing staked":"Nothing staked","Nothing supplied yet":"Nothing supplied yet","Notify":"Notify","Ok, Close":"Ok, Close","Ok, I got it":"Ok, I got it","Operation not supported":"Operation not supported","Oracle price":"Oracle price","Overview":"Overview","Participating in this {symbol} reserve gives annualized rewards.":["Participating in this ",["symbol"]," reserve gives annualized rewards."],"Pending...":"Pending...","Per the community, borrowing in this market is currently disabled. <0>Learn More":"Per the community, borrowing in this market is currently disabled. <0>Learn More","Per the community, supplying in this market is currently disabled. <0>Learn More":"Per the community, supplying in this market is currently disabled. <0>Learn More","Please connect a wallet to view your personal information here.":"Please connect a wallet to view your personal information here.","Please connect your wallet to get free testnet assets.":"Please connect your wallet to get free testnet assets.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Please connect your wallet to see your supplies, borrowings, and open positions.","Please switch to {networkName}.":["Please switch to ",["networkName"],"."],"Please, connect your wallet":"Please, connect your wallet","Pool addresses provider is not registered":"Pool addresses provider is not registered","Price impact":"Price impact","Proposal details":"Proposal details","Proposal overview":"Proposal overview","Proposals":"Proposals","Proposition power":"Proposition power","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap at 100% for this asset. Further borrowing unavailable.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"Protocol supply cap at 100% for this asset. Further supply unavailable.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"Protocol supply cap is at 100% for this asset. Further supply unavailable.","Quorum":"Quorum","Raw-Ipfs":"Raw-Ipfs","Reached":"Reached","Received":"Received","Recipient address":"Recipient address","Rejected connection request":"Rejected connection request","Remaining debt":"Remaining debt","Remaining supply":"Remaining supply","Repay":"Repay","Repay with":"Repay with","Repay {symbol}":["Repay ",["symbol"]],"Repaying {symbol}":["Repaying ",["symbol"]],"Reserve Size":"Reserve Size","Reserve factor":"Reserve factor","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["Reserve factor is a percentage of interest which goes to a ",["0"]," that is controlled by Aave governance to promote ecosystem growth."],"Reserve status & configuration":"Reserve status & configuration","Retry What?":"Retry What?","Retry with Approval":"Retry with Approval","Retry with approval":"Retry with approval","Review approval tx details":"Review approval tx details","Review tx":"Review tx","Review tx details":"Review tx details","Reward(s) to claim":"Reward(s) to claim","Rewards APR":"Rewards APR","Risk details":"Risk details","SEE CHARTS":"SEE CHARTS","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Safety of your deposited collateral against the borrowed assets and its underlying value.","Seatbelt report":"Seatbelt report","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"Seems like we can't switch the network automatically. Please check if you can change it from the wallet.","Select":"Select","Select APY type to switch":"Select APY type to switch","Select language":"Select language","Select token to add":"Select token to add","Select token to view in block explorer":"Select token to view in block explorer","Setup notifications about your Health Factor using the Hal app.":"Setup notifications about your Health Factor using the Hal app.","Share on twitter":"Share on twitter","Show":"Show","Show assets with 0 balance":"Show assets with 0 balance","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Since this is a test network, you can get any of the assets if you have ETH on your wallet","Spanish":"Spanish","Stable":"Stable","Stable Interest Type is disabled for this currency":"Stable Interest Type is disabled for this currency","Stable borrowing is enabled":"Stable borrowing is enabled","Stable borrowing is not enabled":"Stable borrowing is not enabled","Stable debt supply is not zero":"Stable debt supply is not zero","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.","Stablecoin":"Stablecoin","Stake":"Stake","Stake AAVE":"Stake AAVE","Stake ABPT":"Stake ABPT","Stake cooldown activated":"Stake cooldown activated","Staked":"Staked","Staking":"Staking","Staking APR":"Staking APR","Started":"Started","State":"State","Supplied":"Supplied","Supply":"Supply","Supply APY":"Supply APY","Supply apy":"Supply apy","Supply balance":"Supply balance","Supply cap is exceeded":"Supply cap is exceeded","Supply cap on target reserve reached. Try lowering the amount.":"Supply cap on target reserve reached. Try lowering the amount.","Supply {symbol}":["Supply ",["symbol"]],"Supplying your":"Supplying your","Supplying {symbol}":["Supplying ",["symbol"]],"Swap":"Swap","Swapped":"Swapped","Swapping":"Swapping","Switch APY type":"Switch APY type","Switch E-Mode":"Switch E-Mode","Switch E-Mode category":"Switch E-Mode category","Switch Network":"Switch Network","Switch rate":"Switch rate","Switching E-Mode":"Switching E-Mode","Switching rate":"Switching rate","Test Assets":"Test Assets","Testnet mode":"Testnet mode","Testnet mode is ON":"Testnet mode is ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.","The Stable Rate is not enabled for this currency":"The Stable Rate is not enabled for this currency","The address of the pool addresses provider is invalid":"The address of the pool addresses provider is invalid","The app is running in testnet mode. Learn how it works in":"The app is running in testnet mode. Learn how it works in","The caller of the function is not an AToken":"The caller of the function is not an AToken","The caller of this function must be a pool":"The caller of this function must be a pool","The collateral balance is 0":"The collateral balance is 0","The collateral chosen cannot be liquidated":"The collateral chosen cannot be liquidated","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["The cooldown period is ",["0"],". After ",["1"]," of cooldown, you will enter unstake window of ",["2"],". You will continue receiving rewards during cooldown and unstake window."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"The effects on the health factor would cause liquidation. Try lowering the amount.","The requested amount is greater than the max loan size in stable rate mode":"The requested amount is greater than the max loan size in stable rate mode","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.","The underlying asset cannot be rescued":"The underlying asset cannot be rescued","The underlying balance needs to be greater than 0":"The underlying balance needs to be greater than 0","The weighted average of APY for all borrowed assets, including incentives.":"The weighted average of APY for all borrowed assets, including incentives.","The weighted average of APY for all supplied assets, including incentives.":"The weighted average of APY for all supplied assets, including incentives.","There are not enough funds in the{0}reserve to borrow":["There are not enough funds in the",["0"],"reserve to borrow"],"There is not enough collateral to cover a new borrow":"There is not enough collateral to cover a new borrow","There was some error. Please try changing the parameters or <0><1>copy the error":"There was some error. Please try changing the parameters or <0><1>copy the error","These funds have been borrowed and are not available for withdrawal at this time.":"These funds have been borrowed and are not available for withdrawal at this time.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.","This address is blocked on app.aave.com because it is associated with one or more":"This address is blocked on app.aave.com because it is associated with one or more","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["This asset has almost reached its borrow cap. There is only ",["messageValue"]," available to be borrowed from this market."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["This asset has almost reached its supply cap. There can only be ",["messageValue"]," supplied to this market."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"This asset has reached its supply cap. Nothing is available to be supplied from this market.","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.","This integration was<0>proposed and approvedby the community.":"This integration was<0>proposed and approvedby the community.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.","Time left to be able to withdraw your staked asset.":"Time left to be able to withdraw your staked asset.","Time left to unstake":"Time left to unstake","Time left until the withdrawal window closes.":"Time left until the withdrawal window closes.","To borrow you need to supply any asset to be used as collateral.":"To borrow you need to supply any asset to be used as collateral.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["To enable E-mode for the ",["0"]," category, all borrow positions outside of this cateogry must be closed."],"To repay on behalf of a user an explicit amount to repay is needed":"To repay on behalf of a user an explicit amount to repay is needed","To request access for this permissioned market, please visit: <0>Acces Provider Name":"To request access for this permissioned market, please visit: <0>Acces Provider Name","Total available":"Total available","Total borrowed":"Total borrowed","Total borrows":"Total borrows","Total emission per day":"Total emission per day","Total market size":"Total market size","Total supplied":"Total supplied","Total voting power":"Total voting power","Total worth":"Total worth","Transaction failed":"Transaction failed","Transaction overview":"Transaction overview","Type of delegation":"Type of delegation","UNSTAKE {symbol}":["UNSTAKE ",["symbol"]],"UNSTAKING {symbol}":["UNSTAKING ",["symbol"]],"Unavailable":"Unavailable","Unbacked":"Unbacked","Unbacked mint cap is exceeded":"Unbacked mint cap is exceeded","Unstake now":"Unstake now","Unstake window":"Unstake window","Used as collateral":"Used as collateral","User cannot withdraw more than the available balance":"User cannot withdraw more than the available balance","User did not borrow the specified currency":"User did not borrow the specified currency","User does not have outstanding stable rate debt on this reserve":"User does not have outstanding stable rate debt on this reserve","User does not have outstanding variable rate debt on this reserve":"User does not have outstanding variable rate debt on this reserve","User is in isolation mode":"User is in isolation mode","User is trying to borrow multiple assets including a siloed one":"User is trying to borrow multiple assets including a siloed one","Utilization Rate":"Utilization Rate","VOTE NAY":"VOTE NAY","VOTE YAE":"VOTE YAE","Variable":"Variable","Variable debt supply is not zero":"Variable debt supply is not zero","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.","Version 2":"Version 2","Version 3":"Version 3","View contract":"View contract","View details":"View details","View on Explorer":"View on Explorer","Vote":"Vote","Vote NAY":"Vote NAY","Vote YAE":"Vote YAE","Voting power":"Voting power","Voting results":"Voting results","Wallet balance":"Wallet balance","Wallet not detected. Connect or install wallet and retry":"Wallet not detected. Connect or install wallet and retry","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.","We couldn’t detect a wallet. Connect a wallet to stake.":"We couldn’t detect a wallet. Connect a wallet to stake.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.","Why do I need to approve?":"Why do I need to approve?","With a voting power of <0/>":"With a voting power of <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more","Withdraw":"Withdraw","Withdraw {symbol}":["Withdraw ",["symbol"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Withdrawing this amount will reduce your health factor and increase risk of liquidation.","Withdrawing {symbol}":["Withdrawing ",["symbol"]],"Wrong Network":"Wrong Network","YAE":"YAE","You are entering Isolation mode":"You are entering Isolation mode","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"You can not change Interest Type to stable as your borrowings are higher than your collateral","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"You can not switch usage as collateral mode for this currency, because it will cause collateral call","You can not use this currency as collateral":"You can not use this currency as collateral","You can not withdraw this amount because it will cause collateral call":"You can not withdraw this amount because it will cause collateral call","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.","You can report incident to our <0>Discord or <1>Github.":"You can report incident to our <0>Discord or <1>Github.","You cancelled the transaction.":"You cancelled the transaction.","You did not participate in this proposal":"You did not participate in this proposal","You do not have supplies in this currency":"You do not have supplies in this currency","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.","You have not borrow yet using this currency":"You have not borrow yet using this currency","You switched to {0} rate":["You switched to ",["0"]," rate"],"You unstake here":"You unstake here","You voted {0}":["You voted ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"You will exit isolation mode and other tokens can now be used as collateral","You {action} <0/> {symbol}":["You ",["action"]," <0/> ",["symbol"]],"Your borrows":"Your borrows","Your current loan to value based on your collateral supplied.":"Your current loan to value based on your collateral supplied.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.","Your info":"Your info","Your reward balance is 0":"Your reward balance is 0","Your supplies":"Your supplies","Your voting info":"Your voting info","Your {networkName} wallet is empty. Get free test assets at":["Your ",["networkName"]," wallet is empty. Get free test assets at"],"Your {networkName} wallet is empty. Get free test {0} at":["Your ",["networkName"]," wallet is empty. Get free test ",["0"]," at"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Your ",["networkName"]," wallet is empty. Purchase or transfer assets"],"Zero address not valid":"Zero address not valid","assets":"assets","blocked activities":"blocked activities","copy the error":"copy the error","documentation":"documentation","ends":"ends","here.":"here.","is an asset affected by rebasing. Visit the":"is an asset affected by rebasing. Visit the","of":"of","on":"on","or":"or","or use <0>{0} to transfer your ETH assets.":["or use <0>",["0"]," to transfer your ETH assets."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.","repaid":"repaid","staking view":"staking view","to learn more.":"to learn more.","tokens is not the same as staking them. If you wish to stake your":"tokens is not the same as staking them. If you wish to stake your","tokens, please go to the":"tokens, please go to the","withdrew":"withdrew","{0}":[["0"]],"{0} Balance":[["0"]," Balance"],"{0} Faucet":[["0"]," Faucet"],"{0} is frozen due to an Aave community decision. <0>More details":[["0"]," is frozen due to an Aave community decision. <0>More details"],"{d}d":[["d"],"d"],"{h}h":[["h"],"h"],"{m}m":[["m"],"m"],"{networkName} Faucet":[["networkName"]," Faucet"],"{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details":[["symbol"]," is frozen due to an Aave Protocol Governance decision. <0>More details"],"{s}s":[["s"],"s"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file +/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.","<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.":"<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.","ACTIVATE COOLDOWN":"ACTIVATE COOLDOWN","APR":"APR","APY":"APY","APY type":"APY type","APY, stable":"APY, stable","APY, variable":"APY, variable","AToken supply is not zero":"AToken supply is not zero","Aave Governance":"Aave Governance","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation","Aave per month":"Aave per month","Account":"Account","Action cannot be performed because the reserve is frozen":"Action cannot be performed because the reserve is frozen","Action cannot be performed because the reserve is paused":"Action cannot be performed because the reserve is paused","Action requires an active reserve":"Action requires an active reserve","Add to wallet":"Add to wallet","Add {0} to wallet to track your balance.":["Add ",["0"]," to wallet to track your balance."],"Address is not a contract":"Address is not a contract","All Assets":"All Assets","All done!":"All done!","All proposals":"All proposals","Allowance required action":"Allowance required action","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.","Already on cooldown":"Already on cooldown","Amount":"Amount","Amount must be greater than 0":"Amount must be greater than 0","Ampleforth FAQ":"Ampleforth FAQ","Approval":"Approval","Approve confirmed":"Approve confirmed","Approve to continue":"Approve to continue","Approved":"Approved","Approving {symbol}...":["Approving ",["symbol"],"..."],"Array parameters that should be equal length are not":"Array parameters that should be equal length are not","Asset":"Asset","Asset can only be used as collateral in isolation mode only.":"Asset can only be used as collateral in isolation mode only.","Asset cannot be used as collateral.":"Asset cannot be used as collateral.","Asset category":"Asset category","Asset is not borrowable in isolation mode":"Asset is not borrowable in isolation mode","Asset is not listed":"Asset is not listed","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.","Asset to delegate":"Asset to delegate","Assets":"Assets","Assets to borrow":"Assets to borrow","Assets to supply":"Assets to supply","Author":"Author","Available":"Available","Available assets":"Available assets","Available liquidity":"Available liquidity","Available rewards":"Available rewards","Available to borrow":"Available to borrow","Available to supply":"Available to supply","Back to Dashboard":"Back to Dashboard","Balance":"Balance","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions","Before supplying":"Before supplying","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ","Blocked Address":"Blocked Address","Borrow":"Borrow","Borrow APY rate":"Borrow APY rate","Borrow APY, stable":"Borrow APY, stable","Borrow APY, variable":"Borrow APY, variable","Borrow and repay in same block is not allowed":"Borrow and repay in same block is not allowed","Borrow cap":"Borrow cap","Borrow cap is exceeded":"Borrow cap is exceeded","Borrow power used":"Borrow power used","Borrow {symbol}":["Borrow ",["symbol"]],"Borrowed":"Borrowed","Borrowing is currently unavailable for {0}.":["Borrowing is currently unavailable for ",["0"],"."],"Borrowing is not enabled":"Borrowing is not enabled","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for ",["0"]," category. To manage E-Mode categories visit your <0>Dashboard."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.","Borrowing power and assets are limited due to Isolation mode.":"Borrowing power and assets are limited due to Isolation mode.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Borrowing this amount will reduce your health factor and increase risk of liquidation.","Borrowing {symbol}":["Borrowing ",["symbol"]],"CLAIM {symbol}":["CLAIM ",["symbol"]],"CLAIMING {symbol}":["CLAIMING ",["symbol"]],"Can be collateral":"Can be collateral","Can be executed":"Can be executed","Cancel":"Cancel","Cannot disable E-Mode":"Cannot disable E-Mode","Cap reached. Lower supply amount":"Cap reached. Lower supply amount","Claim":"Claim","Claim AAVE":"Claim AAVE","Claim all":"Claim all","Claim all rewards":"Claim all rewards","Claim {0}":["Claim ",["0"]],"Claimable AAVE":"Claimable AAVE","Claimed":"Claimed","Claiming":"Claiming","Close":"Close","Collateral":"Collateral","Collateral amount to repay with":"Collateral amount to repay with","Collateral is (mostly) the same currency that is being borrowed":"Collateral is (mostly) the same currency that is being borrowed","Collateral usage":"Collateral usage","Collateral usage is limited because of Isolation mode.":"Collateral usage is limited because of Isolation mode.","Collateral usage is limited because of isolation mode. <0>Learn More":"Collateral usage is limited because of isolation mode. <0>Learn More","Collateralization":"Collateralization","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Connect wallet","Cooldown period":"Cooldown period","Cooldown period warning":"Cooldown period warning","Cooldown time left":"Cooldown time left","Cooldown to unstake":"Cooldown to unstake","Cooling down...":"Cooling down...","Copy address":"Copy address","Copy error message":"Copy error message","Copy error text":"Copy error text","Created":"Created","Current LTV":"Current LTV","Current differential":"Current differential","Current votes":"Current votes","Dark mode":"Dark mode","Dashboard":"Dashboard","Data couldn't be fetched, please reload graph.":"Data couldn't be fetched, please reload graph.","Debt":"Debt","Debt amount to repay":"Debt amount to repay","Debt ceiling is exceeded":"Debt ceiling is exceeded","Debt ceiling is not zero":"Debt ceiling is not zero","Debt ceiling limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt ceiling limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Define Retry with Approval text","Delegate":"Delegate","Delegating":"Delegating","Delegation":"Delegation","Details":"Details","Developers":"Developers","Differential":"Differential","Disable E-Mode":"Disable E-Mode","Disable testnet":"Disable testnet","Disable {symbol} as collateral":["Disable ",["symbol"]," as collateral"],"Disabled":"Disabled","Disabling E-Mode":"Disabling E-Mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"Disabling this asset as collateral affects your borrowing power and Health Factor.","Disconnect Wallet":"Disconnect Wallet","Discord":"Discord","Discord channel":"Discord channel","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.":"Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.","E-Mode":"E-Mode","E-Mode Category":"E-Mode Category","E-Mode category":"E-Mode category","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.","Efficiency mode (E-Mode)":"Efficiency mode (E-Mode)","Emode":"Emode","Enable E-Mode":"Enable E-Mode","Enable {symbol} as collateral":["Enable ",["symbol"]," as collateral"],"Enabled":"Enabled","Enabled in isolation":"Enabled in isolation","Enabling E-Mode":"Enabling E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.","English":"English","Enter ETH address":"Enter ETH address","Enter an amount":"Enter an amount","Error connecting. Try refreshing the page.":"Error connecting. Try refreshing the page.","Executed":"Executed","Expires":"Expires","FAQ":"FAQ","Faucet":"Faucet","Faucet {0}":["Faucet ",["0"]],"Filter":"Filter","For repayment of a specific type of debt, the user needs to have debt that type":"For repayment of a specific type of debt, the user needs to have debt that type","Forum discussion":"Forum discussion","French":"French","Funds in the Safety Module":"Funds in the Safety Module","Get ABP Token":"Get ABP Token","Github":"Github","Global settings":"Global settings","Go Back":"Go Back","Go back":"Go back","Go to Balancer Pool":"Go to Balancer Pool","Governance":"Governance","Greek":"Greek","Health factor":"Health factor","Health factor is lesser than the liquidation threshold":"Health factor is lesser than the liquidation threshold","Health factor is not below the threshold":"Health factor is not below the threshold","Hide":"Hide","I acknowledge the risks involved.":"I acknowledge the risks involved.","I understand how cooldown ({0}) and unstaking ({1}) work":["I understand how cooldown (",["0"],") and unstaking (",["1"],") work"],"If the error continues to happen,<0/> you may report it to this":"If the error continues to happen,<0/> you may report it to this","If the health factor goes below 1, the liquidation of your collateral might be triggered.":"If the health factor goes below 1, the liquidation of your collateral might be triggered.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["If you DO NOT unstake within ",["0"]," of unstake window, you will need to activate cooldown process again."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable ",["0"]," as collateral before borrowing another asset. Read more in our <0>FAQ"],"Inconsistent flashloan parameters":"Inconsistent flashloan parameters","Interest rate rebalance conditions were not met":"Interest rate rebalance conditions were not met","Interest rate strategy":"Interest rate strategy","Invalid amount to burn":"Invalid amount to burn","Invalid amount to mint":"Invalid amount to mint","Invalid bridge protocol fee":"Invalid bridge protocol fee","Invalid expiration":"Invalid expiration","Invalid flashloan premium":"Invalid flashloan premium","Invalid return value of the flashloan executor function":"Invalid return value of the flashloan executor function","Invalid signature":"Invalid signature","Isolated":"Isolated","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Isolated assets have limited borrowing power and other assets cannot be used as collateral.","Join the community discussion":"Join the community discussion","Language":"Language","Learn more":"Learn more","Learn more about risks involved":"Learn more about risks involved","Learn more in our <0>FAQ guide":"Learn more in our <0>FAQ guide","Links":"Links","Liquidation <0/> threshold":"Liquidation <0/> threshold","Liquidation at":"Liquidation at","Liquidation penalty":"Liquidation penalty","Liquidation risk":"Liquidation risk","Liquidation risk parameters":"Liquidation risk parameters","Liquidation threshold":"Liquidation threshold","Liquidation value":"Liquidation value","Loading data...":"Loading data...","Ltv validation failed":"Ltv validation failed","MAX":"MAX","Market":"Market","Markets":"Markets","Max":"Max","Max LTV":"Max LTV","Max slashing":"Max slashing","Max slippage rate":"Max slippage rate","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["Maximum amount available to borrow against this asset is limited because debt ceiling is at ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.","Maximum amount available to supply is <0/> {0} (<1/>).":["Maximum amount available to supply is <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["Maximum amount available to supply is limited because protocol supply cap is at ",["0"],"%."],"Maximum loan to value":"Maximum loan to value","Menu":"Menu","Minimum received":"Minimum received","More":"More","NAY":"NAY","Need help connecting a wallet? <0>Read our FAQ":"Need help connecting a wallet? <0>Read our FAQ","Net APR":"Net APR","Net APY":"Net APY","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.","Net worth":"Net worth","Network":"Network","Network not supported for this wallet":"Network not supported for this wallet","New APY":"New APY","No rewards to claim":"No rewards to claim","No search results for":"No search results for","No voting power":"No voting power","None":"None","Not a valid address":"Not a valid address","Not enough balance on your wallet":"Not enough balance on your wallet","Not enough collateral to repay this amount of debt with":"Not enough collateral to repay this amount of debt with","Not enough staked balance":"Not enough staked balance","Not enough voting power to participate in this proposal":"Not enough voting power to participate in this proposal","Not reached":"Not reached","Nothing borrowed yet":"Nothing borrowed yet","Nothing staked":"Nothing staked","Nothing supplied yet":"Nothing supplied yet","Notify":"Notify","Ok, Close":"Ok, Close","Ok, I got it":"Ok, I got it","Operation not supported":"Operation not supported","Oracle price":"Oracle price","Overview":"Overview","Page not found":"Page not found","Participating in this {symbol} reserve gives annualized rewards.":["Participating in this ",["symbol"]," reserve gives annualized rewards."],"Pending...":"Pending...","Per the community, the Fantom market has been frozen.":"Per the community, the Fantom market has been frozen.","Please connect a wallet to view your personal information here.":"Please connect a wallet to view your personal information here.","Please connect your wallet to get free testnet assets.":"Please connect your wallet to get free testnet assets.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Please connect your wallet to see your supplies, borrowings, and open positions.","Please switch to {networkName}.":["Please switch to ",["networkName"],"."],"Please, connect your wallet":"Please, connect your wallet","Pool addresses provider is not registered":"Pool addresses provider is not registered","Price impact":"Price impact","Proposal details":"Proposal details","Proposal overview":"Proposal overview","Proposals":"Proposals","Proposition power":"Proposition power","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap at 100% for this asset. Further borrowing unavailable.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"Protocol supply cap at 100% for this asset. Further supply unavailable.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"Protocol supply cap is at 100% for this asset. Further supply unavailable.","Quorum":"Quorum","Raw-Ipfs":"Raw-Ipfs","Reached":"Reached","Received":"Received","Recipient address":"Recipient address","Rejected connection request":"Rejected connection request","Reload":"Reload","Reload the page":"Reload the page","Remaining debt":"Remaining debt","Remaining supply":"Remaining supply","Repay":"Repay","Repay with":"Repay with","Repay {symbol}":["Repay ",["symbol"]],"Repaying {symbol}":["Repaying ",["symbol"]],"Reserve Size":"Reserve Size","Reserve factor":"Reserve factor","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["Reserve factor is a percentage of interest which goes to a ",["0"]," that is controlled by Aave governance to promote ecosystem growth."],"Reserve status & configuration":"Reserve status & configuration","Retry What?":"Retry What?","Retry with Approval":"Retry with Approval","Retry with approval":"Retry with approval","Review approval tx details":"Review approval tx details","Review tx":"Review tx","Review tx details":"Review tx details","Reward(s) to claim":"Reward(s) to claim","Rewards APR":"Rewards APR","Risk details":"Risk details","SEE CHARTS":"SEE CHARTS","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Safety of your deposited collateral against the borrowed assets and its underlying value.","Seatbelt report":"Seatbelt report","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"Seems like we can't switch the network automatically. Please check if you can change it from the wallet.","Select":"Select","Select APY type to switch":"Select APY type to switch","Select language":"Select language","Select token to add":"Select token to add","Select token to view in block explorer":"Select token to view in block explorer","Setup notifications about your Health Factor using the Hal app.":"Setup notifications about your Health Factor using the Hal app.","Share on twitter":"Share on twitter","Show":"Show","Show assets with 0 balance":"Show assets with 0 balance","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Since this is a test network, you can get any of the assets if you have ETH on your wallet","Something went wrong":"Something went wrong","Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.":"Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.","Sorry, we couldn't find the page you were looking for.":"Sorry, we couldn't find the page you were looking for.","Spanish":"Spanish","Stable":"Stable","Stable Interest Type is disabled for this currency":"Stable Interest Type is disabled for this currency","Stable borrowing is enabled":"Stable borrowing is enabled","Stable borrowing is not enabled":"Stable borrowing is not enabled","Stable debt supply is not zero":"Stable debt supply is not zero","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.","Stablecoin":"Stablecoin","Stake":"Stake","Stake AAVE":"Stake AAVE","Stake ABPT":"Stake ABPT","Stake cooldown activated":"Stake cooldown activated","Staked":"Staked","Staking":"Staking","Staking APR":"Staking APR","Started":"Started","State":"State","Supplied":"Supplied","Supply":"Supply","Supply APY":"Supply APY","Supply apy":"Supply apy","Supply balance":"Supply balance","Supply cap is exceeded":"Supply cap is exceeded","Supply cap on target reserve reached. Try lowering the amount.":"Supply cap on target reserve reached. Try lowering the amount.","Supply {symbol}":["Supply ",["symbol"]],"Supplying your":"Supplying your","Supplying {symbol}":["Supplying ",["symbol"]],"Swap":"Swap","Swapped":"Swapped","Swapping":"Swapping","Switch APY type":"Switch APY type","Switch E-Mode":"Switch E-Mode","Switch E-Mode category":"Switch E-Mode category","Switch Network":"Switch Network","Switch rate":"Switch rate","Switching E-Mode":"Switching E-Mode","Switching rate":"Switching rate","Test Assets":"Test Assets","Testnet mode":"Testnet mode","Testnet mode is ON":"Testnet mode is ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.","The Stable Rate is not enabled for this currency":"The Stable Rate is not enabled for this currency","The address of the pool addresses provider is invalid":"The address of the pool addresses provider is invalid","The app is running in testnet mode. Learn how it works in":"The app is running in testnet mode. Learn how it works in","The caller of the function is not an AToken":"The caller of the function is not an AToken","The caller of this function must be a pool":"The caller of this function must be a pool","The collateral balance is 0":"The collateral balance is 0","The collateral chosen cannot be liquidated":"The collateral chosen cannot be liquidated","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["The cooldown period is ",["0"],". After ",["1"]," of cooldown, you will enter unstake window of ",["2"],". You will continue receiving rewards during cooldown and unstake window."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"The effects on the health factor would cause liquidation. Try lowering the amount.","The requested amount is greater than the max loan size in stable rate mode":"The requested amount is greater than the max loan size in stable rate mode","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.","The underlying asset cannot be rescued":"The underlying asset cannot be rescued","The underlying balance needs to be greater than 0":"The underlying balance needs to be greater than 0","The weighted average of APY for all borrowed assets, including incentives.":"The weighted average of APY for all borrowed assets, including incentives.","The weighted average of APY for all supplied assets, including incentives.":"The weighted average of APY for all supplied assets, including incentives.","There are not enough funds in the{0}reserve to borrow":["There are not enough funds in the",["0"],"reserve to borrow"],"There is not enough collateral to cover a new borrow":"There is not enough collateral to cover a new borrow","There was some error. Please try changing the parameters or <0><1>copy the error":"There was some error. Please try changing the parameters or <0><1>copy the error","These funds have been borrowed and are not available for withdrawal at this time.":"These funds have been borrowed and are not available for withdrawal at this time.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.","This address is blocked on app.aave.com because it is associated with one or more":"This address is blocked on app.aave.com because it is associated with one or more","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["This asset has almost reached its borrow cap. There is only ",["messageValue"]," available to be borrowed from this market."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["This asset has almost reached its supply cap. There can only be ",["messageValue"]," supplied to this market."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"This asset has reached its supply cap. Nothing is available to be supplied from this market.","This asset is frozen due to an Aave Protocol Governance decision. <0>More details":"This asset is frozen due to an Aave Protocol Governance decision. <0>More details","This asset is frozen due to an Aave community decision. <0>More details":"This asset is frozen due to an Aave community decision. <0>More details","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.","This integration was<0>proposed and approvedby the community.":"This integration was<0>proposed and approvedby the community.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.","Time left to be able to withdraw your staked asset.":"Time left to be able to withdraw your staked asset.","Time left to unstake":"Time left to unstake","Time left until the withdrawal window closes.":"Time left until the withdrawal window closes.","To borrow you need to supply any asset to be used as collateral.":"To borrow you need to supply any asset to be used as collateral.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["To enable E-mode for the ",["0"]," category, all borrow positions outside of this cateogry must be closed."],"To repay on behalf of a user an explicit amount to repay is needed":"To repay on behalf of a user an explicit amount to repay is needed","To request access for this permissioned market, please visit: <0>Acces Provider Name":"To request access for this permissioned market, please visit: <0>Acces Provider Name","Total available":"Total available","Total borrowed":"Total borrowed","Total borrows":"Total borrows","Total emission per day":"Total emission per day","Total market size":"Total market size","Total supplied":"Total supplied","Total voting power":"Total voting power","Total worth":"Total worth","Transaction failed":"Transaction failed","Transaction overview":"Transaction overview","Type of delegation":"Type of delegation","UNSTAKE {symbol}":["UNSTAKE ",["symbol"]],"UNSTAKING {symbol}":["UNSTAKING ",["symbol"]],"Unavailable":"Unavailable","Unbacked":"Unbacked","Unbacked mint cap is exceeded":"Unbacked mint cap is exceeded","Unstake now":"Unstake now","Unstake window":"Unstake window","Used as collateral":"Used as collateral","User cannot withdraw more than the available balance":"User cannot withdraw more than the available balance","User did not borrow the specified currency":"User did not borrow the specified currency","User does not have outstanding stable rate debt on this reserve":"User does not have outstanding stable rate debt on this reserve","User does not have outstanding variable rate debt on this reserve":"User does not have outstanding variable rate debt on this reserve","User is in isolation mode":"User is in isolation mode","User is trying to borrow multiple assets including a siloed one":"User is trying to borrow multiple assets including a siloed one","Utilization Rate":"Utilization Rate","VOTE NAY":"VOTE NAY","VOTE YAE":"VOTE YAE","Variable":"Variable","Variable debt supply is not zero":"Variable debt supply is not zero","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.","Version 2":"Version 2","Version 3":"Version 3","View contract":"View contract","View details":"View details","View on Explorer":"View on Explorer","Vote":"Vote","Vote NAY":"Vote NAY","Vote YAE":"Vote YAE","Voting power":"Voting power","Voting results":"Voting results","Wallet balance":"Wallet balance","Wallet not detected. Connect or install wallet and retry":"Wallet not detected. Connect or install wallet and retry","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.","We couldn't find any asset matching your search. Try again with a different asset name, symbol, or address.":"We couldn't find any asset matching your search. Try again with a different asset name, symbol, or address.","We couldn’t detect a wallet. Connect a wallet to stake.":"We couldn’t detect a wallet. Connect a wallet to stake.","We suggest you go back to the Dashboard.":"We suggest you go back to the Dashboard.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.","Why do I need to approve?":"Why do I need to approve?","With a voting power of <0/>":"With a voting power of <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more","Withdraw":"Withdraw","Withdraw {symbol}":["Withdraw ",["symbol"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Withdrawing this amount will reduce your health factor and increase risk of liquidation.","Withdrawing {symbol}":["Withdrawing ",["symbol"]],"Wrong Network":"Wrong Network","YAE":"YAE","You are entering Isolation mode":"You are entering Isolation mode","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"You can not change Interest Type to stable as your borrowings are higher than your collateral","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"You can not switch usage as collateral mode for this currency, because it will cause collateral call","You can not use this currency as collateral":"You can not use this currency as collateral","You can not withdraw this amount because it will cause collateral call":"You can not withdraw this amount because it will cause collateral call","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.","You can report incident to our <0>Discord or <1>Github.":"You can report incident to our <0>Discord or <1>Github.","You cancelled the transaction.":"You cancelled the transaction.","You did not participate in this proposal":"You did not participate in this proposal","You do not have supplies in this currency":"You do not have supplies in this currency","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.","You have not borrow yet using this currency":"You have not borrow yet using this currency","You switched to {0} rate":["You switched to ",["0"]," rate"],"You unstake here":"You unstake here","You voted {0}":["You voted ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"You will exit isolation mode and other tokens can now be used as collateral","You {action} <0/> {symbol}":["You ",["action"]," <0/> ",["symbol"]],"Your borrows":"Your borrows","Your current loan to value based on your collateral supplied.":"Your current loan to value based on your collateral supplied.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.","Your info":"Your info","Your reward balance is 0":"Your reward balance is 0","Your supplies":"Your supplies","Your voting info":"Your voting info","Your {name} wallet is empty. Purchase or transfer assets or use <0>{0} to transfer your {network} assets.":["Your ",["name"]," wallet is empty. Purchase or transfer assets or use <0>",["0"]," to transfer your ",["network"]," assets."],"Your {name} wallet is empty. Purchase or transfer assets.":["Your ",["name"]," wallet is empty. Purchase or transfer assets."],"Your {networkName} wallet is empty. Get free test assets at":["Your ",["networkName"]," wallet is empty. Get free test assets at"],"Your {networkName} wallet is empty. Get free test {0} at":["Your ",["networkName"]," wallet is empty. Get free test ",["0"]," at"],"Zero address not valid":"Zero address not valid","assets":"assets","blocked activities":"blocked activities","copy the error":"copy the error","documentation":"documentation","ends":"ends","here.":"here.","is an asset affected by rebasing. Visit the":"is an asset affected by rebasing. Visit the","of":"of","on":"on","or":"or","please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.","repaid":"repaid","staking view":"staking view","to learn more.":"to learn more.","tokens is not the same as staking them. If you wish to stake your":"tokens is not the same as staking them. If you wish to stake your","tokens, please go to the":"tokens, please go to the","withdrew":"withdrew","{0}":[["0"]],"{0} Balance":[["0"]," Balance"],"{0} Faucet":[["0"]," Faucet"],"{d}d":[["d"],"d"],"{h}h":[["h"],"h"],"{m}m":[["m"],"m"],"{networkName} Faucet":[["networkName"]," Faucet"],"{s}s":[["s"],"s"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file diff --git a/src/locales/en/messages.po b/src/locales/en/messages.po index 6add087262..b58413aeb9 100644 --- a/src/locales/en/messages.po +++ b/src/locales/en/messages.po @@ -17,6 +17,10 @@ msgstr "" msgid "<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more." msgstr "<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more." +#: src/components/transactions/Borrow/BorrowModalContent.tsx +msgid "<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates." +msgstr "<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates." + #: src/modules/staking/StakingHeader.tsx msgid "AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol." msgstr "AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol." @@ -171,11 +175,6 @@ msgstr "Approving {symbol}..." msgid "Array parameters that should be equal length are not" msgstr "Array parameters that should be equal length are not" -#: src/components/transactions/Warnings/ETHBorrowWarning.tsx -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more." -msgstr "As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more." - #: src/modules/faucet/FaucetAssetsList.tsx #: src/modules/markets/AssetsList.tsx msgid "Asset" @@ -255,6 +254,10 @@ msgstr "Available to borrow" msgid "Available to supply" msgstr "Available to supply" +#: pages/404.page.tsx +msgid "Back to Dashboard" +msgstr "Back to Dashboard" + #: src/components/transactions/AssetInput.tsx #: src/components/transactions/ClaimRewards/ClaimRewardsModalContent.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx @@ -381,6 +384,10 @@ msgstr "Can be collateral" msgid "Can be executed" msgstr "Can be executed" +#: src/modules/markets/AssetListTitle.tsx +msgid "Cancel" +msgstr "Cancel" + #: src/components/transactions/Emode/EmodeModalContent.tsx msgid "Cannot disable E-Mode" msgstr "Cannot disable E-Mode" @@ -498,6 +505,10 @@ msgstr "Cooling down..." msgid "Copy address" msgstr "Copy address" +#: pages/500.page.tsx +msgid "Copy error message" +msgstr "Copy error message" + #: src/components/transactions/FlowCommons/Error.tsx msgid "Copy error text" msgstr "Copy error text" @@ -527,6 +538,10 @@ msgstr "Dark mode" msgid "Dashboard" msgstr "Dashboard" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Data couldn't be fetched, please reload graph." +msgstr "Data couldn't be fetched, please reload graph." + #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListMobileItem.tsx msgid "Debt" @@ -545,8 +560,8 @@ msgid "Debt ceiling is not zero" msgstr "Debt ceiling is not zero" #: src/components/caps/DebtCeilingStatus.tsx -msgid "Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD." -msgstr "Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD." +msgid "Debt ceiling limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD." +msgstr "Debt ceiling limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD." #: src/components/infoModalContents/RetryWithApprovalInfoContent.tsx msgid "Define Retry with Approval text" @@ -617,14 +632,18 @@ msgstr "Disconnect Wallet" msgid "Discord" msgstr "Discord" +#: pages/500.page.tsx +msgid "Discord channel" +msgstr "Discord channel" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Swap/SwapModalContent.tsx msgid "Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions" msgstr "Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions" -#: src/components/transactions/Warnings/HarmonyWarning.tsx -msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}" -msgstr "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market." +msgstr "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market." #: src/modules/dashboard/DashboardEModeButton.tsx msgid "E-Mode" @@ -810,6 +829,10 @@ msgstr "I acknowledge the risks involved." msgid "I understand how cooldown ({0}) and unstaking ({1}) work" msgstr "I understand how cooldown ({0}) and unstaking ({1}) work" +#: pages/500.page.tsx +msgid "If the error continues to happen,<0/> you may report it to this" +msgstr "If the error continues to happen,<0/> you may report it to this" + #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx msgid "If the health factor goes below 1, the liquidation of your collateral might be triggered." msgstr "If the health factor goes below 1, the liquidation of your collateral might be triggered." @@ -838,6 +861,10 @@ msgstr "Inconsistent flashloan parameters" msgid "Interest rate rebalance conditions were not met" msgstr "Interest rate rebalance conditions were not met" +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "Interest rate strategy" +msgstr "Interest rate strategy" + #: src/ui-config/errorMapping.tsx msgid "Invalid amount to burn" msgstr "Invalid amount to burn" @@ -878,6 +905,10 @@ msgstr "Isolated Debt Ceiling" msgid "Isolated assets have limited borrowing power and other assets cannot be used as collateral." msgstr "Isolated assets have limited borrowing power and other assets cannot be used as collateral." +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Join the community discussion" +msgstr "Join the community discussion" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Language" msgstr "Language" @@ -889,6 +920,7 @@ msgstr "Language" #: src/components/transactions/StakeCooldown/StakeCooldownModalContent.tsx #: src/components/transactions/Warnings/BorrowCapWarning.tsx #: src/components/transactions/Warnings/DebtCeilingWarning.tsx +#: src/components/transactions/Warnings/MarketWarning.tsx #: src/components/transactions/Warnings/SupplyCapWarning.tsx #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx #: src/modules/reserve-overview/ReserveConfiguration.tsx @@ -938,6 +970,10 @@ msgstr "Liquidation threshold" msgid "Liquidation value" msgstr "Liquidation value" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Loading data..." +msgstr "Loading data..." + #: src/ui-config/errorMapping.tsx msgid "Ltv validation failed" msgstr "Ltv validation failed" @@ -1047,6 +1083,11 @@ msgstr "New APY" msgid "No rewards to claim" msgstr "No rewards to claim" +#: src/modules/markets/AssetsList.tsx +#: src/modules/markets/AssetsList.tsx +msgid "No search results for" +msgstr "No search results for" + #: src/components/transactions/GovVote/GovVoteModalContent.tsx msgid "No voting power" msgstr "No voting power" @@ -1117,6 +1158,10 @@ msgstr "Oracle price" msgid "Overview" msgstr "Overview" +#: pages/404.page.tsx +msgid "Page not found" +msgstr "Page not found" + #: src/components/incentives/IncentivesTooltipContent.tsx msgid "Participating in this {symbol} reserve gives annualized rewards." msgstr "Participating in this {symbol} reserve gives annualized rewards." @@ -1126,13 +1171,9 @@ msgstr "Participating in this {symbol} reserve gives annualized rewards." msgid "Pending..." msgstr "Pending..." -#: src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx -msgid "Per the community, borrowing in this market is currently disabled. <0>Learn More" -msgstr "Per the community, borrowing in this market is currently disabled. <0>Learn More" - -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -msgid "Per the community, supplying in this market is currently disabled. <0>Learn More" -msgstr "Per the community, supplying in this market is currently disabled. <0>Learn More" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Per the community, the Fantom market has been frozen." +msgstr "Per the community, the Fantom market has been frozen." #: src/modules/reserve-overview/ReserveActions.tsx msgid "Please connect a wallet to view your personal information here." @@ -1230,6 +1271,14 @@ msgstr "Recipient address" msgid "Rejected connection request" msgstr "Rejected connection request" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Reload" +msgstr "Reload" + +#: pages/500.page.tsx +msgid "Reload the page" +msgstr "Reload the page" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Repay/RepayModalContent.tsx msgid "Remaining debt" @@ -1371,6 +1420,19 @@ msgstr "Since this asset is frozen, the only available actions are withdraw and msgid "Since this is a test network, you can get any of the assets if you have ETH on your wallet" msgstr "Since this is a test network, you can get any of the assets if you have ETH on your wallet" +#: pages/500.page.tsx +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Something went wrong" +msgstr "Something went wrong" + +#: pages/500.page.tsx +msgid "Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later." +msgstr "Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later." + +#: pages/404.page.tsx +msgid "Sorry, we couldn't find the page you were looking for." +msgstr "Sorry, we couldn't find the page you were looking for." + #: src/layouts/components/LanguageSwitcher.tsx msgid "Spanish" msgstr "Spanish" @@ -1670,6 +1732,14 @@ msgstr "This asset has reached its borrow cap. Nothing is available to be borrow msgid "This asset has reached its supply cap. Nothing is available to be supplied from this market." msgstr "This asset has reached its supply cap. Nothing is available to be supplied from this market." +#: src/components/infoTooltips/FrozenTooltip.tsx +msgid "This asset is frozen due to an Aave Protocol Governance decision. <0>More details" +msgstr "This asset is frozen due to an Aave Protocol Governance decision. <0>More details" + +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "This asset is frozen due to an Aave community decision. <0>More details" +msgstr "This asset is frozen due to an Aave community decision. <0>More details" + #: src/components/infoTooltips/GasTooltip.tsx msgid "This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider." msgstr "This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider." @@ -1826,7 +1896,9 @@ msgstr "User is in isolation mode" msgid "User is trying to borrow multiple assets including a siloed one" msgstr "User is trying to borrow multiple assets including a siloed one" +#: src/modules/reserve-overview/ReserveConfiguration.tsx #: src/modules/reserve-overview/ReserveTopDetails.tsx +#: src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx msgid "Utilization Rate" msgstr "Utilization Rate" @@ -1912,10 +1984,18 @@ msgstr "Wallet not detected. Connect or install wallet and retry" msgid "Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational." msgstr "Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational." +#: src/modules/markets/AssetsList.tsx +msgid "We couldn't find any asset matching your search. Try again with a different asset name, symbol, or address." +msgstr "We couldn't find any asset matching your search. Try again with a different asset name, symbol, or address." + #: pages/staking.staking.tsx msgid "We couldn’t detect a wallet. Connect a wallet to stake." msgstr "We couldn’t detect a wallet. Connect a wallet to stake." +#: pages/404.page.tsx +msgid "We suggest you go back to the Dashboard." +msgstr "We suggest you go back to the Dashboard." + #: src/components/infoTooltips/LiquidationPenaltyTooltip.tsx msgid "When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus." msgstr "When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus." @@ -2067,6 +2147,14 @@ msgstr "Your supplies" msgid "Your voting info" msgstr "Your voting info" +#: src/modules/dashboard/lists/SupplyAssetsList/WalletEmptyInfo.tsx +msgid "Your {name} wallet is empty. Purchase or transfer assets or use <0>{0} to transfer your {network} assets." +msgstr "Your {name} wallet is empty. Purchase or transfer assets or use <0>{0} to transfer your {network} assets." + +#: src/modules/dashboard/lists/SupplyAssetsList/WalletEmptyInfo.tsx +msgid "Your {name} wallet is empty. Purchase or transfer assets." +msgstr "Your {name} wallet is empty. Purchase or transfer assets." + #: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx msgid "Your {networkName} wallet is empty. Get free test assets at" msgstr "Your {networkName} wallet is empty. Get free test assets at" @@ -2075,16 +2163,11 @@ msgstr "Your {networkName} wallet is empty. Get free test assets at" msgid "Your {networkName} wallet is empty. Get free test {0} at" msgstr "Your {networkName} wallet is empty. Get free test {0} at" -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -#: src/modules/reserve-overview/ReserveActions.tsx -msgid "Your {networkName} wallet is empty. Purchase or transfer assets" -msgstr "Your {networkName} wallet is empty. Purchase or transfer assets" - #: src/ui-config/errorMapping.tsx msgid "Zero address not valid" msgstr "Zero address not valid" -#: src/modules/markets/AssetsList.tsx +#: src/modules/markets/AssetListTitle.tsx msgid "assets" msgstr "assets" @@ -2128,11 +2211,6 @@ msgstr "on" msgid "or" msgstr "or" -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -#: src/modules/reserve-overview/ReserveActions.tsx -msgid "or use <0>{0} to transfer your ETH assets." -msgstr "or use <0>{0} to transfer your ETH assets." - #: src/components/transactions/Warnings/SNXWarning.tsx msgid "please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail." msgstr "please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail." @@ -2179,10 +2257,6 @@ msgstr "{0} Balance" msgid "{0} Faucet" msgstr "{0} Faucet" -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "{0} is frozen due to an Aave community decision. <0>More details" -msgstr "{0} is frozen due to an Aave community decision. <0>More details" - #: src/modules/staking/StakingPanel.tsx msgid "{d}d" msgstr "{d}d" @@ -2200,10 +2274,6 @@ msgstr "{m}m" msgid "{networkName} Faucet" msgstr "{networkName} Faucet" -#: src/components/infoTooltips/FrozenWarning.tsx -msgid "{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details" -msgstr "{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details" - #: src/modules/staking/StakingPanel.tsx msgid "{s}s" msgstr "{s}s" diff --git a/src/locales/es/messages.js b/src/locales/es/messages.js index c0de543049..12e4e251f6 100644 --- a/src/locales/es/messages.js +++ b/src/locales/es/messages.js @@ -1 +1 @@ -/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"<0>Ampleforth es un activo afectado por el rebase. Visita la <1>documentación o <2>Ampleforth's Preguntas Frecuentes para aprender más.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"Los poseedores de AAVE pueden stakear su AAVE en el Módulo de Seguridad para añadir más seguridad al protocolo y ganar Incentivos de Seguridad. En el caso de un evento de déficit, hasta un 30% de tu apuesta puede ser slasheada para cubrir el déficit, proporcionando una capa adicional de protección para el protocolo.","ACTIVATE COOLDOWN":"ACTIVAR COOLDOWN","APR":"APR","APY":"APY","APY type":"Tipo APY","APY, stable":"APY, estable","APY, variable":"APY, variable","AToken supply is not zero":"El balance de AToken no es cero","Aave Governance":"Gobierno de Aave","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Aave es un protocolo completamente descentralizado y gobernado por la comunidad de los dueños de AAVE token. Los dueños de token AAVE pueden votar por nuevas propuestas o delegar los votos a una dirección de su elección. Para aprender más revisa la documentación de Gobierno","Aave per month":"Aave por mes","Account":"Cuenta","Action cannot be performed because the reserve is frozen":"No se puede realizar la acción porque la reserva está congelada","Action cannot be performed because the reserve is paused":"No se puede realizar la acción porque la reserva está pausada","Action requires an active reserve":"La acción requiere una reserva activa","Add to wallet":"Añadir a la cartera","Add {0} to wallet to track your balance.":["Añade ",["0"]," a tu cartera para hacer un seguimiento del balance."],"Address is not a contract":"La dirección no es un contrato","All Assets":"Todos los activos","All done!":"¡Todo listo!","All proposals":"Todas las propuestas","Allowance required action":"Acción de permiso requerida","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Te permite decidir si utilizar un activo suministrado como garantía. Un activo utilizado como garantía afectará a tu poder de préstamo y factor de salud.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Te permite cambiar entre tasas de interés <0>variables y <1>estables, donde la tasa variable puede aumentar o disminuir según la cantidad de liquidez en la reserva, y la tasa estable permanecerá igual durante la duración de tu préstamo.","Already on cooldown":"Ya en cooldown","Amount":"Cantidad","Amount must be greater than 0":"La cantidad debe ser mayor que 0","Ampleforth FAQ":"Preguntas frecuentes Ampleforth","Approval":"Aprobación","Approve confirmed":"Aprobación confirmada","Approve to continue":"Aprobar para continuar","Approved":"Aprobado","Approving {symbol}...":["Aprobando ",["symbol"],"..."],"Array parameters that should be equal length are not":"Los parámetros del array que deberían ser iguales en longitud no lo son","As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.":"As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.","Asset":"Activo","Asset can only be used as collateral in isolation mode only.":"El activo solo puede usarse como garantía en el Isolation mode únicamente.","Asset cannot be used as collateral.":"El activo no puede usarse como garantía.","Asset category":"Categoría de activos","Asset is not borrowable in isolation mode":"El activo no se puede pedir prestado en isolation mode","Asset is not listed":"El activo no está listado","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"El suministro de activos está limitado a una cierta cantidad para reducir la exposición del protocolo a este activo y ayudar a manejar los riesgos implicados.","Asset to delegate":"Activos a delegar","Assets":"Activos","Assets to borrow":"Activos a pedir prestado","Assets to supply":"Activos a suministrar","Author":"Autor","Available":"Disponible","Available assets":"Activos disponibles","Available liquidity":"Liquidez disponible","Available rewards":"Recompensas disponibles","Available to borrow":"Disponible para pedir prestado","Available to supply":"Disponible para suministrar","Balance":"Balance","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Ten cuidado - Estás muy cerca de la liquidación. Considera depositar más garantía o pagar alguno de tus préstamos","Before supplying":"Antes de suministrar","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Antes de suministrar, necesitas aprobar su uso por el protocolo de Aave. Puedes aprender más en nuestras <0>preguntas frecuentes","Blocked Address":"Dirección bloqueada","Borrow":"Tomar prestado","Borrow APY rate":"Tasa de interés de préstamo APY","Borrow APY, stable":"Interés de préstamo APY, estable","Borrow APY, variable":"Interés de préstamo APY, variable","Borrow and repay in same block is not allowed":"Tomar prestado y pagar en el mismo bloque no está permitido","Borrow cap":"Límite del préstamo","Borrow cap is exceeded":"El límite del préstamo se ha sobrepasado","Borrow power used":"Capacidad de préstamo utilizada","Borrow {symbol}":["Prestado ",["symbol"]],"Borrowed":"Prestado","Borrowing is currently unavailable for {0}.":["Tomar prestado no está disponible actualmente para ",["0"],"."],"Borrowing is not enabled":"Tomar prestado no está habilitado","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Tomar prestado no está disponible porque estás usando el Isolation mode. Para administrar el Isolation mode, visita tu <0>Panel de control.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"Tomar prestado no está disponible porque has habilitado el Efficiency Mode (E-Mode) en el Isolation mode. Para administrar el E-Mode y el Isolation Mode, visita tu <0>Panel de control.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["Tomar prestado no está disponible porque has habilitado el Efficieny Mode (E-Mode) para la categoría ",["0"],". Para manejar las categorías del E-Mode visita tu <0>Panel de control."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Tomar prestado este activo está limitado a una cierta cantidad para minimizar la insolvencia del fondo de liquidez.","Borrowing power and assets are limited due to Isolation mode.":"La capacidad de préstamo y los activos están limitados debido al Isolation mode.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Tomar prestado esta cantidad reducirá tu factor de salud y aumentará el riesgo de liquidación.","Borrowing {symbol}":["Tomando prestado ",["symbol"]],"CLAIM {symbol}":["RECLAMAR ",["symbol"]],"CLAIMING {symbol}":["RECLAMANDO ",["symbol"]],"Can be collateral":"Puede ser garantía","Can be executed":"Puede ser ejecutado","Cannot disable E-Mode":"No se puede deshabilitar E-Mode","Cap reached. Lower supply amount":"Límite alcanzado. Menos cantidad de suministro","Claim":"Reclamar","Claim AAVE":"Reclamar AAVE","Claim all":"Reclamar todo","Claim all rewards":"Reclamar todas las recompensas","Claim {0}":["Reclamar ",["0"]],"Claimable AAVE":"AAVE Reclamable","Claimed":"Reclamado","Claiming":"Reclamando","Close":"Cerrar","Collateral":"Garantía","Collateral amount to repay with":"Cantidad de garantía a pagar con","Collateral is (mostly) the same currency that is being borrowed":"La garantía es (en su mayoría) el mismo activo que se está tomando prestado","Collateral usage":"Uso de la garantía","Collateral usage is limited because of Isolation mode.":"El uso de garantías está limitado debido al Isolation mode.","Collateral usage is limited because of isolation mode. <0>Learn More":"El uso como garantía está limitado debido al isolation mode. <0>Más información","Collateralization":"Colateralización","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Conectar cartera","Cooldown period":"Periodo de cooldown","Cooldown period warning":"Advertencia periodo de cooldown","Cooldown time left":"Periodo restante de cooldown","Cooldown to unstake":"Cooldown para undstakear","Cooling down...":"Cooling down...","Copy address":"Copiar dirección","Copy error text":"Copiar el texto del error","Created":"Creado","Current LTV":"LTV actual","Current differential":"Diferencial actual","Current votes":"Votos actuales","Dark mode":"Modo oscuro","Dashboard":"Panel","Debt":"Deuda","Debt amount to repay":"Cantidad de deuda a reembolsar","Debt ceiling is exceeded":"El límite de deuda está sobrepasado","Debt ceiling is not zero":"El límite de deuda no es cero","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Define reintentar con texto de aprobación","Delegate":"Delegar","Delegating":"Delegando","Delegation":"Delegación","Details":"Detalles","Developers":"Desarrolladores","Differential":"Diferencial","Disable E-Mode":"Desactivar el E-Mode","Disable testnet":"Deshabilitar testnet","Disable {symbol} as collateral":["Desactivar ",["symbol"]," como garantía"],"Disabled":"Deshabilitado","Disabling E-Mode":"Desactivando E-Mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"Deshabilitar este activo como garantía afecta tu poder de préstamo y Factor de Salud.","Disconnect Wallet":"Desconectar cartera","Discord":"Discord","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Debido a un error de precisión en el contrato stETH, este activo no se puede utilizar en transacciones de préstamo flash","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}":["Debido a una vulnerabilidad de seguridad en el puente de Horizon, ciertos activos en la red de Harmony no están en paridad con Ethereum, lo que afecta al mercado de Aave V3 Harmony. <0>",["0"],""],"E-Mode":"E-Mode","E-Mode Category":"Categoría E-Mode","E-Mode category":"Categoría del E-Mode","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"El E-Mode incrementa tu LTV hasta el 97% para una categoría seleccionada de activos. <0>Aprende más","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"El E-Mode incrementa tu LTV para una categoría seleccionada de activos hasta el <0/>. <1>Aprende más","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"El E-Mode aumenta tu LTV para una categoría seleccionada de activos, lo que significa que cuando el E-mode está habilitado, tendrás un mayor poder de préstamo sobre los activos de la misma categoría del E-mode que están definidos por el gobierno de Aave. Puedes entrar al E-Mode desde tu <0>Panel de control. Para apreneder más sobre el E-Mode y las restricciones aplicables, puedes consultar las <1>Preguntas frecuentes o el <2>Documento técnico de Aave V3.","Efficiency mode (E-Mode)":"Modo de eficiencia (E-Mode)","Emode":"Modo E","Enable E-Mode":"Habilitar E-Mode","Enable {symbol} as collateral":["Habilitar ",["symbol"]," como garantía"],"Enabled":"Habilitado","Enabled in isolation":"Habilitado en isolation","Enabling E-Mode":"Habilitar E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Habilitar el E-Mode solo te permite tomar prestado activos que pertenezcan a la categoría seleccionada. Por favor visita nuestra <0>guía de preguntas frecuentes para aprender más sobre como funciona y las restricciones que se aplican.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"Habilitar este activo como garantía aumenta tu poder préstamo y el factor de salud. Sin embargo, puede ser liquidado si tu factor de salud cae por debajo de 1.","English":"Inglés","Enter ETH address":"Introduzca la dirección ETH","Enter an amount":"Ingrese una cantidad","Error connecting. Try refreshing the page.":"Error de conexión. Intenta actualizar la página.","Executed":"Ejecutado","Expires":"Caduca","FAQ":"Preguntas frecuentes","Faucet":"Faucet","Faucet {0}":["Faucet ",["0"]],"Filter":"Filtro","For repayment of a specific type of debt, the user needs to have debt that type":"Para el pago de un tipo específico de deuda, el usuario necesita tener una deuda de ese tipo","Forum discussion":"Hilo de discusión del foro","French":"Francés","Funds in the Safety Module":"Fondos en el módulo de seguridad","Get ABP Token":"Obtener Token ABP","Github":"Github","Global settings":"Configuración global","Go Back":"Volver atrás","Go back":"Volver a atrás","Go to Balancer Pool":"Ir al pool de Balancer","Governance":"Gobernanza","Greek":"Griego","Health factor":"Factor de salud","Health factor is lesser than the liquidation threshold":"El factor de salud es menor que el umbral de liquidación","Health factor is not below the threshold":"El factor de salud no está por debajo del umbral","Hide":"Ocultar","I acknowledge the risks involved.":"Acepto los riesgos involucadros.","I understand how cooldown ({0}) and unstaking ({1}) work":["Entiendo como el cooldown (",["0"],") y el proceso de unstaking (",["1"],") funcionan"],"If the health factor goes below 1, the liquidation of your collateral might be triggered.":"Si el factor de salud se encuentra por debajo de 1, la liquidación de su colateral puede ser activada.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["Si NO unstakeas entre ",["0"]," de la ventana de unstakeo, necesitarás activar el proceso de cooldown de nuevo."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"Si tu relación préstamo-valor supera el umbral de liquidación, tu garantía puede ser liquidada.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"En E-Mode algunos activos no se pueden pedir prestados. Sal del E-Mode para obtener acceso a todos los activos","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["En el Isolation mode, no puedes suministrar otros activos como garantía. Un límite de deuda global limita la capacidad de deuda del activo aislado. Para salir del Isolation mode, deshabilita ",["0"]," como garantía antes de tomar prestado otro activo. Lee más en nuestras <0>preguntas frecuentes "],"Inconsistent flashloan parameters":"Parámetros inconsistentes del préstamo flash","Interest rate rebalance conditions were not met":"No se cumplieron las condiciones de ajuste de tasas de interés","Invalid amount to burn":"Cantidad inválida para quemar","Invalid amount to mint":"Cantidad invalidad para generar","Invalid bridge protocol fee":"Comisión de puente de protocolo inválida","Invalid expiration":"Expiración inválida","Invalid flashloan premium":"Préstamo flash inválido","Invalid return value of the flashloan executor function":"Valor de retorno inválido en la función executor del préstamo flash","Invalid signature":"Firma inválida","Isolated":"Aislado","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Los activos aislados han limitado su capacidad de préstamo y otros activos no pueden ser usados como garantía.","Language":"Idioma","Learn more":"Más información","Learn more about risks involved":"Más información sobre los riesgos involucrados","Learn more in our <0>FAQ guide":"Más información en nuestra guía <0>Preguntas frecuentes","Links":"Enlaces","Liquidation <0/> threshold":"Umbral <0/> de liquidación","Liquidation at":"Liquidación en","Liquidation penalty":"Penalización de liquidación","Liquidation risk":"Riesgo de liquidación","Liquidation risk parameters":"Parámetros de riesgo de liquidación","Liquidation threshold":"Umbral de liquidación","Liquidation value":"Valor de liquidación","Ltv validation failed":"La validación del LTV ha fallado","MAX":"MAX","Market":"Mercado","Markets":"Mercados","Max":"Max","Max LTV":"LTV máximo","Max slashing":"Max slashing","Max slippage rate":"Tasa de deslizamiento máxima","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["La cantidad máxima disponible para tomar prestado contra este activo está limitada porque el límite de deuda está al ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"La cantidad máxima disponible para tomar prestado está limitada porque casi se ha alcanzado el límite de préstamo del protocolo.","Maximum amount available to supply is <0/> {0} (<1/>).":["La cantidad máxima disponible para suministrar es <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["La cantidad máxima disponible para suministrar está limitada porque el límite de suministro del protocolo está al ",["0"],"%."],"Maximum loan to value":"Máxima relación préstamo-valor","Menu":"Menú","Minimum received":"Mínimo recibido","More":"Más","NAY":"NO","Need help connecting a wallet? <0>Read our FAQ":"¿Necesitas ayuda para conectar una cartera? <0>Lee nuestras preguntas frecuentes","Net APR":"APR Neto","Net APY":"APY neto","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"El APY neto es el efecto combinado de todos los suministros y préstamos sobre total, incluidos los incentivos. Es posible tener un APY neto negativo si el APY de la deuda es mayor que el APY de suministro.","Net worth":"Valor neto","Network":"Red","Network not supported for this wallet":"Red no soportada para esta cartera","New APY":"Nuevo APY","No rewards to claim":"No hay recompensas para reclamar","No voting power":"Sin poder de voto","None":"Ninguno","Not a valid address":"Dirección no válida","Not enough balance on your wallet":"No hay suficiente saldo en tu cartera","Not enough collateral to repay this amount of debt with":"No hay suficiente garantía para pagar esta cantidad de deuda con","Not enough staked balance":"No hay suficiente saldo apostado","Not enough voting power to participate in this proposal":"No hay suficiente poder de voto para participar en esta propuesta","Not reached":"No alcanzado","Nothing borrowed yet":"Nada prestado aún","Nothing staked":"Nada invertido","Nothing supplied yet":"Nada suministrado aún","Notify":"Notificar","Ok, Close":"Vale, cerrar","Ok, I got it":"Vale, lo tengo","Operation not supported":"Operación no soportada","Oracle price":"Precio del oráculo","Overview":"Resumen","Participating in this {symbol} reserve gives annualized rewards.":["Participar en esta reserva de ",["symbol"]," da recompensas anuales."],"Pending...":"Pendiente...","Per the community, borrowing in this market is currently disabled. <0>Learn More":"Por la comunidad, tomar prestado en este mercado está deshabilitado actualmente. <0>Más información","Per the community, supplying in this market is currently disabled. <0>Learn More":"Por la comunidad, suministrar en este mercado está deshabilitado actualmente. <0>Más información","Please connect a wallet to view your personal information here.":"Por favor conecta una billetera para ver tu información personal aquí.","Please connect your wallet to get free testnet assets.":"Por favor conecta tu cartera para obtener activos testnet gratis.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Por favor, conecte su billetera para ver sus suministros, préstamos y posiciones abiertas.","Please switch to {networkName}.":["Por favor, cambie a ",["networkName"],"."],"Please, connect your wallet":"Por favor, conecte su billetera","Pool addresses provider is not registered":"La dirección del proveedor del pool no esta registrada","Price impact":"Impacto del precio","Proposal details":"Detalles de la propuesta","Proposal overview":"Resumen de la propuesta","Proposals":"Propuestas","Proposition power":"Poder de proposición","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"El límite de préstamo del protocolo está al 100% para este activo. No es posible tomar más prestado.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"El límite de préstamo del protocolo está al 100% para este activo. No es posible tomar más prestado.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"El límite de deuda del protocolo está al 100% para este activo. No es posible tomar más prestado usando este activo como garantía.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"El límite de deuda del protocolo está al 100% para este activo. No es posible tomar más prestado usando este activo como garantía.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"El límite de suministro del protocolo está al 100% para este activo. No es posible suministrar más.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"El límite de suministro del protocolo está al 100% para este activo. No es posible suministrar más.","Quorum":"Quorum","Raw-Ipfs":"Raw-Ipfs","Reached":"Alcanzado","Received":"Recibido","Recipient address":"Dirección del destinatario","Rejected connection request":"Solicitud de conexión rechazada","Remaining debt":"Deuda restante","Remaining supply":"Suministro restante","Repay":"Reembolso","Repay with":"Reembolsar en","Repay {symbol}":["Reembolsar ",["symbol"]],"Repaying {symbol}":["Reembolsando ",["symbol"]],"Reserve Size":"Tamaño de la reserva","Reserve factor":"Factor de reserva","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["El factor de reserva es un porcentaje de interés que va a un ",["0"]," que es controlado por el gobierno de Aave para promover el crecimiento del ecosistema."],"Reserve status & configuration":"Configuración y estado de la reserva","Retry What?":"¿Reintentar qué?","Retry with Approval":"Reintentar con aprobación","Retry with approval":"Reintentar con aprobación","Review approval tx details":"Revisa los detalles del approve","Review tx":"Revisión tx","Review tx details":"Revisar detalles de la tx","Reward(s) to claim":"Recompensa(s) por reclamar","Rewards APR":"APR de recompensas","Risk details":"Detalles de riesgo","SEE CHARTS":"VER GRÁFICOS","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Seguridad de su garantía depositada contra los activos prestados y su valor subyacente.","Seatbelt report":"Reporte de seatbelt","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"Parece que no podemos cambiar la red automáticamente. Por favor, compruebe si puede cambiarla desde la billetera.","Select":"Selecciona","Select APY type to switch":"Seleccione el tipo APY para cambiar","Select language":"Seleccionar idioma","Select token to add":"Selecciona token para añadir","Select token to view in block explorer":"Selecciona token para ver en el explorador de bloques","Setup notifications about your Health Factor using the Hal app.":"Configura notificaciones sobre tu factor de salud usando la aplicación Hal.","Share on twitter":"Compartir en twitter","Show":"Mostrar","Show assets with 0 balance":"Mostrar activos con 0 saldo","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Dado que este activo está congelado, las únicas acciones disponibles son retirar y pagar, a las que se puede acceder desde el <0>Panel de control","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Puesto que esta es una red de pruebas, puedes obtener cualquiera de los activos si tienes ETH en tu cartera","Spanish":"Español","Stable":"Estable","Stable Interest Type is disabled for this currency":"Tipo de interés estable está deshabilitado para esta moneda","Stable borrowing is enabled":"El préstamo estable no está habilitado","Stable borrowing is not enabled":"El préstamo estable no está habilitado","Stable debt supply is not zero":"El balance de deuda estable no es cero","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"La tasa de interés estable <0>permanecerá igual durante la duración de su préstamo. Está recomendado para los períodos de préstamo a largo plazo y para los usuarios que prefieren la previsibilidad.","Stablecoin":"Stablecoin","Stake":"Stakear","Stake AAVE":"Stakea AAVE","Stake ABPT":"Stakea ABPT","Stake cooldown activated":"Cooldown de stakeo activado","Staked":"Stakeado","Staking":"Staking","Staking APR":"Staking APR","Started":"Iniciado","State":"Estado","Supplied":"Suministrado","Supply":"Suministro","Supply APY":"Suministrar APY","Supply apy":"Apy de suministro","Supply balance":"Balance de suministro","Supply cap is exceeded":"El límite de suministro se ha sobrepasado","Supply cap on target reserve reached. Try lowering the amount.":"Se ha alcanzado el límite de suministro en la reserva especificada. Prueba reduciendo la cantidad.","Supply {symbol}":["Suministrar ",["symbol"]],"Supplying your":"Suministrando tu","Supplying {symbol}":["Suministrando ",["symbol"]],"Swap":"Intercambiar","Swapped":"Intercambiado","Swapping":"Intercambiando","Switch APY type":"Cambiar el tipo de APY","Switch E-Mode":"Cambiar E-Mode","Switch E-Mode category":"Cambiar la categoría del E-Mode","Switch Network":"Cambiar de red","Switch rate":"Tasa de cambio","Switching E-Mode":"Cambiando E-Mode","Switching rate":"Tasa de cambio","Test Assets":"Activos de prueba","Testnet mode":"Testnet mode","Testnet mode is ON":"Testnet mode está ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"El % de tu poder de préstamo total utilizado. Esto se basa en la cantidad de tu garantía suministrada y la cantidad total que puedes pedir prestado.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"El Aave Balancer Pool Token (ABPT) es un token del pool de liquidez. Puedes recibir ABPT depositando una combinación de AAVE + ETH en el pool de liquidez de Balancer. Luego puedes stakear tus BPT en el módulo de seguridad para asegurar el protocolo y ganar incentivos de seguridad.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"El ratio LTV máximo representa el poder de endeudamiento máximo de una garantía específica. Por ejemplo, si una garantía tiene un LTV del 75 %, el usuario puede pedir prestado hasta 0,75 ETH en la moneda principal por cada 1 ETH de garantía.","The Stable Rate is not enabled for this currency":"La tasa estable no está habilitada para este activo","The address of the pool addresses provider is invalid":"La dirección del proveedor del grupo de direcciones no es válida","The app is running in testnet mode. Learn how it works in":"La aplicación se está ejecutando en testnet mode. Aprende como funciona en","The caller of the function is not an AToken":"El llamador de la función no es un AToken","The caller of this function must be a pool":"La función debe ser llamada por un pool","The collateral balance is 0":"El balance de garantía es 0","The collateral chosen cannot be liquidated":"La garantía elegida no puede ser liquidada","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"El periodo de cooldown es el tiempo requerido antes de unstakear tus tokens (10 días). Solo puedes retirar tus activos desde el Modulo de Seguridad después del periodo de cooldown y entre la ventana activa de unstakeo.<0>Aprende más","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["El periodo de cooldown es ",["0"],". Después ",["1"]," del cooldown, entrarás a la ventana de unstakeo de ",["2"],". Continuarás recibiendo premios durante el cooldown y la ventana de unstakeo."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"Los efectos en el factor de salud podrían causar liquidación. Intenta reducir la cantidad.","The requested amount is greater than the max loan size in stable rate mode":"La cantidad solicitada es mayor que el tamaño máximo del préstamo en el modo de tasa estable","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"La cantidad total de sus activos denominados en USD que pueden ser usados como garantía para activos de préstamo.","The underlying asset cannot be rescued":"El activo base no puede ser rescatado","The underlying balance needs to be greater than 0":"El balance subyacente debe ser mayor que 0","The weighted average of APY for all borrowed assets, including incentives.":"El promedio ponderado de APY para todos los activos prestados, incluidos los incentivos.","The weighted average of APY for all supplied assets, including incentives.":"El promedio ponderado de APY para todos los activos suministrados, incluidos los incentivos.","There are not enough funds in the{0}reserve to borrow":["No hay fondos suficientes en la reserva",["0"],"para pedir préstamos"],"There is not enough collateral to cover a new borrow":"No hay suficiente garantía para cubrir un nuevo préstamo","There was some error. Please try changing the parameters or <0><1>copy the error":"Hubo un error. Por favor intenta cambiar los parámetros o <0><1>copiar el error","These funds have been borrowed and are not available for withdrawal at this time.":"Estos fondos han sido prestados y no están disponibles para su retirada en este momento.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"Esta acción reducirá tu factor de salud. Por favor ten en cuenta el riesgo incrementado de liquidación de la garantía.","This address is blocked on app.aave.com because it is associated with one or more":"Esta dirección está bloqueada en app.aave.com porque está asociada con una o más","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["Este activo casi ha alcanzado su límite de préstamo. Solo hay ",["messageValue"]," disponibles para ser prestado de este mercado."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["Este activo casi ha alcanzado su límite de suministro. Sólo puede ofrecerse ",["messageValue"]," a este mercado."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"Este activo ha alcanzado su límite de préstamo. No queda nada disponible para ser prestado de este mercado.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"Este activo ha alcanzado su límite de suministro. No queda nada disponible para ser suministrado desde este mercado.","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"Este cálculo de gas es solo una estimación. Tu cartera establecerá el precio de la transacción. Puedes modificar la configuración de gas directamente desde tu proveedor de cartera.","This integration was<0>proposed and approvedby the community.":"Esta integración fue<0>propuesta y aprobadapor la comunidad.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"Esta es la cantidad total disponible que puedes tomar prestada. Puedes tomar prestado basado en tu garantía y hasta que el límite de préstamo se alcance.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"Esta es la cantidad total a la que puede suministrar en esta reserva. Puede proporcionar el saldo de su billetera hasta que se alcance el límite de suministro.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"Esto representa el umbral en el que un préstamo será considerado sin garantía suficiente y sujeto a la liquidación de la misma. Por ejemplo, si una garantía tiene un umbral de liquidación del 80 %, significa que el préstamo será liquidado cuando el valor de la deuda alcanze el 80% del valor de la garantía.","Time left to be able to withdraw your staked asset.":"Tiempo restante para poder retirar tu activo stakeado.","Time left to unstake":"Tempo restante para unstakear","Time left until the withdrawal window closes.":"Tiempo restante hasta que se cierre la ventana de retiro.","To borrow you need to supply any asset to be used as collateral.":"Para tomar prestado, necesitas proporcionar cualquier activo para ser utilizado como garantía.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["Para habilitar el E-mode para la categoría ",["0"],", todas las posiciones prestadas fuera de esta categoría deben ser cerradas."],"To repay on behalf of a user an explicit amount to repay is needed":"Para pagar en nombre de un usuario, se necesita una cantidad explícita para pagar","To request access for this permissioned market, please visit: <0>Acces Provider Name":"Para solicitar acceso a este mercado, porfavor visita: <0>Nombre del proveedor de acceso","Total available":"Total disponible","Total borrowed":"Total prestado","Total borrows":"Total de préstamos","Total emission per day":"Emisiones totales por día","Total market size":"Tamaño total del mercado","Total supplied":"Total suministrado","Total voting power":"Poder total de votación","Total worth":"Valor total","Transaction failed":"Error en la transacción","Transaction overview":"Resumen de la transacción","Type of delegation":"Tipo de delegación","UNSTAKE {symbol}":["UNSTAKEAR ",["symbol"]],"UNSTAKING {symbol}":["UNSTAKING ",["symbol"]],"Unavailable":"No disponible","Unbacked":"No respaldado","Unbacked mint cap is exceeded":"El límite de minteo sin respaldo ha sido excedido","Unstake now":"Unstakea ahora","Unstake window":"Ventana de unstakeo","Used as collateral":"Utilizado como garantía","User cannot withdraw more than the available balance":"El usuario no puede retirar más que el balance disponible","User did not borrow the specified currency":"El usuario no tomó prestado el activo especificado","User does not have outstanding stable rate debt on this reserve":"El usuario no tiene deuda pendiente de tasa estable en esta reserva","User does not have outstanding variable rate debt on this reserve":"El usuario no tiene deuda pendiente de tasa variable en esta reserva","User is in isolation mode":"El usuario está en Isolation mode","User is trying to borrow multiple assets including a siloed one":"El usuario está intentando tomar prestado múltiples activos incluido uno aislado","Utilization Rate":"Tasa de uso","VOTE NAY":"VOTAR NO","VOTE YAE":"VOTAR SI","Variable":"Variable","Variable debt supply is not zero":"El suministro de deuda variable no es cero","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"La tasa de interés variable <0>fluctuará según las condiciones del mercado. Recomendado para posiciones a corto plazo.","Version 2":"Versión 2","Version 3":"Versión 3","View contract":"Ver contrato","View details":"Ver detalles","View on Explorer":"Ver en el explorador","Vote":"Votar","Vote NAY":"Votar NO","Vote YAE":"Votar SI","Voting power":"Poder de votación","Voting results":"Resultados de la votación","Wallet balance":"Saldo de la cartera","Wallet not detected. Connect or install wallet and retry":"Cartera no detectada. Conecta o instala el monedero y vuelve a intentarlo","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Las carteras son proporcionadas por proveedores externos y al seleccionarla, aceptas los términos de dichos proveedores. Tu acceso a la cartera podría depender de que el proveedor externo esté operativo.","We couldn’t detect a wallet. Connect a wallet to stake.":"No podemos detectar una cartera. Conecta una cartera para invertir.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"Cuando ocurre una liquidación, los liquidadores pagan hasta el 50% de la cantidad pendiente del préstamo en nombre del prestatario. A cambio, pueden comprar la garantía con descuento y quedarse con la diferencia (sanción de liquidación) como bonificación.","Why do I need to approve?":"¿Por qué necesito aprobarlo?","With a voting power of <0/>":"Con un poder de votación de <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"Con la testnet Faucet puedes obtener activos gratuitos para probar el Protocolo Aave. Asegúrate de cambiar tu proveedor de cartera a la red de testnet adecuada, selecciona el activo deseado y haz clic en \"Faucet\" para obtener tokens transferidos a tu cartera. Los activos de una testnet no son \"reales\", lo que significada que no tienen valor monetario. <0>Más información","Withdraw":"Retirar","Withdraw {symbol}":["Retirar ",["symbol"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Retirar esta cantidad reducirá tu factor de salud y aumentará el riesgo de liquidación.","Withdrawing {symbol}":["Retirando ",["symbol"]],"Wrong Network":"Red incorrecta","YAE":"YAE","You are entering Isolation mode":"Estás entrando en el Isolation mode","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"Puedes pedir prestado este activo con una tasa estable solo si pides prestado más de la cantidad que estás proporcionando como garantía.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"No puede cambiar el Tipo de Interés a estable, ya que sus préstamos son más altos que su garantía","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"No puedes desactivar el E-Mode, ya que tu nivel actual de garantía está por encima del 80%, desactivar el E-Mode puede causar liquidación. Para salir del E-Mode proporciona o pagas las posiciones prestadas.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"No puedes cambiar el uso como modo de garantía para este activo, porque causará una liquidación","You can not use this currency as collateral":"No puedes usar este activo como garantía","You can not withdraw this amount because it will cause collateral call":"No puedes retirar esta cantidad porque causará una liquidación","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"Solo puedes retirar tus activos del Módulo de Seguridad después de que finalice el período de cooldown y la ventana de unstakeo esté activa.","You can report incident to our <0>Discord or <1>Github.":"Puedes reportar un incidente a nuestro <0>Discord o <1>Github.","You cancelled the transaction.":"Has cancelado la transacción.","You did not participate in this proposal":"No has participado en esta propuesta","You do not have supplies in this currency":"No tienes suministros en este activo","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"No tienes suficientes fondos en tu cartera para pagar la cantidad total. Si procedes a pagar con tu cantidad actual de fondos, aún tendrás un pequeño préstamo en tu panel de control.","You have not borrow yet using this currency":"Aún no has tomado prestado usando este activo","You switched to {0} rate":["Has cambiado a tasa ",["0"]],"You unstake here":"Unstakea aquí","You voted {0}":["Has votado ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"Saldrás del modo aislamiento y otros tokens pueden ser usados ahora como garantía","You {action} <0/> {symbol}":["Tu ",["action"]," <0/> ",["symbol"]],"Your borrows":"Tus préstamos","Your current loan to value based on your collateral supplied.":"Tu actual relación préstamo-valor basado en tu garantía suministrada.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Tu factor de salud y la relación préstamo-valor determinan la seguridad de tu garantía. Para evitar liquidaciones, puedes proporcionar más garantías o pagar las posiciones de préstamo.","Your info":"Tu información","Your reward balance is 0":"Su saldo de recompensa es 0","Your supplies":"Tus suministros","Your voting info":"Tu información de voto","Your {networkName} wallet is empty. Get free test assets at":["Tu cartera ",["networkName"]," está vacía. Consigue activos de prueba gratis en"],"Your {networkName} wallet is empty. Get free test {0} at":["Tu cartera ",["networkName"]," está vacía. Consigue ",["0"]," de prueba gratis en"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Tu ",["networkName"]," cartera está vacía. Compra o transfiere activos"],"Zero address not valid":"Dirección cero no válida","assets":"activos","blocked activities":"actividades bloqueadas","copy the error":"copiar el error","documentation":"documentación","ends":"finaliza","here.":"aquí.","is an asset affected by rebasing. Visit the":"es un activo afectado por el rebase. Visita el","of":"de","on":"en","or":"o","or use <0>{0} to transfer your ETH assets.":["o usa <0>",["0"]," para transferir tus activos de ETH."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"por favor comprueba que la cantidad que deseas depositar no está siendo utilizada actualmente para stakear. Si está utilizando para stakear, tu transacción podría fallar.","repaid":"reembolsado","staking view":"vista de stakeo","to learn more.":"para obtener más información.","tokens is not the same as staking them. If you wish to stake your":"tokens no es lo mismo que stakearlos. Si deseas stakearlos","tokens, please go to the":"tokens, por favor vaya al","withdrew":"retirado","{0}":[["0"]],"{0} Balance":["Saldo ",["0"]],"{0} Faucet":[["0"]," Faucet"],"{0} is frozen due to an Aave community decision. <0>More details":[["0"]," está congelado debido a una decisión de la comunidad de Aave. <0>Más detalles"],"{d}d":[["d"],"d"],"{h}h":[["h"],"h"],"{m}m":[["m"],"m"],"{networkName} Faucet":["Faucet ",["networkName"]],"{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details":[["symbol"]," está congelado debido a una decisión del gobierno del protocolo Aave. <0>Más detalles"],"{s}s":[["s"],"s"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file +/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"<0>Ampleforth es un activo afectado por el rebase. Visita la <1>documentación o <2>Ampleforth's Preguntas Frecuentes para aprender más.","<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.":"<0>Atención: Los cambios de parámetros a través de la gobernanza pueden alterar el factor de salud de tu cuenta y el riesgo de liquidación. Sigue el <1>foro de gobierno de Aave para mantenerte actualizado.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"Los poseedores de AAVE pueden stakear su AAVE en el Módulo de Seguridad para añadir más seguridad al protocolo y ganar Incentivos de Seguridad. En el caso de un evento de déficit, hasta un 30% de tu apuesta puede ser slasheada para cubrir el déficit, proporcionando una capa adicional de protección para el protocolo.","ACTIVATE COOLDOWN":"ACTIVAR COOLDOWN","APR":"APR","APY":"APY","APY type":"Tipo APY","APY, stable":"APY, estable","APY, variable":"APY, variable","AToken supply is not zero":"El balance de AToken no es cero","Aave Governance":"Gobierno de Aave","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Aave es un protocolo completamente descentralizado y gobernado por la comunidad de los dueños de AAVE token. Los dueños de token AAVE pueden votar por nuevas propuestas o delegar los votos a una dirección de su elección. Para aprender más revisa la documentación de Gobierno","Aave per month":"Aave por mes","Account":"Cuenta","Action cannot be performed because the reserve is frozen":"No se puede realizar la acción porque la reserva está congelada","Action cannot be performed because the reserve is paused":"No se puede realizar la acción porque la reserva está pausada","Action requires an active reserve":"La acción requiere una reserva activa","Add to wallet":"Añadir a la cartera","Add {0} to wallet to track your balance.":["Añade ",["0"]," a tu cartera para hacer un seguimiento del balance."],"Address is not a contract":"La dirección no es un contrato","All Assets":"Todos los activos","All done!":"¡Todo listo!","All proposals":"Todas las propuestas","Allowance required action":"Acción de permiso requerida","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Te permite decidir si utilizar un activo suministrado como garantía. Un activo utilizado como garantía afectará a tu poder de préstamo y factor de salud.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Te permite cambiar entre tasas de interés <0>variables y <1>estables, donde la tasa variable puede aumentar o disminuir según la cantidad de liquidez en la reserva, y la tasa estable permanecerá igual durante la duración de tu préstamo.","Already on cooldown":"Ya en cooldown","Amount":"Cantidad","Amount must be greater than 0":"La cantidad debe ser mayor que 0","Ampleforth FAQ":"Preguntas frecuentes Ampleforth","Approval":"Aprobación","Approve confirmed":"Aprobación confirmada","Approve to continue":"Aprobar para continuar","Approved":"Aprobado","Approving {symbol}...":["Aprobando ",["symbol"],"..."],"Array parameters that should be equal length are not":"Los parámetros del array que deberían ser iguales en longitud no lo son","Asset":"Activo","Asset can only be used as collateral in isolation mode only.":"El activo solo puede usarse como garantía en el Isolation mode únicamente.","Asset cannot be used as collateral.":"El activo no puede usarse como garantía.","Asset category":"Categoría de activos","Asset is not borrowable in isolation mode":"El activo no se puede pedir prestado en isolation mode","Asset is not listed":"El activo no está listado","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"El suministro de activos está limitado a una cierta cantidad para reducir la exposición del protocolo a este activo y ayudar a manejar los riesgos implicados.","Asset to delegate":"Activos a delegar","Assets":"Activos","Assets to borrow":"Activos a pedir prestado","Assets to supply":"Activos a suministrar","Author":"Autor","Available":"Disponible","Available assets":"Activos disponibles","Available liquidity":"Liquidez disponible","Available rewards":"Recompensas disponibles","Available to borrow":"Disponible para pedir prestado","Available to supply":"Disponible para suministrar","Back to Dashboard":"Volver al panel de control","Balance":"Balance","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Ten cuidado - Estás muy cerca de la liquidación. Considera depositar más garantía o pagar alguno de tus préstamos","Before supplying":"Antes de suministrar","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Antes de suministrar, necesitas aprobar su uso por el protocolo de Aave. Puedes aprender más en nuestras <0>preguntas frecuentes","Blocked Address":"Dirección bloqueada","Borrow":"Tomar prestado","Borrow APY rate":"Tasa de interés de préstamo APY","Borrow APY, stable":"Interés de préstamo APY, estable","Borrow APY, variable":"Interés de préstamo APY, variable","Borrow and repay in same block is not allowed":"Tomar prestado y pagar en el mismo bloque no está permitido","Borrow cap":"Límite del préstamo","Borrow cap is exceeded":"El límite del préstamo se ha sobrepasado","Borrow power used":"Capacidad de préstamo utilizada","Borrow {symbol}":["Prestado ",["symbol"]],"Borrowed":"Prestado","Borrowing is currently unavailable for {0}.":["Tomar prestado no está disponible actualmente para ",["0"],"."],"Borrowing is not enabled":"Tomar prestado no está habilitado","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Tomar prestado no está disponible porque estás usando el Isolation mode. Para administrar el Isolation mode, visita tu <0>Panel de control.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"Tomar prestado no está disponible porque has habilitado el Efficiency Mode (E-Mode) en el Isolation mode. Para administrar el E-Mode y el Isolation Mode, visita tu <0>Panel de control.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["Tomar prestado no está disponible porque has habilitado el Efficieny Mode (E-Mode) para la categoría ",["0"],". Para manejar las categorías del E-Mode visita tu <0>Panel de control."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Tomar prestado este activo está limitado a una cierta cantidad para minimizar la insolvencia del fondo de liquidez.","Borrowing power and assets are limited due to Isolation mode.":"La capacidad de préstamo y los activos están limitados debido al Isolation mode.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Tomar prestado esta cantidad reducirá tu factor de salud y aumentará el riesgo de liquidación.","Borrowing {symbol}":["Tomando prestado ",["symbol"]],"CLAIM {symbol}":["RECLAMAR ",["symbol"]],"CLAIMING {symbol}":["RECLAMANDO ",["symbol"]],"Can be collateral":"Puede ser garantía","Can be executed":"Puede ser ejecutado","Cannot disable E-Mode":"No se puede deshabilitar E-Mode","Cap reached. Lower supply amount":"Límite alcanzado. Menos cantidad de suministro","Claim":"Reclamar","Claim AAVE":"Reclamar AAVE","Claim all":"Reclamar todo","Claim all rewards":"Reclamar todas las recompensas","Claim {0}":["Reclamar ",["0"]],"Claimable AAVE":"AAVE Reclamable","Claimed":"Reclamado","Claiming":"Reclamando","Close":"Cerrar","Collateral":"Garantía","Collateral amount to repay with":"Cantidad de garantía a pagar con","Collateral is (mostly) the same currency that is being borrowed":"La garantía es (en su mayoría) el mismo activo que se está tomando prestado","Collateral usage":"Uso de la garantía","Collateral usage is limited because of Isolation mode.":"El uso de garantías está limitado debido al Isolation mode.","Collateral usage is limited because of isolation mode. <0>Learn More":"El uso como garantía está limitado debido al isolation mode. <0>Más información","Collateralization":"Colateralización","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Conectar cartera","Cooldown period":"Periodo de cooldown","Cooldown period warning":"Advertencia periodo de cooldown","Cooldown time left":"Periodo restante de cooldown","Cooldown to unstake":"Cooldown para undstakear","Cooling down...":"Cooling down...","Copy address":"Copiar dirección","Copy error message":"Copiar mensaje de error","Copy error text":"Copiar el texto del error","Created":"Creado","Current LTV":"LTV actual","Current differential":"Diferencial actual","Current votes":"Votos actuales","Dark mode":"Modo oscuro","Dashboard":"Panel","Data couldn't be fetched, please reload graph.":"No se pudieron recuperar los datos, por favor recarga el gráfico.","Debt":"Deuda","Debt amount to repay":"Cantidad de deuda a reembolsar","Debt ceiling is exceeded":"El límite de deuda está sobrepasado","Debt ceiling is not zero":"El límite de deuda no es cero","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"La deuda limita la cantidad posible que los usuarios del protocolo pueden tomar prestado contra este activo. El límite de deuda es específico para los activos en isolation mode y se indica en USD.","Define Retry with Approval text":"Define reintentar con texto de aprobación","Delegate":"Delegar","Delegating":"Delegando","Delegation":"Delegación","Details":"Detalles","Developers":"Desarrolladores","Differential":"Diferencial","Disable E-Mode":"Desactivar el E-Mode","Disable testnet":"Deshabilitar testnet","Disable {symbol} as collateral":["Desactivar ",["symbol"]," como garantía"],"Disabled":"Deshabilitado","Disabling E-Mode":"Desactivando E-Mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"Deshabilitar este activo como garantía afecta tu poder de préstamo y Factor de Salud.","Disconnect Wallet":"Desconectar cartera","Discord":"Discord","Discord channel":"Canal de Discord","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Debido a un error de precisión en el contrato stETH, este activo no se puede utilizar en transacciones de préstamo flash","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.":"Debido al exploit del puente de Horizon, ciertos activos en la red de Harmony no están en paridad con Ethereum, lo que afecta al mercado de Harmony en Aave V3.","E-Mode":"E-Mode","E-Mode Category":"Categoría E-Mode","E-Mode category":"Categoría del E-Mode","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"El E-Mode incrementa tu LTV hasta el 97% para una categoría seleccionada de activos. <0>Aprende más","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"El E-Mode incrementa tu LTV para una categoría seleccionada de activos hasta el <0/>. <1>Aprende más","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"El E-Mode aumenta tu LTV para una categoría seleccionada de activos, lo que significa que cuando el E-mode está habilitado, tendrás un mayor poder de préstamo sobre los activos de la misma categoría del E-mode que están definidos por el gobierno de Aave. Puedes entrar al E-Mode desde tu <0>Panel de control. Para apreneder más sobre el E-Mode y las restricciones aplicables, puedes consultar las <1>Preguntas frecuentes o el <2>Documento técnico de Aave V3.","Efficiency mode (E-Mode)":"Modo de eficiencia (E-Mode)","Emode":"Modo E","Enable E-Mode":"Habilitar E-Mode","Enable {symbol} as collateral":["Habilitar ",["symbol"]," como garantía"],"Enabled":"Habilitado","Enabled in isolation":"Habilitado en isolation","Enabling E-Mode":"Habilitar E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Habilitar el E-Mode solo te permite tomar prestado activos que pertenezcan a la categoría seleccionada. Por favor visita nuestra <0>guía de preguntas frecuentes para aprender más sobre como funciona y las restricciones que se aplican.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"Habilitar este activo como garantía aumenta tu poder préstamo y el factor de salud. Sin embargo, puede ser liquidado si tu factor de salud cae por debajo de 1.","English":"Inglés","Enter ETH address":"Introduzca la dirección ETH","Enter an amount":"Ingrese una cantidad","Error connecting. Try refreshing the page.":"Error de conexión. Intenta actualizar la página.","Executed":"Ejecutado","Expires":"Caduca","FAQ":"Preguntas frecuentes","Faucet":"Faucet","Faucet {0}":["Faucet ",["0"]],"Filter":"Filtro","For repayment of a specific type of debt, the user needs to have debt that type":"Para el pago de un tipo específico de deuda, el usuario necesita tener una deuda de ese tipo","Forum discussion":"Hilo de discusión del foro","French":"Francés","Funds in the Safety Module":"Fondos en el módulo de seguridad","Get ABP Token":"Obtener Token ABP","Github":"Github","Global settings":"Configuración global","Go Back":"Volver atrás","Go back":"Volver a atrás","Go to Balancer Pool":"Ir al pool de Balancer","Governance":"Gobernanza","Greek":"Griego","Health factor":"Factor de salud","Health factor is lesser than the liquidation threshold":"El factor de salud es menor que el umbral de liquidación","Health factor is not below the threshold":"El factor de salud no está por debajo del umbral","Hide":"Ocultar","I acknowledge the risks involved.":"Acepto los riesgos involucadros.","I understand how cooldown ({0}) and unstaking ({1}) work":["Entiendo como el cooldown (",["0"],") y el proceso de unstaking (",["1"],") funcionan"],"If the error continues to happen,<0/> you may report it to this":"Si el error persiste, <0/> podrías reportarlo a esto","If the health factor goes below 1, the liquidation of your collateral might be triggered.":"Si el factor de salud se encuentra por debajo de 1, la liquidación de su colateral puede ser activada.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["Si NO unstakeas entre ",["0"]," de la ventana de unstakeo, necesitarás activar el proceso de cooldown de nuevo."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"Si tu relación préstamo-valor supera el umbral de liquidación, tu garantía puede ser liquidada.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"En E-Mode algunos activos no se pueden pedir prestados. Sal del E-Mode para obtener acceso a todos los activos","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["En el Isolation mode, no puedes suministrar otros activos como garantía. Un límite de deuda global limita la capacidad de deuda del activo aislado. Para salir del Isolation mode, deshabilita ",["0"]," como garantía antes de tomar prestado otro activo. Lee más en nuestras <0>preguntas frecuentes "],"Inconsistent flashloan parameters":"Parámetros inconsistentes del préstamo flash","Interest rate rebalance conditions were not met":"No se cumplieron las condiciones de ajuste de tasas de interés","Interest rate strategy":"Estrategia de tasa de interés","Invalid amount to burn":"Cantidad inválida para quemar","Invalid amount to mint":"Cantidad invalidad para generar","Invalid bridge protocol fee":"Comisión de puente de protocolo inválida","Invalid expiration":"Expiración inválida","Invalid flashloan premium":"Préstamo flash inválido","Invalid return value of the flashloan executor function":"Valor de retorno inválido en la función executor del préstamo flash","Invalid signature":"Firma inválida","Isolated":"Aislado","Isolated Debt Ceiling":"Límite de deuda aislado","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Los activos aislados han limitado su capacidad de préstamo y otros activos no pueden ser usados como garantía.","Join the community discussion":"Únete a la discusión de la comunidad","Language":"Idioma","Learn more":"Más información","Learn more about risks involved":"Más información sobre los riesgos involucrados","Learn more in our <0>FAQ guide":"Más información en nuestra guía <0>Preguntas frecuentes","Links":"Enlaces","Liquidation <0/> threshold":"Umbral <0/> de liquidación","Liquidation at":"Liquidación en","Liquidation penalty":"Penalización de liquidación","Liquidation risk":"Riesgo de liquidación","Liquidation risk parameters":"Parámetros de riesgo de liquidación","Liquidation threshold":"Umbral de liquidación","Liquidation value":"Valor de liquidación","Loading data...":"Cargando datos...","Ltv validation failed":"La validación del LTV ha fallado","MAX":"MAX","Market":"Mercado","Markets":"Mercados","Max":"Max","Max LTV":"LTV máximo","Max slashing":"Max slashing","Max slippage rate":"Tasa de deslizamiento máxima","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["La cantidad máxima disponible para tomar prestado contra este activo está limitada porque el límite de deuda está al ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"La cantidad máxima disponible para tomar prestado está limitada porque casi se ha alcanzado el límite de préstamo del protocolo.","Maximum amount available to supply is <0/> {0} (<1/>).":["La cantidad máxima disponible para suministrar es <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["La cantidad máxima disponible para suministrar está limitada porque el límite de suministro del protocolo está al ",["0"],"%."],"Maximum loan to value":"Máxima relación préstamo-valor","Menu":"Menú","Minimum received":"Mínimo recibido","More":"Más","NAY":"NO","Need help connecting a wallet? <0>Read our FAQ":"¿Necesitas ayuda para conectar una cartera? <0>Lee nuestras preguntas frecuentes","Net APR":"APR Neto","Net APY":"APY neto","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"El APY neto es el efecto combinado de todos los suministros y préstamos sobre total, incluidos los incentivos. Es posible tener un APY neto negativo si el APY de la deuda es mayor que el APY de suministro.","Net worth":"Valor neto","Network":"Red","Network not supported for this wallet":"Red no soportada para esta cartera","New APY":"Nuevo APY","No rewards to claim":"No hay recompensas para reclamar","No voting power":"Sin poder de voto","None":"Ninguno","Not a valid address":"Dirección no válida","Not enough balance on your wallet":"No hay suficiente saldo en tu cartera","Not enough collateral to repay this amount of debt with":"No hay suficiente garantía para pagar esta cantidad de deuda con","Not enough staked balance":"No hay suficiente saldo apostado","Not enough voting power to participate in this proposal":"No hay suficiente poder de voto para participar en esta propuesta","Not reached":"No alcanzado","Nothing borrowed yet":"Nada prestado aún","Nothing staked":"Nada invertido","Nothing supplied yet":"Nada suministrado aún","Notify":"Notificar","Ok, Close":"Vale, cerrar","Ok, I got it":"Vale, lo tengo","Operation not supported":"Operación no soportada","Oracle price":"Precio del oráculo","Overview":"Resumen","Page not found":"Página no encontrada","Participating in this {symbol} reserve gives annualized rewards.":["Participar en esta reserva de ",["symbol"]," da recompensas anuales."],"Pending...":"Pendiente...","Per the community, the Fantom market has been frozen.":"De acuerdo con la comunidad, el mercado de Fantom ha sido congelado.","Please connect a wallet to view your personal information here.":"Por favor conecta una billetera para ver tu información personal aquí.","Please connect your wallet to get free testnet assets.":"Por favor conecta tu cartera para obtener activos testnet gratis.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Por favor, conecte su billetera para ver sus suministros, préstamos y posiciones abiertas.","Please switch to {networkName}.":["Por favor, cambie a ",["networkName"],"."],"Please, connect your wallet":"Por favor, conecte su billetera","Pool addresses provider is not registered":"La dirección del proveedor del pool no esta registrada","Price impact":"Impacto del precio","Proposal details":"Detalles de la propuesta","Proposal overview":"Resumen de la propuesta","Proposals":"Propuestas","Proposition power":"Poder de proposición","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"El límite de préstamo del protocolo está al 100% para este activo. No es posible tomar más prestado.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"El límite de préstamo del protocolo está al 100% para este activo. No es posible tomar más prestado.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"El límite de deuda del protocolo está al 100% para este activo. No es posible tomar más prestado usando este activo como garantía.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"El límite de deuda del protocolo está al 100% para este activo. No es posible tomar más prestado usando este activo como garantía.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"El límite de suministro del protocolo está al 100% para este activo. No es posible suministrar más.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"El límite de suministro del protocolo está al 100% para este activo. No es posible suministrar más.","Quorum":"Quorum","Raw-Ipfs":"Raw-Ipfs","Reached":"Alcanzado","Received":"Recibido","Recipient address":"Dirección del destinatario","Rejected connection request":"Solicitud de conexión rechazada","Reload":"Recargar","Reload the page":"Recarga la página","Remaining debt":"Deuda restante","Remaining supply":"Suministro restante","Repay":"Reembolso","Repay with":"Reembolsar en","Repay {symbol}":["Reembolsar ",["symbol"]],"Repaying {symbol}":["Reembolsando ",["symbol"]],"Reserve Size":"Tamaño de la reserva","Reserve factor":"Factor de reserva","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["El factor de reserva es un porcentaje de interés que va a un ",["0"]," que es controlado por el gobierno de Aave para promover el crecimiento del ecosistema."],"Reserve status & configuration":"Configuración y estado de la reserva","Retry What?":"¿Reintentar qué?","Retry with Approval":"Reintentar con aprobación","Retry with approval":"Reintentar con aprobación","Review approval tx details":"Revisa los detalles del approve","Review tx":"Revisión tx","Review tx details":"Revisar detalles de la tx","Reward(s) to claim":"Recompensa(s) por reclamar","Rewards APR":"APR de recompensas","Risk details":"Detalles de riesgo","SEE CHARTS":"VER GRÁFICOS","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Seguridad de su garantía depositada contra los activos prestados y su valor subyacente.","Seatbelt report":"Reporte de seatbelt","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"Parece que no podemos cambiar la red automáticamente. Por favor, compruebe si puede cambiarla desde la billetera.","Select":"Selecciona","Select APY type to switch":"Seleccione el tipo APY para cambiar","Select language":"Seleccionar idioma","Select token to add":"Selecciona token para añadir","Select token to view in block explorer":"Selecciona token para ver en el explorador de bloques","Setup notifications about your Health Factor using the Hal app.":"Configura notificaciones sobre tu factor de salud usando la aplicación Hal.","Share on twitter":"Compartir en twitter","Show":"Mostrar","Show assets with 0 balance":"Mostrar activos con 0 saldo","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Dado que este activo está congelado, las únicas acciones disponibles son retirar y pagar, a las que se puede acceder desde el <0>Panel de control","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Puesto que esta es una red de pruebas, puedes obtener cualquiera de los activos si tienes ETH en tu cartera","Something went wrong":"Se produjo un error","Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.":"Lo sentimos, se produjo un error imprevisto. Mientras tanto, puedes intentar recargar la página, o volver después.","Sorry, we couldn't find the page you were looking for.":"Lo sentimos, no hemos podido encontrar la página que estabas buscando.","Spanish":"Español","Stable":"Estable","Stable Interest Type is disabled for this currency":"Tipo de interés estable está deshabilitado para esta moneda","Stable borrowing is enabled":"El préstamo estable no está habilitado","Stable borrowing is not enabled":"El préstamo estable no está habilitado","Stable debt supply is not zero":"El balance de deuda estable no es cero","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"La tasa de interés estable <0>permanecerá igual durante la duración de su préstamo. Está recomendado para los períodos de préstamo a largo plazo y para los usuarios que prefieren la previsibilidad.","Stablecoin":"Stablecoin","Stake":"Stakear","Stake AAVE":"Stakea AAVE","Stake ABPT":"Stakea ABPT","Stake cooldown activated":"Cooldown de stakeo activado","Staked":"Stakeado","Staking":"Staking","Staking APR":"Staking APR","Started":"Iniciado","State":"Estado","Supplied":"Suministrado","Supply":"Suministro","Supply APY":"Suministrar APY","Supply apy":"Apy de suministro","Supply balance":"Balance de suministro","Supply cap is exceeded":"El límite de suministro se ha sobrepasado","Supply cap on target reserve reached. Try lowering the amount.":"Se ha alcanzado el límite de suministro en la reserva especificada. Prueba reduciendo la cantidad.","Supply {symbol}":["Suministrar ",["symbol"]],"Supplying your":"Suministrando tu","Supplying {symbol}":["Suministrando ",["symbol"]],"Swap":"Intercambiar","Swapped":"Intercambiado","Swapping":"Intercambiando","Switch APY type":"Cambiar el tipo de APY","Switch E-Mode":"Cambiar E-Mode","Switch E-Mode category":"Cambiar la categoría del E-Mode","Switch Network":"Cambiar de red","Switch rate":"Tasa de cambio","Switching E-Mode":"Cambiando E-Mode","Switching rate":"Tasa de cambio","Test Assets":"Activos de prueba","Testnet mode":"Testnet mode","Testnet mode is ON":"Testnet mode está ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"El % de tu poder de préstamo total utilizado. Esto se basa en la cantidad de tu garantía suministrada y la cantidad total que puedes pedir prestado.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"El Aave Balancer Pool Token (ABPT) es un token del pool de liquidez. Puedes recibir ABPT depositando una combinación de AAVE + ETH en el pool de liquidez de Balancer. Luego puedes stakear tus BPT en el módulo de seguridad para asegurar el protocolo y ganar incentivos de seguridad.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"El ratio LTV máximo representa el poder de endeudamiento máximo de una garantía específica. Por ejemplo, si una garantía tiene un LTV del 75 %, el usuario puede pedir prestado hasta 0,75 ETH en la moneda principal por cada 1 ETH de garantía.","The Stable Rate is not enabled for this currency":"La tasa estable no está habilitada para este activo","The address of the pool addresses provider is invalid":"La dirección del proveedor del grupo de direcciones no es válida","The app is running in testnet mode. Learn how it works in":"La aplicación se está ejecutando en testnet mode. Aprende como funciona en","The caller of the function is not an AToken":"El llamador de la función no es un AToken","The caller of this function must be a pool":"La función debe ser llamada por un pool","The collateral balance is 0":"El balance de garantía es 0","The collateral chosen cannot be liquidated":"La garantía elegida no puede ser liquidada","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"El periodo de cooldown es el tiempo requerido antes de unstakear tus tokens (10 días). Solo puedes retirar tus activos desde el Modulo de Seguridad después del periodo de cooldown y entre la ventana activa de unstakeo.<0>Aprende más","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["El periodo de cooldown es ",["0"],". Después ",["1"]," del cooldown, entrarás a la ventana de unstakeo de ",["2"],". Continuarás recibiendo premios durante el cooldown y la ventana de unstakeo."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"Los efectos en el factor de salud podrían causar liquidación. Intenta reducir la cantidad.","The requested amount is greater than the max loan size in stable rate mode":"La cantidad solicitada es mayor que el tamaño máximo del préstamo en el modo de tasa estable","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"La cantidad total de sus activos denominados en USD que pueden ser usados como garantía para activos de préstamo.","The underlying asset cannot be rescued":"El activo base no puede ser rescatado","The underlying balance needs to be greater than 0":"El balance subyacente debe ser mayor que 0","The weighted average of APY for all borrowed assets, including incentives.":"El promedio ponderado de APY para todos los activos prestados, incluidos los incentivos.","The weighted average of APY for all supplied assets, including incentives.":"El promedio ponderado de APY para todos los activos suministrados, incluidos los incentivos.","There are not enough funds in the{0}reserve to borrow":["No hay fondos suficientes en la reserva",["0"],"para pedir préstamos"],"There is not enough collateral to cover a new borrow":"No hay suficiente garantía para cubrir un nuevo préstamo","There was some error. Please try changing the parameters or <0><1>copy the error":"Hubo un error. Por favor intenta cambiar los parámetros o <0><1>copiar el error","These funds have been borrowed and are not available for withdrawal at this time.":"Estos fondos han sido prestados y no están disponibles para su retirada en este momento.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"Esta acción reducirá tu factor de salud. Por favor ten en cuenta el riesgo incrementado de liquidación de la garantía.","This address is blocked on app.aave.com because it is associated with one or more":"Esta dirección está bloqueada en app.aave.com porque está asociada con una o más","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["Este activo casi ha alcanzado su límite de préstamo. Solo hay ",["messageValue"]," disponibles para ser prestado de este mercado."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["Este activo casi ha alcanzado su límite de suministro. Sólo puede ofrecerse ",["messageValue"]," a este mercado."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"Este activo ha alcanzado su límite de préstamo. No queda nada disponible para ser prestado de este mercado.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"Este activo ha alcanzado su límite de suministro. No queda nada disponible para ser suministrado desde este mercado.","This asset is frozen due to an Aave Protocol Governance decision. <0>More details":"Este activo está congelado debido a una decisión del Gobierno del Protocolo Aave. <0>More información","This asset is frozen due to an Aave community decision. <0>More details":"Este activo está congelado debido a una decisión de la comunidad de Aave. <0>Más información","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"Este cálculo de gas es solo una estimación. Tu cartera establecerá el precio de la transacción. Puedes modificar la configuración de gas directamente desde tu proveedor de cartera.","This integration was<0>proposed and approvedby the community.":"Esta integración fue<0>propuesta y aprobadapor la comunidad.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"Esta es la cantidad total disponible que puedes tomar prestada. Puedes tomar prestado basado en tu garantía y hasta que el límite de préstamo se alcance.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"Esta es la cantidad total a la que puede suministrar en esta reserva. Puede proporcionar el saldo de su billetera hasta que se alcance el límite de suministro.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"Esto representa el umbral en el que un préstamo será considerado sin garantía suficiente y sujeto a la liquidación de la misma. Por ejemplo, si una garantía tiene un umbral de liquidación del 80 %, significa que el préstamo será liquidado cuando el valor de la deuda alcanze el 80% del valor de la garantía.","Time left to be able to withdraw your staked asset.":"Tiempo restante para poder retirar tu activo stakeado.","Time left to unstake":"Tempo restante para unstakear","Time left until the withdrawal window closes.":"Tiempo restante hasta que se cierre la ventana de retiro.","To borrow you need to supply any asset to be used as collateral.":"Para tomar prestado, necesitas proporcionar cualquier activo para ser utilizado como garantía.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["Para habilitar el E-mode para la categoría ",["0"],", todas las posiciones prestadas fuera de esta categoría deben ser cerradas."],"To repay on behalf of a user an explicit amount to repay is needed":"Para pagar en nombre de un usuario, se necesita una cantidad explícita para pagar","To request access for this permissioned market, please visit: <0>Acces Provider Name":"Para solicitar acceso a este mercado, porfavor visita: <0>Nombre del proveedor de acceso","Total available":"Total disponible","Total borrowed":"Total prestado","Total borrows":"Total de préstamos","Total emission per day":"Emisiones totales por día","Total market size":"Tamaño total del mercado","Total supplied":"Total suministrado","Total voting power":"Poder total de votación","Total worth":"Valor total","Transaction failed":"Error en la transacción","Transaction overview":"Resumen de la transacción","Type of delegation":"Tipo de delegación","UNSTAKE {symbol}":["UNSTAKEAR ",["symbol"]],"UNSTAKING {symbol}":["UNSTAKING ",["symbol"]],"Unavailable":"No disponible","Unbacked":"No respaldado","Unbacked mint cap is exceeded":"El límite de minteo sin respaldo ha sido excedido","Unstake now":"Unstakea ahora","Unstake window":"Ventana de unstakeo","Used as collateral":"Utilizado como garantía","User cannot withdraw more than the available balance":"El usuario no puede retirar más que el balance disponible","User did not borrow the specified currency":"El usuario no tomó prestado el activo especificado","User does not have outstanding stable rate debt on this reserve":"El usuario no tiene deuda pendiente de tasa estable en esta reserva","User does not have outstanding variable rate debt on this reserve":"El usuario no tiene deuda pendiente de tasa variable en esta reserva","User is in isolation mode":"El usuario está en Isolation mode","User is trying to borrow multiple assets including a siloed one":"El usuario está intentando tomar prestado múltiples activos incluido uno aislado","Utilization Rate":"Tasa de uso","VOTE NAY":"VOTAR NO","VOTE YAE":"VOTAR SI","Variable":"Variable","Variable debt supply is not zero":"El suministro de deuda variable no es cero","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"La tasa de interés variable <0>fluctuará según las condiciones del mercado. Recomendado para posiciones a corto plazo.","Version 2":"Versión 2","Version 3":"Versión 3","View contract":"Ver contrato","View details":"Ver detalles","View on Explorer":"Ver en el explorador","Vote":"Votar","Vote NAY":"Votar NO","Vote YAE":"Votar SI","Voting power":"Poder de votación","Voting results":"Resultados de la votación","Wallet balance":"Saldo de la cartera","Wallet not detected. Connect or install wallet and retry":"Cartera no detectada. Conecta o instala el monedero y vuelve a intentarlo","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Las carteras son proporcionadas por proveedores externos y al seleccionarla, aceptas los términos de dichos proveedores. Tu acceso a la cartera podría depender de que el proveedor externo esté operativo.","We couldn’t detect a wallet. Connect a wallet to stake.":"No podemos detectar una cartera. Conecta una cartera para invertir.","We suggest you go back to the Dashboard.":"Te sugerimos volver al Panel de control.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"Cuando ocurre una liquidación, los liquidadores pagan hasta el 50% de la cantidad pendiente del préstamo en nombre del prestatario. A cambio, pueden comprar la garantía con descuento y quedarse con la diferencia (sanción de liquidación) como bonificación.","Why do I need to approve?":"¿Por qué necesito aprobarlo?","With a voting power of <0/>":"Con un poder de votación de <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"Con la testnet Faucet puedes obtener activos gratuitos para probar el Protocolo Aave. Asegúrate de cambiar tu proveedor de cartera a la red de testnet adecuada, selecciona el activo deseado y haz clic en \"Faucet\" para obtener tokens transferidos a tu cartera. Los activos de una testnet no son \"reales\", lo que significada que no tienen valor monetario. <0>Más información","Withdraw":"Retirar","Withdraw {symbol}":["Retirar ",["symbol"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Retirar esta cantidad reducirá tu factor de salud y aumentará el riesgo de liquidación.","Withdrawing {symbol}":["Retirando ",["symbol"]],"Wrong Network":"Red incorrecta","YAE":"YAE","You are entering Isolation mode":"Estás entrando en el Isolation mode","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"Puedes pedir prestado este activo con una tasa estable solo si pides prestado más de la cantidad que estás proporcionando como garantía.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"No puede cambiar el Tipo de Interés a estable, ya que sus préstamos son más altos que su garantía","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"No puedes desactivar el E-Mode, ya que tu nivel actual de garantía está por encima del 80%, desactivar el E-Mode puede causar liquidación. Para salir del E-Mode proporciona o pagas las posiciones prestadas.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"No puedes cambiar el uso como modo de garantía para este activo, porque causará una liquidación","You can not use this currency as collateral":"No puedes usar este activo como garantía","You can not withdraw this amount because it will cause collateral call":"No puedes retirar esta cantidad porque causará una liquidación","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"Solo puedes retirar tus activos del Módulo de Seguridad después de que finalice el período de cooldown y la ventana de unstakeo esté activa.","You can report incident to our <0>Discord or <1>Github.":"Puedes reportar un incidente a nuestro <0>Discord o <1>Github.","You cancelled the transaction.":"Has cancelado la transacción.","You did not participate in this proposal":"No has participado en esta propuesta","You do not have supplies in this currency":"No tienes suministros en este activo","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"No tienes suficientes fondos en tu cartera para pagar la cantidad total. Si procedes a pagar con tu cantidad actual de fondos, aún tendrás un pequeño préstamo en tu panel de control.","You have not borrow yet using this currency":"Aún no has tomado prestado usando este activo","You switched to {0} rate":["Has cambiado a tasa ",["0"]],"You unstake here":"Unstakea aquí","You voted {0}":["Has votado ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"Saldrás del modo aislamiento y otros tokens pueden ser usados ahora como garantía","You {action} <0/> {symbol}":["Tu ",["action"]," <0/> ",["symbol"]],"Your borrows":"Tus préstamos","Your current loan to value based on your collateral supplied.":"Tu actual relación préstamo-valor basado en tu garantía suministrada.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Tu factor de salud y la relación préstamo-valor determinan la seguridad de tu garantía. Para evitar liquidaciones, puedes proporcionar más garantías o pagar las posiciones de préstamo.","Your info":"Tu información","Your reward balance is 0":"Su saldo de recompensa es 0","Your supplies":"Tus suministros","Your voting info":"Tu información de voto","Your {networkName} wallet is empty. Get free test assets at":["Tu cartera ",["networkName"]," está vacía. Consigue activos de prueba gratis en"],"Your {networkName} wallet is empty. Get free test {0} at":["Tu cartera ",["networkName"]," está vacía. Consigue ",["0"]," de prueba gratis en"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Tu ",["networkName"]," cartera está vacía. Compra o transfiere activos"],"Zero address not valid":"Dirección cero no válida","assets":"activos","blocked activities":"actividades bloqueadas","copy the error":"copiar el error","documentation":"documentación","ends":"finaliza","here.":"aquí.","is an asset affected by rebasing. Visit the":"es un activo afectado por el rebase. Visita el","of":"de","on":"en","or":"o","or use <0>{0} to transfer your ETH assets.":["o usa <0>",["0"]," para transferir tus activos de ETH."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"por favor comprueba que la cantidad que deseas depositar no está siendo utilizada actualmente para stakear. Si está utilizando para stakear, tu transacción podría fallar.","repaid":"reembolsado","staking view":"vista de stakeo","to learn more.":"para obtener más información.","tokens is not the same as staking them. If you wish to stake your":"tokens no es lo mismo que stakearlos. Si deseas stakearlos","tokens, please go to the":"tokens, por favor vaya al","withdrew":"retirado","{0}":[["0"]],"{0} Balance":["Saldo ",["0"]],"{0} Faucet":[["0"]," Faucet"],"{d}d":[["d"],"d"],"{h}h":[["h"],"h"],"{m}m":[["m"],"m"],"{networkName} Faucet":["Faucet ",["networkName"]],"{s}s":[["s"],"s"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file diff --git a/src/locales/es/messages.po b/src/locales/es/messages.po index 554e27e8ac..95a2c6bd0e 100644 --- a/src/locales/es/messages.po +++ b/src/locales/es/messages.po @@ -8,7 +8,7 @@ msgstr "" "Language: es\n" "Project-Id-Version: aave-interface\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-09-14 12:07\n" +"PO-Revision-Date: 2022-09-27 18:08\n" "Last-Translator: \n" "Language-Team: Spanish\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -22,6 +22,10 @@ msgstr "" msgid "<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more." msgstr "<0>Ampleforth es un activo afectado por el rebase. Visita la <1>documentación o <2>Ampleforth's Preguntas Frecuentes para aprender más." +#: src/components/transactions/Borrow/BorrowModalContent.tsx +msgid "<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates." +msgstr "<0>Atención: Los cambios de parámetros a través de la gobernanza pueden alterar el factor de salud de tu cuenta y el riesgo de liquidación. Sigue el <1>foro de gobierno de Aave para mantenerte actualizado." + #: src/modules/staking/StakingHeader.tsx msgid "AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol." msgstr "Los poseedores de AAVE pueden stakear su AAVE en el Módulo de Seguridad para añadir más seguridad al protocolo y ganar Incentivos de Seguridad. En el caso de un evento de déficit, hasta un 30% de tu apuesta puede ser slasheada para cubrir el déficit, proporcionando una capa adicional de protección para el protocolo." @@ -176,11 +180,6 @@ msgstr "Aprobando {symbol}..." msgid "Array parameters that should be equal length are not" msgstr "Los parámetros del array que deberían ser iguales en longitud no lo son" -#: src/components/transactions/Warnings/ETHBorrowWarning.tsx -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more." -msgstr "" - #: src/modules/faucet/FaucetAssetsList.tsx #: src/modules/markets/AssetsList.tsx msgid "Asset" @@ -260,6 +259,10 @@ msgstr "Disponible para pedir prestado" msgid "Available to supply" msgstr "Disponible para suministrar" +#: pages/404.page.tsx +msgid "Back to Dashboard" +msgstr "Volver al panel de control" + #: src/components/transactions/AssetInput.tsx #: src/components/transactions/ClaimRewards/ClaimRewardsModalContent.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx @@ -503,6 +506,10 @@ msgstr "Cooling down..." msgid "Copy address" msgstr "Copiar dirección" +#: pages/500.page.tsx +msgid "Copy error message" +msgstr "Copiar mensaje de error" + #: src/components/transactions/FlowCommons/Error.tsx msgid "Copy error text" msgstr "Copiar el texto del error" @@ -532,6 +539,10 @@ msgstr "Modo oscuro" msgid "Dashboard" msgstr "Panel" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Data couldn't be fetched, please reload graph." +msgstr "No se pudieron recuperar los datos, por favor recarga el gráfico." + #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListMobileItem.tsx msgid "Debt" @@ -551,7 +562,7 @@ msgstr "El límite de deuda no es cero" #: src/components/caps/DebtCeilingStatus.tsx msgid "Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD." -msgstr "" +msgstr "La deuda limita la cantidad posible que los usuarios del protocolo pueden tomar prestado contra este activo. El límite de deuda es específico para los activos en isolation mode y se indica en USD." #: src/components/infoModalContents/RetryWithApprovalInfoContent.tsx msgid "Define Retry with Approval text" @@ -622,14 +633,18 @@ msgstr "Desconectar cartera" msgid "Discord" msgstr "Discord" +#: pages/500.page.tsx +msgid "Discord channel" +msgstr "Canal de Discord" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Swap/SwapModalContent.tsx msgid "Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions" msgstr "Debido a un error de precisión en el contrato stETH, este activo no se puede utilizar en transacciones de préstamo flash" -#: src/components/transactions/Warnings/HarmonyWarning.tsx -msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}" -msgstr "Debido a una vulnerabilidad de seguridad en el puente de Horizon, ciertos activos en la red de Harmony no están en paridad con Ethereum, lo que afecta al mercado de Aave V3 Harmony. <0>{0}" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market." +msgstr "Debido al exploit del puente de Horizon, ciertos activos en la red de Harmony no están en paridad con Ethereum, lo que afecta al mercado de Harmony en Aave V3." #: src/modules/dashboard/DashboardEModeButton.tsx msgid "E-Mode" @@ -815,6 +830,10 @@ msgstr "Acepto los riesgos involucadros." msgid "I understand how cooldown ({0}) and unstaking ({1}) work" msgstr "Entiendo como el cooldown ({0}) y el proceso de unstaking ({1}) funcionan" +#: pages/500.page.tsx +msgid "If the error continues to happen,<0/> you may report it to this" +msgstr "Si el error persiste, <0/> podrías reportarlo a esto" + #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx msgid "If the health factor goes below 1, the liquidation of your collateral might be triggered." msgstr "Si el factor de salud se encuentra por debajo de 1, la liquidación de su colateral puede ser activada." @@ -843,6 +862,10 @@ msgstr "Parámetros inconsistentes del préstamo flash" msgid "Interest rate rebalance conditions were not met" msgstr "No se cumplieron las condiciones de ajuste de tasas de interés" +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "Interest rate strategy" +msgstr "Estrategia de tasa de interés" + #: src/ui-config/errorMapping.tsx msgid "Invalid amount to burn" msgstr "Cantidad inválida para quemar" @@ -877,12 +900,16 @@ msgstr "Aislado" #: src/components/caps/DebtCeilingStatus.tsx msgid "Isolated Debt Ceiling" -msgstr "" +msgstr "Límite de deuda aislado" #: src/components/isolationMode/IsolatedTooltip.tsx msgid "Isolated assets have limited borrowing power and other assets cannot be used as collateral." msgstr "Los activos aislados han limitado su capacidad de préstamo y otros activos no pueden ser usados como garantía." +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Join the community discussion" +msgstr "Únete a la discusión de la comunidad" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Language" msgstr "Idioma" @@ -894,6 +921,7 @@ msgstr "Idioma" #: src/components/transactions/StakeCooldown/StakeCooldownModalContent.tsx #: src/components/transactions/Warnings/BorrowCapWarning.tsx #: src/components/transactions/Warnings/DebtCeilingWarning.tsx +#: src/components/transactions/Warnings/MarketWarning.tsx #: src/components/transactions/Warnings/SupplyCapWarning.tsx #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx #: src/modules/reserve-overview/ReserveConfiguration.tsx @@ -943,6 +971,10 @@ msgstr "Umbral de liquidación" msgid "Liquidation value" msgstr "Valor de liquidación" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Loading data..." +msgstr "Cargando datos..." + #: src/ui-config/errorMapping.tsx msgid "Ltv validation failed" msgstr "La validación del LTV ha fallado" @@ -1122,6 +1154,10 @@ msgstr "Precio del oráculo" msgid "Overview" msgstr "Resumen" +#: pages/404.page.tsx +msgid "Page not found" +msgstr "Página no encontrada" + #: src/components/incentives/IncentivesTooltipContent.tsx msgid "Participating in this {symbol} reserve gives annualized rewards." msgstr "Participar en esta reserva de {symbol} da recompensas anuales." @@ -1131,13 +1167,9 @@ msgstr "Participar en esta reserva de {symbol} da recompensas anuales." msgid "Pending..." msgstr "Pendiente..." -#: src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx -msgid "Per the community, borrowing in this market is currently disabled. <0>Learn More" -msgstr "Por la comunidad, tomar prestado en este mercado está deshabilitado actualmente. <0>Más información" - -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -msgid "Per the community, supplying in this market is currently disabled. <0>Learn More" -msgstr "Por la comunidad, suministrar en este mercado está deshabilitado actualmente. <0>Más información" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Per the community, the Fantom market has been frozen." +msgstr "De acuerdo con la comunidad, el mercado de Fantom ha sido congelado." #: src/modules/reserve-overview/ReserveActions.tsx msgid "Please connect a wallet to view your personal information here." @@ -1235,6 +1267,14 @@ msgstr "Dirección del destinatario" msgid "Rejected connection request" msgstr "Solicitud de conexión rechazada" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Reload" +msgstr "Recargar" + +#: pages/500.page.tsx +msgid "Reload the page" +msgstr "Recarga la página" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Repay/RepayModalContent.tsx msgid "Remaining debt" @@ -1376,6 +1416,19 @@ msgstr "Dado que este activo está congelado, las únicas acciones disponibles s msgid "Since this is a test network, you can get any of the assets if you have ETH on your wallet" msgstr "Puesto que esta es una red de pruebas, puedes obtener cualquiera de los activos si tienes ETH en tu cartera" +#: pages/500.page.tsx +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Something went wrong" +msgstr "Se produjo un error" + +#: pages/500.page.tsx +msgid "Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later." +msgstr "Lo sentimos, se produjo un error imprevisto. Mientras tanto, puedes intentar recargar la página, o volver después." + +#: pages/404.page.tsx +msgid "Sorry, we couldn't find the page you were looking for." +msgstr "Lo sentimos, no hemos podido encontrar la página que estabas buscando." + #: src/layouts/components/LanguageSwitcher.tsx msgid "Spanish" msgstr "Español" @@ -1675,6 +1728,14 @@ msgstr "Este activo ha alcanzado su límite de préstamo. No queda nada disponib msgid "This asset has reached its supply cap. Nothing is available to be supplied from this market." msgstr "Este activo ha alcanzado su límite de suministro. No queda nada disponible para ser suministrado desde este mercado." +#: src/components/infoTooltips/FrozenTooltip.tsx +msgid "This asset is frozen due to an Aave Protocol Governance decision. <0>More details" +msgstr "Este activo está congelado debido a una decisión del Gobierno del Protocolo Aave. <0>More información" + +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "This asset is frozen due to an Aave community decision. <0>More details" +msgstr "Este activo está congelado debido a una decisión de la comunidad de Aave. <0>Más información" + #: src/components/infoTooltips/GasTooltip.tsx msgid "This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider." msgstr "Este cálculo de gas es solo una estimación. Tu cartera establecerá el precio de la transacción. Puedes modificar la configuración de gas directamente desde tu proveedor de cartera." @@ -1831,7 +1892,9 @@ msgstr "El usuario está en Isolation mode" msgid "User is trying to borrow multiple assets including a siloed one" msgstr "El usuario está intentando tomar prestado múltiples activos incluido uno aislado" +#: src/modules/reserve-overview/ReserveConfiguration.tsx #: src/modules/reserve-overview/ReserveTopDetails.tsx +#: src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx msgid "Utilization Rate" msgstr "Tasa de uso" @@ -1921,6 +1984,10 @@ msgstr "Las carteras son proporcionadas por proveedores externos y al selecciona msgid "We couldn’t detect a wallet. Connect a wallet to stake." msgstr "No podemos detectar una cartera. Conecta una cartera para invertir." +#: pages/404.page.tsx +msgid "We suggest you go back to the Dashboard." +msgstr "Te sugerimos volver al Panel de control." + #: src/components/infoTooltips/LiquidationPenaltyTooltip.tsx msgid "When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus." msgstr "Cuando ocurre una liquidación, los liquidadores pagan hasta el 50% de la cantidad pendiente del préstamo en nombre del prestatario. A cambio, pueden comprar la garantía con descuento y quedarse con la diferencia (sanción de liquidación) como bonificación." @@ -2184,10 +2251,6 @@ msgstr "Saldo {0}" msgid "{0} Faucet" msgstr "{0} Faucet" -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "{0} is frozen due to an Aave community decision. <0>More details" -msgstr "{0} está congelado debido a una decisión de la comunidad de Aave. <0>Más detalles" - #: src/modules/staking/StakingPanel.tsx msgid "{d}d" msgstr "{d}d" @@ -2205,10 +2268,6 @@ msgstr "{m}m" msgid "{networkName} Faucet" msgstr "Faucet {networkName}" -#: src/components/infoTooltips/FrozenWarning.tsx -msgid "{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details" -msgstr "{symbol} está congelado debido a una decisión del gobierno del protocolo Aave. <0>Más detalles" - #: src/modules/staking/StakingPanel.tsx msgid "{s}s" msgstr "{s}s" diff --git a/src/locales/fr/messages.js b/src/locales/fr/messages.js index a9dd16bc47..60e8d7f451 100644 --- a/src/locales/fr/messages.js +++ b/src/locales/fr/messages.js @@ -1 +1 @@ -/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"<0>Ampleforth est un actif affecté par le rebasing. Visitez la <1>documentation ou la <2>FAQ d'Ampleforth pour en savoir plus.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"Les détenteurs d'AAVE peuvent mettre leur AAVE dans le Safety Module pour renforcer la sécurité au protocole et gagner des Safety Incentives. Dans le cas d'un évènement de shortfall, jusqu'à 30% de votre stake peut être slashed pour couvrir le déficit, fournissant une couche supplémentaire de protection pour le protocole.","ACTIVATE COOLDOWN":"ACTIVER COOLDOWN","APR":"APR","APY":"APY","APY type":"APY type","APY, stable":"APY, stable","APY, variable":"APY, variable","AToken supply is not zero":"L'approvisionnement en aTokens n'est pas nul","Aave Governance":"Gouvernance Aave","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Aave est un protocole entièrement décentralisé et régi par la communauté par les détenteurs de tokens AAVE. Les détenteurs de tokens AAVE discutent, proposent et votent collectivement sur les mises à niveau du protocole. Les détenteurs de tokens AAVE peuvent soit voter eux-mêmes sur de nouvelles propositions, soit déléguer à une adresse de leur choix. Pour en savoir plus, consultez la documentation sur la gouvernance","Aave per month":"Aave par mois","Account":"Compte","Action cannot be performed because the reserve is frozen":"L'action ne peut pas être effectuée car la réserve est gelée","Action cannot be performed because the reserve is paused":"L'action ne peut pas être effectuée car la réserve est mise en pause","Action requires an active reserve":"L'action nécessite une réserve active","Add to wallet":"Add to wallet","Add {0} to wallet to track your balance.":["Add ",["0"]," to wallet to track your balance."],"Address is not a contract":"L'adresse n'est pas un contrat","All Assets":"All Assets","All done!":"Tout est fait !","All proposals":"Toutes les propositions","Allowance required action":"Allocation action requise","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Vous permet de décider si vous souhaitez utiliser un actif fourni en tant que collatéral. Un actif utilisé comme collatéral affectera votre pouvoir d'emprunt et votre Health Factor.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Vous permet de basculer entre les taux d'intérêt <0>variable et <1>stable où le taux variable peut augmenter et diminuer en fonction du montant de liquidité dans la pool, et le taux stable restera le même pour la durée de votre prêt.","Already on cooldown":"Déjà en cooldown","Amount":"Montant","Amount must be greater than 0":"Le montant doit être supérieur à 0","Ampleforth FAQ":"FAQ d'Ampleforth","Approval":"Approbation","Approve confirmed":"Validation confirmée","Approve to continue":"Approuver pour continuer","Approved":"Approuvé","Approving {symbol}...":["Approuver ",["symbol"],"..."],"Array parameters that should be equal length are not":"Les paramètres de tableau devraient être de même longueur ne sont pas","As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.":"As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more.","Asset":"Actif","Asset can only be used as collateral in isolation mode only.":"L'actif ne peut être utilisé comme garantie qu'en mode isolé.","Asset cannot be used as collateral.":"L'actif ne peut pas être utilisé comme collatéral.","Asset category":"Catégorie d'actifs","Asset is not borrowable in isolation mode":"L'actif n'est pas empruntable en mode d'isolement","Asset is not listed":"L'actif n'est pas répertorié","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.","Asset to delegate":"Actif à déléguer","Assets":"Actifs","Assets to borrow":"Actifs à emprunter","Assets to supply":"Actifs à déposer","Author":"Auteur","Available":"Disponible","Available assets":"Actifs disponibles","Available liquidity":"Liquidités disponibles","Available rewards":"Récompenses disponibles","Available to borrow":"Disponible à emprunter","Available to supply":"Disponible au dépôt","Balance":"Solde","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Soyez prudent - Vous êtes très proche de la liquidation. Envisagez de déposer plus de collatéral ou de rembourser certaines de vos positions empruntées","Before supplying":"Avant de déposer","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ","Blocked Address":"Blocked Address","Borrow":"Emprunter","Borrow APY rate":"Taux APY d'emprunt","Borrow APY, stable":"Prêt APY, stable","Borrow APY, variable":"Prêt APY, variable","Borrow and repay in same block is not allowed":"Emprunter et rembourser dans le même bloc n'est pas autorisé","Borrow cap":"Limite d'emprunt","Borrow cap is exceeded":"Le plafond d'emprunt est dépassé","Borrow power used":"Puissance d'emprunt utilisée","Borrow {symbol}":["Emprunter ",["symbole"]],"Borrowed":"Borrowed","Borrowing is currently unavailable for {0}.":["L'emprunt n'est actuellement pas disponible pour ",["0"],"."],"Borrowing is not enabled":"L'emprunt n'est pas activé","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"L'emprunt n'est pas disponible car vous avez activé le mode Efficacité (E-Mode) et le mode Isolation. Pour gérer le mode E et le mode Isolation, rendez-vous sur votre <0>tableau de bord.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["L'emprunt n'est pas disponible, car vous avez activé le mode d'efficacité (E-Mode) pour la catégorie ",["0"],". Pour gérer les catégories E-Mode, visitez votre <0>tableau de bord."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.","Borrowing power and assets are limited due to Isolation mode.":"Le pouvoir d'emprunt et les actifs sont limités en raison du mode d'isolement.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Emprunter ce montant réduira votre facteur santé et augmentera le risque de liquidation.","Borrowing {symbol}":["Emprunter ",["symbole"]],"CLAIM {symbol}":["RÉCLAMATION ",["symbole"]],"CLAIMING {symbol}":["RÉCLAMATION ",["symbole"]],"Can be collateral":"Peut être collatéral","Can be executed":"Peut être exécuté","Cannot disable E-Mode":"Cannot disable E-Mode","Cap reached. Lower supply amount":"Cap atteint. Quantité d'approvisionnement inférieure","Claim":"Réclamer","Claim AAVE":"Réclamer AAVE","Claim all":"Réclamer tout","Claim all rewards":"Réclamez toutes les récompenses","Claim {0}":["Réclamer ",["0"]],"Claimable AAVE":"AAVE Réclamable","Claimed":"Claimed","Claiming":"Réclamer","Close":"Fermer","Collateral":"Collatérale","Collateral amount to repay with":"Montant de collatéral à rembourser avec","Collateral is (mostly) the same currency that is being borrowed":"La garantie est (principalement) la même devise que celle qui est empruntée","Collateral usage":"Usage de collatéral","Collateral usage is limited because of Isolation mode.":"L'utilisation du collatéral est limitée en raison du mode d'isolation.","Collateral usage is limited because of isolation mode. <0>Learn More":"L'utilisation de la garantie est limitée en raison du mode d'isolement. <0>En savoir plus","Collateralization":"Collatéralisation","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Connecter le portefeuille","Cooldown period":"Période de recharge","Cooldown period warning":"Avertissement de période de refroidissement","Cooldown time left":"Temps de recharge restant","Cooldown to unstake":"Temps de recharge pour déstaker","Cooling down...":"Refroidissement...","Copy address":"Copier l'adresse","Copy error text":"Copier le texte d'erreur","Created":"Créé","Current LTV":"LTV actuelle","Current differential":"Différentiel de courant","Current votes":"Votes actuels","Dark mode":"Mode Sombre","Dashboard":"Tableau de bord","Debt":"Dette","Debt amount to repay":"Montant de la dette à rembourser","Debt ceiling is exceeded":"Le plafond de la dette est dépassé","Debt ceiling is not zero":"Le plafond de la dette n'est pas nul","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Définir une nouvelle tentative avec le texte d'approbation","Delegate":"Déléguer","Delegating":"Déléguant","Delegation":"Delegation","Details":"Détails","Developers":"Développeurs","Differential":"Différentiel","Disable E-Mode":"Désactiver le E-mode","Disable testnet":"Disable testnet","Disable {symbol} as collateral":["Désactiver ",["symbol"]," comme garantie"],"Disabled":"Désactivé","Disabling E-Mode":"Désactiver le E-mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"La désactivation de cet actif en tant que garantie affecte votre pouvoir d'emprunt et votre facteur de santé.","Disconnect Wallet":"Déconnecter le portefeuille","Discord":"Discord","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}":["Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>",["0"],""],"E-Mode":"E-Mode","E-Mode Category":"Catégorie E-mode","E-Mode category":"E-Mode category","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"E-Mode augmente votre LTV pour une catégorie d'actifs sélectionnée jusqu'à 97 %. <0>En savoir plus","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"E-Mode augmente votre LTV pour une catégorie d'actifs sélectionnée jusqu'à <0/>. <1>En savoir plus","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"Le E-mode augmente votre LTV pour une catégorie d'actifs sélectionnée, ce qui signifie que lorsque le E-mode est activé, vous aurez un pouvoir d'emprunt plus élevé sur les actifs de la même catégorie de mode E qui sont définis par Aave Governance. Vous pouvez accéder au E-Mode depuis votre <0>Tableau de bord. Pour en savoir plus sur le E-mode et les restrictions appliquées, consultez la <1>FAQ ou le <2>Document technique Aave V3.","Efficiency mode (E-Mode)":"Mode efficacité (E-Mode)","Emode":"Emode","Enable E-Mode":"Activer le E-Mode","Enable {symbol} as collateral":["Activer ",["symbol"]," comme collatéral"],"Enabled":"Activé","Enabled in isolation":"Activé en isolation","Enabling E-Mode":"Activation du E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"L'activation de cet actif comme garantie augmente votre pouvoir d'emprunt et votre facteur de santé. Cependant, il peut être liquidé si votre facteur de santé tombe en dessous de 1.","English":"Anglais","Enter ETH address":"Entrez l'adresse ETH","Enter an amount":"Entrez un montant","Error connecting. Try refreshing the page.":"Erreur de connexion. Essayez d'actualiser la page.","Executed":"Réalisé","Expires":"Expire","FAQ":"FAQ","Faucet":"Faucet","Faucet {0}":["Faucet ",["0"]],"Filter":"Filtrer","For repayment of a specific type of debt, the user needs to have debt that type":"For repayment of a specific type of debt, the user needs to have debt that type","Forum discussion":"Discussion de forum","French":"Français","Funds in the Safety Module":"Fonds dans le Safety Module","Get ABP Token":"Get ABP Token","Github":"Github","Global settings":"Paramètres globaux","Go Back":"Retourner","Go back":"Go back","Go to Balancer Pool":"Go to Balancer Pool","Governance":"Gouvernance","Greek":"Greek","Health factor":"Facteur de santé","Health factor is lesser than the liquidation threshold":"Le facteur santé est inférieur au seuil de liquidation","Health factor is not below the threshold":"Le facteur de santé n'est pas inférieur au seuil","Hide":"Cacher","I acknowledge the risks involved.":"Je reconnais les risques encourus.","I understand how cooldown ({0}) and unstaking ({1}) work":["Je comprends comment fonctionnent le temps de recharge (",["0"],") et le retrait (",["1"],")"],"If the health factor goes below 1, the liquidation of your collateral might be triggered.":"Si le facteur de santé descend en dessous de 1, la liquidation de votre collatéral peut être déclenchée.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["Si vous NE vous désengagez PAS dans les ",["0"]," de la fenêtre de désengagement, vous devrez réactiver le processus de refroidissement."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"Si votre prêt à la valeur dépasse le seuil de liquidation, votre garantie fournie peut être liquidée.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"En E-Mode, certains actifs ne sont pas empruntables. Quittez le E-mode pour accéder à tous les actifs","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable ",["0"]," as collateral before borrowing another asset. Read more in our <0>FAQ"],"Inconsistent flashloan parameters":"Paramètres de prêt flash incohérents","Interest rate rebalance conditions were not met":"Les conditions de rééquilibrage des taux d'intérêt n'ont pas été remplies","Invalid amount to burn":"Montant non valide à brûler","Invalid amount to mint":"Montant invalide à frapper","Invalid bridge protocol fee":"Frais de protocole de pont invalide","Invalid expiration":"Expiration invalide","Invalid flashloan premium":"Prime flash non valide","Invalid return value of the flashloan executor function":"Valeur de retour invalide de la fonction flashloan executor","Invalid signature":"Signature non valide","Isolated":"Isolé","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Les actifs isolés ont un pouvoir d'emprunt limité et les autres actifs ne peuvent pas être utilisés comme garantie.","Language":"Language","Learn more":"Apprendre encore plus","Learn more about risks involved":"En savoir plus sur les risques encourus","Learn more in our <0>FAQ guide":"En savoir plus dans notre <0>guide FAQ","Links":"Liens","Liquidation <0/> threshold":"Seuil de liquidation <0/>","Liquidation at":"Liquidation à","Liquidation penalty":"Pénalité de liquidation","Liquidation risk":"Liquidation risk","Liquidation risk parameters":"Liquidation risk parameters","Liquidation threshold":"Seuil de liquidation","Liquidation value":"Valeur de liquidation","Ltv validation failed":"Échec de la validation LTV","MAX":"MAX","Market":"Marché","Markets":"Marchés","Max":"Max","Max LTV":"Max LTV","Max slashing":"Coupure maximale","Max slippage rate":"Taux de glissement maximum","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["Maximum amount available to borrow against this asset is limited because debt ceiling is at ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.","Maximum amount available to supply is <0/> {0} (<1/>).":["Maximum amount available to supply is <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["Maximum amount available to supply is limited because protocol supply cap is at ",["0"],"%."],"Maximum loan to value":"Maximum loan to value","Menu":"Menu","Minimum received":"Minimum reçu","More":"Plus","NAY":"NON","Need help connecting a wallet? <0>Read our FAQ":"Besoin d'aide pour connecter un portefeuille ? <0>Lire notre FAQ","Net APR":"APR Net","Net APY":"APY Net","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"L'APY net est l'effet combiné de toutes les positions d'offre et d'emprunt sur la valeur nette, y compris les incitations. Il est possible d'avoir un APY net négatif si l'APY de la dette est supérieur à l'APY de l'offre.","Net worth":"Valeur nette","Network":"Réseau","Network not supported for this wallet":"Réseau non pris en charge pour ce portefeuille","New APY":"Nouveau APY","No rewards to claim":"Aucune récompense à réclamer","No voting power":"Pas de pouvoir de vote","None":"Aucun/Aucune","Not a valid address":"Pas une adresse valide","Not enough balance on your wallet":"Pas assez de solde sur votre portefeuille","Not enough collateral to repay this amount of debt with":"Pas assez de collatéral pour rembourser ce montant de dette avec","Not enough staked balance":"Pas assez de solde staké","Not enough voting power to participate in this proposal":"Pas assez de pouvoir de vote pour participer à cette proposition","Not reached":"Non atteint","Nothing borrowed yet":"Aucun emprunt pour l'instant","Nothing staked":"Rien staké","Nothing supplied yet":"Rien fourni pour le moment","Notify":"Notify","Ok, Close":"D'accord, fermer","Ok, I got it":"OK j'ai compris","Operation not supported":"Opération non prise en charge","Oracle price":"Prix Oracle","Overview":"Aperçu","Participating in this {symbol} reserve gives annualized rewards.":["Participer à cette réserve ",["symbol"]," donne des récompenses annualisées."],"Pending...":"En attente...","Per the community, borrowing in this market is currently disabled. <0>Learn More":"Per the community, borrowing in this market is currently disabled. <0>Learn More","Per the community, supplying in this market is currently disabled. <0>Learn More":"Per the community, supplying in this market is currently disabled. <0>Learn More","Please connect a wallet to view your personal information here.":"Veuillez connecter un portefeuille pour afficher vos informations personnelles ici.","Please connect your wallet to get free testnet assets.":"Please connect your wallet to get free testnet assets.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Veuillez connecter votre portefeuille pour voir vos fournitures, vos emprunts et vos positions ouvertes.","Please switch to {networkName}.":["Veuillez passer à ",["networkName"],"."],"Please, connect your wallet":"S'il vous plaît, connectez votre portefeuille","Pool addresses provider is not registered":"Le fournisseur d'adresses de pool n'est pas enregistré","Price impact":"Incidence sur les prix","Proposal details":"Détails de la proposition","Proposal overview":"Aperçu de la proposition","Proposals":"Les propositions","Proposition power":"Pouvoir de proposition","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap at 100% for this asset. Further borrowing unavailable.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"Protocol supply cap at 100% for this asset. Further supply unavailable.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"Protocol supply cap is at 100% for this asset. Further supply unavailable.","Quorum":"Quorum","Raw-Ipfs":"Raw-Ipfs","Reached":"Atteint","Received":"Received","Recipient address":"Adresse du destinataire","Rejected connection request":"Demande de connexion rejetée","Remaining debt":"Dette restante","Remaining supply":"Offre restante","Repay":"Rembourser","Repay with":"Rembourser avec","Repay {symbol}":["Rembourser ",["symbole"]],"Repaying {symbol}":["Remboursement ",["symbole"]],"Reserve Size":"Taille de réserve","Reserve factor":"Reserve factor","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["Reserve factor is a percentage of interest which goes to a ",["0"]," that is controlled by Aave governance to promote ecosystem growth."],"Reserve status & configuration":"Statut et configuration de la réserve","Retry What?":"Réessayer Quoi ?","Retry with Approval":"Réessayer avec approbation","Retry with approval":"Réessayer avec approbation","Review approval tx details":"Examiner les détails de la taxe d'approbation","Review tx":"Réviser tx","Review tx details":"Examiner les détails de la transaction","Reward(s) to claim":"Récompense(s) à réclamer","Rewards APR":"Récompenses APR","Risk details":"Détails des risques","SEE CHARTS":"VOIR LES GRAPHIQUES","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Sécurité de votre garantie déposée contre les actifs empruntés et sa valeur sous-jacente.","Seatbelt report":"Seatbelt report","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"On dirait que nous ne pouvons pas changer de réseau automatiquement. Veuillez vérifier si vous pouvez le changer depuis le portefeuille.","Select":"Select","Select APY type to switch":"Sélectionnez le type APY pour basculer","Select language":"Choisir la langue","Select token to add":"Select token to add","Select token to view in block explorer":"Select token to view in block explorer","Setup notifications about your Health Factor using the Hal app.":"Setup notifications about your Health Factor using the Hal app.","Share on twitter":"Partager sur Twitter","Show":"Montrer","Show assets with 0 balance":"Afficher les actifs avec 0 solde","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Comme il s'agit d'un réseau de test, vous pouvez obtenir n'importe lequel des actifs si vous avez ETH dans votre portefeuille","Spanish":"Espagnol","Stable":"Stable","Stable Interest Type is disabled for this currency":"Le type d'intérêt stable est désactivé pour cette devise","Stable borrowing is enabled":"L'emprunt stable est activé","Stable borrowing is not enabled":"L'emprunt stable n'est pas activé","Stable debt supply is not zero":"L'offre de dette stable n'est pas nulle","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"Le taux d'intérêt stable <0>restera le même pendant toute la durée de votre prêt. Recommandé pour les périodes de prêt à long terme et pour les utilisateurs qui préfèrent la prévisibilité.","Stablecoin":"Stablecoin","Stake":"Stake","Stake AAVE":"Stake AAVE","Stake ABPT":"Stake ABPT","Stake cooldown activated":"Stake cooldown activated","Staked":"Staké","Staking":"Staking","Staking APR":"APR staké","Started":"Commencé","State":"État","Supplied":"Supplied","Supply":"Fournir","Supply APY":"Fournir APY","Supply apy":"Fournir apy","Supply balance":"Bilan d'approvisionnement","Supply cap is exceeded":"Le plafond d'approvisionnement est dépassé","Supply cap on target reserve reached. Try lowering the amount.":"Plafond d'approvisionnement sur la réserve cible atteint. Essayez de réduire le montant.","Supply {symbol}":["Fournir ",["symbole"]],"Supplying your":"Fournir votre","Supplying {symbol}":["Fournir ",["symbole"]],"Swap":"Swap","Swapped":"Swapped","Swapping":"Échange","Switch APY type":"Changer de type APY","Switch E-Mode":"Switch E-Mode","Switch E-Mode category":"Switch E-Mode category","Switch Network":"Changer de réseau","Switch rate":"Taux de changement","Switching E-Mode":"Switching E-Mode","Switching rate":"Taux de commutation","Test Assets":"Test Assets","Testnet mode":"Mode réseau test","Testnet mode is ON":"Testnet mode is ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"Le % de votre pouvoir d'emprunt total utilisé. Ceci est basé sur le montant de votre garantie fournie et le montant total que vous pouvez emprunter.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"Le ratio LTV maximum représente le pouvoir d'emprunt maximum d'une garantie spécifique. Par exemple, si une garantie a un LTV de 75 %, l'utilisateur peut emprunter jusqu'à 0,75 ETH dans la devise principale pour chaque 1 ETH de garantie.","The Stable Rate is not enabled for this currency":"Le taux stable n'est pas activé pour cette devise","The address of the pool addresses provider is invalid":"L'adresse du fournisseur d'adresses du pool n'est pas valide","The app is running in testnet mode. Learn how it works in":"The app is running in testnet mode. Learn how it works in","The caller of the function is not an AToken":"L'appelant de la fonction n'est pas un AToken","The caller of this function must be a pool":"L'appelant de cette fonction doit être un pool","The collateral balance is 0":"Le solde de la garantie est de 0","The collateral chosen cannot be liquidated":"La garantie choisie ne peut être liquidée","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"La période de recharge est le temps nécessaire avant de retirer vos jetons (10 jours). Vous ne pouvez retirer vos actifs du module de sécurité qu'après la période de refroidissement et pendant la fenêtre active de désactivation.<0>En savoir plus","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["La période de recharge est de ",["0"],". Après ",["1"]," de temps de recharge, vous entrerez dans la fenêtre de désengagement de ",["2"],". Vous continuerez à recevoir des récompenses pendant le temps de recharge et la fenêtre de retrait."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"Les effets sur le facteur santé entraîneraient la liquidation. Essayez de réduire le montant.","The requested amount is greater than the max loan size in stable rate mode":"Le montant demandé est supérieur au montant maximum du prêt en mode taux stable","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"Le montant total de vos actifs libellés en USD qui peut être utilisé comme garantie pour emprunter des actifs.","The underlying asset cannot be rescued":"L'actif sous-jacent ne peut pas être sauvé","The underlying balance needs to be greater than 0":"Le solde sous-jacent doit être supérieur à 0","The weighted average of APY for all borrowed assets, including incentives.":"La moyenne pondérée de l'APY pour tous les actifs empruntés, y compris les incitatifs.","The weighted average of APY for all supplied assets, including incentives.":"La moyenne pondérée de l'APY pour tous les actifs fournis, y compris les incitations.","There are not enough funds in the{0}reserve to borrow":["Il n'y a pas assez de fonds dans la ",["0"]," réserve pour emprunter"],"There is not enough collateral to cover a new borrow":"Il n'y a pas assez de collatéral pour couvrir un nouvel emprunt","There was some error. Please try changing the parameters or <0><1>copy the error":"Il y a eu une erreur. Veuillez essayer de modifier les paramètres ou <0><1>copier l'erreur","These funds have been borrowed and are not available for withdrawal at this time.":"Ces fonds ont été empruntés et ne peuvent pas être retirés pour le moment.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.","This address is blocked on app.aave.com because it is associated with one or more":"This address is blocked on app.aave.com because it is associated with one or more","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["Cet actif a presque atteint son plafond d'emprunt. Il n'y a que ",["messageValue"]," disponible pour être emprunté sur ce marché."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["Cet actif a presque atteint son plafond d'offre. Il ne peut y avoir que ",["messageValue"]," fourni à ce marché."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"Cet actif a atteint son plafond d'emprunt. Rien n'est disponible pour être emprunté à ce marché.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"Cet actif a atteint son plafond d'offre. Rien n'est disponible pour être fourni à partir de ce marché.","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"Ce calcul de gaz n'est qu'une estimation. Votre portefeuille fixera le prix de la transaction. Vous pouvez modifier les paramètres de gaz directement depuis votre fournisseur de portefeuille.","This integration was<0>proposed and approvedby the community.":"This integration was<0>proposed and approvedby the community.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"Il s'agit du montant total que vous pouvez emprunter. Vous pouvez emprunter en fonction de votre garantie et jusqu'à ce que le plafond d'emprunt soit atteint.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"Il s'agit du montant total que vous pouvez emprunter. Vous pouvez emprunter en fonction de votre garantie et jusqu'à ce que le plafond d'emprunt soit atteint.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"Cela représente le seuil auquel une position d'emprunt sera considérée comme sous-garantie et sujette à liquidation pour chaque garantie. Par exemple, si une garantie a un seuil de liquidation de 80 %, cela signifie que la position sera liquidée lorsque la valeur de la dette vaut 80 % de la valeur de la garantie.","Time left to be able to withdraw your staked asset.":"Temps restant pour pouvoir retirer votre bien staké.","Time left to unstake":"Temps restant pour dépiquer","Time left until the withdrawal window closes.":"Temps restant jusqu'à la fermeture de la fenêtre de retrait.","To borrow you need to supply any asset to be used as collateral.":"Pour emprunter, vous devez fournir tout actif à utiliser comme garantie.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["To enable E-mode for the ",["0"]," category, all borrow positions outside of this cateogry must be closed."],"To repay on behalf of a user an explicit amount to repay is needed":"Pour rembourser au nom d'un utilisateur, un montant explicite à rembourser est nécessaire","To request access for this permissioned market, please visit: <0>Acces Provider Name":"Pour demander l'accès à ce marché autorisé, veuillez consulter : <0>Nom du fournisseur d'accès","Total available":"Total disponible","Total borrowed":"Total emprunté","Total borrows":"Total des emprunts","Total emission per day":"Émission totale par jour","Total market size":"Taille totale du marché","Total supplied":"Total fourni","Total voting power":"Pouvoir de vote total","Total worth":"Valeur totale","Transaction failed":"La transaction a échoué","Transaction overview":"Aperçu des transactions","Type of delegation":"Type de délégation","UNSTAKE {symbol}":["DÉPOSER ",["symbole"]],"UNSTAKING {symbol}":["Arrêter de staker ",["symbol"]],"Unavailable":"Non disponible","Unbacked":"Sans support","Unbacked mint cap is exceeded":"Le plafond de mintage non soutenu est dépassé","Unstake now":"Arrêter de staker maintenant","Unstake window":"Fenêtre d'arrêt de staking","Used as collateral":"Utilisé comme collatéral","User cannot withdraw more than the available balance":"L'utilisateur ne peut pas retirer plus que le solde disponible","User did not borrow the specified currency":"L'utilisateur n'a pas emprunté la devise spécifiée","User does not have outstanding stable rate debt on this reserve":"L'utilisateur n'a pas de dette à taux stable impayée sur cette réserve","User does not have outstanding variable rate debt on this reserve":"L'utilisateur n'a pas de dette à taux variable impayée sur cette réserve","User is in isolation mode":"L'utilisateur est en mode d'isolement","User is trying to borrow multiple assets including a siloed one":"L'utilisateur essaie d'emprunter plusieurs actifs, y compris un en silo","Utilization Rate":"Taux d'utilisation","VOTE NAY":"VOTER NON","VOTE YAE":"VOTER OUI","Variable":"Variable","Variable debt supply is not zero":"L'offre de dette variable n'est pas nulle","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.","Version 2":"Version 2","Version 3":"Version 3","View contract":"View contract","View details":"Voir détails","View on Explorer":"Voir sur l'explorer","Vote":"Vote","Vote NAY":"Vote NAY","Vote YAE":"Vote YAE","Voting power":"Pouvoir de vote","Voting results":"Résultats du vote","Wallet balance":"Solde du portefeuille","Wallet not detected. Connect or install wallet and retry":"Portefeuille non détecté. Connectez ou installez le portefeuille et réessayez","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Les portefeuilles sont fournis par des fournisseurs externes et en sélectionnant, vous acceptez les conditions de ces fournisseurs. Votre accès au portefeuille peut dépendre du fonctionnement du fournisseur externe.","We couldn’t detect a wallet. Connect a wallet to stake.":"Nous n'avons pas pu détecter de portefeuille. Connectez un portefeuille pour miser.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"Lorsqu'une liquidation survient, les liquidateurs remboursent jusqu'à 50 % de l'encours emprunté au nom de l'emprunteur. En contrepartie, ils peuvent acheter le collatéral à prix réduit et conserver la différence (pénalité de liquidation) en bonus.","Why do I need to approve?":"Pourquoi dois-je approuver ?","With a voting power of <0/>":"Avec un pouvoir de vote de <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more","Withdraw":"Retirer","Withdraw {symbol}":["Retirer ",["symbole"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Le retrait de ce montant réduira votre facteur santé et augmentera le risque de liquidation.","Withdrawing {symbol}":["Retrait ",["symbole"]],"Wrong Network":"Mauvais réseau","YAE":"YAE","You are entering Isolation mode":"Vous entrez en mode Isolation","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"Vous ne pouvez emprunter cet actif avec un taux stable que si vous empruntez plus que le montant que vous fournissez en garantie.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"Vous ne pouvez pas changer le type d'intérêt en stable car vos emprunts sont supérieurs à votre garantie","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"Vous ne pouvez pas changer d'utilisation en tant que mode de garantie pour cette devise, car cela entraînera un appel de garantie","You can not use this currency as collateral":"Vous ne pouvez pas utiliser cette devise comme garantie","You can not withdraw this amount because it will cause collateral call":"Vous ne pouvez pas retirer ce montant car cela entraînera un appel de garantie","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"Vous ne pouvez retirer vos actifs du module de sécurité qu'après la fin de la période de refroidissement et que la fenêtre de retrait est active.","You can report incident to our <0>Discord or <1>Github.":"Vous pouvez signaler un incident sur notre <0>Discord ou <1>Github.","You cancelled the transaction.":"Vous avez annulé la transaction.","You did not participate in this proposal":"Vous n'avez pas participé à cette proposition","You do not have supplies in this currency":"Vous n'avez pas de fournitures dans cette devise","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"Vous n'avez pas assez de fonds dans votre portefeuille pour rembourser le montant total. Si vous continuez à rembourser avec votre montant actuel de fonds, vous aurez toujours une petite position d'emprunt dans votre tableau de bord.","You have not borrow yet using this currency":"You have not borrow yet using this currency","You switched to {0} rate":["Vous êtes passé au tarif ",["0"]],"You unstake here":"Vous unstaké ici","You voted {0}":["Vous avez voté ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"Vous quitterez le mode d'isolement et d'autres jetons peuvent désormais être utilisés comme collatéral","You {action} <0/> {symbol}":["Vous ",["action"]," <0/> ",["symbole"]],"Your borrows":"Vos emprunts","Your current loan to value based on your collateral supplied.":"Votre prêt actuel à la valeur en fonction de votre collatéral fournie.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Votre facteur de santé et votre prêt à la valeur déterminent l'assurance de votre collatéral. Pour éviter les liquidations, vous pouvez fournir plus de garanties ou rembourser les positions d'emprunt.","Your info":"Vos informations","Your reward balance is 0":"Votre solde de récompenses est de 0","Your supplies":"Vos ressources","Your voting info":"Vos informations de vote","Your {networkName} wallet is empty. Get free test assets at":["Your ",["networkName"]," wallet is empty. Get free test assets at"],"Your {networkName} wallet is empty. Get free test {0} at":["Your ",["networkName"]," wallet is empty. Get free test ",["0"]," at"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Votre portefeuille ",["networkName"]," est vide. Acheter ou transférer des actifs"],"Zero address not valid":"Adresse zéro non-valide","assets":"actifs","blocked activities":"blocked activities","copy the error":"copier l'erreur","documentation":"documentation","ends":"Prend fin","here.":"ici.","is an asset affected by rebasing. Visit the":"est un actif affecté par le rebasage. Visiter le","of":"of","on":"sur","or":"ou","or use <0>{0} to transfer your ETH assets.":["ou utilisez <0>",["0"]," pour transférer vos actifs ETH."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"veuillez vérifier que le montant que vous souhaitez fournir n'est pas actuellement utilisé pour le staking. S'il est utilisé pour le staking, votre transaction peut échouer.","repaid":"repaid","staking view":"vue de staking","to learn more.":"pour apprendre plus.","tokens is not the same as staking them. If you wish to stake your":"tokens n'est pas la même chose que de les staker . Si vous souhaitez staker votre","tokens, please go to the":"tokens, veuillez vous rendre sur","withdrew":"withdrew","{0}":[["0"]],"{0} Balance":[["0"]," Balance"],"{0} Faucet":[["0"]," Faucet"],"{0} is frozen due to an Aave community decision. <0>More details":[["0"]," is frozen due to an Aave community decision. <0>More details"],"{d}d":[["d"],"d"],"{h}h":[["h"],"h"],"{m}m":[["m"],"m"],"{networkName} Faucet":[["networkName"]," Faucet"],"{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details":[["symbol"]," is frozen due to an Aave Protocol Governance decision. <0>More details"],"{s}s":[["s"],"s"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file +/*eslint-disable*/module.exports={messages:{"<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more.":"<0>Ampleforth est un actif affecté par le rebasing. Visitez la <1>documentation ou la <2>FAQ d'Ampleforth pour en savoir plus.","<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.":"<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates.","AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol.":"Les détenteurs d'AAVE peuvent mettre leur AAVE dans le Safety Module pour renforcer la sécurité au protocole et gagner des Safety Incentives. Dans le cas d'un évènement de shortfall, jusqu'à 30% de votre stake peut être slashed pour couvrir le déficit, fournissant une couche supplémentaire de protection pour le protocole.","ACTIVATE COOLDOWN":"ACTIVER COOLDOWN","APR":"APR","APY":"APY","APY type":"APY type","APY, stable":"APY, stable","APY, variable":"APY, variable","AToken supply is not zero":"L'approvisionnement en aTokens n'est pas nul","Aave Governance":"Gouvernance Aave","Aave is a fully decentralized, community governed protocol by the AAVE token-holders. AAVE token-holders collectively discuss, propose, and vote on upgrades to the protocol. AAVE token-holders can either vote themselves on new proposals or delagate to an address of choice. To learn more check out the Governance documentation":"Aave est un protocole entièrement décentralisé et régi par la communauté par les détenteurs de tokens AAVE. Les détenteurs de tokens AAVE discutent, proposent et votent collectivement sur les mises à niveau du protocole. Les détenteurs de tokens AAVE peuvent soit voter eux-mêmes sur de nouvelles propositions, soit déléguer à une adresse de leur choix. Pour en savoir plus, consultez la documentation sur la gouvernance","Aave per month":"Aave par mois","Account":"Compte","Action cannot be performed because the reserve is frozen":"L'action ne peut pas être effectuée car la réserve est gelée","Action cannot be performed because the reserve is paused":"L'action ne peut pas être effectuée car la réserve est mise en pause","Action requires an active reserve":"L'action nécessite une réserve active","Add to wallet":"Add to wallet","Add {0} to wallet to track your balance.":["Add ",["0"]," to wallet to track your balance."],"Address is not a contract":"L'adresse n'est pas un contrat","All Assets":"All Assets","All done!":"Tout est fait !","All proposals":"Toutes les propositions","Allowance required action":"Allocation action requise","Allows you to decide whether to use a supplied asset as collateral. An asset used as collateral will affect your borrowing power and health factor.":"Vous permet de décider si vous souhaitez utiliser un actif fourni en tant que collatéral. Un actif utilisé comme collatéral affectera votre pouvoir d'emprunt et votre Health Factor.","Allows you to switch between <0>variable and <1>stable interest rates, where variable rate can increase and decrease depending on the amount of liquidity in the reserve, and stable rate will stay the same for the duration of your loan.":"Vous permet de basculer entre les taux d'intérêt <0>variable et <1>stable où le taux variable peut augmenter et diminuer en fonction du montant de liquidité dans la pool, et le taux stable restera le même pour la durée de votre prêt.","Already on cooldown":"Déjà en cooldown","Amount":"Montant","Amount must be greater than 0":"Le montant doit être supérieur à 0","Ampleforth FAQ":"FAQ d'Ampleforth","Approval":"Approbation","Approve confirmed":"Validation confirmée","Approve to continue":"Approuver pour continuer","Approved":"Approuvé","Approving {symbol}...":["Approuver ",["symbol"],"..."],"Array parameters that should be equal length are not":"Les paramètres de tableau devraient être de même longueur ne sont pas","Asset":"Actif","Asset can only be used as collateral in isolation mode only.":"L'actif ne peut être utilisé comme garantie qu'en mode isolé.","Asset cannot be used as collateral.":"L'actif ne peut pas être utilisé comme collatéral.","Asset category":"Catégorie d'actifs","Asset is not borrowable in isolation mode":"L'actif n'est pas empruntable en mode d'isolement","Asset is not listed":"L'actif n'est pas répertorié","Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.":"Asset supply is limited to a certain amount to reduce protocol exposure to the asset and to help manage risks involved.","Asset to delegate":"Actif à déléguer","Assets":"Actifs","Assets to borrow":"Actifs à emprunter","Assets to supply":"Actifs à déposer","Author":"Auteur","Available":"Disponible","Available assets":"Actifs disponibles","Available liquidity":"Liquidités disponibles","Available rewards":"Récompenses disponibles","Available to borrow":"Disponible à emprunter","Available to supply":"Disponible au dépôt","Back to Dashboard":"Back to Dashboard","Balance":"Solde","Be careful - You are very close to liquidation. Consider depositing more collateral or paying down some of your borrowed positions":"Soyez prudent - Vous êtes très proche de la liquidation. Envisagez de déposer plus de collatéral ou de rembourser certaines de vos positions empruntées","Before supplying":"Avant de déposer","Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ":"Before supplying, you need to approve its usage by the Aave protocol. You can learn more in our <0>FAQ","Blocked Address":"Blocked Address","Borrow":"Emprunter","Borrow APY rate":"Taux APY d'emprunt","Borrow APY, stable":"Prêt APY, stable","Borrow APY, variable":"Prêt APY, variable","Borrow and repay in same block is not allowed":"Emprunter et rembourser dans le même bloc n'est pas autorisé","Borrow cap":"Limite d'emprunt","Borrow cap is exceeded":"Le plafond d'emprunt est dépassé","Borrow power used":"Puissance d'emprunt utilisée","Borrow {symbol}":["Emprunter ",["symbole"]],"Borrowed":"Borrowed","Borrowing is currently unavailable for {0}.":["L'emprunt n'est actuellement pas disponible pour ",["0"],"."],"Borrowing is not enabled":"L'emprunt n'est pas activé","Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.":"Borrowing is unavailable because you’re using Isolation mode. To manage Isolation mode visit your <0>Dashboard.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) and Isolation mode. To manage E-Mode and Isolation mode visit your <0>Dashboard.":"L'emprunt n'est pas disponible car vous avez activé le mode Efficacité (E-Mode) et le mode Isolation. Pour gérer le mode E et le mode Isolation, rendez-vous sur votre <0>tableau de bord.","Borrowing is unavailable because you’ve enabled Efficiency Mode (E-Mode) for {0} category. To manage E-Mode categories visit your <0>Dashboard.":["L'emprunt n'est pas disponible, car vous avez activé le mode d'efficacité (E-Mode) pour la catégorie ",["0"],". Pour gérer les catégories E-Mode, visitez votre <0>tableau de bord."],"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.":"Borrowing of this asset is limited to a certain amount to minimize liquidity pool insolvency.","Borrowing power and assets are limited due to Isolation mode.":"Le pouvoir d'emprunt et les actifs sont limités en raison du mode d'isolement.","Borrowing this amount will reduce your health factor and increase risk of liquidation.":"Emprunter ce montant réduira votre facteur santé et augmentera le risque de liquidation.","Borrowing {symbol}":["Emprunter ",["symbole"]],"CLAIM {symbol}":["RÉCLAMATION ",["symbole"]],"CLAIMING {symbol}":["RÉCLAMATION ",["symbole"]],"Can be collateral":"Peut être collatéral","Can be executed":"Peut être exécuté","Cannot disable E-Mode":"Cannot disable E-Mode","Cap reached. Lower supply amount":"Cap atteint. Quantité d'approvisionnement inférieure","Claim":"Réclamer","Claim AAVE":"Réclamer AAVE","Claim all":"Réclamer tout","Claim all rewards":"Réclamez toutes les récompenses","Claim {0}":["Réclamer ",["0"]],"Claimable AAVE":"AAVE Réclamable","Claimed":"Claimed","Claiming":"Réclamer","Close":"Fermer","Collateral":"Collatérale","Collateral amount to repay with":"Montant de collatéral à rembourser avec","Collateral is (mostly) the same currency that is being borrowed":"La garantie est (principalement) la même devise que celle qui est empruntée","Collateral usage":"Usage de collatéral","Collateral usage is limited because of Isolation mode.":"L'utilisation du collatéral est limitée en raison du mode d'isolation.","Collateral usage is limited because of isolation mode. <0>Learn More":"L'utilisation de la garantie est limitée en raison du mode d'isolement. <0>En savoir plus","Collateralization":"Collatéralisation","Collector Contract":"Collector Contract","Collector Info":"Collector Info","Connect wallet":"Connecter le portefeuille","Cooldown period":"Période de recharge","Cooldown period warning":"Avertissement de période de refroidissement","Cooldown time left":"Temps de recharge restant","Cooldown to unstake":"Temps de recharge pour déstaker","Cooling down...":"Refroidissement...","Copy address":"Copier l'adresse","Copy error message":"Copy error message","Copy error text":"Copier le texte d'erreur","Created":"Créé","Current LTV":"LTV actuelle","Current differential":"Différentiel de courant","Current votes":"Votes actuels","Dark mode":"Mode Sombre","Dashboard":"Tableau de bord","Data couldn't be fetched, please reload graph.":"Data couldn't be fetched, please reload graph.","Debt":"Dette","Debt amount to repay":"Montant de la dette à rembourser","Debt ceiling is exceeded":"Le plafond de la dette est dépassé","Debt ceiling is not zero":"Le plafond de la dette n'est pas nul","Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.":"Debt limits the amount possible to borrow against this asset by protocol users. Debt ceiling is specific to assets in isolation mode and is denoted in USD.","Define Retry with Approval text":"Définir une nouvelle tentative avec le texte d'approbation","Delegate":"Déléguer","Delegating":"Déléguant","Delegation":"Delegation","Details":"Détails","Developers":"Développeurs","Differential":"Différentiel","Disable E-Mode":"Désactiver le E-mode","Disable testnet":"Disable testnet","Disable {symbol} as collateral":["Désactiver ",["symbol"]," comme garantie"],"Disabled":"Désactivé","Disabling E-Mode":"Désactiver le E-mode","Disabling this asset as collateral affects your borrowing power and Health Factor.":"La désactivation de cet actif en tant que garantie affecte votre pouvoir d'emprunt et votre facteur de santé.","Disconnect Wallet":"Déconnecter le portefeuille","Discord":"Discord","Discord channel":"Discord channel","Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions":"Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions","Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.":"Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market.","E-Mode":"E-Mode","E-Mode Category":"Catégorie E-mode","E-Mode category":"E-Mode category","E-Mode increases your LTV for a selected category of assets up to 97%. <0>Learn more":"E-Mode augmente votre LTV pour une catégorie d'actifs sélectionnée jusqu'à 97 %. <0>En savoir plus","E-Mode increases your LTV for a selected category of assets up to<0/>. <1>Learn more":"E-Mode augmente votre LTV pour une catégorie d'actifs sélectionnée jusqu'à <0/>. <1>En savoir plus","E-Mode increases your LTV for a selected category of assets, meaning that when E-mode is enabled, you will have higher borrowing power over assets of the same E-mode category which are defined by Aave Governance. You can enter E-Mode from your <0>Dashboard. To learn more about E-Mode and applied restrictions in <1>FAQ or <2>Aave V3 Technical Paper.":"Le E-mode augmente votre LTV pour une catégorie d'actifs sélectionnée, ce qui signifie que lorsque le E-mode est activé, vous aurez un pouvoir d'emprunt plus élevé sur les actifs de la même catégorie de mode E qui sont définis par Aave Governance. Vous pouvez accéder au E-Mode depuis votre <0>Tableau de bord. Pour en savoir plus sur le E-mode et les restrictions appliquées, consultez la <1>FAQ ou le <2>Document technique Aave V3.","Efficiency mode (E-Mode)":"Mode efficacité (E-Mode)","Emode":"Emode","Enable E-Mode":"Activer le E-Mode","Enable {symbol} as collateral":["Activer ",["symbol"]," comme collatéral"],"Enabled":"Activé","Enabled in isolation":"Activé en isolation","Enabling E-Mode":"Activation du E-Mode","Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.":"Enabling E-Mode only allows you to borrow assets belonging to the selected category. Please visit our <0>FAQ guide to learn more about how it works and the applied restrictions.","Enabling this asset as collateral increases your borrowing power and Health Factor. However, it can get liquidated if your health factor drops below 1.":"L'activation de cet actif comme garantie augmente votre pouvoir d'emprunt et votre facteur de santé. Cependant, il peut être liquidé si votre facteur de santé tombe en dessous de 1.","English":"Anglais","Enter ETH address":"Entrez l'adresse ETH","Enter an amount":"Entrez un montant","Error connecting. Try refreshing the page.":"Erreur de connexion. Essayez d'actualiser la page.","Executed":"Réalisé","Expires":"Expire","FAQ":"FAQ","Faucet":"Faucet","Faucet {0}":["Faucet ",["0"]],"Filter":"Filtrer","For repayment of a specific type of debt, the user needs to have debt that type":"For repayment of a specific type of debt, the user needs to have debt that type","Forum discussion":"Discussion de forum","French":"Français","Funds in the Safety Module":"Fonds dans le Safety Module","Get ABP Token":"Get ABP Token","Github":"Github","Global settings":"Paramètres globaux","Go Back":"Retourner","Go back":"Go back","Go to Balancer Pool":"Go to Balancer Pool","Governance":"Gouvernance","Greek":"Greek","Health factor":"Facteur de santé","Health factor is lesser than the liquidation threshold":"Le facteur santé est inférieur au seuil de liquidation","Health factor is not below the threshold":"Le facteur de santé n'est pas inférieur au seuil","Hide":"Cacher","I acknowledge the risks involved.":"Je reconnais les risques encourus.","I understand how cooldown ({0}) and unstaking ({1}) work":["Je comprends comment fonctionnent le temps de recharge (",["0"],") et le retrait (",["1"],")"],"If the error continues to happen,<0/> you may report it to this":"If the error continues to happen,<0/> you may report it to this","If the health factor goes below 1, the liquidation of your collateral might be triggered.":"Si le facteur de santé descend en dessous de 1, la liquidation de votre collatéral peut être déclenchée.","If you DO NOT unstake within {0} of unstake window, you will need to activate cooldown process again.":["Si vous NE vous désengagez PAS dans les ",["0"]," de la fenêtre de désengagement, vous devrez réactiver le processus de refroidissement."],"If your loan to value goes above the liquidation threshold your collateral supplied may be liquidated.":"Si votre prêt à la valeur dépasse le seuil de liquidation, votre garantie fournie peut être liquidée.","In E-Mode some assets are not borrowable. Exit E-Mode to get access to all assets":"En E-Mode, certains actifs ne sont pas empruntables. Quittez le E-mode pour accéder à tous les actifs","In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable {0} as collateral before borrowing another asset. Read more in our <0>FAQ":["In Isolation mode, you cannot supply other assets as collateral. A global debt ceiling limits the borrowing power of the isolated asset. To exit isolation mode disable ",["0"]," as collateral before borrowing another asset. Read more in our <0>FAQ"],"Inconsistent flashloan parameters":"Paramètres de prêt flash incohérents","Interest rate rebalance conditions were not met":"Les conditions de rééquilibrage des taux d'intérêt n'ont pas été remplies","Interest rate strategy":"Interest rate strategy","Invalid amount to burn":"Montant non valide à brûler","Invalid amount to mint":"Montant invalide à frapper","Invalid bridge protocol fee":"Frais de protocole de pont invalide","Invalid expiration":"Expiration invalide","Invalid flashloan premium":"Prime flash non valide","Invalid return value of the flashloan executor function":"Valeur de retour invalide de la fonction flashloan executor","Invalid signature":"Signature non valide","Isolated":"Isolé","Isolated Debt Ceiling":"Isolated Debt Ceiling","Isolated assets have limited borrowing power and other assets cannot be used as collateral.":"Les actifs isolés ont un pouvoir d'emprunt limité et les autres actifs ne peuvent pas être utilisés comme garantie.","Join the community discussion":"Join the community discussion","Language":"Language","Learn more":"Apprendre encore plus","Learn more about risks involved":"En savoir plus sur les risques encourus","Learn more in our <0>FAQ guide":"En savoir plus dans notre <0>guide FAQ","Links":"Liens","Liquidation <0/> threshold":"Seuil de liquidation <0/>","Liquidation at":"Liquidation à","Liquidation penalty":"Pénalité de liquidation","Liquidation risk":"Liquidation risk","Liquidation risk parameters":"Liquidation risk parameters","Liquidation threshold":"Seuil de liquidation","Liquidation value":"Valeur de liquidation","Loading data...":"Loading data...","Ltv validation failed":"Échec de la validation LTV","MAX":"MAX","Market":"Marché","Markets":"Marchés","Max":"Max","Max LTV":"Max LTV","Max slashing":"Coupure maximale","Max slippage rate":"Taux de glissement maximum","Maximum amount available to borrow against this asset is limited because debt ceiling is at {0}%.":["Maximum amount available to borrow against this asset is limited because debt ceiling is at ",["0"],"%."],"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.":"Maximum amount available to borrow is limited because protocol borrow cap is nearly reached.","Maximum amount available to supply is <0/> {0} (<1/>).":["Maximum amount available to supply is <0/> ",["0"]," (<1/>)."],"Maximum amount available to supply is limited because protocol supply cap is at {0}%.":["Maximum amount available to supply is limited because protocol supply cap is at ",["0"],"%."],"Maximum loan to value":"Maximum loan to value","Menu":"Menu","Minimum received":"Minimum reçu","More":"Plus","NAY":"NON","Need help connecting a wallet? <0>Read our FAQ":"Besoin d'aide pour connecter un portefeuille ? <0>Lire notre FAQ","Net APR":"APR Net","Net APY":"APY Net","Net APY is the combined effect of all supply and borrow positions on net worth, including incentives. It is possible to have a negative net APY if debt APY is higher than supply APY.":"L'APY net est l'effet combiné de toutes les positions d'offre et d'emprunt sur la valeur nette, y compris les incitations. Il est possible d'avoir un APY net négatif si l'APY de la dette est supérieur à l'APY de l'offre.","Net worth":"Valeur nette","Network":"Réseau","Network not supported for this wallet":"Réseau non pris en charge pour ce portefeuille","New APY":"Nouveau APY","No rewards to claim":"Aucune récompense à réclamer","No voting power":"Pas de pouvoir de vote","None":"Aucun/Aucune","Not a valid address":"Pas une adresse valide","Not enough balance on your wallet":"Pas assez de solde sur votre portefeuille","Not enough collateral to repay this amount of debt with":"Pas assez de collatéral pour rembourser ce montant de dette avec","Not enough staked balance":"Pas assez de solde staké","Not enough voting power to participate in this proposal":"Pas assez de pouvoir de vote pour participer à cette proposition","Not reached":"Non atteint","Nothing borrowed yet":"Aucun emprunt pour l'instant","Nothing staked":"Rien staké","Nothing supplied yet":"Rien fourni pour le moment","Notify":"Notify","Ok, Close":"D'accord, fermer","Ok, I got it":"OK j'ai compris","Operation not supported":"Opération non prise en charge","Oracle price":"Prix Oracle","Overview":"Aperçu","Page not found":"Page not found","Participating in this {symbol} reserve gives annualized rewards.":["Participer à cette réserve ",["symbol"]," donne des récompenses annualisées."],"Pending...":"En attente...","Per the community, the Fantom market has been frozen.":"Per the community, the Fantom market has been frozen.","Please connect a wallet to view your personal information here.":"Veuillez connecter un portefeuille pour afficher vos informations personnelles ici.","Please connect your wallet to get free testnet assets.":"Please connect your wallet to get free testnet assets.","Please connect your wallet to see your supplies, borrowings, and open positions.":"Veuillez connecter votre portefeuille pour voir vos fournitures, vos emprunts et vos positions ouvertes.","Please switch to {networkName}.":["Veuillez passer à ",["networkName"],"."],"Please, connect your wallet":"S'il vous plaît, connectez votre portefeuille","Pool addresses provider is not registered":"Le fournisseur d'adresses de pool n'est pas enregistré","Price impact":"Incidence sur les prix","Proposal details":"Détails de la proposition","Proposal overview":"Aperçu de la proposition","Proposals":"Les propositions","Proposition power":"Pouvoir de proposition","Protocol borrow cap at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap at 100% for this asset. Further borrowing unavailable.","Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.":"Protocol borrow cap is at 100% for this asset. Further borrowing unavailable.","Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Further borrowing against this asset is unavailable.","Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.":"Protocol debt ceiling is at 100% for this asset. Futher borrowing against this asset is unavailable.","Protocol supply cap at 100% for this asset. Further supply unavailable.":"Protocol supply cap at 100% for this asset. Further supply unavailable.","Protocol supply cap is at 100% for this asset. Further supply unavailable.":"Protocol supply cap is at 100% for this asset. Further supply unavailable.","Quorum":"Quorum","Raw-Ipfs":"Raw-Ipfs","Reached":"Atteint","Received":"Received","Recipient address":"Adresse du destinataire","Rejected connection request":"Demande de connexion rejetée","Reload":"Reload","Reload the page":"Reload the page","Remaining debt":"Dette restante","Remaining supply":"Offre restante","Repay":"Rembourser","Repay with":"Rembourser avec","Repay {symbol}":["Rembourser ",["symbole"]],"Repaying {symbol}":["Remboursement ",["symbole"]],"Reserve Size":"Taille de réserve","Reserve factor":"Reserve factor","Reserve factor is a percentage of interest which goes to a {0} that is controlled by Aave governance to promote ecosystem growth.":["Reserve factor is a percentage of interest which goes to a ",["0"]," that is controlled by Aave governance to promote ecosystem growth."],"Reserve status & configuration":"Statut et configuration de la réserve","Retry What?":"Réessayer Quoi ?","Retry with Approval":"Réessayer avec approbation","Retry with approval":"Réessayer avec approbation","Review approval tx details":"Examiner les détails de la taxe d'approbation","Review tx":"Réviser tx","Review tx details":"Examiner les détails de la transaction","Reward(s) to claim":"Récompense(s) à réclamer","Rewards APR":"Récompenses APR","Risk details":"Détails des risques","SEE CHARTS":"VOIR LES GRAPHIQUES","Safety of your deposited collateral against the borrowed assets and its underlying value.":"Sécurité de votre garantie déposée contre les actifs empruntés et sa valeur sous-jacente.","Seatbelt report":"Seatbelt report","Seems like we can't switch the network automatically. Please check if you can change it from the wallet.":"On dirait que nous ne pouvons pas changer de réseau automatiquement. Veuillez vérifier si vous pouvez le changer depuis le portefeuille.","Select":"Select","Select APY type to switch":"Sélectionnez le type APY pour basculer","Select language":"Choisir la langue","Select token to add":"Select token to add","Select token to view in block explorer":"Select token to view in block explorer","Setup notifications about your Health Factor using the Hal app.":"Setup notifications about your Health Factor using the Hal app.","Share on twitter":"Partager sur Twitter","Show":"Montrer","Show assets with 0 balance":"Afficher les actifs avec 0 solde","Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard":"Since this asset is frozen, the only available actions are withdraw and repay which can be accessed from the <0>Dashboard","Since this is a test network, you can get any of the assets if you have ETH on your wallet":"Comme il s'agit d'un réseau de test, vous pouvez obtenir n'importe lequel des actifs si vous avez ETH dans votre portefeuille","Something went wrong":"Something went wrong","Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.":"Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later.","Sorry, we couldn't find the page you were looking for.":"Sorry, we couldn't find the page you were looking for.","Spanish":"Espagnol","Stable":"Stable","Stable Interest Type is disabled for this currency":"Le type d'intérêt stable est désactivé pour cette devise","Stable borrowing is enabled":"L'emprunt stable est activé","Stable borrowing is not enabled":"L'emprunt stable n'est pas activé","Stable debt supply is not zero":"L'offre de dette stable n'est pas nulle","Stable interest rate will <0>stay the same for the duration of your loan. Recommended for long-term loan periods and for users who prefer predictability.":"Le taux d'intérêt stable <0>restera le même pendant toute la durée de votre prêt. Recommandé pour les périodes de prêt à long terme et pour les utilisateurs qui préfèrent la prévisibilité.","Stablecoin":"Stablecoin","Stake":"Stake","Stake AAVE":"Stake AAVE","Stake ABPT":"Stake ABPT","Stake cooldown activated":"Stake cooldown activated","Staked":"Staké","Staking":"Staking","Staking APR":"APR staké","Started":"Commencé","State":"État","Supplied":"Supplied","Supply":"Fournir","Supply APY":"Fournir APY","Supply apy":"Fournir apy","Supply balance":"Bilan d'approvisionnement","Supply cap is exceeded":"Le plafond d'approvisionnement est dépassé","Supply cap on target reserve reached. Try lowering the amount.":"Plafond d'approvisionnement sur la réserve cible atteint. Essayez de réduire le montant.","Supply {symbol}":["Fournir ",["symbole"]],"Supplying your":"Fournir votre","Supplying {symbol}":["Fournir ",["symbole"]],"Swap":"Swap","Swapped":"Swapped","Swapping":"Échange","Switch APY type":"Changer de type APY","Switch E-Mode":"Switch E-Mode","Switch E-Mode category":"Switch E-Mode category","Switch Network":"Changer de réseau","Switch rate":"Taux de changement","Switching E-Mode":"Switching E-Mode","Switching rate":"Taux de commutation","Test Assets":"Test Assets","Testnet mode":"Mode réseau test","Testnet mode is ON":"Testnet mode is ON","The % of your total borrowing power used. This is based on the amount of your collateral supplied and the total amount that you can borrow.":"Le % de votre pouvoir d'emprunt total utilisé. Ceci est basé sur le montant de votre garantie fournie et le montant total que vous pouvez emprunter.","The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.":"The Aave Balancer Pool Token (ABPT) is a liquidity pool token. You can receive ABPT by depositing a combination of AAVE + ETH in the Balancer liquidity pool. You can then stake your BPT in the Safety Module to secure the protocol and earn Safety Incentives.","The Maximum LTV ratio represents the maximum borrowing power of a specific collateral. For example, if a collateral has an LTV of 75%, the user can borrow up to 0.75 worth of ETH in the principal currency for every 1 ETH worth of collateral.":"Le ratio LTV maximum représente le pouvoir d'emprunt maximum d'une garantie spécifique. Par exemple, si une garantie a un LTV de 75 %, l'utilisateur peut emprunter jusqu'à 0,75 ETH dans la devise principale pour chaque 1 ETH de garantie.","The Stable Rate is not enabled for this currency":"Le taux stable n'est pas activé pour cette devise","The address of the pool addresses provider is invalid":"L'adresse du fournisseur d'adresses du pool n'est pas valide","The app is running in testnet mode. Learn how it works in":"The app is running in testnet mode. Learn how it works in","The caller of the function is not an AToken":"L'appelant de la fonction n'est pas un AToken","The caller of this function must be a pool":"L'appelant de cette fonction doit être un pool","The collateral balance is 0":"Le solde de la garantie est de 0","The collateral chosen cannot be liquidated":"La garantie choisie ne peut être liquidée","The cooldown period is the time required prior to unstaking your tokens(10 days). You can only withdraw your assets from the Security Module after the cooldown period and within the active the unstake window.<0>Learn more":"La période de recharge est le temps nécessaire avant de retirer vos jetons (10 jours). Vous ne pouvez retirer vos actifs du module de sécurité qu'après la période de refroidissement et pendant la fenêtre active de désactivation.<0>En savoir plus","The cooldown period is {0}. After {1} of cooldown, you will enter unstake window of {2}. You will continue receiving rewards during cooldown and unstake window.":["La période de recharge est de ",["0"],". Après ",["1"]," de temps de recharge, vous entrerez dans la fenêtre de désengagement de ",["2"],". Vous continuerez à recevoir des récompenses pendant le temps de recharge et la fenêtre de retrait."],"The effects on the health factor would cause liquidation. Try lowering the amount.":"Les effets sur le facteur santé entraîneraient la liquidation. Essayez de réduire le montant.","The requested amount is greater than the max loan size in stable rate mode":"Le montant demandé est supérieur au montant maximum du prêt en mode taux stable","The total amount of your assets denominated in USD that can be used as collateral for borrowing assets.":"Le montant total de vos actifs libellés en USD qui peut être utilisé comme garantie pour emprunter des actifs.","The underlying asset cannot be rescued":"L'actif sous-jacent ne peut pas être sauvé","The underlying balance needs to be greater than 0":"Le solde sous-jacent doit être supérieur à 0","The weighted average of APY for all borrowed assets, including incentives.":"La moyenne pondérée de l'APY pour tous les actifs empruntés, y compris les incitatifs.","The weighted average of APY for all supplied assets, including incentives.":"La moyenne pondérée de l'APY pour tous les actifs fournis, y compris les incitations.","There are not enough funds in the{0}reserve to borrow":["Il n'y a pas assez de fonds dans la ",["0"]," réserve pour emprunter"],"There is not enough collateral to cover a new borrow":"Il n'y a pas assez de collatéral pour couvrir un nouvel emprunt","There was some error. Please try changing the parameters or <0><1>copy the error":"Il y a eu une erreur. Veuillez essayer de modifier les paramètres ou <0><1>copier l'erreur","These funds have been borrowed and are not available for withdrawal at this time.":"Ces fonds ont été empruntés et ne peuvent pas être retirés pour le moment.","This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.":"This action will reduce your health factor. Please be mindful of the increased risk of collateral liquidation.","This address is blocked on app.aave.com because it is associated with one or more":"This address is blocked on app.aave.com because it is associated with one or more","This asset has almost reached its borrow cap. There is only {messageValue} available to be borrowed from this market.":["Cet actif a presque atteint son plafond d'emprunt. Il n'y a que ",["messageValue"]," disponible pour être emprunté sur ce marché."],"This asset has almost reached its supply cap. There can only be {messageValue} supplied to this market.":["Cet actif a presque atteint son plafond d'offre. Il ne peut y avoir que ",["messageValue"]," fourni à ce marché."],"This asset has reached its borrow cap. Nothing is available to be borrowed from this market.":"Cet actif a atteint son plafond d'emprunt. Rien n'est disponible pour être emprunté à ce marché.","This asset has reached its supply cap. Nothing is available to be supplied from this market.":"Cet actif a atteint son plafond d'offre. Rien n'est disponible pour être fourni à partir de ce marché.","This asset is frozen due to an Aave Protocol Governance decision. <0>More details":"This asset is frozen due to an Aave Protocol Governance decision. <0>More details","This asset is frozen due to an Aave community decision. <0>More details":"This asset is frozen due to an Aave community decision. <0>More details","This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider.":"Ce calcul de gaz n'est qu'une estimation. Votre portefeuille fixera le prix de la transaction. Vous pouvez modifier les paramètres de gaz directement depuis votre fournisseur de portefeuille.","This integration was<0>proposed and approvedby the community.":"This integration was<0>proposed and approvedby the community.","This is the total amount available for you to borrow. You can borrow based on your collateral and until the borrow cap is reached.":"Il s'agit du montant total que vous pouvez emprunter. Vous pouvez emprunter en fonction de votre garantie et jusqu'à ce que le plafond d'emprunt soit atteint.","This is the total amount that you are able to supply to in this reserve. You are able to supply your wallet balance up until the supply cap is reached.":"Il s'agit du montant total que vous pouvez emprunter. Vous pouvez emprunter en fonction de votre garantie et jusqu'à ce que le plafond d'emprunt soit atteint.","This represents the threshold at which a borrow position will be considered undercollateralized and subject to liquidation for each collateral. For example, if a collateral has a liquidation threshold of 80%, it means that the position will be liquidated when the debt value is worth 80% of the collateral value.":"Cela représente le seuil auquel une position d'emprunt sera considérée comme sous-garantie et sujette à liquidation pour chaque garantie. Par exemple, si une garantie a un seuil de liquidation de 80 %, cela signifie que la position sera liquidée lorsque la valeur de la dette vaut 80 % de la valeur de la garantie.","Time left to be able to withdraw your staked asset.":"Temps restant pour pouvoir retirer votre bien staké.","Time left to unstake":"Temps restant pour dépiquer","Time left until the withdrawal window closes.":"Temps restant jusqu'à la fermeture de la fenêtre de retrait.","To borrow you need to supply any asset to be used as collateral.":"Pour emprunter, vous devez fournir tout actif à utiliser comme garantie.","To enable E-mode for the {0} category, all borrow positions outside of this cateogry must be closed.":["To enable E-mode for the ",["0"]," category, all borrow positions outside of this cateogry must be closed."],"To repay on behalf of a user an explicit amount to repay is needed":"Pour rembourser au nom d'un utilisateur, un montant explicite à rembourser est nécessaire","To request access for this permissioned market, please visit: <0>Acces Provider Name":"Pour demander l'accès à ce marché autorisé, veuillez consulter : <0>Nom du fournisseur d'accès","Total available":"Total disponible","Total borrowed":"Total emprunté","Total borrows":"Total des emprunts","Total emission per day":"Émission totale par jour","Total market size":"Taille totale du marché","Total supplied":"Total fourni","Total voting power":"Pouvoir de vote total","Total worth":"Valeur totale","Transaction failed":"La transaction a échoué","Transaction overview":"Aperçu des transactions","Type of delegation":"Type de délégation","UNSTAKE {symbol}":["DÉPOSER ",["symbole"]],"UNSTAKING {symbol}":["Arrêter de staker ",["symbol"]],"Unavailable":"Non disponible","Unbacked":"Sans support","Unbacked mint cap is exceeded":"Le plafond de mintage non soutenu est dépassé","Unstake now":"Arrêter de staker maintenant","Unstake window":"Fenêtre d'arrêt de staking","Used as collateral":"Utilisé comme collatéral","User cannot withdraw more than the available balance":"L'utilisateur ne peut pas retirer plus que le solde disponible","User did not borrow the specified currency":"L'utilisateur n'a pas emprunté la devise spécifiée","User does not have outstanding stable rate debt on this reserve":"L'utilisateur n'a pas de dette à taux stable impayée sur cette réserve","User does not have outstanding variable rate debt on this reserve":"L'utilisateur n'a pas de dette à taux variable impayée sur cette réserve","User is in isolation mode":"L'utilisateur est en mode d'isolement","User is trying to borrow multiple assets including a siloed one":"L'utilisateur essaie d'emprunter plusieurs actifs, y compris un en silo","Utilization Rate":"Taux d'utilisation","VOTE NAY":"VOTER NON","VOTE YAE":"VOTER OUI","Variable":"Variable","Variable debt supply is not zero":"L'offre de dette variable n'est pas nulle","Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.":"Variable interest rate will <0>fluctuate based on the market conditions. Recommended for short-term positions.","Version 2":"Version 2","Version 3":"Version 3","View contract":"View contract","View details":"Voir détails","View on Explorer":"Voir sur l'explorer","Vote":"Vote","Vote NAY":"Vote NAY","Vote YAE":"Vote YAE","Voting power":"Pouvoir de vote","Voting results":"Résultats du vote","Wallet balance":"Solde du portefeuille","Wallet not detected. Connect or install wallet and retry":"Portefeuille non détecté. Connectez ou installez le portefeuille et réessayez","Wallets are provided by External Providers and by selecting you agree to Terms of those Providers. Your access to the wallet might be reliant on the External Provider being operational.":"Les portefeuilles sont fournis par des fournisseurs externes et en sélectionnant, vous acceptez les conditions de ces fournisseurs. Votre accès au portefeuille peut dépendre du fonctionnement du fournisseur externe.","We couldn’t detect a wallet. Connect a wallet to stake.":"Nous n'avons pas pu détecter de portefeuille. Connectez un portefeuille pour miser.","We suggest you go back to the Dashboard.":"We suggest you go back to the Dashboard.","When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus.":"Lorsqu'une liquidation survient, les liquidateurs remboursent jusqu'à 50 % de l'encours emprunté au nom de l'emprunteur. En contrepartie, ils peuvent acheter le collatéral à prix réduit et conserver la différence (pénalité de liquidation) en bonus.","Why do I need to approve?":"Pourquoi dois-je approuver ?","With a voting power of <0/>":"Avec un pouvoir de vote de <0/>","With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more":"With testnet Faucet you can get free assets to test the Aave Protocol. Make sure to switch your wallet provider to the appropriate testnet network, select desired asset, and click ‘Faucet’ to get tokens transferred to your wallet. The assets on a testnet are not “real,” meaning they have no monetary value. <0>Learn more","Withdraw":"Retirer","Withdraw {symbol}":["Retirer ",["symbole"]],"Withdrawing this amount will reduce your health factor and increase risk of liquidation.":"Le retrait de ce montant réduira votre facteur santé et augmentera le risque de liquidation.","Withdrawing {symbol}":["Retrait ",["symbole"]],"Wrong Network":"Mauvais réseau","YAE":"YAE","You are entering Isolation mode":"Vous entrez en mode Isolation","You can borrow this asset with a stable rate only if you borrow more than the amount you are supplying as collateral.":"Vous ne pouvez emprunter cet actif avec un taux stable que si vous empruntez plus que le montant que vous fournissez en garantie.","You can not change Interest Type to stable as your borrowings are higher than your collateral":"Vous ne pouvez pas changer le type d'intérêt en stable car vos emprunts sont supérieurs à votre garantie","You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.":"You can not disable E-Mode as your current collateralization level is above 80%, disabling E-Mode can cause liquidation. To exit E-Mode supply or repay borrowed positions.","You can not switch usage as collateral mode for this currency, because it will cause collateral call":"Vous ne pouvez pas changer d'utilisation en tant que mode de garantie pour cette devise, car cela entraînera un appel de garantie","You can not use this currency as collateral":"Vous ne pouvez pas utiliser cette devise comme garantie","You can not withdraw this amount because it will cause collateral call":"Vous ne pouvez pas retirer ce montant car cela entraînera un appel de garantie","You can only withdraw your assets from the Security Module after the cooldown period ends and the unstake window is active.":"Vous ne pouvez retirer vos actifs du module de sécurité qu'après la fin de la période de refroidissement et que la fenêtre de retrait est active.","You can report incident to our <0>Discord or <1>Github.":"Vous pouvez signaler un incident sur notre <0>Discord ou <1>Github.","You cancelled the transaction.":"Vous avez annulé la transaction.","You did not participate in this proposal":"Vous n'avez pas participé à cette proposition","You do not have supplies in this currency":"Vous n'avez pas de fournitures dans cette devise","You don’t have enough funds in your wallet to repay the full amount. If you proceed to repay with your current amount of funds, you will still have a small borrowing position in your dashboard.":"Vous n'avez pas assez de fonds dans votre portefeuille pour rembourser le montant total. Si vous continuez à rembourser avec votre montant actuel de fonds, vous aurez toujours une petite position d'emprunt dans votre tableau de bord.","You have not borrow yet using this currency":"You have not borrow yet using this currency","You switched to {0} rate":["Vous êtes passé au tarif ",["0"]],"You unstake here":"Vous unstaké ici","You voted {0}":["Vous avez voté ",["0"]],"You will exit isolation mode and other tokens can now be used as collateral":"Vous quitterez le mode d'isolement et d'autres jetons peuvent désormais être utilisés comme collatéral","You {action} <0/> {symbol}":["Vous ",["action"]," <0/> ",["symbole"]],"Your borrows":"Vos emprunts","Your current loan to value based on your collateral supplied.":"Votre prêt actuel à la valeur en fonction de votre collatéral fournie.","Your health factor and loan to value determine the assurance of your collateral. To avoid liquidations you can supply more collateral or repay borrow positions.":"Votre facteur de santé et votre prêt à la valeur déterminent l'assurance de votre collatéral. Pour éviter les liquidations, vous pouvez fournir plus de garanties ou rembourser les positions d'emprunt.","Your info":"Vos informations","Your reward balance is 0":"Votre solde de récompenses est de 0","Your supplies":"Vos ressources","Your voting info":"Vos informations de vote","Your {networkName} wallet is empty. Get free test assets at":["Your ",["networkName"]," wallet is empty. Get free test assets at"],"Your {networkName} wallet is empty. Get free test {0} at":["Your ",["networkName"]," wallet is empty. Get free test ",["0"]," at"],"Your {networkName} wallet is empty. Purchase or transfer assets":["Votre portefeuille ",["networkName"]," est vide. Acheter ou transférer des actifs"],"Zero address not valid":"Adresse zéro non-valide","assets":"actifs","blocked activities":"blocked activities","copy the error":"copier l'erreur","documentation":"documentation","ends":"Prend fin","here.":"ici.","is an asset affected by rebasing. Visit the":"est un actif affecté par le rebasage. Visiter le","of":"of","on":"sur","or":"ou","or use <0>{0} to transfer your ETH assets.":["ou utilisez <0>",["0"]," pour transférer vos actifs ETH."],"please check that the amount you want to supply is not currently being used for staking. If it is being used for staking, your transaction might fail.":"veuillez vérifier que le montant que vous souhaitez fournir n'est pas actuellement utilisé pour le staking. S'il est utilisé pour le staking, votre transaction peut échouer.","repaid":"repaid","staking view":"vue de staking","to learn more.":"pour apprendre plus.","tokens is not the same as staking them. If you wish to stake your":"tokens n'est pas la même chose que de les staker . Si vous souhaitez staker votre","tokens, please go to the":"tokens, veuillez vous rendre sur","withdrew":"withdrew","{0}":[["0"]],"{0} Balance":[["0"]," Balance"],"{0} Faucet":[["0"]," Faucet"],"{d}d":[["d"],"d"],"{h}h":[["h"],"h"],"{m}m":[["m"],"m"],"{networkName} Faucet":[["networkName"]," Faucet"],"{s}s":[["s"],"s"],"{tooltipText}":[["tooltipText"]]}}; \ No newline at end of file diff --git a/src/locales/fr/messages.po b/src/locales/fr/messages.po index fc66e30fa7..1d87d7d36b 100644 --- a/src/locales/fr/messages.po +++ b/src/locales/fr/messages.po @@ -8,7 +8,7 @@ msgstr "" "Language: fr\n" "Project-Id-Version: aave-interface\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-09-14 12:07\n" +"PO-Revision-Date: 2022-09-27 18:08\n" "Last-Translator: \n" "Language-Team: French\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" @@ -22,6 +22,10 @@ msgstr "" msgid "<0>Ampleforth is an asset affected by rebasing. Visit the <1>documentation or <2>Ampleforth's FAQ to learn more." msgstr "<0>Ampleforth est un actif affecté par le rebasing. Visitez la <1>documentation ou la <2>FAQ d'Ampleforth pour en savoir plus." +#: src/components/transactions/Borrow/BorrowModalContent.tsx +msgid "<0>Attention: Parameter changes via governance can alter your account health factor and risk of liquidation. Follow the <1>Aave governance forum for updates." +msgstr "" + #: src/modules/staking/StakingHeader.tsx msgid "AAVE holders can stake their AAVE in the Safety Module to add more security to the protocol and earn Safety Incentives. In the case of a shortfall event, up to 30% of your stake can be slashed to cover the deficit, providing an additional layer of protection for the protocol." msgstr "Les détenteurs d'AAVE peuvent mettre leur AAVE dans le Safety Module pour renforcer la sécurité au protocole et gagner des Safety Incentives. Dans le cas d'un évènement de shortfall, jusqu'à 30% de votre stake peut être slashed pour couvrir le déficit, fournissant une couche supplémentaire de protection pour le protocole." @@ -176,11 +180,6 @@ msgstr "Approuver {symbol}..." msgid "Array parameters that should be equal length are not" msgstr "Les paramètres de tableau devraient être de même longueur ne sont pas" -#: src/components/transactions/Warnings/ETHBorrowWarning.tsx -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead of the merge to mitigate liquidity risk. <0>Learn more." -msgstr "" - #: src/modules/faucet/FaucetAssetsList.tsx #: src/modules/markets/AssetsList.tsx msgid "Asset" @@ -260,6 +259,10 @@ msgstr "Disponible à emprunter" msgid "Available to supply" msgstr "Disponible au dépôt" +#: pages/404.page.tsx +msgid "Back to Dashboard" +msgstr "" + #: src/components/transactions/AssetInput.tsx #: src/components/transactions/ClaimRewards/ClaimRewardsModalContent.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx @@ -503,6 +506,10 @@ msgstr "Refroidissement..." msgid "Copy address" msgstr "Copier l'adresse" +#: pages/500.page.tsx +msgid "Copy error message" +msgstr "" + #: src/components/transactions/FlowCommons/Error.tsx msgid "Copy error text" msgstr "Copier le texte d'erreur" @@ -532,6 +539,10 @@ msgstr "Mode Sombre" msgid "Dashboard" msgstr "Tableau de bord" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Data couldn't be fetched, please reload graph." +msgstr "" + #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx #: src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListMobileItem.tsx msgid "Debt" @@ -622,13 +633,17 @@ msgstr "Déconnecter le portefeuille" msgid "Discord" msgstr "Discord" +#: pages/500.page.tsx +msgid "Discord channel" +msgstr "" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Swap/SwapModalContent.tsx msgid "Due to a precision bug in the stETH contract, this asset can not be used in flashloan transactions" msgstr "" -#: src/components/transactions/Warnings/HarmonyWarning.tsx -msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market. <0>{0}" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Due to the Horizon bridge exploit, certain assets on the Harmony network are not at parity with Ethereum, which affects the Aave V3 Harmony market." msgstr "" #: src/modules/dashboard/DashboardEModeButton.tsx @@ -815,6 +830,10 @@ msgstr "Je reconnais les risques encourus." msgid "I understand how cooldown ({0}) and unstaking ({1}) work" msgstr "Je comprends comment fonctionnent le temps de recharge ({0}) et le retrait ({1})" +#: pages/500.page.tsx +msgid "If the error continues to happen,<0/> you may report it to this" +msgstr "" + #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx msgid "If the health factor goes below 1, the liquidation of your collateral might be triggered." msgstr "Si le facteur de santé descend en dessous de 1, la liquidation de votre collatéral peut être déclenchée." @@ -843,6 +862,10 @@ msgstr "Paramètres de prêt flash incohérents" msgid "Interest rate rebalance conditions were not met" msgstr "Les conditions de rééquilibrage des taux d'intérêt n'ont pas été remplies" +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "Interest rate strategy" +msgstr "" + #: src/ui-config/errorMapping.tsx msgid "Invalid amount to burn" msgstr "Montant non valide à brûler" @@ -883,6 +906,10 @@ msgstr "" msgid "Isolated assets have limited borrowing power and other assets cannot be used as collateral." msgstr "Les actifs isolés ont un pouvoir d'emprunt limité et les autres actifs ne peuvent pas être utilisés comme garantie." +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Join the community discussion" +msgstr "" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Language" msgstr "Language" @@ -894,6 +921,7 @@ msgstr "Language" #: src/components/transactions/StakeCooldown/StakeCooldownModalContent.tsx #: src/components/transactions/Warnings/BorrowCapWarning.tsx #: src/components/transactions/Warnings/DebtCeilingWarning.tsx +#: src/components/transactions/Warnings/MarketWarning.tsx #: src/components/transactions/Warnings/SupplyCapWarning.tsx #: src/modules/dashboard/LiquidationRiskParametresModal/LiquidationRiskParametresModal.tsx #: src/modules/reserve-overview/ReserveConfiguration.tsx @@ -943,6 +971,10 @@ msgstr "Seuil de liquidation" msgid "Liquidation value" msgstr "Valeur de liquidation" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Loading data..." +msgstr "" + #: src/ui-config/errorMapping.tsx msgid "Ltv validation failed" msgstr "Échec de la validation LTV" @@ -1122,6 +1154,10 @@ msgstr "Prix Oracle" msgid "Overview" msgstr "Aperçu" +#: pages/404.page.tsx +msgid "Page not found" +msgstr "" + #: src/components/incentives/IncentivesTooltipContent.tsx msgid "Participating in this {symbol} reserve gives annualized rewards." msgstr "Participer à cette réserve {symbol} donne des récompenses annualisées." @@ -1131,12 +1167,8 @@ msgstr "Participer à cette réserve {symbol} donne des récompenses annualisée msgid "Pending..." msgstr "En attente..." -#: src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx -msgid "Per the community, borrowing in this market is currently disabled. <0>Learn More" -msgstr "" - -#: src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx -msgid "Per the community, supplying in this market is currently disabled. <0>Learn More" +#: src/components/transactions/Warnings/MarketWarning.tsx +msgid "Per the community, the Fantom market has been frozen." msgstr "" #: src/modules/reserve-overview/ReserveActions.tsx @@ -1235,6 +1267,14 @@ msgstr "Adresse du destinataire" msgid "Rejected connection request" msgstr "Demande de connexion rejetée" +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Reload" +msgstr "" + +#: pages/500.page.tsx +msgid "Reload the page" +msgstr "" + #: src/components/transactions/Repay/CollateralRepayModalContent.tsx #: src/components/transactions/Repay/RepayModalContent.tsx msgid "Remaining debt" @@ -1376,6 +1416,19 @@ msgstr "" msgid "Since this is a test network, you can get any of the assets if you have ETH on your wallet" msgstr "Comme il s'agit d'un réseau de test, vous pouvez obtenir n'importe lequel des actifs si vous avez ETH dans votre portefeuille" +#: pages/500.page.tsx +#: src/modules/reserve-overview/graphs/ApyGraphContainer.tsx +msgid "Something went wrong" +msgstr "" + +#: pages/500.page.tsx +msgid "Sorry, an unexpected error happened. In the meantime you may try reloading the page, or come back later." +msgstr "" + +#: pages/404.page.tsx +msgid "Sorry, we couldn't find the page you were looking for." +msgstr "" + #: src/layouts/components/LanguageSwitcher.tsx msgid "Spanish" msgstr "Espagnol" @@ -1675,6 +1728,14 @@ msgstr "Cet actif a atteint son plafond d'emprunt. Rien n'est disponible pour ê msgid "This asset has reached its supply cap. Nothing is available to be supplied from this market." msgstr "Cet actif a atteint son plafond d'offre. Rien n'est disponible pour être fourni à partir de ce marché." +#: src/components/infoTooltips/FrozenTooltip.tsx +msgid "This asset is frozen due to an Aave Protocol Governance decision. <0>More details" +msgstr "" + +#: src/modules/reserve-overview/ReserveConfiguration.tsx +msgid "This asset is frozen due to an Aave community decision. <0>More details" +msgstr "" + #: src/components/infoTooltips/GasTooltip.tsx msgid "This gas calculation is only an estimation. Your wallet will set the price of the transaction. You can modify the gas settings directly from your wallet provider." msgstr "Ce calcul de gaz n'est qu'une estimation. Votre portefeuille fixera le prix de la transaction. Vous pouvez modifier les paramètres de gaz directement depuis votre fournisseur de portefeuille." @@ -1831,7 +1892,9 @@ msgstr "L'utilisateur est en mode d'isolement" msgid "User is trying to borrow multiple assets including a siloed one" msgstr "L'utilisateur essaie d'emprunter plusieurs actifs, y compris un en silo" +#: src/modules/reserve-overview/ReserveConfiguration.tsx #: src/modules/reserve-overview/ReserveTopDetails.tsx +#: src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx msgid "Utilization Rate" msgstr "Taux d'utilisation" @@ -1921,6 +1984,10 @@ msgstr "Les portefeuilles sont fournis par des fournisseurs externes et en séle msgid "We couldn’t detect a wallet. Connect a wallet to stake." msgstr "Nous n'avons pas pu détecter de portefeuille. Connectez un portefeuille pour miser." +#: pages/404.page.tsx +msgid "We suggest you go back to the Dashboard." +msgstr "" + #: src/components/infoTooltips/LiquidationPenaltyTooltip.tsx msgid "When a liquidation occurs, liquidators repay up to 50% of the outstanding borrowed amount on behalf of the borrower. In return, they can buy the collateral at a discount and keep the difference (liquidation penalty) as a bonus." msgstr "Lorsqu'une liquidation survient, les liquidateurs remboursent jusqu'à 50 % de l'encours emprunté au nom de l'emprunteur. En contrepartie, ils peuvent acheter le collatéral à prix réduit et conserver la différence (pénalité de liquidation) en bonus." @@ -2184,10 +2251,6 @@ msgstr "{0} Balance" msgid "{0} Faucet" msgstr "{0} Faucet" -#: src/modules/reserve-overview/ReserveConfiguration.tsx -msgid "{0} is frozen due to an Aave community decision. <0>More details" -msgstr "" - #: src/modules/staking/StakingPanel.tsx msgid "{d}d" msgstr "{d}d" @@ -2205,10 +2268,6 @@ msgstr "{m}m" msgid "{networkName} Faucet" msgstr "" -#: src/components/infoTooltips/FrozenWarning.tsx -msgid "{symbol} is frozen due to an Aave Protocol Governance decision. <0>More details" -msgstr "" - #: src/modules/staking/StakingPanel.tsx msgid "{s}s" msgstr "{s}s" diff --git a/src/modules/dashboard/DashboardEModeButton.tsx b/src/modules/dashboard/DashboardEModeButton.tsx index e5c529e3c0..d85f08e768 100644 --- a/src/modules/dashboard/DashboardEModeButton.tsx +++ b/src/modules/dashboard/DashboardEModeButton.tsx @@ -1,8 +1,11 @@ -import { LightningBoltIcon, CogIcon } from '@heroicons/react/solid'; +import { CogIcon, LightningBoltIcon } from '@heroicons/react/solid'; import { Trans } from '@lingui/macro'; import { Box, Button, SvgIcon, Typography } from '@mui/material'; import Menu from '@mui/material/Menu'; import React, { useState } from 'react'; +import { EmodeModalType } from 'src/components/transactions/Emode/EmodeModalContent'; +import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider'; +import { useModalContext } from 'src/hooks/useModal'; import LightningBoltGradient from '/public/lightningBoltGradient.svg'; @@ -10,9 +13,6 @@ import { Link } from '../../components/primitives/Link'; import { Row } from '../../components/primitives/Row'; import { TypographyGradient } from '../../components/primitives/TypographyGradient'; import { getEmodeMessage } from '../../components/transactions/Emode/EmodeNaming'; -import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider'; -import { useModalContext } from 'src/hooks/useModal'; -import { EmodeModalType } from 'src/components/transactions/Emode/EmodeModalContent'; interface DashboardEModeButtonProps { userEmodeCategoryId: number; diff --git a/src/modules/dashboard/DashboardTopPanel.tsx b/src/modules/dashboard/DashboardTopPanel.tsx index eb2d3a42e8..e73e0dd3ba 100644 --- a/src/modules/dashboard/DashboardTopPanel.tsx +++ b/src/modules/dashboard/DashboardTopPanel.tsx @@ -3,10 +3,15 @@ import { Trans } from '@lingui/macro'; import { Box, Button, useMediaQuery, useTheme } from '@mui/material'; import * as React from 'react'; import { useState } from 'react'; +import { NetAPYTooltip } from 'src/components/infoTooltips/NetAPYTooltip'; import { useModalContext } from 'src/hooks/useModal'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; +import ClaimGiftIcon from '../../../public/icons/markets/claim-gift-icon.svg'; +import EmptyHeartIcon from '../../../public/icons/markets/empty-heart-icon.svg'; +import NetAPYIcon from '../../../public/icons/markets/net-apy-icon.svg'; +import WalletIcon from '../../../public/icons/markets/wallet-icon.svg'; // TODO: need change icon // import HfEmpty from '/public/icons/healthFactor/hfEmpty.svg'; // import HfFull from '/public/icons/healthFactor/hfFull.svg'; @@ -21,12 +26,6 @@ import { TopInfoPanelItem } from '../../components/TopInfoPanel/TopInfoPanelItem import { useAppDataContext } from '../../hooks/app-data-provider/useAppDataProvider'; import { LiquidationRiskParametresInfoModal } from './LiquidationRiskParametresModal/LiquidationRiskParametresModal'; -import WalletIcon from '../../../public/icons/markets/wallet-icon.svg'; -import NetAPYIcon from '../../../public/icons/markets/net-apy-icon.svg'; -import EmptyHeartIcon from '../../../public/icons/markets/empty-heart-icon.svg'; -import ClaimGiftIcon from '../../../public/icons/markets/claim-gift-icon.svg'; -import { NetAPYTooltip } from 'src/components/infoTooltips/NetAPYTooltip'; - export const DashboardTopPanel = () => { const { currentNetworkConfig, currentMarketData, currentMarket } = useProtocolDataContext(); const { user, reserves, loading } = useAppDataContext(); diff --git a/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx b/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx index 12c8fb1d8d..48bf95233b 100644 --- a/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx +++ b/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsList.tsx @@ -1,12 +1,19 @@ -import { Fragment } from 'react'; import { API_ETH_MOCK_ADDRESS, InterestRate } from '@aave/contract-helpers'; import { USD_DECIMALS, valueToBigNumber } from '@aave/math-utils'; import { Trans } from '@lingui/macro'; -import { Box, useMediaQuery, useTheme } from '@mui/material'; +import { Box, Typography, useMediaQuery, useTheme } from '@mui/material'; +import { Fragment } from 'react'; +import { StableAPYTooltip } from 'src/components/infoTooltips/StableAPYTooltip'; +import { VariableAPYTooltip } from 'src/components/infoTooltips/VariableAPYTooltip'; +import { Warning } from 'src/components/primitives/Warning'; +import { MarketWarning } from 'src/components/transactions/Warnings/MarketWarning'; +import { AssetCapsProvider } from 'src/hooks/useAssetCaps'; import { fetchIconSymbolAndName } from 'src/ui-config/reservePatches'; + import { CapType } from '../../../../components/caps/helper'; import { AvailableTooltip } from '../../../../components/infoTooltips/AvailableTooltip'; import { ListWrapper } from '../../../../components/lists/ListWrapper'; +import { Link } from '../../../../components/primitives/Link'; import { ComputedReserveData, useAppDataContext, @@ -20,11 +27,6 @@ import { ListHeader } from '../ListHeader'; import { ListLoader } from '../ListLoader'; import { BorrowAssetsListItem } from './BorrowAssetsListItem'; import { BorrowAssetsListMobileItem } from './BorrowAssetsListMobileItem'; -import { Link } from '../../../../components/primitives/Link'; -import { VariableAPYTooltip } from 'src/components/infoTooltips/VariableAPYTooltip'; -import { StableAPYTooltip } from 'src/components/infoTooltips/StableAPYTooltip'; -import { Warning } from 'src/components/primitives/Warning'; -import { AssetCapsProvider } from 'src/hooks/useAssetCaps'; export const BorrowAssetsList = () => { const { currentNetworkConfig } = useProtocolDataContext(); @@ -110,34 +112,35 @@ export const BorrowAssetsList = () => { const borrowDisabled = !borrowReserves.length; return ( Assets to borrow} + titleComponent={ + + Assets to borrow + + } localStorageName="borrowAssetsDashboardTableCollapse" withTopMargin noData={borrowDisabled} subChildrenComponent={ - {borrowDisabled && currentNetworkConfig.name === 'Harmony' ? ( - + {borrowDisabled && currentNetworkConfig.name === 'Harmony' && ( + + )} + + {borrowDisabled && currentNetworkConfig.name === 'Fantom' && ( + + )} + + {+collateralUsagePercent >= 0.98 && ( + - Per the community, borrowing in this market is currently disabled.{' '} - - Learn More - + Be careful - You are very close to liquidation. Consider depositing more collateral + or paying down some of your borrowed positions - ) : ( + )} + + {!borrowDisabled && ( <> - {+collateralUsagePercent >= 0.98 && ( - - - Be careful - You are very close to liquidation. Consider depositing more - collateral or paying down some of your borrowed positions - - - )} {user?.isInIsolationMode && ( Borrowing power and assets are limited due to Isolation mode. diff --git a/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListItem.tsx b/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListItem.tsx index ea835b07b8..7b252f8946 100644 --- a/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListItem.tsx +++ b/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListItem.tsx @@ -3,6 +3,7 @@ import { Button } from '@mui/material'; import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useModalContext } from 'src/hooks/useModal'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; + import { CapsHint } from '../../../../components/caps/CapsHint'; import { CapType } from '../../../../components/caps/helper'; import { Link, ROUTES } from '../../../../components/primitives/Link'; diff --git a/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListMobileItem.tsx b/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListMobileItem.tsx index ded99a47c3..d1c0248399 100644 --- a/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListMobileItem.tsx +++ b/src/modules/dashboard/lists/BorrowAssetsList/BorrowAssetsListMobileItem.tsx @@ -4,6 +4,7 @@ import { StableAPYTooltip } from 'src/components/infoTooltips/StableAPYTooltip'; import { VariableAPYTooltip } from 'src/components/infoTooltips/VariableAPYTooltip'; import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; + import { CapsHint } from '../../../../components/caps/CapsHint'; import { CapType } from '../../../../components/caps/helper'; import { IncentivesCard } from '../../../../components/incentives/IncentivesCard'; diff --git a/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx b/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx index bae5fd6bfa..45c9c3f57f 100644 --- a/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx +++ b/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsList.tsx @@ -1,10 +1,12 @@ -import { Fragment } from 'react'; import { API_ETH_MOCK_ADDRESS, InterestRate } from '@aave/contract-helpers'; import { valueToBigNumber } from '@aave/math-utils'; import { Trans } from '@lingui/macro'; -import { useMediaQuery, useTheme } from '@mui/material'; +import { Typography, useMediaQuery, useTheme } from '@mui/material'; +import { Fragment } from 'react'; +import { AssetCapsProvider } from 'src/hooks/useAssetCaps'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { fetchIconSymbolAndName } from 'src/ui-config/reservePatches'; + import { APYTypeTooltip } from '../../../../components/infoTooltips/APYTypeTooltip'; import { BorrowPowerTooltip } from '../../../../components/infoTooltips/BorrowPowerTooltip'; import { TotalBorrowAPYTooltip } from '../../../../components/infoTooltips/TotalBorrowAPYTooltip'; @@ -20,7 +22,6 @@ import { ListLoader } from '../ListLoader'; import { ListTopInfoItem } from '../ListTopInfoItem'; import { BorrowedPositionsListItem } from './BorrowedPositionsListItem'; import { BorrowedPositionsListMobileItem } from './BorrowedPositionsListMobileItem'; -import { AssetCapsProvider } from 'src/hooks/useAssetCaps'; export const BorrowedPositionsList = () => { const { user, loading } = useAppDataContext(); @@ -81,7 +82,11 @@ export const BorrowedPositionsList = () => { return ( Your borrows} + titleComponent={ + + Your borrows + + } localStorageName="borrowedAssetsDashboardTableCollapse" subTitleComponent={ currentMarketData.v3 ? ( diff --git a/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListItem.tsx b/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListItem.tsx index a82f6764d5..019717973a 100644 --- a/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListItem.tsx +++ b/src/modules/dashboard/lists/BorrowedPositionsList/BorrowedPositionsListItem.tsx @@ -3,7 +3,7 @@ import { Trans } from '@lingui/macro'; import { Button } from '@mui/material'; import { useModalContext } from 'src/hooks/useModal'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; -import { CustomMarket } from 'src/ui-config/marketsConfig'; + import { ListColumn } from '../../../../components/lists/ListColumn'; import { ComputedUserReserveData } from '../../../../hooks/app-data-provider/useAppDataProvider'; import { ListAPRColumn } from '../ListAPRColumn'; @@ -43,9 +43,6 @@ export const BorrowedPositionsListItem = ({ frozen={reserve.isFrozen} data-cy={`dashboardBorrowedListItem_${reserve.symbol.toUpperCase()}_${borrowRateMode}`} showBorrowCapTooltips - showETHBorrowWarning={ - currentMarket === CustomMarket.proto_mainnet && reserve.symbol === 'ETH' - } > Debt} diff --git a/src/modules/dashboard/lists/ListItemCanBeCollateral.tsx b/src/modules/dashboard/lists/ListItemCanBeCollateral.tsx index 3fce3c267b..733411a66d 100644 --- a/src/modules/dashboard/lists/ListItemCanBeCollateral.tsx +++ b/src/modules/dashboard/lists/ListItemCanBeCollateral.tsx @@ -1,5 +1,6 @@ import { CheckIcon, ExclamationCircleIcon } from '@heroicons/react/outline'; import { Box, SvgIcon } from '@mui/material'; + import { NoData } from '../../../components/primitives/NoData'; import { ListItemIsolationBadge } from './ListItemIsolationBadge'; diff --git a/src/modules/dashboard/lists/ListItemWrapper.tsx b/src/modules/dashboard/lists/ListItemWrapper.tsx index c090f3e2d0..f3d1f3b434 100644 --- a/src/modules/dashboard/lists/ListItemWrapper.tsx +++ b/src/modules/dashboard/lists/ListItemWrapper.tsx @@ -1,14 +1,14 @@ import { Tooltip, Typography } from '@mui/material'; import { ReactNode } from 'react'; +import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { CustomMarket } from 'src/ui-config/marketsConfig'; + import { AMPLWarning } from '../../../components/infoTooltips/AMPLWarning'; -import { FrozenWarning } from '../../../components/infoTooltips/FrozenWarning'; +import { FrozenTooltip } from '../../../components/infoTooltips/FrozenTooltip'; import { ListColumn } from '../../../components/lists/ListColumn'; import { ListItem } from '../../../components/lists/ListItem'; import { Link, ROUTES } from '../../../components/primitives/Link'; import { TokenIcon } from '../../../components/primitives/TokenIcon'; -import { useAssetCaps } from 'src/hooks/useAssetCaps'; -import { ETHBorrowWarning } from 'src/components/transactions/Warnings/ETHBorrowWarning'; interface ListItemWrapperProps { symbol: string; @@ -21,7 +21,6 @@ interface ListItemWrapperProps { showSupplyCapTooltips?: boolean; showBorrowCapTooltips?: boolean; showDebtCeilingTooltips?: boolean; - showETHBorrowWarning?: boolean; } export const ListItemWrapper = ({ @@ -35,7 +34,6 @@ export const ListItemWrapper = ({ showSupplyCapTooltips = false, showBorrowCapTooltips = false, showDebtCeilingTooltips = false, - showETHBorrowWarning = false, ...rest }: ListItemWrapperProps) => { const { supplyCap, borrowCap, debtCeiling } = useAssetCaps(); @@ -55,17 +53,11 @@ export const ListItemWrapper = ({ - {showETHBorrowWarning ? ( - - ) : ( - <> - {frozen && } - {!frozen && symbol === 'AMPL' && } - {showSupplyCapTooltips && supplyCap.displayMaxedTooltip({ supplyCap })} - {showBorrowCapTooltips && borrowCap.displayMaxedTooltip({ borrowCap })} - {showDebtCeilingTooltips && debtCeiling.displayMaxedTooltip({ debtCeiling })} - - )} + {frozen && } + {!frozen && symbol === 'AMPL' && } + {showSupplyCapTooltips && supplyCap.displayMaxedTooltip({ supplyCap })} + {showBorrowCapTooltips && borrowCap.displayMaxedTooltip({ borrowCap })} + {showDebtCeilingTooltips && debtCeiling.displayMaxedTooltip({ debtCeiling })} {children} diff --git a/src/modules/dashboard/lists/ListLoader.tsx b/src/modules/dashboard/lists/ListLoader.tsx index f8021ed2d2..7847800b7e 100644 --- a/src/modules/dashboard/lists/ListLoader.tsx +++ b/src/modules/dashboard/lists/ListLoader.tsx @@ -1,4 +1,4 @@ -import { useMediaQuery, useTheme } from '@mui/material'; +import { Typography, useMediaQuery, useTheme } from '@mui/material'; import { ReactNode } from 'react'; import { ListWrapper } from '../../../components/lists/ListWrapper'; @@ -17,7 +17,14 @@ export const ListLoader = ({ title, withTopMargin, head }: ListLoaderProps) => { const downToXSM = useMediaQuery(theme.breakpoints.down('xsm')); return ( - + + {title} + + } + withTopMargin={withTopMargin} + > <> {!downToXSM && } {!downToXSM ? ( diff --git a/src/modules/dashboard/lists/ListMobileItemWrapper.tsx b/src/modules/dashboard/lists/ListMobileItemWrapper.tsx index 0008784cfa..da3c4f7bd1 100644 --- a/src/modules/dashboard/lists/ListMobileItemWrapper.tsx +++ b/src/modules/dashboard/lists/ListMobileItemWrapper.tsx @@ -1,7 +1,8 @@ import { ReactNode } from 'react'; import { CustomMarket } from 'src/ui-config/marketsConfig'; + import { AMPLWarning } from '../../../components/infoTooltips/AMPLWarning'; -import { FrozenWarning } from '../../../components/infoTooltips/FrozenWarning'; +import { FrozenTooltip } from '../../../components/infoTooltips/FrozenTooltip'; import { ListMobileItem } from '../../../components/lists/ListMobileItem'; interface ListMobileItemWrapperProps { @@ -16,7 +17,6 @@ interface ListMobileItemWrapperProps { showSupplyCapTooltips?: boolean; showBorrowCapTooltips?: boolean; showDebtCeilingTooltips?: boolean; - showETHBorrowWarning?: boolean; } export const ListMobileItemWrapper = ({ @@ -31,7 +31,6 @@ export const ListMobileItemWrapper = ({ showSupplyCapTooltips = false, showBorrowCapTooltips = false, showDebtCeilingTooltips = false, - showETHBorrowWarning = false, }: ListMobileItemWrapperProps) => { return ( : symbol === 'AMPL' ? : undefined + frozen ? ( + + ) : symbol === 'AMPL' ? ( + + ) : undefined } loading={loading} currentMarket={currentMarket} showSupplyCapTooltips={showSupplyCapTooltips} showBorrowCapTooltips={showBorrowCapTooltips} showDebtCeilingTooltips={showDebtCeilingTooltips} - showETHBorrowWarning={showETHBorrowWarning} > {children} diff --git a/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsList.tsx b/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsList.tsx index 26a942ffa0..d6022cde85 100644 --- a/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsList.tsx +++ b/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsList.tsx @@ -1,21 +1,22 @@ import { API_ETH_MOCK_ADDRESS } from '@aave/contract-helpers'; import { Trans } from '@lingui/macro'; -import { useMediaQuery, useTheme } from '@mui/material'; +import { Typography, useMediaQuery, useTheme } from '@mui/material'; +import { Fragment } from 'react'; +import { AssetCapsProvider } from 'src/hooks/useAssetCaps'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { fetchIconSymbolAndName } from 'src/ui-config/reservePatches'; + import { CollateralSwitchTooltip } from '../../../../components/infoTooltips/CollateralSwitchTooltip'; import { CollateralTooltip } from '../../../../components/infoTooltips/CollateralTooltip'; import { TotalSupplyAPYTooltip } from '../../../../components/infoTooltips/TotalSupplyAPYTooltip'; import { ListWrapper } from '../../../../components/lists/ListWrapper'; import { useAppDataContext } from '../../../../hooks/app-data-provider/useAppDataProvider'; +import { ListTopInfoItem } from '../../../dashboard/lists/ListTopInfoItem'; import { DashboardContentNoData } from '../../DashboardContentNoData'; import { ListHeader } from '../ListHeader'; import { ListLoader } from '../ListLoader'; -import { ListTopInfoItem } from '../../../dashboard/lists/ListTopInfoItem'; import { SuppliedPositionsListItem } from './SuppliedPositionsListItem'; import { SuppliedPositionsListMobileItem } from './SuppliedPositionsListMobileItem'; -import { AssetCapsProvider } from 'src/hooks/useAssetCaps'; -import { Fragment } from 'react'; export const SuppliedPositionsList = () => { const { user, loading } = useAppDataContext(); @@ -53,7 +54,11 @@ export const SuppliedPositionsList = () => { return ( Your supplies} + titleComponent={ + + Your supplies + + } localStorageName="suppliedAssetsDashboardTableCollapse" noData={!suppliedPosition.length} topInfo={ diff --git a/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListItem.tsx b/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListItem.tsx index 4babdd80b8..fada72d66c 100644 --- a/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListItem.tsx +++ b/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListItem.tsx @@ -6,6 +6,7 @@ import { } from 'src/hooks/app-data-provider/useAppDataProvider'; import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useModalContext } from 'src/hooks/useModal'; + import { ListColumn } from '../../../../components/lists/ListColumn'; import { useProtocolDataContext } from '../../../../hooks/useProtocolDataContext'; import { isFeatureEnabled } from '../../../../utils/marketsAndNetworksConfig'; diff --git a/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListMobileItem.tsx b/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListMobileItem.tsx index 09c02bde27..5ac5035898 100644 --- a/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListMobileItem.tsx +++ b/src/modules/dashboard/lists/SuppliedPositionsList/SuppliedPositionsListMobileItem.tsx @@ -1,6 +1,7 @@ import { Trans } from '@lingui/macro'; import { Box, Button } from '@mui/material'; import { useAssetCaps } from 'src/hooks/useAssetCaps'; + import { IncentivesCard } from '../../../../components/incentives/IncentivesCard'; import { Row } from '../../../../components/primitives/Row'; import { @@ -25,7 +26,7 @@ export const SuppliedPositionsListMobileItem = ({ const { symbol, iconSymbol, name, supplyAPY, isIsolated, aIncentivesData, isFrozen, isActive } = reserve; const { currentMarketData, currentMarket } = useProtocolDataContext(); - const { openSupply, openWithdraw, openCollateralChange } = useModalContext(); + const { openSupply, openSwap, openWithdraw, openCollateralChange } = useModalContext(); const { debtCeiling } = useAssetCaps(); const isSwapButton = isFeatureEnabled.liquiditySwap(currentMarketData); @@ -97,7 +98,7 @@ export const SuppliedPositionsListMobileItem = ({ + )} + + )} + + + ); +}; diff --git a/src/modules/markets/AssetSearchInput.tsx b/src/modules/markets/AssetSearchInput.tsx new file mode 100644 index 0000000000..f831e73564 --- /dev/null +++ b/src/modules/markets/AssetSearchInput.tsx @@ -0,0 +1,99 @@ +import { SearchIcon } from '@heroicons/react/outline'; +import { XCircleIcon } from '@heroicons/react/solid'; +import { Box, IconButton, InputBase, useMediaQuery, useTheme } from '@mui/material'; +import debounce from 'lodash/debounce'; +import { useMemo, useRef, useState } from 'react'; + +export interface AssetSearchInputProps { + onSearchTermChange: (value: string) => void; +} + +export const AssetSearchInput = ({ onSearchTermChange }: AssetSearchInputProps) => { + const inputEl = useRef(null); + const [searchTerm, setSearchTerm] = useState(''); + + const { breakpoints } = useTheme(); + const sm = useMediaQuery(breakpoints.down('sm')); + + const handleClear = () => { + setSearchTerm(''); + onSearchTermChange(''); + inputEl.current?.focus(); + }; + + const debounchedChangeHandler = useMemo(() => { + return debounce((value: string) => { + onSearchTermChange(value); + }, 300); + }, [onSearchTermChange]); + + if (sm) { + return ( + ({ + display: 'flex', + alignItems: 'center', + flexGrow: 1, + gap: 2, + border: `1px solid ${theme.palette.divider}`, + borderRadius: '6px', + height: '36px', + })} + > + + + + { + setSearchTerm(e.target.value); + debounchedChangeHandler(e.target.value); + }} + /> + handleClear()} + > + + + + ); + } else { + return ( + ({ + display: 'flex', + alignItems: 'center', + gap: 2, + border: `1px solid ${theme.palette.divider}`, + borderRadius: '6px', + height: '36px', + })} + > + + + + { + setSearchTerm(e.target.value); + debounchedChangeHandler(e.target.value); + }} + /> + handleClear()} + > + + + + ); + } +}; diff --git a/src/modules/markets/AssetsList.tsx b/src/modules/markets/AssetsList.tsx index 244450b3e5..ee5ed783a0 100644 --- a/src/modules/markets/AssetsList.tsx +++ b/src/modules/markets/AssetsList.tsx @@ -1,10 +1,10 @@ import { API_ETH_MOCK_ADDRESS } from '@aave/contract-helpers'; import { Trans } from '@lingui/macro'; -import { Box, useMediaQuery } from '@mui/material'; +import { Box, Typography, useMediaQuery, useTheme } from '@mui/material'; import { useState } from 'react'; import { StableAPYTooltip } from 'src/components/infoTooltips/StableAPYTooltip'; import { VariableAPYTooltip } from 'src/components/infoTooltips/VariableAPYTooltip'; -import { HarmonyWarning } from 'src/components/transactions/Warnings/HarmonyWarning'; +import { MarketWarning } from 'src/components/transactions/Warnings/MarketWarning'; import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider'; import { fetchIconSymbolAndName } from 'src/ui-config/reservePatches'; @@ -13,6 +13,7 @@ import { ListHeaderTitle } from '../../components/lists/ListHeaderTitle'; import { ListHeaderWrapper } from '../../components/lists/ListHeaderWrapper'; import { ListWrapper } from '../../components/lists/ListWrapper'; import { useProtocolDataContext } from '../../hooks/useProtocolDataContext'; +import { AssetListTitle } from './AssetListTitle'; import { AssetsListItem } from './AssetsListItem'; import { AssetsListItemLoader } from './AssetsListItemLoader'; import { AssetsListMobileItem } from './AssetsListMobileItem'; @@ -23,9 +24,24 @@ export default function AssetsList() { const { currentMarketData, currentNetworkConfig } = useProtocolDataContext(); const isTableChangedToCards = useMediaQuery('(max-width:1125px)'); + const { breakpoints } = useTheme(); + const sm = useMediaQuery(breakpoints.down('sm')); + + const [sortName, setSortName] = useState(''); + const [sortDesc, setSortDesc] = useState(false); + const [searchTerm, setSearchTerm] = useState(''); const filteredData = reserves .filter((res) => res.isActive) + .filter((res) => { + if (!searchTerm) return true; + const term = searchTerm.toLowerCase().trim(); + return ( + res.symbol.toLowerCase().includes(term) || + res.name.toLowerCase().includes(term) || + res.underlyingAsset.toLowerCase().includes(term) + ); + }) .map((reserve) => ({ ...reserve, ...(reserve.isWrappedBaseAsset @@ -36,9 +52,6 @@ export default function AssetsList() { : {}), })); - const [sortName, setSortName] = useState(''); - const [sortDesc, setSortDesc] = useState(false); - if (sortDesc) { if (sortName === 'symbol') { filteredData.sort((a, b) => (a.symbol.toUpperCase() < b.symbol.toUpperCase() ? -1 : 1)); @@ -96,20 +109,29 @@ export default function AssetsList() { }, ]; + const marketFrozen = !reserves.some((reserve) => !reserve.isFrozen); + return ( - {currentMarketData.marketTitle} assets - + titleComponent={ + } - captionSize="h2" > - {currentNetworkConfig.name === 'Harmony' && ( + {marketFrozen && currentNetworkConfig.name === 'Harmony' && ( - + )} + + {marketFrozen && currentNetworkConfig.name === 'Fantom' && ( + + + + )} + {!isTableChangedToCards && ( {header.map((col) => ( @@ -158,6 +180,47 @@ export default function AssetsList() { ) ) )} + {!loading && filteredData?.length === 0 && ( + + {sm ? ( + + + No search results for + + + '{searchTerm}' + + + ) : ( + + No search results for '{searchTerm}' + + )} + + + We couldn't find any asset matching your search. Try again with a different asset + name, symbol, or address. + + + + )} ); } diff --git a/src/modules/markets/AssetsListItem.tsx b/src/modules/markets/AssetsListItem.tsx index 170475427a..ab18183029 100644 --- a/src/modules/markets/AssetsListItem.tsx +++ b/src/modules/markets/AssetsListItem.tsx @@ -1,10 +1,8 @@ import { Trans } from '@lingui/macro'; -import { Button, Typography, Box } from '@mui/material'; +import { Box, Button, Typography } from '@mui/material'; import { useRouter } from 'next/router'; import { ReserveSubheader } from 'src/components/ReserveSubheader'; -import { ETHBorrowWarning } from 'src/components/transactions/Warnings/ETHBorrowWarning'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; -import { CustomMarket } from 'src/ui-config/marketsConfig'; import { IncentivesCard } from '../../components/incentives/IncentivesCard'; import { AMPLWarning } from '../../components/infoTooltips/AMPLWarning'; @@ -45,9 +43,6 @@ export const AssetsListItem = ({ ...reserve }: ComputedReserveData) => { {reserve.symbol === 'AMPL' && } - {reserve.symbol === 'ETH' && currentMarket === CustomMarket.proto_mainnet && ( - - )} diff --git a/src/modules/markets/AssetsListMobileItem.tsx b/src/modules/markets/AssetsListMobileItem.tsx index 268b4cf27c..5ae9a16007 100644 --- a/src/modules/markets/AssetsListMobileItem.tsx +++ b/src/modules/markets/AssetsListMobileItem.tsx @@ -1,10 +1,10 @@ import { Trans } from '@lingui/macro'; -import { Button, Divider, Box } from '@mui/material'; +import { Box, Button, Divider } from '@mui/material'; import { StableAPYTooltip } from 'src/components/infoTooltips/StableAPYTooltip'; import { VariableAPYTooltip } from 'src/components/infoTooltips/VariableAPYTooltip'; import { ReserveSubheader } from 'src/components/ReserveSubheader'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; -import { CustomMarket } from 'src/ui-config/marketsConfig'; + import { IncentivesCard } from '../../components/incentives/IncentivesCard'; import { FormattedNumber } from '../../components/primitives/FormattedNumber'; import { Link, ROUTES } from '../../components/primitives/Link'; @@ -21,9 +21,6 @@ export const AssetsListMobileItem = ({ ...reserve }: ComputedReserveData) => { name={reserve.name} underlyingAsset={reserve.underlyingAsset} currentMarket={currentMarket} - showETHBorrowWarning={ - currentMarket === CustomMarket.proto_mainnet && reserve.symbol === 'ETH' - } > Total supplied} captionVariant="description" mb={3}> { const { reserves, loading } = useAppDataContext(); diff --git a/src/modules/reserve-overview/ReserveActions.tsx b/src/modules/reserve-overview/ReserveActions.tsx index 83af5569ba..0ebcf7db13 100644 --- a/src/modules/reserve-overview/ReserveActions.tsx +++ b/src/modules/reserve-overview/ReserveActions.tsx @@ -13,29 +13,31 @@ import { } from '@mui/material'; import React, { ReactNode } from 'react'; import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; +import { Warning } from 'src/components/primitives/Warning'; +import { MarketWarning } from 'src/components/transactions/Warnings/MarketWarning'; +import { ConnectWalletButton } from 'src/components/WalletConnection/ConnectWalletButton'; import { ComputedReserveData, useAppDataContext, } from 'src/hooks/app-data-provider/useAppDataProvider'; import { useWalletBalances } from 'src/hooks/app-data-provider/useWalletBalances'; +import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useModalContext } from 'src/hooks/useModal'; import { usePermissions } from 'src/hooks/usePermissions'; +import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { assetCanBeBorrowedByUser, getMaxAmountAvailableToBorrow, } from 'src/utils/getMaxAmountAvailableToBorrow'; import { getMaxAmountAvailableToSupply } from 'src/utils/getMaxAmountAvailableToSupply'; + import { CapType } from '../../components/caps/helper'; import { AvailableTooltip } from '../../components/infoTooltips/AvailableTooltip'; -import { Row } from '../../components/primitives/Row'; import { Link, ROUTES } from '../../components/primitives/Link'; +import { Row } from '../../components/primitives/Row'; import { getEmodeMessage } from '../../components/transactions/Emode/EmodeNaming'; -import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; -import { ConnectWalletButton } from 'src/components/WalletConnection/ConnectWalletButton'; -import { Warning } from 'src/components/primitives/Warning'; -import { HarmonyWarning } from 'src/components/transactions/Warnings/HarmonyWarning'; -import { useAssetCaps } from 'src/hooks/useAssetCaps'; +import { WalletEmptyInfo } from '../dashboard/lists/SupplyAssetsList/WalletEmptyInfo'; const PaperWrapper = ({ children }: { children: ReactNode }) => { return ( @@ -61,7 +63,7 @@ export const ReserveActions = ({ underlyingAsset }: ReserveActionsProps) => { const { user, reserves, loading: loadingReserves, eModes } = useAppDataContext(); const { walletBalances, loading: loadingBalance } = useWalletBalances(); const { isPermissionsLoading } = usePermissions(); - const { currentNetworkConfig } = useProtocolDataContext(); + const { currentNetworkConfig, currentChainId } = useProtocolDataContext(); const { bridge, name: networkName } = currentNetworkConfig; const { supplyCap, borrowCap, debtCeiling } = useAssetCaps(); @@ -190,14 +192,12 @@ export const ReserveActions = ({ underlyingAsset }: ReserveActionsProps) => { ) : ( - - Your {networkName} wallet is empty. Purchase or transfer assets{' '} - {bridge && ( - - or use {{bridge.name}} to transfer your ETH assets. - - )} - + )} )} @@ -306,9 +306,14 @@ export const ReserveActions = ({ underlyingAsset }: ReserveActionsProps) => { - {currentNetworkConfig.name === 'Harmony' && ( + {poolReserve.isFrozen && currentNetworkConfig.name === 'Harmony' && ( + + + + )} + {poolReserve.isFrozen && currentNetworkConfig.name === 'Fantom' && ( - + )} diff --git a/src/modules/reserve-overview/ReserveConfiguration.tsx b/src/modules/reserve-overview/ReserveConfiguration.tsx index f1b3dc5f50..ec93719079 100644 --- a/src/modules/reserve-overview/ReserveConfiguration.tsx +++ b/src/modules/reserve-overview/ReserveConfiguration.tsx @@ -1,135 +1,36 @@ -import React, { ReactNode } from 'react'; +import { valueToBigNumber } from '@aave/math-utils'; +import { ExternalLinkIcon } from '@heroicons/react/solid'; import { Trans } from '@lingui/macro'; -import { - Alert, - Box, - BoxProps, - Divider, - SvgIcon, - Typography, - TypographyProps, - useMediaQuery, - useTheme, -} from '@mui/material'; -import Paper from '@mui/material/Paper'; -import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; import CheckRoundedIcon from '@mui/icons-material/CheckRounded'; -import { useReserveRatesHistory } from 'src/hooks/useReservesHistory'; -import { ParentSize } from '@visx/responsive'; -import { ApyChart } from '../reserve-overview/ApyChart'; -import { InterestRateModelChart } from '../reserve-overview/InterestRateModelChart'; -import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; -import { ComputedReserveData } from 'src/hooks/app-data-provider/useAppDataProvider'; +import { Box, Button, Divider, SvgIcon, Typography } from '@mui/material'; +import Paper from '@mui/material/Paper'; +import { CapsCircularStatus } from 'src/components/caps/CapsCircularStatus'; +import { DebtCeilingStatus } from 'src/components/caps/DebtCeilingStatus'; +import { IncentivesButton } from 'src/components/incentives/IncentivesButton'; +import { getFrozenProposalLink } from 'src/components/infoTooltips/FrozenTooltip'; +import { LiquidationPenaltyTooltip } from 'src/components/infoTooltips/LiquidationPenaltyTooltip'; +import { LiquidationThresholdTooltip } from 'src/components/infoTooltips/LiquidationThresholdTooltip'; +import { MaxLTVTooltip } from 'src/components/infoTooltips/MaxLTVTooltip'; import { StableAPYTooltip } from 'src/components/infoTooltips/StableAPYTooltip'; import { VariableAPYTooltip } from 'src/components/infoTooltips/VariableAPYTooltip'; -import { IncentivesButton } from 'src/components/incentives/IncentivesButton'; -import { ReserveOverviewBox } from 'src/components/ReserveOverviewBox'; -import { getEmodeMessage } from 'src/components/transactions/Emode/EmodeNaming'; -import LightningBoltGradient from '/public/lightningBoltGradient.svg'; +import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; import { Link, ROUTES } from 'src/components/primitives/Link'; -import { MaxLTVTooltip } from 'src/components/infoTooltips/MaxLTVTooltip'; -import { LiquidationThresholdTooltip } from 'src/components/infoTooltips/LiquidationThresholdTooltip'; -import { LiquidationPenaltyTooltip } from 'src/components/infoTooltips/LiquidationPenaltyTooltip'; +import { Warning } from 'src/components/primitives/Warning'; +import { ReserveOverviewBox } from 'src/components/ReserveOverviewBox'; import { ReserveSubheader } from 'src/components/ReserveSubheader'; -import { CustomMarket, frozenProposalMap } from 'src/utils/marketsAndNetworksConfig'; -import { CapsCircularStatus } from 'src/components/caps/CapsCircularStatus'; -import { DebtCeilingStatus } from 'src/components/caps/DebtCeilingStatus'; -import { ReserveFactorOverview } from 'src/modules/reserve-overview/ReserveFactorOverview'; -import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { TextWithTooltip } from 'src/components/TextWithTooltip'; -import { valueToBigNumber } from '@aave/math-utils'; - -export const PanelRow: React.FC = (props) => ( - -); -export const PanelTitle: React.FC = (props) => ( - -); - -interface PanelColumnProps { - children?: ReactNode; -} - -export const PanelColumn = ({ children }: PanelColumnProps) => { - return ( - - {children} - - ); -}; - -interface PanelItemProps { - title: ReactNode; -} - -export const PanelItem: React.FC = ({ title, children }) => { - const theme = useTheme(); - const mdUp = useMediaQuery(theme.breakpoints.up('md')); +import { getEmodeMessage } from 'src/components/transactions/Emode/EmodeNaming'; +import { ComputedReserveData } from 'src/hooks/app-data-provider/useAppDataProvider'; +import { useAssetCaps } from 'src/hooks/useAssetCaps'; +import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; +import { ReserveFactorOverview } from 'src/modules/reserve-overview/ReserveFactorOverview'; - return ( - `1px solid ${theme.palette.divider}`, - }, - } - : {}), - }} - > - {title} - {children} - - ); -}; +import LightningBoltGradient from '/public/lightningBoltGradient.svg'; -const ChartContainer: React.FC = (props) => ( - -); +import { CustomMarket, marketsData } from '../../utils/marketsAndNetworksConfig'; +import { ApyGraphContainer } from './graphs/ApyGraphContainer'; +import { InterestRateModelGraphContainer } from './graphs/InterestRateModelGraphContainer'; +import { PanelItem, PanelRow, PanelTitle } from './ReservePanels'; type ReserveConfigurationProps = { reserve: ComputedReserveData; @@ -137,13 +38,10 @@ type ReserveConfigurationProps = { export const ReserveConfiguration: React.FC = ({ reserve }) => { const { currentNetworkConfig, currentMarketData, currentMarket } = useProtocolDataContext(); - const renderCharts = !!currentNetworkConfig.ratesHistoryApiUrl; - const { data, error } = useReserveRatesHistory( - reserve - ? `${reserve.underlyingAsset}${currentMarketData.addresses.LENDING_POOL_ADDRESS_PROVIDER}` - : '' - ); // TODO: might make sense to move this to gql as well - + const { v3 } = marketsData[currentMarket as CustomMarket]; + // V3 and V2 Polygon will be enabled once support is added to API + const renderCharts = + !v3 && !!currentNetworkConfig.ratesHistoryApiUrl && currentMarket !== 'proto_polygon'; const { supplyCap, borrowCap, debtCeiling } = useAssetCaps(); const showSupplyCapStatus = reserve.supplyCap && reserve.supplyCap !== '0'; const showBorrowCapStatus = reserve.borrowCap && reserve.borrowCap !== '0'; @@ -164,47 +62,25 @@ export const ReserveConfiguration: React.FC = ({ rese - {reserve.symbol === 'WETH' && currentMarket === CustomMarket.proto_mainnet && ( - - - - As per the community vote, ETH borrowing on the Ethereum Market has been paused ahead - of the merge to mitigate liquidity risk.{' '} - - Learn more - - {'.'} - - - - )} - {reserve.isFrozen && ( - + - {reserve.symbol} is frozen due to an Aave community decision.{' '} + This asset is frozen due to an Aave community decision.{' '} More details - + )} Supply Info - + = ({ rese )} - {renderCharts && !error && (reserve.borrowingEnabled || Number(reserve.totalDebt) > 0) && ( - - - {(parent) => ( - - )} - - + {renderCharts && (reserve.borrowingEnabled || Number(reserve.totalDebt) > 0) && ( + )}
{reserve.isIsolated ? ( @@ -337,7 +206,7 @@ export const ReserveConfiguration: React.FC = ({ rese Collateral usage - + Asset can only be used as collateral in isolation mode only. @@ -349,7 +218,7 @@ export const ReserveConfiguration: React.FC = ({ rese Learn more - + ) : reserve.usageAsCollateralEnabled ? ( = ({ rese Collateral usage - + Asset cannot be used as collateral. - + )}
@@ -584,34 +453,14 @@ export const ReserveConfiguration: React.FC = ({ rese )}
- {renderCharts && !error && ( - - - {(parent) => ( - - )} - - + {renderCharts && ( + )} = ({ rese Interest rate model - - - {(parent) => ( - + + Utilization Rate} className="borderless"> + - )} - - + + + + +
)} diff --git a/src/modules/reserve-overview/ReservePanels.tsx b/src/modules/reserve-overview/ReservePanels.tsx new file mode 100644 index 0000000000..8f6cfee23b --- /dev/null +++ b/src/modules/reserve-overview/ReservePanels.tsx @@ -0,0 +1,73 @@ +import { Box, BoxProps, Typography, TypographyProps, useMediaQuery, useTheme } from '@mui/material'; +import type { ReactNode } from 'react'; + +export const PanelRow: React.FC = (props) => ( + +); +export const PanelTitle: React.FC = (props) => ( + +); + +interface PanelItemProps { + title: ReactNode; + className?: string; +} + +export const PanelItem: React.FC = ({ title, children, className }) => { + const theme = useTheme(); + const mdUp = useMediaQuery(theme.breakpoints.up('md')); + + return ( + `1px solid ${theme.palette.divider}`, + }, + } + : {}), + }} + className={className} + > + + {title} + + + {children} + + + ); +}; diff --git a/src/modules/reserve-overview/ReserveTopDetails.tsx b/src/modules/reserve-overview/ReserveTopDetails.tsx index 6f8b8ea6ee..167c142d98 100644 --- a/src/modules/reserve-overview/ReserveTopDetails.tsx +++ b/src/modules/reserve-overview/ReserveTopDetails.tsx @@ -12,10 +12,12 @@ import { useTheme, } from '@mui/material'; import { useRouter } from 'next/router'; +import { CircleIcon } from 'src/components/CircleIcon'; import { getMarketInfoById, MarketLogo } from 'src/components/MarketSwitcher'; import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; import { Link } from 'src/components/primitives/Link'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; +import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; import { TopInfoPanel } from '../../components/TopInfoPanel/TopInfoPanel'; import { TopInfoPanelItem } from '../../components/TopInfoPanel/TopInfoPanelItem'; @@ -23,9 +25,6 @@ import { ComputedReserveData, useAppDataContext, } from '../../hooks/app-data-provider/useAppDataProvider'; - -import { useWeb3Context } from 'src/libs/hooks/useWeb3Context'; -import { CircleIcon } from 'src/components/CircleIcon'; import { AddTokenDropdown } from './AddTokenDropdown'; import { TokenLinkDropdown } from './TokenLinkDropdown'; diff --git a/src/modules/reserve-overview/TokenLinkDropdown.tsx b/src/modules/reserve-overview/TokenLinkDropdown.tsx index a3992284a9..ce6637d2d7 100644 --- a/src/modules/reserve-overview/TokenLinkDropdown.tsx +++ b/src/modules/reserve-overview/TokenLinkDropdown.tsx @@ -1,3 +1,4 @@ +import { ExternalLinkIcon } from '@heroicons/react/outline'; import { Trans } from '@lingui/macro'; import { Box, Menu, MenuItem, SvgIcon, Typography } from '@mui/material'; import * as React from 'react'; @@ -5,7 +6,6 @@ import { useState } from 'react'; import { CircleIcon } from 'src/components/CircleIcon'; import { TokenIcon } from 'src/components/primitives/TokenIcon'; import { ComputedReserveData } from 'src/hooks/app-data-provider/useAppDataProvider'; -import { ExternalLinkIcon } from '@heroicons/react/outline'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; interface TokenLinkDropdownProps { diff --git a/src/modules/reserve-overview/ApyChart.tsx b/src/modules/reserve-overview/graphs/ApyGraph.tsx similarity index 52% rename from src/modules/reserve-overview/ApyChart.tsx rename to src/modules/reserve-overview/graphs/ApyGraph.tsx index a9c103a6bb..00686db80a 100644 --- a/src/modules/reserve-overview/ApyChart.tsx +++ b/src/modules/reserve-overview/graphs/ApyGraph.tsx @@ -1,34 +1,50 @@ -import React, { useMemo, useCallback, Fragment } from 'react'; -import { AreaClosed, Line, Bar, LinePath } from '@visx/shape'; +import { Box, Typography, useMediaQuery, useTheme } from '@mui/material'; +import { AxisBottom, AxisLeft } from '@visx/axis'; import { curveMonotoneX } from '@visx/curve'; -import { scaleTime, scaleLinear } from '@visx/scale'; -import { withTooltip, defaultStyles, TooltipWithBounds } from '@visx/tooltip'; -import { WithTooltipProvidedProps } from '@visx/tooltip/lib/enhancers/withTooltip'; import { localPoint } from '@visx/event'; -import { LinearGradient } from '@visx/gradient'; -import { AxisLeft, AxisBottom } from '@visx/axis'; -import { max, extent, bisector } from 'd3-array'; -import { timeFormat } from 'd3-time-format'; -import { Group } from '@visx/group'; -import { FormattedReserveHistoryItem } from 'src/hooks/useReservesHistory'; -import { useTheme, lighten } from '@mui/material'; -import { ChartLegend } from './ChartLegend'; import { GridRows } from '@visx/grid'; +import { Group } from '@visx/group'; +import { scaleLinear, scaleTime } from '@visx/scale'; +import { Bar, Line, LinePath } from '@visx/shape'; +import { defaultStyles, TooltipWithBounds, withTooltip } from '@visx/tooltip'; +import { WithTooltipProvidedProps } from '@visx/tooltip/lib/enhancers/withTooltip'; +import { bisector, extent, max } from 'd3-array'; +import { timeFormat } from 'd3-time-format'; +import React, { Fragment, useCallback, useMemo } from 'react'; +import { FormattedReserveHistoryItem, ReserveRateTimeRange } from 'src/hooks/useReservesHistory'; type TooltipData = FormattedReserveHistoryItem; -const background = '#3b6978'; -const accentColorDark = '#75daad'; -const tooltipStyles = { - ...defaultStyles, - background, - border: '1px solid white', - color: 'white', +/** + * Formats the given date for the specified time range to display in the tooltip. + * + * If the provided timeRange is '1m', the date will be formatted as 'MM DD, HH:MM UTC'. + * For example, a date of `Wed Sep 21 2022 18:00:00 GMT-0500 (Central Daylight Time)` will be formatted as `Sep 21, 18:00 UTC-05:00` + * + * If the provided timeRange is '6m' or '1y', the date will be formatted as 'MM DD, YYYY'. + * For example, a date of `Wed Sep 21 2022 18:00:00 GMT-0500 (Central Daylight Time)` will be formatted as `Sep 21, 2022` + * + * @param {Date} d - The date to format + * @param {ReserveRateTimeRange} timeRange - The time range of the graph + * + */ +const formatDate = (d: Date, timeRange: ReserveRateTimeRange) => { + if (timeRange === '1m') { + const formatted = timeFormat('%b %d, %H:%M UTC%Z'); + const date = formatted(d); + const offsetSign = date.toString().split('UTC')[1].split('')[0]; + const time = date.toString().split(offsetSign); + const hours = time[1].split('').slice(0, 2).join(''); + const mins = time[1].split('').slice(2, 4).join(''); + const formattedTime = `${hours}:${mins}`; + const formattedDate = `${time[0]}${offsetSign}${formattedTime}`; + return formattedDate; + } else { + const formatted = timeFormat('%b %d, %Y'); + return formatted(d); + } }; -// util -const formatDate = timeFormat("%b %d, '%y"); - // accessors const getDate = (d: FormattedReserveHistoryItem) => new Date(d.date); const bisectDate = bisector((d) => new Date(d.date)).left; @@ -42,28 +58,48 @@ export type AreaProps = { margin?: { top: number; right: number; bottom: number; left: number }; data: FormattedReserveHistoryItem[]; fields: { name: Field; color: string; text: string }[]; + selectedTimeRange: ReserveRateTimeRange; }; -export const ApyChart = withTooltip( +export const ApyGraph = withTooltip( ({ width, height, - margin = { top: 0, right: 10, bottom: 20, left: 40 }, + margin = { top: 20, right: 10, bottom: 20, left: 40 }, showTooltip, hideTooltip, tooltipData, tooltipLeft = 0, data, fields, + selectedTimeRange, }: AreaProps & WithTooltipProvidedProps) => { if (width < 10) return null; const theme = useTheme(); + const isXsm = useMediaQuery(theme.breakpoints.down('xsm')); + + // Tooltip Styles + const accentColorDark = theme.palette.mode === 'light' ? '#383D511F' : '#a5a8b647'; + const tooltipStyles = { + ...defaultStyles, + padding: '8px 12px', + boxShadow: '0px 0px 2px rgba(0, 0, 0, 0.2), 0px 2px 10px rgba(0, 0, 0, 0.1)', + borderRadius: '4px', + fontSize: '12px', + lineHeight: '16px', + letterSpacing: '0.15px', + }; + const tooltipStylesDark = { + ...tooltipStyles, + background: theme.palette.background.default, + }; // bounds const innerWidth = width - margin.left - margin.right; const innerHeight = height - margin.top - margin.bottom; // scales + const xAxisNumTicks = selectedTimeRange !== '6m' || isXsm ? 3 : 4; const dateScale = useMemo( () => scaleTime({ @@ -106,68 +142,61 @@ export const ApyChart = withTooltip( return ( <> - + {/* Horizontal Background Lines */} + + {/* Data Value Lines */} {fields.map((field) => ( - - - - data={data} - x={(d) => dateScale(getDate(d)) ?? 0} - y={(d) => yValueScale(getData(d, field.name)) ?? 0} - yScale={yValueScale} - strokeWidth={0} - fill={`url(#area-gradient-${field.name})`} - curve={curveMonotoneX} - /> - dateScale(getDate(d)) ?? 0} - y={(d) => yValueScale(getData(d, field.name)) ?? 0} - curve={curveMonotoneX} - /> - + dateScale(getDate(d)) ?? 0} + y={(d) => yValueScale(getData(d, field.name)) ?? 0} + curve={curveMonotoneX} + /> ))} + {/* X Axis */} ({ - fill: theme.palette.text.secondary, - fontSize: 8, - dx: -8, + fill: theme.palette.text.muted, + fontSize: 10, + textAnchor: 'middle', + dy: 4, })} /> + + {/* Y Axis */} `${value}%`} tickLabelProps={() => ({ - fill: theme.palette.text.secondary, - fontSize: 8, - dx: -margin.left + 8, + fill: theme.palette.text.muted, + fontSize: 10, + dx: -margin.left + 10, })} - numTicks={5} - tickFormat={(value) => `${(value as number).toFixed(2)} %`} /> + + {/* Background */} ( onMouseLeave={() => hideTooltip()} /> + {/* Tooltip */} {tooltipData && ( @@ -195,9 +225,7 @@ export const ApyChart = withTooltip( cx={tooltipLeft} cy={yValueScale(getData(tooltipData, field.name)) + 1} r={4} - fill="black" fillOpacity={0.1} - stroke="black" strokeOpacity={0.1} strokeWidth={2} pointerEvents="none" @@ -218,13 +246,36 @@ export const ApyChart = withTooltip( )} + + {/* Tooltip Info */} {tooltipData && (
- - {formatDate(getDate(tooltipData))} -
+ + + {formatDate(getDate(tooltipData), selectedTimeRange)} + {fields.map((field) => ( -
{getData(tooltipData, field.name).toFixed(2)} %
+ + + {field.text} + + + {getData(tooltipData, field.name).toFixed(2)}% + + ))}
diff --git a/src/modules/reserve-overview/graphs/ApyGraphContainer.tsx b/src/modules/reserve-overview/graphs/ApyGraphContainer.tsx new file mode 100644 index 0000000000..3b925ce488 --- /dev/null +++ b/src/modules/reserve-overview/graphs/ApyGraphContainer.tsx @@ -0,0 +1,144 @@ +import { Trans } from '@lingui/macro'; +import { Box, Button, CircularProgress, Typography } from '@mui/material'; +import { ParentSize } from '@visx/responsive'; +import { useState } from 'react'; +import type { ComputedReserveData } from 'src/hooks/app-data-provider/useAppDataProvider'; +import { ReserveRateTimeRange, useReserveRatesHistory } from 'src/hooks/useReservesHistory'; + +import { ApyGraph } from './ApyGraph'; +import { GraphLegend } from './GraphLegend'; +import { GraphTimeRangeSelector } from './GraphTimeRangeSelector'; + +type Field = 'liquidityRate' | 'stableBorrowRate' | 'variableBorrowRate'; + +type Fields = { name: Field; color: string; text: string }[]; + +type ApyGraphContainerKey = 'supply' | 'borrow'; + +type ApyGraphContainerProps = { + graphKey: ApyGraphContainerKey; + reserve: ComputedReserveData; + lendingPoolAddressProvider: string; +}; + +/** + * NOTES: + * This may not be named accurately. + * This container uses the same graph but with different fields, so we use a 'graphKey' to determine which to show + * This likely may need to be turned into two different container components if the graphs become wildly different. + * This graph gets its data via an external API call, thus having loading/error states + */ +export const ApyGraphContainer = ({ + graphKey, + reserve, + lendingPoolAddressProvider, +}: ApyGraphContainerProps): JSX.Element => { + const [selectedTimeRange, setSelectedTimeRange] = useState('1m'); + + const CHART_HEIGHT = 155; + const CHART_HEIGHT_LOADING_FIX = 3.5; + const reserveAddress = reserve ? `${reserve.underlyingAsset}${lendingPoolAddressProvider}` : ''; + const { data, loading, error, refetch } = useReserveRatesHistory( + reserveAddress, + selectedTimeRange + ); + + // Supply fields + const supplyFields: Fields = [{ name: 'liquidityRate', color: '#2EBAC6', text: 'Supply APR' }]; + + // Borrow fields + const borrowFields: Fields = [ + ...(reserve.stableBorrowRateEnabled + ? ([ + { + name: 'stableBorrowRate', + color: '#E7C6DF', + text: 'Borrow APR, stable', + }, + ] as const) + : []), + { + name: 'variableBorrowRate', + color: '#B6509E', + text: 'Borrow APR, variable', + }, + ]; + + const fields = graphKey === 'supply' ? supplyFields : borrowFields; + + const graphLoading = ( + + + + Loading data... + + + ); + + const graphError = ( + + + Something went wrong + + + Data couldn't be fetched, please reload graph. + + + + ); + + return ( + + + + + + {loading && graphLoading} + {error && graphError} + {!loading && !error && data.length > 0 && ( + + {({ width }) => ( + + )} + + )} + + ); +}; diff --git a/src/modules/reserve-overview/ChartLegend.tsx b/src/modules/reserve-overview/graphs/GraphLegend.tsx similarity index 54% rename from src/modules/reserve-overview/ChartLegend.tsx rename to src/modules/reserve-overview/graphs/GraphLegend.tsx index 87fa821b25..5a4679bd0e 100644 --- a/src/modules/reserve-overview/ChartLegend.tsx +++ b/src/modules/reserve-overview/graphs/GraphLegend.tsx @@ -1,27 +1,27 @@ -import { Typography, Box } from '@mui/material'; +import { Box, Typography } from '@mui/material'; -interface ChartLegendProps { +interface GraphLegendProps { labels: { text: string; color: string }[]; } -export function ChartLegend({ +export function GraphLegend({ labels = [ { text: 'test', color: '#000' }, { text: 'bla', color: '#ff0' }, ], -}: ChartLegendProps) { +}: GraphLegendProps) { return ( - + {labels.map((label) => ( - + {label.text} diff --git a/src/modules/reserve-overview/graphs/GraphTimeRangeSelector.tsx b/src/modules/reserve-overview/graphs/GraphTimeRangeSelector.tsx new file mode 100644 index 0000000000..a56484f81a --- /dev/null +++ b/src/modules/reserve-overview/graphs/GraphTimeRangeSelector.tsx @@ -0,0 +1,65 @@ +import { ToggleButtonGroup, ToggleButton, Typography } from '@mui/material'; +import { ReserveRateTimeRange, reserveRateTimeRangeOptions } from 'src/hooks/useReservesHistory'; + +export interface GraphTimeRangeSelectorProps { + disabled?: boolean; + timeRange: ReserveRateTimeRange; + handleTimeRangeChanged: (value: ReserveRateTimeRange) => void; +} + +export const GraphTimeRangeSelector = ({ + disabled = false, + timeRange, + handleTimeRangeChanged, +}: GraphTimeRangeSelectorProps) => { + const handleChange = ( + _event: React.MouseEvent, + newInterval: ReserveRateTimeRange + ) => { + if (newInterval !== null) { + handleTimeRangeChanged(newInterval); + } + }; + + return ( + + {reserveRateTimeRangeOptions.map((interval) => { + return ( + ({ + '&.MuiToggleButtonGroup-grouped:not(.Mui-selected)': { + borderRadius: '4px', + border: '0.5px solid transparent', + }, + '&.MuiToggleButtonGroup-grouped&.Mui-selected': { + borderRadius: '4px', + border: `0.5px solid ${theme.palette.divider}`, + boxShadow: '0px 2px 1px rgba(0, 0, 0, 0.05), 0px 0px 1px rgba(0, 0, 0, 0.25)', + backgroundColor: 'background.surface', + }, + '&.MuiToggleButtonGroup-grouped&.Mui-disabled': { + color: 'text.disabled', + }, + })} + > + {interval} + + ); + })} + + ); +}; diff --git a/src/modules/reserve-overview/InterestRateModelChart.tsx b/src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx similarity index 60% rename from src/modules/reserve-overview/InterestRateModelChart.tsx rename to src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx index 95e0a88b3a..196dbf775c 100644 --- a/src/modules/reserve-overview/InterestRateModelChart.tsx +++ b/src/modules/reserve-overview/graphs/InterestRateModelGraph.tsx @@ -1,29 +1,23 @@ -import React, { useMemo, useCallback, Fragment } from 'react'; -import { Line, Bar, LinePath } from '@visx/shape'; +import { normalizeBN, RAY, rayDiv, rayMul } from '@aave/math-utils'; +import { Trans } from '@lingui/macro'; +import { Box, Typography, useTheme } from '@mui/material'; +import { AxisBottom, AxisLeft } from '@visx/axis'; import { curveMonotoneX } from '@visx/curve'; -import { scaleLinear } from '@visx/scale'; -import { withTooltip, defaultStyles, TooltipWithBounds } from '@visx/tooltip'; -import { WithTooltipProvidedProps } from '@visx/tooltip/lib/enhancers/withTooltip'; import { localPoint } from '@visx/event'; -import { AxisLeft } from '@visx/axis'; -import { max, bisector } from 'd3-array'; +import { GridRows } from '@visx/grid'; import { Group } from '@visx/group'; -import { useTheme } from '@mui/material'; -import { normalizeBN, RAY, rayDiv, rayMul } from '@aave/math-utils'; -import { BigNumber } from 'bignumber.js'; +import { scaleLinear } from '@visx/scale'; +import { Bar, Line, LinePath } from '@visx/shape'; import { Text } from '@visx/text'; -import { ChartLegend } from './ChartLegend'; +import { defaultStyles, TooltipWithBounds, withTooltip } from '@visx/tooltip'; +import { WithTooltipProvidedProps } from '@visx/tooltip/lib/enhancers/withTooltip'; +import { BigNumber } from 'bignumber.js'; +import { bisector, max } from 'd3-array'; +import React, { Fragment, useCallback, useMemo } from 'react'; -type TooltipData = Rate; +import type { Fields } from './InterestRateModelGraphContainer'; -const background = '#3b6978'; -const accentColorDark = '#75daad'; -const tooltipStyles = { - ...defaultStyles, - background, - border: '1px solid white', - color: 'white', -}; +type TooltipData = Rate; type InterestRateModelType = { variableRateSlope1: string; @@ -46,8 +40,13 @@ type Rate = { // accessors const getDate = (d: Rate) => d.utilization; const bisectDate = bisector((d) => d.utilization).center; -const getVariableRate = (d: Rate) => d.variableRate * 100; -const getStableRate = (d: Rate) => d.stableRate * 100; +const getVariableBorrowRate = (d: Rate) => d.variableRate * 100; +const getStableBorrowRate = (d: Rate) => d.stableRate * 100; +const tooltipValueAccessors = { + stableBorrowRate: getStableBorrowRate, + variableBorrowRate: getVariableBorrowRate, + utilizationRate: () => 38, +}; const resolution = 200; const step = 100 / resolution; @@ -67,17 +66,20 @@ function getRates({ baseStableBorrowRate, }: InterestRateModelType): Rate[] { const rates: Rate[] = []; - const formattedOptimalUtilisationRate = normalizeBN(optimalUsageRatio, 25).toNumber(); + const formattedOptimalUtilizationRate = normalizeBN(optimalUsageRatio, 25).toNumber(); for (let i = 0; i <= resolution; i++) { const utilization = i * step; + // When zero if (utilization === 0) { rates.push({ stableRate: 0, variableRate: 0, utilization, }); - } else if (utilization < formattedOptimalUtilisationRate) { + } + // When hovering below optimal utilization rate, actual data + else if (utilization < formattedOptimalUtilizationRate) { const theoreticalStableAPY = normalizeBN( new BigNumber(baseStableBorrowRate).plus( rayDiv(rayMul(stableRateSlope1, normalizeBN(utilization, -25)), optimalUsageRatio) @@ -95,7 +97,9 @@ function getRates({ variableRate: theoreticalVariableAPY, utilization, }); - } else { + } + // When hovering above optimal utilization rate, hypothetical predictions + else { const excess = rayDiv( normalizeBN(utilization, -25).minus(optimalUsageRatio), RAY.minus(optimalUsageRatio) @@ -126,26 +130,47 @@ export type AreaProps = { width: number; height: number; margin?: { top: number; right: number; bottom: number; left: number }; + fields: Fields; reserve: InterestRateModelType; }; -export const InterestRateModelChart = withTooltip( +export const InterestRateModelGraph = withTooltip( ({ width, height, - margin = { top: 20 /** needed for absolute labels on top */, right: 10, bottom: 0, left: 40 }, + margin = { top: 20, right: 10, bottom: 20, left: 40 }, showTooltip, hideTooltip, tooltipData, tooltipLeft = 0, + fields, reserve, }: AreaProps & WithTooltipProvidedProps) => { if (width < 10) return null; const theme = useTheme(); - const data = useMemo(() => getRates(reserve), [JSON.stringify(reserve)]); + // Formatting + const formattedCurrentUtilizationRate = (parseFloat(reserve.utilizationRate) * 100).toFixed(2); + const formattedOptimalUtilizationRate = normalizeBN(reserve.optimalUsageRatio, 25).toNumber(); - const utilizationColor = theme.palette.mode === 'dark' ? '#fff' : '#000'; + // Tooltip Styles + const accentColorDark = theme.palette.mode === 'light' ? '#383D511F' : '#a5a8b647'; + const tooltipStyles = { + ...defaultStyles, + padding: '8px 12px', + boxShadow: '0px 0px 2px rgba(0, 0, 0, 0.2), 0px 2px 10px rgba(0, 0, 0, 0.1)', + borderRadius: '4px', + color: '#62677B', + fontSize: '12px', + lineHeight: '16px', + letterSpacing: '0.15px', + }; + const tooltipStylesDark = { + ...tooltipStyles, + background: theme.palette.background.default, + }; + + const data = useMemo(() => getRates(reserve), [JSON.stringify(reserve)]); // bounds const innerWidth = width - margin.left - margin.right; @@ -164,10 +189,10 @@ export const InterestRateModelChart = withTooltip( const yValueScale = useMemo(() => { const maxY = reserve.stableBorrowRateEnabled ? Math.max( - max(data, (d) => getStableRate(d)) as number, - max(data, (d) => getVariableRate(d)) as number + max(data, (d) => getStableBorrowRate(d)) as number, + max(data, (d) => getVariableBorrowRate(d)) as number ) - : (max(data, (d) => getVariableRate(d)) as number); + : (max(data, (d) => getVariableBorrowRate(d)) as number); return scaleLinear({ range: [innerHeight, 0], domain: [0, (maxY || 0) * 1.1], @@ -209,45 +234,69 @@ export const InterestRateModelChart = withTooltip( return ( <> - + {/* Horizontal Background Lines */} + + + {/* Variable Borrow APR Line */} + dateScale(getDate(d)) ?? 0} + y={(d) => yValueScale(getVariableBorrowRate(d)) ?? 0} + curve={curveMonotoneX} + /> + + {/* Stable Borrow APR Line */} {reserve.stableBorrowRateEnabled && ( dateScale(getDate(d)) ?? 0} - y={(d) => yValueScale(getStableRate(d)) ?? 0} + y={(d) => yValueScale(getStableBorrowRate(d)) ?? 0} curve={curveMonotoneX} /> )} - dateScale(getDate(d)) ?? 0} - y={(d) => yValueScale(getVariableRate(d)) ?? 0} - curve={curveMonotoneX} + + {/* X Axis */} + ({ + fill: theme.palette.text.muted, + fontSize: 10, + textAnchor: 'middle', + })} + tickFormat={(n) => `${n}%`} /> + + {/* Y Axis */} ({ - fill: theme.palette.text.secondary, + fill: theme.palette.text.muted, fontSize: 8, - dx: -margin.left + 8, + dx: -margin.left + 10, })} - tickFormat={(value) => `${(value as number).toFixed(2)} %`} + numTicks={2} + tickFormat={(value) => `${value}%`} /> + + {/* Background */} ( onMouseMove={handleTooltip} onMouseLeave={() => hideTooltip()} /> + + {/* Current Utilization Line */} - - Current + {`Current ${formattedCurrentUtilizationRate}%`} + + {/* Optimal Utilization Line */} - Optimal + {`Optimal ${formattedOptimalUtilizationRate}%`} + + {/* Tooltip */} {tooltipData && ( + {/* Vertical line */} + {/* Variable borrow rate circle */} ( /> + {/* Stable borrow rate circle */} {reserve.stableBorrowRateEnabled && ( ( /> ( + {/* Tooltip Info */} {tooltipData && (
- -
Utilization: {tooltipData.utilization}%
- {reserve.stableBorrowRateEnabled && ( -
Stable: {getStableRate(tooltipData).toFixed(2)} %
- )} -
Variable: {getVariableRate(tooltipData).toFixed(2)} %
+ + + + Utilization Rate + + + {tooltipData.utilization}% + + + {fields.map((field) => ( + + + {field.text} + + + {tooltipValueAccessors[field.name](tooltipData).toFixed(2)}% + + + ))}
)} diff --git a/src/modules/reserve-overview/graphs/InterestRateModelGraphContainer.tsx b/src/modules/reserve-overview/graphs/InterestRateModelGraphContainer.tsx new file mode 100644 index 0000000000..a734a4d576 --- /dev/null +++ b/src/modules/reserve-overview/graphs/InterestRateModelGraphContainer.tsx @@ -0,0 +1,62 @@ +import { Box } from '@mui/material'; +import { ParentSize } from '@visx/responsive'; +import type { ComputedReserveData } from 'src/hooks/app-data-provider/useAppDataProvider'; + +import { GraphLegend } from './GraphLegend'; +import { InterestRateModelGraph } from './InterestRateModelGraph'; + +type InteresetRateModelGraphContainerProps = { + reserve: ComputedReserveData; +}; + +export type Field = 'stableBorrowRate' | 'variableBorrowRate' | 'utilizationRate'; + +export type Fields = { name: Field; color: string; text: string }[]; + +// This graph takes in its data via props, thus having no loading/error states +export const InterestRateModelGraphContainer = ({ + reserve, +}: InteresetRateModelGraphContainerProps): JSX.Element => { + const CHART_HEIGHT = 155; + const fields: Fields = [ + { name: 'variableBorrowRate', text: 'Borrow APR, variable', color: '#B6509E' }, + ...(reserve.stableBorrowRateEnabled + ? ([{ name: 'stableBorrowRate', text: 'Borrow APR, stable', color: '#E7C6DF' }] as const) + : []), + ]; + + return ( + + + + + + {({ width }) => ( + + )} + + + ); +}; diff --git a/src/modules/staking/GetABPToken.tsx b/src/modules/staking/GetABPToken.tsx index 7fda49212a..55801abbb9 100644 --- a/src/modules/staking/GetABPToken.tsx +++ b/src/modules/staking/GetABPToken.tsx @@ -1,10 +1,11 @@ -import { useState } from 'react'; import { Trans } from '@lingui/macro'; import { Box, Button } from '@mui/material'; +import { useState } from 'react'; import { DarkTooltip } from 'src/components/infoTooltips/DarkTooltip'; -import { GetAPBTokenModal } from './GetABPTokenModal'; import { TokenIcon } from 'src/components/primitives/TokenIcon'; +import { GetAPBTokenModal } from './GetABPTokenModal'; + export const GetABPToken = () => { const [anchorEl, setAnchorEl] = useState(null); const open = Boolean(anchorEl); diff --git a/src/modules/staking/GetABPTokenModal.tsx b/src/modules/staking/GetABPTokenModal.tsx index 0e46911c12..9a9a3fe3ba 100644 --- a/src/modules/staking/GetABPTokenModal.tsx +++ b/src/modules/staking/GetABPTokenModal.tsx @@ -1,8 +1,8 @@ import { ExternalLinkIcon } from '@heroicons/react/outline'; +import { Trans } from '@lingui/macro'; import { Box, Button, SvgIcon, Typography } from '@mui/material'; import { BasicModal } from 'src/components/primitives/BasicModal'; import { TokenIcon } from 'src/components/primitives/TokenIcon'; -import { Trans } from '@lingui/macro'; type GetAPBTokenModalProps = { open: boolean; diff --git a/src/modules/staking/StakingHeader.tsx b/src/modules/staking/StakingHeader.tsx index a81ca51631..22dc0808cb 100644 --- a/src/modules/staking/StakingHeader.tsx +++ b/src/modules/staking/StakingHeader.tsx @@ -3,10 +3,10 @@ import { Box, Typography, useMediaQuery, useTheme } from '@mui/material'; import { FormattedNumber } from 'src/components/primitives/FormattedNumber'; import { TopInfoPanel } from 'src/components/TopInfoPanel/TopInfoPanel'; -import { Link } from '../../components/primitives/Link'; -import { TopInfoPanelItem } from '../../components/TopInfoPanel/TopInfoPanelItem'; import EmissionIcon from '../../../public/icons/staking/emission-staking-icon.svg'; import TrustIcon from '../../../public/icons/staking/trust-staking-icon.svg'; +import { Link } from '../../components/primitives/Link'; +import { TopInfoPanelItem } from '../../components/TopInfoPanel/TopInfoPanelItem'; interface StakingHeaderProps { tvl: string; diff --git a/src/static-build/ipfs.ts b/src/static-build/ipfs.ts index be93d1a984..182e5b8172 100644 --- a/src/static-build/ipfs.ts +++ b/src/static-build/ipfs.ts @@ -1,9 +1,10 @@ -import { join } from 'path'; -import { LowSync, JSONFileSync } from 'lowdb'; import lodash from 'lodash'; -import { CustomProposalType } from './proposal'; +import { JSONFileSync, LowSync } from 'lowdb'; +import { join } from 'path'; import { getProposalMetadata } from 'src/modules/governance/utils/getProposalMetadata'; +import { CustomProposalType } from './proposal'; + export interface IpfsType { id: number; aip: number; diff --git a/src/static-build/ipfsFiles.json b/src/static-build/ipfsFiles.json index bdb4e22b67..3d21e5cd26 100644 --- a/src/static-build/ipfsFiles.json +++ b/src/static-build/ipfsFiles.json @@ -1484,6 +1484,21 @@ "ipfsHash": "QmQ9QmhRr8A7agxofKckXVN9CDgGE5tfLdYsAaf64BW8KD", "originalHash": "0x1ad639a0fe12d46fdce998b69b9f9d9d13108baf13d35fea601f1017c3723364", "id": 101 + }, + { + "aip": 102, + "title": "Risk Parameter Updates for Aave V2 (2022-09-22)", + "status": "Proposed", + "author": "Paul Lei, Sandeep Gupta, Jonathan Reem, Nick Cannon, Watson Fu, Tony Salvatore, Sarah Chen", + "shortDescription": "Risk parameter updates", + "discussions": "https://governance.aave.com/t/arc-risk-parameter-updates-for-aave-v2-and-aave-arc-fireblocks-2022-09-22/9983", + "created": "2021-09-27T00:00:00.000Z", + "preview": "## Simple Summary\n\nA proposal to adjust seven (7) …", + "basename": "AIP-102", + "description": "## Simple Summary\n\nA proposal to adjust seven (7) total risk parameters, including Liquidation Threshold and Loan To Value, across four (4) Aave V2 assets. \n\n## Abstract\nThis proposal is a batch update of risk parameters to align with the [Moderate risk level](https://snapshot.org/#/aave.eth/proposal/QmT9T4Rfnh1Z2HYmMPXvtFotMK2vSxiXK8dKStg2b6n4gi) chosen by the Aave community. These parameter updates are a continuation of Gauntlet’s regular parameter recommendations. Our simulation engine has ingested the latest market data (outlined below) to recalibrate parameters for the Aave protocol. The community has aligned on a [Risk Off Framework](https://snapshot.org/#/aave.eth/proposal/bafkreigdmcfmwvnxfolpds4xkdicgrszgmknig7pz2r2t37tltupdpyfu4) regarding lowering liquidation thresholds.\n\n\n\n## Motivation\n\n\nThis set of parameter updates seeks to maintain the overall risk tolerance of the protocol while making risk trade-offs between specific assets.\n\nGauntlet's parameter recommendations are driven by an optimization function that balances 3 core metrics: insolvencies, liquidations, and borrow usage. Parameter recommendations seek to optimize for this objective function. Our agent-based simulations use a wide array of varied input data that changes on a daily basis (including but not limited to asset volatility, asset correlation, asset collateral usage, DEX / CEX liquidity, trading volume, expected market impact of trades, and liquidator behavior). Gauntlet's simulations tease out complex relationships between these inputs that cannot be simply expressed as heuristics. As such, the input metrics we show below can help understand why some of the param recs have been made but should not be taken as the only reason for recommendation. The individual collateral pages on the [Gauntlet Risk Dashboard](https://gov.gauntlet.network/aave) cover other key statistics and outputs from our simulations that can help with understanding interesting inputs and results related to our simulations. \n\nFor more details, please see [Gauntlet's Parameter Recommendation Methodology](https://medium.com/gauntlet-networks/gauntlets-parameter-recommendation-methodology-8591478a0c1c) and [Gauntlet's Model Methodology](https://medium.com/gauntlet-networks/gauntlets-model-methodology-ea150ff0bafd). \n\n### Supporting Data on Aave V2\n\n**Top 30 borrowers' aggregate positions & borrow usages**\n\n![](https://i.imgur.com/M7RmBhu.png)\n\n**Top 30 borrowers' entire supply**\n\n![](https://i.imgur.com/sSePhV4.png)\n\n**Top 30 borrowers' entire borrows**\n\n![](https://i.imgur.com/VvMhK26.png)\n\n\n**Top USDC non-recursive supplies and collateralization ratios:**\n\n![](https://i.imgur.com/qYutxwQ.png)\n\n**Top WETH non-recursive supplies and collateralization ratios:**\n\n![](https://i.imgur.com/qbdHyQv.png)\n\n**Top AAVE non-recursive supplies and collateralization ratios:**\n\n![](https://i.imgur.com/tu0XhpN.png)\n\n**Top UNI non-recursive supplies and collateralization ratios:**\n\n![](https://i.imgur.com/nHis6TW.png)\n\n## Aave V2 Parameter Changes Specification\n\nGauntlet's simulation engine will continue to adjust risk parameters to maintain protocol market risk at safe levels while optimizing for capital efficiency.\n\n![](https://i.imgur.com/jiBbDA0.png)\n\nAs shown in the below chart and dashboard screenshot, our simulations show that Aave can increase capital efficiency while also decreasing the risk of bad debt.\n\nThese liquidation threshold increases, assuming unit elasticity, result in a projected increase of $8.22M in total borrows across assets. The following chart breaks down the top projected borrow increases by symbol:\n\n![](https://i.imgur.com/jVqTfXL.png)\n\n\n\n## Risk Dashboard\n\n\n\nThe community should use Gauntlet's [Aave V2 Risk Dashboard](https://gov.gauntlet.network/aave) to understand better the updated parameter suggestions and general market risk in Aave V2. Gauntlet has also launched the [Aave Arc Risk Dashboard](https://gov.gauntlet.network/aave_arc).\n\nValue at Risk represents the 95th percentile **insolvency value** that occurs from simulations we run over a range of volatilities to approximate a tail event. \n\nLiquidations at Risk represents the 95th percentile **liquidation volume** that occurs from simulations we run over a range of volatilities to approximate a tail event.\n\n\n\n### Aave V2 Dashboard\n\n\n\n![](https://i.imgur.com/YFSkvU3.png)\n\n\n\n## Implementation\n\nThe proposal sets the liquidation bonus, LTV and liquidation threshold ratios by calling `configureReserveAsCollateral` on the `LendingPoolConfigurator` contract at `0x311Bb771e4F8952E6Da169b425E7e92d6Ac45756`, using the address and parameters specific to each token.\n\nThe full list of parameter updates can be found in the [forum](https://governance.aave.com/t/arc-risk-parameter-updates-for-aave-v2-and-aave-arc-fireblocks-2022-09-22/9983).\n\n## Copyright\n\nCopyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).\n\n*By approving this proposal, you agree that any services provided by Gauntlet shall be governed by the terms of service available at gauntlet.network/tos.*\n\n", + "ipfsHash": "QmU5ofkHiuuBYzz4JdYh3mLcYy8eybvg3gAWrqX3WBAPua", + "originalHash": "0x55588a2d7fa9c28509ea269bd1245ce25dbe2dffc45ae905e2d22d5862648ba9", + "id": 102 } ] } \ No newline at end of file diff --git a/src/static-build/proposal.ts b/src/static-build/proposal.ts index 5d07a8a758..57296c1cb5 100644 --- a/src/static-build/proposal.ts +++ b/src/static-build/proposal.ts @@ -2,6 +2,7 @@ import { Proposal as ProposalType } from '@aave/contract-helpers'; import lodash from 'lodash'; import { JSONFileSync, LowSync } from 'lowdb'; import { join } from 'path'; + import { enhanceProposalWithTimes } from '../modules/governance/utils/formatProposal'; import { governanceContract } from '../modules/governance/utils/governanceProvider'; import { isProposalStateImmutable } from '../modules/governance/utils/immutableStates'; diff --git a/src/static-build/proposals.json b/src/static-build/proposals.json index 8c981e7c99..b08cd3a876 100644 --- a/src/static-build/proposals.json +++ b/src/static-build/proposals.json @@ -4194,22 +4194,22 @@ ], "startBlock": 15528369, "endBlock": 15547569, - "executionTime": 0, - "forVotes": "101628168920304656001835", - "againstVotes": "694453214027670636", - "executed": false, + "executionTime": 1663436519, + "forVotes": "364979253634172094847598", + "againstVotes": "704453214027670636", + "executed": true, "canceled": false, "strategy": "0xb7e383ef9B1E9189Fc0F71fb30af8aa14377429e", - "state": "Active", + "state": "Executed", "minimumQuorum": "200", "minimumDiff": "50", - "executionTimeWithGracePeriod": 0, + "executionTimeWithGracePeriod": 1663868519, "proposalCreated": 15528369, "totalVotingSupply": "16000000000000000000000000", "ipfsHash": "0x0a387fa966f5616423bea53801a843496b1eac5cab5e6bc9426c0958e6496e77", "startTimestamp": 1663092505, "creationTimestamp": 1663092505, - "expirationTimestamp": 1663365343 + "expirationTimestamp": 1663361305 }, { "id": 101, @@ -4229,22 +4229,69 @@ ], "startBlock": 15529036, "endBlock": 15548236, - "executionTime": 0, - "forVotes": "101545694910414371639235", + "executionTime": 1663452623, + "forVotes": "503812619134689846812957", "againstVotes": "1547632949233611373", - "executed": false, + "executed": true, "canceled": false, "strategy": "0xb7e383ef9B1E9189Fc0F71fb30af8aa14377429e", - "state": "Active", + "state": "Executed", "minimumQuorum": "200", "minimumDiff": "50", - "executionTimeWithGracePeriod": 0, + "executionTimeWithGracePeriod": 1663884623, "proposalCreated": 15529036, "totalVotingSupply": "16000000000000000000000000", "ipfsHash": "0x1ad639a0fe12d46fdce998b69b9f9d9d13108baf13d35fea601f1017c3723364", "startTimestamp": 1663102442, "creationTimestamp": 1663102442, - "expirationTimestamp": 1663374681 + "expirationTimestamp": 1663371242 + }, + { + "id": 102, + "creator": "0x683a4F9915D6216f73d6Df50151725036bD26C02", + "executor": "0xEE56e2B3D491590B5b31738cC34d5232F378a8D5", + "targets": [ + "0x311Bb771e4F8952E6Da169b425E7e92d6Ac45756", + "0x311Bb771e4F8952E6Da169b425E7e92d6Ac45756", + "0x311Bb771e4F8952E6Da169b425E7e92d6Ac45756", + "0x311Bb771e4F8952E6Da169b425E7e92d6Ac45756" + ], + "signatures": [ + "", + "", + "", + "" + ], + "calldatas": [ + "0x7c4e560b000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000021fc00000000000000000000000000000000000000000000000000000000000022c400000000000000000000000000000000000000000000000000000000000028d2", + "0x7c4e560b0000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae900000000000000000000000000000000000000000000000000000000000019c80000000000000000000000000000000000000000000000000000000000001c8400000000000000000000000000000000000000000000000000000000000029fe", + "0x7c4e560b0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f98400000000000000000000000000000000000000000000000000000000000019640000000000000000000000000000000000000000000000000000000000001e140000000000000000000000000000000000000000000000000000000000002a94", + "0x7c4e560b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000203a00000000000000000000000000000000000000000000000000000000000021980000000000000000000000000000000000000000000000000000000000002904" + ], + "withDelegatecalls": [ + false, + false, + false, + false + ], + "startBlock": 15627550, + "endBlock": 15646750, + "executionTime": 0, + "forVotes": "5296684485716269224937", + "againstVotes": "708308753909221146", + "executed": false, + "canceled": false, + "strategy": "0xb7e383ef9B1E9189Fc0F71fb30af8aa14377429e", + "state": "Active", + "minimumQuorum": "200", + "minimumDiff": "50", + "executionTimeWithGracePeriod": 0, + "proposalCreated": 15627550, + "totalVotingSupply": "16000000000000000000000000", + "ipfsHash": "0x55588a2d7fa9c28509ea269bd1245ce25dbe2dffc45ae905e2d22d5862648ba9", + "startTimestamp": 1664316383, + "creationTimestamp": 1664316383, + "expirationTimestamp": 1664547107 } ] } \ No newline at end of file diff --git a/src/static-build/vote.ts b/src/static-build/vote.ts index 18efdac03a..e0033e8a68 100644 --- a/src/static-build/vote.ts +++ b/src/static-build/vote.ts @@ -1,9 +1,10 @@ -import { join } from 'path'; -import { LowSync, JSONFileSync } from 'lowdb'; import lodash from 'lodash'; +import { JSONFileSync, LowSync } from 'lowdb'; +import { join } from 'path'; + import { getVotes, VoteType } from '../modules/governance/utils/getVotes'; -import { getProvider } from '../utils/marketsAndNetworksConfig'; import { governanceConfig } from '../ui-config/governanceConfig'; +import { getProvider } from '../utils/marketsAndNetworksConfig'; class LowWithLodash extends LowSync { chain: lodash.ExpChain = lodash.chain(this).get('data'); diff --git a/src/ui-config/governanceConfig.ts b/src/ui-config/governanceConfig.ts index bc7a9bd1fe..85130cbf93 100644 --- a/src/ui-config/governanceConfig.ts +++ b/src/ui-config/governanceConfig.ts @@ -41,5 +41,5 @@ export const governanceConfig: GovernanceConfig = { AAVE_GOVERNANCE_V2_EXECUTOR_LONG: '0xEE56e2B3D491590B5b31738cC34d5232F378a8D5', AAVE_GOVERNANCE_V2_HELPER: '0x16ff7583ea21055bf5f929ec4b896d997ff35847', }, - ipfsGateway: 'https://cf-ipfs.com/ipfs', + ipfsGateway: 'https://gateway.pinata.cloud/ipfs', }; diff --git a/src/ui-config/menu-items/index.tsx b/src/ui-config/menu-items/index.tsx index 23c1394092..9de7037824 100644 --- a/src/ui-config/menu-items/index.tsx +++ b/src/ui-config/menu-items/index.tsx @@ -2,12 +2,12 @@ import { BookOpenIcon, QuestionMarkCircleIcon } from '@heroicons/react/outline'; import { t } from '@lingui/macro'; import { ReactNode } from 'react'; import { ROUTES } from 'src/components/primitives/Link'; +import { ENABLE_TESTNET } from 'src/utils/marketsAndNetworksConfig'; import DiscordIcon from '/public/icons/discord.svg'; import GithubIcon from '/public/icons/github.svg'; import { MarketDataType } from '../marketsConfig'; -import { ENABLE_TESTNET } from 'src/utils/marketsAndNetworksConfig'; interface Navigation { link: string; diff --git a/src/ui-config/reservePatches.ts b/src/ui-config/reservePatches.ts index 3ee22aa558..2dff830904 100644 --- a/src/ui-config/reservePatches.ts +++ b/src/ui-config/reservePatches.ts @@ -35,6 +35,7 @@ export const SYMBOL_MAP: { [key: string]: string } = { 'AAVE.e': 'AAVE', 'USDT.e': 'USDT', 'USDC.e': 'USDC', + 'BTC.b': 'BTC', // polygon miMATIC: 'MAI', }; @@ -44,16 +45,7 @@ export const SYMBOL_MAP: { [key: string]: string } = { * With the next version of uipooldataprovider https://github.com/aave/aave-v3-periphery/pull/89 this list can be greatly reduced/removed. */ export const SYMBOL_NAME_MAP: { [key: string]: string } = { - AMPL: 'Ampleforth', AVAX: 'Avalanche', - BAL: 'Balancer', - BAT: 'Basic Attention Token', - BUSD: 'Binance USD', - CRV: 'Curve DAO Token', - CVX: 'Convex Token', - DPI: 'DeFi Pulse Index', - ENJ: 'EnjinCoin', - ENS: 'Ethereum Name Service', ETH: 'Ethereum', EUROS: 'STASIS EURO', FAI: 'Fei USD', @@ -74,8 +66,6 @@ export const SYMBOL_NAME_MAP: { [key: string]: string } = { UNI: 'Uniswap', UNIDAIWETH: 'UNI DAI/WETH', UNIWBTCUSDC: 'UNI WBTC/USDC', - USDC: 'USD Coin', - USDP: 'Pax Dollar', USDT: 'Tether', WAVAX: 'Wrapped Avalanche', WBTC: 'Wrapped BTC', @@ -92,9 +82,11 @@ export const SYMBOL_NAME_MAP: { [key: string]: string } = { export function fetchIconSymbolAndName({ underlyingAsset, symbol, + name, }: { underlyingAsset: string; symbol: string; + name?: string; }) { // guni symbols are just broken (G-UNI for all tokens) if ( @@ -116,7 +108,7 @@ export function fetchIconSymbolAndName({ const unifiedSymbol = SYMBOL_MAP[symbol] || symbol; return { iconSymbol: unifiedSymbol, - name: SYMBOL_NAME_MAP[unifiedSymbol.toUpperCase()] || unifiedSymbol, + name: SYMBOL_NAME_MAP[unifiedSymbol.toUpperCase()] || name || unifiedSymbol, symbol, }; } diff --git a/src/utils/hfUtils.ts b/src/utils/hfUtils.ts index 246ad650ba..0c805f04ac 100644 --- a/src/utils/hfUtils.ts +++ b/src/utils/hfUtils.ts @@ -1,14 +1,14 @@ import { - ComputedUserReserve, + BigNumberValue, calculateHealthFactorFromBalancesBigUnits, + ComputedUserReserve, valueToBigNumber, - BigNumberValue, } from '@aave/math-utils'; +import BigNumber from 'bignumber.js'; import { ComputedReserveData, ExtendedFormattedUser, } from 'src/hooks/app-data-provider/useAppDataProvider'; -import BigNumber from 'bignumber.js'; interface CalculateHFAfterSwapProps { fromAmount: BigNumberValue; diff --git a/src/utils/marketsAndNetworksConfig.ts b/src/utils/marketsAndNetworksConfig.ts index 5ca4b11dd4..eab01466e2 100644 --- a/src/utils/marketsAndNetworksConfig.ts +++ b/src/utils/marketsAndNetworksConfig.ts @@ -28,7 +28,7 @@ const FORK_ENABLED = global?.window?.localStorage.getItem('forkEnabled') === 'tr // specifies which network was forked const FORK_BASE_CHAIN_ID = Number(global?.window?.localStorage.getItem('forkBaseChainId') || 1); // specifies on which chainId the fork is running -const FORK_CHAIN_ID = Number(global?.window?.localStorage.getItem('forkChainId') || 3030); +const FORK_CHAIN_ID = Number(global?.window?.localStorage.getItem('forkNetworkId') || 3030); const FORK_RPC_URL = global?.window?.localStorage.getItem('forkRPCUrl') || 'http://127.0.0.1:8545'; const FORK_WS_RPC_URL = global?.window?.localStorage.getItem('forkWsRPCUrl') || 'ws://127.0.0.1:8545'; @@ -187,8 +187,6 @@ export const getENSProvider = () => { }; const ammDisableProposal = 'https://app.aave.com/governance/proposal/?proposalId=44'; -const harmonyDisableSnapshot = - 'https://snapshot.org/#/aave.eth/proposal/0x81a78109941e5e0ac6cb5ebf82597c839c20ad6821a8c3ff063dba39032533d4'; export const frozenProposalMap: Record = { ['UST']: 'https://app.aave.com/governance/proposal/?proposalId=75', @@ -209,14 +207,6 @@ export const frozenProposalMap: Record = { ['UNIYFIWETH']: ammDisableProposal, ['BPTWBTCWETH']: ammDisableProposal, ['BPTBALWETH']: ammDisableProposal, - ['1DAI']: harmonyDisableSnapshot, - ['1USDC']: harmonyDisableSnapshot, - ['1USDT']: harmonyDisableSnapshot, - ['1AAVE']: harmonyDisableSnapshot, - ['1ETH']: harmonyDisableSnapshot, - ['LINK']: harmonyDisableSnapshot, - ['1WBTC']: harmonyDisableSnapshot, - ['WONE']: harmonyDisableSnapshot, }; // reexport so we can forbit config import diff --git a/src/utils/theme.tsx b/src/utils/theme.tsx index 85d287b934..2d0be530c0 100644 --- a/src/utils/theme.tsx +++ b/src/utils/theme.tsx @@ -1,12 +1,11 @@ import { CheckCircleIcon, + ChevronDownIcon, ExclamationCircleIcon, ExclamationIcon, InformationCircleIcon, - ChevronDownIcon, } from '@heroicons/react/outline'; import { SvgIcon, Theme, ThemeOptions } from '@mui/material'; - import { createTheme } from '@mui/material/styles'; // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore @@ -23,6 +22,10 @@ const FONT = 'Inter, Arial'; declare module '@mui/material/styles/createPalette' { interface PaletteColor extends ColorPartial {} + interface TypeText { + muted: string; + } + interface TypeBackground { default: string; paper: string; @@ -790,48 +793,6 @@ export function getThemedComponents(theme: Theme) { }, }, }, - MuiToggleButtonGroup: { - styleOverrides: { - root: { - backgroundColor: '#383D51', - border: '1px solid rgba(235, 235, 237, 0.12)', - padding: '4px', - }, - }, - }, - MuiToggleButton: { - styleOverrides: { - root: { - border: '0px', - flex: 1, - backgroundColor: '#383D51', - borderRadius: '4px', - - '&.Mui-selected, &.Mui-selected:hover': { - backgroundColor: '#FFFFFF', - borderRadius: '4px !important', - }, - - '&.Mui-selected, &.Mui-disabled': { - zIndex: 100, - height: '100%', - display: 'flex', - justifyContent: 'center', - - '.MuiTypography-subheader1': { - background: theme.palette.gradients.aaveGradient, - backgroundClip: 'text', - textFillColor: 'transparent', - }, - '.MuiTypography-secondary14': { - background: theme.palette.gradients.aaveGradient, - backgroundClip: 'text', - textFillColor: 'transparent', - }, - }, - }, - }, - }, MuiSelect: { defaultProps: { IconComponent: (props) => ( diff --git a/tsconfig.json b/tsconfig.json index 493dbcda8e..b439d669c8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -38,7 +38,6 @@ "**/*.test.ts", "**/*.test.tsx", "coverage", - "cypress" ], "include": ["custom.d.ts", "next-env.d.ts", "**/*.ts", "**/*.tsx"] } diff --git a/yarn.lock b/yarn.lock index 1eed808599..2b440b5f2d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1510,6 +1510,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.18.9": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" + integrity sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA== + dependencies: + regenerator-runtime "^0.13.4" + "@babel/runtime@^7.9.2": version "7.18.9" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a" @@ -1868,6 +1875,17 @@ "@emotion/weak-memoize" "^0.2.5" stylis "4.0.13" +"@emotion/cache@^11.10.3": + version "11.10.3" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.3.tgz#c4f67904fad10c945fea5165c3a5a0583c164b87" + integrity sha512-Psmp/7ovAa8appWh3g51goxu/z3iVms7JXOreq136D8Bbn6dYraPnmL6mdM8GThEx9vwSn92Fz+mGSjBzN8UPQ== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.0.13" + "@emotion/hash@^0.8.0": version "0.8.0" resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.8.0.tgz" @@ -1880,11 +1898,23 @@ dependencies: "@emotion/memoize" "^0.7.4" +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/memoize@^0.7.4", "@emotion/memoize@^0.7.5": version "0.7.5" resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.5.tgz" integrity sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ== +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + "@emotion/react@11.9.3": version "11.9.3" resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.9.3.tgz#f4f4f34444f6654a2e550f5dab4f2d360c101df9" @@ -1935,6 +1965,11 @@ resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.1.1.tgz#015756e2a9a3c7c5f11d8ec22966a8dbfbfac787" integrity sha512-J3YPccVRMiTZxYAY0IOq3kd+hUP8idY8Kz6B/Cyo+JuXq52Ek+zbPbSQUrVQp95aJ+lsAW7DPL1P2Z+U1jGkKA== +"@emotion/sheet@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.0.tgz#771b1987855839e214fc1741bde43089397f7be5" + integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== + "@emotion/styled@11.9.3": version "11.9.3" resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.9.3.tgz#47f0c71137fec7c57035bf3659b52fb536792340" @@ -1956,11 +1991,21 @@ resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.1.0.tgz" integrity sha512-iRLa/Y4Rs5H/f2nimczYmS5kFJEbpiVvgN3XVfZ022IYhuNA1IRSHEizcof88LtCTXtl9S2Cxt32KgaXEu72JQ== +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + "@emotion/weak-memoize@^0.2.5": version "0.2.5" resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz" integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA== +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + "@endemolshinegroup/cosmiconfig-typescript-loader@3.0.2", "@endemolshinegroup/cosmiconfig-typescript-loader@^3.0.2": version "3.0.2" resolved "https://registry.npmjs.org/@endemolshinegroup/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.0.2.tgz" @@ -3063,6 +3108,13 @@ resolved "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.3.1.tgz" integrity sha512-zMM9Ds+SawiUkakS7y94Ymqx+S0ORzpG3frZirN3l+UlXUmSUR7hF4wxCVqW+ei94JzV5kt0uXBcoOEAuiydrw== +"@ledgerhq/iframe-provider@0": + version "0.4.2" + resolved "https://registry.yarnpkg.com/@ledgerhq/iframe-provider/-/iframe-provider-0.4.2.tgz#2b63892bb3ab9a0719d2b00488be18b176ad6b7e" + integrity sha512-RbdwvQow/ITLk0TLb6c3M7y8IyjopIGXhhuUEMjqTU6PZhAL9Gl7TzH8INit9x9cOeG2WCuV+ZbHQ2oWsLfJ+A== + dependencies: + eventemitter3 "^4.0.0" + "@lingui/babel-plugin-extract-messages@^3.13.2": version "3.13.2" resolved "https://registry.npmjs.org/@lingui/babel-plugin-extract-messages/-/babel-plugin-extract-messages-3.13.2.tgz" @@ -3161,20 +3213,25 @@ resolved "https://registry.npmjs.org/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz" integrity sha512-/kSXhY692qiV1MXu6EeOZvg5nECLclxNXcKCxJ3cXQgYuRymRHpdx/t7JXfsK+JLjwA1e1c1/SBrlQYpusC29Q== -"@mui/base@5.0.0-alpha.90": - version "5.0.0-alpha.90" - resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.90.tgz#73700ba74e5c75096ee5d0bfe3ba4a3b3b81beef" - integrity sha512-hNKwzr+RkiuGsGrakz8Q2i5ezr4Dz4b4Qsdipt9SiMrhuFAra/i501VSaEIzwec9LC4G+vtW4fE7yJBB0XaAYw== +"@mui/base@5.0.0-alpha.97": + version "5.0.0-alpha.97" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.97.tgz#bd12db4ed3bb1dbc2879944bbdb68b559641b02a" + integrity sha512-gvo0hOg/tBzfJ3eDQOGAPBJJU+qTWd0e5zBEMFIkT1ekJqXx14JtIHvheOFU17y9iDciYE256Q8g+tj6a1dcBA== dependencies: - "@babel/runtime" "^7.17.2" - "@emotion/is-prop-valid" "^1.1.3" - "@mui/types" "^7.1.4" - "@mui/utils" "^5.9.1" - "@popperjs/core" "^2.11.5" + "@babel/runtime" "^7.18.9" + "@emotion/is-prop-valid" "^1.2.0" + "@mui/types" "^7.2.0" + "@mui/utils" "^5.10.3" + "@popperjs/core" "^2.11.6" clsx "^1.2.1" prop-types "^15.8.1" react-is "^18.2.0" +"@mui/core-downloads-tracker@^5.10.5": + version "5.10.5" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.10.5.tgz#be060b633268b124d27474e772e506bb3f39ca51" + integrity sha512-sZYg85rQdlgDYU3V4WcT2Dl+k+y2wYqN04aUvVkFksRR0j81sj6KmfXx4842HJQcq5rjzcTvh4N+yv66XR/9fA== + "@mui/icons-material@^5.8.4": version "5.8.4" resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.8.4.tgz#3f2907c9f8f5ce4d754cb8fb4b68b5a1abf4d095" @@ -3182,67 +3239,68 @@ dependencies: "@babel/runtime" "^7.17.2" -"@mui/material@^5.9.1": - version "5.9.1" - resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.9.1.tgz#92990e6d4035792430dcf548b91db6f335aebdd3" - integrity sha512-c09SbaMm7Rl7Df9JRkXwPWNbnfrutmHERTJC46OJ9OMAM9+HGQihIbGln1k2Xj65jb3E+G498FZFAoSrrBDvwQ== - dependencies: - "@babel/runtime" "^7.17.2" - "@mui/base" "5.0.0-alpha.90" - "@mui/system" "^5.9.1" - "@mui/types" "^7.1.4" - "@mui/utils" "^5.9.1" +"@mui/material@^5.10.5": + version "5.10.5" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.10.5.tgz#390f95f346e5459d8df43f5e749b2310cefba96d" + integrity sha512-VFMadvfA6jqx5DCk2xoBl4bAGyzgmmubJIuB7fUWUZBwYIYL5Ea9SsoFpt5kawA6O2feuj69alDN2fhxPw1MeQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@mui/base" "5.0.0-alpha.97" + "@mui/core-downloads-tracker" "^5.10.5" + "@mui/system" "^5.10.5" + "@mui/types" "^7.2.0" + "@mui/utils" "^5.10.3" "@types/react-transition-group" "^4.4.5" clsx "^1.2.1" csstype "^3.1.0" prop-types "^15.8.1" react-is "^18.2.0" - react-transition-group "^4.4.2" + react-transition-group "^4.4.5" -"@mui/private-theming@^5.9.1": - version "5.9.1" - resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.9.1.tgz#4f714ed9ebd587373dc77b3fc69e9f3e720f0190" - integrity sha512-eIh2IZJInNTdgPLMo9cruzm8UDX5amBBxxsSoNre7lRj3wcsu3TG5OKjIbzkf4VxHHEhdPeNNQyt92k7L78u2A== +"@mui/private-theming@^5.10.3": + version "5.10.3" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.10.3.tgz#7325eef3e480caaaa2d866b9057943ec4fbcb8ce" + integrity sha512-LCYIKlkGz2BTSng2BFzzwSJBRZbChIUri2x2Nh8ryk2B1Ho7zpvE7ex6y39LlStG2Frf92NFC/V4YQbmMAjD5A== dependencies: - "@babel/runtime" "^7.17.2" - "@mui/utils" "^5.9.1" + "@babel/runtime" "^7.18.9" + "@mui/utils" "^5.10.3" prop-types "^15.8.1" -"@mui/styled-engine@^5.8.7": - version "5.8.7" - resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.8.7.tgz#63d0779c07677fe76d4705a02c7ae99f89b50780" - integrity sha512-tVqtowjbYmiRq+qcqXK731L9eWoL9H8xTRhuTgaDGKdch1zlt4I2UwInUe1w2N9N/u3/jHsFbLcl1Un3uOwpQg== +"@mui/styled-engine@^5.10.5": + version "5.10.5" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.10.5.tgz#8ce4197e887a69119aea056320aad5812025ceb4" + integrity sha512-6U6tTdf+H1OsjgcFoY12gYPR+qqZ1WHGGIahK5V7JhMkMUgH7ozyiNi8s1LzmwrUlAz1hAAhuO5nBYXku3wWvw== dependencies: - "@babel/runtime" "^7.17.2" - "@emotion/cache" "^11.9.3" + "@babel/runtime" "^7.18.9" + "@emotion/cache" "^11.10.3" csstype "^3.1.0" prop-types "^15.8.1" -"@mui/system@^5.9.1": - version "5.9.1" - resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.9.1.tgz#dadd1094b1582781cc524b112a0a126f60b23c25" - integrity sha512-ZixTmc2+sYp++avoYJ38eM70nfwwudN06vYCU4kfwa4nQPiH+bhLYZnfYkcXRKiDR/hfT0dptbOOfQGZqBYczQ== +"@mui/system@^5.10.5": + version "5.10.5" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.10.5.tgz#b0c8494aa9230fb3b8e33c4aee05207925519569" + integrity sha512-GUPiDVZTKp9yH3FVeLSIw3Bqsyl7qLxtAK1ZiZmC8e+zdH7bcnZZXvWK3vPIbx35ZyhQpvAOWQFpiF9TjdA77w== dependencies: - "@babel/runtime" "^7.17.2" - "@mui/private-theming" "^5.9.1" - "@mui/styled-engine" "^5.8.7" - "@mui/types" "^7.1.4" - "@mui/utils" "^5.9.1" + "@babel/runtime" "^7.18.9" + "@mui/private-theming" "^5.10.3" + "@mui/styled-engine" "^5.10.5" + "@mui/types" "^7.2.0" + "@mui/utils" "^5.10.3" clsx "^1.2.1" csstype "^3.1.0" prop-types "^15.8.1" -"@mui/types@^7.1.4": - version "7.1.4" - resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.1.4.tgz#4185c05d6df63ec673cda15feab80440abadc764" - integrity sha512-uveM3byMbthO+6tXZ1n2zm0W3uJCQYtwt/v5zV5I77v2v18u0ITkb8xwhsDD2i3V2Kye7SaNR6FFJ6lMuY/WqQ== +"@mui/types@^7.2.0": + version "7.2.0" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.0.tgz#91380c2d42420f51f404120f7a9270eadd6f5c23" + integrity sha512-lGXtFKe5lp3UxTBGqKI1l7G8sE2xBik8qCfrLHD5olwP/YU0/ReWoWT7Lp1//ri32dK39oPMrJN8TgbkCSbsNA== -"@mui/utils@^5.9.1": - version "5.9.1" - resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.9.1.tgz#2b2c9dadbf8ba6561e145b5688fb7df5ef15a934" - integrity sha512-8+4adOR3xusyJwvbnZxcjqcmbWvl7Og+260ZKIrSvwnFs0aLubL+8MhiceeDDGcmb0bTKxfUgRJ96j32Jb7P+A== +"@mui/utils@^5.10.3": + version "5.10.3" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.10.3.tgz#ce2a96f31de2a5e717f507b5383dbabbddbc4dfc" + integrity sha512-4jXMDPfx6bpMVuheLaOpKTjpzw39ogAZLeaLj5+RJec3E37/hAZMYjURfblLfTWMMoGoqkY03mNsZaEwNobBow== dependencies: - "@babel/runtime" "^7.17.2" + "@babel/runtime" "^7.18.9" "@types/prop-types" "^15.7.5" "@types/react-is" "^16.7.1 || ^17.0.0" prop-types "^15.8.1" @@ -3366,10 +3424,10 @@ resolved "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz" integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== -"@popperjs/core@^2.11.5": - version "2.11.5" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.5.tgz#db5a11bf66bdab39569719555b0f76e138d7bd64" - integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw== +"@popperjs/core@^2.11.6": + version "2.11.6" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== "@rushstack/eslint-patch@^1.0.8": version "1.1.0" @@ -4540,7 +4598,7 @@ dependencies: "@walletconnect/window-getters" "^1.0.0" -"@web3-react/abstract-connector@6.0.7", "@web3-react/abstract-connector@^6.0.7": +"@web3-react/abstract-connector@6", "@web3-react/abstract-connector@6.0.7", "@web3-react/abstract-connector@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6" integrity sha512-RhQasA4Ox8CxUC0OENc1AJJm8UTybu/oOCM61Zjg6y0iF7Z0sqv1Ai1VdhC33hrQpA8qSBgoXN9PaP8jKmtdqg== @@ -4586,7 +4644,7 @@ "@web3-react/abstract-connector" "^6.0.7" "@web3-react/types" "^6.0.7" -"@web3-react/types@^6.0.7": +"@web3-react/types@6", "@web3-react/types@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/types/-/types-6.0.7.tgz#34a6204224467eedc6123abaf55fbb6baeb2809f" integrity sha512-ofGmfDhxmNT1/P/MgVa8IKSkCStFiyvXe+U5tyZurKdrtTDFU+wJ/LxClPDtFerWpczNFPUSrKcuhfPX1sI6+A== @@ -5523,9 +5581,9 @@ camelcase@^6.0.0, camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001283, caniuse-lite@^1.0.30001286, caniuse-lite@^1.0.30001366: - version "1.0.30001399" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001399.tgz" - integrity sha512-4vQ90tMKS+FkvuVWS5/QY1+d805ODxZiKFzsU8o/RsVJz49ZSRR8EjykLJbqhzdPgadbX6wB538wOzle3JniRA== + version "1.0.30001375" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001375.tgz" + integrity sha512-kWIMkNzLYxSvnjy0hL8w1NOaWNr2rn39RTAVyIwcw8juu60bZDWiF1/loOYANzjtJmy6qPgNmn38ro5Pygagdw== capital-case@^1.0.4: version "1.0.4" @@ -6192,10 +6250,10 @@ cypress-wait-until@^1.7.2: resolved "https://registry.yarnpkg.com/cypress-wait-until/-/cypress-wait-until-1.7.2.tgz#7f534dd5a11c89b65359e7a0210f20d3dfc22107" integrity sha512-uZ+M8/MqRcpf+FII/UZrU7g1qYZ4aVlHcgyVopnladyoBrpoaMJ4PKZDrdOJ05H5RHbr7s9Tid635X3E+ZLU/Q== -cypress@10.7.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.7.0.tgz#2d37f8b9751c6de33ee48639cb7e67a2ce593231" - integrity sha512-gTFvjrUoBnqPPOu9Vl5SBHuFlzx/Wxg/ZXIz2H4lzoOLFelKeF7mbwYUOzgzgF0oieU2WhJAestQdkgwJMMTvQ== +cypress@10.8.0: + version "10.8.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.8.0.tgz#12a681f2642b6f13d636bab65d5b71abdb1497a5" + integrity sha512-QVse0dnLm018hgti2enKMVZR9qbIO488YGX06nH5j3Dg1isL38DwrBtyrax02CANU6y8F4EJUuyW6HJKw1jsFA== dependencies: "@cypress/request" "^2.88.10" "@cypress/xvfb" "^1.2.4" @@ -6216,7 +6274,7 @@ cypress@10.7.0: dayjs "^1.10.4" debug "^4.3.2" enquirer "^2.3.6" - eventemitter2 "^6.4.3" + eventemitter2 "6.4.7" execa "4.1.0" executable "^4.1.1" extract-zip "2.0.1" @@ -6648,10 +6706,10 @@ dotenv@^10.0.0: resolved "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== -dotenv@^16.0.0: - version "16.0.0" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.0.tgz#c619001253be89ebb638d027b609c75c26e47411" - integrity sha512-qD9WU0MPM4SWLPJy/r2Be+2WgQj8plChsyrCNQzW/0WjvcJQiKQJ9mH3ZgB3fxbUUxgc/11ZJ0Fi5KiimWGz2Q== +dotenv@^16.0.2: + version "16.0.2" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.2.tgz#0b0f8652c016a3858ef795024508cddc4bffc5bf" + integrity sha512-JvpYKUmzQhYoIFgK2MOnF3bciIZoItIIoryihy0rIA+H4Jy0FmgyKYAHCTN98P5ybGSJcIFbh6QKeJdtZd1qhA== drbg.js@^1.0.1: version "1.0.1" @@ -7390,19 +7448,19 @@ event-target-shim@^5.0.0: resolved "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== -eventemitter2@^6.4.3: - version "6.4.5" - resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.5.tgz#97380f758ae24ac15df8353e0cc27f8b95644655" - integrity sha512-bXE7Dyc1i6oQElDG0jMRZJrRAn9QR2xyyFGmBdZleNmyQX0FqGYmhZIrIrpPfm/w//LTo4tVQGOGQcGCb5q9uw== +eventemitter2@6.4.7: + version "6.4.7" + resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.7.tgz#a7f6c4d7abf28a14c1ef3442f21cb306a054271d" + integrity sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg== eventemitter3@4.0.4: version "4.0.4" resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.4.tgz" integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== -eventemitter3@4.0.7: +eventemitter3@4.0.7, eventemitter3@^4.0.0: version "4.0.7" - resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== eventemitter3@^3.1.0: @@ -11397,10 +11455,10 @@ react-number-format@^4.9.1: dependencies: prop-types "^15.7.2" -react-transition-group@^4.4.2: - version "4.4.2" - resolved "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.2.tgz" - integrity sha512-/RNYfRAMlZwDSr6z4zNKV6xu53/e2BuaBbGhbyYIXTrmgu/bGHzmqOs7mJSJBHy9Ud+ApHx3QjrkKSp1pxvlFg== +react-transition-group@^4.4.5: + version "4.4.5" + resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1" + integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== dependencies: "@babel/runtime" "^7.5.5" dom-helpers "^5.0.1" @@ -12629,7 +12687,7 @@ through2@~0.4.1: resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= -tiny-invariant@^1.0.6: +tiny-invariant@1, tiny-invariant@^1.0.6: version "1.2.0" resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9" integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== @@ -13327,6 +13385,16 @@ web3-eth-iban@1.7.0: bn.js "^4.11.9" web3-utils "1.7.0" +web3-ledgerhq-frame-connector@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/web3-ledgerhq-frame-connector/-/web3-ledgerhq-frame-connector-1.0.1.tgz#7554fb5e9d1da19e1ab24e434dbc4d0c012c0527" + integrity sha512-AnSISDK0csoi2V/dMAjcomK8ZbFAYk22KArSoG/chDKlvLgxBgXafWheQPgV7540Efd/wMbtcjo4NotY2M3nDA== + dependencies: + "@ledgerhq/iframe-provider" "0" + "@web3-react/abstract-connector" "6" + "@web3-react/types" "6" + tiny-invariant "1" + web3-providers-http@1.7.0: version "1.7.0" resolved "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.7.0.tgz"